/* Butik: an editorial shop. Large photographs, serif titles, wide margins.
   Original TamEticaret design. */
:root {
  --font-head: Georgia, "Iowan Old Style", Palatino, "Times New Roman", serif;
  --bg: #f7f4ef; --card: transparent; --line: #e6e0d6; --ink: #161616; --muted: #6d675f;
  --radius: 0; --gap: 2.2rem; --head-bg: #f7f4ef; --nav-bg: transparent; --foot-bg: #161616; --foot-ink: #e6e0d6;
  --wrap: 1240px;
}
body[data-theme="butik"] { background: var(--bg); }
body[data-theme="butik"] h1,
body[data-theme="butik"] h2,
body[data-theme="butik"] .brand,
body[data-theme="butik"] .card-name { font-family: var(--font-head); font-weight: 400; }
body[data-theme="butik"] .site-head { position: sticky; top: 0; z-index: 20; background: rgba(247, 244, 239, .94); backdrop-filter: blur(12px); border-bottom: 0; }
body[data-theme="butik"] .head-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 1.1rem 1.5rem .4rem; }
body[data-theme="butik"] .head-links { margin: 0; justify-self: start; }
body[data-theme="butik"] .brand { justify-self: center; font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: .01em; color: var(--ink); }
body[data-theme="butik"] .cart-link { justify-self: end; color: var(--ink); text-decoration: none; letter-spacing: .14em; text-transform: uppercase; font-size: .72rem; font-weight: 600; }
body[data-theme="butik"] .head-links a { color: var(--ink); letter-spacing: .14em; text-transform: uppercase; font-size: .72rem; text-decoration: none; border: 0; background: transparent; padding: 0; }
body[data-theme="butik"] .search { max-width: 28rem; margin: 0 auto .4rem; background: transparent; box-shadow: none; border-bottom: 1px solid var(--ink); border-radius: 0; }
body[data-theme="butik"] .search input { border: 0; background: transparent; border-radius: 0; text-align: center; min-height: 2.4rem; }
body[data-theme="butik"] .search button { background: transparent; color: var(--ink); border-radius: 0; letter-spacing: .12em; text-transform: uppercase; font-size: .72rem; }
body[data-theme="butik"] .site-head .cat-nav { justify-content: center; gap: 1.4rem; padding-bottom: .8rem; background: transparent; }
body[data-theme="butik"] .cat-nav a { text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; color: var(--ink); font-weight: 500; }
body[data-theme="butik"] main { padding-top: 0; }
body[data-theme="butik"] .banner { margin: 0 0 3rem; min-height: 26rem; display: flex; flex-direction: column; justify-content: flex-end; text-align: left; padding: 3rem 6vw; border-radius: 0; background: #1a1a1a; color: #f7f4ef; }
body[data-theme="butik"] .banner h2 { font-size: clamp(2.6rem, 6vw, 5rem); max-width: 12ch; line-height: .95; font-weight: 400; margin: 0; }
body[data-theme="butik"] .banner p { max-width: 32rem; font-size: 1.05rem; }
body[data-theme="butik"] .banner a { align-self: flex-start; width: auto; background: transparent; color: #f7f4ef; border: 1px solid #f7f4ef; border-radius: 0; letter-spacing: .16em; text-transform: uppercase; font-size: .75rem; }
body[data-theme="butik"] .home-cats, body[data-theme="butik"] .home-products { margin-top: 2.5rem; }
body[data-theme="butik"] .home-cats h2, body[data-theme="butik"] .home-products h2 { text-align: center; font-size: 2rem; font-weight: 400; }
body[data-theme="butik"] main ul.chips { justify-content: center; gap: 1.2rem 2rem; }
body[data-theme="butik"] .chips a { border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; background: transparent; letter-spacing: .14em; text-transform: uppercase; font-size: .75rem; padding: .2rem 0; }
body[data-theme="butik"] main ul.grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 1.5rem; }
@media (min-width: 1100px) {
  body[data-theme="butik"] main ul.grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
body[data-theme="butik"] .card { padding: 0; border: 0; background: transparent; box-shadow: none; text-align: center; align-items: center; gap: .35rem; }
body[data-theme="butik"] .card-media { display: block; width: 100%; background: #ece7df; overflow: hidden; aspect-ratio: 3/4; }
body[data-theme="butik"] .card-media img,
body[data-theme="butik"] img[data-help-id="store.list.cover"] { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: center; display: block; }
body[data-theme="butik"] main ul.grid.list { grid-template-columns: 1fr; }
body[data-theme="butik"] .card-fallback { display: block; width: 100%; aspect-ratio: 3/4; background: linear-gradient(180deg, #ece7df, #e3ddd3); }
body[data-theme="butik"] .card-name { font-size: 1.35rem; margin-top: .8rem; }
body[data-theme="butik"] .card-price { font-weight: 400; font-size: 1rem; letter-spacing: .04em; }
body[data-theme="butik"] .card-go { letter-spacing: .16em; text-transform: uppercase; font-size: .72rem; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--ink); border-radius: 0; padding: 0; margin-top: .3rem; }
body[data-theme="butik"] .site-foot { background: var(--foot-bg); color: var(--foot-ink); border: 0; padding: 2.5rem 1rem 5rem; text-align: center; }
body[data-theme="butik"] .foot-name { color: #fff; font-family: var(--font-head); font-size: 1.6rem; font-weight: 400; }
body[data-theme="butik"] .foot-links { justify-content: center; }
body[data-theme="butik"] .foot-links a, body[data-theme="butik"] .foot-note { color: #d9d2c5; }
body[data-theme="butik"] .dock { display: none; }
body[data-theme="butik"] button { border-radius: 0; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; }
@media (max-width: 720px) {
  body[data-theme="butik"] .head-row { grid-template-columns: 1fr auto; }
  body[data-theme="butik"] .brand { grid-column: 1 / -1; order: -1; }
  body[data-theme="butik"] .banner { min-height: 18rem; padding: 1.5rem; }
  body[data-theme="butik"] .banner h2 { font-size: 2.4rem; }
  body[data-theme="butik"] main ul.grid { grid-template-columns: 1fr; gap: 2rem; }
  body[data-theme="butik"] .dock { display: flex; position: fixed; inset: auto 0 0 0; z-index: 25; background: #161616; }
  body[data-theme="butik"] .dock a, body[data-theme="butik"] .dock label { flex: 1; text-align: center; color: #f7f4ef; text-decoration: none; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; padding: .7rem .1rem; }
  body[data-theme="butik"] .cookie-bar { bottom: 3.4rem; }
}
@media (min-width: 721px) {
  body[data-theme="butik"] .site-foot { padding-bottom: 2.5rem; }
}
body[data-theme="butik"] .powered-light { display: none; }
body[data-theme="butik"] .powered-dark { display: block; }


/* D-023 product detail: editorial, gallery-led boutique layout. */
body[data-theme="butik"] .product { gap: clamp(1.5rem, 4vw, 3.5rem); }
body[data-theme="butik"] .gallery-stage { border: 0; border-radius: 0; background: #ece7df; }
body[data-theme="butik"] .gallery-stage img { aspect-ratio: 3 / 4; }
body[data-theme="butik"] .gallery-thumbs img { border-radius: 0; }
body[data-theme="butik"] .buybox { border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; padding: 1.25rem 0; }
body[data-theme="butik"] .buybox h1 { font-family: var(--font-head); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 400; }
body[data-theme="butik"] .buy-price { font-weight: 400; }


/* D-026: Premium mobile-first Butik storefront. Preserves theme variables and flows. */
body[data-theme="butik"] {
  --radius: 16px;
  --gap: 1.25rem;
  --card: #fffdf9;
  --head-bg: #fffdf9;
  --line: #e9e3da;
  --ink: #25231f;
  --muted: #716a60;
  background: #f8f6f2;
}
body[data-theme="butik"] .site-head {
  border-bottom: 1px solid var(--line);
  background: rgba(255,253,249,.97);
  box-shadow: 0 5px 24px rgba(42,35,27,.055);
}
body[data-theme="butik"] .head-row { gap: .75rem; padding: .9rem clamp(1rem, 2vw, 1.5rem); }
body[data-theme="butik"] .brand { font-size: clamp(1.45rem, 2.4vw, 2rem); font-weight: 650; letter-spacing: -.035em; }
body[data-theme="butik"] .head-links a,
body[data-theme="butik"] .cart-link {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  letter-spacing: .02em;
  font-size: .82rem;
  font-weight: 700;
}
body[data-theme="butik"] .search {
  max-width: 34rem;
  border: 1px solid var(--line);
  background: #f5f1eb;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: .75rem;
}
body[data-theme="butik"] .search input { text-align: left; padding-inline: 1rem; min-height: 2.8rem; }
body[data-theme="butik"] .search button { padding-inline: 1rem; font-weight: 750; }
body[data-theme="butik"] .banner {
  min-height: clamp(18rem, 38vw, 27rem);
  padding: clamp(1.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
  border-radius: 22px;
  background: linear-gradient(120deg, #28241f, #4a4035);
  box-shadow: 0 14px 34px rgba(36,29,21,.11);
}
body[data-theme="butik"] .banner h2 {
  font-size: clamp(2rem, 5vw, 4.3rem);
  line-height: 1.05;
  max-width: 15ch;
}
body[data-theme="butik"] .banner a {
  border-radius: 999px;
  background: #fffdf9;
  border-color: #fffdf9;
  color: #24211c;
  letter-spacing: .04em;
  font-weight: 750;
}
body[data-theme="butik"] .home-cats { margin: 1.8rem 0; }
body[data-theme="butik"] .home-category-grid { gap: .75rem; }
body[data-theme="butik"] .home-category-grid > li {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fffdf9;
  min-height: 5.5rem;
}
body[data-theme="butik"] .home-category-grid > li > a {
  font-size: .9rem;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 700;
  border: 0;
}
body[data-theme="butik"] .home-product-grid { gap: 1rem; }
body[data-theme="butik"] .home-product-grid > .card {
  padding: .7rem;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fffdf9;
  align-items: stretch;
  text-align: left;
  overflow: hidden;
}
body[data-theme="butik"] .home-product-grid .card-media { aspect-ratio: 1 / 1; border-radius: 12px; }
body[data-theme="butik"] .home-product-grid .card-name {
  font-family: inherit;
  font-size: .95rem;
  font-weight: 700;
  margin-top: .55rem;
  min-height: 2.7em;
}
body[data-theme="butik"] .home-product-grid .card-price { font-weight: 800; font-size: 1.1rem; }
body[data-theme="butik"] .home-product-grid .card-go {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .65rem .8rem;
  margin-top: auto;
  text-align: center;
  letter-spacing: .01em;
  font-weight: 750;
}
body[data-theme="butik"] .dock {
  border-top: 1px solid var(--line);
  background: rgba(255,253,249,.98);
  box-shadow: 0 -8px 28px rgba(42,35,27,.08);
}
body[data-theme="butik"] .dock a,
body[data-theme="butik"] .dock label {
  color: var(--ink);
  min-height: 3.25rem;
  display: grid;
  place-items: center;
  line-height: 1.2;
  letter-spacing: 0;
  font-weight: 700;
}
body[data-theme="butik"] .site-foot { border-radius: 22px 22px 0 0; }
@media (max-width: 720px) {
  body[data-theme="butik"] .head-row {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: .5rem;
    padding: .6rem .85rem;
  }
  body[data-theme="butik"] .brand {
    grid-column: auto;
    order: 0;
    justify-self: start;
    font-size: 1.5rem;
  }
  body[data-theme="butik"] .head-links { justify-self: end; }
  body[data-theme="butik"] .head-links a,
  body[data-theme="butik"] .cart-link { font-size: .73rem; min-height: 2.5rem; }
  body[data-theme="butik"] .search { max-width: none; margin: 0 .85rem .65rem; }
  body[data-theme="butik"] .banner {
    margin: .6rem 0 1.2rem;
    padding: 1.6rem;
    min-height: 17rem;
    border-radius: 17px;
  }
  body[data-theme="butik"] .banner h2 { font-size: clamp(1.8rem, 7vw, 2.5rem); }
  body[data-theme="butik"] main ul.grid:not(.list) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .7rem;
  }
  body[data-theme="butik"] .home-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body[data-theme="butik"] .home-category-grid > li { min-height: 4.5rem; }
  body[data-theme="butik"] .home-product-grid > .card { padding: .5rem; }
  body[data-theme="butik"] .home-product-grid .card-name { font-size: .85rem; }
  body[data-theme="butik"] .home-product-grid .card-price { font-size: .95rem; }
  body[data-theme="butik"] .dock { padding-bottom: env(safe-area-inset-bottom, 0px); }
  body[data-theme="butik"] .dock a,
  body[data-theme="butik"] .dock label { font-size: .68rem; padding: .65rem .2rem; }
  body[data-theme="butik"] .cookie-bar { bottom: calc(3.5rem + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) {
  body[data-theme="butik"] .home-product-grid > .card,
  body[data-theme="butik"] .home-category-grid > li { transition: none; transform: none; }
}
