/* ============================================================
   AURA STEPS — design system
   Warm ivory / gold token palette with dark mode
   (HSL tokens modeled on the Aura Heels style guide)
   ============================================================ */

:root {
  --background: 40 33% 97%;
  --foreground: 30 8% 12%;
  --card: 40 40% 99%;
  --card-foreground: 30 8% 12%;
  --primary: 42 55% 42%;
  --primary-foreground: 0 0% 100%;
  --secondary: 40 30% 92%;
  --secondary-foreground: 30 8% 15%;
  --muted: 40 25% 93%;
  --muted-foreground: 30 6% 42%;
  --accent: 42 35% 89%;
  --accent-foreground: 30 8% 15%;
  --destructive: 0 72% 45%;
  --border: 38 20% 86%;
  --input: 38 20% 84%;
  --ring: 42 55% 42%;

  --radius: 0.625rem;
  --radius-sm: calc(var(--radius) - 4px);
  --radius-lg: calc(var(--radius) + 4px);
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.03), 0 1px 3px 0 rgb(0 0 0 / 0.06);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.07), 0 4px 6px -4px rgb(0 0 0 / 0.05);
  --shadow-hero: 0 30px 80px -35px rgba(68, 48, 16, 0.55);

  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --duration-slow: 350ms;

  --font-body: "DM Sans", "Segoe UI", sans-serif;
  --font-display: "Cormorant Garamond", Georgia, serif;

  --shoe-pane: radial-gradient(circle at 50% 32%, hsl(40 45% 99%) 0%, hsl(40 33% 94%) 62%, hsl(39 30% 89%) 100%);
  --shoe-shadow: drop-shadow(0 22px 18px rgba(60, 45, 20, 0.26));
}

.dark {
  --background: 240 8% 6%;
  --foreground: 40 20% 96%;
  --card: 240 7% 9%;
  --card-foreground: 40 20% 96%;
  --primary: 42 55% 55%;
  --primary-foreground: 30 10% 8%;
  --secondary: 240 5% 13%;
  --secondary-foreground: 40 20% 96%;
  --muted: 240 5% 14%;
  --muted-foreground: 40 8% 62%;
  --accent: 240 5% 17%;
  --accent-foreground: 40 20% 96%;
  --border: 240 5% 17%;
  --input: 240 5% 19%;
  --ring: 42 55% 55%;

  --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.3), 0 1px 2px -1px rgb(0 0 0 / 0.3);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.35), 0 2px 4px -2px rgb(0 0 0 / 0.3);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.4), 0 4px 6px -4px rgb(0 0 0 / 0.3);
  --shadow-hero: 0 30px 80px -35px rgba(0, 0, 0, 0.8);

  --shoe-pane: radial-gradient(circle at 50% 32%, hsl(240 6% 15%) 0%, hsl(240 6% 11%) 62%, hsl(240 7% 8%) 100%);
  --shoe-shadow: drop-shadow(0 22px 20px rgba(0, 0, 0, 0.55));
}

* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
  font-weight: 300;
  transition: background-color var(--duration-normal), color var(--duration-normal);
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.05; letter-spacing: -0.01em; }
a { color: inherit; }
img { max-width: 100%; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  text-transform: uppercase; letter-spacing: 0.28em;
  font-size: 0.7rem; font-weight: 600;
  color: hsl(var(--primary));
  margin-bottom: 0.9rem;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 4.5rem 0; }
.section-head { margin-bottom: 2.4rem; }
.section-head.center { text-align: center; }
.section-head h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.section-sub { color: hsl(var(--muted-foreground)); max-width: 540px; margin-top: 0.6rem; }
.center .section-sub { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-family: var(--font-body); font-size: 0.85rem; font-weight: 600;
  text-decoration: none; border: none; cursor: pointer;
  padding: 0.95rem 1.9rem; border-radius: var(--radius-full);
  transition: transform var(--duration-fast), background-color var(--duration-fast), color var(--duration-fast);
}
.btn-primary { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); box-shadow: var(--shadow-md); }
.btn-primary:hover { transform: scale(1.04); }
.btn-dark { background: hsl(var(--foreground)); color: hsl(var(--background)); box-shadow: var(--shadow-md); }
.btn-dark:hover { transform: scale(1.04); }
.btn-outline {
  background: hsl(var(--card) / 0.8); color: hsl(var(--foreground));
  border: 1px solid hsl(var(--border)); box-shadow: var(--shadow-sm); backdrop-filter: blur(6px);
}
.btn-outline:hover { background: hsl(var(--accent)); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: hsl(var(--background) / 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid hsl(var(--border) / 0.7);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem 1.5rem; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 30% 25%, hsl(42 55% 70%), hsl(var(--primary)));
  color: #fff; font-family: var(--font-display); font-size: 1.25rem; font-style: italic;
}
.brand-name { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; }
.brand-logo { height: 34px; width: auto; display: block; }
.dark .brand-logo { filter: brightness(0) invert(1); }
.footer-logo { height: 46px; filter: brightness(0) invert(1); margin-bottom: 0.4rem; }
.nav-links { display: flex; gap: 1.9rem; }
.nav-links a {
  text-decoration: none; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 500; color: hsl(var(--muted-foreground));
  transition: color var(--duration-fast);
  padding: 0.3rem 0;
}
.nav-links a:hover { color: hsl(var(--primary)); }
.nav-links a.active { color: hsl(var(--foreground)); border-bottom: 1.5px solid hsl(var(--primary)); }
.nav-actions { display: flex; align-items: center; gap: 0.35rem; }
.icon-btn {
  position: relative; display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: none; border: none; cursor: pointer; color: hsl(var(--foreground));
  text-decoration: none; transition: background-color var(--duration-fast);
}
.icon-btn:hover { background: hsl(var(--accent)); }
.cart-count {
  position: absolute; top: 2px; right: 0;
  background: hsl(var(--primary)); color: hsl(var(--primary-foreground));
  font-size: 0.62rem; font-weight: 700;
  min-width: 17px; height: 17px; border-radius: var(--radius-full);
  display: grid; place-items: center; padding: 0 3px;
}
.menu-btn { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(circle at 75% 35%, hsl(var(--primary) / 0.16), transparent 38%),
    linear-gradient(135deg, hsl(var(--background)), hsl(var(--secondary)));
}
.hero-ring {
  position: absolute; left: -6rem; top: 5rem; width: 18rem; height: 18rem;
  border-radius: 50%; border: 1px solid hsl(var(--primary) / 0.16);
}
.hero-glow {
  position: absolute; right: -6rem; top: -6rem; width: 24rem; height: 24rem;
  border-radius: 50%; background: hsl(var(--primary) / 0.06); filter: blur(48px);
}
.hero-grid {
  position: relative; max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center;
  gap: 2.5rem; padding: 4.5rem 1.5rem 5rem; min-height: 620px;
}
.hero h1 { font-size: clamp(2.9rem, 6vw, 4.6rem); letter-spacing: -0.02em; }
.hero h1 span { color: hsl(var(--primary)); font-style: italic; }
.hero-sub { margin-top: 1.4rem; max-width: 460px; color: hsl(var(--muted-foreground)); font-size: 1.05rem; }
.hero-ctas { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero-tags {
  margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: 0.6rem 1.7rem;
  font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: hsl(var(--muted-foreground));
}
.hero-figure { position: relative; max-width: 520px; width: 100%; margin: 0 auto; }
.hero-figure-ring {
  position: absolute; inset: -1.1rem; border-radius: 2.5rem;
  border: 1px solid hsl(var(--primary) / 0.22); transform: rotate(3deg);
}
.hero-figure-card {
  position: relative; aspect-ratio: 1; border-radius: 2rem; overflow: hidden;
  background: var(--shoe-pane); box-shadow: var(--shadow-hero);
  display: grid; place-items: center;
}
.hero-figure-card img { width: 74%; height: 74%; object-fit: contain; filter: var(--shoe-shadow); }
.hero-spot {
  position: absolute; left: 1.4rem; right: 1.4rem; bottom: 1.4rem;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem;
  background: hsl(var(--background) / 0.85); border: 1px solid hsl(var(--border) / 0.7);
  border-radius: 1.1rem; padding: 0.95rem 1.1rem; backdrop-filter: blur(10px); box-shadow: var(--shadow-md);
}
.hero-spot .eyebrow { margin: 0; font-size: 0.6rem; }
.hero-spot h3 { font-size: 1.25rem; margin-top: 0.2rem; }
.hero-spot a {
  white-space: nowrap; text-decoration: none;
  background: hsl(var(--foreground)); color: hsl(var(--background));
  font-size: 0.72rem; font-weight: 600; padding: 0.5rem 1rem; border-radius: var(--radius-full);
}

/* ---------- Value props ---------- */
.value-props { border-bottom: 1px solid hsl(var(--border) / 0.6); background: hsl(var(--secondary) / 0.4); }
.value-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem;
  padding: 2.4rem 1.5rem;
}
.value-item {
  display: flex; gap: 1rem; align-items: flex-start;
  background: hsl(var(--card)); border-radius: var(--radius-lg);
  padding: 1.25rem 1.3rem; box-shadow: var(--shadow-sm);
}
.value-item .vicon {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: hsl(var(--primary) / 0.1); color: hsl(var(--primary));
}
.value-item h3 { font-family: var(--font-body); font-size: 0.95rem; font-weight: 600; }
.value-item p { font-size: 0.85rem; color: hsl(var(--muted-foreground)); margin-top: 0.2rem; }

/* ---------- Product cards ---------- */
.product-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.5rem;
}
.product-card {
  display: block; text-decoration: none;
  background: hsl(var(--card)); border: 1px solid hsl(var(--border) / 0.7);
  border-radius: 1.1rem; overflow: hidden;
  transition: transform var(--duration-normal), box-shadow var(--duration-normal);
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.product-card-image {
  aspect-ratio: 1 / 1.02; position: relative; overflow: hidden;
  display: grid; place-items: center; background: var(--shoe-pane);
}
.product-card-image img {
  width: 76%; height: 76%; object-fit: contain;
  filter: var(--shoe-shadow);
  transition: transform var(--duration-slow);
}
.product-card:hover .product-card-image img { transform: translateY(-4px) scale(1.04); }
.product-badge {
  position: absolute; top: 13px; left: 13px; z-index: 2;
  background: hsl(var(--card) / 0.92); color: hsl(var(--primary));
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 0.32rem 0.75rem; border-radius: var(--radius-full); box-shadow: var(--shadow-sm);
}
.product-card-body { padding: 1.05rem 1.2rem 1.3rem; text-align: center; }
.product-style { font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: hsl(var(--muted-foreground)); }
.product-card-body h3 { font-size: 1.35rem; margin-top: 0.15rem; }
.product-price { margin-top: 0.4rem; font-weight: 600; font-size: 0.95rem; }
.empty-note { grid-column: 1 / -1; text-align: center; color: hsl(var(--muted-foreground)); padding: 3rem 0; font-style: italic; font-family: var(--font-display); font-size: 1.25rem; }

.row-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }

/* ---------- Story ---------- */
.story { background: hsl(var(--secondary) / 0.4); }
.story-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 2.6rem;
  padding: 4.5rem 1.5rem;
}
.story-collage {
  position: relative; aspect-ratio: 4 / 3; border-radius: 2rem;
  background: linear-gradient(135deg, hsl(var(--card)), hsl(var(--secondary)), hsl(var(--accent)));
  box-shadow: var(--shadow-lg);
}
.story-collage .tile {
  position: absolute; border-radius: 1.1rem; overflow: hidden;
  background: var(--shoe-pane); box-shadow: var(--shadow-lg);
  display: grid; place-items: center;
}
.story-collage .tile img { width: 80%; height: 80%; object-fit: contain; filter: var(--shoe-shadow); }
.tile-1 { left: 6%; top: 10%; width: 55%; height: 74%; transform: rotate(-3deg); }
.tile-2 { right: 5%; top: 7%; width: 36%; height: 42%; transform: rotate(3deg); }
.tile-3 { right: 8%; bottom: 6%; width: 38%; height: 38%; transform: rotate(-2deg); }
.story-copy h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: 1rem; }
.story-copy p { color: hsl(var(--muted-foreground)); }
.story-stats { margin-top: 2.2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.counter { font-family: var(--font-display); font-size: 2.3rem; font-weight: 600; color: hsl(var(--primary)); }
.story-stats p { font-size: 0.85rem; color: hsl(var(--muted-foreground)); margin-top: 0.15rem; }

/* ---------- Shop toolbar ---------- */
.shop-toolbar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem;
  margin-bottom: 2.2rem;
}
.search-wrap {
  display: flex; align-items: center; gap: 0.55rem;
  background: hsl(var(--card)); border: 1px solid hsl(var(--input));
  border-radius: var(--radius-full); padding: 0.6rem 1.1rem; flex: 1; min-width: 210px;
  color: hsl(var(--muted-foreground));
}
.search-wrap input {
  border: none; background: none; outline: none; width: 100%;
  font-family: var(--font-body); font-size: 0.9rem; color: hsl(var(--foreground));
}
.filter-chip {
  background: hsl(var(--card)); border: 1px solid hsl(var(--border));
  border-radius: var(--radius-full); padding: 0.55rem 1.35rem; cursor: pointer;
  font-family: var(--font-body); font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: hsl(var(--muted-foreground)); transition: all var(--duration-fast); font-weight: 500;
}
.filter-chip:hover { border-color: hsl(var(--primary)); color: hsl(var(--primary)); }
.filter-chip.active { background: hsl(var(--foreground)); border-color: hsl(var(--foreground)); color: hsl(var(--background)); }
.sort-select {
  background: hsl(var(--card)); border: 1px solid hsl(var(--input));
  border-radius: var(--radius-full); padding: 0.6rem 1rem;
  font-family: var(--font-body); font-size: 0.85rem; color: hsl(var(--foreground)); cursor: pointer;
}
.shop-count { font-size: 0.8rem; color: hsl(var(--muted-foreground)); letter-spacing: 0.08em; }

/* ---------- Product page ---------- */
.breadcrumb { font-size: 0.8rem; color: hsl(var(--muted-foreground)); margin-bottom: 1.6rem; }
.breadcrumb a { color: inherit; text-decoration: none; }
.breadcrumb a:hover { color: hsl(var(--primary)); }
.breadcrumb span { color: hsl(var(--foreground)); }
.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.pd-image {
  position: relative; border-radius: 1.6rem; overflow: hidden;
  background: var(--shoe-pane); aspect-ratio: 1; display: grid; place-items: center;
  box-shadow: var(--shadow-md);
}
.pd-image img { width: 78%; height: 78%; object-fit: contain; filter: var(--shoe-shadow); }
.pd-info h1 { font-size: clamp(2.1rem, 4vw, 3rem); }
.pd-style { font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase; color: hsl(var(--muted-foreground)); margin-top: 0.3rem; }
.pd-price { font-size: 1.4rem; font-weight: 600; color: hsl(var(--primary)); margin: 1rem 0 1.1rem; }
.pd-desc { color: hsl(var(--muted-foreground)); font-size: 0.95rem; }
.pd-section { margin-top: 1.7rem; }
.pd-label-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: hsl(var(--muted-foreground)); margin-bottom: 0.7rem; font-weight: 500;
}
.link-btn {
  background: none; border: none; cursor: pointer; font-family: var(--font-body);
  font-size: 0.78rem; color: hsl(var(--primary)); text-decoration: underline; text-underline-offset: 3px;
}
.size-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.size-pill {
  min-width: 47px; padding: 0.55rem 0.7rem;
  border: 1px solid hsl(var(--input)); border-radius: var(--radius);
  background: hsl(var(--card)); color: hsl(var(--foreground));
  font-family: var(--font-body); font-size: 0.85rem; cursor: pointer;
  transition: all var(--duration-fast);
}
.size-pill:hover { border-color: hsl(var(--primary)); }
.size-pill.selected { background: hsl(var(--foreground)); color: hsl(var(--background)); border-color: hsl(var(--foreground)); }
.size-error { color: hsl(var(--destructive)); font-size: 0.8rem; margin-top: 0.55rem; }
.pd-chart { margin-top: 1rem; border: 1px solid hsl(var(--border)); border-radius: var(--radius-lg); overflow: hidden; }
.qty-row { display: flex; align-items: center; gap: 1.1rem; margin-top: 1.7rem; }
.qty-control {
  display: flex; align-items: center; gap: 0.85rem;
  border: 1px solid hsl(var(--input)); border-radius: var(--radius-full);
  padding: 0.4rem 0.9rem; background: hsl(var(--card));
}
.qty-control button {
  background: none; border: none; cursor: pointer; font-size: 1.05rem;
  color: hsl(var(--muted-foreground)); padding: 0.1rem 0.3rem;
}
.pd-fineprint { text-align: center; font-size: 0.75rem; color: hsl(var(--muted-foreground)); margin-top: 0.9rem; }

/* ---------- Size tables ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.size-table { width: 100%; border-collapse: collapse; background: hsl(var(--card)); font-size: 0.9rem; min-width: 520px; }
.size-table th {
  background: hsl(var(--foreground)); color: hsl(var(--background));
  font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.68rem;
  padding: 0.85rem 1rem;
}
.size-table td { padding: 0.72rem 1rem; text-align: center; border-bottom: 1px solid hsl(var(--border)); color: hsl(var(--muted-foreground)); }
.size-table tr:last-child td { border-bottom: none; }
.size-table.compact { min-width: 0; font-size: 0.8rem; }
.size-table.compact th { padding: 0.5rem 0.6rem; font-size: 0.6rem; }
.size-table.compact td { padding: 0.45rem 0.6rem; }

.guide-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.4rem; margin: 2.2rem 0; }
.guide-card { background: hsl(var(--card)); border: 1px solid hsl(var(--border) / 0.7); border-radius: var(--radius-lg); padding: 1.5rem 1.6rem; box-shadow: var(--shadow-sm); }
.guide-card .vicon {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: hsl(var(--primary) / 0.1); color: hsl(var(--primary)); margin-bottom: 0.9rem;
}
.guide-card h3 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.guide-card p { font-size: 0.88rem; color: hsl(var(--muted-foreground)); }

/* ---------- Cart page ---------- */
.cart-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2.6rem; align-items: start; }
.cart-item { display: flex; gap: 1.1rem; padding: 1.2rem 0; border-bottom: 1px solid hsl(var(--border)); }
.cart-item-thumb {
  width: 92px; height: 92px; border-radius: var(--radius-lg); overflow: hidden; flex-shrink: 0;
  background: var(--shoe-pane); display: grid; place-items: center;
}
.cart-item-thumb img { width: 82%; height: 82%; object-fit: contain; filter: var(--shoe-shadow); }
.cart-item-info { flex: 1; }
.cart-item-info h4 { font-family: var(--font-display); font-size: 1.2rem; }
.cart-item-info h4 a { text-decoration: none; }
.cart-item-meta { font-size: 0.76rem; color: hsl(var(--muted-foreground)); letter-spacing: 0.08em; }
.cart-item-row { display: flex; justify-content: space-between; align-items: center; margin-top: 0.6rem; }
.cart-item-price { font-weight: 600; font-size: 0.95rem; }
.cart-item-remove {
  background: none; border: none; color: hsl(var(--muted-foreground)); cursor: pointer;
  font-size: 0.73rem; text-decoration: underline; margin-top: 0.4rem; font-family: var(--font-body);
}
.summary-card {
  background: hsl(var(--secondary) / 0.5); border: 1px solid hsl(var(--border) / 0.7);
  border-radius: 1.2rem; padding: 1.6rem 1.7rem 1.8rem; position: sticky; top: 90px;
}
.summary-card h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.summary-item { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.85rem; padding: 0.3rem 0; color: hsl(var(--muted-foreground)); }
.summary-line { display: flex; justify-content: space-between; font-size: 0.9rem; padding: 0.45rem 0; border-top: 1px solid hsl(var(--border)); color: hsl(var(--muted-foreground)); }
.summary-line.total { font-size: 1.15rem; font-weight: 600; color: hsl(var(--foreground)); }
.summary-note { font-size: 0.74rem; color: hsl(var(--muted-foreground)); margin: 0.5rem 0 1rem; }
.empty-state { text-align: center; padding: 4rem 1rem; }
.empty-state p { font-family: var(--font-display); font-size: 1.5rem; font-style: italic; color: hsl(var(--muted-foreground)); margin-bottom: 1.6rem; }

/* ---------- Checkout ---------- */
.demo-banner {
  display: inline-block; background: hsl(var(--primary) / 0.12); color: hsl(var(--primary));
  font-size: 0.74rem; letter-spacing: 0.08em; font-weight: 500;
  padding: 0.4rem 1rem; border-radius: var(--radius-full); margin-bottom: 1.8rem;
}
.checkout-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 2.6rem; align-items: start; }
.checkout-form h3 { font-size: 1.45rem; margin: 1.6rem 0 0.9rem; }
.checkout-form h3:first-child { margin-top: 0; }
.checkout-form input, .checkout-form select, .checkout-form textarea {
  width: 100%; padding: 0.85rem 1.05rem; margin-bottom: 0.7rem;
  border: 1px solid hsl(var(--input)); border-radius: var(--radius-lg);
  background: hsl(var(--card)); color: hsl(var(--foreground));
  font-family: var(--font-body); font-size: 0.9rem;
}
.checkout-form input:focus, .checkout-form select:focus, .checkout-form textarea:focus {
  outline: none; border-color: hsl(var(--ring));
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.pay-tabs { display: flex; gap: 0.6rem; margin-bottom: 1.1rem; flex-wrap: wrap; }
.pay-tab {
  flex: 1; min-width: 108px;
  background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: var(--radius-lg);
  padding: 0.75rem 0.5rem; cursor: pointer; color: hsl(var(--foreground));
  font-family: var(--font-body); font-size: 0.8rem; transition: all var(--duration-fast);
}
.pay-tab:hover { border-color: hsl(var(--primary)); }
.pay-tab.active { background: hsl(var(--foreground)); color: hsl(var(--background)); border-color: hsl(var(--foreground)); }
.pay-note { font-size: 0.74rem; color: hsl(var(--muted-foreground)); margin-bottom: 0.8rem; }
.bank-box {
  background: hsl(var(--card)); border: 1px dashed hsl(var(--primary) / 0.5);
  border-radius: var(--radius-lg); padding: 1rem 1.2rem; margin-bottom: 0.6rem;
}
.bank-box p { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.85rem; padding: 0.25rem 0; }
.bank-box span { color: hsl(var(--muted-foreground)); }
.wallet { font-size: 0.78rem; word-break: break-all; text-align: right; }
.success-card { text-align: center; padding: 4rem 1.5rem; }
.success-ring {
  width: 76px; height: 76px; margin: 0 auto 1.6rem;
  border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 25%, hsl(42 55% 70%), hsl(var(--primary)));
  color: #fff;
}
.success-card h2 { font-size: 2.4rem; margin-bottom: 0.8rem; }
.success-card p { color: hsl(var(--muted-foreground)); margin-bottom: 1.8rem; }

.pay-lead { font-size: 0.9rem; color: hsl(var(--muted-foreground)); margin-bottom: 1rem; }
.ship-note { background: hsl(var(--primary) / 0.1); color: hsl(var(--foreground)); border-radius: var(--radius-lg); padding: 0.7rem 1rem; font-size: 0.85rem; margin-bottom: 1rem; }
.field-msg { font-size: 0.8rem; margin: -0.3rem 0 0.7rem; }
.field-msg.error { color: hsl(var(--destructive)); }
.field-msg.ok { color: hsl(150 45% 40%); }
#coCountry[readonly] { background: hsl(var(--muted)); color: hsl(var(--muted-foreground)); cursor: not-allowed; }
.addr-field { position: relative; }
.addr-suggestions {
  position: absolute; top: calc(100% - 0.5rem); left: 0; right: 0; z-index: 30;
  background: hsl(var(--card)); border: 1px solid hsl(var(--border));
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  list-style: none; margin: 0; padding: 0.3rem; max-height: 260px; overflow-y: auto;
}
.addr-suggestions li {
  padding: 0.6rem 0.75rem; border-radius: var(--radius); cursor: pointer;
  font-size: 0.88rem; color: hsl(var(--foreground)); line-height: 1.35;
}
.addr-suggestions li:hover, .addr-suggestions li.active { background: hsl(var(--accent)); }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 2.4rem; align-items: start; }
.contact-info {
  background: hsl(var(--secondary) / 0.5); border: 1px solid hsl(var(--border) / 0.7);
  border-radius: 1.2rem; padding: 1.8rem 1.8rem 2rem;
}
.contact-info h3 { font-size: 1.5rem; margin-bottom: 1.2rem; }
.contact-line { padding: 0.7rem 0; border-top: 1px solid hsl(var(--border)); }
.contact-line:first-of-type { border-top: none; }
.ci-label { display: block; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: hsl(var(--muted-foreground)); margin-bottom: 0.25rem; }
.contact-line a, .contact-line span:not(.ci-label) { color: hsl(var(--foreground)); text-decoration: none; font-size: 0.95rem; }
.contact-line a:hover { color: hsl(var(--primary)); }
.footer-addr { display: block; opacity: 0.72; font-size: 0.88rem; margin-bottom: 0.55rem; line-height: 1.5; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }
.field-label { display: block; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: hsl(var(--muted-foreground)); margin-bottom: 0.4rem; }

/* ---------- Footer ---------- */
.site-footer { background: hsl(30 8% 10%); color: hsl(40 30% 92%); padding: 4rem 1.5rem 2rem; margin-top: 4rem; }
.dark .site-footer { background: hsl(240 8% 4%); }
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem;
}
.footer-brand p { font-family: var(--font-display); font-size: 1.5rem; margin-top: 0.8rem; }
.footer-brand small { color: hsl(35 15% 55%); font-style: italic; }
.footer-col h5 { font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; color: hsl(42 45% 65%); margin-bottom: 1rem; }
.footer-col a { display: block; color: inherit; opacity: 0.72; text-decoration: none; font-size: 0.88rem; margin-bottom: 0.55rem; }
.footer-col a:hover { opacity: 1; color: hsl(42 45% 65%); }
.footer-note { text-align: center; margin-top: 3rem; font-size: 0.74rem; color: hsl(35 10% 48%); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%);
  background: hsl(var(--foreground)); color: hsl(var(--background));
  padding: 0.85rem 1.8rem; border-radius: var(--radius-full);
  font-size: 0.85rem; letter-spacing: 0.04em;
  z-index: 200; box-shadow: var(--shadow-lg);
  animation: rise var(--duration-normal) ease;
}
@keyframes rise { from { transform: translate(-50%, 14px); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Page header ---------- */
.page-head { padding: 3.6rem 0 0.6rem; }
.page-head h1 { font-size: clamp(2.3rem, 4.5vw, 3.4rem); }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 3rem; min-height: 0; }
  .hero-figure { max-width: 420px; }
  .value-grid { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; }
  .pd-grid { grid-template-columns: 1fr; gap: 2rem; }
  .cart-grid, .checkout-grid { grid-template-columns: 1fr; }
  .summary-card { position: static; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: hsl(var(--background) / 0.97); backdrop-filter: blur(14px);
    border-bottom: 1px solid hsl(var(--border));
    padding: 0.6rem 1.5rem 1rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.7rem 0; border-bottom: none; }
  .menu-btn { display: grid; }
}
