/* ═══════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════ */
*, *::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
═══════════════════════════════════════ */
.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 */
.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 img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}

/* Nav links */
.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;
  transition: color 0.2s, background 0.2s;
  letter-spacing: 0.02em;
}

.nav-link:hover {
  color: var(--ink);
  background: rgba(0,0,0,0.04);
}

.nav-link.active {
  color: var(--pink);
  font-weight: 600;
}

/* Cart button */
.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);
  transition: border-color 0.2s, color 0.2s, background 0.2s, transform 0.2s;
  flex-shrink: 0;
}

.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; }

/* ═══════════════════════════════════════
   BUNDLE BANNER
═══════════════════════════════════════ */
.bundle-banner {
  background: var(--gradient);
  padding: 0;
  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-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;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  backdrop-filter: blur(8px);
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.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);
}

/* ═══════════════════════════════════════
   COLLECTION HEADER
═══════════════════════════════════════ */
.collection {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 32px 80px;
}

.collection-header {
  text-align: center;
  padding: 72px 0 48px;
}

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

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

.collection-subtitle {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 300;
  max-width: 400px;
  margin: 0 auto;
  letter-spacing: 0.01em;
}

/* ═══════════════════════════════════════
   FILTER BAR
═══════════════════════════════════════ */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 0 0 48px;
}

.filter-btn {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-mid);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s, transform 0.15s, box-shadow 0.15s;
  letter-spacing: 0.02em;
}

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

.filter-btn.active {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(232,64,122,0.3);
}

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

/* ═══════════════════════════════════════
   PRODUCT CARD
═══════════════════════════════════════ */
.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 wrap ── */
.product-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--pink-light);
}

/* Shopify web-component image fill */
.product-img-wrap shopify-media {
  display: block;
  width: 100%;
  height: 100%;
}

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

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

/* ── Hover overlay — same pill pattern as bundle cards ── */
.product-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,13,18,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.product-card:hover .product-img-overlay {
  opacity: 1;
}

/* Pill label inside overlay — matches .card-view-overlay span in bundles.css */
.quick-view-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.6);
  padding: 8px 20px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transform: translateY(6px);
  transition: transform 0.3s ease;
}

.product-card:hover .quick-view-label {
  transform: translateY(0);
}

/* ── Product link wraps the image + title ── */
.product-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

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

.product-card:hover h2,
.product-link:hover h2 {
  color: var(--pink);
}

.product-description {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
  padding: 0 20px;
  margin-bottom: 10px;
  font-weight: 300;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-description p,
.product-description div {
  margin: 0;
  font-size: inherit;
  color: inherit;
  line-height: inherit;
}

.product-price {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  padding: 0 20px 14px;
  letter-spacing: -0.01em;
}

/* ── Colour swatches ── */
.product-colors {
  padding: 0 20px 14px;
}

.color-options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.color-swatch {
  width: 22px;
  height: 22px;
  border: 2px solid var(--border);
  border-radius: 50%;
  padding: 2px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}

.color-swatch:hover {
  border-color: var(--pink);
  transform: scale(1.2);
}

.color-swatch.selected,
.color-swatch.active {
  border-color: var(--pink);
  box-shadow: 0 0 0 2px rgba(232,64,122,0.2);
}

.swatch-color {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.06);
}

/* ── CTA button row ── */
.product-actions {
  margin-top: auto;
  padding: 0 20px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Matches .btn-choose-colour in bundles.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 {
  flex-shrink: 0;
  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);
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  font-family: inherit;
}

.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-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;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 15px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  letter-spacing: 0.03em;
  text-decoration: none;
  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);
}

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

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.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);
}

.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;
  gap: 0;
  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;
  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);
  min-width: 0;
}

.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: 768px) {
  :root { --nav-h: 56px; }

  .navbar-inner { padding: 0 20px; }

  .nav-links { display: none; }

  .bundle-banner-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 36px 20px;
  }

  .collection { padding: 0 20px 60px; }

  .collection-header { padding: 48px 0 32px; }

  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .site-footer { padding: 48px 20px 24px; }

  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .filter-bar { gap: 6px; }
  .filter-btn { padding: 8px 16px; font-size: 0.78rem; }
}
/* ═══════════════════════════════════════════════════════════════
   bundles.css  —  fully self-contained
   5-Pack Bundle Builder page.
   Side-by-side layout: scrollable product grid (left) +
   sticky summary panel (right) — no scrolling to reach the CTA.
   Tokens match shopall.css / collections.css exactly.
═══════════════════════════════════════════════════════════════ */

@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
───────────────────────────────────────────── */
*, *::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
───────────────────────────────────────────── */
.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 img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.logo-btn em  { color: var(--pink); font-style: italic; }

.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; }


/* ─────────────────────────────────────────────
   PAGE SHELL
   Full-height viewport layout so the right
   panel can be sticky without needing to scroll.
───────────────────────────────────────────── */
.bundle-page {
  min-height: calc(100vh - var(--nav-h));
  padding: 0 32px 48px;
}

/* Two-column split:
   left  = scrollable product catalogue
   right = sticky summary + CTA panel      */
.bundle-shell {
  max-width: 1360px;
  margin: 0 auto;
  padding-top: 32px;
  display: grid;
  grid-template-columns: 1fr 380px;
  grid-template-rows: auto auto 1fr;
  grid-template-areas:
    "crumb   crumb"
    "header  panel"
    "grid    panel";
  gap: 0 48px;
  align-items: start;
}


/* ─────────────────────────────────────────────
   BREADCRUMB
───────────────────────────────────────────── */
.crumbs {
  grid-area: crumb;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
  margin-bottom: 28px;
  transition: color 0.2s;
}

.crumbs:hover { color: var(--ink); }
.crumbs svg   { flex-shrink: 0; }


/* ─────────────────────────────────────────────
   PAGE HEADER (left column)
───────────────────────────────────────────── */
.bundle-header {
  grid-area: header;
  margin-bottom: 32px;
}

.bundle-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 10px;
  display: block;
}

.bundle-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--ink);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
}

.bundle-subtitle {
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.7;
  max-width: 480px;
}


/* ─────────────────────────────────────────────
   STICKY RIGHT PANEL
   Sits in grid-area: panel, spans header + grid
   rows, sticks below the navbar.
───────────────────────────────────────────── */
.bundle-right-panel {
  grid-area: panel;
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  display: flex;
  flex-direction: column;
  gap: 0;
  align-self: start;
}

/* ── Progress card ── */
.bundle-progress-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

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

.bundle-totals-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.bundle-total-value {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.02em;
}

/* Progress bar */
.bundle-progress-wrap { margin-bottom: 20px; }

.bundle-progress-bar {
  height: 6px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 8px;
}

.bundle-progress-fill {
  height: 100%;
  background: var(--gradient);
  border-radius: 999px;
  transition: width 0.35s cubic-bezier(0.4,0,0.2,1);
}

.bundle-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--muted);
}

/* Selection chips */
.bundle-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 32px;
}

.bundle-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--pink-soft);
  color: var(--pink);
  border: 1px solid rgba(232,64,122,0.2);
  border-radius: 999px;
  padding: 4px 10px 4px 4px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  animation: chipIn 0.2s cubic-bezier(0.2,0,0,1) both;
}

.bundle-chip img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(232,64,122,0.15);
}

@keyframes chipIn {
  from { opacity: 0; transform: scale(0.85); }
  to   { opacity: 1; transform: scale(1); }
}

/* ── Divider ── */
.panel-divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}

/* ── CTA section ── */
.bundle-cta-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 20px 24px 24px;
  box-shadow: var(--shadow-sm);
}

.bundle-cta {
  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-size: 0.9rem;
  font-weight: 600;
  padding: 15px 20px;
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: background 0.2s, transform 0.15s, box-shadow 0.15s, opacity 0.2s;
}

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

.bundle-cta:disabled {
  background: var(--border);
  color: var(--muted);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.bundle-note {
  font-size: 0.76rem;
  font-weight: 300;
  color: var(--muted);
  text-align: center;
  margin-top: 12px;
  line-height: 1.6;
}


/* ─────────────────────────────────────────────
   PRODUCT GRID (left column, scrollable)
───────────────────────────────────────────── */
.bundle-products-grid {
  grid-area: grid;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  align-content: start;
}

/* Loading dots */
.bundle-loading-dots {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 60px 0;
}

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

.bundle-loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.bundle-loading-dots 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;   }
}

.bundle-error {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 0;
  color: var(--muted);
  font-size: 0.9rem;
}


/* ─────────────────────────────────────────────
   BUNDLE PRODUCT CARD
───────────────────────────────────────────── */
.bundle-product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s cubic-bezier(0.2,0,0,1),
              box-shadow 0.3s,
              border-color 0.3s;
  animation: cardReveal 0.4s ease both;
}

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

.bundle-product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(232,64,122,0.2);
}

/* Highlighted when items selected from this product */
.bundle-product-card.has-qty {
  border-color: var(--pink);
  box-shadow: 0 0 0 2px rgba(232,64,122,0.15), var(--shadow-sm);
}

/* Quantity badge top-right */
.card-qty-badge {
  position: absolute;
  top: 10px; right: 10px;
  background: var(--gradient);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 50%;
  width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
  z-index: 2;
}

.bundle-product-card.has-qty .card-qty-badge {
  opacity: 1;
  transform: scale(1);
}

/* Card clickable image + title area */
.card-view-btn {
  display: block;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  text-align: left;
}

.card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--pink-light);
}

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

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

.card-img-placeholder {
  width: 100%; height: 100%;
  background: var(--pink-light);
}

/* "View & select" hover overlay */
.card-view-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,13,18,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.bundle-product-card:hover .card-view-overlay { opacity: 1; }

.card-view-overlay span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.6);
  padding: 7px 18px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
  transform: translateY(4px);
  transition: transform 0.3s ease;
}

.bundle-product-card:hover .card-view-overlay span { transform: translateY(0); }

/* Card text */
.card-body {
  padding: 14px 16px 12px;
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 3px;
  transition: color 0.2s;
}

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

.card-price {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
}

/* Stepper row at bottom of card */
.card-stepper-row {
  padding: 0 14px 14px;
  margin-top: auto;
}

/* Qty stepper (single-variant products) */
.qty-stepper {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  background: var(--bg);
}

.qty-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 1rem;
  color: var(--ink-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
}

.qty-btn:not(:disabled):hover {
  background: var(--pink-soft);
  color: var(--pink);
}

.qty-btn:disabled {
  color: var(--border);
  cursor: not-allowed;
}

.qty-value {
  flex: 1;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  min-width: 0;
}

/* "Choose colour" button (multi-variant products) */
.btn-choose-colour {
  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: 10px 16px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: background 0.2s, transform 0.15s, box-shadow 0.15s;
}

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

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


/* ─────────────────────────────────────────────
   PRODUCT DETAIL DRAWER
   Slides in from the right for multi-variant
   products. Overlays the page at z-index 300.
───────────────────────────────────────────── */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(13,13,18,0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(460px, 100vw);
  background: var(--white);
  z-index: 301;
  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);
}

.drawer.open { transform: translateX(0); }

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

.drawer-header-title {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.drawer-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);
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  font-family: inherit;
}

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

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.drawer-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--pink-light);
}

.drawer-img-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--pink-light);
  border-radius: var(--radius);
}

.drawer-eyebrow {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: -8px;
}

.drawer-product-title {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 300;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.drawer-product-price {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.drawer-product-desc {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.7;
}

.drawer-product-desc p { margin: 0; }

.drawer-option-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: -8px;
}

/* Colour swatches */
.drawer-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.drawer-swatch {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--white);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-mid);
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.drawer-swatch:hover {
  border-color: var(--pink);
  color: var(--ink);
}

.drawer-swatch.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* Quantity row inside drawer */
.drawer-qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.drawer-qty-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-mid);
  letter-spacing: 0.04em;
}

.drawer-stepper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  background: var(--bg);
}

.drawer-qty-btn {
  width: 38px; height: 38px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 1rem;
  color: var(--ink-mid);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-family: inherit;
  transition: background 0.15s, color 0.15s;
}

.drawer-qty-btn:not(:disabled):hover {
  background: var(--pink-soft);
  color: var(--pink);
}

.drawer-qty-btn:disabled { color: var(--border); cursor: not-allowed; }

.drawer-qty-val {
  padding: 0 14px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  min-width: 28px;
  text-align: center;
}

/* "Add to bundle" button inside drawer */
.drawer-add-btn {
  width: 100%;
  margin-top: 4px;
}

.drawer-add-note {
  text-align: center;
  font-size: 0.76rem;
  font-weight: 400;
  color: var(--muted);
  margin-top: -8px;
  line-height: 1.5;
}


/* ─────────────────────────────────────────────
   CART SIDEBAR  (z-index 200, below drawer)
───────────────────────────────────────────── */
.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; 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); }


/* ─────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────── */

/* Slightly narrower side panel at medium widths */
@media (max-width: 1200px) {
  .bundle-shell {
    grid-template-columns: 1fr 320px;
    gap: 0 32px;
  }
}

/* Stack to single column below 900px —
   panel moves above the grid              */
@media (max-width: 900px) {
  .bundle-shell {
    grid-template-columns: 1fr;
    grid-template-areas:
      "crumb"
      "header"
      "panel"
      "grid";
    gap: 0;
  }

  .bundle-right-panel {
    position: static;
    margin-bottom: 32px;
  }

  /* Fuse progress card + CTA into one card */
  .bundle-progress-card {
    border-radius: var(--radius) var(--radius) 0 0;
    box-shadow: none;
    border-bottom: none;
  }

  .bundle-cta-wrap {
    box-shadow: var(--shadow-sm);
  }
}

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

  .navbar-inner { padding: 0 20px; }
  .nav-links    { display: none; }
  .bundle-page  { padding: 0 20px 48px; }

  .bundle-products-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 14px;
  }
}

@media (max-width: 480px) {
  .bundle-products-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .bundle-title         { font-size: 1.8rem; }
  .card-body            { padding: 10px 12px 8px; }
  .card-stepper-row     { padding: 0 10px 10px; }
}