/* ============================================================
   Camden Shapeworks — storefront styles
   Aesthetic: warm Japandi minimalism — deep navy, warm taupe,
   cream, and a single coral accent (pulled from the brand mark).
   ============================================================ */

:root {
  /* Brand palette — sampled directly from the Camden Shapeworks logo */
  --navy:       #242537;   /* logo navy */
  --navy-deep:  #1b1c2b;
  --taupe:      #a9a288;   /* logo taupe */
  --taupe-2:    #c2b7a4;
  --sand:       #e7ded2;
  --cream:      #f6f1ea;
  --cream-2:    #efe8de;
  --coral:      #d72839;   /* logo red (accent) */
  --coral-soft: #f2cdd0;
  --charcoal:   #34343b;
  --ink:        #2c2b2c;
  --muted:      #8b8478;
  --line:       #e3dace;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-sans:    'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-brand:   'Quicksand', var(--font-sans);

  --wrap: 1240px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(43,46,70,.06);
  --shadow-md: 0 14px 40px rgba(43,46,70,.12);
  --shadow-lg: 0 30px 70px rgba(43,46,70,.22);
  --ease: cubic-bezier(.4,.02,.2,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1,h2,h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.08; letter-spacing: -.01em; color: var(--navy); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.eyebrow {
  font-size: .72rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--coral); font-weight: 700;
}
.serif-accent { font-family: var(--font-display); font-style: italic; }

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--navy); color: var(--cream);
  font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  text-align: center; padding: 9px 16px; font-weight: 600;
}
.announce span { color: var(--taupe-2); }
.announce i { font-style: normal; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(246,241,234,.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}
.header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner {
  display: flex; align-items: center; gap: 32px;
  height: 74px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { width: 42px; height: 42px; flex-shrink: 0; border-radius: 10px; object-fit: cover; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-brand); font-weight: 600; font-size: 1.4rem;
  color: var(--navy); letter-spacing: -.01em;
}
.brand-sub {
  font-size: .58rem; letter-spacing: .42em; text-transform: uppercase;
  color: var(--muted); margin-top: 3px; font-weight: 600;
}
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a {
  font-size: .86rem; font-weight: 600; color: var(--navy);
  position: relative; padding: 6px 0; letter-spacing: .01em;
}
.nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--coral); transition: width .3s var(--ease);
}
.nav a:hover::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; color: var(--navy);
  transition: background .2s var(--ease);
}
.icon-btn:hover { background: var(--cream-2); }
.icon-btn svg { width: 21px; height: 21px; }
.cart-btn { position: relative; }
.cart-count {
  position: absolute; top: 4px; right: 4px;
  background: var(--coral); color: #fff; font-size: .62rem; font-weight: 800;
  min-width: 18px; height: 18px; border-radius: 10px; padding: 0 4px;
  display: grid; place-items: center; transform: scale(0); transition: transform .25s var(--ease);
}
.cart-count.show { transform: scale(1); }
.menu-toggle { display: none; }

/* ---------- Hero (cinematic full-bleed) ---------- */
.hero { position: relative; overflow: hidden; min-height: 86vh; display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-bg picture, .band-bg picture, .story-img picture { display: contents; }
.hero-bg img {
  width: 100%; height: 116%; object-fit: cover; object-position: 60% center;
  will-change: transform;
}
.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(100deg, rgba(30,32,50,.86) 0%, rgba(35,37,58,.6) 38%, rgba(35,37,58,.12) 62%, transparent 80%),
    linear-gradient(to top, rgba(30,32,50,.5), transparent 40%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; padding-top: 90px; padding-bottom: 90px; }
.hero-copy { max-width: 620px; }
.hero .eyebrow { color: var(--taupe-2); }
.hero h1 {
  font-size: clamp(2.7rem, 6vw, 5rem); margin: 18px 0 22px; color: #fff;
  text-shadow: 0 2px 30px rgba(20,22,38,.3);
}
.hero h1 em { color: var(--taupe-2); font-weight: 400; }
.hero p.lead {
  font-size: 1.16rem; color: rgba(246,241,234,.9); max-width: 500px; margin-bottom: 34px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn-glass {
  color: #fff; border: 1.5px solid rgba(246,241,234,.5); background: rgba(246,241,234,.08);
  backdrop-filter: blur(6px);
}
.btn-glass:hover { background: rgba(246,241,234,.18); border-color: #fff; transform: translateY(-2px); }
.hero-meta {
  display: flex; gap: 40px; margin-top: 44px; padding-top: 28px;
  border-top: 1px solid rgba(246,241,234,.22); max-width: 500px;
}
.hero-meta div { line-height: 1.15; }
.hero-meta .n { font-family: var(--font-display); font-size: 2rem; color: #fff; }
.hero-meta .l { font-size: .72rem; text-transform: uppercase; letter-spacing: .13em; color: rgba(246,241,234,.7); margin-top: 5px; }
.hero-scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3;
  width: 26px; height: 42px; border: 2px solid rgba(246,241,234,.55); border-radius: 20px;
}
.hero-scroll span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; border-radius: 3px;
  background: var(--taupe-2); transform: translateX(-50%); animation: scrolldot 1.8s ease-in-out infinite;
}
@keyframes scrolldot { 0%,100%{opacity:0;transform:translate(-50%,0)} 40%{opacity:1} 70%{opacity:1;transform:translate(-50%,12px)} }

/* ---------- Parallax band ---------- */
.band { position: relative; overflow: hidden; min-height: 62vh; display: flex; align-items: center; }
.band-bg { position: absolute; inset: 0; overflow: hidden; }
.band-bg img { width: 100%; height: 126%; object-fit: cover; object-position: center 40%; will-change: transform; }
.band-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(35,37,58,.72), rgba(35,37,58,.28) 60%, rgba(35,37,58,.5)); }
.band-inner { position: relative; z-index: 2; text-align: center; max-width: 820px; }
.band-quote {
  font-family: var(--font-display); font-size: clamp(1.7rem, 3.6vw, 2.9rem); color: #fff;
  line-height: 1.25; margin-top: 14px; text-shadow: 0 2px 24px rgba(20,22,38,.3);
}
.band-quote em { color: var(--taupe-2); font-style: italic; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 700; font-size: .9rem; letter-spacing: .02em;
  padding: 15px 28px; border-radius: 40px; transition: all .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--navy); color: var(--cream); }
.btn-primary:hover { background: var(--navy-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { color: var(--navy); border: 1.5px solid var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--cream); }
.btn-coral { background: var(--coral); color: #fff; }
.btn-coral:hover { background: #b81f2f; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-block { width: 100%; justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: var(--navy); font-size: .9rem; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Marquee / trust strip ---------- */
.trust {
  background: var(--navy); color: var(--cream); overflow: hidden;
  padding: 15px 0; white-space: nowrap;
}
.trust-track { display: inline-flex; gap: 56px; animation: marquee 34s linear infinite; padding-right: 56px; }
.trust:hover .trust-track { animation-play-state: paused; }
.trust-item { display: inline-flex; align-items: center; gap: 12px; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; }
.trust-item .d { width: 6px; height: 6px; border-radius: 50%; background: var(--coral); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Section header ---------- */
.section { padding: 92px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.section-head p { color: var(--muted); max-width: 440px; margin-top: 10px; }

/* ---------- Featured ---------- */
.featured { background: var(--cream-2); }
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feat-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 3/4; box-shadow: var(--shadow-sm); cursor: pointer;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.feat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.feat-card:hover img { transform: scale(1.06); }
.feat-card .overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 22px; color: #fff;
  background: linear-gradient(to top, rgba(35,37,58,.82) 0%, rgba(35,37,58,.15) 45%, transparent 70%);
}
.feat-card .overlay h3 { color: #fff; font-size: 1.15rem; }
.feat-card .overlay .p { font-weight: 700; margin-top: 4px; font-size: .95rem; }

/* ---------- Shop / catalog ---------- */
.shop-bar {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-bottom: 34px;
}
.filters { display: flex; gap: 10px; flex-wrap: nowrap; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.chip { flex-shrink: 0; white-space: nowrap; }
.chip {
  padding: 9px 18px; border-radius: 30px; font-size: .84rem; font-weight: 600;
  color: var(--navy); background: var(--cream-2); transition: all .2s var(--ease);
  border: 1.5px solid transparent;
}
.chip:hover { border-color: var(--taupe); }
.chip.active { background: var(--navy); color: var(--cream); }
.shop-tools { margin-left: auto; display: flex; gap: 12px; align-items: center; flex-shrink: 0; }
.search-wrap { position: relative; display: flex; align-items: center; }
.search-wrap svg { position: absolute; left: 14px; width: 16px; height: 16px; color: var(--muted); pointer-events: none; }
.search-wrap input {
  appearance: none; -webkit-appearance: none; background: var(--cream-2); border: 1.5px solid var(--line);
  border-radius: 30px; padding: 10px 16px 10px 38px; font-family: inherit; font-size: .84rem;
  font-weight: 600; color: var(--navy); width: 190px; transition: border-color .2s, width .3s var(--ease);
}
.search-wrap input::placeholder { color: var(--muted); font-weight: 500; }
.search-wrap input:focus { outline: none; border-color: var(--navy); width: 230px; }
.select-wrap { position: relative; }
.select-wrap select {
  appearance: none; background: var(--cream-2); border: 1.5px solid var(--line);
  border-radius: 30px; padding: 10px 38px 10px 16px; font-family: inherit;
  font-size: .84rem; font-weight: 600; color: var(--navy); cursor: pointer;
}
.select-wrap::after {
  content: ''; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px;
  border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy);
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px 22px; }
.card { position: relative; display: flex; flex-direction: column; }
.card-media {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 1/1; background: var(--cream-2); box-shadow: var(--shadow-sm);
}
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card-media img { transform: scale(1.07); }
.card-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-size: .64rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 20px; color: #fff;
}
.card-badge.bestseller { background: var(--coral); }
.card-badge.new { background: var(--navy); }
.card-badge.free { background: #5a7d63; }
.card-fav {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 36px; height: 36px; border-radius: 50%; background: rgba(246,241,234,.9);
  display: grid; place-items: center; color: var(--navy); backdrop-filter: blur(4px);
  transition: all .2s var(--ease); opacity: 0; transform: translateY(-4px);
}
.card:hover .card-fav { opacity: 1; transform: translateY(0); }
.card-fav:hover { background: #fff; color: var(--coral); }
.card-fav svg { width: 18px; height: 18px; }
.card-fav.active { color: var(--coral); opacity: 1; transform: translateY(0); }
.card-add {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2;
  background: var(--navy); color: var(--cream); border-radius: 30px;
  padding: 12px; font-weight: 700; font-size: .82rem; letter-spacing: .04em;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  opacity: 0; transform: translateY(12px); transition: all .3s var(--ease);
}
.card-add svg { width: 16px; height: 16px; }
.card:hover .card-add { opacity: 1; transform: translateY(0); }
.card-add:hover { background: var(--coral); }
.card-body { padding: 14px 2px 0; }
.card-cat { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--taupe); font-weight: 700; }
.card-title { font-size: .96rem; font-weight: 600; color: var(--navy); margin: 5px 0 6px; line-height: 1.35; }
.card-title a:hover { color: var(--coral); }
.card-price { font-family: var(--font-display); font-size: 1.1rem; color: var(--charcoal); }
.card-foot { display: flex; align-items: center; justify-content: space-between; }
.card-stars { display: flex; align-items: center; gap: 4px; font-size: .78rem; color: var(--muted); }
.card-stars svg { width: 13px; height: 13px; color: var(--coral); }
.empty { text-align: center; padding: 60px; color: var(--muted); grid-column: 1/-1; }

/* ---------- Story split ---------- */
.story { background: var(--navy); color: var(--cream); }
.story-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.story h2 { color: var(--cream); font-size: clamp(2rem, 4vw, 3.1rem); margin: 18px 0 22px; }
.story p { color: rgba(246,241,234,.82); margin-bottom: 18px; max-width: 460px; }
.story .eyebrow { color: var(--taupe-2); }
.story-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3.4; }
.story-img img { width: 100%; height: 100%; object-fit: cover; }
.story-stats { display: flex; gap: 40px; margin-top: 30px; }
.story-stats .n { font-family: var(--font-display); font-size: 2rem; color: var(--taupe-2); }
.story-stats .l { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(246,241,234,.6); }

/* ---------- Values ---------- */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.value {
  background: var(--cream-2); border-radius: var(--radius); padding: 34px 30px;
  transition: transform .3s var(--ease);
}
.value:hover { transform: translateY(-5px); }
.value .ic {
  width: 54px; height: 54px; border-radius: 15px; background: var(--sand);
  display: grid; place-items: center; color: var(--navy); margin-bottom: 20px;
}
.value .ic svg { width: 26px; height: 26px; }
.value h3 { font-size: 1.25rem; margin-bottom: 10px; }
.value p { color: var(--muted); font-size: .94rem; }

/* ---------- Reviews ---------- */
.reviews { background: var(--cream-2); }
.rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rev-card { background: var(--cream); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.rev-stars { display: flex; gap: 3px; color: var(--coral); margin-bottom: 16px; }
.rev-stars svg { width: 17px; height: 17px; }
.rev-card p { font-size: 1rem; color: var(--charcoal); flex: 1; line-height: 1.65; }
.rev-card .who { margin-top: 20px; display: flex; align-items: center; gap: 12px; }
.rev-card .av { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--cream); display: grid; place-items: center; font-weight: 700; font-family: var(--font-display); }
.rev-card .who strong { display: block; font-size: .9rem; color: var(--navy); }
.rev-card .who span { font-size: .78rem; color: var(--muted); }

/* ---------- Custom CTA ---------- */
.custom { position: relative; overflow: hidden; }
.custom-inner {
  background-color: var(--navy);
  background-image: radial-gradient(120% 120% at 20% 20%, var(--navy) 0%, var(--navy-deep) 100%);
  border-radius: 28px; padding: 66px 60px; color: var(--cream);
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center;
  position: relative; overflow: hidden;
}
.custom-inner::before {
  content: ''; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px;
  border-radius: 50%; background: radial-gradient(circle, rgba(224,86,77,.35), transparent 70%);
}
.custom h2 { color: var(--cream); font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: 16px; }
.custom p { color: rgba(246,241,234,.8); max-width: 440px; }
.custom-cta { display: flex; flex-direction: column; gap: 14px; position: relative; z-index: 2; }

/* ---------- Newsletter ---------- */
.news { text-align: center; }
.news h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 12px; }
.news p { color: var(--muted); max-width: 420px; margin: 0 auto 28px; }
.news form { display: flex; gap: 10px; max-width: 460px; margin: 0 auto; }
.news input {
  flex: 1; padding: 15px 20px; border-radius: 40px; border: 1.5px solid var(--line);
  font-family: inherit; font-size: .92rem; background: var(--cream-2); color: var(--ink);
}
.news input:focus { outline: none; border-color: var(--navy); }

/* ---------- FAQ ---------- */
.faq-inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.faq h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin: 10px 0 14px; text-wrap: balance; }
.faq-lead { color: var(--muted); max-width: 340px; }
.faq-lead a, .faq-list a { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--taupe); }
.faq-list details { border-bottom: 1px solid var(--line); scroll-margin-top: 110px; }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; font-family: var(--font-display); font-size: 1.18rem; color: var(--navy);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ''; flex-shrink: 0; width: 9px; height: 9px; margin-right: 4px;
  border-right: 2px solid var(--coral); border-bottom: 2px solid var(--coral);
  transform: translateY(-3px) rotate(45deg); transition: transform .25s var(--ease);
}
.faq-list details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq-list details p { color: var(--charcoal); line-height: 1.7; padding: 0 36px 24px 0; max-width: 600px; }
.faq-list summary:focus-visible { outline: 2px solid var(--navy); outline-offset: 4px; border-radius: 4px; }

/* ---------- Etsy hand-off (cart) ---------- */
#drawer-foot { max-height: 62vh; overflow-y: auto; }
#drawer-foot.handoff #checkout, #drawer-foot.handoff .ship-note { display: none; }
#etsy-handoff { margin-top: 4px; }
.handoff-lead { font-size: .84rem; color: var(--charcoal); line-height: 1.55; margin-bottom: 10px; }
.handoff-row {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 11px 14px; margin-top: 8px; border-radius: 12px; background: var(--cream);
  border: 1px solid var(--line); font-size: .86rem; color: var(--navy); transition: border-color .2s, background .2s;
}
.handoff-row:hover { border-color: var(--navy); background: #fff; }
.handoff-name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.handoff-name em { font-style: normal; color: var(--muted); font-weight: 500; }
.handoff-cta { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; color: var(--coral); font-weight: 700; font-size: .8rem; }
.handoff-cta svg { width: 14px; height: 14px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: rgba(246,241,234,.72); padding: 66px 0 0; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer .brand-name { color: var(--cream); }
.footer .brand-sub { color: var(--taupe-2); }
.footer-col h4 { color: var(--cream); font-family: var(--font-sans); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col a { display: block; padding: 6px 0; font-size: .9rem; transition: color .2s; }
.footer-col a:hover { color: var(--coral); }
.footer-about { max-width: 300px; font-size: .92rem; margin: 18px 0; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(246,241,234,.08); display: grid; place-items: center; color: var(--cream); transition: background .2s; }
.footer-social a:hover { background: var(--coral); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(246,241,234,.12);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .82rem; color: rgba(246,241,234,.55);
}

.powered {
  background: #151625;
  margin-top: 48px; padding: 9px 0 10px;
  font-size: .72rem; letter-spacing: .05em; color: rgba(246,241,234,.4);
  text-align: center; line-height: 1.3;
}
.powered a { color: rgba(246,241,234,.65); font-weight: 600; text-decoration: none; }
.powered a:hover { color: #fff; }

/* ---------- Cart drawer ---------- */
.overlay-bg {
  position: fixed; inset: 0; background: rgba(35,37,58,.5); backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden; transition: all .35s var(--ease); z-index: 90;
}
.overlay-bg.show { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: 420px; max-width: 90vw;
  background: var(--cream); z-index: 100; display: flex; flex-direction: column;
  transform: translateX(100%); visibility: hidden;
  transition: transform .4s var(--ease), visibility 0s linear .4s;
}
.drawer.show { transform: translateX(0); visibility: visible; box-shadow: var(--shadow-lg); transition: transform .4s var(--ease), visibility 0s; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 24px 26px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 1.3rem; }
.drawer-head .close { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--navy); }
.drawer-head .close:hover { background: var(--cream-2); }
.drawer-body { flex: 1; overflow-y: auto; padding: 10px 26px; }
.cart-empty { text-align: center; padding: 70px 20px; color: var(--muted); }
.cart-empty svg { width: 54px; height: 54px; color: var(--taupe); margin-bottom: 16px; }
.cart-item { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 76px; height: 76px; border-radius: var(--radius-sm); object-fit: cover; flex-shrink: 0; }
.cart-item .ci-body { flex: 1; min-width: 0; }
.cart-item h4 { font-family: var(--font-sans); font-size: .9rem; font-weight: 600; color: var(--navy); line-height: 1.3; }
.cart-item .ci-price { font-family: var(--font-display); color: var(--charcoal); margin-top: 3px; }
.qty { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; background: var(--cream-2); border-radius: 20px; padding: 3px; }
.qty button { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: var(--navy); font-weight: 700; }
.qty button:hover { background: var(--sand); }
.qty span { min-width: 24px; text-align: center; font-weight: 700; font-size: .86rem; }
.ci-remove { align-self: flex-start; color: var(--muted); font-size: .78rem; text-decoration: underline; margin-top: 4px; }
.ci-remove:hover { color: var(--coral); }
.drawer-foot { padding: 22px 26px; border-top: 1px solid var(--line); background: var(--cream-2); }
.drawer-foot .row { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: .9rem; color: var(--muted); }
.drawer-foot .row.total { font-size: 1.15rem; color: var(--navy); font-weight: 700; margin: 12px 0 18px; }
.drawer-foot .row.total span:last-child { font-family: var(--font-display); }
.ship-note { font-size: .78rem; color: var(--muted); text-align: center; margin-top: 12px; }

/* ---------- Quick view modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 24px;
  opacity: 0; visibility: hidden; transition: all .3s var(--ease);
}
.modal.show { opacity: 1; visibility: visible; }
.modal-card {
  background: var(--cream); border-radius: var(--radius); max-width: 860px; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; box-shadow: var(--shadow-lg);
  transform: translateY(20px) scale(.98); transition: transform .35s var(--ease); max-height: 90vh;
}
.modal.show .modal-card { transform: translateY(0) scale(1); }
.modal-img { background: var(--cream-2); }
.modal-img img { width: 100%; height: 100%; object-fit: cover; min-height: 380px; }
.modal-info { padding: 40px 38px; overflow-y: auto; position: relative; }
.modal-close { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 50%; background: var(--cream-2); display: grid; place-items: center; color: var(--navy); }
.modal-close:hover { background: var(--sand); }
.modal-info .card-cat { margin-bottom: 8px; }
.modal-info h2 { font-size: 1.7rem; margin-bottom: 12px; }
.modal-info .m-price { font-family: var(--font-display); font-size: 1.6rem; color: var(--coral); margin-bottom: 18px; }
.modal-info p.desc { color: var(--charcoal); font-size: .95rem; margin-bottom: 22px; }
.modal-info .specs { list-style: none; margin-bottom: 26px; }
.modal-info .specs li { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: .88rem; color: var(--charcoal); border-bottom: 1px solid var(--line); }
.modal-info .specs svg { width: 17px; height: 17px; color: var(--coral); flex-shrink: 0; }
.modal-actions { display: flex; gap: 12px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translate(-50%, 120%);
  background: var(--navy); color: var(--cream); padding: 15px 26px; border-radius: 40px;
  display: flex; align-items: center; gap: 12px; z-index: 130; box-shadow: var(--shadow-lg);
  font-weight: 600; font-size: .9rem; opacity: 0; visibility: hidden; pointer-events: none;
  transition: transform .4s var(--ease), opacity .3s, visibility 0s linear .4s;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition: transform .4s var(--ease), opacity .3s, visibility 0s; }
.toast svg { width: 20px; height: 20px; color: var(--taupe-2); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  /* Chips become one swipeable row that bleeds to the screen edge */
  .filters {
    --bleed: 28px; flex: 1 1 100%;
    -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity;
    margin: 0 calc(-1 * var(--bleed)); padding: 2px var(--bleed); scroll-padding-inline: var(--bleed);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--bleed), #000 calc(100% - 2 * var(--bleed)), transparent);
            mask-image: linear-gradient(90deg, transparent 0, #000 var(--bleed), #000 calc(100% - 2 * var(--bleed)), transparent);
  }
  .filters::-webkit-scrollbar { display: none; }
  .chip { scroll-snap-align: start; }
  .shop-tools { margin-left: 0; }
  .nav { display: none; }
  .menu-toggle { display: grid; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 440px; margin: 0 auto; width: 100%; }
  .story-inner, .custom-inner, .values-grid, .rev-grid { grid-template-columns: 1fr; }
  .custom-inner { padding: 44px 34px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .faq-inner { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .announce .opt { display: none; }
  .wrap { padding: 0 18px; }
  /* Hero carries a touch more side padding — big type + dark bg needs the breathing room */
  .hero-inner { padding-left: 24px; padding-right: 24px; }
  .section { padding: 64px 0; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 18px 14px; }
  .feat-grid { gap: 14px; }
  .card-add { opacity: 1; transform: none; }
  .card-fav { opacity: 1; transform: none; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .hero-meta { flex-wrap: wrap; gap: 18px; }
  .modal-card { grid-template-columns: 1fr; }
  .modal-img img { min-height: 240px; max-height: 280px; }
  .news form { flex-direction: column; }
  .shop-tools { margin-left: 0; width: 100%; }
  .filters { --bleed: 18px; }
  .search-wrap { flex: 1; }
  .search-wrap input, .search-wrap input:focus { width: 100%; }
  .faq-list details p { padding-right: 0; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
}
