:root {
  --maroon: #7a2733;
  --maroon-dark: #5c1d26;
  --maroon-light: #9a3a46;
  --cream: #faf3ec;
  --cream-dark: #f1e6d8;
  --ink: #241d1b;
  --white: #ffffff;
  --gold: #d4a94c;
  --gold-light: #e8c97a;
  --shadow: 0 8px 24px rgba(36, 29, 27, 0.08);
  --radius: 14px;
  --font: 'Poppins', 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--cream-dark);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1180px;
  margin: 0 auto;
}

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

.brand .logo-mark { height: 46px; width: auto; flex-shrink: 0; }

.brand-text {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--maroon-dark);
  line-height: 1.2;
}

.brand-text span {
  display: block;
  font-weight: 400;
  font-size: 0.72rem;
  color: var(--ink);
  opacity: 0.65;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

nav.links {
  display: flex;
  gap: 28px;
  font-size: 0.95rem;
  font-weight: 500;
}

nav.links a { opacity: 0.8; transition: opacity 0.2s; }
nav.links a:hover { opacity: 1; color: var(--maroon); }

.cart-btn {
  position: relative;
  background: var(--maroon);
  color: var(--white);
  border: none;
  padding: 10px 18px;
  border-radius: 30px;
  font-family: var(--font);
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
}
.cart-btn:hover { background: var(--maroon-dark); }

.cart-count {
  background: var(--white);
  color: var(--maroon);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--maroon-dark), var(--maroon) 60%, var(--maroon-light));
  color: var(--white);
  padding: 72px 24px 96px;
  text-align: center;
}

/* Soft layered shapes for depth — purely decorative, sit behind the copy */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}
.hero::before {
  width: 340px;
  height: 340px;
  background: var(--gold);
  opacity: 0.14;
  top: -140px;
  left: -100px;
}
.hero::after {
  width: 260px;
  height: 260px;
  background: var(--white);
  opacity: 0.07;
  bottom: -80px;
  right: -60px;
}
.hero-ring {
  position: absolute;
  width: 130px;
  height: 130px;
  border: 2px solid var(--gold-light);
  opacity: 0.35;
  border-radius: 50%;
  top: 34px;
  right: 8%;
  z-index: 0;
  pointer-events: none;
}
.hero > *:not(.hero-ring):not(.wave-divider) { position: relative; z-index: 1; }

.wave-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  z-index: 1;
  display: block;
}

.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  margin-bottom: 14px;
}

.hero p {
  max-width: 560px;
  margin: 0 auto 28px;
  opacity: 0.92;
  font-size: 1.05rem;
}

.hero .tagline {
  font-style: italic;
  font-size: 0.95rem;
  opacity: 0.85;
  margin-bottom: 22px;
}

.btn-primary {
  display: inline-block;
  background: var(--white);
  color: var(--maroon-dark);
  padding: 13px 30px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: transform 0.2s;
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-primary:active { transform: scale(0.95); }

/* Section titles */
.section {
  padding: 64px 24px;
}

.section-title {
  text-align: center;
  margin-bottom: 8px;
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--maroon-dark);
}

.section-sub {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 40px;
  opacity: 0.75;
  font-size: 0.98rem;
}

/* Product grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 28px;
  max-width: 1180px;
  margin: 0 auto;
}

.card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover {
  transform: translateY(-6px) rotate(-0.5deg);
  box-shadow: 0 14px 30px rgba(36, 29, 27, 0.12);
}

.card-icon {
  position: relative;
  background: var(--cream-dark);
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 14px;
}

/* Sticker-style badge on product cards, e.g. "New" or "Popular" */
.badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--gold);
  color: var(--maroon-dark);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 5px 13px;
  border-radius: 20px;
  transform: rotate(-6deg);
  box-shadow: 0 3px 8px rgba(36, 29, 27, 0.2);
  z-index: 2;
}
/* Soft decorative blob peeking behind each product photo */
.card-icon::before {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  background: var(--gold);
  opacity: 0.16;
  border-radius: 50%;
  top: -40px;
  right: -40px;
  z-index: 0;
}
.card-icon::after {
  content: "";
  position: absolute;
  width: 90px;
  height: 90px;
  background: var(--maroon-light);
  opacity: 0.08;
  border-radius: 50%;
  bottom: -30px;
  left: -20px;
  z-index: 0;
}
.card-icon svg { width: 70px; height: 70px; position: relative; z-index: 1; }
.card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  position: relative;
  z-index: 1;
}

.card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-body h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink);
}

.card-body p {
  font-size: 0.85rem;
  opacity: 0.72;
  flex: 1;
  margin-bottom: 14px;
}

.variant-select {
  width: 100%;
  padding: 8px 10px;
  margin-bottom: 12px;
  border: 1px solid var(--cream-dark);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.82rem;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
}

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

.price {
  font-weight: 700;
  color: var(--maroon);
  font-size: 1.05rem;
}

.add-btn {
  background: var(--maroon);
  color: var(--white);
  border: none;
  padding: 8px 16px;
  border-radius: 24px;
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.add-btn:hover { background: var(--maroon-dark); }
.add-btn:active { transform: scale(0.92); }

@keyframes pop {
  0% { transform: scale(1); }
  45% { transform: scale(1.16); }
  100% { transform: scale(1); }
}
.add-btn.pop { animation: pop 0.35s ease; }

/* About */
.about {
  position: relative;
  overflow: hidden;
  background: var(--white);
  padding-bottom: 96px;
}
.about-shape-1,
.about-shape-2 {
  position: absolute;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}
.about-shape-1 {
  width: 260px;
  height: 260px;
  background: var(--gold);
  opacity: 0.12;
  top: -80px;
  right: -60px;
}
.about-shape-2 {
  width: 160px;
  height: 160px;
  border: 2px solid var(--maroon-light);
  opacity: 0.15;
  bottom: 10px;
  left: -50px;
}
.about-inner {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 48px;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1180px;
  margin: 0 auto;
}
.about-inner .logo-mark { width: 320px; max-width: 100%; height: auto; margin: 0 auto; }
.about-text { flex: 1; min-width: 280px; }
.about-text h2 { color: var(--maroon-dark); font-size: 1.7rem; margin-bottom: 14px; }
.about-text p { opacity: 0.8; margin-bottom: 12px; }
.about-text p.store-runner {
  font-size: 0.85rem;
  font-style: italic;
  font-weight: 600;
  color: var(--maroon-dark);
  opacity: 0.85;
}
.pillars { display: flex; gap: 20px; margin-top: 20px; flex-wrap: wrap; }
.pillar {
  background: var(--cream);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--maroon-dark);
  flex: 1;
  min-width: 140px;
  text-align: center;
}

.wave-divider-dark {
  height: 60px;
}

/* Policies page */
.policy-hero { text-align: center; padding-bottom: 32px; }
.policy-title { font-size: 2rem; font-weight: 600; color: var(--maroon-dark); margin-bottom: 10px; }
.policy-intro { max-width: 560px; margin: 0 auto 16px; opacity: 0.8; }
.policy-disclaimer {
  max-width: 640px;
  margin: 0 auto 24px;
  font-size: 0.82rem;
  opacity: 0.65;
  font-style: italic;
}
.policy-disclaimer a { text-decoration: underline; }
.policy-jumplinks {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
.policy-jumplinks a {
  background: var(--cream-dark);
  color: var(--maroon-dark);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 20px;
  transition: background 0.2s;
}
.policy-jumplinks a:hover { background: var(--gold-light); }

.policy-block { max-width: 780px; margin: 0 auto; padding-top: 24px; padding-bottom: 24px; }
.policy-block h2 { color: var(--maroon-dark); font-size: 1.4rem; margin-bottom: 14px; }
.policy-block p { margin-bottom: 14px; opacity: 0.85; }
.policy-block ul { margin: 0 0 14px 22px; opacity: 0.85; }
.policy-block li { margin-bottom: 6px; }
.policy-block + .policy-block { border-top: 1px solid var(--cream-dark); }

/* Contact / footer */
footer {
  position: relative;
  overflow: hidden;
  background: var(--maroon-dark);
  color: var(--cream);
  padding: 48px 24px 24px;
}
.footer-shape {
  position: absolute;
  width: 300px;
  height: 300px;
  background: var(--gold);
  opacity: 0.08;
  border-radius: 50%;
  bottom: -140px;
  right: -80px;
  z-index: 0;
  pointer-events: none;
}
.footer-inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-col h4 {
  font-size: 0.95rem;
  margin-bottom: 12px;
  color: var(--white);
}
.footer-col p, .footer-col a {
  font-size: 0.88rem;
  opacity: 0.85;
  display: block;
  margin-bottom: 8px;
}
.footer-bottom {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 0.8rem;
  opacity: 0.7;
}

/* Cart drawer */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(36,29,27,0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
  z-index: 200;
}
.overlay.active { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  max-width: 92vw;
  height: 100%;
  background: var(--white);
  z-index: 201;
  box-shadow: -8px 0 30px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease;
}
.cart-drawer.active { right: 0; }

#checkoutDrawer { right: -460px; width: 440px; }
#checkoutDrawer.active { right: 0; }

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 22px;
  border-bottom: 1px solid var(--cream-dark);
}
.cart-header h3 { color: var(--maroon-dark); font-size: 1.15rem; }
.close-btn {
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--ink);
  line-height: 1;
}

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

.cart-empty {
  text-align: center;
  opacity: 0.6;
  padding: 40px 0;
  font-size: 0.92rem;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--cream-dark);
}
.cart-item .ci-icon {
  width: 48px; height: 48px;
  background: var(--cream-dark);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  padding: 3px;
}
.cart-item .ci-icon svg { width: 24px; height: 24px; }
.cart-item .ci-icon img { width: 100%; height: 100%; object-fit: contain; object-position: center center; }
.ci-info { flex: 1; }
.ci-info .ci-name { font-weight: 600; font-size: 0.9rem; }
.ci-info .ci-price { font-size: 0.8rem; opacity: 0.65; }
.qty-control {
  display: flex;
  align-items: center;
  gap: 8px;
}
.qty-control button {
  width: 24px; height: 24px;
  border: 1px solid var(--cream-dark);
  background: var(--cream);
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1;
}
.remove-btn {
  background: none;
  border: none;
  color: var(--maroon);
  font-size: 0.78rem;
  cursor: pointer;
  margin-left: 8px;
  text-decoration: underline;
}

.cart-footer {
  padding: 18px 22px 22px;
  border-top: 1px solid var(--cream-dark);
}
.cart-subtotal {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  margin-bottom: 14px;
  font-size: 1.05rem;
}
.checkout-btn {
  width: 100%;
  background: var(--maroon);
  color: var(--white);
  border: none;
  padding: 14px;
  border-radius: 30px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  margin-bottom: 8px;
  transition: background 0.2s, transform 0.15s;
}
.checkout-btn:hover { background: var(--maroon-dark); }
.checkout-btn:active { transform: scale(0.97); }
.checkout-note {
  font-size: 0.75rem;
  opacity: 0.6;
  text-align: center;
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: var(--white);
  padding: 12px 22px;
  border-radius: 30px;
  font-size: 0.85rem;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
  z-index: 300;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 720px) {
  .nav { flex-wrap: wrap; row-gap: 10px; padding: 12px 16px; }
  .brand { flex: 1 1 auto; }
  .brand .logo-mark { height: 36px; }
  .brand-text { font-size: 0.9rem; }
  nav.links {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 20px;
    font-size: 0.88rem;
    padding-top: 6px;
    border-top: 1px solid var(--cream-dark);
  }
  .cart-btn { padding: 8px 14px; font-size: 0.85rem; }
  .hero { padding: 52px 20px 72px; }
  .hero::before { width: 200px; height: 200px; top: -90px; left: -70px; }
  .hero::after { width: 160px; height: 160px; bottom: -60px; right: -40px; }
  .hero-ring { width: 80px; height: 80px; top: 18px; right: 6%; }
  .wave-divider { height: 36px; }
  .section { padding: 44px 20px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
  .card-icon { height: 120px; padding: 22px; }
  .card-icon::before { width: 90px; height: 90px; top: -24px; right: -24px; }
  .card-icon::after { width: 54px; height: 54px; bottom: -18px; left: -12px; }
  .card-icon svg { width: 54px; height: 54px; }
  .badge { top: 6px; right: 6px; padding: 3px 9px; font-size: 0.58rem; transform: rotate(-4deg); }
  .card-body { padding: 14px 16px 16px; }
  .card-footer { flex-direction: column; align-items: stretch; gap: 10px; }
  .price { text-align: center; font-size: 1rem; }
  .add-btn { width: 100%; padding: 10px 16px; }
  .about { padding-bottom: 72px; }
  .about-shape-1 { width: 160px; height: 160px; top: -50px; right: -40px; }
  .about-shape-2 { width: 100px; height: 100px; bottom: 4px; left: -30px; }
  .wave-divider-dark { height: 36px; }
  .about-inner { flex-direction: column; text-align: center; gap: 28px; }
  .about-inner .logo-mark { width: 220px; }
  .pillars { flex-direction: column; }
  .footer-shape { width: 180px; height: 180px; bottom: -90px; right: -50px; }
  .footer-inner { flex-direction: column; gap: 24px; text-align: center; }
  .cart-drawer { width: 100%; max-width: 100vw; }
  #checkoutDrawer { width: 100% !important; max-width: 100vw; }
}

@media (max-width: 400px) {
  .grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 1.6rem; }
}

/* ---------- Scroll-reveal ----------
   Elements fade/slide up as they enter the viewport. Hidden state only
   applies once JS confirms it's running (body.js-enabled), so the page
   still looks correct if JavaScript fails to load for any reason. */
.reveal {
  transition: opacity 0.7s ease, transform 0.7s ease;
}
body.js-enabled .reveal {
  opacity: 0;
  transform: translateY(28px);
}
body.js-enabled .reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  body.js-enabled .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .card:hover { transform: none; }
  .btn-primary:hover { transform: none; }
}
