/* ============================================================
   VERSA — design system & components
   ============================================================ */

:root {
  --bg: #faf9f5;
  --surface: #ffffff;
  --ink: #1c1917;
  --ink-soft: #4b4742;
  --muted: #8a847c;
  --line: #e8e5df;
  --accent: #c4562f;
  --accent-hover: #a84824;
  --accent-soft: #f6e7df;
  --star: #d99a2b;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;

  --shadow-sm: 0 1px 2px rgba(28, 25, 23, 0.04), 0 4px 16px rgba(28, 25, 23, 0.05);
  --shadow-md: 0 8px 30px rgba(28, 25, 23, 0.10);
  --shadow-lg: 0 24px 60px rgba(28, 25, 23, 0.16);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --max-w: 1280px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.12; }
p { margin: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Typography ---------- */
.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  letter-spacing: -0.02em;
  color: var(--ink);
}

.section-sub {
  color: var(--muted);
  font-size: 1.05rem;
  margin-top: 0.9rem;
  max-width: 46ch;
}

.section { padding: clamp(4rem, 8vw, 7rem) 1.5rem; }
.section-head { max-width: var(--max-w); margin: 0 auto 3rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.9rem 1.7rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease-out), background-color 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
  will-change: transform;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--ink);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand { display: inline-flex; align-items: center; gap: 0.55rem; }
.brand-mark {
  width: 22px; height: 22px;
  background: var(--ink);
  border-radius: 6px;
  position: relative;
  flex: none;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 5px;
  background: var(--accent);
  border-radius: 3px;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}

.main-nav { display: flex; gap: 2rem; }
.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.2s;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after { transform: scaleX(1); }

.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  transition: transform 0.2s var(--ease-out), border-color 0.2s;
}
.cart-btn:hover { border-color: var(--ink); transform: translateY(-1px); }
.cart-btn .icon { width: 22px; height: 22px; }

.cart-count {
  position: absolute;
  top: -4px; right: -4px;
  min-width: 20px; height: 20px;
  padding: 0 5px;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 999px;
  display: grid;
  place-items: center;
  line-height: 1;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.nav-toggle span {
  width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5rem) 1.5rem clamp(3rem, 7vw, 6rem);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  letter-spacing: -0.03em;
  line-height: 1.04;
  margin-bottom: 1.4rem;
}
.hero-sub {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 46ch;
  margin-bottom: 2rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 2.4rem; }

.hero-stats {
  list-style: none;
  display: flex;
  gap: 2.4rem;
  padding: 0;
  margin: 0;
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
}
.hero-stats span { font-size: 0.85rem; color: var(--muted); }

.hero-media { position: relative; }
.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.hero-badge {
  position: absolute;
  left: -1rem; bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--surface);
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  box-shadow: var(--shadow-md);
}
.badge-dot {
  width: 9px; height: 9px;
  background: #3d8b5f;
  border-radius: 999px;
  flex: none;
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(61, 139, 95, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(61, 139, 95, 0); }
}

/* ---------- Trust bar ---------- */
.trustbar {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
}
.trustbar-track {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  padding: 1rem 2rem;
  white-space: nowrap;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  animation: marquee 28s linear infinite;
  width: max-content;
}
.trustbar-track .dot { color: var(--accent); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.trustbar:hover .trustbar-track { animation-play-state: paused; }

/* ---------- Occasions ---------- */
.occasion-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.occasion-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  cursor: pointer;
  text-align: left;
  padding: 0;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
  will-change: transform;
}
.occasion-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.occasion-card img {
  width: 100%;
  aspect-ratio: 4 / 4.2;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.occasion-card:hover img { transform: scale(1.06); }
.occasion-card .occ-label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.6rem 1.2rem 1.2rem;
  background: linear-gradient(to top, rgba(20, 18, 16, 0.75), transparent);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.occasion-card .occ-label strong { font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; }
.occasion-card .occ-label span { font-size: 0.85rem; opacity: 0.85; }

/* ---------- Shop ---------- */
.shop-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.shop-controls { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }

.filter-group {
  display: inline-flex;
  gap: 0.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem;
}
.filter-btn {
  border: none;
  background: transparent;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: background 0.25s, color 0.25s;
}
.filter-btn:hover { color: var(--ink); }
.filter-btn.is-active { background: var(--ink); color: #fff; }

.sort-wrap { position: relative; }
.sort-wrap select {
  appearance: none;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 2.6rem 0.55rem 1.2rem;
  cursor: pointer;
}
.sort-wrap::after {
  content: "";
  position: absolute;
  right: 1rem; top: 50%;
  width: 8px; height: 8px;
  border-right: 2px solid var(--ink-soft);
  border-bottom: 2px solid var(--ink-soft);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.product-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
  will-change: transform;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.product-media { position: relative; overflow: hidden; }
.product-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.product-card:hover .product-media img { transform: scale(1.06); }
.product-tag {
  position: absolute;
  top: 0.85rem; left: 0.85rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
}

.product-info { padding: 1.1rem 1.2rem 1.25rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.product-cat { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.product-name { font-family: var(--font-display); font-size: 1.18rem; font-weight: 500; color: var(--ink); }
.product-desc { font-size: 0.9rem; color: var(--muted); line-height: 1.5; }
.product-row { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; padding-top: 0.5rem; }
.product-price { font-weight: 600; font-size: 1.05rem; }
.product-rating { display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.85rem; color: var(--ink-soft); }
.product-rating svg { width: 15px; height: 15px; color: var(--star); fill: var(--star); }

.add-btn {
  width: 100%;
  margin-top: 0.7rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  padding: 0.7rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  transition: background 0.25s, transform 0.2s var(--ease-out), border-color 0.25s;
}
.add-btn:hover { background: var(--accent); border-color: var(--accent); }
.add-btn:active { transform: scale(0.98); }
.add-btn.is-added { background: #fff; color: var(--ink); border-color: var(--accent); }

.scene-banner {
  max-width: var(--max-w);
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  color: var(--ink);
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  font-size: 0.92rem;
}
.scene-banner strong { font-weight: 600; }
.scene-clear {
  border: none;
  background: transparent;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: underline;
  padding: 0;
}
.scene-clear:hover { color: var(--accent-hover); }

.empty-state {
  max-width: var(--max-w);
  margin: 3rem auto 0;
  text-align: center;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

/* ---------- About ---------- */
.about { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.about-text { color: var(--ink-soft); font-size: 1.08rem; margin: 1.4rem 0 2rem; max-width: 60ch; }

.about-points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1.4rem; }
.about-points li { display: flex; gap: 1rem; align-items: flex-start; }
.point-icon {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--accent-soft);
  position: relative;
}
.point-icon::after {
  content: "";
  position: absolute;
  inset: 11px;
  border-radius: 50%;
  background: var(--accent);
}
.about-points h3 { font-size: 1.1rem; font-weight: 600; }
.about-points p { color: var(--muted); font-size: 0.95rem; margin-top: 0.2rem; }

.about-media { position: relative; }
.about-media img {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.about-quote {
  position: absolute;
  right: -0.8rem; bottom: 1.5rem;
  max-width: 260px;
  background: var(--ink);
  color: #fff;
  padding: 1.1rem 1.3rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}
.about-quote p { font-family: var(--font-display); font-size: 1.05rem; }
.about-quote span { display: block; margin-top: 0.4rem; font-size: 0.8rem; opacity: 0.7; }

/* ---------- Reviews ---------- */
.review-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.review-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.review-stars { display: inline-flex; gap: 2px; }
.review-stars svg { width: 17px; height: 17px; color: var(--star); fill: var(--star); }
.review-text { font-size: 1.02rem; color: var(--ink-soft); line-height: 1.6; flex: 1; }
.review-author { display: flex; align-items: center; gap: 0.8rem; }
.review-avatar {
  width: 42px; height: 42px;
  border-radius: 999px;
  background: var(--accent-soft);
  display: grid;
  place-items: center;
  font-weight: 600;
  color: var(--accent);
  flex: none;
}
.review-author strong { display: block; font-size: 0.95rem; font-weight: 600; }
.review-author span { font-size: 0.82rem; color: var(--muted); }

/* ---------- Newsletter ---------- */
.newsletter-card {
  max-width: var(--max-w);
  margin: 0 auto;
  background: var(--ink);
  color: #fff;
  border-radius: calc(var(--radius-lg) + 8px);
  padding: clamp(3rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 4rem);
  text-align: center;
}
.newsletter-card .section-title { color: #fff; }
.newsletter-sub { color: rgba(255, 255, 255, 0.72); margin: 0.9rem auto 2rem; max-width: 44ch; }
.newsletter-form {
  display: flex;
  gap: 0.7rem;
  max-width: 460px;
  margin: 0 auto;
}
.newsletter-form input {
  flex: 1;
  font-family: inherit;
  font-size: 1rem;
  padding: 0.9rem 1.3rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  outline: none;
  transition: border-color 0.25s, background 0.25s;
}
.newsletter-form input::placeholder { color: rgba(255, 255, 255, 0.45); }
.newsletter-form input:focus { border-color: var(--accent); background: rgba(255, 255, 255, 0.12); }
.newsletter-form .btn-primary { background: var(--accent); }
.newsletter-form .btn-primary:hover { background: var(--accent-hover); }
.newsletter-note { min-height: 1.4em; margin-top: 0.9rem; font-size: 0.9rem; color: #9fd8b4; }

/* ---------- Footer ---------- */
.site-footer { background: #17140f; color: #cbc7bf; padding: 4rem 1.5rem 2rem; }
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-mark { background: #fff; }
.footer-brand p { color: #8f8a82; margin-top: 1rem; font-size: 0.95rem; }
.footer-col { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col h4 { color: #fff; font-size: 0.9rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 0.4rem; }
.footer-col a { color: #9b968d; font-size: 0.95rem; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #8f8a82;
}
.footer-legal { display: flex; gap: 1.4rem; }
.footer-legal a { color: #8f8a82; }
.footer-legal a:hover { color: #fff; }

/* ---------- Cart drawer ---------- */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 18, 16, 0.45);
  backdrop-filter: blur(3px);
  z-index: 80;
  opacity: 0;
  transition: opacity 0.3s;
}
.cart-overlay.is-open { opacity: 1; }

.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(420px, 100vw);
  background: var(--bg);
  z-index: 90;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-out);
}
.cart-drawer.is-open { transform: translateX(0); }

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.3rem 1.5rem;
  border-bottom: 1px solid var(--line);
}
.cart-head h3 { font-family: var(--font-display); font-size: 1.4rem; }
.cart-close {
  width: 40px; height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: border-color 0.2s;
}
.cart-close:hover { border-color: var(--ink); }
.cart-close .icon { width: 20px; height: 20px; }

.cart-body { flex: 1; overflow-y: auto; padding: 1rem 1.5rem; }
.cart-empty {
  text-align: center;
  color: var(--muted);
  padding: 3rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}
.cart-empty .icon { width: 44px; height: 44px; color: var(--line); }

.cart-item {
  display: flex;
  gap: 0.9rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.cart-item img {
  width: 72px; height: 72px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex: none;
}
.cart-item-info { flex: 1; display: flex; flex-direction: column; }
.cart-item-name { font-weight: 600; font-size: 0.95rem; }
.cart-item-meta { font-size: 0.82rem; color: var(--muted); }
.cart-item-bottom { margin-top: auto; display: flex; align-items: center; justify-content: space-between; }
.qty-ctrl { display: inline-flex; align-items: center; gap: 0.1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.qty-ctrl button {
  width: 30px; height: 30px;
  border: none; background: transparent;
  font-size: 1.1rem; color: var(--ink);
  display: grid; place-items: center;
}
.qty-ctrl button:hover { color: var(--accent); }
.qty-ctrl span { min-width: 22px; text-align: center; font-size: 0.9rem; font-weight: 600; }
.cart-item-price { font-weight: 600; }
.cart-remove { background: none; border: none; color: var(--muted); font-size: 0.8rem; text-decoration: underline; padding: 0; }
.cart-remove:hover { color: var(--accent); }

.cart-foot { padding: 1.2rem 1.5rem; border-top: 1px solid var(--line); background: var(--surface); }
.cart-subtotal { display: flex; justify-content: space-between; font-size: 1.05rem; font-weight: 600; margin-bottom: 0.4rem; }
.cart-shipping { font-size: 0.82rem; color: var(--muted); margin-bottom: 1rem; }
.cart-checkout {
  width: 100%;
  border: none;
  background: var(--ink);
  color: #fff;
  padding: 0.95rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.25s, transform 0.2s var(--ease-out);
}
.cart-checkout:hover { background: var(--accent); }
.cart-checkout:active { transform: scale(0.98); }
.cart-clear {
  display: block;
  margin: 0.7rem auto 0;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 0.85rem;
  text-decoration: underline;
}
.cart-clear:hover { color: var(--accent); }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: #fff;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.35s var(--ease-out);
}
.toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .occasion-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .about-inner { grid-template-columns: 1fr; }
  .about-media { max-width: 480px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .main-nav {
    position: fixed;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    background: var(--bg);
    padding: 1.2rem 1.5rem 1.6rem;
    gap: 1.1rem;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s, transform 0.25s var(--ease-out);
  }
  .main-nav.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .main-nav a { font-size: 1.1rem; }
  .nav-toggle { display: flex; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-media img { aspect-ratio: 16 / 11; }
  .hero-stats { gap: 1.6rem; }
  .hero-badge { left: 0.8rem; bottom: 0.8rem; }

  .occasion-grid { grid-template-columns: 1fr 1fr; gap: 0.85rem; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 0.9rem; }
  .product-info { padding: 0.9rem 0.9rem 1rem; }
  .product-name { font-size: 1.02rem; }

  .shop-head { align-items: flex-start; flex-direction: column; }
  .shop-controls { width: 100%; justify-content: space-between; }
  .filter-group { overflow-x: auto; max-width: 100%; }

  .review-grid { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 1.8rem; }
}

@media (max-width: 420px) {
  .product-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
