/* Ova Vitrin — mobil atelier (fotoğraf / marka odaklı) */

:root {
  /* Fiziksel mağaza: cappuccino MDF + koyu gri manken/masa */
  --cappuccino: #c4a88a;
  --cappuccino-light: #e6d7c6;
  --cappuccino-deep: #a89072;
  --mannequin: #3a3a3c;
  --mannequin-deep: #2a2a2c;
  --bg: #e8dccf;
  --bg-deep: #d4c4b2;
  --surface: #f2e9df;
  --ink: #2a2a2c;
  --ink-soft: #3a3a3c;
  --mute: #5c5349;
  --line: rgba(42, 42, 44, 0.12);
  --gold: #b8953f;
  --gold-deep: #7a5e22;
  --gold-bright: #d4bc7d;
  --wa: #0f7a41;
  --wa-ink: #0a5c30;
  --radius: 10px;
  --radius-lg: 18px;
  --font: "Karla", "Avenir Next", "Segoe UI", sans-serif;
  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --bar-h: 52px;
  --tab-h: calc(54px + env(safe-area-inset-bottom, 0px));
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --touch: 48px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  height: 100%;
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.45;
  color: var(--ink);
  background: var(--bg);
  overscroll-behavior: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(100% 70% at 80% 0%, rgba(196, 168, 138, 0.4) 0%, transparent 50%),
    radial-gradient(90% 60% at 10% 100%, rgba(58, 58, 60, 0.1) 0%, transparent 45%),
    linear-gradient(165deg, var(--cappuccino-light) 0%, var(--bg) 42%, var(--bg-deep) 100%);
}

img { display: block; max-width: 100%; height: auto; }
button, a { -webkit-tap-highlight-color: transparent; }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: var(--gold-deep);
  color: #fff;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ─── App shell ─── */
.app {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding-top: calc(var(--bar-h) + var(--safe-top));
  padding-bottom: var(--tab-h);
}

.app[data-tab="home"] {
  padding-top: 0;
}

.app[data-yukleniyor="true"] .app-main { opacity: 0; }
.app[data-yukleniyor="false"] .loader { display: none; }

/* ─── App bar ─── */
.app-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: calc(var(--bar-h) + var(--safe-top));
  padding-top: var(--safe-top);
  background: rgba(232, 220, 207, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.25s var(--ease), border-color 0.25s;
}

.app[data-tab="home"] .app-bar {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.app[data-tab="home"] .app-title,
.app[data-tab="home"] .app-sub { color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,0.25); }
.app[data-tab="home"] .app-logo {
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
}

.app-bar-inner {
  height: var(--bar-h);
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.app-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}

.app-logo.has-img {
  background: transparent;
  border: none;
  padding: 0;
  overflow: hidden;
}

.app-logo.has-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.app[data-tab="home"] .app-logo.has-img {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
}

.app-logo {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(160deg, var(--gold-bright), var(--gold), var(--gold-deep));
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  display: grid;
  place-items: center;
  animation: logoIn 0.8s var(--ease) both;
}
.app-logo img { width: 100%; height: 100%; object-fit: contain; }
.footer-links { display: flex; justify-content: center; gap: 1rem; margin: .75rem 0; }
.footer-links a { color: var(--gold-deep); font-size: .82rem; font-weight: 700; }

@keyframes logoIn {
  from { opacity: 0; transform: scale(0.86); }
  to { opacity: 1; transform: none; }
}

.app-title {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-sub {
  display: block;
  font-size: 0.68rem;
  color: var(--mute);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-icon {
  width: var(--touch);
  height: var(--touch);
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: none;
  cursor: pointer;
  transition: transform 0.12s;
}
.btn-icon:active { transform: scale(0.94); }
.btn-wa { background: var(--wa); color: #fff; }

/* ─── Main ─── */
.app-main {
  flex: 1;
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  padding: 1rem 1rem 1.5rem;
  transition: opacity 0.25s;
}

.app[data-tab="home"] .app-main {
  padding-left: 0;
  padding-right: 0;
  padding-top: 0;
  max-width: none;
}

.app[data-tab="home"] .section-block,
.app[data-tab="home"] .collect,
.app[data-tab="home"] .trust-line,
.app[data-tab="home"] .trust-pillars {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.view { display: none; }
.view.active {
  display: block;
  animation: rise 0.45s var(--ease) both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .view.active, .app-logo, .hero-copy, .product-card img { animation: none !important; }
  .sheet-panel { animation: none !important; }
}

/* ─── Hero (full-bleed) ─── */
.hero {
  position: relative;
  min-height: calc(100svh - var(--tab-h));
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroDrift 14s ease-in-out infinite alternate;
}

@keyframes heroDrift {
  from { transform: scale(1.04) translateY(0); }
  to { transform: scale(1.08) translateY(-1.5%); }
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(42,42,44,0.2) 0%, rgba(42,42,44,0.08) 32%, rgba(42,42,44,0.78) 100%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem calc(1.75rem + 0.25rem);
  animation: rise 0.7s 0.1s var(--ease) both;
}

.hero-brand {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 9vw, 3.6rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.hero-title {
  margin: 0 0 0.65rem;
  font-family: var(--font);
  font-size: clamp(1.05rem, 3.6vw, 1.25rem);
  font-weight: 500;
  line-height: 1.35;
  color: rgba(255,255,255,0.92);
  max-width: 18em;
}

.hero-desc {
  margin: 0 0 1.35rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.78);
  max-width: 28em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: var(--touch);
  padding: 0 1.2rem;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s, background 0.15s, color 0.15s;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: linear-gradient(160deg, var(--gold-bright), var(--gold) 45%, var(--gold-deep));
  color: #1a1408;
}

.hero .btn-primary {
  color: #1a1408;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.btn-ghost {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
}

.app-main .btn-ghost:not(.hero .btn-ghost) {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.view .btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-wa-solid {
  background: var(--wa);
  color: #fff;
}

.btn-block { width: 100%; }

.link-btn {
  background: none;
  border: none;
  color: var(--gold-deep);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  min-height: var(--touch);
  padding: 0 0.35rem;
}

/* ─── Collections (below fold) ─── */
.collect {
  display: flex;
  gap: 0.35rem;
  overflow-x: auto;
  padding: 1.15rem 0 0.35rem;
  margin-bottom: 0.5rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.collect::-webkit-scrollbar { display: none; }

.collect-link {
  flex-shrink: 0;
  min-height: var(--touch);
  padding: 0 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(242, 233, 223, 0.85);
  color: var(--ink-soft);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  -webkit-touch-callout: none;
  user-select: none;
}
.collect-link:active {
  background: var(--mannequin);
  color: #fff;
  border-color: var(--mannequin);
}

.trust-line {
  margin: 0.5rem auto 0;
  padding-bottom: 0.25rem;
  font-size: 0.8rem;
  color: var(--mute);
  line-height: 1.45;
  text-align: center;
}

.style-finder {
  max-width: 1240px;
  margin: 3rem auto 1rem;
  padding: 0 2.5rem;
}
.style-finder > h2 {
  max-width: 12em;
  margin: 0 0 .45rem;
  color: var(--wine);
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 500;
  line-height: 1;
}
.style-finder > p:not(.eyebrow), .look-result > p { color: var(--ink-soft); }
.style-choices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  margin: 1.5rem 0;
}
.style-choice {
  min-height: 116px;
  padding: 1rem;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.34);
  color: var(--ink);
  cursor: pointer;
}
.style-choice strong, .style-choice span { display: block; }
.style-choice strong { margin-bottom: .45rem; color: var(--wine); font: 600 1.35rem var(--font-display); }
.style-choice span { color: var(--ink-soft); line-height: 1.4; }
.style-choice.active { border-color: var(--gold-deep); background: rgba(196,168,138,.2); box-shadow: inset 0 0 0 1px var(--gold-deep); }
.look-result { padding: 1.35rem; border: 1px solid var(--line); border-radius: 16px; background: rgba(242,233,223,.72); }
.look-result h3 { margin: 0; color: var(--wine); font: 600 1.5rem var(--font-display); }
.look-result > p { margin: .35rem 0 1rem; }
.look-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: .65rem; margin-bottom: 1rem; }
.look-product { display: grid; grid-template-columns: auto 58px 1fr; align-items: center; gap: .65rem; padding: .6rem; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); cursor: pointer; }
.look-product input { accent-color: var(--wine); }
.look-product img { width: 58px; height: 58px; object-fit: cover; border-radius: 8px; }
.look-product strong, .look-product small { display: block; }
.look-product strong { font-size: .85rem; }
.look-product small { margin-top: .2rem; color: var(--mute); font-size: .68rem; }
.look-product .look-product-sample { display: block; }
.look-product a { display: inline-block; margin-top: .3rem; color: var(--gold-deep); font-size: .75rem; font-weight: 700; }
.look-result > .btn { width: auto; min-width: 190px; }

.trust-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin: 1rem 0 0.5rem;
}

.trust-card {
  background: rgba(242, 233, 223, 0.75);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.95rem 1rem;
}

.trust-ico {
  display: block;
  font-size: 1.1rem;
  color: var(--gold-deep);
  margin-bottom: 0.35rem;
}

.trust-card h3 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
}

.trust-card p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--mute);
  line-height: 1.4;
}

.search-wrap { margin-bottom: 0.85rem; }

.search-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 0.35rem;
}

.search-input {
  width: 100%;
  min-height: var(--touch);
  padding: 0 0.95rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(242, 233, 223, 0.9);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
}

.search-input::placeholder { color: #8a8076; }

.search-meta {
  margin: 0.4rem 0 0;
  font-size: 0.75rem;
  color: var(--mute);
  min-height: 1.1em;
}

.load-more { margin-top: 0.85rem; }

.site-footer {
  max-width: 720px;
  margin: 0 auto;
  padding: 1.25rem 1rem calc(0.5rem + var(--safe-bottom));
  text-align: center;
  color: var(--mute);
  font-size: 0.75rem;
  line-height: 1.45;
}

.footer-brand {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.footer-note { margin: 0 0 0.35rem; }
.footer-copy { margin: 0 0 0.75rem; opacity: 0.85; }

.btn-panel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 44px;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--mute);
  font-size: 0.72rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.btn-panel:active { transform: scale(0.98); }

/* Editorial storefront treatment */
:root {
  --bg: #f6f0e8;
  --surface: #fffaf4;
  --ink: #391e25;
  --ink-soft: #542d35;
  --mute: #806b69;
  --line: rgba(57, 30, 37, 0.15);
  --gold: #b8893d;
  --gold-deep: #805526;
  --wine: #5a2532;
}
body { background: var(--bg); }
body::before { background: radial-gradient(70% 55% at 90% 0%, rgba(190,151,98,.16), transparent 70%), var(--bg); }
.app { padding-bottom: 0; }
.app-bar { position: absolute; background: transparent; border: 0; }
.app-bar-inner { max-width: 1240px; padding: 1.25rem 2.5rem; height: 76px; }
.app-logo { background: transparent; border: 1px solid currentColor; color: var(--gold-bright); border-radius: 50%; }
.app-title { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: .02em; }
.app-sub { letter-spacing: .12em; text-transform: uppercase; }
.app[data-tab="home"] .app-title, .app[data-tab="home"] .app-sub { color: var(--ink); text-shadow: none; }
.app[data-tab="home"] .app-logo { color: var(--wine); border-color: var(--wine); background: transparent; }
.btn-wa { min-height: 44px; border-radius: 999px; padding: 0 .95rem; display: inline-flex; align-items: center; gap: .4rem; text-decoration: none; font-size: .78rem; font-weight: 700; }
.btn-wa svg { width: 17px; height: 17px; }
.hero { min-height: min(780px, 92svh); color: var(--ink); background: #eadfd3; align-items: center; }
.hero-media { left: auto; width: min(52vw, 760px); right: 5vw; top: 0; bottom: 0; }
.hero-media img { object-fit: cover; object-position: center top; transform: none; animation: none; mix-blend-mode: multiply; }
.hero-veil { background: linear-gradient(90deg, var(--bg) 0%, rgba(246,240,232,.88) 25%, rgba(246,240,232,0) 70%); }
.hero-copy { max-width: 1240px; padding: 8rem 2.5rem 6rem; color: var(--ink); }
.hero-eyebrow, .eyebrow { margin: 0 0 1.1rem; color: var(--gold-deep); font-size: .72rem; font-weight: 700; letter-spacing: .18em; }
.hero-title { max-width: 8em; margin-bottom: 1rem; font-family: var(--font-display); font-size: clamp(3.5rem, 7vw, 6.5rem); font-weight: 500; line-height: .9; letter-spacing: -.04em; color: var(--wine); }
.hero-desc { max-width: 29rem; margin-bottom: 1.8rem; color: var(--ink-soft); font-size: 1.08rem; }
.hero .btn-ghost { color: var(--wine); border-color: rgba(90,37,50,.35); background: rgba(255,255,255,.35); }
.collect { max-width: 1240px !important; padding: 1.4rem 2.5rem .75rem !important; gap: 1.5rem; border-bottom: 1px solid var(--line); }
.collect-link { border: 0; background: none; color: var(--wine); padding: 0 .1rem; font-size: .8rem; letter-spacing: .05em; text-transform: uppercase; }
.editorial-intro { max-width: 1240px; margin: 4rem auto 2rem; padding: 0 2.5rem; }
.editorial-intro h2 { max-width: 12em; margin: 0 0 .7rem; font: 500 clamp(2.3rem,4vw,4rem)/.95 var(--font-display); color: var(--wine); }
.editorial-intro p:last-child { max-width: 34rem; margin: 0; color: var(--mute); }
.section-block { max-width: 1240px !important; padding: 0 2.5rem !important; }
.section-head-row h2 { font-size: 2.3rem; color: var(--wine); }
.product-img { border-radius: 0; background: #eee3d8; aspect-ratio: 4/5; }
.product-body h3 { color: var(--wine); }
.trust-line { max-width: 1240px !important; padding: 2rem 2.5rem !important; text-align: left; border-top: 1px solid var(--line); }
.trust-pillars { max-width: 1240px !important; padding: 0 2.5rem !important; grid-template-columns: repeat(3,1fr); }
.trust-card { background: transparent; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 1.2rem 0; }
.tab-bar { position: sticky; bottom: 0; max-width: none; background: rgba(246,240,232,.94); border-top: 1px solid var(--line); }
.tab { color: var(--wine); }
@media (max-width: 700px) {
  .app-bar-inner { padding: .9rem 1.1rem; }
  .hero { min-height: 88svh; align-items: flex-end; }
  .hero-media { width: 100%; right: 0; top: 76px; opacity: .75; }
  .hero-veil { background: linear-gradient(180deg, rgba(246,240,232,.1) 20%, rgba(246,240,232,.94) 72%); }
  .hero-copy { padding: 8rem 1.25rem 3rem; }
  .hero-title { font-size: clamp(3rem, 15vw, 5rem); }
  .collect, .section-block, .editorial-intro, .trust-line, .trust-pillars { padding-left: 1.25rem !important; padding-right: 1.25rem !important; }
  .editorial-intro { margin-top: 3rem; }
  .trust-pillars { grid-template-columns: 1fr; }
}

.style-finder .look-product a {
  color: var(--wine);
  text-decoration: underline;
  text-decoration-color: rgba(90, 37, 50, .38);
  text-underline-offset: .18em;
}
.style-finder .look-product a:hover {
  text-decoration-color: currentColor;
}
.style-finder .look-product a:focus-visible {
  border-radius: 3px;
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
}

/* Balanced storefront hero and compact special-day preview */
.app[data-tab="home"] .hero {
  min-height: clamp(500px, 70svh, 680px);
  background: linear-gradient(135deg, #f6f0e8 0%, #eadfd3 100%);
}
.app[data-tab="home"] .hero-copy {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  width: 100%;
  padding: 7rem 2.5rem 5rem;
}
.app[data-tab="home"] .hero-title { max-width: 10em; }
.app[data-tab="home"] .hero-desc { max-width: 40rem; }
.hero-custom-media {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(46%, 680px);
  overflow: hidden;
}
.hero-custom-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-custom-media[hidden] + .hero-veil { background: none; }
.hero-custom-media:not([hidden]) + .hero-veil {
  background: linear-gradient(90deg, #f6f0e8 0%, rgba(246,240,232,.9) 42%, rgba(246,240,232,.12) 78%);
}
.tryon-editorial {
  max-width: 1160px;
  margin: 2.5rem auto;
  display: grid;
  grid-template-columns: minmax(180px, .7fr) 1.3fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(242,233,223,.75);
}
.tryon-editorial-media { max-height: 310px; overflow: hidden; background: #e7d9cd; }
.tryon-editorial-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 17%; }
.tryon-editorial-copy { align-self: center; padding: clamp(1.25rem, 4vw, 2.5rem); }
.tryon-editorial-copy h2 { margin: 0 0 .6rem; color: var(--wine); font: 500 clamp(1.8rem, 4vw, 3rem)/1 var(--font-display); }
.tryon-editorial-copy p:not(.eyebrow) { max-width: 36rem; color: var(--ink-soft); line-height: 1.55; }
.tryon-editorial-copy .btn { width: auto; }
@media (max-width: 700px) {
  .app[data-tab="home"] .hero { min-height: 520px; }
  .app[data-tab="home"] .hero-copy { padding: 7rem 1.25rem 3rem; }
  .app[data-tab="home"] .hero-title { font-size: clamp(2.8rem, 13vw, 4.25rem); }
  .hero-custom-media { width: 100%; opacity: .28; }
  .hero-custom-media:not([hidden]) + .hero-veil { background: linear-gradient(180deg, rgba(246,240,232,.35), #f6f0e8 82%); }
  .tryon-editorial { margin: 2rem 1.25rem; grid-template-columns: 112px 1fr; }
  .tryon-editorial-media { max-height: none; }
  .tryon-editorial-copy { padding: 1.1rem; }
  .tryon-editorial-copy .btn { width: 100%; }
}

@media (hover: hover) {
  .btn-panel:hover {
    color: var(--ink-soft);
    border-color: var(--gold);
    background: var(--cream);
  }
}

/* ─── Sections ─── */
.section-block { margin: 0.75rem 0 1rem; }

.featured-primary { margin-top: 2.5rem; }

.section-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}
.section-head-row h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.view-top { margin-bottom: 1rem; }
.view-title {
  margin: 0 0 0.3rem;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.view-desc {
  margin: 0;
  font-size: 0.88rem;
  color: var(--mute);
}

.info-banner {
  background: rgba(184, 149, 63, 0.12);
  border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0;
  padding: 0.85rem 1rem;
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-bottom: 1rem;
  line-height: 1.45;
}

/* ─── Filters ─── */
.chip-row {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  margin-bottom: 0.85rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
.chip-row::-webkit-scrollbar { display: none; }

.chip {
  flex-shrink: 0;
  min-height: var(--touch);
  padding: 0 1rem;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(242, 233, 223, 0.85);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  -webkit-touch-callout: none;
  user-select: none;
}
.chip[aria-pressed="true"],
.chip[aria-selected="true"] {
  background: var(--mannequin);
  border-color: var(--mannequin);
  color: #fff;
}

.chip-row--stil { margin-top: -0.25rem; }
.chip-stil[aria-pressed="true"],
.chip-stil[aria-selected="true"] {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
  color: #fff;
}

/* ─── Products ─── */
.product-li { list-style: none; margin: 0; padding: 0; }

.product-scroll {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  padding: 0 0 0.35rem;
  margin: 0;
  list-style: none;
  scroll-snap-type: x proximity;
  scroll-padding-left: 1rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.product-scroll::-webkit-scrollbar { display: none; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-card {
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
  cursor: pointer;
  text-align: left;
  padding: 0;
  width: 100%;
  scroll-snap-align: start;
  transition: transform 0.18s var(--ease);
  -webkit-touch-callout: none;
  user-select: none;
}
.product-scroll .product-card,
.product-scroll .product-li {
  flex: 0 0 168px;
  width: 168px;
}
.product-card:active { transform: scale(0.985); }

@media (hover: hover) {
  .product-card:hover .product-img img { transform: scale(1.03); }
}

.btn-xs {
  min-height: 44px;
  padding: 0 0.9rem;
  font-size: 0.8rem;
}

.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.product-img {
  aspect-ratio: 1;
  background: linear-gradient(160deg, #4a4a4c 0%, var(--mannequin) 55%, var(--mannequin-deep) 100%);
  overflow: hidden;
  position: relative;
  border-radius: var(--radius);
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}
.product-card:active .product-img img {
  transform: scale(1.04);
}

.product-body { padding: 0.65rem 0.1rem 0; }

.product-body h3 {
  margin: 0 0 0.2rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-meta {
  font-size: 0.7rem;
  color: var(--mute);
  margin-bottom: 0.3rem;
}

.product-price {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-deep);
  letter-spacing: 0.01em;
}

.product-flag {
  display: inline-block;
  margin-bottom: 0.2rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

/* ─── Branches ─── */
.branch-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.branch-card {
  background: rgba(242, 233, 223, 0.8);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem;
  min-height: 220px;
  display: flex;
  flex-direction: column;
}
.branch-number { color: var(--gold-deep) !important; font-size: .72rem !important; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.branch-pending { margin: auto 0 !important; font-size: 1rem !important; }

.branch-card h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}

.branch-card p {
  margin: 0 0 0.3rem;
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.branch-card a { color: var(--gold-deep); font-weight: 600; }

.branch-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.85rem;
  flex-wrap: wrap;
}
@media (max-width: 560px) { .branch-list { grid-template-columns: 1fr; } }
@media (max-width: 700px) {
  .style-finder { padding: 0 1.25rem; }
  .style-choices, .look-products { grid-template-columns: 1fr; }
  .style-choice { min-height: 92px; }
  .look-result > .btn { width: 100%; }
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

/* ─── Tab bar ─── */
.tab-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  width: 100%;
  max-width: none;
  margin: 0;
  padding-bottom: var(--safe-bottom);
  background: transparent;
}
.tab-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(242, 233, 223, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .tab-bar::before { background: #f2e9df; }
  .app-bar { background: #f2e9df; }
}

.tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.12rem;
  min-height: 54px;
  padding: 0.3rem 0.2rem;
  border: none;
  background: none;
  color: var(--mute);
  font-family: inherit;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  -webkit-touch-callout: none;
  user-select: none;
}
.tab-ico { width: 22px; height: 22px; }
.tab.active { color: var(--gold-deep); }
.tab:active { opacity: 0.7; }

/* ─── Sheet ─── */
.sheet[hidden] { display: none; }
.sheet {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 17, 14, 0.5);
}

.sheet-panel {
  position: relative;
  width: min(480px, 100%);
  max-height: 92dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--surface);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding-bottom: calc(1rem + var(--safe-bottom));
  animation: slideUp 0.35s var(--ease);
}

.sheet.is-closing .sheet-panel {
  animation: slideDown 0.22s var(--ease) forwards;
}
.sheet.is-closing .sheet-backdrop {
  opacity: 0;
  transition: opacity 0.22s;
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: none; }
}
@keyframes slideDown {
  from { transform: none; }
  to { transform: translateY(100%); }
}

.sheet-handle {
  width: 36px;
  height: 4px;
  background: var(--line);
  border-radius: 4px;
  margin: 0.65rem auto 0;
}

.sheet-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: var(--touch);
  height: var(--touch);
  min-width: var(--touch);
  min-height: var(--touch);
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.sheet-img {
  aspect-ratio: 4/3;
  background: var(--bg);
}
.sheet-img img { width: 100%; height: 100%; object-fit: cover; }

.sheet-body { padding: 1.15rem 1.25rem; }

.sheet-body h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  padding-right: 2rem;
}

.sheet-desc {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.sheet-sample-note {
  margin: -.25rem 0 1rem;
  color: var(--mute);
  font-size: .78rem;
  line-height: 1.45;
}

.sheet-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.spec {
  background: rgba(232, 235, 239, 0.7);
  border-radius: 8px;
  padding: 0.6rem 0.75rem;
}
.spec span {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute);
}

.product-sample-note {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--mute);
  font-size: 0.68rem;
}
.spec strong { font-size: 0.88rem; }

.sheet-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-deep);
  margin-bottom: 1rem;
}

.sheet-actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

/* ─── Loader ─── */
.loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: var(--bg);
  color: var(--mute);
  font-size: 0.9rem;
}

.loader-spin {
  width: 28px;
  height: 28px;
  border: 2px solid var(--line);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.empty {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--mute);
  font-size: 0.9rem;
}

/* ─── Desktop ─── */
@media (min-width: 768px) {
  .trust-pillars { grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
  .app[data-tab="home"] .app-main,
  .app-main { padding-left: 1.5rem; padding-right: 1.5rem; }

  .hero {
    min-height: calc(100svh - var(--tab-h));
    border-radius: 0 0 24px 24px;
    overflow: hidden;
  }

  .hero-copy { padding: 2.5rem 1.5rem 2.25rem; }

  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem 1rem; }
  .product-scroll .product-card,
  .product-scroll .product-li { flex-basis: 200px; width: 200px; }

  .sheet { align-items: center; padding: 1rem; }
  .sheet-panel {
    border-radius: var(--radius-lg);
    max-height: 85vh;
  }
}

@media (min-width: 1024px) {
  .product-grid { grid-template-columns: repeat(4, 1fr); }
  .app[data-tab="home"] .section-block,
  .app[data-tab="home"] .collect,
  .app[data-tab="home"] .trust-line,
  .app[data-tab="home"] .trust-pillars,
  .app-main { max-width: 960px; }
}
