/* Bonelia Cafe preview — shop header/footer + bonelia.com homepage mirror */
/* Fonts are served from this site (see assets/fonts/README.md); nothing is requested from Google. */
@font-face {
  font-family: "Montserrat";
  font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("./assets/original/fonts/montserrat-latin-wght-400-600.woff2") format("woff2");
}
@font-face {
  font-family: "Bonelia Cafe Serif";
  font-style: normal; font-weight: 400 500; font-display: swap;
  src: url("./assets/original/fonts/serif-latin-wght-400-500.woff2") format("woff2");
}
:root {
  --bg: #f6f3ef;
  --bg-card: #ffffff;
  --bg-cream: #f3ebe0;
  /* One uniform cream behind every product cutout (cards, PDP, cart, placeholder). */
  --card-media-bg: var(--bg-cream);
  --ink: #1a1210;
  --muted: #6a5344;
  --line: #e2d3c2;
  --gold: #a67c52;
  --accent: #8b5e3c;
  --heart: #b54a3c;
  --hero-ink: #fffaf4;
  /* One dark tone for everything below the "Yeni gelenler" banner, sampled from its lower edge. */
  --bn-dark: #1d1c19;
  --gutter: 28px;
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Bonelia Cafe Serif", Georgia, "Times New Roman", serif;
  --sans: var(--font);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; }
body {
  margin: 0; min-height: 100vh;
  background: var(--bg); color: var(--ink);
  font: 15px/1.55 var(--font);
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; padding: 0; }
img { max-width: 100%; display: block; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.eyebrow {
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent); margin: 0; font-weight: 600;
}

/* —— Header (unchanged shop layout) —— */
.site-header {
  position: sticky;
  top: 0; /* preview banner injects top:48px so header sticks below it */
  z-index: 40;
  background: rgba(255,253,249,.97);
}
.brand-row {
  position: relative; min-height: 61px;
  padding: 10px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  /* Exact bonelia.com header bar: .header__row--top.color-scheme-5 --color-background */
  background: #2b2724; /* rgb(43, 39, 36) — flat, matches live bonelia.com */
  border-bottom: 1px solid #1f1c1a;
}
.brand-row .micro {
  max-width: 33%; font: 11px/1.45 var(--sans);
  letter-spacing: .025em;
  color: #f3ebe0; /* light cream on brown — WCAG AA on #5a3c2a */
}
.brand-row .micro:last-child { text-align: right; margin-left: auto; }
.wordmark {
  font: 29px/1 var(--serif); letter-spacing: .18em; font-weight: 400;
  color: #3b2418;
}
.brand-row .wordmark {
  position: absolute; left: 50%; transform: translateX(-50%);
  color: #ffffff; /* white wordmark on warm brown band */
}
.nav-row {
  height: 56px; padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 16px;
  border-bottom: 1px solid var(--line); background: #fffdf9;
}
.nav-links {
  display: flex; align-items: center;
  gap: clamp(11px, 1.5vw, 22px); white-space: nowrap;
}
.nav-links a {
  font: 14px/1.2 var(--serif); padding: 19px 0; position: relative;
}
.nav-links a.nav-home { font-weight: 500; }
.nav-links a:after {
  content: ''; height: 1.5px; position: absolute; left: 0; bottom: 10px;
  width: 0; background: var(--accent); transition: width .2s;
}
.nav-links a.active:after, .nav-links a:hover:after { width: 100%; }
.nav-actions {
  display: flex; align-items: center; gap: 4px; margin-left: auto;
}
.icon-button {
  width: 42px; min-height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.icon-button svg { width: 20px; height: 20px; }
.icon-button:hover { color: var(--accent); }
.mobile-menu { display: none; }
.lang {
  position: relative; margin-left: 9px; padding-left: 12px;
  border-left: 1px solid var(--line);
}
.lang-toggle {
  min-width: 57px; min-height: 44px;
  display: flex; align-items: center; justify-content: center; gap: 7px;
  font-size: 12px; letter-spacing: .035em;
}
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 7px);
  width: 190px; padding: 7px; background: #fff;
  border: 1px solid var(--line); box-shadow: 0 12px 35px #30261822; z-index: 50;
}
.lang-menu button {
  width: 100%; min-height: 42px; display: flex;
  justify-content: space-between; align-items: center;
  text-align: left; padding: 8px 12px; font-size: 13px;
}
.lang-menu button:hover, .lang-menu button[aria-checked=true] { background: #f0e2d2; }
.lang-menu button small { font-size: 11px; color: var(--muted); }
.mobile-drawer-backdrop {
  position: fixed; inset: 0; z-index: 34;
  background: rgba(26, 18, 16, 0.35);
  /* only used on mobile when menu open */
}
.mobile-drawer-backdrop[hidden] { display: none !important; }
.mobile-drawer {
  position: fixed; inset: 118px 0 auto 0; z-index: 35;
  background: #fffdf9; border-bottom: 1px solid var(--line);
  padding: 8px var(--gutter) 18px; box-shadow: 0 12px 30px #2b1d1418;
}
.mobile-drawer[hidden] { display: none !important; }
body.mobile-nav-open { overflow: hidden; }
.mobile-links { display: flex; flex-direction: column; }
.mobile-links a, .mobile-account {
  font: 22px/1.35 var(--serif); padding: 17px 0;
  border-bottom: 1px solid var(--line);
  display: block; width: 100%; text-align: left; background: transparent; color: inherit;
}

/* —— bonelia.com hero (premium, image-first) —— */
.bn-hero {
  position: relative; min-height: min(82vh, 780px);
  display: flex; align-items: flex-end; justify-content: flex-start;
  background: #0e0b09; color: var(--hero-ink); overflow: hidden;
}
.bn-hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse 90% 110% at 8% 120%,
    rgba(14,11,9,.75) 0%, rgba(14,11,9,.42) 34%,
    rgba(14,11,9,.12) 58%, transparent 78%);
}
.bn-hero-media { position: absolute; inset: 0; }
.bn-hero-media img, .bn-hero-img {
  width: 100%; height: 100%; object-fit: cover;
  /* Desktop: bias slightly down so neon BONELIA Su-Tanime clears the header */
  object-position: center 18%;
}
/* The sign is part of the wide photo; the narrow crop gets it as a small light of its own. */
.bn-hero-neon { display: none; }
.bn-hero-overlay {
  position: relative; z-index: 2;
  text-align: left;
  padding: clamp(28px, 6vw, 64px) clamp(20px, 5vw, 56px) clamp(36px, 7vw, 72px);
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  background: transparent; /* wash lives on .bn-hero::before — no box */
}
.bn-hero-overlay .bn-hero-title,
.bn-hero-overlay .bn-hero-lead,
.bn-hero-overlay .bn-hero-cta {
  max-width: min(34rem, 92vw);
}
.bn-hero-title {
  margin: 0 0 10px; font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.75rem, 3.8vw, 2.65rem); line-height: 1.12;
  color: #fff;
  text-shadow: 0 1px 18px rgba(0,0,0,.35);
}
.bn-hero-lead {
  margin: 0 0 18px;
  font-size: .72rem; line-height: 1.4;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(243, 235, 224, 0.72);
  max-width: 28rem; font-weight: 500;
}
.bn-hero-cta {
  display: inline-block; color: rgba(255,255,255,.88); font-size: .82rem;
  letter-spacing: .06em; border-bottom: 1px solid rgba(255,255,255,.35);
  padding-bottom: 3px; font-weight: 500;
}
.bn-hero-cta:hover { color: #fff; border-bottom-color: rgba(255,255,255,.85); }
.bn-hero-note { display: none; }


/* —— Best sellers (bonelia: light grey page, white cards, 3-col) —— */
.bn-bestsellers {
  background: #f3f0eb; padding: 12px clamp(16px, 4vw, 48px) clamp(48px, 6vw, 72px);
}
.bn-bestsellers-head {
  display: flex; align-items: center; justify-content: center;
  position: relative; margin-bottom: 32px; min-height: 48px;
  max-width: 1320px; margin-left: auto; margin-right: auto;
}
.bn-bestsellers-head h2 {
  margin: 0; font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.5rem, 2.6vw, 1.85rem); color: #1a1a1a;
}
.bn-explore {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 13px; padding: 11px 18px;
  border: 1px solid #1a1a1a; border-radius: 8px; color: #1a1a1a;
  background: transparent;
}
.bn-explore:hover { background: #fff; }
.bn-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 24px;
  max-width: 1320px; margin: 0 auto;
  align-items: stretch;
}
.bn-product-card {
  position: relative;
  background: #fff; border: 0;
  display: flex; flex-direction: column; color: inherit;
  height: 100%; align-self: stretch;
}
.bn-product-card .product-media {
  aspect-ratio: 1; background: var(--card-media-bg);
  display: flex; align-items: center; justify-content: center;
  padding: 28px; overflow: hidden;
  flex-shrink: 0;
}
.bn-product-card .product-media img {
  width: 100%; height: 100%; object-fit: contain;
}
.bn-product-card .product-info {
  padding: 16px 8px 4px; display: flex; flex-direction: column; gap: 4px;
  text-align: center; flex: 1 1 auto; min-height: 0;
}
.bn-product-card h3 {
  margin: 0; font-size: .95rem; font-weight: 500; color: #1a1a1a;
  line-height: 1.35;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
  overflow: hidden; text-overflow: ellipsis;
  min-height: calc(1.35em * 2); /* reserve 2 lines so row peers align */
}
.bn-product-card .product-price {
  color: #5c5c5c; font-size: .85rem; font-weight: 500;
  margin-top: auto; padding-top: 6px;
}
.card-fav {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(255,253,249,.92);
  border: 1px solid var(--line); color: var(--heart);
}
.card-fav svg { width: 17px; height: 17px; }
.card-fav[aria-pressed="true"] svg { fill: var(--heart); }

/* —— New arrivals (full-bleed Adsiz / Lucia ONE banner) —— */
.bn-new-arrivals {
  position: relative;
  min-height: min(50vw, 720px);
  height: min(50vw, 720px);
  display: flex; align-items: center; justify-content: flex-end;
  overflow: hidden;
  color: #fff;
  background-color: var(--bn-dark);
  background-image: var(--bn-new-bg);
  background-size: cover;
  background-position: center left;
  background-repeat: no-repeat;
}
.bn-new-preload {
  position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none;
}
.bn-new-arrivals::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, #0000 35%, #0006 62%, #0008 100%);
  pointer-events: none;
}
.bn-new-copy {
  position: relative; z-index: 1;
  text-align: center;
  padding: 48px clamp(24px, 6vw, 80px);
  max-width: min(36rem, 48%);
  margin-right: clamp(0px, 4vw, 48px);
}
.bn-new-copy h2 {
  margin: 0 0 14px; font-family: var(--serif); font-weight: 400;
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  color: #fff;
}
.bn-new-copy p {
  margin: 0; color: #f3ebe0; line-height: 1.55; font-size: 1.02rem;
}

/* —— USP / newsletter / footer: one tone (--bn-dark), no divider lines between the bands —— */
.bn-usp {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; padding: 40px clamp(20px, 5vw, 56px);
  background: var(--bn-dark);
  color: #f3ebe0;
  text-align: center;
}
.bn-usp-item { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.bn-usp-icon {
  width: 44px; height: 44px; display: grid; place-items: center;
  color: #c49a6c; /* bronze */
}
.bn-usp-icon svg { width: 30px; height: 30px; stroke: #c49a6c; }
.bn-usp-item p {
  margin: 0; font-size: .9rem; line-height: 1.5;
  color: #f3ebe0; /* WCAG AA on --bn-dark */
  max-width: 16rem;
}

/* —— Newsletter / Hakkımızda / footer — dark espresso matching Yeni gelenler —— */
.bn-newsletter {
  background: var(--bn-dark);
  text-align: center;
  padding: clamp(48px, 6vw, 72px) 20px;
  color: #f3ebe0;
}
.bn-newsletter h2 {
  margin: 0 0 10px; font-family: var(--serif); font-weight: 400;
  font-size: 1.45rem; color: #f7efe4;
}
.bn-newsletter > p {
  margin: 0 auto 22px; max-width: 34rem; color: #d4c4b0; font-size: .95rem;
}
.bn-newsletter-form {
  display: flex; gap: 8px; justify-content: center; flex-wrap: wrap;
  max-width: 420px; margin: 0 auto;
}
.bn-newsletter-form input {
  flex: 1 1 200px; min-height: 44px; padding: 10px 14px;
  border: 1px solid #5a4a3c; background: #241c18; color: #f3ebe0;
  border-radius: 4px;
}
.bn-newsletter-form input::placeholder { color: #a89078; }
.bn-newsletter-form button {
  min-height: 44px; padding: 10px 18px;
  background: #c49a6c; color: #1a1512; border-radius: 4px;
  font-size: 13px; font-weight: 600;
}
.bn-newsletter-form button:hover { background: #d4b07e; }

.bn-about {
  padding: clamp(36px, 5vw, 56px) clamp(18px, 4vw, 40px);
  background: var(--bn-dark);
  color: #f3ebe0;
}
.bn-about .eyebrow { color: #c49a6c; }
.bn-about h2 {
  margin: 8px 0 12px; font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.1rem); color: #f7efe4;
}
.bn-about p:last-child { margin: 0; max-width: 40rem; color: #d4c4b0; }

/* —— Category pages —— */
.section { padding: clamp(28px, 5vw, 56px) clamp(18px, 4vw, 40px); background: #fffdf9; }
.section-head { margin-bottom: 22px; }
.section-head h2 {
  margin: 0; font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.1rem); color: #3b2418;
}
.section-head p { margin: 8px 0 0; color: var(--muted); }
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px 14px;
  align-items: stretch;
}
.product-card {
  position: relative;
  background: #fff; border: 1px solid var(--line);
  border-radius: 14px; overflow: hidden; display: flex; flex-direction: column;
  height: 100%; align-self: stretch;
}
.product-card .product-media {
  aspect-ratio: 1; background: var(--card-media-bg);
  display: flex; align-items: center; justify-content: center;
  padding: 14px; overflow: hidden;
}
.product-card .product-media img {
  width: 100%; height: 100%; object-fit: contain;
}
.product-info { padding: 12px; display: flex; flex-direction: column; gap: 5px; flex: 1 1 auto; }
.product-info h3 {
  margin: 0; font-size: .92rem; font-weight: 500;
  line-height: 1.35;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
  overflow: hidden; text-overflow: ellipsis;
  min-height: calc(1.35em * 2);
}
.product-price { color: var(--accent); font-size: .85rem; font-weight: 600; margin-top: auto; }
.product-source { font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); }
.empty-filter {
  grid-column: 1 / -1; text-align: center; padding: 48px 20px;
  color: var(--muted); font-family: var(--serif); font-size: 1.35rem;
}

body.is-category-page .home-mirror { display: none; }
body.is-category-page #products { display: block; }
body.is-home #products { display: none; }

/* —— Footer —— */
.site-footer {
  background: var(--bn-dark); padding: 39px var(--gutter) 20px;
  color: #f3ebe0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr .85fr 1.2fr 1.2fr;
  gap: 30px;
}
.footer-brand .wordmark {
  display: inline-block; margin: 2px 0 18px;
  font-size: 25px; position: static; transform: none;
}
.footer-brand .wordmark { color: #f7efe4; }
.footer-brand p {
  max-width: 180px; margin: 0;
  font: 12px/1.8 var(--serif); color: #d4c4b0;
}
.footer-grid h3 {
  font: 15px/1.4 var(--serif); margin: 0 0 13px; color: #f7efe4;
}
.footer-links { display: flex; flex-direction: column; gap: 7px; align-items: flex-start; }
.footer-links a { font-size: 11px; color: #d4c4b0; line-height: 1.5; }
.footer-links a:hover { color: #c49a6c; text-decoration: underline; }
.footer-newsletter p { font-size: 11px; color: #d4c4b0; margin: 0 0 15px; }
.button.secondary {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 39px; padding: 10px 13px;
  border: 1px solid #c49a6c; font-size: 10px; letter-spacing: .04em;
  background: transparent; color: #f3ebe0; font-weight: 600;
}
.button.secondary:hover { background: #c49a6c; color: #1a1512; }
.footer-bottom {
  margin-top: 33px; padding: 17px 0 12px;
  border-top: 1px solid #ffffff14;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-size: 10px; color: #a89078;
}
.footer-motto { letter-spacing: .14em; font-size: 8px; color: #c49a6c; }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(120%);
  background: #2b1d14; color: #f7efe4; padding: 12px 16px; border-radius: 999px;
  font-size: .9rem; box-shadow: 0 8px 24px #0003; opacity: 0;
  transition: transform .25s ease, opacity .25s ease; z-index: 60; pointer-events: none;
  max-width: calc(100vw - 32px); text-align: center;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

@media (max-width: 1150px) {
  .nav-links { gap: 12px; }
  .nav-links a { font-size: 12px; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
  .footer-newsletter { grid-column: 1 / -1; }
}
@media (max-width: 940px) {
  .nav-links { display: none; }
  .mobile-menu { display: inline-flex; }
  .brand-row .micro { font-size: 9px; max-width: 30%; }
  .bn-usp { grid-template-columns: 1fr; gap: 22px; }
  .bn-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bn-explore { position: static; transform: none; margin-left: 12px; }
  .bn-bestsellers-head { flex-wrap: wrap; justify-content: center; gap: 12px; }

  /* Mobile header actions: account → favourites → cart, language at the far right */
  .nav-actions { gap: 0; }
  .nav-actions [data-preview-gate="search"],
  .nav-actions [data-preview-gate="account"] { display: none; }
  .nav-actions #fav-button { order: 2; }
  .nav-actions #cart-button { order: 3; }
  .nav-actions .lang { order: 9; margin-left: 4px; padding-left: 6px; }
  .lang-toggle {
    min-width: 0; padding: 0 6px; gap: 3px;
    font-size: 11px; letter-spacing: .02em; font-weight: 600;
  }
  .lang-toggle svg { width: 10px; height: 10px; }
  .icon-button { width: 40px; }
}
@media (max-width: 860px) {
  .bn-collections-grid { grid-template-columns: 1fr; max-width: 420px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-legal { grid-column: 1 / -1; border-top: 1px solid #ffffff14; padding-top: 21px; }
  .footer-legal .footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 17px; }
  .footer-newsletter { grid-column: 1 / -1; }
}

/* Mobile/tablet: stacked hero (image then copy) — matches art-directed <picture> ≤720px */
@media (max-width: 720px) {
  .bn-hero::before { display: none; }
  /* Stacked hero: image then text — no overlay on machine BONELIA logo */
  .bn-hero {
    min-height: 0;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    overflow: visible;
  }
  .bn-hero-media {
    position: relative;
    inset: auto;
    width: 100%;
    height: min(58vh, 420px);
    flex-shrink: 0;
  }
  .bn-hero-media img, .bn-hero-img {
    /* a little more of the left side, so the sign has room beside the machine */
    object-position: 20% center;
  }
  .bn-hero-neon {
    display: block; position: absolute; z-index: 1;
    top: 12px; left: 10px;
    width: clamp(92px, 26vw, 176px);
    mix-blend-mode: screen; pointer-events: none;
  }
  .bn-hero-neon img { display: block; width: 100%; height: auto; }
  .bn-hero-overlay {
    position: relative;
    z-index: 1;
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 28px 20px 36px;
    background: #0e0b09; /* solid band under image — no gradient box */
    text-align: left;
  }
  .bn-hero-title { font-size: clamp(1.55rem, 7vw, 1.9rem); text-shadow: none; }
  .bn-hero-lead { letter-spacing: .08em; font-size: .65rem; }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .brand-row .micro { display: none; }
  .wordmark { font-size: 27px; }
  .nav-row { height: 51px; padding: 0 13px; }
  .nav-actions [data-preview-gate="search"] { display: none; }
  .mobile-drawer { inset: 103px 0 auto 0; }
  /* stacked hero moved to max-width:720px */
  .bn-new-arrivals {
    height: auto; min-height: 56vw; justify-content: center;
    background-position: 20% center;
  }
  .bn-new-copy { max-width: 90%; margin: 0; padding: 36px 20px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* —— Demo checkout (client-side only) —— */
.cart-badge {
  position: absolute; top: 2px; right: 2px;
  min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 999px; background: #c49a6c; color: #1a1512;
  font: 600 10px/16px var(--sans); text-align: center;
  pointer-events: none;
}
.nav-actions .icon-button { position: relative; }
.cart-badge[hidden] { display: none; }

/* —— Favourites (localStorage only) —— */
.nav-actions #fav-button.has-favs svg { fill: var(--heart); color: var(--heart); }
.favorites-page .favorites-count { margin: -4px 0 20px; color: var(--muted); font-size: .9rem; }
.favorites-page .product-grid { margin-top: 8px; }
.favorites-empty { padding: 28px 0 8px; }
.favorites-empty p { margin: 0 0 18px; color: var(--muted); }

.demo-banner {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 16px; padding: 6px 12px; border-radius: 999px;
  background: #c49a6c; color: #1a1512;
  font: 700 11px/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase;
}
.demo-view {
  display: none;
  padding: clamp(28px, 5vw, 48px) clamp(18px, 4vw, 40px);
  background: #fffdf9; min-height: 50vh;
}
body.is-demo .home-mirror,
body.is-demo #products { display: none !important; }
body.is-demo .demo-view.is-active { display: block; }

.demo-view h1 {
  margin: 0 0 8px; font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.2rem); color: #3b2418;
}
.demo-view .demo-lead { margin: 0 0 24px; color: var(--muted); font-size: .95rem; }
.demo-steps {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none;
}
.demo-steps li {
  font-size: 11px; letter-spacing: .04em; text-transform: uppercase;
  color: #a89078; padding: 4px 10px; border: 1px solid #e2d3c2; border-radius: 999px;
}
.demo-steps li.is-current { color: #3b2418; border-color: #c49a6c; background: #f7efe4; font-weight: 600; }
.demo-steps li.is-done { color: #6a5344; border-color: #c49a6c; }

.demo-cart-rows { display: grid; gap: 14px; margin-bottom: 24px; }
.demo-cart-row {
  display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center;
  padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px;
}
.demo-cart-row img {
  width: 72px; height: 72px; object-fit: contain; background: var(--card-media-bg); border-radius: 8px; padding: 4px; box-sizing: border-box;
}
.demo-cart-row h3 { margin: 0 0 4px; font-size: .95rem; font-weight: 500; }
.demo-cart-row .price { color: var(--accent); font-size: .85rem; font-weight: 600; }
.demo-qty {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 8px;
}
.demo-qty button {
  width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 6px;
  background: #fff; color: #3b2418; font-weight: 600; cursor: pointer;
}
.demo-qty span { min-width: 1.5rem; text-align: center; font-size: .9rem; }
.demo-remove {
  border: 0; background: transparent; color: #a05040; font-size: 12px;
  cursor: pointer; text-decoration: underline;
}
.demo-totals {
  display: flex; flex-direction: column; gap: 8px; align-items: flex-end;
  margin-bottom: 20px; font-size: .95rem;
}
.demo-totals .grand { font-size: 1.15rem; font-weight: 600; color: #3b2418; }
.demo-note { font-size: .82rem; color: #8a6a4a; margin: 0 0 16px; }

.demo-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.demo-btn {
  min-height: 44px; padding: 10px 18px; border-radius: 6px; font-weight: 600;
  font-size: 13px; cursor: pointer; border: 1px solid transparent;
}
.demo-btn.primary { background: #3b2418; color: #f7efe4; }
.demo-btn.primary:hover { background: #5a3c2a; }
.demo-btn.ghost { background: transparent; border-color: #c49a6c; color: #3b2418; }
.demo-btn:disabled { opacity: .45; cursor: not-allowed; }
.demo-unavailable {
  max-width: 520px; padding: 16px 18px; border: 1px solid var(--line); border-left: 3px solid #c49a6c;
  border-radius: 8px; background: #fbf6ef; color: #3b2418;
}
.demo-unavailable strong { display: block; font-weight: 600; margin-bottom: 6px; }
.demo-unavailable p { margin: 0; font-size: .92rem; line-height: 1.55; color: #5b4636; }

.demo-form { display: grid; gap: 14px; max-width: 480px; }
.demo-form label { display: grid; gap: 6px; font-size: .85rem; color: #3b2418; font-weight: 500; }
.demo-form input, .demo-form textarea, .demo-form select {
  min-height: 42px; padding: 10px 12px; border: 1px solid #c9b59a;
  border-radius: 6px; background: #fff; font: inherit; color: #1a1210;
}
.demo-form textarea { min-height: 80px; resize: vertical; }
.demo-form .error { color: #a05040; font-size: .8rem; }

.demo-options { display: grid; gap: 10px; max-width: 520px; }
.demo-option {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer;
}
.demo-option:has(input:checked) { border-color: #c49a6c; background: #faf6f0; }
.demo-option input { accent-color: #3b2418; }
.demo-option .opt-label { flex: 1; font-weight: 500; color: #3b2418; }
.demo-option .opt-price { font-weight: 600; color: var(--accent); }

.demo-summary { max-width: 560px; display: grid; gap: 12px; }
.demo-summary-block {
  padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 10px;
}
.demo-summary-block h3 { margin: 0 0 8px; font-size: .9rem; color: #6a5344; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.demo-summary-block p { margin: 0; font-size: .92rem; color: #3b2418; line-height: 1.5; }

.demo-confirm {
  text-align: center; max-width: 520px; margin: 0 auto; padding: 32px 16px;
}
.demo-confirm .check {
  width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%;
  background: #2a211c; color: #c49a6c; display: grid; place-items: center; font-size: 28px;
}
.demo-confirm h1 { color: #3b2418; }
.demo-confirm .demo-warn {
  margin: 16px 0 24px; padding: 14px 18px; border-radius: 10px;
  background: #2a211c; color: #f3ebe0; font-weight: 600; font-size: 1rem;
}

/* Product detail */
.demo-pdp {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px; max-width: 960px; align-items: start;
}
.demo-pdp-media {
  aspect-ratio: 1; background: var(--card-media-bg); border-radius: 14px;
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.demo-pdp-media img { max-width: 100%; max-height: 100%; object-fit: contain; }
.demo-pdp .product-price { font-size: 1.2rem; margin: 12px 0 20px; }
.bn-product-card .demo-add,
.product-card .demo-add {
  margin: 8px 12px 12px; min-height: 36px; width: calc(100% - 24px);
  border: 1px solid #c49a6c; background: #3b2418; color: #f7efe4;
  border-radius: 6px; font-size: 12px; font-weight: 600; cursor: pointer;
  position: relative; z-index: 2;
  flex-shrink: 0; margin-top: auto;
}
/* When price already took margin-top:auto inside .product-info, keep button glued under it */
.bn-product-card .product-info + .demo-add,
.product-card .product-info + .demo-add { margin-top: 8px; }
.bn-product-card, .product-card { text-decoration: none; color: inherit; cursor: pointer; }

/* Cart drawer */
.cart-drawer-backdrop {
  position: fixed; inset: 0; background: #0006; z-index: 70;
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.cart-drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed; top: 0; right: 0; width: min(400px, 100vw); height: 100%;
  background: #fffdf9; z-index: 71; transform: translateX(100%);
  transition: transform .25s ease; display: flex; flex-direction: column;
  box-shadow: -8px 0 32px #0003;
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px; border-bottom: 1px solid var(--line);
}
.cart-drawer-head h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 1.25rem; }
.cart-drawer-body { flex: 1; overflow: auto; padding: 14px; }
.cart-drawer-foot { padding: 14px 18px; border-top: 1px solid var(--line); display: grid; gap: 10px; }

@media (max-width: 720px) {
  .demo-pdp { grid-template-columns: 1fr; }
  .demo-cart-row { grid-template-columns: 64px 1fr; }
  .demo-cart-row .demo-remove { grid-column: 2; }
}

/* Dedicated /hakkimizda page — homepage no longer embeds Hakkımızda */
.demo-view#view-about { padding: 0; background: var(--bn-dark); }
.about-page.bn-about { border-top: 0; min-height: 40vh; }
.about-page.bn-about h1 {
  margin: 8px 0 12px; font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.1rem); color: #f7efe4;
}

/* Mobile bestsellers: keep equal-height alignment at 360–390 */
@media (max-width: 640px) {
  .bn-product-card .product-media { padding: 16px; }
  .bn-product-card h3 { font-size: .88rem; }
  .bn-product-card .demo-add { font-size: 11px; min-height: 34px; }
}

.product-media-missing, .bn-product-card .product-media-missing {
  width: 100%; height: 100%; min-height: 120px; background: var(--card-media-bg);
}

/* —— Legal pages (/yasal/*): templates filled from legal/legal-company.json —— */
.demo-view#view-legal { background: #fffdf9; }
.legal-page { max-width: 46rem; margin: 0 auto; color: var(--ink, #2b1d14); line-height: 1.65; }
.legal-page .eyebrow { color: #9a7550; }
.legal-page h1 { margin: 6px 0 14px; font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 3.2vw, 2.3rem); }
.legal-page h2 { margin: 26px 0 8px; font-family: var(--serif); font-weight: 500; font-size: 1.15rem; }
.legal-page p, .legal-page li { font-size: .95rem; color: #3d3029; }
.legal-page ul { padding-left: 1.2rem; }
.legal-page a { color: #7a4f2a; }
.legal-notice {
  margin: 0 0 18px; padding: 12px 14px; border-left: 3px solid #c49a6c;
  background: #f6efe6; font-size: .88rem !important; color: #5b4636 !important;
}
.legal-placeholder {
  background: #fde7b0; color: #6b3d00; padding: 0 4px; border-radius: 3px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .85em;
}
.legal-form { margin: 8px 0; padding: 14px 16px; border: 1px dashed #c9b7a3; background: #fbf6ef; }
.legal-form p { margin: 6px 0; }
.legal-version { margin-top: 26px; font-size: .85rem !important; color: #6f5a4b !important; }
.legal-nav { margin-top: 28px; padding-top: 16px; border-top: 1px solid #e3d5c4; }
.legal-nav h2 { margin-top: 0; font-size: 1rem; }
.legal-nav ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.legal-nav a[aria-current="page"] { font-weight: 600; text-decoration: none; }

/* —— Public showcase: cart and order steps are offered; demo labels and links to the former brand shop are not —— */
html[data-storefront-mode="showcase"] .demo-banner,
html[data-storefront-mode="showcase"] [data-brand-site],
html[data-storefront-mode="showcase"] #products-lead,
html[data-storefront-mode="showcase"] .product-source,
/* The newsletter form stores nothing yet. */
html[data-storefront-mode="showcase"] .bn-newsletter { display: none !important; }

/* —— Keyboard focus is always visible —— */
:focus-visible { outline: 2px solid #8b5e3c; outline-offset: 2px; }
.site-footer :focus-visible, .bn-hero :focus-visible, .bn-new-arrivals :focus-visible, .brand-row :focus-visible { outline-color: #f3ebe0; }
.product-card:focus-visible, .bn-product-card:focus-visible { outline-offset: 3px; border-radius: 10px; }

/* —— Footer: legal column in the LAB-X arrangement, withdrawal action as a button —— */
.footer-links .withdraw-link {
  margin-top: 8px; padding: 9px 13px; border: 1px solid #c49a6c; color: #f3ebe0;
  font-weight: 600; text-decoration: underline; text-underline-offset: 3px;
}
.footer-links .withdraw-link:hover { background: #c49a6c; color: #1a1512; }
@media (min-width: 861px) {
  .footer-grid { grid-template-columns: 1.1fr 1fr .85fr 1.25fr 1.15fr; }
}
@media (max-width: 860px) {
  .footer-legal .footer-links .withdraw-link { grid-column: 2; justify-self: start; }
}

/* —— Legal and service pages: contact card, price table, FAQ, storage and withdrawal tools —— */
.legal-page h3 { margin: 18px 0 6px; font-family: var(--serif); font-weight: 500; font-size: 1.02rem; }
.legal-contact { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 10px 0 18px; font-size: .95rem; }
.legal-contact dt { color: #6f5a4b; }
.legal-contact dd { margin: 0; color: #3d3029; }
.legal-links { list-style: none; padding-left: 0 !important; display: grid; gap: 6px; }
.legal-faq { border-bottom: 1px solid #e3d5c4; padding: 10px 0; }
.legal-faq summary { cursor: pointer; font-weight: 600; color: #3b2418; font-size: .97rem; }
.legal-faq p { margin: 8px 0 2px; }
.legal-table { border-collapse: collapse; margin: 8px 0 14px; min-width: min(100%, 320px); font-size: .95rem; }
.legal-table th, .legal-table td { text-align: left; padding: 8px 18px 8px 0; border-bottom: 1px solid #e3d5c4; color: #3d3029; }
.legal-table th { font-weight: 600; color: #6f5a4b; font-size: .85rem; }
.legal-table td:last-child, .legal-table th:last-child { text-align: right; padding-right: 0; }
.legal-storage { margin: 10px 0 18px; }
.legal-storage-status { min-height: 1.4em; font-size: .88rem !important; color: #4b6b3c !important; }
.legal-withdraw { margin: 14px 0 22px; padding: 18px; border: 1px solid #e3d5c4; border-radius: 10px; background: #fff; }
.legal-withdraw h2 { margin-top: 0; }
.legal-withdraw-text {
  white-space: pre-wrap; word-break: break-word; margin: 10px 0 16px; padding: 12px 14px;
  background: #fbf6ef; border: 1px dashed #c9b7a3; font: inherit; font-size: .92rem; color: #3d3029;
}
.legal-withdraw-result { margin-top: 16px; padding-top: 14px; border-top: 1px solid #e3d5c4; }
.legal-withdraw .demo-actions { justify-content: flex-start; }

/* —— Account page —— */
.account-page { max-width: 30rem; margin: 0 auto; }
.account-page .eyebrow { color: #9a7550; }
.account-page h1 { margin: 6px 0 14px; font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 3.2vw, 2.3rem); color: #3b2418; }
.account-notice { margin: 0 0 16px; padding: 12px 14px; border-left: 3px solid #c49a6c; background: #f6efe6; color: #3b2418; font-size: .92rem; }
.account-name { margin: 0; font-weight: 600; color: #3b2418; }
.account-email { margin: 2px 0 14px; color: #5b4636; }
.account-fineprint { margin: 0; font-size: .82rem; color: #6f5a4b; }
.account-fineprint a, .account-consent a { color: #7a4f2a; }
.demo-form .account-consent { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; line-height: 1.5; }
.account-consent input { width: 18px; height: 18px; margin-top: 2px; flex: 0 0 auto; accent-color: #3b2418; }
.account-page .demo-actions { justify-content: flex-start; }
.account-switch {
  display: block; margin-top: 14px; padding: 0; background: none; border: 0; cursor: pointer;
  color: #7a4f2a; font: inherit; font-size: .9rem; text-decoration: underline; text-underline-offset: 3px; text-align: left;
}
.icon-button.is-signed-in { color: #8b5e3c; }

/* —— Price note required next to prices (VAT included, shipping extra) —— */
.price-note { display: block; margin-top: 2px; font-size: .72rem; color: var(--muted); font-weight: 400; text-decoration: none; }
a.price-note { text-decoration: underline; text-underline-offset: 2px; margin: -14px 0 18px; }
.demo-totals .price-note { margin-top: 6px; }

/* —— Product information with an offer: unit price, details, responsible company —— */
.unit-price { display: block; margin-top: 2px; font-size: .74rem; color: var(--muted); font-weight: 400; }
.demo-pdp .unit-price { margin: -14px 0 16px; }
.product-details { max-width: 880px; margin: 34px auto 0; padding-top: 24px; border-top: 1px solid var(--line); }
.product-details-title { font: 400 1.15rem/1.3 var(--serif); margin: 0 0 12px; }
.product-description { margin: 0 0 12px; line-height: 1.6; white-space: pre-line; }
.product-facts { display: grid; grid-template-columns: minmax(120px, 30%) 1fr; gap: 8px 18px; margin: 0; font-size: .88rem; }
.product-facts dt { color: var(--muted); }
.product-facts dd { margin: 0; overflow-wrap: anywhere; }
.order-terms { margin: 14px 0 16px; font-size: .82rem; color: var(--muted); }
.order-terms p { margin: 0 0 4px; }
.guarantee-notice { display: block; width: min(100%, 600px); margin-top: 14px; border: 1px solid var(--line); background: #fff; }
.guarantee-notice img { display: block; width: 100%; height: auto; }
@media (max-width: 640px) {
  .product-facts { grid-template-columns: 1fr; gap: 2px 0; }
  .product-facts dd { margin-bottom: 8px; }
}


