/* ==========================================================================
   EVERLOOM STUDIO — THEME STYLESHEET
   Crafted for gbify storefronts
   ========================================================================== */

/* ── Custom Properties & Design Tokens ── */
:root {
  --bg: #FAF7F2;
  --surface: #FFFFFF;
  --surface-warm: #F4EFE6;
  --surface-sand: #EFE8DC;
  --surface-tint: #F7F3EA;

  --brand: #1E3A2F;
  --brand-hover: #152B22;
  --brand-dark: #12241D;
  --brand-light: #2A5242;
  --brand-subtle: #EEF3F0;

  --accent-lavender: #B5A8C8;
  --accent-lavender-bg: #EAE5F1;
  --accent-lavender-text: #4E4064;
  --accent-sage: #8A9D84;
  --accent-sage-bg: #EFF4EE;
  --accent-honey: #D49B4D;
  --accent-honey-bg: #FDF7EC;

  --ink: #1C231F;
  --ink-muted: #5A6860;
  --ink-light: #8E9C95;
  --ink-faint: #BCC5BF;

  --line: #E8E2D5;
  --line-subtle: #F1ECE2;
  --line-dark: #D4CBBC;

  --sale: #C84B31;
  --success: #2E7D32;
  --wa: #25D366;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 9999px;
  --radius-arch: 240px 240px 24px 24px;

  --shadow-sm: 0 2px 8px rgba(28, 35, 31, 0.04);
  --shadow-md: 0 6px 20px rgba(28, 35, 31, 0.07);
  --shadow-lg: 0 12px 32px rgba(28, 35, 31, 0.1);
  --shadow-floating: 0 16px 40px rgba(28, 35, 31, 0.12);

  --wrap-max: 1200px;
}

/* ── Strict Required CSS Rule: [hidden] MUST be display: none !important ── */
[hidden] {
  display: none !important;
}

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

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

body.site {
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main#main {
  flex: 1 0 auto;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

button, input, select, textarea {
  font: inherit;
}

/* Accessible Skip Link */
.skip {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--brand);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  z-index: 9999;
  transition: top 0.2s;
}
.skip:focus {
  top: 1rem;
}

/* Page Container Wrap */
.wrap {
  width: 100%;
  max-width: var(--wrap-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* ── Top Announcement Bar ── */
.announcement-bar {
  background-color: var(--surface-warm);
  border-bottom: 1px solid var(--line);
  color: var(--brand);
  font-size: 0.8125rem;
  font-weight: 600;
  text-align: center;
  padding: 0.5rem 1rem;
  letter-spacing: 0.02em;
}
.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.announcement-icon {
  font-size: 0.95rem;
}

/* ── Site Header ── */
.site-header {
  background-color: var(--bg);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1.5rem;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Brand Logotype */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.brand-logo {
  height: 56px;
  width: auto;
  object-fit: contain;
}
.brand-logotype {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-name-primary {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--brand);
}
.brand-name-sub {
  font-family: var(--font-sans);
  font-size: 0.5625rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  color: var(--ink-muted);
  margin-top: 2px;
}
.brand-leaf-icon {
  color: var(--brand-light);
  transform: rotate(-10deg);
}

/* Header Search */
.header-search {
  flex: 1 1 380px;
  max-width: 440px;
}
.header-search-bar {
  display: flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.85rem;
  gap: 0.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.header-search-bar:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(30, 58, 47, 0.1);
}
.header-search-btn {
  background: none;
  border: none;
  color: var(--ink-muted);
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
}
.header-search-bar input {
  border: none;
  background: transparent;
  width: 100%;
  font-size: 0.875rem;
  color: var(--ink);
  outline: none;
}
.header-search-bar input::placeholder {
  color: var(--ink-light);
}

/* Header Nav & Actions */
.header-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
}
.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
  transition: color 0.15s;
}
.nav-link:hover {
  color: var(--brand);
}

/* Cart Button */
.cart-pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 0.5rem 0.85rem;
  color: var(--brand);
  position: relative;
  transition: background-color 0.2s, border-color 0.2s, transform 0.15s;
}
.cart-pill-btn:hover {
  border-color: var(--brand);
  transform: translateY(-1px);
}
.cart-count-badge {
  background: var(--brand);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* Mobile Drawer Hamburger Button */
.menu-btn {
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  cursor: pointer;
}

/* ── Mobile Navigation Drawer ── */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28, 35, 31, 0.45);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.menu-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  height: 100%;
  height: 100dvh;
  width: min(86vw, 360px);
  background: var(--bg);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.menu-drawer.open {
  transform: translateX(0);
}
body.menu-open {
  overflow: hidden;
}

.menu-head {
  padding: 1.25rem 1.5rem 1rem;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
  background: var(--bg);
  z-index: 2;
}
.menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.menu-close {
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.menu-blurb {
  font-size: 0.8125rem;
  color: var(--ink-muted);
  line-height: 1.45;
}

.menu-search-block {
  padding: 0.85rem 1.5rem 0.5rem;
  flex-shrink: 0;
  background: var(--bg);
  z-index: 2;
}

.menu-nav {
  padding: 0.5rem 1.5rem 1.5rem;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
}
.menu-section-label {
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-light);
  margin: 1rem 0 0.5rem;
}
.menu-section-label:first-child {
  margin-top: 0;
}
.menu-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
  padding: 0.55rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line-subtle);
}
.menu-link-sub {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-muted);
  padding-left: 0.75rem;
}
.menu-badge {
  background: var(--brand);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
}

.menu-foot {
  padding: 1.25rem 1.5rem;
  padding-bottom: calc(1.25rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--surface-warm);
  flex-shrink: 0;
  z-index: 2;
}

/* ── Hero Section (Everloom Studio Editorial) ── */
.hero-section {
  padding: 3rem 0 3.5rem;
  background-color: var(--bg);
}
.hero-container {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 2.5rem;
}

.hero-content {
  max-width: 520px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-sage);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
}
.hero-sprig {
  color: var(--accent-sage);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 3.75rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 1.25rem;
}
.hero-title-italic {
  font-style: italic;
  font-weight: 400;
  color: var(--brand);
}

.hero-subtext {
  font-size: 1.0625rem;
  color: var(--ink-muted);
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 44ch;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hero-link-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--brand);
  padding: 0.5rem 0.25rem;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, transform 0.15s;
}
.hero-link-secondary:hover {
  border-color: var(--brand);
  transform: translateX(2px);
}

/* Hero Visual Collage */
.hero-visual {
  display: flex;
  justify-content: center;
}
.hero-collage {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 1.25rem;
  align-items: center;
  max-width: 580px;
  position: relative;
}

/* Arch Card */
.hero-arch-card {
  position: relative;
  border-radius: var(--radius-arch);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line-dark);
  background: var(--surface-sand);
  aspect-ratio: 4 / 5.2;
}
.hero-arch-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-arch-card:hover .hero-arch-img {
  transform: scale(1.03);
}

/* Floating Scalloped Badge */
.hero-floating-badge {
  position: absolute;
  top: 1.5rem;
  right: -1rem;
  background: var(--accent-lavender);
  color: #fff;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  border: 3px solid #fff;
  z-index: 2;
  text-align: center;
  transform: rotate(8deg);
  animation: gentle-float 4s ease-in-out infinite alternate;
}
@keyframes gentle-float {
  0% { transform: rotate(8deg) translateY(0); }
  100% { transform: rotate(5deg) translateY(-6px); }
}
.badge-icon {
  margin-bottom: 1px;
}
.badge-title {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
}
.badge-sub {
  font-size: 0.625rem;
  text-transform: lowercase;
  letter-spacing: 0.05em;
  opacity: 0.95;
}

/* Hero Side Tiles */
.hero-side-tiles {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.hero-tile {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  background: var(--surface-warm);
}
.hero-tile-top {
  aspect-ratio: 4 / 3.2;
}
.hero-tile-bottom {
  aspect-ratio: 4 / 3.2;
}
.hero-tile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.hero-tile:hover .hero-tile-img {
  transform: scale(1.04);
}

/* ── Collections Pill Strip (Matching UI Design) ── */
.collections-strip-section {
  margin-top: 1.5rem;
  margin-bottom: 3.5rem;
}
.collections-pill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.collection-pill-card {
  background-color: var(--surface-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 0.85rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  text-decoration: none;
}
.collection-pill-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-light);
}
.collection-pill-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line-subtle);
  display: grid;
  place-items: center;
  color: var(--brand);
  flex-shrink: 0;
}
.collection-pill-meta {
  flex: 1;
  min-width: 0;
}
.collection-pill-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}
.collection-pill-sub {
  display: block;
  font-size: 0.75rem;
  color: var(--ink-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}
.collection-pill-media {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface-sand);
  flex-shrink: 0;
}
.collection-pill-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.collection-pill-thumb-ph {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
}

/* ── Section Headings ── */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.2;
}
.section-sub {
  display: block;
  font-size: 0.875rem;
  color: var(--ink-muted);
  margin-top: 4px;
}
.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand);
  padding: 0.25rem 0;
  transition: transform 0.15s;
}
.view-all-link:hover {
  transform: translateX(3px);
}

/* ── Product Grid & Cards (_card.html) ── */
.curated-section {
  margin-bottom: 4rem;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
  }
}
.feed-sentinel {
  height: 1px;
  pointer-events: none;
}
.feed-status {
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-muted);
  padding: 1.25rem 0 0.5rem;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-dark);
}

.card-media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  background-color: var(--surface-sand);
  overflow: hidden;
}
.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .card-img {
  transform: scale(1.05);
}
.card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--ink-light);
  font-weight: 700;
}

.card-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
}
.card-badge.sale {
  background-color: var(--sale);
  color: #fff;
}
.card-badge.sold-out {
  background-color: var(--ink);
  color: #fff;
}

.card-body {
  padding: 0.95rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-meta {
  min-height: auto;
  margin-bottom: 2px;
}
.card-kicker {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-sage);
}
.card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-title a {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.card-title a:hover {
  color: var(--brand);
}
.card-desc {
  font-size: 0.8125rem;
  color: var(--ink-muted);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.5rem;
}

.card-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.price-block {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.price-current {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--brand);
}
.price-original {
  font-size: 0.8125rem;
  color: var(--ink-light);
  text-decoration: line-through;
}

@media (max-width: 639px) {
  .product-grid {
    gap: 0.65rem;
  }
  .card-body {
    padding: 0.65rem 0.75rem 0.75rem;
  }
  .card-meta {
    margin-bottom: 1px;
  }
  .card-kicker {
    font-size: 0.625rem;
  }
  .card-title {
    font-size: 0.875rem;
    margin-bottom: 0.15rem;
  }
  .card-desc {
    font-size: 0.75rem;
    line-height: 1.3;
    margin-bottom: 0.35rem;
  }
  .card-footer {
    gap: 0.35rem;
  }
  .price-current {
    font-size: 0.875rem;
  }
  .price-original {
    font-size: 0.75rem;
  }
  .btn-add {
    padding: 0.4rem 0.6rem;
    font-size: 0.75rem;
  }
}

/* Add to Cart Button & Quantity Stepper */
.btn-add {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line-dark);
  color: var(--brand);
  border-radius: var(--radius-pill);
  padding: 0.5rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-add:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.qty-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius-pill);
  padding: 2px 4px;
}
.qty-btn {
  background: none;
  border: none;
  color: #fff;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border-radius: 50%;
  transition: background-color 0.15s;
}
.qty-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}
.qty-num {
  font-size: 0.875rem;
  font-weight: 700;
  min-width: 20px;
  text-align: center;
}

.card-sold-out-pill {
  display: block;
  text-align: center;
  background: var(--surface-warm);
  color: var(--ink-light);
  border: 1px solid var(--line);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.45rem;
  border-radius: var(--radius-pill);
}

/* ── Value Props & Studio Newsletter Feature ── */
.studio-highlights-banner {
  margin-bottom: 5rem;
  background: var(--surface-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.highlights-grid {
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .highlights-grid {
    grid-template-columns: 1.25fr 1fr;
  }
}

.value-props-box {
  padding: 2.5rem 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 600px) {
  .value-props-box {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}
@media (min-width: 900px) {
  .value-props-box {
    border-bottom: none;
    border-right: 1px solid var(--line);
  }
}

.value-prop-item {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.value-prop-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--brand);
}
.value-prop-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
}
.value-prop-desc {
  font-size: 0.8125rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

.studio-promo-box {
  padding: 2.5rem 2rem;
  background: var(--surface-sand);
  display: flex;
  align-items: center;
}
.promo-newsletter-card {
  width: 100%;
}
.promo-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.35rem;
}
.promo-sub {
  font-size: 0.875rem;
  color: var(--ink-muted);
  margin-bottom: 1.25rem;
}
.promo-newsletter-form {
  display: flex;
  gap: 0.5rem;
}
.promo-input {
  flex: 1;
  background: #fff;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-pill);
  padding: 0.65rem 1rem;
  font-size: 0.875rem;
  color: var(--ink);
  outline: none;
}
.promo-input:focus {
  border-color: var(--brand);
}

/* ── Buttons & UI Controls ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.55rem 1.4rem;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.3;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}
.btn-primary {
  background-color: var(--brand);
  color: #fff;
}
.btn-primary:hover {
  background-color: var(--brand-hover);
  transform: translateY(-1px);
}
.btn-brand-light {
  background-color: var(--brand-light);
  color: #fff;
}
.btn-brand-light:hover {
  background-color: var(--brand);
}
.btn-ghost {
  background: transparent;
  border-color: var(--line-dark);
  color: var(--brand);
}
.btn-ghost:hover {
  border-color: var(--brand);
  background: rgba(30, 58, 47, 0.04);
}
.btn-wa {
  background-color: #25D366;
  color: #fff;
}
.btn-wa:hover {
  background-color: #1EBE5D;
}
.btn-sm {
  padding: 0.45rem 1.15rem;
  font-size: 0.8125rem;
}
.btn-lg {
  padding: 0.75rem 1.75rem;
  font-size: 0.9375rem;
}
.btn-block {
  width: 100%;
}

/* ── Empty States & Custom Infographics ── */
.empty-state-infographic {
  padding: 4rem 1.5rem;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  max-width: 600px;
  margin: 2rem auto 4rem;
}
.empty-svg-wrap {
  margin: 0 auto 1.5rem;
  width: 110px;
  height: 110px;
  display: grid;
  place-items: center;
}
.empty-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.empty-text {
  font-size: 0.9375rem;
  color: var(--ink-muted);
  max-width: 44ch;
  margin: 0 auto 1.75rem;
}
.empty-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── Breadcrumb Navigation ── */
.breadcrumb-nav {
  font-size: 0.8125rem;
  color: var(--ink-muted);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.breadcrumb-sep {
  color: var(--ink-light);
}
.breadcrumb-current {
  color: var(--ink);
  font-weight: 600;
}

/* ── Product Detail Page (PDP) ── */
.pdp-wrap {
  padding-top: 1.5rem;
  padding-bottom: 5rem;
}
.pdp-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 4rem;
}
@media (min-width: 860px) {
  .pdp-layout {
    grid-template-columns: 1.15fr 1fr;
    gap: 3.5rem;
  }
}

.pdp-main-media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--surface-warm);
  border: 1px solid var(--line);
  aspect-ratio: 1 / 1;
}
.pdp-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pdp-media-ph {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--ink-light);
}

.pdp-thumbnails {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}
.pdp-thumb-btn {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--line);
  background: var(--surface-sand);
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  transition: border-color 0.2s;
}
.pdp-thumb-btn.is-active,
.pdp-thumb-btn:hover {
  border-color: var(--brand);
}
.pdp-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdp-category-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-sage);
}
.pdp-product-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
  margin: 0.25rem 0 0.75rem;
}

.pdp-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.pdp-current-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand);
}
.pdp-compare-price {
  font-size: 1.125rem;
  color: var(--ink-light);
  text-decoration: line-through;
}

.pdp-options-container {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.pdp-option-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  margin-bottom: 0.5rem;
}
.pdp-option-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.pdp-option-chip {
  background: var(--surface);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-pill);
  padding: 0.45rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.15s;
}
.pdp-option-chip:hover,
.pdp-option-chip.is-selected {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.pdp-stock-notice {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-sage);
  margin-bottom: 1rem;
}

.pdp-action-block {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.pdp-initial-qty {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.pdp-qty-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-muted);
}
.pdp-stepper-box {
  display: inline-flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-pill);
  padding: 2px 6px;
}
.pdp-step-btn {
  background: none;
  border: none;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  font-size: 1.125rem;
  color: var(--ink);
  cursor: pointer;
}
.pdp-qty-input {
  width: 44px;
  border: none;
  background: transparent;
  text-align: center;
  font-weight: 700;
  outline: none;
  -moz-appearance: textfield;
}
.pdp-qty-input::-webkit-outer-spin-button,
.pdp-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

.pdp-cart-stepper {
  margin-bottom: 1.5rem;
  background: var(--surface-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pdp-stepper-label {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--brand);
}
.qty-stepper-lg {
  padding: 4px 8px;
}
.qty-stepper-lg .qty-btn {
  width: 32px;
  height: 32px;
}
.qty-stepper-lg .qty-num {
  font-size: 1rem;
  min-width: 32px;
}

.pdp-oos-notice {
  color: var(--sale);
  font-size: 0.875rem;
  font-weight: 700;
  margin-top: 0.5rem;
}
.pdp-sold-out-box {
  background: var(--surface-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 0.85rem;
  text-align: center;
  font-weight: 700;
  color: var(--ink-light);
  margin-bottom: 1.5rem;
}

/* Rich Description & Prose */
.pdp-description-section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.pdp-section-heading {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--ink);
}
.prose-rich {
  font-size: 0.9375rem;
  color: var(--ink-muted);
  line-height: 1.7;
}
.prose-rich p {
  margin-bottom: 0.85rem;
}
.prose-rich ul, .prose-rich ol {
  padding-left: 1.5rem;
  margin-bottom: 0.85rem;
}
.prose-rich.is-clamped {
  max-height: 140px;
  overflow: hidden;
  position: relative;
}
.prose-rich.is-clamped::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 48px;
  background: linear-gradient(transparent, var(--bg));
  pointer-events: none;
}
.prose-rich.is-open {
  max-height: none;
}
.see-more-toggle {
  background: none;
  border: none;
  color: var(--brand);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0.25rem 0;
  margin-top: 0.25rem;
  text-decoration: underline;
}

/* PDP Trust Cards */
.pdp-trust-grid {
  margin-top: 2rem;
  display: grid;
  gap: 0.85rem;
  background: var(--surface-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}
.trust-card-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.trust-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--brand);
  flex-shrink: 0;
}
.trust-card-item strong {
  display: block;
  font-size: 0.875rem;
  color: var(--ink);
}
.trust-card-item p {
  font-size: 0.8125rem;
  color: var(--ink-muted);
  margin-top: 1px;
}

/* ── Cart Page ── */
.cart-page-wrap {
  padding-top: 2rem;
  padding-bottom: 5rem;
}
.cart-header {
  margin-bottom: 2rem;
}
.cart-title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--ink);
}
.cart-subtitle {
  color: var(--ink-muted);
  font-size: 0.9375rem;
}

.cart-grid-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: flex-start;
}
@media (min-width: 960px) {
  .cart-grid-container {
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
  }
}

.cart-lines-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-item-row {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 1.25rem;
  align-items: center;
}
.cart-item-media {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface-sand);
  display: block;
}
.cart-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cart-item-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--ink-light);
}
.cart-item-name a {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
}
.cart-item-name a:hover {
  color: var(--brand);
}
.cart-item-options {
  font-size: 0.8125rem;
  color: var(--ink-muted);
  margin-top: 2px;
}
.cart-item-price-tag {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand);
  margin: 0.25rem 0 0.5rem;
}
.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.cart-item-remove-btn {
  background: none;
  border: none;
  color: var(--ink-muted);
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background-color 0.15s;
}
.cart-item-remove-btn:hover {
  color: var(--sale);
  background: rgba(200, 75, 49, 0.08);
}
.cart-item-total-col {
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--brand);
}

.summary-card {
  background: var(--surface-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
}
.summary-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: var(--ink);
}
.summary-rows {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.9375rem;
}
.summary-label {
  color: var(--ink-muted);
}
.summary-value {
  color: var(--ink);
  font-weight: 700;
}
.summary-divider {
  height: 1px;
  background: var(--line);
  margin: 0.5rem 0;
}
.summary-grand-row {
  font-size: 1.15rem;
}
.summary-grand-label {
  font-weight: 800;
  color: var(--ink);
}
.summary-grand-value {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand);
}

.cart-discount-wrap {
  margin-bottom: 1.25rem;
}
.discount-label-text {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ink-muted);
  margin-bottom: 0.35rem;
}
.discount-input {
  width: 100%;
  background: #fff;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-pill);
  padding: 0.65rem 1rem;
  font-size: 0.875rem;
  color: var(--ink);
  outline: none;
}
.discount-input:focus {
  border-color: var(--brand);
}

.summary-assurance {
  margin-top: 1rem;
  text-align: center;
}
.assurance-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--ink-muted);
}

/* ── Checkout Page ── */
.checkout-page-wrap {
  padding-top: 2rem;
  padding-bottom: 5rem;
}
.checkout-header-block {
  max-width: 640px;
  margin: 0 auto 2rem;
  text-align: center;
}
.checkout-title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--ink);
}
.checkout-subtitle {
  color: var(--ink-muted);
  font-size: 0.9375rem;
  margin-top: 0.35rem;
}

.checkout-form-container {
  max-width: 640px;
  margin: 0 auto;
}
.checkout-form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.form-section-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--brand);
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.35rem;
}
.required-star {
  color: var(--sale);
}
.field-hint {
  display: block;
  font-size: 0.75rem;
  color: var(--ink-muted);
  margin-top: 0.25rem;
}
.form-input, .form-textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-input:focus, .form-textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(30, 58, 47, 0.08);
}
.form-row-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 540px) {
  .form-row-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.payment-method-box {
  background: var(--surface-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin: 1.5rem 0;
}
.payment-radio-row {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}
.payment-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--brand);
  flex-shrink: 0;
}
.payment-text strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--ink);
}
.payment-text p {
  font-size: 0.8125rem;
  color: var(--ink-muted);
  margin-top: 2px;
}

.form-error {
  color: var(--sale);
  font-size: 0.875rem;
  font-weight: 700;
  margin: 1rem 0;
}
.checkout-footer-assurance {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--ink-muted);
  margin-top: 1rem;
}

/* ── Order Done Page ── */
.order-done-wrap {
  padding: 3rem 1.25rem 5rem;
  max-width: 600px;
}
.order-done-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.order-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #E8F5E9;
  border: 2px solid #C8E6C9;
  color: var(--success);
  display: grid;
  place-items: center;
  margin: 0 auto 1.25rem;
}
.order-done-kicker {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand);
}
.order-done-number {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 600;
  margin: 0.35rem 0 0.85rem;
  color: var(--ink);
}
.order-done-intro {
  font-size: 0.9375rem;
  color: var(--ink-muted);
  margin-bottom: 1.75rem;
  line-height: 1.6;
}
.order-wa-btn {
  margin-bottom: 1.5rem;
}

.order-summary-box {
  background: var(--surface-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  text-align: left;
  margin-bottom: 1.5rem;
}
.order-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--line-subtle);
}
.order-row-label {
  color: var(--ink-muted);
}
.order-row-val {
  color: var(--ink);
  font-weight: 700;
}
.order-total-row {
  border-bottom: none;
  padding-top: 0.75rem;
  font-size: 1.0625rem;
}
.order-total-label {
  font-weight: 800;
}
.order-total-val {
  font-weight: 800;
  color: var(--brand);
}

.order-items-subblock {
  border-top: 1px solid var(--line);
  margin-top: 0.75rem;
  padding-top: 0.75rem;
}
.order-items-heading {
  display: block;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-light);
  margin-bottom: 0.5rem;
}
.order-items-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.order-item-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
}
.order-item-name {
  font-weight: 600;
}
.order-item-qty {
  color: var(--ink-muted);
  font-size: 0.8125rem;
}
.order-item-price {
  font-weight: 700;
}

.order-timeline-block {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  text-align: left;
  margin-bottom: 1.5rem;
}
.timeline-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--ink);
}
.timeline-steps {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.timeline-step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--ink-light);
}
.timeline-step.is-done {
  color: var(--ink);
  font-weight: 600;
}
.step-indicator {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--line);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
}
.timeline-step.is-done .step-indicator {
  background: var(--success);
}
.order-track-hint {
  font-size: 0.8125rem;
  color: var(--ink-muted);
}
.order-track-hint a {
  color: var(--brand);
  text-decoration: underline;
  font-weight: 600;
}

/* ── Track Order Page ── */
.track-page-wrap {
  padding-top: 2rem;
  padding-bottom: 5rem;
  max-width: 580px;
}
.track-header-block {
  text-align: center;
  margin-bottom: 2rem;
}
.track-title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--ink);
}
.track-subtitle {
  color: var(--ink-muted);
  font-size: 0.9375rem;
  margin-top: 0.35rem;
}

.track-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 2rem;
  margin-bottom: 2rem;
}
.track-error-banner {
  background: #FFEBEE;
  border: 1px solid #FFCDD2;
  color: var(--sale);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.tracked-result-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 2rem;
}
.tracked-head-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1rem;
}
.tracked-eyebrow {
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-sage);
}
.tracked-number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
}
.tracked-status-badge {
  background: var(--surface-warm);
  border: 1px solid var(--line-dark);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: capitalize;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  color: var(--brand);
}

.tracked-timeline-list {
  padding: 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.tracked-details-box {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}
.tracked-meta-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  padding: 0.25rem 0;
}
.tracked-total-row {
  font-size: 1.125rem;
  margin-top: 0.5rem;
}
.tracked-price {
  color: var(--brand);
}

/* ── Shop & Search Pages ── */
.shop-page-wrap,
.search-page-wrap,
.categories-page-wrap,
.product-list-wrap {
  padding-top: 1.5rem;
  padding-bottom: 5rem;
}
.shop-header {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
@media (min-width: 768px) {
  .shop-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}
.shop-title,
.collection-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.15;
}
.shop-count,
.collection-desc {
  font-size: 0.9375rem;
  color: var(--ink-muted);
  margin-top: 4px;
}

.shop-search-bar,
.categories-search-bar {
  display: flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.85rem;
  gap: 0.5rem;
  max-width: 380px;
}
.shop-search-bar input,
.categories-search-bar input {
  border: none;
  background: transparent;
  width: 100%;
  font-size: 0.875rem;
  outline: none;
}

.search-top-header {
  max-width: 640px;
  margin: 0 auto 3rem;
  text-align: center;
}
.search-page-title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--ink);
}
.search-page-sub {
  color: var(--ink-muted);
  margin-top: 0.35rem;
  margin-bottom: 1.5rem;
}
.search-hero-bar {
  display: flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-pill);
  padding: 0.5rem 1rem;
  gap: 0.75rem;
  box-shadow: var(--shadow-sm);
}
.search-hero-bar input {
  border: none;
  background: transparent;
  width: 100%;
  font-size: 1rem;
  outline: none;
}
.search-quick-tags {
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.quick-tags-label {
  font-size: 0.8125rem;
  color: var(--ink-muted);
}
.chip-tag {
  background: var(--surface-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 0.25rem 0.75rem;
  font-size: 0.8125rem;
  color: var(--ink);
  transition: all 0.15s;
}
.chip-tag:hover {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.search-empty-prompt {
  margin-top: 3rem;
}
.search-browse-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.search-collections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}
.search-collection-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.search-collection-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.search-collection-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 0.75rem;
}
.search-collection-avatar-ph {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--surface-warm);
  display: grid;
  place-items: center;
  font-size: 1.75rem;
  margin: 0 auto 0.75rem;
}
.search-collection-card-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
}
.search-collection-card-sub {
  display: block;
  font-size: 0.75rem;
  color: var(--accent-sage);
  margin-top: 2px;
}

/* ── Categories Page Grid ── */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}
.category-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.category-card-media {
  aspect-ratio: 16 / 10;
  background: var(--surface-sand);
  display: block;
  overflow: hidden;
}
.category-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.category-card:hover .category-img {
  transform: scale(1.04);
}
.category-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--ink-light);
  font-weight: 700;
}
.category-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.category-card-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.35rem;
}
.category-card-desc {
  font-size: 0.875rem;
  color: var(--ink-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}
.category-card-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--brand);
}

/* ── Pagination ── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
}
.pagination-btn {
  font-size: 0.875rem;
}
.page-current {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink-muted);
}

/* ── Editorial Pages (About, Contact, Delivery, FAQ, Privacy) ── */
.editorial-page-wrap {
  padding-top: 2.5rem;
  padding-bottom: 5rem;
  max-width: 760px;
}
.editorial-header {
  margin-bottom: 2.5rem;
}
.editorial-kicker {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-sage);
  margin-bottom: 0.35rem;
}
.editorial-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -0.015em;
}
.editorial-sub {
  font-size: 1.0625rem;
  color: var(--ink-muted);
  margin-top: 0.5rem;
}

.editorial-prose {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.lead-paragraph {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--ink);
  font-weight: 500;
}
.editorial-prose h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  margin-top: 1rem;
  color: var(--brand);
}

.editorial-callout-card {
  background: var(--surface-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  gap: 1.25rem;
  margin: 1rem 0;
}
.callout-icon {
  font-size: 2rem;
  line-height: 1;
}
.callout-text h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--brand);
}
.callout-text p {
  font-size: 0.9375rem;
  color: var(--ink-muted);
  line-height: 1.55;
}
.editorial-action-row {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

/* Contact Channels */
.contact-cards-container {
  display: grid;
  gap: 1.25rem;
}
.contact-channel-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.contact-channel-wa {
  border-color: #A7F3D0;
  background: #F0FDF4;
}
.channel-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.wa-icon-wrap {
  background: #25D366;
  color: #fff;
}
.brand-icon-wrap {
  background: var(--surface-warm);
  color: var(--brand);
  border: 1px solid var(--line);
}
.channel-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.25rem;
}
.channel-desc {
  font-size: 0.875rem;
  color: var(--ink-muted);
  margin-bottom: 0.75rem;
}
.channel-link-text {
  font-weight: 700;
  color: var(--brand);
  text-decoration: underline;
}

/* Delivery Steps */
.delivery-steps-grid {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.delivery-step-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.delivery-num-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 1.125rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.delivery-step-heading {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.35rem;
}
.delivery-step-body {
  font-size: 0.9375rem;
  color: var(--ink-muted);
  line-height: 1.6;
}
.delivery-footer-card {
  background: var(--surface-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .delivery-footer-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }
}
.delivery-footer-content {
  flex: 1;
}
.delivery-footer-content h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--brand);
}
.delivery-footer-content p {
  font-size: 0.875rem;
  color: var(--ink-muted);
  margin-top: 2px;
}
.delivery-footer-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  max-width: 220px;
  flex-shrink: 0;
}
.delivery-footer-actions .btn {
  width: 100%;
  text-align: center;
  padding: 0.5rem 1.25rem;
  font-size: 0.8125rem;
  white-space: nowrap;
}

/* FAQ Accordion */
.faq-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item[open] {
  border-color: var(--line-dark);
}
.faq-question {
  padding: 1.15rem 1.25rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-question::-webkit-details-marker {
  display: none;
}
.faq-question::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--brand);
}
.faq-item[open] .faq-question::after {
  content: "−";
}
.faq-answer {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.9375rem;
  color: var(--ink-muted);
  line-height: 1.65;
}
.faq-answer a {
  color: var(--brand);
  text-decoration: underline;
  font-weight: 600;
}
.faq-contact-card {
  background: var(--surface-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.faq-contact-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
}
.faq-contact-card p {
  font-size: 0.875rem;
  color: var(--ink-muted);
}

/* Privacy Cards */
.policy-grid-cards {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.policy-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}
.policy-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 0.5rem;
}
.policy-card-text {
  font-size: 0.9375rem;
  color: var(--ink-muted);
  line-height: 1.6;
}
.policy-closing-box {
  background: var(--surface-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}
.policy-closing-box h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.policy-closing-box p {
  font-size: 0.875rem;
  color: var(--ink-muted);
}
.policy-closing-box a {
  color: var(--brand);
  font-weight: 700;
}

/* ── Desktop 4-Section Footer (Rule 3) ── */
.site-footer {
  background-color: var(--brand);
  color: #EDE8DE;
  padding-top: 4.5rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-logo {
  height: 56px;
  width: auto;
  object-fit: contain;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}
.footer-brand-title {
  display: flex;
  flex-direction: column;
  line-height: 1;
  margin-bottom: 1rem;
}
.footer-brand-title .brand-name-primary {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: #FFFFFF !important;
}
.footer-brand-title .brand-name-sub {
  font-family: var(--font-sans);
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  color: #FFFFFF !important;
  opacity: 0.9;
  margin-top: 3px;
}
.footer-bio {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #C0CFC5;
  max-width: 34ch;
  margin-bottom: 1.25rem;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.social-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  color: #EDE8DE;
  transition: background-color 0.2s, transform 0.15s;
}
.social-icon-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.footer-contact-details {
  font-size: 0.8125rem;
  color: #A3B5AA;
  line-height: 1.6;
}
.footer-contact-details a {
  color: #EDE8DE;
  font-weight: 600;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.footer-links a {
  font-size: 0.875rem;
  color: #C0CFC5;
  transition: color 0.15s, transform 0.15s;
  display: inline-block;
}
.footer-links a:hover {
  color: #FFFFFF;
  transform: translateX(2px);
}

.footer-newsletter {
  margin-top: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}
.footer-subheading {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 0.25rem;
}
.footer-subtext {
  font-size: 0.75rem;
  color: #A3B5AA;
  margin-bottom: 0.75rem;
}
.newsletter-inline-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.newsletter-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  padding: 0.5rem 0.85rem;
  font-size: 0.8125rem;
  color: #fff;
  outline: none;
}
.newsletter-input::placeholder {
  color: #A3B5AA;
}

.footer-bottom {
  padding: 1.5rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: #8C9F93;
}
.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}
.footer-bottom-links a {
  color: #A3B5AA;
  transition: color 0.15s;
}
.footer-bottom-links a:hover {
  color: #FFFFFF;
}

/* ── Responsive Queries ── */
@media (min-width: 768px) {
  .nav {
    display: flex;
  }
  .menu-btn {
    display: none;
  }
  .hero-container {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 767px) {
  .site-footer {
    display: block;
    padding-top: 3rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.5rem;
    padding-bottom: 2.5rem;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .header-search {
    display: none;
  }
  .hero-collage {
    grid-template-columns: 1fr;
    max-width: 340px;
    margin: 0 auto;
  }
  .hero-side-tiles {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .hero-floating-badge {
    right: 0.5rem;
    top: 0.5rem;
  }
  .collections-pill-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
  .collection-pill-card {
    padding: 0.75rem;
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  .collection-pill-media {
    display: none;
  }
  .cart-item-row {
    grid-template-columns: 64px 1fr;
    gap: 0.85rem;
  }
  .cart-item-total-col {
    grid-column: 1 / -1;
    text-align: right;
    padding-top: 0.5rem;
    border-top: 1px dashed var(--line);
  }
}
