/* ═══════════════════════════════════════════════════════════════
   collections.css  —  fully self-contained
   Covers all static classes in collections.html and all
   JS-rendered classes from collections.js:
     .collection  .collection-header  .collection-header-inner
     .collection-header-text  .collection-header-image
     .collection-description  .collection-toolbar  .btn-view-all
     .product-grid  .product-card  .product-link  .product-image
     .product-title  .product-price  .product-actions  .btn-view  .btn
   Editorial luxury: Cormorant Garamond + DM Sans.
   Tokens match shopall.css exactly — no aliases, no divergences.
═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');


/* ─────────────────────────────────────────────
   RESET & TOKENS
   Identical to shopall.css / web-c.css / products.css
───────────────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --pink:        #e8407a;
  --purple:      #7c3aed;
  --pink-light:  #fdf2f7;
  --pink-soft:   #fce7f3;
  --ink:         #0d0d12;
  --ink-mid:     #3d3d4a;
  --muted:       #8a8a9a;
  --border:      #ebebf0;
  --white:       #ffffff;
  --bg:          #f8f8fc;
  --gradient:    linear-gradient(135deg, #e8407a, #7c3aed);
  --shadow-sm:   0 1px 4px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.04);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.08), 0 12px 32px rgba(0,0,0,0.06);
  --shadow-lg:   0 8px 32px rgba(0,0,0,0.1), 0 24px 64px rgba(0,0,0,0.08);
  --radius:      16px;
  --radius-sm:   10px;
  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'DM Sans', system-ui, sans-serif;
  --nav-h:       64px;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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


/* ─────────────────────────────────────────────
   NAVBAR
   Frosted glass, shrinks 8px on scroll.
───────────────────────────────────────────── */
.navbar {
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid transparent;
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: border-color 0.3s, box-shadow 0.3s, height 0.3s;
}

.navbar.scrolled {
  border-color: var(--border);
  box-shadow: 0 1px 20px rgba(0,0,0,0.06);
  height: 56px;
}

.navbar-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.logo-btn em  { color: var(--pink); font-style: italic; }
.logo-btn img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }

.logo img     { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }

.nav-links { display: flex; align-items: center; gap: 4px; }

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-mid);
  padding: 6px 12px;
  border-radius: 8px;
  letter-spacing: 0.02em;
  transition: color 0.2s, background 0.2s;
}

.nav-link:hover  { color: var(--ink); background: rgba(0,0,0,0.04); }
.nav-link.active { color: var(--pink); font-weight: 600; }

.nav-cart-btn {
  position: relative;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  flex-shrink: 0;
  transition: border-color 0.2s, color 0.2s, background 0.2s, transform 0.2s;
}

.nav-cart-btn:hover {
  border-color: var(--pink);
  color: var(--pink);
  background: var(--pink-soft);
  transform: translateY(-1px);
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--gradient);
  color: #fff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 0.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  border: 2px solid var(--bg);
}

.cart-count[hidden] { display: none; }


/* ─────────────────────────────────────────────
   HERO
   Two-column editorial: text left, image right.
───────────────────────────────────────────── */
.hero {
  padding: 72px 32px 80px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 16px;
}

.hero-sparkle { width: 18px; height: 18px; }

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 18px;
}

.hero-title em {
  color: var(--pink);
  font-style: italic;
  font-weight: 300;
}

.hero-sub {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.75;
  max-width: 420px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  background: var(--pink-light);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.2,0,0,1);
}

.hero-media:hover img { transform: scale(1.04); }


/* ─────────────────────────────────────────────
   BUTTONS
───────────────────────────────────────────── */

/* Primary — dark fill, turns pink on hover */
.btn-primary,
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  padding: 13px 24px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.15s;
}

.btn-primary:hover,
.btn:hover {
  background: var(--pink);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(232,64,122,0.35);
}

.btn-primary svg,
.btn svg { transition: transform 0.2s; }

.btn-primary:hover svg,
.btn:hover svg { transform: translateX(3px); }

/* Secondary — outlined, ink border */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 22px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
}

.btn-secondary:hover { border-color: var(--ink); transform: translateY(-1px); }

/* View product — ghost pill, used on product cards */
.btn-view {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 8px 18px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.btn-view:hover { border-color: var(--ink); background: rgba(13,13,18,0.03); }

/* View all — uppercase text link with arrow */
.btn-view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}

.btn-view-all::after           { content: '→'; display: inline-block; transition: transform 0.2s; }
.btn-view-all:hover            { color: var(--ink); border-color: var(--ink); }
.btn-view-all:hover::after     { transform: translateX(4px); }

/* Bundle CTA pill — frosted white on gradient */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,0.3);
  white-space: nowrap;
  text-decoration: none;
  backdrop-filter: blur(8px);
  letter-spacing: 0.02em;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.pill:hover {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-2px);
}

.pill p { margin: 0; }


/* ─────────────────────────────────────────────
   HEROES — centred intro text strip
───────────────────────────────────────────── */
.heroes {
  text-align: center;
  padding: 72px 32px 48px;
}

.heroes-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 12px;
}

.heroes h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.05;
  margin-bottom: 16px;
}

.heroes p {
  font-size: 1rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.75;
  max-width: 400px;
  margin: 0 auto;
}


/* ─────────────────────────────────────────────
   BUNDLE BANNER
   Full-width gradient strip with radial sheen.
   Side-by-side: text left, frosted-pill CTA right.
───────────────────────────────────────────── */
.bundle-banner {
  background: var(--gradient);
  overflow: hidden;
  position: relative;
}

.bundle-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(255,255,255,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 50%, rgba(255,255,255,0.05) 0%, transparent 60%);
  pointer-events: none;
}

.bundle-banner-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 48px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
}

.bundle-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 8px;
}

.bundle-banner-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 300;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.bundle-banner-text p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  font-weight: 300;
  max-width: 440px;
}

.bundle-banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,0.3);
  white-space: nowrap;
  text-decoration: none;
  backdrop-filter: blur(8px);
  letter-spacing: 0.02em;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.bundle-banner-cta:hover {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-2px);
}

.bundle-banner-cta svg           { transition: transform 0.2s; }
.bundle-banner-cta:hover svg     { transform: translateX(3px); }

/* Alternate centred bundles strip (no .bundle-banner-inner) */
.bundles {
  background: var(--gradient);
  overflow: hidden;
  position: relative;
  text-align: center;
  padding: 72px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.bundles::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(255,255,255,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 50%, rgba(255,255,255,0.05) 0%, transparent 60%);
  pointer-events: none;
}

.bundles > * { position: relative; }

.bundles h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 300;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.bundles > p {
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  line-height: 1.75;
  max-width: 440px;
}

.bundles .pill { margin-top: 8px; }


/* ─────────────────────────────────────────────
   COLLECTIONS WRAPPER
───────────────────────────────────────────── */
.collectionsclass {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px 80px;
}

#collections { padding-top: 40px; }

/* Loading dots */
#collections .collections-loading {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 60px 0;
}

#collections .collections-loading span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  animation: pulse-dot 1.2s ease-in-out infinite;
}

#collections .collections-loading span:nth-child(2) { animation-delay: 0.2s; }
#collections .collections-loading span:nth-child(3) { animation-delay: 0.4s; }

@keyframes pulse-dot {
  0%, 80%, 100% { transform: scale(0.7); opacity: 0.4; }
  40%            { transform: scale(1);   opacity: 1;   }
}

#collections > p {
  text-align: center;
  color: var(--muted);
  padding: 40px 0;
  font-size: 0.9rem;
}


/* ─────────────────────────────────────────────
   JS-RENDERED: COLLECTION SECTION
───────────────────────────────────────────── */
.collection {
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
  animation: fade-up 0.5s cubic-bezier(0.2,0,0,1) both;
}

.collection:last-child { border-bottom: none; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Alternate image side on even collections */
.collection:nth-child(even) .collection-header-inner                { direction: rtl; }
.collection:nth-child(even) .collection-header-inner > *            { direction: ltr; }

.collection-header { margin-bottom: 40px; }

.collection-header-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
}

.collection-header-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.collection-header-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 300;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1.05;
}

.collection-description {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.75;
  max-width: 400px;
}

.collection-description p {
  margin: 0;
  font-size: inherit;
  color: inherit;
}

.collection-header-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
  background: var(--pink-light);
}

.collection-header-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.2,0,0,1);
}

.collection-header-image:hover img { transform: scale(1.04); }

/* Toolbar — "View all" link sitting above the product grid */
.collection-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}


/* ─────────────────────────────────────────────
   JS-RENDERED: PRODUCT GRID & CARDS
───────────────────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  animation: cardReveal 0.5s ease both;
  transition: transform 0.3s cubic-bezier(0.2,0,0,1),
              box-shadow 0.3s cubic-bezier(0.2,0,0,1),
              border-color 0.3s;
}

@keyframes cardReveal {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(232,64,122,0.15);
}

/* Image link */
.product-link {
  display: block;
  overflow: hidden;
  position: relative;
  background: var(--pink-light);
}

.product-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.2,0,0,1);
}

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

/* Hover overlay with animated label */
.product-link::after {
  content: 'View Product';
  position: absolute;
  inset: 0;
  background: rgba(13,13,18,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover .product-link::after { opacity: 1; }

/* Card text */
.product-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.3;
  padding: 18px 20px 4px;
  transition: color 0.2s;
}

.product-card:hover .product-title { color: var(--pink); }

.product-price {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  padding: 0 20px 14px;
}

.product-actions {
  margin-top: auto;
  padding: 0 20px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* View product button — matches .view-product-btn in shopall.css */
.view-product-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.view-product-btn:hover {
  background: var(--pink);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(232,64,122,0.35);
}

.view-product-btn svg           { transition: transform 0.2s; }
.view-product-btn:hover svg     { transform: translateX(3px); }


/* ─────────────────────────────────────────────
   CART SIDEBAR
───────────────────────────────────────────── */
.cart-sidebar-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(13,13,18,0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cart-sidebar-backdrop.open { opacity: 1; pointer-events: all; }

.cart-sidebar {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(420px, 100vw);
  background: var(--white);
  z-index: 201;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  box-shadow: -16px 0 48px rgba(0,0,0,0.12);
}

.cart-sidebar.open { transform: translateX(0); }

.cart-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.cart-sidebar-header-left {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.cart-sidebar-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.cart-sidebar-count {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 400;
}

.cart-sidebar-close {
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--border);
  background: none;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-mid);
  font-family: inherit;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.cart-sidebar-close:hover {
  border-color: var(--pink);
  color: var(--pink);
  background: var(--pink-soft);
}

.cart-sidebar-body { flex: 1; overflow-y: auto; padding: 20px 24px; }

.cart-loading {
  text-align: center;
  padding: 40px 24px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 300;
}

.cart-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
}

.cart-empty-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  opacity: 0.4;
}

.cart-empty p {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--ink-mid);
  margin-bottom: 6px;
}

.cart-empty span {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 300;
}

.cart-line {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.cart-line:last-child { border-bottom: none; }

.cart-line-img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  background: var(--pink-light);
  border: 1px solid var(--border);
}

.cart-line-info { flex: 1; min-width: 0; }

.cart-line-title {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-line-variant {
  font-size: 0.76rem;
  color: var(--muted);
  margin-bottom: 6px;
  font-weight: 300;
}

.cart-line-bottom { display: flex; align-items: center; justify-content: space-between; }

.cart-line-price { font-size: 0.9rem; font-weight: 600; color: var(--ink); }

.cart-line-qty {
  font-size: 0.74rem;
  color: var(--muted);
  background: var(--bg);
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
}

.cart-line-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1;
  padding: 4px;
  transition: color 0.15s;
  font-family: inherit;
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 2px;
}

.cart-line-remove:hover { color: #ef4444; }

.cart-sidebar-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  background: var(--white);
}

.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
}

.cart-subtotal-label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.cart-subtotal-value {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.cart-checkout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 15px;
  text-decoration: none;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.15s;
}

.cart-checkout-btn:hover {
  background: var(--pink);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(232,64,122,0.3);
}

.cart-checkout-btn svg         { transition: transform 0.2s; }
.cart-checkout-btn:hover svg   { transform: translateX(3px); }

.cart-continue-btn {
  display: block;
  width: 100%;
  background: transparent;
  color: var(--muted);
  border: 1.5px solid var(--border);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.82rem;
  padding: 11px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  margin-top: 10px;
  letter-spacing: 0.02em;
  transition: border-color 0.15s, color 0.15s;
}

.cart-continue-btn:hover { border-color: var(--ink); color: var(--ink); }


/* ─────────────────────────────────────────────
   FOOTER — dark ink, four-column grid
───────────────────────────────────────────── */
.site-footer {
  background: var(--ink);
  margin-top: 120px;
  padding: 72px 32px 32px;
  color: rgba(255,255,255,0.6);
}

.footer-top {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Brand column */
.footer-brand .logo-btn {
  color: rgba(255,255,255,0.9);
  margin-bottom: 16px;
  display: inline-flex;
}

.footer-brand .logo-btn em { color: var(--pink); }
.footer-brand .logo img    { opacity: 0.9; }

.footer-description {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.45);
  font-weight: 300;
  max-width: 260px;
  margin-bottom: 24px;
}

.social-links { display: flex; gap: 12px; }

.social-links a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}

.social-links a:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}

.social-links a img {
  width: 18px;
  height: 18px;
  opacity: 0.7;
}

.footer-col h4 {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}

.footer-nav { display: flex; flex-direction: column; gap: 10px; }

.footer-link {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  font-weight: 300;
  transition: color 0.2s;
  display: inline-block;
}

.footer-link:hover { color: rgba(255,255,255,0.9); }

.newsletter-form {
  display: flex;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: rgba(255,255,255,0.04);
}

.newsletter-form input {
  flex: 1;
  min-width: 0;
  padding: 12px 16px;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
}

.newsletter-form input::placeholder { color: rgba(255,255,255,0.3); }

.newsletter-form button {
  background: rgba(255,255,255,0.08);
  border: none;
  border-left: 1px solid rgba(255,255,255,0.1);
  padding: 12px 16px;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
  font-family: inherit;
}

.newsletter-form button:hover {
  background: rgba(255,255,255,0.14);
  color: #fff;
}

.footer-bottom {
  max-width: 1360px;
  margin: 32px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.28);
  font-weight: 300;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom span { display: flex; align-items: center; gap: 6px; }
.footer-bottom img  { width: 14px; height: 14px; opacity: 0.6; }


/* ─────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-media { aspect-ratio: 16 / 9; }
  .collection-header-inner { grid-template-columns: 1fr; gap: 28px; }
  .collection:nth-child(even) .collection-header-inner     { direction: ltr; }
  .collection:nth-child(even) .collection-header-inner > * { direction: ltr; }
}

@media (max-width: 768px) {
  :root { --nav-h: 56px; }

  .navbar-inner         { padding: 0 20px; }
  .nav-links            { display: none; }
  .hero                 { padding: 48px 20px 56px; }
  .heroes               { padding: 48px 20px 36px; }
  .bundles              { padding: 48px 20px; }
  .bundle-banner-inner  { flex-direction: column; align-items: flex-start; gap: 20px; padding: 36px 20px; }
  .collectionsclass     { padding: 0 20px 60px; }
  .site-footer          { padding: 48px 20px 24px; margin-top: 80px; }
  .footer-top           { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom        { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .product-grid                  { grid-template-columns: 1fr; }
  .hero-title                    { font-size: 2.4rem; }
  .collection-header-text h2     { font-size: 1.8rem; }
}