/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream:    #faf7f4;
  --blush:    #f2e8e1;
  --rose:     #c4796a;
  --rose-dk:  #a85f52;
  --sage:     #8a9e8c;
  --charcoal: #2a2420;
  --muted:    #7a6e69;
  --white:    #ffffff;
  --shadow:   0 4px 24px rgba(42,36,32,.08);
  --shadow-md:0 8px 40px rgba(42,36,32,.12);
  --radius:   12px;
  --radius-lg:20px;
  --nav-h:    68px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--charcoal);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}

h1,h2,h3,h4,h5 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  line-height: 1.15;
}

em { font-style: italic; }

a { text-decoration: none; color: inherit; }

img { display: block; max-width: 100%; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .4px;
  cursor: pointer;
  border: none;
  transition: all .25s ease;
}

.btn-primary {
  background: var(--rose);
  color: var(--white);
}
.btn-primary:hover { background: var(--rose-dk); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(196,121,106,.35); }

.btn-ghost {
  background: transparent;
  color: var(--charcoal);
  border: 1.5px solid var(--charcoal);
}
.btn-ghost:hover { background: var(--charcoal); color: var(--white); }

/* ── Navbar ── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250,247,244,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}

#navbar.scrolled {
  border-bottom-color: var(--blush);
  box-shadow: 0 2px 20px rgba(42,36,32,.06);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: .5px;
  color: var(--charcoal);
}

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color .2s;
  letter-spacing: .3px;
}
.nav-links a:hover { color: var(--charcoal); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.cart-btn {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--charcoal);
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-count {
  position: absolute;
  top: -2px; right: -4px;
  background: var(--rose);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  width: 17px; height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0);
  transition: all .2s;
}
.cart-count.visible { opacity: 1; transform: scale(1); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: all .3s;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 16px 24px 20px;
  gap: 16px;
  border-top: 1px solid var(--blush);
}
.mobile-menu a {
  font-size: 16px;
  font-weight: 500;
  color: var(--charcoal);
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  padding: calc(var(--nav-h) + 60px) 24px 80px;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(52px, 6vw, 80px);
  font-weight: 300;
  color: var(--charcoal);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 16px;
  color: var(--muted);
  max-width: 420px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-blob {
  position: absolute;
  width: 420px; height: 420px;
  background: radial-gradient(ellipse at 40% 40%, #f2e0d8 0%, #e8d5cc 50%, transparent 70%);
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  animation: morphBlob 8s ease-in-out infinite;
}

@keyframes morphBlob {
  0%,100% { border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%; }
  33%      { border-radius: 45% 55% 40% 60% / 60% 40% 55% 45%; }
  66%      { border-radius: 55% 45% 60% 40% / 45% 55% 50% 50%; }
}

.hero-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
  min-width: 160px;
}

.card-1 { top: 80px; right: 20px; animation: float 4s ease-in-out infinite; }
.card-2 { bottom: 100px; left: 20px; animation: float 4s ease-in-out infinite .8s; }

@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

.card-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--rose);
  background: rgba(196,121,106,.1);
  padding: 3px 8px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 8px;
}

.card-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  color: var(--charcoal);
  margin-bottom: 4px;
}

.card-price { font-size: 14px; font-weight: 600; color: var(--rose); }

.hero-stat {
  position: absolute;
  background: var(--charcoal);
  color: var(--white);
  border-radius: var(--radius);
  padding: 12px 18px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-1 { bottom: 160px; right: 30px; }
.hero-stat strong { font-size: 20px; font-family: 'Cormorant Garamond', serif; }
.hero-stat span   { font-size: 11px; color: rgba(255,255,255,.7); }

/* ── Trust Bar ── */
.trust-bar {
  background: var(--charcoal);
  color: rgba(255,255,255,.85);
  padding: 18px 24px;
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
}

/* ── Sections ── */
.section {
  padding: 100px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 14px;
}

.section-header h2 { font-size: clamp(36px, 4vw, 52px); }

.section-sub {
  margin-top: 16px;
  color: var(--muted);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Filter Tabs ── */
.filter-tabs {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-tab {
  padding: 9px 22px;
  border-radius: 50px;
  border: 1.5px solid var(--blush);
  background: transparent;
  color: var(--muted);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
}

.filter-tab:hover,
.filter-tab.active {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--white);
}

/* ── Products Grid ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.product-img {
  background: var(--blush);
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  position: relative;
}

.product-badge {
  position: absolute;
  top: 14px; left: 14px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
}

.badge-bestseller { background: var(--rose); color: #fff; }
.badge-new        { background: var(--sage); color: #fff; }
.badge-sale       { background: var(--charcoal); color: #fff; }

.product-info { padding: 20px 22px 22px; }

.product-brand {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.product-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  margin-bottom: 8px;
}

.product-stars { color: var(--rose); font-size: 12px; margin-bottom: 14px; }
.product-stars span { color: var(--muted); font-size: 11px; margin-left: 4px; }

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-price { font-size: 18px; font-weight: 600; color: var(--charcoal); }
.product-original { font-size: 13px; color: var(--muted); text-decoration: line-through; margin-left: 6px; }

.add-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--rose);
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
}
.add-btn:hover { background: var(--rose-dk); transform: scale(1.1); }

/* ── Routine Section ── */
.routine-section {
  background: var(--blush);
  padding: 100px 24px;
}

.routine-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: center;
}

.routine-text .eyebrow { margin-bottom: 14px; }
.routine-text h2 { font-size: clamp(36px, 4vw, 52px); margin-bottom: 20px; }
.routine-text p { color: var(--muted); font-size: 15px; line-height: 1.7; }

.routine-steps { display: flex; flex-direction: column; gap: 0; }

.step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid rgba(42,36,32,.08);
  transition: all .2s;
}
.step:last-child { border-bottom: none; }
.step:hover .step-num { color: var(--rose); }

.step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 300;
  color: rgba(42,36,32,.2);
  min-width: 48px;
  line-height: 1;
  transition: color .2s;
}

.step-content h4 { font-family: 'Cormorant Garamond', serif; font-size: 22px; margin-bottom: 6px; }
.step-content p  { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ── Testimonials ── */
.testimonials-section { background: var(--cream); }

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 24px;
}

.testimonial {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow);
}

.featured-testimonial {
  background: var(--charcoal);
  color: var(--white);
}

.featured-testimonial .stars,
.featured-testimonial .reviewer strong { color: var(--white); }
.featured-testimonial p { color: rgba(255,255,255,.85); }
.featured-testimonial .reviewer span  { color: rgba(255,255,255,.5); }

.stars { color: var(--rose); font-size: 14px; margin-bottom: 16px; }

.testimonial > p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 24px;
  font-style: italic;
}

.reviewer { display: flex; align-items: center; gap: 12px; }

.reviewer-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--blush);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 15px;
  color: var(--rose);
}
.featured-testimonial .reviewer-avatar { background: rgba(255,255,255,.15); color: #fff; }

.reviewer strong { display: block; font-size: 14px; font-weight: 600; }
.reviewer span   { font-size: 12px; color: var(--muted); }

/* ── About ── */
.about-section {
  background: var(--white);
  padding: 100px 24px;
}

.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
  height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-blob {
  position: absolute;
  width: 380px; height: 380px;
  background: radial-gradient(ellipse, var(--blush) 0%, transparent 70%);
  border-radius: 50%;
}

.about-img-placeholder {
  position: relative;
  z-index: 1;
  width: 300px; height: 360px;
  background: var(--blush);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
  border: 2px dashed rgba(42,36,32,.15);
}

.about-text .eyebrow { margin-bottom: 14px; }
.about-text h2 { font-size: clamp(36px, 4vw, 52px); margin-bottom: 24px; }
.about-text p  { color: var(--muted); line-height: 1.75; margin-bottom: 16px; }
.about-text .btn { margin-top: 12px; }

/* ── Newsletter ── */
.newsletter-section {
  background: var(--rose);
  padding: 80px 24px;
  text-align: center;
}

.newsletter-inner { max-width: 600px; margin: 0 auto; }

.newsletter-section .eyebrow { color: rgba(255,255,255,.7); margin-bottom: 10px; }

.newsletter-section h2 {
  font-size: clamp(32px, 4vw, 48px);
  color: var(--white);
  margin-bottom: 14px;
}

.newsletter-section > .newsletter-inner > p {
  color: rgba(255,255,255,.8);
  margin-bottom: 32px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto 12px;
}

.newsletter-form input {
  flex: 1;
  padding: 13px 20px;
  border-radius: 50px;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  outline: none;
  background: rgba(255,255,255,.95);
}

.newsletter-form .btn-primary {
  background: var(--charcoal);
  white-space: nowrap;
}
.newsletter-form .btn-primary:hover { background: #1a1310; box-shadow: 0 6px 20px rgba(0,0,0,.3); }

.newsletter-fine { font-size: 12px; color: rgba(255,255,255,.55); }

/* ── Contact ── */
.contact-section { padding: 100px 24px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 32px; }

.contact-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-item svg { margin-top: 2px; color: var(--rose); flex-shrink: 0; }
.contact-item strong { display: block; margin-bottom: 4px; }
.contact-item p { color: var(--muted); font-size: 14px; }

.contact-form { display: flex; flex-direction: column; gap: 16px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.contact-form input,
.contact-form textarea {
  padding: 13px 18px;
  border-radius: var(--radius);
  border: 1.5px solid var(--blush);
  background: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--charcoal);
  outline: none;
  transition: border-color .2s;
  resize: none;
}

.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--rose); }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--muted); }

.contact-form .btn { align-self: flex-start; }

/* ── Footer ── */
.footer {
  background: var(--charcoal);
  color: rgba(255,255,255,.7);
  padding: 64px 24px 32px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 80px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand .logo { color: var(--white); font-size: 24px; margin-bottom: 14px; }
.footer-brand p     { font-size: 14px; line-height: 1.7; }

.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }

.footer-col h5 {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  margin-bottom: 10px;
  transition: color .2s;
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  max-width: 1200px;
  margin: 28px auto 0;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 8px;
}

/* ── Cart Drawer ── */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(42,36,32,.4);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
  backdrop-filter: blur(4px);
}
.cart-overlay.open { opacity: 1; pointer-events: all; }

.cart-drawer {
  position: fixed;
  top: 0; right: 0;
  width: 400px;
  max-width: 95vw;
  height: 100vh;
  background: var(--white);
  z-index: 201;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 40px rgba(42,36,32,.15);
}
.cart-drawer.open { transform: translateX(0); }

.cart-header {
  padding: 24px;
  border-bottom: 1px solid var(--blush);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-header h3 { font-size: 22px; }

.cart-header button {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: var(--muted);
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.cart-header button:hover { background: var(--blush); }

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

.cart-empty {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--muted);
  text-align: center;
}
.cart-empty svg { opacity: .25; }

.cart-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--blush);
}

.cart-item-emoji {
  width: 64px; height: 64px;
  background: var(--blush);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
}

.cart-item-info { flex: 1; }
.cart-item-name { font-family: 'Cormorant Garamond', serif; font-size: 17px; margin-bottom: 4px; }
.cart-item-brand { font-size: 12px; color: var(--muted); margin-bottom: 10px; }

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qty-btn {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--blush);
  background: none;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
  color: var(--charcoal);
}
.qty-btn:hover { border-color: var(--rose); color: var(--rose); }

.qty-val { font-size: 14px; font-weight: 600; min-width: 20px; text-align: center; }

.cart-item-price { font-weight: 600; font-size: 15px; color: var(--charcoal); }

.remove-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  font-size: 16px;
  padding: 4px;
  transition: color .2s;
}
.remove-btn:hover { color: var(--rose); }

.cart-footer {
  padding: 20px 24px 28px;
  border-top: 1px solid var(--blush);
}

.cart-subtotal {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.cart-shipping-note {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 18px;
}

.checkout-btn { width: 100%; }

/* ── Toast ── */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--charcoal);
  color: var(--white);
  padding: 14px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  white-space: nowrap;
}

.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; min-height: auto; padding-top: calc(var(--nav-h) + 48px); }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-visual { display: none; }

  .routine-inner { grid-template-columns: 1fr; gap: 48px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; }
  .about-visual { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: repeat(3, 1fr); }

  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-menu.open { display: flex; }
}

@media (max-width: 600px) {
  .trust-bar { gap: 20px; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding: 18px 24px; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 4px; text-align: center; }
  .newsletter-form { flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }
}
