:root {
  --bg: #f4ead0;
  --bg-2: #ede0b8;
  --bg-3: #e3d09a;
  --paper: #fbf6e4;
  --ink: #0c3d28;
  --ink-2: #07271a;
  --ink-3: #14523a;
  --copper: #b8763e;
  --amber: #d4892e;
  --rose: #b94d3a;
  --pistachio: #7fa055;

  --line: rgba(12, 61, 40, 0.14);
  --line-strong: rgba(12, 61, 40, 0.28);

  --serif: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --sans: "Inter Tight", "Outfit", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--ink); font-family: var(--sans); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
body { font-size: 16px; line-height: 1.55; font-weight: 400; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--ink); color: var(--bg); }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.015em; line-height: 1.02; text-wrap: balance; }
h1 { font-size: clamp(48px, 7vw, 120px); }
h2 { font-size: clamp(40px, 5.5vw, 84px); }
h3 { font-size: clamp(28px, 3.4vw, 48px); }

section { position: relative; padding: clamp(72px, 11vh, 140px) clamp(20px, 5vw, 80px); }
.wrap { max-width: 1440px; margin: 0 auto; }
.eyebrow { font-size: 13px; letter-spacing: 0.04em; font-weight: 500; color: var(--ink-3); display: inline-flex; align-items: center; gap: 8px; }
.eyebrow::before { content: ""; width: 18px; height: 1.5px; background: currentColor; }

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 56px);
  transition: background 0.35s, border-color 0.35s, backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(244,234,208,0.85); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.nav-mark { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.nav-mark .seal { width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 18px; }
.nav-mark .seal-img { width: 44px; height: 44px; border-radius: 50%; object-fit: contain; display: block; }
.nav.scrolled .nav-mark .seal-img { width: 40px; height: 40px; transition: width 0.25s, height 0.25s; }
.nav-links { display: flex; gap: 28px; font-size: 14px; font-weight: 500; }
.nav-links a { color: var(--ink); opacity: 0.75; transition: opacity 0.25s; }
.nav-links a:hover { opacity: 1; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px;
  background: var(--ink); color: var(--bg);
  border-radius: 999px;
  font-size: 13px; font-weight: 500;
  white-space: nowrap;
  transition: background 0.25s, transform 0.25s;
}
.nav-cta:hover { background: var(--ink-2); transform: translateY(-1px); }
@media (max-width: 880px) { .nav-links { display: none; } }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  padding: 140px clamp(20px, 5vw, 80px) 80px;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(212,137,46,0.16), transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(127,160,85,0.15), transparent 55%),
    var(--bg);
}
.hero-stage {
  position: absolute; inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}
.float-item {
  position: absolute;
  filter: drop-shadow(0 30px 28px rgba(58, 34, 12, 0.22)) drop-shadow(0 6px 10px rgba(58, 34, 12, 0.14));
  will-change: transform;
}
.float-item .bob {
  display: block;
  animation: bob var(--bob, 6s) ease-in-out infinite;
}
.float-item .spin {
  display: block;
  animation: spin var(--spin, 22s) linear infinite;
}
.float-item.ccw .spin { animation-direction: reverse; }
.float-item img { display: block; user-select: none; -webkit-user-drag: none; }
@keyframes bob {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -14px; }
}
@keyframes spin {
  from { rotate: 0deg; }
  to   { rotate: 360deg; }
}
.float-item.cw { animation-direction: normal, normal; }
.float-item.ccw { animation-direction: normal, reverse; }

.hero-content {
  position: relative; z-index: 2;
  max-width: 1440px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr;
  gap: clamp(32px, 6vh, 56px);
  pointer-events: none;
}
.hero-content > * { pointer-events: auto; }
.hero-tagline {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 13px; font-weight: 500; color: var(--ink-3);
  background: rgba(251, 246, 228, 0.92);
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
  position: relative;
  z-index: 3;
}
@media (max-width: 560px) {
  .hero-tagline { font-size: 12px; padding: 7px 12px; white-space: normal; }
}
.hero-tagline .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pistachio); box-shadow: 0 0 0 4px rgba(127,160,85,0.25); }

.hero h1 {
  font-size: clamp(48px, 8vw, 144px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-weight: 500;
  display: block;
  text-wrap: balance;
}
.hero h1 .efso-mark { font-weight: 700; }
.hero h1 .accent { color: var(--copper); font-style: italic; font-weight: 500; }

/* Rotating word */
.rot-wrap {
  display: inline-block;
  position: relative;
  color: var(--copper);
  font-style: italic;
  line-height: inherit;
  vertical-align: baseline;
}
.rot-ghost {
  visibility: hidden;
  display: inline-block;
  white-space: nowrap;
}
.rot-word {
  position: absolute;
  left: 0; top: 0;
  white-space: nowrap;
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.5s ease;
  will-change: transform, opacity;
}
.rot-word.out {
  opacity: 0;
  transform: translateY(-22%) scale(0.94);
  filter: blur(6px);
  pointer-events: none;
}
.rot-word.in {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}
.hero-sub {
  display: grid; grid-template-columns: 1.2fr auto; gap: 48px; align-items: end;
  margin-top: 12px;
}
.hero-sub p {
  max-width: 540px;
  font-size: clamp(17px, 1.4vw, 19px);
  color: rgba(12, 61, 40, 0.78);
  line-height: 1.5;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 760px) { .hero-sub { grid-template-columns: 1fr; } }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 24px;
  border-radius: 999px;
  font-size: 14px; font-weight: 500;
  transition: transform 0.25s, background 0.25s, color 0.25s, border-color 0.25s;
}
.btn svg { width: 14px; height: 14px; }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--ink-2); transform: translateY(-2px); }
.btn-secondary { background: var(--paper); color: var(--ink); border: 1px solid var(--line-strong); }
.btn-secondary:hover { background: var(--bg-2); transform: translateY(-2px); }

/* hero strip with trust signals */
.hero-strip {
  margin-top: clamp(60px, 8vh, 100px);
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  position: relative; z-index: 2;
}
@media (max-width: 760px) { .hero-strip { grid-template-columns: 1fr 1fr; } }
.hero-strip > div { display: flex; flex-direction: column; gap: 4px; }
.hero-strip b { font-family: var(--serif); font-size: clamp(28px, 3.2vw, 44px); font-weight: 500; color: var(--ink); }
.hero-strip span { font-size: 13px; color: var(--ink-3); opacity: 0.85; }

/* ===== MARQUEE ===== */
.marquee {
  background: var(--ink);
  color: var(--bg);
  padding: 22px 0;
  overflow: hidden;
  border-top: 1px solid rgba(0,0,0,0.1);
}
.marquee-track {
  display: flex; gap: 56px;
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 400;
  white-space: nowrap;
  animation: marq 36s linear infinite;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 48px; }
.marquee-track .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--amber); }
@keyframes marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== SECTION HEAD ===== */
.sec-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: end; margin-bottom: clamp(40px, 6vh, 72px); }
.sec-head h2 .accent { color: var(--copper); font-style: italic; font-weight: 500; }
.sec-head .sub { max-width: 460px; color: rgba(12, 61, 40, 0.7); font-size: 17px; line-height: 1.5; }
@media (max-width: 880px) { .sec-head { grid-template-columns: 1fr; gap: 24px; } }

/* ===== CATEGORIES ===== */
.cats { background: var(--bg); }
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
@media (max-width: 1180px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .cat-grid { grid-template-columns: 1fr 1fr; } }

.cat {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 20px 20px;
  display: flex; flex-direction: column;
  aspect-ratio: 3 / 4;
  position: relative; overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s, border-color 0.35s;
  cursor: pointer;
  text-align: left;
}
.cat:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(12, 61, 40, 0.35); border-color: var(--line-strong); }
.cat .cat-icon {
  margin: 8px auto 16px;
  display: grid; place-items: center;
  flex: 1;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  filter: drop-shadow(0 16px 18px rgba(58, 34, 12, 0.18));
}
.cat:hover .cat-icon { transform: scale(1.08) rotate(-4deg); }
.cat .cat-icon img { width: 80%; height: auto; }
.cat h4 { font-family: var(--serif); font-size: clamp(20px, 1.8vw, 26px); font-weight: 500; margin-bottom: 4px; }
.cat .count { font-size: 12px; color: var(--ink-3); opacity: 0.7; }
.cat .arr { position: absolute; bottom: 16px; right: 16px; width: 28px; height: 28px; border-radius: 50%; background: var(--bg-2); display: grid; place-items: center; transition: background 0.25s, color 0.25s; }
.cat:hover .arr { background: var(--ink); color: var(--bg); }
.cat-pistachio { background: linear-gradient(160deg, #e8f0d4 0%, var(--paper) 70%); }
.cat-lokum { background: linear-gradient(160deg, #f7dde0 0%, var(--paper) 70%); }
.cat-kahve { background: linear-gradient(160deg, #ead0b8 0%, var(--paper) 70%); }
.cat-seker { background: linear-gradient(160deg, #f6e6b0 0%, var(--paper) 70%); }
.cat-choco { background: linear-gradient(160deg, #d8c4a8 0%, var(--paper) 70%); }

/* ===== VALUE PROPS BAND ===== */
.values { background: var(--ink); color: var(--bg); }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
@media (max-width: 880px) { .values-grid { grid-template-columns: 1fr 1fr; } }
.value {
  border-top: 1px solid rgba(244,234,208,0.18);
  padding-top: 20px;
}
.value .num { font-family: var(--serif); font-size: 14px; opacity: 0.6; margin-bottom: 8px; }
.value h4 { font-size: 24px; font-family: var(--serif); font-weight: 500; margin-bottom: 10px; }
.value p { font-size: 15px; line-height: 1.55; opacity: 0.78; max-width: 280px; }
.values .lead {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-bottom: 56px;
  align-items: end;
}
.values .lead h2 { font-size: clamp(40px, 5vw, 76px); }
.values .lead h2 .accent { color: var(--amber); font-style: italic; font-weight: 500; }
.values .lead p { max-width: 460px; opacity: 0.82; font-size: 17px; }
@media (max-width: 880px) { .values .lead { grid-template-columns: 1fr; gap: 24px; } }

/* ===== PRODUCTS GRID ===== */
.products { background: var(--bg); }
.prod-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.prod-tab {
  padding: 10px 18px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line);
  font-size: 13px; font-weight: 500; color: var(--ink);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.prod-tab:hover { border-color: var(--line-strong); }
.prod-tab.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1100px) { .prod-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .prod-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .prod-grid { grid-template-columns: 1fr; } }

.prod {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}
.prod:hover { transform: translateY(-4px); box-shadow: 0 24px 36px -22px rgba(12,61,40,0.3); }
.prod .img-box {
  aspect-ratio: 1;
  background: var(--bg-2);
  border-radius: 10px;
  display: grid; place-items: center;
  position: relative;
  overflow: hidden;
}
.prod .img-box .svg-wrap {
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  filter: drop-shadow(0 14px 16px rgba(58, 34, 12, 0.18));
}
.prod:hover .img-box .svg-wrap { transform: scale(1.12) rotate(-6deg); }
.prod .img-box .svg-wrap img { width: 70%; height: auto; }
.prod .badge {
  position: absolute; top: 10px; left: 10px;
  font-size: 10px; font-weight: 600; letter-spacing: 0.04em;
  padding: 4px 8px; border-radius: 99px;
  background: var(--amber); color: var(--ink-2);
}
.prod .badge.green { background: var(--pistachio); color: var(--ink-2); }
.prod .badge.red { background: var(--rose); color: var(--paper); }
.prod h5 { font-family: var(--serif); font-size: 20px; font-weight: 500; line-height: 1.2; }
.prod .meta { font-size: 12px; color: var(--ink-3); opacity: 0.7; margin-top: 2px; }
.prod .foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.prod .price { font-family: var(--serif); font-size: 22px; font-weight: 500; color: var(--ink); }
.prod .price small { font-size: 12px; opacity: 0.6; font-weight: 400; }
.prod .add { width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; transition: background 0.25s, transform 0.25s; }
.prod .add:hover { background: var(--ink-2); transform: scale(1.08); }
.prod .add svg { width: 14px; height: 14px; }

/* ===== PROCESS ===== */
.process { background: var(--paper); color: var(--ink); }
.proc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 980px) { .proc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .proc-grid { grid-template-columns: 1fr; } }
.proc { padding-top: 24px; border-top: 1px solid var(--line); }
.proc .icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--bg-2); display: grid; place-items: center;
  margin-bottom: 18px;
}
.proc .icon svg { width: 24px; height: 24px; stroke: var(--ink); }
.proc h4 { font-family: var(--serif); font-size: 24px; font-weight: 500; margin-bottom: 8px; }
.proc p { font-size: 15px; line-height: 1.55; color: rgba(12,61,40,0.7); max-width: 240px; }

/* ===== VISIT ===== */
.visit { background: var(--ink); color: var(--bg); }
.visit .sec-head h2 .accent { color: var(--amber); }
.visit .sec-head .sub { color: rgba(244,234,208,0.7); }
.visit-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: stretch; }
@media (max-width: 980px) { .visit-grid { grid-template-columns: 1fr; } }
.visit-map {
  aspect-ratio: 4 / 3.4;
  position: relative; overflow: hidden;
  border-radius: 14px;
  background: var(--ink-2);
  border: 1px solid rgba(244,234,208,0.12);
}
.visit-map iframe { width: 100%; height: 100%; display: block; border: none; filter: saturate(0.7) contrast(1.05) brightness(0.92); }
.visit-map .map-open-link {
  position: absolute; right: 14px; bottom: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  background: var(--bg); color: var(--ink);
  border-radius: 999px;
  font-size: 13px; font-weight: 500;
  box-shadow: 0 10px 24px rgba(0,0,0,0.28);
  transition: transform 0.25s, background 0.25s;
}
.visit-map .map-open-link:hover { background: var(--paper); transform: translateY(-2px); }
.visit-map .map-open-link svg { width: 11px; height: 11px; }
.visit-info { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.visit-info .addr { font-family: var(--serif); font-size: clamp(28px, 3.2vw, 40px); font-weight: 500; line-height: 1.15; }
.visit-info .addr-sub { color: rgba(244,234,208,0.7); margin-top: 12px; font-size: 16px; }
.visit-info dl { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 36px; }
.visit-info dl > div { border-top: 1px solid rgba(244,234,208,0.18); padding-top: 12px; }
.visit-info dt { font-size: 12px; color: rgba(244,234,208,0.55); margin-bottom: 4px; letter-spacing: 0.02em; }
.visit-info dd { font-family: var(--serif); font-size: 19px; font-weight: 500; }
.visit-info .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-light { background: var(--bg); color: var(--ink); }
.btn-light:hover { background: var(--paper); transform: translateY(-2px); }
.btn-amber { background: var(--amber); color: var(--ink-2); }
.btn-amber:hover { background: #c47820; transform: translateY(-2px); }

/* ===== FOOTER ===== */
footer { background: var(--bg-2); padding: 64px clamp(20px, 5vw, 80px) 32px; border-top: 1px solid var(--line); }
.foot { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
@media (max-width: 880px) { .foot { grid-template-columns: 1fr 1fr; } }
.foot .brand { display: flex; flex-direction: column; gap: 18px; }
.foot .brand .foot-logo { width: 120px; height: 120px; object-fit: contain; }
.foot .brand .big { font-family: var(--serif); font-size: 44px; font-weight: 500; line-height: 0.95; margin-bottom: 14px; }
.foot .brand .big .it { font-style: italic; color: var(--copper); }
.foot .brand p { font-size: 14px; color: var(--ink-3); max-width: 280px; }
.foot h5 { font-size: 12px; letter-spacing: 0.04em; font-weight: 600; color: var(--ink-3); text-transform: uppercase; margin-bottom: 14px; }
.foot ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.foot ul a { font-size: 15px; color: var(--ink); opacity: 0.85; }
.foot ul a:hover { color: var(--copper); }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding-top: 22px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-3); flex-wrap: wrap; }

/* ===== LOADER ===== */
.loader { position: fixed; inset: 0; z-index: 200; background: var(--bg); display: grid; place-items: center; transition: opacity 0.6s ease 0.1s, visibility 0.6s ease 0.1s; }
.loader.hide { opacity: 0; visibility: hidden; }
.loader .logo-spin { width: 64px; height: 64px; border-radius: 50%; border: 1.5px solid var(--line-strong); border-top-color: var(--ink); animation: rot 1.2s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }
.loader .label { position: absolute; bottom: 36px; font-size: 12px; letter-spacing: 0.04em; color: var(--ink-3); }

/* ============================================
   COLLECTION PAGE
   ============================================ */
.page-head {
  position: relative;
  padding: 140px clamp(20px, 5vw, 80px) 48px;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(212,137,46,0.12), transparent 55%),
    radial-gradient(ellipse at 20% 90%, rgba(127,160,85,0.12), transparent 55%),
    var(--bg);
  overflow: hidden;
}
.page-head .hero-stage { z-index: 0; opacity: 0.55; }
.page-head-wrap { position: relative; z-index: 2; max-width: 1440px; margin: 0 auto; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--ink-3); margin-bottom: 18px; }
.breadcrumb a { color: var(--ink-3); opacity: 0.75; }
.breadcrumb a:hover { color: var(--ink); opacity: 1; }
.breadcrumb .sep { opacity: 0.4; }
.page-head h1 {
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 900px;
}
.page-head h1 .accent { color: var(--copper); font-style: italic; font-weight: 500; }
.page-head .lead {
  margin-top: 18px;
  font-size: clamp(16px, 1.4vw, 19px);
  color: rgba(12,61,40,0.78);
  max-width: 580px;
  line-height: 1.5;
}
.page-head .stats {
  margin-top: 32px;
  display: flex; gap: 36px; flex-wrap: wrap;
  font-size: 13px; color: var(--ink-3);
}
.page-head .stats b { font-family: var(--serif); font-size: 26px; color: var(--ink); display: block; font-weight: 500; }

/* Category pills */
.cat-pills {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin: 32px 0 24px;
}
.cat-pill {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 14px; font-weight: 500; color: var(--ink);
  display: inline-flex; align-items: center; gap: 8px;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
}
.cat-pill:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.cat-pill.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.cat-pill .count { font-size: 11px; opacity: 0.6; }
.cat-pill.active .count { opacity: 0.7; }

/* Toolbar (search + sort) */
.toolbar {
  display: flex; gap: 12px; align-items: center;
  padding: 16px 0 24px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.toolbar .results { font-size: 14px; color: var(--ink-3); margin-right: auto; }
.toolbar .results b { color: var(--ink); font-weight: 600; }
.search-input {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  min-width: 240px;
}
.search-input svg { width: 14px; height: 14px; stroke: var(--ink-3); flex-shrink: 0; }
.search-input input { background: none; border: none; outline: none; font: inherit; font-size: 14px; color: var(--ink); width: 100%; }
.search-input input::placeholder { color: var(--ink-3); opacity: 0.6; }
.sort-select {
  padding: 10px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font: inherit; font-size: 14px; color: var(--ink);
  cursor: pointer;
}

/* Collection grid (4 cols) */
.collection-section { padding: 0 clamp(20px, 5vw, 80px) 100px; background: var(--bg); }
.collection-section .wrap { max-width: 1440px; margin: 0 auto; }
.col-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1100px) { .col-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .col-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .col-grid { grid-template-columns: 1fr; } }

/* Reuse .prod styles from main page */
.prod-link { text-decoration: none; color: inherit; display: block; }
.prod .price-row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.prod .old-price { font-size: 14px; color: var(--ink-3); opacity: 0.6; text-decoration: line-through; font-family: var(--serif); }
.prod .sale-price { font-family: var(--serif); font-size: 22px; font-weight: 500; color: var(--rose); }

.empty-state {
  text-align: center; padding: 80px 20px;
  color: var(--ink-3);
}
.empty-state h3 { font-family: var(--serif); font-size: 28px; color: var(--ink); margin-bottom: 8px; }

/* ============================================
   PRODUCT DETAIL PAGE
   ============================================ */
.detail { background: var(--bg); padding: 110px clamp(20px, 5vw, 80px) 80px; }
.detail .wrap { max-width: 1440px; margin: 0 auto; }
.detail .breadcrumb { margin-bottom: 32px; }

.detail-main {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
@media (max-width: 960px) { .detail-main { grid-template-columns: 1fr; } }

/* Gallery */
.gallery-frame {
  background: var(--paper);
  border-radius: 24px;
  border: 1px solid var(--line);
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
  display: grid; place-items: center;
  cursor: grab;
}
.gallery-frame::before, .gallery-frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
}
.gallery-frame::before {
  background: radial-gradient(ellipse at 30% 30%, rgba(255,255,255,0.5), transparent 50%);
}
.gallery-frame::after {
  background: radial-gradient(ellipse at 70% 90%, rgba(212,137,46,0.12), transparent 60%);
}
.gallery-main {
  position: relative;
  width: 75%; height: 75%;
  display: grid; place-items: center;
  perspective: 1200px;
  z-index: 1;
}
.gallery-main img {
  width: 100%; height: 100%; object-fit: contain;
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  animation: detailFloat 6s ease-in-out infinite;
  filter: drop-shadow(0 30px 28px rgba(58,34,12,0.22)) drop-shadow(0 8px 12px rgba(58,34,12,0.14));
}
@keyframes detailFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -14px; }
}
.gallery-badges {
  position: absolute; top: 20px; left: 20px;
  display: flex; flex-direction: column; gap: 8px;
  z-index: 2;
}
.gallery-badges .badge {
  font-size: 11px; font-weight: 600; letter-spacing: 0.04em;
  padding: 6px 12px; border-radius: 99px;
  background: var(--amber); color: var(--ink-2);
  position: static;
}
.gallery-badges .badge.green { background: var(--pistachio); color: var(--ink-2); }
.gallery-badges .badge.red { background: var(--rose); color: var(--paper); }

.gallery-zoom {
  position: absolute; top: 20px; right: 20px;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--bg-2); border: 1px solid var(--line);
  display: grid; place-items: center;
  z-index: 2;
}
.gallery-zoom svg { width: 14px; height: 14px; stroke: var(--ink); }

.thumb-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 10px; margin-top: 14px;
}
.thumb {
  aspect-ratio: 1; border-radius: 12px;
  background: var(--paper); border: 1px solid var(--line);
  display: grid; place-items: center; padding: 14%;
  cursor: pointer;
  transition: border-color 0.25s, transform 0.25s;
}
.thumb.active { border-color: var(--ink); border-width: 2px; }
.thumb:hover { transform: translateY(-2px); }
.thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* Info column */
.detail-info { display: flex; flex-direction: column; gap: 22px; }
.detail-info .cat-name { font-size: 13px; font-weight: 500; color: var(--copper); letter-spacing: 0.02em; }
.detail-info h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 4.6vw, 64px);
  line-height: 0.96;
  letter-spacing: -0.018em;
  font-weight: 500;
}
.detail-info .tagline { font-size: 18px; color: var(--ink-3); line-height: 1.4; max-width: 480px; }
.detail-info .rating { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--ink-3); }
.detail-info .rating .stars { display: inline-flex; gap: 2px; color: var(--amber); }
.detail-info .rating b { color: var(--ink); font-weight: 600; }

.short-desc { font-size: 16px; line-height: 1.55; color: rgba(12,61,40,0.78); max-width: 520px; }

.detail-section { padding-top: 18px; border-top: 1px solid var(--line); }
.detail-section .label { font-size: 12px; font-weight: 600; color: var(--ink-3); margin-bottom: 12px; letter-spacing: 0.04em; text-transform: uppercase; }

.variants { display: flex; gap: 8px; flex-wrap: wrap; }
.variant {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 14px;
  padding: 12px 16px;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s, transform 0.2s;
  display: flex; flex-direction: column; gap: 4px;
  min-width: 110px;
  position: relative;
}
.variant:hover { border-color: var(--line-strong); }
.variant.active { border-color: var(--ink); border-width: 2px; padding: 11px 15px; background: var(--bg); }
.variant .v-weight { font-family: var(--serif); font-size: 20px; font-weight: 500; color: var(--ink); }
.variant .v-price { font-size: 14px; color: var(--ink-3); }
.variant .v-sale { color: var(--rose); font-weight: 600; }
.variant .v-old { text-decoration: line-through; opacity: 0.55; margin-left: 6px; font-size: 12px; }
.variant .v-tag {
  position: absolute; top: -8px; right: 12px;
  font-size: 10px; font-weight: 600;
  padding: 2px 6px; border-radius: 99px;
  background: var(--rose); color: var(--paper);
}

.price-block {
  display: flex; align-items: baseline; gap: 14px;
  margin: 4px 0 4px;
}
.price-block .now {
  font-family: var(--serif);
  font-size: clamp(32px, 3.4vw, 44px);
  font-weight: 500; color: var(--ink); line-height: 1;
}
.price-block .now.sale { color: var(--rose); }
.price-block .was {
  font-family: var(--serif);
  font-size: 22px;
  text-decoration: line-through;
  color: var(--ink-3); opacity: 0.55;
}
.price-block .save {
  font-size: 12px; font-weight: 600;
  padding: 4px 10px; border-radius: 99px;
  background: var(--rose); color: var(--paper);
}

.buy-row { display: flex; gap: 10px; align-items: stretch; flex-wrap: wrap; }
.qty {
  display: flex; align-items: stretch;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  border-radius: 999px;
  overflow: hidden;
}
.qty button {
  width: 44px;
  display: grid; place-items: center;
  color: var(--ink); font-size: 18px;
  transition: background 0.2s;
}
.qty button:hover { background: var(--bg-2); }
.qty input {
  width: 50px; text-align: center;
  background: none; border: none; outline: none;
  font: inherit; font-size: 15px; font-weight: 600; color: var(--ink);
}
.btn-cart {
  flex: 1; min-width: 200px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 0 28px; min-height: 54px;
  background: var(--ink); color: var(--bg);
  border-radius: 999px;
  font-size: 15px; font-weight: 500;
  transition: background 0.25s, transform 0.25s;
}
.btn-cart:hover { background: var(--ink-2); transform: translateY(-2px); }
.btn-cart svg { width: 16px; height: 16px; }
.btn-whatsapp {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 0 22px; min-height: 54px;
  background: #25D366; color: #062b13;
  border-radius: 999px;
  font-size: 14px; font-weight: 600;
  transition: background 0.25s, transform 0.25s;
}
.btn-whatsapp:hover { background: #1ebe5d; transform: translateY(-2px); }
.btn-whatsapp svg { width: 16px; height: 16px; }

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 10px;
}
.trust-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: var(--ink-3);
  line-height: 1.4;
}
.trust-item svg { flex-shrink: 0; width: 18px; height: 18px; stroke: var(--ink); margin-top: 2px; }
.trust-item b { color: var(--ink); display: block; font-weight: 600; font-size: 13px; }

/* Detail tabs */
.detail-tabs {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}
.tab-headers { display: flex; gap: 28px; border-bottom: 1px solid var(--line); flex-wrap: wrap; margin-bottom: 32px; }
.tab-header {
  padding: 14px 0;
  font-size: 15px; font-weight: 500; color: var(--ink-3);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.25s, border-color 0.25s;
}
.tab-header.active { color: var(--ink); border-color: var(--ink); }
.tab-header:hover { color: var(--ink); }

.tab-body { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; }
@media (max-width: 880px) { .tab-body { grid-template-columns: 1fr; } }
.tab-body p { font-size: 16px; line-height: 1.65; color: rgba(12,61,40,0.78); margin-bottom: 16px; max-width: 640px; }
.tab-body p:last-child { margin-bottom: 0; }
.tab-side {
  background: var(--paper);
  border-radius: 18px;
  padding: 24px;
  border: 1px solid var(--line);
}
.tab-side h5 { font-family: var(--serif); font-size: 20px; font-weight: 500; margin-bottom: 16px; }
.tab-side dl { display: grid; grid-template-columns: 1fr; gap: 14px; }
.tab-side dl > div { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.tab-side dl > div:last-child { border-bottom: none; padding-bottom: 0; }
.tab-side dt { font-size: 12px; color: var(--ink-3); margin-bottom: 4px; }
.tab-side dd { font-size: 14px; color: var(--ink); line-height: 1.5; }

/* Related products */
.related { padding: 80px clamp(20px, 5vw, 80px); background: var(--paper); }
.related .wrap { max-width: 1440px; margin: 0 auto; }
.related h2 { font-size: clamp(36px, 4vw, 56px); margin-bottom: 32px; }
.related h2 .accent { color: var(--copper); font-style: italic; font-weight: 500; }

