/* =========================================================
   Lily & Meant to Be: storefront theme
   Colours are taken from the logo: cream paper, blush pink,
   lavender haze, dusty rose, antique gold and sage leaves.
   ========================================================= */

:root {
  --cream: #fdf8f4;
  --paper: #fffdfb;
  --blush-50: #fdf1f3;
  --blush: #f8e4e8;
  --blush-2: #f1cbd4;
  --rose: #c07a8c;
  --rose-dark: #a35d70;
  --lavender-50: #f6f1fb;
  --lavender: #e7ddf3;
  --lavender-2: #cbb8e6;
  --lilac: #9a83c3;
  --gold: #c6a15b;
  --gold-dark: #a8843f;
  --gold-light: #ead8ad;
  --sage: #8a9a6b;
  --sage-light: #e6ecdc;
  --ink: #3a2a28;
  --ink-soft: #6e5a56;
  --muted: #94817c;
  --line: #efe0d4;
  --line-gold: rgba(198, 161, 91, 0.45);
  --danger: #b5485f;

  --font-serif: 'Cormorant Garamond', 'Cormorant', Georgia, 'Times New Roman', serif;
  --font-sans: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px -4px rgba(150, 90, 110, 0.18);
  --shadow: 0 14px 34px -18px rgba(150, 90, 110, 0.35);
  --shadow-lg: 0 30px 60px -28px rgba(130, 80, 120, 0.45);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --header-h: 78px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  flex: 1;
  position: relative;
  z-index: 1;
}

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

a {
  color: var(--rose-dark);
  text-decoration-color: rgba(163, 93, 112, 0.35);
  text-underline-offset: 3px;
  transition: color 0.25s var(--ease);
}

a:hover {
  color: var(--rose);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--ink);
  font-variant-numeric: lining-nums;
}

.brand-name,
.basket-name,
.stat-value,
.signature {
  font-variant-numeric: lining-nums;
}

p {
  margin: 0 0 1em;
}

::selection {
  background: var(--blush-2);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 3px;
  border-radius: 6px;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
  vertical-align: -0.2em;
}

.icon.tiny {
  width: 0.8em;
  height: 0.8em;
  vertical-align: 0;
}

.icon.big {
  width: 56px;
  height: 56px;
  color: var(--rose);
  margin-bottom: 12px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container.narrow {
  max-width: 760px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 12px;
}

.center {
  text-align: center;
}

.center-block {
  display: flex;
  justify-content: center;
}

.mt {
  margin-top: 16px;
}

.mt-lg {
  margin-top: 48px;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 0.875rem;
}

.upper {
  text-transform: uppercase;
}

/* ---------- Dreamy background ---------- */
.sky {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(1.5px 1.5px at 12% 18%, rgba(198, 161, 91, 0.7) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 78% 12%, rgba(154, 131, 195, 0.6) 50%, transparent 51%),
    radial-gradient(1px 1px at 64% 42%, rgba(198, 161, 91, 0.6) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 32% 66%, rgba(192, 122, 140, 0.5) 50%, transparent 51%),
    radial-gradient(1px 1px at 88% 74%, rgba(198, 161, 91, 0.6) 50%, transparent 51%),
    radial-gradient(1px 1px at 6% 88%, rgba(154, 131, 195, 0.6) 50%, transparent 51%),
    radial-gradient(40vmax 34vmax at 0% 0%, rgba(248, 220, 228, 0.75), transparent 70%),
    radial-gradient(38vmax 32vmax at 100% 18%, rgba(231, 221, 243, 0.8), transparent 70%),
    radial-gradient(36vmax 30vmax at 85% 100%, rgba(248, 220, 228, 0.55), transparent 70%),
    radial-gradient(30vmax 26vmax at 10% 80%, rgba(231, 221, 243, 0.5), transparent 70%);
}

/* ---------- Announcement bar ---------- */
.announce {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 16px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  background: linear-gradient(90deg, var(--blush), var(--lavender), var(--blush));
  background-size: 200% 100%;
  animation: shimmer 14s linear infinite;
  text-align: center;
}

.announce .icon {
  color: var(--gold);
}

@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

/* The frosted glass lives on a pseudo-element: putting backdrop-filter on the header
   itself would trap the fixed-position mobile menu inside the header bar. */
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(253, 248, 244, 0.82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  transition: background 0.35s;
}

.site-header.scrolled {
  border-color: var(--line-gold);
  box-shadow: 0 8px 24px -18px rgba(130, 80, 100, 0.5);
}

.site-header.scrolled::before {
  background: rgba(253, 248, 244, 0.92);
}

body.nav-open .site-header {
  z-index: 60;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
  transition: height 0.35s var(--ease);
}

.site-header.scrolled .header-inner {
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}

.brand img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  box-shadow: 0 4px 14px -6px rgba(192, 122, 140, 0.6);
  transition: transform 0.6s var(--ease-spring), width 0.35s var(--ease), height 0.35s var(--ease);
}

.site-header.scrolled .brand img {
  width: 46px;
  height: 46px;
}

.brand:hover img {
  transform: rotate(-8deg) scale(1.05);
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.brand-name em,
.footer-name em,
.signature em {
  font-style: italic;
  color: var(--rose);
  padding: 0 0.08em;
}

.main-nav {
  display: flex;
  gap: 6px;
  margin-left: auto;
}

.main-nav > a {
  position: relative;
  padding: 8px 14px;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.main-nav > a::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 1.5px;
  background: linear-gradient(90deg, var(--gold), var(--rose));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.main-nav > a:hover::after,
.main-nav > a.active::after {
  transform: scaleX(1);
}

.nav-mobile-extra,
.main-nav .nav-close {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.icon-btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s, transform 0.25s var(--ease);
}

.icon-btn:hover {
  background: var(--blush);
  color: var(--rose-dark);
}

.icon-btn .icon {
  width: 22px;
  height: 22px;
}

.nav-toggle {
  display: none;
}

.badge {
  position: absolute;
  top: 3px;
  right: 1px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--rose);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 19px;
  text-align: center;
  box-shadow: 0 0 0 2px var(--cream);
  transition: transform 0.4s var(--ease-spring);
}

.badge.is-empty {
  transform: scale(0);
}

.badge.bump {
  animation: bump 0.6s var(--ease-spring);
}

@keyframes bump {
  40% {
    transform: scale(1.45);
  }
}

.header-search {
  border-top: 1px solid var(--line);
  padding: 14px 0;
  animation: dropIn 0.35s var(--ease);
}

.header-search .container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-search .icon {
  color: var(--muted);
}

.header-search input {
  flex: 1;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 1.1rem;
  padding: 8px 0;
  outline: none;
  color: var(--ink);
}

@keyframes dropIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), color 0.3s, border-color 0.3s;
  -webkit-tap-highlight-color: transparent;
}

.btn .icon {
  width: 18px;
  height: 18px;
  transition: transform 0.3s var(--ease);
}

.btn:hover .icon:last-child:not(:first-child) {
  transform: translateX(3px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #cf8a9c 0%, var(--rose) 50%, #a96680 100%);
  background-size: 160% 160%;
  box-shadow: 0 10px 22px -12px rgba(163, 93, 112, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-primary:hover {
  color: #fff;
  background-position: 100% 100%;
  transform: translateY(-2px);
  box-shadow: 0 16px 28px -14px rgba(163, 93, 112, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.55);
  border-color: var(--line-gold);
}

.btn-ghost:hover {
  color: var(--rose-dark);
  background: var(--paper);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 28px;
  font-size: 1.02rem;
}

.btn[disabled],
.btn.is-loading {
  opacity: 0.6;
  pointer-events: none;
}

.btn.is-loading::after {
  content: '';
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  cursor: pointer;
}

.link-btn:hover {
  color: var(--rose-dark);
}

.link-btn .icon {
  width: 16px;
  height: 16px;
}

/* ---------- Headings & decoration ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.eyebrow .icon {
  color: var(--gold);
}

.section {
  position: relative;
  padding: 72px 0;
}

.section.pt-0 {
  padding-top: 0;
}

.section.pt-sm {
  padding-top: 24px;
}

.section-tint {
  background: linear-gradient(180deg, rgba(246, 241, 251, 0) 0%, rgba(246, 241, 251, 0.85) 18%, rgba(253, 241, 243, 0.85) 82%, rgba(253, 241, 243, 0) 100%);
}

.section-head {
  text-align: center;
  margin-bottom: 44px;
}

.section-title {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  margin-bottom: 0.3em;
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--rose);
}

.divider::before,
.divider::after {
  content: '';
  width: min(120px, 22vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.divider::after {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.divider .icon {
  width: 16px;
  height: 16px;
}

.page-hero {
  text-align: center;
  padding: 64px 0 40px;
}

.page-hero.compact {
  padding: 44px 0 28px;
}

.page-title {
  font-size: clamp(2.3rem, 4.6vw, 3.4rem);
  margin-bottom: 0.2em;
}

.page-lead {
  max-width: 620px;
  margin: 8px auto 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.prose {
  color: var(--ink-soft);
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose-lg {
  font-size: 1.08rem;
  line-height: 1.8;
}

.signature {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--ink);
  margin-top: 24px !important;
}

/* ---------- Hero ---------- */
.hero {
  padding: 56px 0 40px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 48px;
}

.hero-title {
  font-size: clamp(2.6rem, 5.6vw, 4.5rem);
  line-height: 1.04;
  font-weight: 500;
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}

.hero-text {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.center-actions {
  justify-content: center;
  margin-top: 24px;
}

.hero-points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 36px 0 0;
  padding: 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-points .icon {
  color: var(--rose);
  width: 18px;
  height: 18px;
}

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  max-width: 520px;
  width: 100%;
  justify-self: center;
}

.orb-glow {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, rgba(255, 255, 255, 0.95), rgba(248, 220, 228, 0.7) 45%, rgba(203, 184, 230, 0.55) 75%, transparent 76%);
  filter: blur(18px);
  animation: breathe 7s ease-in-out infinite;
}

.orb-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed var(--line-gold);
  animation: spin 80s linear infinite;
}

.orb-ring::before {
  content: '';
  position: absolute;
  top: 8%;
  left: 13%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold-light);
}

.hero-logo {
  position: relative;
  width: 86%;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 40px 80px -40px rgba(160, 90, 120, 0.55);
  animation: float 8s ease-in-out infinite;
}

.twinkle {
  position: absolute;
  color: var(--gold);
  animation: twinkle 3.6s ease-in-out infinite;
}

.twinkle .icon {
  width: 100%;
  height: 100%;
}

.twinkle.t1 {
  width: 26px;
  height: 26px;
  top: 4%;
  right: 12%;
}

.twinkle.t2 {
  width: 16px;
  height: 16px;
  bottom: 14%;
  left: 2%;
  color: var(--lilac);
  animation-delay: 1.2s;
}

.twinkle.t3 {
  width: 20px;
  height: 20px;
  top: 42%;
  right: -2%;
  animation-delay: 2.1s;
}

.twinkle.t4 {
  width: 12px;
  height: 12px;
  top: 16%;
  left: 8%;
  color: var(--rose);
  animation-delay: 0.6s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-14px) rotate(1deg);
  }
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.06);
    opacity: 1;
  }
}

@keyframes twinkle {
  0%,
  100% {
    transform: scale(0.6) rotate(0deg);
    opacity: 0.35;
  }
  50% {
    transform: scale(1.1) rotate(20deg);
    opacity: 1;
  }
}

/* ---------- Product grid & cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 36px 28px;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(150deg, var(--blush-50), var(--lavender-50));
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.5s var(--ease), transform 0.5s var(--ease);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}

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

.product-card:hover .product-media img {
  transform: scale(1.06);
}

.placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--blush-2);
}

.placeholder .icon {
  width: 34%;
  height: 34%;
}

.tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 253, 251, 0.92);
  color: var(--gold-dark);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.tag-rose {
  background: var(--rose);
  color: #fff;
}

.tag-muted {
  background: rgba(58, 42, 40, 0.72);
  color: #fff;
}

.product-info {
  padding: 16px 4px 0;
}

.product-cat {
  margin: 0 0 4px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.product-name {
  font-size: 1.32rem;
  font-weight: 500;
  margin: 0 0 4px;
}

.product-name a {
  color: var(--ink);
  text-decoration: none;
  background-image: linear-gradient(var(--rose), var(--rose));
  background-size: 0 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 0.45s var(--ease), color 0.3s;
}

.product-name a:hover {
  color: var(--rose-dark);
  background-size: 100% 1px;
}

.price {
  margin: 0;
  font-weight: 700;
  color: var(--rose-dark);
}

.price s,
.product-price s {
  color: var(--muted);
  font-weight: 400;
  margin-left: 6px;
  font-size: 0.9em;
}

.quick-add {
  position: absolute;
  top: 12px;
  right: 12px;
  margin: 0;
}

.quick-add-btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 253, 251, 0.94);
  color: var(--rose-dark);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  opacity: 0;
  transform: translateY(-6px) scale(0.9);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease-spring), background 0.25s, color 0.25s;
}

.product-card:hover .quick-add-btn,
.quick-add-btn:focus-visible {
  opacity: 1;
  transform: none;
}

.quick-add-btn:hover {
  background: var(--rose);
  color: #fff;
}

.quick-add-btn .icon {
  width: 20px;
  height: 20px;
}

.quick-add-btn.added {
  background: var(--sage);
  color: #fff;
  opacity: 1;
  transform: none;
}

@media (hover: none) {
  .quick-add-btn {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Categories ---------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 24px;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: var(--ink);
}

.category-media {
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 190px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(150deg, var(--blush), var(--lavender));
  border: 1px solid var(--line-gold);
  padding: 6px;
  margin-bottom: 14px;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  color: var(--paper);
}

.category-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.category-media .icon {
  width: 40%;
  height: 40%;
}

.category-card:hover .category-media {
  transform: translateY(-6px) rotate(-2deg);
  box-shadow: var(--shadow);
}

.category-name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 500;
}

.category-count {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ---------- Story & values ---------- */
.story-panel {
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: center;
  gap: 48px;
  padding: 56px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(248, 228, 232, 0.9), rgba(231, 221, 243, 0.9));
  border: 1px solid var(--line-gold);
  position: relative;
  overflow: hidden;
}

.story-panel::after {
  content: '';
  position: absolute;
  right: -80px;
  top: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid var(--line-gold);
}

.story-moon {
  display: grid;
  place-items: center;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, var(--blush-50) 60%, var(--blush) 100%);
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.35), var(--shadow);
  color: var(--gold);
}

.story-moon .icon {
  width: 46%;
  height: 46%;
  animation: float 9s ease-in-out infinite;
}

.story-copy .prose {
  font-size: 1.06rem;
  margin-bottom: 24px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.value {
  text-align: center;
  padding: 32px 24px;
  border-radius: var(--radius);
  background: rgba(255, 253, 251, 0.7);
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.value:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.value h3 {
  font-size: 1.5rem;
  margin: 14px 0 8px;
}

.value p {
  color: var(--ink-soft);
  margin: 0;
  font-size: 0.95rem;
}

.value-icon {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blush), var(--lavender));
  color: var(--rose-dark);
}

.value-icon .icon {
  width: 26px;
  height: 26px;
}

/* ---------- Shop toolbar ---------- */
.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 36px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 251, 0.7);
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s var(--ease);
}

.chip:hover {
  border-color: var(--gold);
  color: var(--ink);
}

.chip.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

.shop-filters {
  display: flex;
  gap: 10px;
}

.search-field,
.select-field {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.search-field:focus-within,
.select-field:focus-within {
  border-color: var(--rose);
  box-shadow: 0 0 0 4px rgba(192, 122, 140, 0.14);
}

.search-field .icon {
  color: var(--muted);
  width: 18px;
}

.search-field input,
.select-field select {
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 0.92rem;
  color: var(--ink);
  min-width: 0;
}

.search-field input {
  width: 160px;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 56px;
}

.page-link {
  display: grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.25s var(--ease);
}

.page-link:hover {
  border-color: var(--gold);
}

.page-link.active {
  background: var(--rose);
  border-color: var(--rose);
  color: #fff;
}

.page-link .icon {
  width: 16px;
}

/* ---------- Product page ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--muted);
  padding: 8px 0 28px;
}

.breadcrumbs a {
  color: var(--ink-soft);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--rose-dark);
}

.product-page {
  padding-top: 24px;
}

.product-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: start;
}

.gallery-main {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(150deg, var(--blush-50), var(--lavender-50));
  box-shadow: var(--shadow);
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.35s var(--ease);
}

.gallery-main img.fading {
  opacity: 0;
}

.gallery-thumbs {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  overflow-x: auto;
  padding: 4px 2px;
}

.gallery-thumb {
  flex: 0 0 76px;
  height: 92px;
  padding: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  background: none;
  cursor: pointer;
  opacity: 0.7;
  transition: all 0.3s var(--ease);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumb:hover,
.gallery-thumb.active {
  opacity: 1;
  border-color: var(--rose);
}

.product-details {
  position: sticky;
  top: calc(var(--header-h) + 20px);
}

.product-title {
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  margin-bottom: 10px;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--rose-dark);
  margin-bottom: 12px;
}

.stock-note {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 26px;
}

.stock-note .icon {
  color: var(--gold);
  width: 18px;
}

.add-form {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  padding: 4px;
  flex-shrink: 0;
}

.qty input {
  width: 44px;
  border: 0;
  background: transparent;
  text-align: center;
  font: inherit;
  font-weight: 700;
  color: var(--ink);
  -moz-appearance: textfield;
  appearance: textfield;
}

.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.qty-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.qty-btn:hover {
  background: var(--blush);
  color: var(--rose-dark);
}

.qty-btn .icon {
  width: 16px;
  height: 16px;
}

.qty-sm .qty-btn {
  width: 32px;
  height: 32px;
}

.qty-sm input {
  width: 34px;
}

.klarna-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--blush-50);
  border: 1px solid #f6d5df;
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 28px;
}

.klarna-box.small {
  font-size: 0.82rem;
  padding: 10px 12px;
  margin: 16px 0;
}

.klarna-badge {
  flex-shrink: 0;
  padding: 3px 9px;
  border-radius: 6px;
  background: #ffb3c7;
  color: #17120f;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: -0.01em;
}

.product-description {
  margin-bottom: 28px;
  font-size: 1.02rem;
}

.accordion details {
  border-top: 1px solid var(--line);
}

.accordion details:last-child {
  border-bottom: 1px solid var(--line);
}

.accordion summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 0.95rem;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary .icon {
  color: var(--gold);
}

.accordion summary .chev {
  margin-left: auto;
  color: var(--muted);
  transition: transform 0.35s var(--ease);
}

.accordion details[open] .chev {
  transform: rotate(180deg);
}

.accordion .prose {
  padding: 0 0 18px 32px;
  font-size: 0.95rem;
  animation: dropIn 0.35s var(--ease);
}

/* ---------- Cards, forms ---------- */
.card {
  background: rgba(255, 253, 251, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.form .field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
  min-width: 0;
}

.form .field > span:first-child {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.field small {
  font-weight: 400;
  color: var(--muted);
}

.field-link {
  font-weight: 600;
  font-size: 0.82rem;
}

.form input[type='text'],
.form input[type='email'],
.form input[type='password'],
.form input[type='tel'],
.form input[type='number'],
.form input:not([type]),
.form textarea,
.form select {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid #e8d6ca;
  background: #fff;
  font: inherit;
  font-weight: 400;
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.form textarea {
  resize: vertical;
  min-height: 100px;
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  border-color: var(--rose);
  box-shadow: 0 0 0 4px rgba(192, 122, 140, 0.15);
}

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

.field-short {
  max-width: 240px;
}

.check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  margin: 4px 0 18px;
  cursor: pointer;
}

.check input {
  width: 18px;
  height: 18px;
  accent-color: var(--rose);
}

.password-wrap {
  position: relative;
  display: block;
}

.password-wrap input {
  padding-right: 48px !important;
}

.pw-toggle {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  background: none;
  color: var(--muted);
  cursor: pointer;
  border-radius: 50%;
}

.pw-toggle:hover {
  color: var(--rose-dark);
}

.pw-toggle .icon {
  width: 18px;
}

.hp {
  position: absolute;
  left: -9999px;
}

.form-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.6rem;
  margin: 8px 0 18px;
}

.form-section-title:not(:first-of-type) {
  margin-top: 36px;
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blush), var(--lavender));
  color: var(--rose-dark);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
}

/* ---------- Flash messages & toast ---------- */
.flash-stack {
  padding-top: 20px;
}

.flash {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  margin-bottom: 14px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  border: 1px solid;
  animation: dropIn 0.45s var(--ease);
}

.flash .icon {
  margin-top: 2px;
}

.flash-success {
  background: var(--sage-light);
  border-color: #cbd6b8;
  color: #4a5a32;
}

.flash-error {
  background: #fbe9ed;
  border-color: #f0c4cf;
  color: #8f3a50;
}

.flash-info {
  background: var(--lavender-50);
  border-color: var(--lavender);
  color: #5d4b85;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: calc(100vw - 32px);
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-size: 0.95rem;
  box-shadow: var(--shadow-lg);
  transform: translate(-50%, 140%);
  opacity: 0;
  transition: transform 0.5s var(--ease-spring), opacity 0.35s;
  pointer-events: none;
}

.toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}

.toast .icon {
  color: var(--gold-light);
}

.toast a {
  color: var(--gold-light);
  font-weight: 700;
  margin-left: 6px;
}

.toast.error {
  background: var(--danger);
}

/* ---------- Basket & checkout ---------- */
.basket-layout,
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}

.basket-items {
  padding: 8px 28px;
}

.basket-item {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.basket-item:last-child {
  border-bottom: 0;
}

.basket-thumb {
  display: grid;
  place-items: center;
  width: 96px;
  height: 116px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: linear-gradient(150deg, var(--blush-50), var(--lavender-50));
  color: var(--blush-2);
}

.basket-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.basket-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.basket-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.2;
}

.basket-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}

.basket-controls form {
  margin: 0;
}

.basket-line-total {
  font-weight: 700;
  font-size: 1.05rem;
}

.summary {
  position: sticky;
  top: calc(var(--header-h) + 20px);
}

.summary-title {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.totals {
  margin: 0 0 16px;
}

.totals > div {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  color: var(--ink-soft);
}

.totals dd {
  margin: 0;
  font-weight: 600;
  color: var(--ink);
}

.totals .grand {
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 1.15rem;
  color: var(--ink);
  font-weight: 700;
}

.totals .grand dd {
  font-weight: 800;
  color: var(--rose-dark);
}

.free-ship {
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--lavender-50);
  font-size: 0.88rem;
}

.free-ship p {
  margin: 0 0 8px;
}

.free-ship.done {
  display: flex;
  gap: 8px;
  align-items: center;
  background: var(--sage-light);
  color: #4a5a32;
  font-weight: 600;
}

.free-ship.done .icon {
  color: var(--gold);
}

.progress {
  height: 6px;
  border-radius: 99px;
  background: rgba(154, 131, 195, 0.18);
  overflow: hidden;
}

.progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--rose));
  transition: width 0.8s var(--ease);
}

.mini-items {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}

.mini-items li {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
}

.mini-thumb {
  position: relative;
  display: grid;
  place-items: center;
  width: 60px;
  height: 70px;
  border-radius: 10px;
  background: linear-gradient(150deg, var(--blush-50), var(--lavender-50));
  color: var(--blush-2);
}

.mini-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.mini-qty {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 22px;
  height: 22px;
  border-radius: 99px;
  background: var(--ink-soft);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  padding: 0 5px;
}

.mini-name {
  font-size: 0.95rem;
  line-height: 1.35;
}

.mini-price {
  font-weight: 700;
  font-size: 0.95rem;
}

.pay-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.pay-option {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.pay-option.open {
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(192, 122, 140, 0.12);
}

.pay-option-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  cursor: pointer;
  font-weight: 700;
}

.pay-option-head input {
  width: 18px;
  height: 18px;
  accent-color: var(--rose);
}

.pay-option-icon {
  height: 26px;
  margin-left: auto;
}

.klarna-container,
.stripe-container {
  display: none;
  padding: 0 12px 12px;
}

.stripe-container {
  padding: 4px 18px 18px;
  min-height: 60px;
}

.pay-option.open .klarna-container,
.pay-option.open .stripe-container {
  display: block;
  animation: dropIn 0.35s var(--ease);
}

.pay-option.unavailable {
  opacity: 0.5;
}

.card-marks {
  display: flex;
  gap: 6px;
  margin-left: auto;
}

.card-marks span {
  padding: 2px 7px;
  border-radius: 5px;
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--ink-soft);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

@media (max-width: 640px) {
  .card-marks {
    display: none;
  }
}

.card-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--cream);
  font-weight: 700;
  font-size: 0.8rem;
}

.card-badge .icon {
  width: 13px;
  height: 13px;
}

.demo-pay {
  display: flex;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--blush-50), var(--lavender-50));
  border: 1px dashed var(--lavender-2);
  margin-bottom: 20px;
}

.demo-pay .icon {
  color: var(--gold);
  width: 24px;
  height: 24px;
}

.demo-pay p {
  margin: 4px 0 0;
  color: var(--ink-soft);
}

.form-error {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: #fbe9ed;
  color: #8f3a50;
  font-size: 0.92rem;
  margin-bottom: 16px;
}

/* ---------- Thank you ---------- */
.thank-you {
  text-align: center;
  padding: 48px;
}

.thank-you .mini-items,
.thank-you .totals {
  text-align: left;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}

.thank-you .eyebrow {
  display: flex;
  justify-content: center;
}

.thank-you-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blush), var(--lavender));
  color: var(--rose);
  animation: pop 0.8s var(--ease-spring);
}

.thank-you-icon > .icon {
  width: 40px;
  height: 40px;
  fill: currentColor;
}

.thank-you-icon .t1 {
  width: 20px;
  height: 20px;
  top: -6px;
  right: -10px;
}

.thank-you-icon .t2 {
  width: 14px;
  height: 14px;
  bottom: 4px;
  left: -14px;
  color: var(--lilac);
}

@keyframes pop {
  from {
    transform: scale(0.4);
    opacity: 0;
  }
}

.demo-note {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--lavender-50);
  color: #5d4b85;
  font-size: 0.85rem;
}

.next-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 32px 0 8px;
}

.next-steps div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.next-steps .icon {
  color: var(--rose);
  width: 26px;
  height: 26px;
}

/* ---------- Account ---------- */
.auth-section {
  padding: 56px 0 80px;
}

.auth-card {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
  padding: 44px 40px 36px;
}

.auth-card .form {
  text-align: left;
  margin-top: 24px;
}

.auth-logo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  margin: 0 auto 16px;
  box-shadow: var(--shadow);
}

.auth-switch {
  margin: 24px 0 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.account-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.account-nav a,
.account-nav button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 251, 0.75);
  color: var(--ink-soft);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.account-nav form {
  margin: 0;
}

.account-nav a:hover,
.account-nav button:hover {
  border-color: var(--gold);
  color: var(--ink);
}

.account-nav a.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

.account-nav .icon {
  width: 17px;
  height: 17px;
}

.order-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 820px;
  margin: 0 auto;
}

.order-row {
  display: grid;
  grid-template-columns: 1fr auto auto 20px;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}

.order-row:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--line-gold);
  color: var(--ink);
}

.order-row-main {
  display: flex;
  flex-direction: column;
}

.order-row-total {
  font-weight: 700;
}

.order-row > .icon {
  color: var(--muted);
  width: 18px;
}

.status {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  background: var(--lavender-50);
  color: #5d4b85;
}

.status-paid,
.status-processing {
  background: var(--blush);
  color: var(--rose-dark);
}

.status-shipped {
  background: var(--sage-light);
  color: #4a5a32;
}

.status-cancelled,
.status-refunded,
.status-failed,
.status-pending {
  background: #eee8e6;
  color: var(--ink-soft);
}

.order-detail {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  margin-top: 16px;
  align-items: start;
}

.order-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.tracker {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  padding: 0;
  margin: 8px 0 28px;
  counter-reset: step;
}

.tracker li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

.tracker li::before {
  content: '';
  position: absolute;
  top: 22px;
  left: -50%;
  right: 50%;
  height: 2px;
  background: var(--line);
  z-index: 0;
}

.tracker li:first-child::before {
  display: none;
}

.tracker li.done::before {
  background: linear-gradient(90deg, var(--gold), var(--rose));
}

.tracker-dot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #f4ece6;
  color: var(--muted);
  transition: all 0.5s var(--ease);
}

.tracker li.done {
  color: var(--ink);
  font-weight: 600;
}

.tracker li.done .tracker-dot {
  background: linear-gradient(135deg, var(--blush-2), var(--lavender-2));
  color: #fff;
}

.tracker-dot .icon {
  width: 20px;
  height: 20px;
}

address {
  font-style: normal;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* ---------- About ---------- */
.about-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.about-art {
  position: relative;
  display: grid;
  place-items: center;
}

.about-art img {
  position: relative;
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  animation: float 9s ease-in-out infinite;
}

.about-art .hero-actions,
.about-layout .hero-actions {
  margin-top: 28px;
}

/* ---------- Empty state ---------- */
.empty-state {
  text-align: center;
  padding: 56px 24px;
  max-width: 560px;
  margin: 0 auto;
}

.empty-state h2 {
  font-size: 2rem;
}

.empty-state p {
  color: var(--ink-soft);
  margin-bottom: 24px;
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  margin-top: 64px;
  padding: 72px 0 0;
  background: linear-gradient(180deg, rgba(248, 228, 232, 0.6), rgba(231, 221, 243, 0.75));
  border-top: 1px solid var(--line-gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-grid > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-grid a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  width: fit-content;
}

.footer-grid a:hover {
  color: var(--rose-dark);
}

.footer-brand img {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  margin-bottom: 8px;
}

.footer-name {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  margin: 0;
}

.footer-tagline {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.footer-heading {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 8px;
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-gold);
  background: rgba(255, 255, 255, 0.5);
  transition: all 0.3s var(--ease);
}

.socials a:hover {
  background: var(--rose);
  color: #fff;
  border-color: var(--rose);
  transform: translateY(-3px);
}

.socials .icon {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 22px;
  padding-bottom: 26px;
  border-top: 1px solid rgba(198, 161, 91, 0.3);
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.klarna-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ---------- Scroll reveal ---------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--delay, 0s);
}

html.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .main-nav {
    gap: 0;
  }

  .main-nav > a {
    padding: 8px 10px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 66px;
  }

  .nav-toggle {
    display: inline-grid;
  }

  .brand {
    margin-right: auto;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .brand-name {
    font-size: 1.3rem;
  }

  .main-nav {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 50;
    width: min(320px, 86vw);
    flex-direction: column;
    gap: 0;
    padding: 90px 28px 28px;
    background: linear-gradient(180deg, var(--cream), var(--blush-50) 60%, var(--lavender-50));
    box-shadow: var(--shadow-lg);
    transform: translateX(-105%);
    transition: transform 0.5s var(--ease);
    overflow-y: auto;
  }

  .main-nav.open {
    transform: none;
  }

  .main-nav .nav-close {
    display: inline-grid;
    position: absolute;
    top: 18px;
    right: 16px;
  }

  .main-nav > a {
    font-family: var(--font-serif);
    font-size: 1.7rem;
    font-weight: 500;
    padding: 10px 0;
  }

  .main-nav > a::after {
    left: 0;
    right: auto;
    width: 40px;
  }

  .nav-mobile-extra {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--line-gold);
  }

  .nav-mobile-extra a {
    padding: 8px 0;
    color: var(--ink-soft);
    text-decoration: none;
    font-weight: 600;
  }

  body.nav-open::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 40;
    background: rgba(58, 42, 40, 0.3);
    backdrop-filter: blur(2px);
    animation: fadeIn 0.3s;
  }

  .hero {
    padding-top: 24px;
  }

  .hero-inner,
  .product-layout,
  .about-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-actions,
  .hero-points {
    justify-content: center;
  }

  .hero-text {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-art {
    order: -1;
    max-width: 340px;
  }

  .product-details,
  .summary {
    position: static;
  }

  .basket-layout,
  .checkout-layout,
  .order-detail {
    grid-template-columns: 1fr;
  }

  .story-panel {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 28px;
    gap: 28px;
  }

  .story-moon {
    width: 140px;
    height: 140px;
    margin: 0 auto;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .about-art img {
    max-width: 300px;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }

  .hide-sm {
    display: none;
  }

  .brand-name {
    font-size: 1.12rem;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .header-inner {
    gap: 8px;
  }

  .section {
    padding: 52px 0;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 14px;
  }

  .product-name {
    font-size: 1.12rem;
  }

  .product-media .tag {
    top: 8px;
    left: 8px;
    max-width: calc(100% - 56px);
    padding: 3px 8px;
    font-size: 0.6rem;
    letter-spacing: 0.06em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .quick-add {
    top: 8px;
    right: 8px;
  }

  .quick-add-btn {
    width: 36px;
    height: 36px;
  }

  .card {
    padding: 22px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .shop-filters {
    width: 100%;
  }

  .search-field {
    flex: 1;
  }

  .search-field input {
    width: 100%;
  }

  .basket-items {
    padding: 4px 18px;
  }

  .basket-item {
    grid-template-columns: 76px 1fr;
    gap: 14px;
  }

  .basket-thumb {
    width: 76px;
    height: 92px;
  }

  .basket-line-total {
    grid-column: 2;
  }

  .add-form {
    flex-direction: column;
  }

  .qty {
    align-self: flex-start;
  }

  .order-row {
    grid-template-columns: 1fr auto;
    gap: 8px 12px;
    padding: 16px 18px;
  }

  .order-row > .icon {
    display: none;
  }

  .next-steps {
    grid-template-columns: 1fr;
  }

  .thank-you {
    padding: 32px 20px;
  }

  .auth-card {
    padding: 32px 22px 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .announce {
    font-size: 0.72rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  html.js .reveal {
    opacity: 1;
    transform: none;
  }
}
