/* ============================================================
   Livada lu' Gavril — propunere site + magazin online
   ============================================================ */

:root {
  --cream: #fbf6ec;
  --cream-2: #f4ecdc;
  --paper: #ffffff;
  --ink: #2b1d16;
  --ink-2: #4a3a30;
  --muted: #7a6a5e;
  --line: #e6dccb;
  --apple: #c8342a;
  --apple-dark: #9f241c;
  --leaf: #5d8c36;
  --leaf-dark: #456b25;
  --aronia: #4e1631;
  --aronia-2: #6d2246;
  --juice: #e8b04f;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(43, 29, 22, .06), 0 8px 28px rgba(43, 29, 22, .08);
  --shadow-lg: 0 20px 60px rgba(43, 29, 22, .18);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --hand: "Caveat", "Segoe Print", cursive;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--juice); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 .5em;
  font-variation-settings: "SOFT" 50, "opsz" 72;
}
h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.kicker {
  font-family: var(--hand);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--apple);
  display: inline-block;
  margin-bottom: .35em;
  transform: rotate(-2deg);
}
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 56ch; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .9em 1.5em;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 700; font-size: .98rem; letter-spacing: .01em;
  text-decoration: none;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, color .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--apple); color: #fff; box-shadow: 0 6px 18px rgba(200, 52, 42, .3); }
.btn-primary:hover { background: var(--apple-dark); }
.btn-ghost { border-color: currentColor; background: transparent; }
.btn-ghost:hover { background: rgba(43, 29, 22, .06); }
.btn-light { background: #fff; color: var(--aronia); }
.btn-light:hover { background: var(--cream); }
.btn-block { width: 100%; }
.btn svg { width: 1.15em; height: 1.15em; }

/* ---------- Top strip + header ---------- */
.topstrip {
  background: var(--aronia);
  color: #f6e7ee;
  font-size: .85rem;
  text-align: center;
  padding: .5em var(--gutter);
}
.topstrip a { color: #fff; font-weight: 700; text-decoration: none; }
.topstrip .sep { opacity: .5; margin: 0 .6em; }
@media (max-width: 640px) { .topstrip .hide-sm { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 246, 236, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(43, 29, 22, .05); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand img { height: 50px; width: auto; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  text-decoration: none; font-weight: 600; font-size: .95rem;
  padding: .5em .9em; border-radius: 999px; color: var(--ink-2);
  transition: background .2s, color .2s;
}
.nav a:hover { background: var(--cream-2); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--apple); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.cart-btn {
  position: relative;
  display: inline-flex; align-items: center; gap: .5em;
  background: var(--ink); color: #fff;
  border: 0; border-radius: 999px;
  padding: .6em 1.1em; font-weight: 700; font-size: .92rem;
}
.cart-btn svg { width: 20px; height: 20px; }
.cart-count {
  min-width: 22px; height: 22px; padding: 0 6px;
  display: inline-grid; place-items: center;
  background: var(--apple); color: #fff;
  border-radius: 999px; font-size: .78rem;
}
.cart-count.bump { animation: bump .4s ease; }
@keyframes bump { 40% { transform: scale(1.35); } }
.menu-btn { display: none; background: none; border: 0; padding: 8px; }
.menu-btn svg { width: 28px; height: 28px; }

@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .25s ease, transform .25s ease, visibility 0s .25s;
    box-shadow: var(--shadow);
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s ease, transform .25s ease; }
  .nav a { padding: .9em .4em; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .cart-btn .label { display: none; }
  .brand img { height: 42px; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(36px, 6vw, 80px) 0 clamp(56px, 8vw, 100px); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero h1 em { font-style: italic; color: var(--apple); font-weight: 500; }
.hero .lead { margin-bottom: 1.6em; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.rating-chip {
  display: inline-flex; align-items: center; gap: .6em;
  background: var(--paper); border: 1px solid var(--line);
  padding: .5em 1em .5em .6em; border-radius: 999px;
  font-size: .9rem; color: var(--ink-2); text-decoration: none;
}
.rating-chip .g { width: 28px; height: 28px; border-radius: 50%; background: var(--cream-2); display: grid; place-items: center; font-weight: 800; color: var(--apple); }
.stars { color: #e3a325; letter-spacing: 1px; }
.hero-media { position: relative; aspect-ratio: 1 / 1.05; }
.hero-media .main {
  position: absolute; inset: 0 12% 8% 0;
  border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg);
}
.hero-media .main img { width: 100%; height: 100%; object-fit: cover; }
.hero-media .float {
  position: absolute; right: 0; bottom: 0; width: 44%; aspect-ratio: 3 / 4;
  border-radius: 22px; overflow: hidden; border: 6px solid var(--cream);
  box-shadow: var(--shadow-lg);
  transform: rotate(3deg);
}
.hero-media .float img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; left: -14px; bottom: 14%;
  width: 124px; height: 124px; border-radius: 50%;
  background: var(--leaf); color: #fff;
  display: grid; place-items: center; text-align: center;
  font-family: var(--serif); font-weight: 600; line-height: 1.05;
  box-shadow: var(--shadow-lg);
  transform: rotate(-10deg);
}
.hero-badge b { display: block; font-size: 2.1rem; }
.hero-badge span { font-size: .82rem; font-family: var(--sans); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.leaf-deco { position: absolute; pointer-events: none; opacity: .14; color: var(--leaf); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 520px; width: 100%; margin: 0 auto; }
  .hero-badge { width: 100px; height: 100px; left: 0; }
  .hero-badge b { font-size: 1.7rem; }
}

/* ---------- Promise strip ---------- */
.promise { background: var(--paper); border-block: 1px solid var(--line); }
.promise-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.promise-item { display: flex; gap: 14px; align-items: center; padding: 26px 20px; border-left: 1px solid var(--line); }
.promise-item:first-child { border-left: 0; }
.promise-item .ico { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--cream); color: var(--apple); }
.promise-item .ico svg { width: 26px; height: 26px; }
.promise-item b { display: block; font-size: 1rem; }
.promise-item small { color: var(--muted); font-size: .85rem; }
@media (max-width: 900px) {
  .promise-grid { grid-template-columns: 1fr 1fr; }
  .promise-item:nth-child(3) { border-left: 0; }
  .promise-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .promise-item { padding: 18px 10px; gap: 10px; flex-direction: column; align-items: flex-start; }
}

/* ---------- Section head ---------- */
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head .lead { margin: .6em 0 0; }
.link-arrow { font-weight: 700; color: var(--apple); text-decoration: none; display: inline-flex; gap: .4em; align-items: center; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Product cards ---------- */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.card {
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
  position: relative;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--cream-2); position: relative; display: block; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card-media img { transform: scale(1.05); }
.card-tags { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.tag {
  font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: .35em .75em; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--ink);
}
.tag.bib { background: var(--leaf); color: #fff; }
.tag.aronia { background: var(--aronia); color: #fff; }
.tag.promo { background: var(--juice); color: var(--ink); }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin: 0 0 .15em; font-size: 1.3rem; }
.card-body h3 a { text-decoration: none; }
.card-format { color: var(--muted); font-size: .9rem; font-weight: 600; margin-bottom: .8em; }
.card-desc { color: var(--ink-2); font-size: .93rem; margin-bottom: 1.1em; flex: 1; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; line-height: 1; }
.price small { font-family: var(--sans); font-size: .8rem; font-weight: 600; color: var(--muted); display: block; margin-top: 4px; }
.add-btn {
  width: 48px; height: 48px; border-radius: 50%;
  border: 0; background: var(--apple); color: #fff;
  display: grid; place-items: center; flex: none;
  transition: background .2s, transform .15s;
}
.add-btn:hover { background: var(--apple-dark); transform: scale(1.06); }
.add-btn svg { width: 22px; height: 22px; }
.add-btn.added { background: var(--leaf); }

/* ---------- Promo band (dulceață) ---------- */
.promo-band {
  margin-top: 28px;
  display: grid; grid-template-columns: 260px 1fr; align-items: center; gap: clamp(20px, 4vw, 48px);
  background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden; border: 2px dashed var(--juice);
}
.promo-media { display: block; aspect-ratio: 4 / 5; background: #f7f6f4; }
.promo-media img { width: 100%; height: 100%; object-fit: cover; }
.promo-body { padding: 24px 28px 24px 0; }
.promo-body .tag { display: inline-block; margin-bottom: 12px; }
.promo-body h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: .35em; }
.promo-body p { color: var(--ink-2); max-width: 52ch; }
.promo-foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 8px; }
@media (max-width: 640px) {
  .promo-band { grid-template-columns: 1fr; }
  .promo-media { aspect-ratio: 16 / 11; }
  .promo-media img { object-fit: contain; }
  .promo-body { padding: 0 20px 22px; }
}

/* ---------- Formats ---------- */
.formats { background: var(--cream-2); }
.formats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.format {
  background: var(--paper); border-radius: 24px; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1.1fr; min-height: 380px;
}
.format-media img { width: 100%; height: 100%; object-fit: cover; }
.format-body { padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; }
.format-body h3 { font-size: 1.7rem; }
.format-body ul { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: .55em; }
.format-body li { display: flex; gap: .6em; align-items: flex-start; font-size: .95rem; color: var(--ink-2); }
.format-body li svg { flex: none; width: 20px; height: 20px; color: var(--leaf); margin-top: 2px; }
.format-body .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 1000px) { .formats-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .format { grid-template-columns: 1fr; }
  .format-media { aspect-ratio: 16 / 10; }
}

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: 1fr 340px; gap: clamp(28px, 5vw, 64px); align-items: start; }
.steps { display: grid; gap: 18px; counter-reset: step; }
.step {
  display: grid; grid-template-columns: 150px 1fr; gap: 22px; align-items: center;
  background: var(--paper); border-radius: var(--radius); padding: 14px;
  box-shadow: var(--shadow);
}
.step img { width: 150px; height: 120px; object-fit: cover; border-radius: 12px; }
.step h3 { margin: 0 0 .25em; display: flex; align-items: baseline; gap: .5em; }
.step h3::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--hand); font-size: 1.6rem; color: var(--apple); font-weight: 700;
}
.step p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.video-card {
  position: sticky; top: 100px;
  border-radius: 26px; overflow: hidden; background: #000;
  box-shadow: var(--shadow-lg); aspect-ratio: 9 / 16;
}
.video-card video { width: 100%; height: 100%; object-fit: cover; }
.video-card .cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 50px 20px 18px; color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, .7));
  font-weight: 600; font-size: .95rem;
}
@media (max-width: 900px) {
  .process-grid { grid-template-columns: 1fr; }
  .video-card { position: relative; top: 0; max-width: 340px; margin: 0 auto; width: 100%; }
}
@media (max-width: 520px) {
  .step { grid-template-columns: 1fr; }
  .step img { width: 100%; height: 170px; }
}

/* ---------- About / team ---------- */
.about { background: var(--cream-2); }
.about-grid { display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: clamp(28px, 6vw, 88px); align-items: center; }
.about-media { margin: 0; position: relative; }
.about-media img { width: 100%; height: auto; border-radius: 26px; box-shadow: var(--shadow-lg); }
.about-media figcaption {
  position: absolute; left: 50%; bottom: -16px; transform: translateX(-50%);
  background: var(--paper); border-radius: 999px; padding: .5em 1.1em;
  font-size: .85rem; font-weight: 700; white-space: nowrap; box-shadow: var(--shadow);
}
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.about-stats div { background: var(--paper); border-radius: 16px; padding: 18px 16px; }
.about-stats b { display: block; font-family: var(--serif); font-size: 1.8rem; font-weight: 600; line-height: 1.1; color: var(--apple); }
.about-stats span { font-size: .85rem; color: var(--muted); font-weight: 600; }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 420px; margin: 0 auto 12px; }
}
@media (max-width: 420px) { .about-stats b { font-size: 1.4rem; } .about-stats div { padding: 14px 10px; } }

/* ---------- Service band ---------- */
.service { background: var(--aronia); color: #f8eaf0; position: relative; overflow: hidden; }
.service h2 { color: #fff; }
.service .kicker { color: var(--juice); }
.service .lead { color: #ecd3de; }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.service-media { border-radius: 26px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.service-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 28px 0 32px; }
.service-steps div { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px; padding: 16px; }
.service-steps b { display: block; font-family: var(--serif); font-size: 1.15rem; color: #fff; margin-bottom: .2em; }
.service-steps span { font-size: .87rem; color: #e3c8d4; }
.service .btn-ghost { color: #fff; }
.service-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 860px) {
  .service-grid { grid-template-columns: 1fr; }
  .service-steps { grid-template-columns: 1fr; }
}

/* ---------- Gallery ---------- */
.gallery {
  display: grid; gap: 14px;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(150px, 17vw, 230px);
  grid-template-areas:
    "a b b c"
    "a d e c"
    "f g e h";
}
.gallery figure { margin: 0; border-radius: 16px; overflow: hidden; }
.gallery figure:nth-child(1) { grid-area: a; }
.gallery figure:nth-child(2) { grid-area: b; }
.gallery figure:nth-child(3) { grid-area: c; }
.gallery figure:nth-child(4) { grid-area: d; }
.gallery figure:nth-child(5) { grid-area: e; }
.gallery figure:nth-child(6) { grid-area: f; }
.gallery figure:nth-child(7) { grid-area: g; }
.gallery figure:nth-child(8) { grid-area: h; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
@media (max-width: 700px) {
  .gallery {
    grid-template-columns: 1fr 1fr; grid-auto-rows: 160px;
    grid-template-areas: "a b" "a c" "d c" "e f" "e g" "h h";
  }
}
.gallery figure:hover img { transform: scale(1.04); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; }
.contact-card { background: var(--paper); border-radius: 24px; padding: clamp(24px, 3.5vw, 40px); box-shadow: var(--shadow); }
.contact-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; }
.contact-list .ico { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--cream); color: var(--apple); display: grid; place-items: center; }
.contact-list .ico svg { width: 22px; height: 22px; }
.contact-list small { display: block; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.contact-list a { text-decoration: none; font-weight: 700; }
.hours { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours td { padding: .35em 0; border-bottom: 1px dashed var(--line); }
.hours td:last-child { text-align: right; font-weight: 700; }
.map { border-radius: 24px; overflow: hidden; min-height: 380px; box-shadow: var(--shadow); background: var(--cream-2); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #d9cbbf; padding: 64px 0 28px; font-size: .93rem; }
.site-footer a { color: #f3e8de; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-logo { background: var(--cream); border-radius: 16px; padding: 12px 16px; display: inline-block; margin-bottom: 16px; }
.footer-logo img { height: 52px; width: auto; }
.site-footer h4 { font-family: var(--sans); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: #fff; margin-bottom: 1em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5em; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.footer-legal a {
  border: 1px solid rgba(255, 255, 255, .25); border-radius: 8px; padding: .5em .8em;
  font-size: .78rem; font-weight: 700; line-height: 1.2;
}
.footer-bottom {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; color: #a8988b;
}
.footer-bottom { align-items: center; }
.site-footer a.premium-link {
  display: inline-flex; align-items: center; gap: .45em;
  padding: .55em 1.1em; border-radius: 999px;
  border: 1px solid var(--juice); color: var(--juice);
  font-weight: 700; font-size: .85rem; text-decoration: none;
  transition: background .2s, color .2s;
}
.site-footer a.premium-link:hover { background: var(--juice); color: var(--ink); text-decoration: none; }
.socials { display: flex; gap: 10px; margin-top: 14px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .08); display: grid; place-items: center; }
.socials svg { width: 20px; height: 20px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Page header (inner pages) ---------- */
.page-hero { padding: clamp(36px, 6vw, 64px) 0 28px; }
.breadcrumb { font-size: .87rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--apple); }

/* ---------- Shop ---------- */
.shop-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  border: 1.5px solid var(--line); background: var(--paper);
  padding: .55em 1.1em; border-radius: 999px; font-weight: 700; font-size: .9rem;
  transition: all .2s;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.select {
  appearance: none; -webkit-appearance: none;
  border: 1.5px solid var(--line); background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%232b1d16' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat right 14px center;
  padding: .6em 2.4em .6em 1em; border-radius: 999px; font-weight: 600; font-size: .9rem;
}
.shop-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.shop-info div { background: var(--paper); border-radius: var(--radius); padding: 22px; display: flex; gap: 14px; }
.shop-info svg { flex: none; width: 28px; height: 28px; color: var(--leaf); }
.shop-info b { display: block; margin-bottom: .2em; }
.shop-info span { font-size: .9rem; color: var(--ink-2); }
@media (max-width: 800px) { .shop-info { grid-template-columns: 1fr; } }
.empty { text-align: center; padding: 60px 0; color: var(--muted); }

/* ---------- Product page ---------- */
.pdp { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; padding-bottom: 40px; }
.pdp-gallery { position: sticky; top: 100px; }
.pdp-main { aspect-ratio: 4 / 5; border-radius: 26px; overflow: hidden; background: var(--paper); box-shadow: var(--shadow); }
.pdp-main img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.pdp-thumbs button { flex: none; width: 78px; height: 78px; padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; background: none; opacity: .7; }
.pdp-thumbs button[aria-current="true"] { border-color: var(--apple); opacity: 1; }
.pdp-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp h1 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: .2em; }
.pdp-format { color: var(--muted); font-weight: 600; margin-bottom: 1.2em; }
.pdp-price { font-family: var(--serif); font-size: 2.3rem; font-weight: 600; line-height: 1; }
.pdp-unit { color: var(--muted); font-size: .9rem; margin: .4em 0 1.4em; }
.variant-switch { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.variant-switch a {
  text-decoration: none; border: 1.5px solid var(--line); background: var(--paper);
  border-radius: 14px; padding: .7em 1em; font-weight: 700; font-size: .9rem; line-height: 1.25;
}
.variant-switch a small { display: block; font-weight: 600; color: var(--muted); }
.variant-switch a[aria-current="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.buy-row { display: flex; gap: 12px; margin-bottom: 24px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper); }
.qty button { width: 44px; height: 48px; border: 0; background: none; font-size: 1.3rem; font-weight: 700; }
.qty input { width: 40px; text-align: center; border: 0; background: none; font-weight: 700; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty.sm button { width: 34px; height: 36px; font-size: 1.1rem; }
.qty.sm input { width: 30px; font-size: .9rem; }
.buy-row .btn { flex: 1; }
.pdp-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 26px; }
.pdp-highlights div { background: var(--paper); border-radius: 12px; padding: 12px 14px; font-size: .9rem; font-weight: 600; display: flex; gap: 8px; align-items: center; }
.pdp-highlights svg { width: 20px; height: 20px; color: var(--leaf); flex: none; }
details.acc { border-top: 1px solid var(--line); padding: 4px 0; }
details.acc:last-of-type { border-bottom: 1px solid var(--line); }
details.acc summary { cursor: pointer; list-style: none; padding: 14px 0; font-weight: 700; display: flex; justify-content: space-between; }
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--apple); }
details.acc[open] summary::after { content: "–"; }
details.acc p { color: var(--ink-2); font-size: .95rem; }
@media (max-width: 860px) {
  .pdp { grid-template-columns: 1fr; }
  .pdp-gallery { position: relative; top: 0; }
}

/* ---------- Cart drawer ---------- */
.drawer-backdrop {
  position: fixed; inset: 0; background: rgba(30, 18, 12, .45); z-index: 90;
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 100;
  width: min(420px, 100%); background: var(--cream);
  display: flex; flex-direction: column;
  transform: translateX(100%); visibility: hidden;
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), visibility 0s .3s;
  box-shadow: var(--shadow-lg);
}
.drawer-open .drawer { transform: none; visibility: visible; transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.drawer-open .drawer-backdrop { opacity: 1; pointer-events: auto; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { margin: 0; }
.icon-btn { background: none; border: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; }
.icon-btn:hover { background: var(--cream-2); }
.icon-btn svg { width: 22px; height: 22px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 22px; }
.drawer-foot { padding: 18px 22px 22px; border-top: 1px solid var(--line); background: var(--paper); }
.ship-meter { font-size: .87rem; margin-bottom: 14px; color: var(--ink-2); }
.ship-meter .bar { height: 6px; background: var(--cream-2); border-radius: 99px; margin-top: 8px; overflow: hidden; }
.ship-meter .bar i { display: block; height: 100%; background: var(--leaf); border-radius: 99px; transition: width .4s; }
.sum-row { display: flex; justify-content: space-between; margin-bottom: 6px; }
.sum-row.total { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; margin: 10px 0 16px; }

.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.line img { width: 72px; height: 86px; border-radius: 10px; object-fit: cover; }
.line h4 { font-family: var(--sans); font-size: .98rem; margin: 0 0 2px; letter-spacing: 0; }
.line .fmt { font-size: .82rem; color: var(--muted); margin-bottom: 8px; }
.line .right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.line .lp { font-weight: 800; }
.remove { background: none; border: 0; color: var(--muted); font-size: .8rem; text-decoration: underline; padding: 0; }
.remove:hover { color: var(--apple); }
.drawer-empty { text-align: center; padding: 60px 10px; color: var(--muted); }
.drawer-empty svg { width: 56px; height: 56px; margin: 0 auto 14px; color: var(--line); }

/* ---------- Checkout ---------- */
.checkout { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; padding-bottom: 80px; }
.panel { background: var(--paper); border-radius: 22px; padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); margin-bottom: 20px; }
.panel h2 { font-size: 1.5rem; margin-bottom: 1em; display: flex; gap: .5em; align-items: center; }
.panel h2 .n { width: 32px; height: 32px; border-radius: 50%; background: var(--apple); color: #fff; font-family: var(--sans); font-size: .95rem; display: grid; place-items: center; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 700; color: var(--ink-2); }
.field input, .field select, .field textarea {
  border: 1.5px solid var(--line); border-radius: 12px; padding: .75em .9em; background: var(--cream);
  transition: border-color .2s, background .2s; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.field input:user-invalid { border-color: var(--apple); }
@media (max-width: 560px) { .fields { grid-template-columns: 1fr; } }
.options { display: grid; gap: 10px; }
.option {
  display: flex; gap: 12px; align-items: center;
  border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 16px; cursor: pointer;
  transition: border-color .2s, background .2s;
}
.option:has(input:checked) { border-color: var(--ink); background: var(--cream); }
.option input { accent-color: var(--apple); width: 18px; height: 18px; }
.option .t { flex: 1; }
.option .t b { display: block; }
.option .t small { color: var(--muted); }
.option .p { font-weight: 800; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--ink-2); margin: 16px 0; }
.check input { accent-color: var(--apple); width: 18px; height: 18px; margin-top: 3px; flex: none; }
.summary { position: sticky; top: 100px; }
.summary .line { grid-template-columns: 60px 1fr auto; }
.summary .line img { width: 60px; height: 72px; }
.note { font-size: .82rem; color: var(--muted); margin-top: 12px; }
@media (max-width: 900px) {
  .checkout { grid-template-columns: 1fr; }
  .summary { position: relative; top: 0; }
}
.success { text-align: center; padding: 40px 0 100px; }
.success .tick { width: 84px; height: 84px; border-radius: 50%; background: var(--leaf); color: #fff; display: grid; place-items: center; margin: 0 auto 20px; }
.success .tick svg { width: 44px; height: 44px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 120;
  transform: translate(-50%, calc(100% + 40px)); visibility: hidden;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), visibility 0s .35s;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px;
  font-weight: 600; font-size: .92rem; display: flex; gap: 10px; align-items: center;
  box-shadow: var(--shadow-lg); max-width: calc(100% - 32px);
}
.toast.show { transform: translate(-50%, 0); visibility: visible; transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.toast svg { width: 20px; height: 20px; color: var(--juice); flex: none; }

/* ---------- Proposal ribbon ---------- */
.proposal-note {
  background: #fff6d6; color: #6b5310; border: 1px dashed #d9b84a;
  border-radius: 12px; padding: 10px 14px; font-size: .85rem; margin-top: 18px;
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
