/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #FDFAF6;
  --fg: #3A3232;
  --accent-rose: #C9917A;
  --accent-sage: #8FAF9C;
  --accent-sand: #E8D8C4;
  --muted: #9B8E87;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
}

html { font-size: 16px; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

/* === NAVBAR === */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2.5rem;
  border-bottom: 1px solid var(--accent-sand);
}

.nav-brand {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--fg);
}

.nav-tagline {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--accent-rose); }

.nav-shop-btn {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  padding: 0.4rem 1rem;
  border: 1px solid var(--accent-rose);
  border-radius: 2rem;
  color: var(--accent-rose);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.nav-shop-btn:hover { background: var(--accent-rose); color: #fff; }

/* === HERO === */
.hero {
  padding: 0 2.5rem 5rem;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 85vh;
  align-items: stretch;
}

.hero-image-wrap {
  position: relative;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 500px;
}

.hero-text {
  padding: 4rem 3.5rem 4rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg);
}

.hero-overline {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-rose);
  margin-bottom: 1.25rem;
}

.hero-headline {
  font-family: var(--serif);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--fg);
  margin-bottom: 1.75rem;
}

.hero-headline em {
  font-style: italic;
  color: var(--accent-rose);
}

.hero-sub {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 32ch;
  margin-bottom: 2.5rem;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.pill {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border: 1px solid var(--accent-sand);
  border-radius: 2rem;
  color: var(--muted);
}

/* === COLLECTION === */
.collection {
  padding: 6rem 2.5rem;
  background: var(--fg);
}

.collection-inner { max-width: 1100px; margin: 0 auto; }

.section-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-sage);
  margin-bottom: 2rem;
}

.label-line {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--accent-sage);
  opacity: 0.5;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  text-align: center;
  color: var(--bg);
  margin-bottom: 4rem;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.category-card {
  padding: 2.5rem 2rem;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  transition: border-color 0.3s;
}

.category-card:hover { border-color: var(--accent-rose); }

.category-card h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--bg);
  margin-bottom: 0.75rem;
}

.category-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}

.cat-visual {
  height: 80px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  overflow: hidden;
}

.dot-blanket {
  width: 60px; height: 40px;
  background: var(--accent-rose);
  border-radius: 4px;
  opacity: 0.8;
}

.dot-blanket-2 {
  width: 45px; height: 32px;
  background: var(--accent-sage);
  border-radius: 4px;
  opacity: 0.6;
  margin-left: -10px;
}

.cat-stripe { height: 100%; border-radius: 2px; }
.s1 { width: 22px; background: #D4A9A0; }
.s2 { width: 22px; background: #C9B4D4; }
.s3 { width: 22px; background: #A9C4D4; }

.cat-circle { border-radius: 50%; }
.c1 { width: 38px; height: 38px; background: var(--accent-rose); opacity: 0.7; }
.c2 { width: 28px; height: 28px; background: var(--accent-sage); opacity: 0.6; }
.c3 { width: 20px; height: 20px; background: var(--accent-sand); }

/* === PHILOSOPHY === */
.philosophy {
  padding: 7rem 2.5rem;
  background: var(--bg);
}

.philosophy-inner { max-width: 860px; margin: 0 auto; }

.philosophy-quote {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 300;
  font-style: italic;
  color: var(--fg);
  text-align: center;
  margin-bottom: 3rem;
  line-height: 1.3;
}

.philosophy-body { display: grid; gap: 1.5rem; }

.philosophy-body p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 60ch;
  margin: 0 auto;
}

/* === HOW === */
.how {
  padding: 6rem 2.5rem;
  background: var(--accent-sand);
}

.how-inner { max-width: 1100px; margin: 0 auto; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.step { padding: 2rem 0; }

.step-num {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 300;
  color: var(--accent-rose);
  opacity: 0.5;
  display: block;
  margin-bottom: 1rem;
}

.step h4 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--fg);
  margin-bottom: 0.75rem;
}

.step p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

/* === CLOSING === */
.closing {
  padding: 8rem 2.5rem;
  background: var(--bg);
  text-align: center;
}

.closing-headline {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 1.5rem;
}

.closing-sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 44ch;
  margin: 0 auto 3.5rem;
  line-height: 1.7;
}

.closing-sigil {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.sigil-mark {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-rose) 0%, var(--accent-sage) 100%);
  opacity: 0.6;
}

.closing-sigil span {
  font-family: var(--serif);
  font-size: 1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

/* === FOOTER === */
.footer {
  padding: 3rem 2.5rem 2rem;
  border-top: 1px solid var(--accent-sand);
  text-align: center;
}

.footer-brand {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.4rem;
}

.footer-sub {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.footer-copy {
  font-size: 0.7rem;
  color: var(--muted);
  opacity: 0.6;
}

/* === SHOP PAGE === */
.shop-hero { padding: 5rem 2.5rem 3rem; border-bottom: 1px solid var(--accent-sand); text-align: center; }
.shop-hero-inner { max-width: 640px; margin: 0 auto; }
.shop-overline { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-rose); display: block; margin-bottom: 1rem; }
.shop-headline { font-family: var(--serif); font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 300; color: var(--fg); margin-bottom: 1rem; }
.shop-sub { font-size: 1rem; color: var(--muted); max-width: 50ch; margin: 0 auto; line-height: 1.7; }

.shop-grid-section { padding: 4rem 2.5rem; }
.shop-grid-inner { max-width: 1100px; margin: 0 auto; }
.shop-empty { text-align: center; padding: 4rem; color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.product-card { background: #fff; border: 1px solid var(--accent-sand); transition: transform 0.3s, box-shadow 0.3s; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(58,50,50,0.08); }
.product-card--featured { border-color: var(--accent-rose); }
.product-card-link { display: block; text-decoration: none; color: inherit; }
.product-img-wrap { width: 100%; aspect-ratio: 1; overflow: hidden; background: var(--accent-sand); }
.product-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-img-placeholder { width: 100%; height: 100%; background: var(--accent-sand); }
.product-info { padding: 1.5rem; }
.product-type { font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent-rose); display: block; margin-bottom: 0.5rem; }
.product-name { font-family: var(--serif); font-size: 1.4rem; font-weight: 400; color: var(--fg); margin-bottom: 0.5rem; }
.product-desc { font-size: 0.85rem; color: var(--muted); line-height: 1.6; margin-bottom: 1.25rem; }
.product-footer { display: flex; align-items: center; justify-content: space-between; }
.product-price { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--fg); }
.product-cta { font-size: 0.8rem; color: var(--accent-rose); letter-spacing: 0.05em; }

.shop-promise { padding: 4rem 2.5rem; background: var(--accent-sand); }
.shop-promise-inner { max-width: 1100px; margin: 0 auto; }
.promise-items { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.promise-item { text-align: center; }
.promise-icon { font-size: 1.5rem; color: var(--accent-rose); margin-bottom: 0.75rem; }
.promise-item h4 { font-family: var(--serif); font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--fg); }
.promise-item p { font-size: 0.8rem; color: var(--muted); line-height: 1.5; }

/* === PRODUCT DETAIL PAGE === */
.product-detail { padding: 3rem 2.5rem 5rem; }
.product-detail-inner { max-width: 1100px; margin: 0 auto; }
.breadcrumb { margin-bottom: 2rem; }
.breadcrumb a { font-size: 0.85rem; color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent-rose); }
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.product-gallery { position: sticky; top: 2rem; }
.product-main-img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; border: 1px solid var(--accent-sand); }
.product-main-placeholder { width: 100%; aspect-ratio: 1; background: var(--accent-sand); }
.product-purchase { padding-top: 1rem; }
.product-detail-name { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 400; color: var(--fg); margin-bottom: 0.5rem; }
.product-detail-price { font-family: var(--serif); font-size: 1.8rem; font-weight: 600; color: var(--accent-rose); margin-bottom: 1.5rem; }
.product-sizes { margin-bottom: 1.5rem; }
.size-label { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.75rem; }
.size-chips { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.size-chip { padding: 0.35rem 0.9rem; border: 1px solid var(--accent-sand); border-radius: 2rem; font-size: 0.8rem; color: var(--fg); }
.product-desc-full { font-size: 0.95rem; color: var(--muted); line-height: 1.8; margin-bottom: 2rem; }
.product-actions { margin-top: 2rem; }
.btn-buy { width: 100%; padding: 1rem 2rem; background: var(--accent-rose); color: #fff; border: none; font-family: var(--sans); font-size: 1rem; font-weight: 500; letter-spacing: 0.05em; cursor: pointer; transition: background 0.2s; }
.btn-buy:hover { background: #b87d66; }
.btn-buy:disabled { background: var(--muted); cursor: not-allowed; }
.checkout-note { font-size: 0.75rem; color: var(--muted); text-align: center; margin-top: 0.75rem; }

.product-specs { padding: 4rem 2.5rem; background: var(--accent-sand); }
.product-specs-inner { max-width: 700px; margin: 0 auto; }
.product-specs h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; color: var(--fg); margin-bottom: 2rem; }
.specs-grid { display: flex; flex-direction: column; gap: 0; }
.spec-row { display: grid; grid-template-columns: 160px 1fr; gap: 1rem; padding: 0.9rem 0; border-bottom: 1px solid rgba(58,50,50,0.1); }
.spec-label { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.spec-val { font-size: 0.9rem; color: var(--fg); }

.not-found { padding: 8rem 2.5rem; text-align: center; }
.nf-code { font-family: var(--serif); font-size: 6rem; font-weight: 300; color: var(--accent-sand); display: block; }
.nf-title { font-family: var(--serif); font-size: 2rem; font-weight: 400; color: var(--fg); margin-bottom: 0.75rem; }
.nf-sub { color: var(--muted); margin-bottom: 2.5rem; }
.nf-home { color: var(--accent-rose); text-decoration: none; font-size: 0.9rem; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .navbar { padding: 1rem 1.5rem; }
  .nav-tagline { display: none; }

  .hero { padding: 0 1.5rem 3rem; }
  .hero-inner { grid-template-columns: 1fr; min-height: auto; }
  .hero-image-wrap { height: 55vw; min-height: 280px; }
  .hero-img { min-height: unset; }
  .hero-text { padding: 2.5rem 0 0; }

  .collection { padding: 4rem 1.5rem; }
  .category-grid { grid-template-columns: 1fr; gap: 1rem; }

  .philosophy { padding: 4rem 1.5rem; }
  .philosophy-quote { font-size: 1.5rem; }

  .how { padding: 4rem 1.5rem; }
  .steps-grid { grid-template-columns: 1fr; gap: 2.5rem; }

  .closing { padding: 5rem 1.5rem; }

  .product-grid { grid-template-columns: 1fr; }
  .promise-items { grid-template-columns: repeat(2, 1fr); }
  .product-layout { grid-template-columns: 1fr; gap: 2rem; }
  .product-gallery { position: static; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 2.8rem; }
  .footer { padding: 2rem 1.5rem 1.5rem; }
  .shop-hero { padding: 3rem 1.5rem 2rem; }
  .shop-grid-section { padding: 2.5rem 1.5rem; }
}