/* ==========================================================================
   Lunaro — Baby & Kids Essentials
   Design language adapted from the owner's reference (brandsstore.shop):
   pill buttons, section-head pattern, trust strip, category/product grids,
   value sections, why-cards, FAQ accordion, cart drawer, 4-column footer.
   Palette: Moonlit Dusk (light only) — Deep Rose + Sage + Cloud Dancer + Plum.
   ========================================================================== */
:root{
  --rose:#8C5560;
  --rose-deep:#74444F;
  --rose-soft:#F3E4E6;
  --sage:#9CAF88;
  --sage-deep:#7E926E;
  --sage-soft:#E9EFE3;
  --dusk:#C5A8B0;
  --cloud:#F0EEE9;
  --ink:#2A2438;
  --white:#ffffff;

  --radius-sm:8px;
  --radius-md:14px;
  --radius-lg:22px;
  --shadow-sm:0 1px 2px rgba(42,36,56,.07);
  --shadow-md:0 10px 30px rgba(42,36,56,.10);
  --shadow-lg:0 20px 50px rgba(42,36,56,.16);

  --font-display:"Plus Jakarta Sans","Segoe UI",system-ui,sans-serif;
  --font-body:"Lato","Segoe UI",system-ui,sans-serif;

  --container:1240px;

  --bg:#F7F4EF;
  --bg-alt:#F0EEE9;
  --surface:#ffffff;
  --surface-2:#EFE9DE;
  --text:#2A2438;
  --text-muted:#6E6172;
  --accent:var(--rose);
  --accent-strong:var(--rose-deep);
  --accent-2:var(--sage);
  --on-accent:#ffffff;
  --border:rgba(42,36,56,.13);
  --border-soft:rgba(42,36,56,.07);
  --danger:#C04545;
  --success:#5F8F5A;
}
*{box-sizing:border-box}
[hidden]{display:none!important}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}
}
body{
  margin:0;background:var(--bg);color:var(--text);
  font-family:var(--font-body);font-size:16px;line-height:1.6;
  -webkit-font-smoothing:antialiased;overflow-x:hidden;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button{font-family:inherit;cursor:pointer}
h1,h2,h3,h4{font-family:var(--font-display);font-weight:700;line-height:1.15;margin:0 0 .5em;color:var(--text)}
p{margin:0 0 1em}
ul{margin:0;padding:0;list-style:none}
.skip{position:absolute;left:-999px;top:0;z-index:200;background:var(--accent);color:var(--on-accent);padding:12px 18px;border-radius:0 0 var(--radius-sm) 0;font-weight:600}
.skip:focus{left:0}
:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.container{max-width:var(--container);margin:0 auto;padding:0 24px}
.visually-hidden{position:absolute;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:8px;
  padding:13px 26px;border-radius:999px;font-weight:700;font-size:.95rem;font-family:var(--font-display);
  border:1px solid transparent;white-space:nowrap;
  transition:transform .15s ease,box-shadow .15s ease,background-color .15s ease,border-color .15s ease,color .15s ease;
}
.btn-primary{background:linear-gradient(135deg,#9A5F6B 0%,var(--rose) 55%,var(--rose-deep) 100%);color:var(--on-accent);box-shadow:0 6px 18px rgba(140,85,96,.28)}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 12px 26px rgba(140,85,96,.36)}
.btn-outline{border-color:var(--border);color:var(--text);background:transparent}
.btn-outline:hover{border-color:var(--text);background:var(--surface-2)}
.btn-block{width:100%}
.btn-sm{padding:9px 18px;font-size:.85rem}
.btn:disabled{opacity:.5;cursor:not-allowed;transform:none}

/* ---------------- Header ---------------- */
.site-header{position:sticky;top:0;z-index:100;background:rgba(247,244,239,.96);backdrop-filter:blur(8px);border-bottom:1px solid var(--border-soft);transition:box-shadow .2s ease}
.site-header.scrolled{box-shadow:var(--shadow-md)}
.nav-inner{max-width:var(--container);margin:0 auto;padding:14px 24px;display:flex;align-items:center;gap:24px}
.logo{display:flex;align-items:center;gap:10px;font-family:var(--font-display);flex-shrink:0}
.logo-mark{width:36px;height:36px;flex-shrink:0}
.logo-word{font-size:1.3rem;font-weight:800;letter-spacing:-.01em;color:var(--text)}
.logo-word .logo-tag{color:var(--accent)}
.main-nav{flex:1}
.main-nav ul{display:flex;gap:6px;justify-content:center}
.main-nav a{padding:10px 16px;border-radius:999px;font-weight:600;font-size:.95rem;color:var(--text-muted);transition:background-color .15s ease,color .15s ease}
.main-nav a:hover{color:var(--text);background:var(--surface-2)}
.main-nav a[aria-current="page"]{color:var(--accent-strong);background:var(--rose-soft)}
.nav-actions{display:flex;align-items:center;gap:6px}
.icon-btn{position:relative;width:42px;height:42px;border-radius:999px;border:1px solid transparent;background:transparent;color:var(--text);display:flex;align-items:center;justify-content:center;transition:background-color .15s ease,border-color .15s ease}
.icon-btn:hover{background:var(--surface-2);border-color:var(--border-soft)}
.icon-btn svg{width:20px;height:20px}
.cart-badge{position:absolute;top:2px;right:2px;min-width:18px;height:18px;padding:0 4px;border-radius:999px;background:var(--accent);color:#fff;font-size:.68rem;font-weight:800;display:flex;align-items:center;justify-content:center;line-height:1}
.nav-toggle{display:none;width:42px;height:42px;border-radius:999px;border:1px solid var(--border-soft);background:var(--surface);color:var(--text);align-items:center;justify-content:center}
.nav-toggle svg{width:20px;height:20px}
.search-bar{max-height:0;overflow:hidden;transition:max-height .25s ease}
.search-bar.is-open{max-height:90px;border-top:1px solid var(--border-soft)}
.search-bar-inner{max-width:var(--container);margin:0 auto;padding:14px 24px}
.search-bar input{width:100%;padding:12px 18px;border-radius:999px;border:1px solid var(--border);background:var(--surface);color:var(--text);font-size:.95rem;font-family:inherit}
.search-bar input:focus{border-color:var(--accent);outline:none}
@media (max-width:920px){
  .nav-inner{gap:12px;padding:12px 16px}
  .logo-word{font-size:1.02rem}
  .nav-actions{margin-left:auto}
  .main-nav{position:fixed;top:0;right:0;bottom:0;width:min(320px,85vw);background:var(--surface);padding:90px 24px 24px;box-shadow:var(--shadow-lg);transform:translateX(100%);transition:transform .25s ease,visibility 0s .28s;z-index:150;visibility:hidden}
  .main-nav.is-open{transform:translateX(0);visibility:visible;transition:transform .25s ease}
  #main-nav-list{flex-direction:column;gap:4px;align-items:stretch}
  .main-nav a{display:block;padding:12px 16px}
  .nav-toggle{display:flex}
}

/* ---------------- Hero ---------------- */
.hero{padding:60px 0 68px;background:linear-gradient(180deg,#F4EDE3 0%,var(--bg) 75%);overflow:hidden}
.hero-inner{display:grid;grid-template-columns:1.05fr .95fr;gap:52px;align-items:center}
@keyframes riseIn{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
@keyframes mediaIn{from{opacity:0;transform:translateY(28px) scale(.965)}to{opacity:1;transform:none}}
@keyframes floaty{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}
.hero-copy .eyebrow{animation:riseIn .7s cubic-bezier(.22,.61,.36,1) both}
.hero-copy h1{animation:riseIn .7s .09s cubic-bezier(.22,.61,.36,1) both}
.hero-copy .lead{animation:riseIn .7s .18s cubic-bezier(.22,.61,.36,1) both}
.hero-copy .hero-actions{animation:riseIn .7s .27s cubic-bezier(.22,.61,.36,1) both}
.eyebrow{display:inline-block;font-weight:700;color:var(--accent-strong);background:var(--rose-soft);padding:7px 15px;border-radius:999px;font-size:.82rem;letter-spacing:.02em;margin-bottom:16px;font-family:var(--font-display)}
.hero h1{font-size:clamp(2.1rem,4vw,3.15rem);letter-spacing:-.02em;font-weight:800}
.hero h1 em{font-style:normal;color:var(--accent)}
.hero .lead{font-size:1.1rem;color:var(--text-muted);max-width:46ch}
.hero-actions{display:flex;gap:14px;margin-top:26px;flex-wrap:wrap}
.hero-media{position:relative;border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-lg);animation:mediaIn .9s .12s cubic-bezier(.22,.61,.36,1) both}
.hero-media img{width:100%;height:100%;object-fit:cover;aspect-ratio:4/3.4}
.hero-media-badge{position:absolute;left:18px;bottom:18px;background:var(--surface);color:var(--text);padding:10px 18px;border-radius:999px;font-weight:700;font-size:.85rem;box-shadow:var(--shadow-md);font-family:var(--font-display);animation:floaty 5.5s ease-in-out 1.4s infinite}
.hero-media-badge i{font-style:normal;color:var(--accent);margin-right:6px}
@media (max-width:920px){.hero-inner{grid-template-columns:1fr}.hero-media{order:-1}}

/* ---------------- Trust strip ---------------- */
.trust-strip{padding:26px 0;border-top:1px solid var(--border-soft);border-bottom:1px solid var(--border-soft);background:var(--surface)}
.trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.trust-item{display:flex;align-items:center;gap:12px}
.trust-item svg{width:26px;height:26px;color:var(--accent);flex-shrink:0}
.trust-item strong{display:block;font-size:.95rem;font-family:var(--font-display)}
.trust-item span{font-size:.85rem;color:var(--text-muted)}
@media (max-width:920px){.trust-grid{grid-template-columns:repeat(2,1fr)}}

/* ---------------- Sections ---------------- */
.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:30px;flex-wrap:wrap}
.section-head h2{font-size:clamp(1.5rem,2.6vw,2rem);margin-bottom:6px;font-weight:800;letter-spacing:-.01em}
.section-head p{color:var(--text-muted);margin:0;max-width:60ch}
.section-link{font-weight:700;color:var(--accent-strong);white-space:nowrap;font-family:var(--font-display)}
.section-link:hover{text-decoration:underline}
.block{padding:68px 0}

/* ---------------- Category cards ---------------- */
.category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.category-card{border-radius:var(--radius-lg);overflow:hidden;position:relative;box-shadow:var(--shadow-sm);border:1px solid var(--border-soft);background:var(--surface);transition:transform .18s ease,box-shadow .18s ease;display:flex;flex-direction:column}
.category-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-md)}
.category-card .media{aspect-ratio:16/10;overflow:hidden;display:block}
.category-card .media img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.category-card:hover .media img{transform:scale(1.05)}
.category-card .body{padding:18px 20px 22px;display:flex;flex-direction:column;gap:8px;flex:1}
.category-card h3{margin:0;font-size:1.08rem}
.category-card h3 a:hover{color:var(--accent-strong)}
.category-card p{color:var(--text-muted);font-size:.9rem;margin:0}
.sub-list{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}
.sub-list span{font-size:.76rem;background:var(--surface-2);color:var(--text-muted);padding:4px 11px;border-radius:999px;font-weight:600}
@media (max-width:1000px){.category-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:560px){.category-grid{grid-template-columns:1fr}}

/* ---------------- Product cards ---------------- */
.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.product-card{background:var(--surface);border:1px solid var(--border-soft);border-radius:var(--radius-md);overflow:hidden;display:flex;flex-direction:column;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.product-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-md);border-color:var(--border)}
.product-card-media{aspect-ratio:1/1;background:var(--surface-2);overflow:hidden;position:relative;display:block}
.product-card-media img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.product-card:hover .product-card-media img{transform:scale(1.05)}
.product-card-body{padding:16px 16px 18px;display:flex;flex-direction:column;gap:6px;flex:1}
.product-category{font-size:.72rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--sage-deep);font-family:var(--font-display)}
.product-card-body h3{font-size:1rem;margin:0}
.product-card-body h3 a:hover{color:var(--accent-strong)}
.product-price{font-weight:800;font-size:1.08rem;color:var(--text);font-family:var(--font-display)}
.product-card-body p{font-size:.86rem;color:var(--text-muted);margin:0;flex:1}
.product-card-footer{margin-top:12px}
.add-to-bag{width:100%;padding:11px 18px;border-radius:999px;border:1.5px solid var(--accent);background:transparent;color:var(--accent-strong);font-weight:700;font-size:.88rem;font-family:var(--font-display);transition:background-color .15s ease,color .15s ease}
.add-to-bag:hover{background:var(--accent);color:var(--on-accent)}
.add-to-bag.is-added{background:var(--success);border-color:var(--success);color:#fff}
@media (max-width:1100px){.product-grid{grid-template-columns:repeat(3,1fr)}}
@media (max-width:760px){.product-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:460px){.product-grid{grid-template-columns:1fr}}
.no-results{grid-column:1/-1;text-align:center;padding:60px 20px;color:var(--text-muted)}

/* ---------------- Value section ---------------- */
.value-section{padding:68px 0}
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.about-grid img{border-radius:var(--radius-lg);box-shadow:var(--shadow-md);width:100%;aspect-ratio:4/3.2;object-fit:cover}
.about-grid h2{font-size:clamp(1.5rem,2.6vw,2rem);font-weight:800}
.about-grid p.lead-copy{color:var(--text-muted);max-width:52ch}
@media (max-width:860px){.about-grid{grid-template-columns:1fr}}
.cta-band{background:linear-gradient(135deg,var(--ink) 0%,#3A3049 60%,var(--rose-deep) 130%);border-radius:var(--radius-lg);padding:56px 40px;text-align:center;color:#fff;box-shadow:var(--shadow-lg)}
.cta-band h2{color:#fff;font-size:clamp(1.5rem,2.8vw,2.1rem)}
.cta-band p{color:rgba(255,255,255,.78);max-width:52ch;margin:0 auto 26px}
.cta-band .hero-actions{justify-content:center}
.cta-band .btn-outline{border-color:rgba(255,255,255,.4);color:#fff}
.cta-band .btn-outline:hover{background:rgba(255,255,255,.12);border-color:#fff}

/* ---------------- Why cards ---------------- */
.why-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.why-card{background:var(--surface);border:1px solid var(--border-soft);border-radius:var(--radius-md);padding:28px;transition:transform .18s ease,box-shadow .18s ease}
.why-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-md)}
.why-card .icon-wrap{width:48px;height:48px;border-radius:14px;background:var(--sage-soft);color:var(--sage-deep);display:flex;align-items:center;justify-content:center;margin-bottom:16px}
.why-card .icon-wrap svg{width:23px;height:23px}
.why-card h3{font-size:1.06rem}
.why-card p{color:var(--text-muted);font-size:.92rem;margin:0}
@media (max-width:920px){.why-grid{grid-template-columns:1fr}}

/* ---------------- FAQ accordion ---------------- */
.faq-list{max-width:780px;margin:0 auto;display:flex;flex-direction:column;gap:12px}
.faq-item{background:var(--surface);border:1px solid var(--border-soft);border-radius:var(--radius-md);overflow:hidden}
.faq-question{width:100%;text-align:left;background:none;border:none;padding:18px 22px;font-weight:700;font-size:1rem;color:var(--text);display:flex;align-items:center;justify-content:space-between;gap:12px;font-family:var(--font-display)}
.faq-question .plus{font-size:1.35rem;color:var(--accent);transition:transform .2s ease;flex-shrink:0;font-weight:400}
.faq-item.is-open .plus{transform:rotate(45deg)}
.faq-answer{max-height:0;overflow:hidden;transition:max-height .28s ease}
.faq-answer-inner{padding:0 22px 20px;color:var(--text-muted)}
.faq-answer-inner p{margin:0}
.faq-preview-cta{text-align:center;margin-top:28px}

/* ---------------- Breadcrumb ---------------- */
.breadcrumb{max-width:var(--container);margin:0 auto;padding:22px 24px 0;font-size:.85rem;color:var(--text-muted)}
.breadcrumb a:hover{color:var(--accent-strong)}

/* ---------------- Product detail ---------------- */
.product-layout{max-width:var(--container);margin:0 auto;padding:26px 24px 70px;display:grid;grid-template-columns:1fr 1fr;gap:52px;align-items:start}
.product-gallery{display:flex;flex-direction:column;gap:14px}
.gallery-main{border-radius:var(--radius-lg);overflow:hidden;background:var(--surface-2);aspect-ratio:1/1;border:1px solid var(--border-soft);box-shadow:var(--shadow-md)}
.gallery-main img{width:100%;height:100%;object-fit:cover}
.product-info{display:flex;flex-direction:column;gap:6px}
.product-info h1{font-size:clamp(1.5rem,2.6vw,2.1rem);margin-top:4px;font-weight:800}
.product-info .product-price{font-size:1.6rem;margin:8px 0 4px}
.status-badge{display:inline-flex;align-items:center;gap:8px;font-size:.82rem;font-weight:700;color:var(--sage-deep);margin-bottom:8px;font-family:var(--font-display)}
.status-badge::before{content:"";width:8px;height:8px;border-radius:999px;background:var(--sage)}
.qty-select-row{display:flex;align-items:center;gap:14px;margin:12px 0;flex-wrap:wrap}
.qty{display:inline-flex;align-items:center;gap:4px;border:1.5px solid var(--border);border-radius:999px;padding:4px;background:var(--surface)}
.qty button{width:32px;height:32px;border-radius:999px;border:none;background:var(--surface-2);color:var(--text);font-size:1.05rem;font-weight:700;display:flex;align-items:center;justify-content:center}
.qty button:hover{background:var(--rose-soft);color:var(--accent-strong)}
.qty output{min-width:30px;text-align:center;font-weight:800;font-family:var(--font-display)}
.product-desc{color:var(--text-muted);margin-top:12px}
.note-line{margin-top:16px;padding:14px 16px;border:1.5px dashed var(--dusk);border-radius:var(--radius-sm);background:#FBF7F1;font-size:.88rem;color:var(--text-muted)}
.pd-acc{margin-top:18px;display:flex;flex-direction:column;gap:10px}
.pd-acc details{background:var(--surface);border:1px solid var(--border-soft);border-radius:var(--radius-sm);padding:14px 18px}
.pd-acc summary{font-weight:700;cursor:pointer;font-family:var(--font-display)}
.pd-acc p{margin:10px 0 0;color:var(--text-muted);font-size:.92rem}
.related-section{padding:10px 0 70px}
@media (max-width:920px){.product-layout{grid-template-columns:1fr;gap:30px}}

/* ---------------- Shop toolbar / filters ---------------- */
.shop-page{padding:44px 0 74px}
.shop-header h1{margin-bottom:6px;font-weight:800}
.shop-header p{color:var(--text-muted)}
.filter-bar{display:flex;gap:10px;flex-wrap:wrap;margin:26px 0 6px}
.filter-btn{padding:10px 18px;border-radius:999px;border:1px solid var(--border);background:var(--surface);color:var(--text-muted);font-weight:600;font-size:.86rem;font-family:var(--font-display);transition:all .15s ease}
.filter-btn:hover{border-color:var(--accent);color:var(--accent-strong)}
.filter-btn.is-active{background:var(--accent);border-color:var(--accent);color:#fff}
.shop-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:22px 0 28px;flex-wrap:wrap}
.toolbar-left{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.result-count{font-size:.86rem;color:var(--text-muted)}
.select-control{padding:10px 16px;border-radius:999px;border:1px solid var(--border);background:var(--surface);color:var(--text);font-size:.86rem;font-family:inherit}
.search-input{padding:10px 18px;border-radius:999px;border:1px solid var(--border);background:var(--surface);color:var(--text);font-size:.9rem;font-family:inherit;min-width:200px}
.search-input:focus{border-color:var(--accent);outline:none}
.sub-chips{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0 26px}
.sub-chips .filter-btn{padding:8px 15px;font-size:.82rem}
.sub-chips .filter-btn.is-active{background:var(--sage);border-color:var(--sage)}

/* ---------------- Cart drawer ---------------- */
.cart-overlay{position:fixed;inset:0;background:rgba(42,36,56,.45);opacity:0;pointer-events:none;transition:opacity .2s ease;z-index:180}
.cart-overlay.is-visible{opacity:1;pointer-events:auto}
.cart-drawer{position:fixed;top:0;right:0;bottom:0;width:min(420px,100vw);background:var(--surface);box-shadow:var(--shadow-lg);transform:translateX(100%);transition:transform .28s ease;z-index:190;display:flex;flex-direction:column}
.cart-drawer.is-open{transform:translateX(0)}
.cart-drawer-header{display:flex;align-items:center;justify-content:space-between;padding:20px 22px;border-bottom:1px solid var(--border-soft)}
.cart-drawer-header h2{margin:0;font-size:1.15rem}
.cart-items{flex:1;overflow-y:auto;padding:14px 22px;display:flex;flex-direction:column;gap:16px}
.cart-item{display:grid;grid-template-columns:64px 1fr auto;gap:12px;align-items:center}
.cart-item img{width:64px;height:64px;object-fit:cover;border-radius:var(--radius-sm);background:var(--surface-2)}
.cart-item-info{display:flex;flex-direction:column;gap:4px;min-width:0}
.cart-item-name{font-weight:700;font-size:.9rem;font-family:var(--font-display);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cart-item-name a:hover{color:var(--accent-strong)}
.cart-item-price{font-size:.85rem;color:var(--text-muted)}
.qty-stepper{display:flex;align-items:center;gap:8px;margin-top:4px}
.qty-stepper button{width:24px;height:24px;border-radius:999px;border:1px solid var(--border);background:var(--surface-2);color:var(--text);display:flex;align-items:center;justify-content:center;font-weight:700;line-height:1;font-size:.8rem}
.qty-stepper button:hover{border-color:var(--accent);color:var(--accent-strong)}
.qty-stepper .qty-value{min-width:18px;text-align:center;font-weight:700;font-size:.88rem}
.cart-item-remove{background:none;border:none;color:var(--text-muted);padding:6px;border-radius:999px;align-self:start;font-size:1.05rem}
.cart-item-remove:hover{color:var(--danger);background:var(--surface-2)}
.cart-empty{text-align:center;color:var(--text-muted);padding:44px 22px}
.cart-subtotal{display:flex;justify-content:space-between;padding:16px 22px;border-top:1px solid var(--border-soft);font-weight:700;font-family:var(--font-display)}
.cart-drawer-footer{padding:6px 22px 22px;display:flex;flex-direction:column;gap:10px}

/* ---------------- Full cart page ---------------- */
.cart-page{padding:48px 0 80px}
.cart-layout{display:grid;grid-template-columns:1.7fr 1fr;gap:32px;align-items:start}
.cart-table{background:var(--surface);border:1px solid var(--border-soft);border-radius:var(--radius-md);overflow:hidden}
.cart-row{display:grid;grid-template-columns:80px 1fr auto auto auto;gap:16px;align-items:center;padding:18px 20px;border-bottom:1px solid var(--border-soft)}
.cart-row:last-child{border-bottom:none}
.cart-row img{width:80px;height:80px;object-fit:cover;border-radius:var(--radius-sm);background:var(--surface-2)}
.cart-row .row-name{font-weight:700;font-family:var(--font-display)}
.cart-row .row-name a:hover{color:var(--accent-strong)}
.cart-row .row-cat{font-size:.8rem;color:var(--text-muted)}
.cart-row .row-price{font-weight:700;white-space:nowrap}
.cart-row .row-line-total{font-weight:800;white-space:nowrap;text-align:right;min-width:80px;font-family:var(--font-display)}
.order-summary{background:var(--surface);border:1px solid var(--border-soft);border-radius:var(--radius-md);padding:26px;position:sticky;top:96px}
.order-summary h2{font-size:1.1rem}
.summary-row{display:flex;justify-content:space-between;padding:8px 0;font-size:.92rem;color:var(--text-muted)}
.summary-row.total{border-top:1px solid var(--border-soft);margin-top:8px;padding-top:14px;font-weight:800;font-size:1.1rem;color:var(--text)}
@media (max-width:920px){.cart-layout{grid-template-columns:1fr}.order-summary{position:static}}
.empty{text-align:center;padding:60px 20px;color:var(--text-muted)}
.empty .big{font-size:3rem;margin-bottom:10px}
.empty h2{margin-bottom:8px}

/* ---------------- Checkout ---------------- */
.checkout-page{padding:44px 0 80px}
.co-steps{max-width:860px;margin:0 auto}
.co-card{background:var(--surface);border:1px solid var(--border-soft);border-radius:var(--radius-md);padding:30px;margin-bottom:22px}
.co-card h2{font-size:1.15rem;display:flex;align-items:center;gap:12px}
.co-card h2 .n{width:30px;height:30px;border-radius:999px;background:var(--accent);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:.9rem;flex-shrink:0}
.order-box{background:var(--surface-2);border-radius:var(--radius-sm);padding:18px;white-space:pre-wrap;font-size:.88rem;margin:14px 0;font-family:ui-monospace,monospace}
.send-row{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.fl{display:block;font-weight:600;font-size:.88rem;margin:14px 0 6px;font-family:var(--font-display)}
.fi{width:100%;padding:12px 14px;border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--surface);color:var(--text);font-family:inherit;font-size:.94rem}
.fi:focus{border-color:var(--accent);outline:none}
textarea.fi{min-height:110px;resize:vertical}
.ferr{display:block;font-size:.8rem;color:var(--danger);min-height:1.1em}
@media (max-width:640px){.form-grid{grid-template-columns:1fr}}

/* ---------------- Contact ---------------- */
.contact-layout{display:grid;grid-template-columns:1fr 1.25fr;gap:36px;align-items:start}
.contact-info-card{background:var(--surface);border:1px solid var(--border-soft);border-radius:var(--radius-md);padding:28px}
.contact-info-card h2{font-size:1.1rem}
.contact-info-card address{font-style:normal;display:flex;flex-direction:column;gap:14px;margin-top:16px}
.contact-info-row{display:flex;gap:12px;align-items:flex-start}
.contact-info-row svg{width:20px;height:20px;color:var(--accent);flex-shrink:0;margin-top:2px}
.contact-info-row a,.contact-info-row span{color:var(--text-muted);font-size:.92rem}
.contact-info-row a:hover{color:var(--accent-strong)}
@media (max-width:880px){.contact-layout{grid-template-columns:1fr}}

/* ---------------- Content pages ---------------- */
.content-page{padding:56px 0 80px}
.page-header{max-width:760px;margin:0 auto 40px;text-align:center}
.page-header h1{font-weight:800}
.page-header p{color:var(--text-muted)}
.prose{max-width:760px;margin:0 auto}
.prose h2{margin-top:2em;font-size:1.3rem}
.prose p,.prose li{color:var(--text-muted)}
.prose ul{list-style:disc;padding-left:1.4em;margin-bottom:1em}
.prose li{margin-bottom:.4em}
.updated-note{text-align:center;color:var(--text-muted);font-size:.85rem;margin-bottom:8px}
.page-narrow{max-width:760px;margin:0 auto;padding:48px 24px 8px}
.page-narrow h1{font-weight:800;font-size:clamp(1.7rem,3vw,2.3rem)}
.notfound{text-align:center;padding:90px 20px 110px}
.notfound .moon{font-size:4rem;color:var(--dusk)}
.notfound h1{margin:10px 0}

/* ---------------- Footer ---------------- */
.site-footer{background:var(--ink);color:#EDE8E0;margin-top:20px}
.footer-inner{max-width:var(--container);margin:0 auto;padding:56px 24px 40px;display:grid;grid-template-columns:1.5fr 1fr 1fr 1.2fr;gap:36px}
.footer-brand .logo-word{color:#fff}
.footer-brand p{color:rgba(237,232,224,.66);font-size:.9rem;margin:14px 0}
.footer-links h3,.footer-contact h3{font-size:.92rem;margin-bottom:16px;color:#fff;font-family:var(--font-display)}
.footer-links ul{display:flex;flex-direction:column;gap:10px}
.footer-links a{color:rgba(237,232,224,.66);font-size:.9rem}
.footer-links a:hover{color:#fff}
.footer-contact address{font-style:normal;display:flex;flex-direction:column;gap:10px;font-size:.9rem;color:rgba(237,232,224,.66)}
.footer-contact a{color:rgba(237,232,224,.66)}
.footer-contact a:hover{color:#fff}
.news-form{display:flex;margin-top:6px;max-width:300px}
.news-form input{flex:1;padding:11px 14px;border-radius:999px 0 0 999px;border:1px solid rgba(255,255,255,.25);background:rgba(255,255,255,.08);color:#fff;font-size:.88rem;font-family:inherit;min-width:0}
.news-form input::placeholder{color:rgba(237,232,224,.5)}
.news-form button{padding:11px 18px;border-radius:0 999px 999px 0;border:none;background:var(--rose);color:#fff;font-weight:700;cursor:pointer}
.news-form button:hover{background:var(--rose-deep)}
.news-note{font-size:.78rem;color:rgba(237,232,224,.5);margin-top:8px}
.footer-bottom{border-top:1px solid rgba(255,255,255,.12)}
.footer-bottom-inner{max-width:var(--container);margin:0 auto;padding:18px 24px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
.footer-bottom p{margin:0;color:rgba(237,232,224,.55);font-size:.85rem}
.legal-links{display:flex;gap:18px}
.legal-links a{color:rgba(237,232,224,.55);font-size:.85rem}
.legal-links a:hover{color:#fff}
@media (max-width:920px){.footer-inner{grid-template-columns:1fr 1fr}}
@media (max-width:560px){.footer-inner{grid-template-columns:1fr}}

/* ---------------- Reveal on scroll (smooth, staggered) ---------------- */
.reveal{opacity:0;transform:translateY(18px);transition:opacity .65s cubic-bezier(.22,.61,.36,1),transform .65s cubic-bezier(.22,.61,.36,1)}
.reveal.visible{opacity:1;transform:none}
.product-grid .reveal:nth-child(2):not(.visible),.category-grid .reveal:nth-child(2):not(.visible),.why-grid .reveal:nth-child(2):not(.visible),.trust-grid .reveal:nth-child(2):not(.visible){transition-delay:.07s}
.product-grid .reveal:nth-child(3):not(.visible),.category-grid .reveal:nth-child(3):not(.visible),.why-grid .reveal:nth-child(3):not(.visible),.trust-grid .reveal:nth-child(3):not(.visible){transition-delay:.14s}
.product-grid .reveal:nth-child(4):not(.visible),.category-grid .reveal:nth-child(4):not(.visible),.trust-grid .reveal:nth-child(4):not(.visible){transition-delay:.21s}
.product-grid .reveal:nth-child(n+5):not(.visible){transition-delay:.28s}
