/* ===========================
   Mishka's Kitchen: styles
   Colors and type follow the Mishka's Kitchen brand guide (Canva Brand Kit).
   =========================== */
:root {
  --forest: #01694c;    /* brand green: headlines, prices, links */
  --pine: #1a4a3a;      /* body text, dark panels */
  --jade: #20b48c;      /* big color fields */
  --mint: #3cd5ab;      /* small bright accents */
  --seafoam: #8fe7ce;   /* soft fills */
  --mist: #a9dfd0;      /* section backgrounds */
  --ice: #e3fff7;       /* default light background */
  --white: #ffffff;
  --teal-ears: #00cccc; /* logo accent only */
  --muted: #4b6a5e;     /* captions, fine print */

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Lato", "Helvetica Neue", Arial, sans-serif;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --radius-sm: 4px;
  --radius-md: 12px;
  --radius-pill: 999px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--pine);
  line-height: 1.65;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: var(--forest); }

.container { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); }
.center { text-align: center; }
.section { padding-block: 88px; }

h1, h2, h3 { font-family: var(--font-display); color: var(--forest); font-weight: 600; line-height: 1.15; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: var(--space-2); }
h3 { font-size: 1.25rem; margin-bottom: var(--space-1); }
p + p { margin-top: 12px; }

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: var(--space-1);
}
.section-intro { max-width: 600px; color: var(--muted); }
.fine { font-size: 0.88rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: var(--radius-pill);
  font-family: var(--font-sans); font-size: 1rem; font-weight: 700;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background .2s, color .2s, transform .2s;
}
.btn:hover { transform: translateY(-2px) rotate(-1deg); }
.btn-primary { background: var(--forest); color: var(--white); }
.btn-primary:hover { background: var(--pine); }
.btn-ghost { border-color: var(--forest); color: var(--forest); background: transparent; }
.btn-ghost:hover { background: var(--ice); }
:focus-visible { outline: 3px solid var(--pine); outline-offset: 3px; }

/* ---------- Nav ----------
   Over the hero: transparent, white links, white-lettered logo in the left corner.
   After scrolling (or with the mobile menu open): solid white bar with the green wordmark. */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: transparent; border-bottom: 1px solid transparent;
  transition: background .25s, border-color .25s;
}
.site-header.solid {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom-color: var(--mist);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 128px; transition: height .25s; }
.site-header.solid .nav { height: 68px; }
.nav-logo { display: block; }
.nav-logo img { width: auto; }
.logo-hero { height: 112px; }
.logo-solid { height: 34px; display: none; }
.site-header.solid .logo-hero { display: none; }
.site-header.solid .logo-solid { display: block; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { text-decoration: none; color: var(--white); font-weight: 700; font-size: 0.95rem; }
.site-header.solid .nav-links a { color: var(--pine); }
.site-header.solid .nav-links a:hover { color: var(--forest); }
.nav-cta { background: var(--ice); color: var(--forest) !important; padding: 9px 20px; border-radius: var(--radius-pill); }
.site-header.solid .nav-cta { background: var(--forest); color: var(--white) !important; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; }
.site-header.solid .nav-toggle span { background: var(--pine); }

/* ---------- Hero: full photo, dimmed so the text reads ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: clamp(620px, 94vh, 860px);
  display: flex; align-items: center;
  background: var(--pine);
  color: var(--white);
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero-dim {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(14, 32, 26, 0.80) 0%, rgba(14, 32, 26, 0.62) 42%, rgba(14, 32, 26, 0.32) 100%);
}
.hero-inner { position: relative; z-index: 1; padding-block: 160px 72px; }
.hero-text { max-width: 560px; }
.hero .eyebrow { color: var(--seafoam); }
.hero h1 { color: var(--white); font-size: clamp(2.5rem, 5.4vw, 4.2rem); }
.lead { font-size: 1.15rem; margin-top: var(--space-2); color: var(--ice); max-width: 500px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .btn-primary { background: var(--ice); color: var(--forest); }
.hero .btn-primary:hover { background: var(--white); }
.hero .btn-ghost { border-color: rgba(255, 255, 255, 0.85); color: var(--white); }
.hero .btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin-top: 28px; }
.hero-badges li {
  font-size: 0.85rem; font-weight: 700; color: var(--white);
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.45);
  padding: 6px 14px; border-radius: var(--radius-pill);
}

/* ---------- Playful extras ---------- */
.hero { position: relative; }
.wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 48px; fill: var(--ice); z-index: 1; }
.eyebrow .paw { transition: transform .3s ease; }
.section:hover .eyebrow .paw { transform: rotate(14deg) scale(1.15); }
.coming-icon { width: 44px; height: 44px; fill: var(--seafoam); display: block; margin-bottom: 12px; }
.coming-icon .icing { fill: var(--forest); }
.coming-icon .flame { fill: var(--mint); }
.coming-cta .coming-icon { fill: var(--seafoam); width: 34px; height: 34px; transform: rotate(-14deg); }
.coming-card { border-radius: 20px; transition: transform .25s ease; }
.coming-card:hover { transform: translateY(-4px) rotate(-0.6deg); }

/* ---------- Meet Mishka (cartoon) ---------- */
.meet { background: var(--white); }
.meet-card {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 0.85fr 1.15fr; align-items: center; gap: 48px;
  background: var(--mist); border-radius: 28px;
  padding: 48px;
}
.meet-cartoon { width: min(380px, 100%); height: auto; justify-self: center; display: block; border-radius: 22px; border: 8px solid var(--white); box-shadow: 0 14px 30px rgba(26, 74, 58, 0.18); transform: rotate(-3deg); transition: transform .4s ease; }
.meet-card:hover .meet-cartoon { transform: rotate(0deg) scale(1.02); }
.meet-text { position: relative; z-index: 1; min-width: 0; }
.meet-text h2 { color: var(--pine); }
.bubble {
  position: relative; background: var(--white); border-radius: 22px;
  padding: 20px 24px; margin: 8px 0 26px; max-width: 520px;
  box-shadow: 0 8px 20px rgba(26, 74, 58, 0.10);
}
.bubble::before {
  content: ""; position: absolute; left: -12px; bottom: 26px;
  border-width: 12px 14px 12px 0; border-style: solid; border-color: transparent var(--white) transparent transparent;
}
.bubble p { font-size: 1.05rem; color: var(--pine); }
.paw-trail { position: absolute; top: 26px; right: 32px; display: flex; gap: 16px; color: var(--seafoam); transform: rotate(-8deg); }
.paw-trail .paw { width: 24px; height: 24px; }
.paw-trail .paw:nth-child(odd) { transform: translateY(12px) rotate(-20deg); }
.paw-trail .paw:nth-child(even) { transform: rotate(-20deg); }

/* ---------- Story (numbered) ---------- */
.story { background: var(--white); }
.story-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; margin-bottom: 56px; }
.story-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 480px; }
.snap {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block;
  border: 7px solid var(--white); border-radius: 14px;
  box-shadow: 0 10px 24px rgba(26, 74, 58, 0.16);
  transform: rotate(2deg); transition: transform .3s ease;
}
.snap-wide { grid-column: span 2; aspect-ratio: 4 / 3; transform: rotate(-1.5deg); }
.snap:nth-child(3) { transform: rotate(-2.5deg); }
.snap:hover { transform: rotate(0) scale(1.03); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.steps li { position: relative; padding-top: 4px; }
.step-num {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--forest); color: var(--white);
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 600;
  margin-bottom: 14px;
}
.steps h3 { font-size: 1.1rem; }
.steps p { font-size: 0.95rem; color: var(--muted); }

.paw { width: 1em; height: 1em; fill: currentColor; display: inline-block; vertical-align: -0.12em; }
.eyebrow .paw { margin-right: 4px; transform: rotate(-12deg); }

/* ---------- Treats ---------- */
.treats { background: var(--ice); }
.product {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px;
  background: var(--white); border-radius: 20px; padding: 28px;
  margin-top: 28px; align-items: start;
}
.gallery { display: grid; gap: 12px; min-width: 0; }
.gallery-main { position: relative; border-radius: 16px; overflow: hidden; background: var(--ice); aspect-ratio: 1 / 1; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s ease, transform .5s ease; }
.gallery-main:hover img { transform: scale(1.04); }
.gallery-main img.is-fading { opacity: 0; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.thumb {
  padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden;
  background: var(--ice); cursor: pointer; aspect-ratio: 1 / 1; transition: border-color .2s, transform .2s;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { transform: translateY(-2px); }
.thumb.is-active { border-color: var(--forest); }
.product-body { padding: 8px 8px 8px 0; min-width: 0; }
.product-body h3 { font-size: 1.9rem; margin-top: 14px; }
.badge {
  display: inline-block; background: var(--pine); color: var(--white);
  font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 12px; border-radius: var(--radius-sm);
}
.price { font-size: 1.5rem; font-weight: 700; color: var(--forest); margin-top: 4px; }
.price span { font-size: 1rem; font-weight: 400; color: var(--muted); }
.group-title { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--forest); margin-top: 20px; }
.ingredient-list { list-style: none; columns: 2; column-gap: 24px; margin-top: 10px; }
.ingredient-list li { position: relative; padding-left: 22px; margin-bottom: 6px; font-size: 0.95rem; color: var(--pine); break-inside: avoid; }
.ingredient-list li::before {
  content: ""; position: absolute; left: 0; top: 0.35em; width: 13px; height: 13px; background-color: var(--forest);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cellipse cx='12' cy='16' rx='5' ry='4.2'/%3E%3Ccircle cx='5.5' cy='10' r='2.2'/%3E%3Ccircle cx='9.5' cy='6' r='2.2'/%3E%3Ccircle cx='14.5' cy='6' r='2.2'/%3E%3Ccircle cx='18.5' cy='10' r='2.2'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cellipse cx='12' cy='16' rx='5' ry='4.2'/%3E%3Ccircle cx='5.5' cy='10' r='2.2'/%3E%3Ccircle cx='9.5' cy='6' r='2.2'/%3E%3Ccircle cx='14.5' cy='6' r='2.2'/%3E%3Ccircle cx='18.5' cy='10' r='2.2'/%3E%3C/svg%3E") center / contain no-repeat;
}
.product-body .fine { margin-top: 14px; }
.product-body .btn { margin-top: 22px; }

.coming { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.coming-card { background: var(--white); border-radius: var(--radius-md); padding: 28px; }
.coming-card p { font-size: 0.95rem; color: var(--muted); }
.coming-cta { background: var(--forest); }
.coming-cta h3 { color: var(--white); }
.coming-cta p { color: var(--ice); }
.text-link { display: inline-block; margin-top: 12px; color: var(--white); font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.tag {
  display: inline-block; margin-bottom: 12px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--pine); background: var(--seafoam);
  padding: 4px 12px; border-radius: var(--radius-pill);
}

/* ---------- Order ---------- */
.order-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 36px 0 24px; }
.order-card {
  display: block; text-decoration: none; color: var(--pine);
  border: 2px solid var(--mist); border-radius: var(--radius-md);
  padding: 28px; transition: border-color .2s, background .2s;
}
.order-card:hover { border-color: var(--forest); background: var(--ice); }
.order-card svg { width: 32px; height: 32px; fill: none; stroke: var(--forest); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 12px; }
.order-card p { font-size: 0.95rem; color: var(--muted); overflow-wrap: anywhere; }

/* ---------- Join the Pack ---------- */
.pack { background: var(--mist); }
.pack-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: start; }
.pack-intro h2 { color: var(--pine); }
.order.contact-page { padding-top: 148px; min-height: 80vh; }
.pack.join-page { padding-top: 148px; min-height: 80vh; }
.pack-art { width: min(320px, 100%); margin-top: 28px; aspect-ratio: 4 / 5; object-fit: cover; border: 7px solid var(--white); border-radius: 14px; box-shadow: 0 12px 26px rgba(26, 74, 58, 0.18); transform: rotate(-2deg); }
.pack-form {
  background: var(--white); border-radius: var(--radius-md);
  padding: 32px; display: grid; gap: 22px; min-width: 0;
}
.pack-form fieldset { border: 0; display: grid; gap: 14px; min-width: 0; }
.pack-form fieldset.pet { border-top: 1px solid var(--mist); padding-top: 20px; }
.pack-form legend {
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--forest);
  margin-bottom: 6px; display: flex; align-items: center; gap: 12px; width: 100%;
}
.pack-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pack-form label { display: grid; gap: 6px; font-size: 0.92rem; font-weight: 700; color: var(--pine); min-width: 0; }
.opt { font-weight: 400; color: var(--muted); }
.pack-form input[type="text"], .pack-form input[type="email"], .pack-form input[type="tel"], .pack-form select, .pack-form textarea {
  width: 100%; font: inherit; font-weight: 400; font-size: 1rem; color: var(--pine);
  background: var(--white); border: 1.5px solid var(--mist); border-radius: 8px;
  padding: 11px 12px;
}
.pack-form input:focus, .pack-form select:focus, .pack-form textarea:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(1, 105, 76, 0.15); }
.pack-form ::placeholder { color: #7a948a; }
.group-label { font-size: 0.92rem; font-weight: 700; }
.allergies { display: grid; gap: 10px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 400; font-size: 0.9rem;
  border: 1.5px solid var(--mist); border-radius: var(--radius-pill); padding: 6px 12px; cursor: pointer;
}
.checks label:has(input:checked) { background: var(--ice); border-color: var(--forest); }
.checks input { accent-color: var(--forest); }
.sr-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.add-pet, .remove-pet {
  font: inherit; font-weight: 700; color: var(--forest); background: none;
  border: 1.5px dashed var(--forest); border-radius: var(--radius-pill); padding: 10px 18px; cursor: pointer; justify-self: start;
}
.remove-pet { border: 0; padding: 0; font-size: 0.85rem; font-family: var(--font-sans); text-decoration: underline; margin-left: auto; color: var(--muted); }
.consent { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: 10px; font-weight: 400 !important; font-size: 0.9rem !important; }
.consent input { margin-top: 5px; accent-color: var(--forest); }
.pack-form button[type="submit"] { justify-self: start; }
.form-status { font-weight: 700; }
.form-status.ok { color: var(--forest); }
.form-status.err { color: #a13b2c; }
.hidden-field { display: none; }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--mist); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--forest); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--pine); color: var(--ice); padding-block: 48px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; align-items: flex-start; }
.footer-logo { height: 40px; width: auto; background: var(--ice); padding: 8px 14px; border-radius: var(--radius-md); box-sizing: content-box; }
.footer-tag { font-family: var(--font-display); font-style: italic; margin-top: 10px; }
.footer-contact { display: grid; gap: 12px; }
.footer-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--seafoam); }
.contact-line { display: flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; }
.contact-line svg { width: 22px; height: 22px; flex: none; color: var(--seafoam); }
.contact-line > span { display: grid; line-height: 1.3; overflow-wrap: anywhere; }
.contact-kind { font-size: 0.75rem; color: var(--seafoam); }
.contact-line:hover > span { text-decoration: underline; }
.social-row { display: flex; gap: 10px; margin-top: 4px; }
.social-row a {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.1); color: var(--white); transition: background .2s, color .2s, transform .2s;
}
.social-row a:hover { background: var(--seafoam); color: var(--pine); transform: translateY(-2px); }
.social-row svg { width: 20px; height: 20px; }
.footer-email { color: var(--white); text-decoration: none; overflow-wrap: anywhere; }
.footer-email:hover { text-decoration: underline; }
.footer-fine { flex-basis: 100%; font-size: 0.85rem; color: var(--seafoam); padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.14); }

/* ---------- Reveal on scroll (content stays visible without JS) ---------- */
.reveal { transition: opacity .6s ease, transform .6s ease; }
.js .reveal:not(.visible) { opacity: 0; transform: translateY(16px); }
@media (prefers-reduced-motion: reduce) {
  .snap:hover { transform: none; }
  .gallery-main:hover img, .meet-card:hover .meet-cartoon { transform: none; }
  html { scroll-behavior: auto; }
  .js .reveal:not(.visible) { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .pack-grid { grid-template-columns: 1fr; }
  .meet-card { grid-template-columns: 1fr; padding: 36px 24px; gap: 28px; }
  .meet-text { order: -1; }
  .meet-cartoon { width: min(300px, 85%); }
  .bubble::before { left: 40px; bottom: -12px; border-width: 12px 12px 0 12px; border-color: var(--white) transparent transparent transparent; }
  .product { grid-template-columns: 1fr; }
  .product-body { padding: 0; }
  .pack-art { width: min(260px, 70%); }
}
@media (max-width: 820px) {
  .section { padding-block: 64px; }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--white);
    border-bottom: 1px solid var(--mist); display: none;
  }
  .nav-links a { color: var(--pine) !important; }
  .site-header.solid .nav-links .nav-cta, .nav-links .nav-cta { background: var(--forest); color: var(--white) !important; }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 14px 20px; }
  .nav-cta { margin: 8px 20px 16px; text-align: center; }
  .story-head { grid-template-columns: 1fr; }
  .nav { height: 84px; }
  .logo-hero { height: 72px; }
  .hero { min-height: 640px; align-items: flex-end; }
  .hero-bg { object-position: 35% 50%; }
  .hero-dim { background: linear-gradient(180deg, rgba(14, 32, 26, 0.55) 0%, rgba(14, 32, 26, 0.72) 55%, rgba(14, 32, 26, 0.85) 100%); }
  .hero-inner { padding-block: 120px 48px; }
  .story-photos { max-width: 420px; }
  .coming, .order-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .pack-form { padding: 22px 18px; }
  .pack-form .row { grid-template-columns: 1fr; }
  .ingredient-list { columns: 1; }
  .paw-trail { display: none; }
  .meet-card { padding: 28px 18px; }
  .wave { height: 28px; }
  .product { padding: 14px; }
  .gallery-thumbs { gap: 6px; }
}

/* ---------- Product photo viewer ---------- */
.gallery-main.zoomable img { cursor: zoom-in; }
.gallery-main.zoomable { position: relative; }
.gallery-main.zoomable::after {
  content: "Tap to enlarge"; position: absolute; right: 12px; bottom: 12px;
  background: rgba(14, 32, 26, 0.72); color: var(--white); font-size: 0.78rem; font-weight: 700;
  padding: 6px 12px; border-radius: var(--radius-pill); pointer-events: none;
}
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(10, 22, 18, 0.94);
  display: flex; align-items: center; justify-content: center; padding: 56px 72px;
}
.lightbox[hidden] { display: none; }
body.lb-open { overflow: hidden; }
.lb-figure { margin: 0; max-width: 100%; max-height: 100%; display: grid; gap: 12px; justify-items: center; }
.lb-img { max-width: 100%; max-height: calc(100vh - 150px); object-fit: contain; border-radius: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4); }
.lb-count { color: var(--ice); font-size: 0.9rem; }
.lb-btn {
  position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, 0.14); color: var(--white); font-size: 2rem; line-height: 1;
  display: grid; place-items: center; transition: background .2s;
}
.lb-btn:hover, .lb-btn:focus-visible { background: rgba(255, 255, 255, 0.3); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lightbox { padding: 64px 12px 72px; }
  .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
}

/* ---------- Reviews ---------- */
.stars { position: relative; display: inline-block; color: #c5d6cf; letter-spacing: 2px; white-space: nowrap; line-height: 1; }
.stars::before { content: "\2605\2605\2605\2605\2605"; position: absolute; left: 0; top: 0; width: var(--pct, 0%); overflow: hidden; color: #f2a900; white-space: nowrap; }
.rating-line { margin: 2px 0 8px; font-size: 0.95rem; }
.rating-link { color: var(--muted); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.rating-link:hover { color: var(--forest); text-decoration: underline; }
.rating-link .stars { font-size: 1.1rem; }
.product-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.product-actions .btn { margin-top: 0; }

.reviews-page { padding-top: 148px; min-height: 80vh; background: var(--ice); }
.review-overview { display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: center; background: var(--white); border-radius: 16px; padding: 28px; margin-top: 28px; box-shadow: 0 8px 22px rgba(26, 74, 58, 0.08); }
.rating-big { display: grid; gap: 6px; justify-items: center; text-align: center; min-width: 120px; }
.rating-num { font-family: var(--font-display); font-size: 3.4rem; font-weight: 600; color: var(--forest); line-height: 1; }
.rating-big .stars { font-size: 1.4rem; }
.rating-bars { display: grid; gap: 8px; }
.bar-row { display: grid; grid-template-columns: 38px 1fr 28px; gap: 10px; align-items: center; font-size: 0.9rem; }
.bar-track { height: 10px; background: var(--ice); border-radius: 999px; overflow: hidden; }
.bar-fill { display: block; height: 100%; background: #f2a900; border-radius: 999px; }
.bar-count { text-align: right; color: var(--muted); }

.review-list { display: grid; gap: 16px; margin: 28px 0 0; }
.review-card { background: var(--white); border-radius: 14px; padding: 20px 22px; box-shadow: 0 6px 18px rgba(26, 74, 58, 0.07); }
.review-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-bottom: 8px; }
.review-card p { margin: 0; }
.review-empty { background: var(--white); border-radius: 14px; padding: 24px; text-align: center; color: var(--muted); }

.review-form { background: var(--white); border-radius: 16px; padding: 28px; display: grid; gap: 16px; box-shadow: 0 8px 22px rgba(26, 74, 58, 0.08); scroll-margin-top: 100px; }
.review-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.review-form label { display: grid; gap: 6px; font-size: 0.92rem; font-weight: 700; color: var(--pine); min-width: 0; }
.review-form input[type="text"], .review-form input[type="email"], .review-form textarea {
  font: inherit; padding: 11px 14px; border: 1.5px solid var(--mist); border-radius: var(--radius-md); background: var(--white); color: var(--pine); width: 100%;
}
.review-form input:focus, .review-form textarea:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(1, 105, 76, 0.15); }
.review-form fieldset { border: 0; padding: 0; margin: 0; }
.review-form legend { font-weight: 700; color: var(--pine); font-size: 0.92rem; margin-bottom: 6px; padding: 0; }
.star-inputs { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.star-inputs input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-inputs label { font-size: 2.2rem; line-height: 1; color: #c5d6cf; cursor: pointer; display: block; transition: color .15s, transform .15s; }
.star-inputs label:hover, .star-inputs label:hover ~ label, .star-inputs input:checked ~ label { color: #f2a900; }
.star-inputs label:hover { transform: scale(1.12); }
.star-inputs input:focus-visible + label { outline: 3px solid var(--pine); outline-offset: 3px; border-radius: 6px; }
.review-form button[type="submit"] { justify-self: start; }
@media (max-width: 640px) {
  .review-overview { grid-template-columns: 1fr; gap: 20px; }
  .review-form .row { grid-template-columns: 1fr; }
}

.review-note { background: var(--white); border-radius: 14px; padding: 18px 22px; color: var(--muted); margin: 28px 0 0; }
.review-back { margin-top: 24px; }
.leave-spacer { height: 0; }

.photo-pick { display: grid; gap: 10px; }
.photo-pick input[type="file"] { font: inherit; padding: 10px; border: 1.5px dashed var(--mist); border-radius: var(--radius-md); background: var(--ice); width: 100%; cursor: pointer; }
.photo-previews { display: flex; flex-wrap: wrap; gap: 10px; }
.photo-thumb { position: relative; width: 88px; height: 88px; }
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; border: 2px solid var(--white); box-shadow: 0 4px 10px rgba(26, 74, 58, 0.18); }
.photo-thumb button { position: absolute; top: -8px; right: -8px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: var(--pine); color: var(--white); font-size: 1rem; line-height: 1; cursor: pointer; }
.review-photos { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.review-photos img { width: 120px; height: 120px; object-fit: cover; border-radius: 10px; }

.section-intro + .review-form { margin-top: 28px; }

.review-list:empty { display: none; }

.page-title { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: var(--space-2); }
[hidden] { display: none !important; }
.legal-page { padding-top: 148px; background: var(--ice); }
.legal-page h3 { margin-top: 28px; }
.legal-page ul { padding-left: 1.2rem; display: grid; gap: 8px; }
.footer-fine a { color: inherit; }
.consent a, .photo-pick .fine a { white-space: nowrap; }

.snap-single { grid-column: span 2; height: auto; aspect-ratio: 3 / 4; max-width: 380px; margin-inline: auto; transform: rotate(-1.5deg); object-position: 50% 35%; }
