/* ============================================
   Sister Sister Strands — Shared Design System
   Fonts: Cormorant Garamond (display) + Outfit (body)
   Palette: cream #F9F8F6 · text #333 · muted #777
            accent purple #8E6EE8 · dusty rose hsl(340 20% 72%)
   ============================================ */

:root {
  --bg-cream: #F9F8F6;
  --bg-card: #ffffff;
  --text-dark: #333333;
  --text-muted: #777777;
  --accent-purple: #8E6EE8;
  --border-soft: #e5e4e2;
  --primary: 340 20% 72%;
  --primary-ink: #a87c88;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-cream);
  color: var(--text-dark);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 { font-family: 'Cormorant Garamond', serif; }

img { max-width: 100%; }

a { color: inherit; }

/* ---------- NAVIGATION ---------- */
.nav-custom {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.25rem 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.25;
  color: #fff;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  transition: color 0.3s ease;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s ease, color 0.3s ease;
}

.nav-links a:hover { opacity: 0.7; }

/* Logo in nav brand — light/dark variants swap with nav state (transparent hero → scrolled/solid) */
.nav-brand img {
  display: block;
  height: 44px;
  width: auto;
}

.nav-brand .logo-dark { display: none; }

.nav-custom.scrolled .logo-light,
.nav-custom.nav-solid .logo-light { display: none; }

.nav-custom.scrolled .logo-dark,
.nav-custom.nav-solid .logo-dark { display: block; }

.nav-shop-btn {
  border: 1px solid #fff;
  padding: 0.45rem 1.2rem;
  border-radius: 2px;
  transition: border-color 0.3s ease;
}

/* Scrolled state / solid state on inner pages: white bar, dark text */
.nav-custom.scrolled,
.nav-custom.nav-solid {
  background: #fff;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
}

.nav-custom.scrolled .nav-brand,
.nav-custom.nav-solid .nav-brand,
.nav-custom.scrolled .nav-links a,
.nav-custom.nav-solid .nav-links a {
  color: var(--text-dark);
}

.nav-custom.scrolled .nav-shop-btn,
.nav-custom.nav-solid .nav-shop-btn {
  border-color: var(--text-dark);
}

/* Nav cart link + badge */
.nav-cart-link { position: relative; display: inline-flex; align-items: center; font-size: 1rem !important; }
.nav-cart-link .bi { font-size: 1.05rem; }
.nav-cart-badge {
  position: absolute;
  top: -8px; right: -14px;
  background: var(--accent-purple);
  color: #fff;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 600;
  min-width: 16px;
  height: 16px;
  line-height: 16px;
  text-align: center;
  padding: 0 4px;
  letter-spacing: 0;
}
.nav-cart-badge:empty,
.nav-cart-badge[data-cart-count="0"] { display: none; }

/* Keep anchored sections from hiding behind the fixed navbar */
section[id],
footer[id] { scroll-margin-top: 110px; }

/* ---------- INNER PAGE HERO ---------- */
.page-hero {
  background: #fff;
  border-bottom: 1px solid var(--border-soft);
  text-align: center;
  padding: 9rem 1.5rem 4.5rem;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.page-hero .section-sub { margin-bottom: 0; }

/* ---------- SECTION HEADERS ---------- */
.section-header {
  text-align: center;
  padding: 5rem 1.5rem 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.section-sub {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0;
  line-height: 2;
}

/* ---------- CMS BUILT-IN STORE CARDS ({{shopping:products:list}}) ---------- */
.collections-section { padding-bottom: 4rem; }

.product-card {
  background: transparent;
  border: none;
  margin-bottom: 2.5rem;
  transition: transform 0.3s ease;
  display: block;
  text-decoration: none;
  color: inherit;
}

.product-card:hover { transform: translateY(-4px); color: inherit; }

.product-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.product-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.product-price {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
  color: hsl(var(--primary));
}

.product-colors {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.6;
}

.product-listing { margin-bottom: 1rem; }

.product-listing .product-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)) !important;
  gap: 2rem !important;
}

.product-listing .product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 0;
  height: 100%;
}

.product-listing .product-image,
.product-listing .product-image-link {
  width: 100%;
  /*aspect-ratio: 1 / 1;*/
  object-fit: cover;
  display: block;
}

.product-listing .product-details {
  padding: 1.1rem 1.2rem 1.3rem;
  text-align: center;
}

.product-listing .product-category-badge {
  display: inline-block;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.product-listing .product-title,
.product-listing .product-title a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
}

.product-listing .product-price { color: var(--primary-ink); }

.product-listing .product-description {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.product-listing .cart-add-btn {
  background: var(--text-dark);
  color: #fff;
  border: 1px solid var(--text-dark);
  border-radius: 2px;
  padding: 0.55rem 1.4rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: 'Outfit', sans-serif;
  transition: background 0.3s, color 0.3s;
}

.product-listing .cart-add-btn:hover {
  background: #fff;
  color: var(--text-dark);
}

.product-listing .cart-quantity-input {
  width: 54px;
  padding: 0.45rem 0.25rem;
  border: 1px solid var(--border-soft);
  border-radius: 2px;
  text-align: center;
  font-size: 0.8rem;
}

/* Category filter chips */
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin: 0 auto 2.5rem;
  max-width: 900px;
}

.filter-chip {
  background: transparent;
  border: 1px solid var(--text-dark);
  color: var(--text-dark);
  border-radius: 999px;
  padding: 0.45rem 1.3rem;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
  transition: all 0.25s ease;
}

.filter-chip:hover,
.filter-chip.active {
  background: var(--text-dark);
  color: #fff;
}

/* Store search */
.store-search { margin-bottom: 1.5rem; }
.store-search-row { display: flex; gap: 0.5rem; max-width: 420px; margin: 0 auto; }
.store-search-input {
  flex: 1;
  border: 1px solid var(--border-soft);
  background: #fff;
  border-radius: 2px;
  padding: 0.6rem 0.9rem;
  font-size: 0.85rem;
  font-family: 'Outfit', sans-serif;
}
.store-search-btn {
  background: var(--text-dark);
  color: #fff;
  border: none;
  border-radius: 2px;
  padding: 0 1.1rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.store-search-clear { font-size: 0.75rem; color: var(--text-muted); margin-left: 0.75rem; }

/* Pagination */
.pagination { display: flex; gap: 0.5rem; justify-content: center; margin: 2.5rem 0 0; list-style: none; }
.pagination a, .pagination span {
  border: 1px solid var(--border-soft);
  background: #fff;
  padding: 0.4rem 0.85rem;
  border-radius: 2px;
  font-size: 0.8rem;
  text-decoration: none;
  color: var(--text-dark);
}
.pagination .current { background: var(--text-dark); color: #fff; }

/* ---------- PRODUCT DETAIL ---------- */
.product-detail-wrap { padding: 9rem 0 5rem; }

.product-detail-gallery .hp-data-image {
  width: 100% !important;
  max-width: none !important;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 0 !important;
  margin-bottom: 0.75rem !important;
}

.product-gallery-thumbs { display: flex; gap: 0.6rem; }
.product-gallery-thumbs .product-thumb {
  width: 72px; height: 72px;
  object-fit: cover;
  border: 1px solid transparent;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s, border-color 0.2s;
}
.product-gallery-thumbs .product-thumb.active,
.product-gallery-thumbs .product-thumb:hover { opacity: 1; border-color: var(--text-dark); }

.detail-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.product-detail-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.detail-price {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary-ink);
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}

.detail-desc {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.detail-section-label {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.detail-textures {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.product-actions { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }

/* Quantity selector (+/- controls) rendered by CMS */
.cart-quantity-selector { display: inline-flex; align-items: center; border: 1px solid var(--text-dark); border-radius: 2px; overflow: hidden; }

.cart-quantity-selector .cart-quantity-decrease,
.cart-quantity-selector .cart-quantity-increase {
  background: #fff;
  border: none;
  color: var(--text-dark);
  width: 34px;
  height: 44px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
  font-family: 'Outfit', sans-serif;
  line-height: 1;
}

.cart-quantity-selector .cart-quantity-decrease:hover,
.cart-quantity-selector .cart-quantity-increase:hover {
  background: var(--text-dark);
  color: #fff;
}

.cart-quantity-selector .cart-quantity-input {
  width: 52px;
  height: 44px;
  border: none;
  border-left: 1px solid var(--border-soft);
  border-right: 1px solid var(--border-soft);
  border-radius: 0;
  text-align: center;
  font-size: 0.9rem;
  font-family: 'Outfit', sans-serif;
  -moz-appearance: textfield;
  appearance: textfield;
}

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

/* Add-to-cart button on product detail page (CMS renders btn btn-primary btn-lg) */
.btn.cart-add-btn,
.product-actions .cart-add-btn {
  background: var(--text-dark);
  border: 1px solid var(--text-dark);
  color: #fff;
  border-radius: 2px;
  padding: 0.8rem 2.2rem;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.btn.cart-add-btn:hover,
.product-actions .cart-add-btn:hover,
.btn.cart-add-btn:focus,
.product-actions .cart-add-btn:focus {
  background: #fff;
  color: var(--text-dark);
  border-color: var(--text-dark);
  box-shadow: none;
}

.btn.cart-add-btn:disabled,
.product-actions .cart-add-btn:disabled {
  background: var(--border-soft);
  border-color: var(--border-soft);
  color: var(--text-muted);
}

/* Price on product detail page (CMS renders .product-price) */
.product-detail-wrap .product-price,
.product-detail-wrap .product-price-container {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary-ink);
  letter-spacing: 0.04em;
  margin-bottom: 0.3rem;
}

.product-detail-wrap .product-price-original {
  text-decoration: line-through;
  color: var(--text-muted);
  font-weight: 400;
  font-size: 1rem;
  margin-right: 0.6rem;
}

.product-detail-wrap .product-price-badge {
  display: inline-block;
  background: var(--accent-purple);
  color: #fff;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 2px;
  margin-left: 0.6rem;
  vertical-align: middle;
}

.product-actions .cart-quantity-input {
  width: 64px;
  padding: 0.7rem 0.5rem;
  border: 1px solid var(--text-dark);
  border-radius: 2px;
  text-align: center;
  font-size: 0.9rem;
  font-family: 'Outfit', sans-serif;
}

.btn-sss {
  display: inline-block;
  background: var(--text-dark);
  border: 1px solid var(--text-dark);
  color: #fff;
  padding: 0.8rem 2.2rem;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.btn-sss:hover { background: #fff; color: var(--text-dark); }

.btn-sss-outline {
  display: inline-block;
  background: transparent;
  border: 1px solid var(--text-dark);
  color: var(--text-dark);
  padding: 0.8rem 2.2rem;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.btn-sss-outline:hover { background: var(--text-dark); color: #fff; }

/* ---------- BRAND STORY ---------- */
.story-section {
  padding: 5rem 1.5rem 6rem;
  text-align: center;
}

.story-section h2 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.story-text {
  max-width: 620px;
  margin: 0 auto 3rem;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.stats-row {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.stat-item { text-align: center; }

.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1.1;
  color: hsl(var(--primary));
  margin-bottom: 0.35rem;
}

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

/* ---------- CART / CHECKOUT PAGES ---------- */
.cart-page,
.checkout-page {
  padding: 9rem 0 5rem;
}

.cart-page h1,
.checkout-page h1 {
  font-size: 2.4rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 2.5rem;
}

.cart-container {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 900px) {
  .cart-container { grid-template-columns: 1fr; }
}

.cart-items-section {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 2px;
  padding: 1.5rem;
}

.cart-summary-section {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 2px;
  padding: 1.75rem 1.5rem;
  position: sticky;
  top: 110px;
}

.cart-summary-section h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.cart-empty { text-align: center; color: var(--text-muted); padding: 2rem 0; }

.cart-item-image-wrapper {
    height: auto;
    background: none;
}

.cart-item {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 1.1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border-soft);
  align-items: center;
}

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

.cart-item-image {
  width: 88px; height: 88px;
  object-fit: cover;
  background: #f0efed;
}

.cart-item-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 600;
}

.cart-item-type {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.cart-item-price { font-size: 0.85rem; color: var(--primary-ink); font-weight: 600; }

.cart-item-quantity { display: flex; align-items: center; gap: 0.4rem; }

.cart-item-quantity .cart-quantity-input {
  width: 52px;
  padding: 0.35rem 0.2rem;
  border: 1px solid var(--border-soft);
  border-radius: 2px;
  text-align: center;
  font-size: 0.85rem;
}

.cart-remove-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: underline;
}

.cart-remove-btn:hover { color: var(--text-dark); }

.cart-summary .cart-subtotal,
.cart-summary .cart-grand-total {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
}

.cart-summary .cart-grand-total {
  font-weight: 700;
  font-size: 1.05rem;
  border-top: 1px solid var(--border-soft);
  padding-top: 0.75rem;
  margin-top: 0.75rem;
}

.cart-summary-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.cart-summary-actions a { text-align: center; }

/* Cart summary buttons (CMS renders btn btn-primary / btn btn-success) */
a.cart-checkout-btn,
a.cart-continue-btn,
.cart-summary-actions a.cart-checkout-btn,
.cart-summary-actions a.cart-continue-btn {
  display: inline-block;
  border-radius: 2px;
  padding: 0.75rem 1.8rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  text-decoration: none;
  border: 1px solid var(--text-dark);
  transition: background 0.3s, color 0.3s;
}

a.cart-checkout-btn,
.cart-summary-actions a.cart-checkout-btn {
  background: var(--text-dark);
  color: #fff;
}

a.cart-checkout-btn:hover,
.cart-summary-actions a.cart-checkout-btn:hover {
  background: #fff;
  color: var(--text-dark);
  border-color: var(--text-dark);
}

a.cart-continue-btn,
.cart-summary-actions a.cart-continue-btn {
  background: transparent;
  color: var(--text-dark);
}

a.cart-continue-btn:hover,
.cart-summary-actions a.cart-continue-btn:hover {
  background: var(--text-dark);
  color: #fff;
}

/* Checkout form restyling (CMS-rendered {{shopping:checkout:form}}) */
.checkout-page .checkout-section,
.checkout-page form {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 2px;
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}

.checkout-page .checkout-input {
  width: 100%;
  border: 1px solid var(--border-soft);
  border-radius: 2px;
  padding: 0.7rem 0.9rem;
  font-size: 0.88rem;
  font-family: 'Outfit', sans-serif;
  margin-bottom: 0.9rem;
}

.checkout-page .checkout-input:focus {
  outline: none;
  border-color: var(--accent-purple);
}

.checkout-page .checkout-submit-btn {
  background: var(--text-dark);
  border: 1px solid var(--text-dark);
  color: #fff;
  border-radius: 2px;
  padding: 0.85rem 2rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
  width: 100%;
  transition: background 0.3s, color 0.3s;
}

.checkout-page .checkout-submit-btn:hover { background: #fff; color: var(--text-dark); }

.checkout-page .payment-method-btn {
  border: 1px solid var(--border-soft);
  background: #fff;
  border-radius: 2px;
  padding: 0.7rem 1.2rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.checkout-page .payment-method-btn.active {
  border-color: var(--text-dark);
  background: var(--text-dark);
  color: #fff;
}

/* Promo code section (injected client-side by checkout.js into order summary) */
.checkout-page .promo-code-section {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-soft);
}

.checkout-page .promo-input-row {
  display: flex;
  gap: 0.5rem;
}

.checkout-page .promo-code-input,
.checkout-page .checkout-promo-input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--border-soft);
  border-radius: 2px;
  background: var(--bg-cream);
  padding: 0.65rem 0.9rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: 'Outfit', sans-serif;
}

.checkout-page .promo-code-input:focus,
.checkout-page .checkout-promo-input:focus {
  outline: none;
  border-color: var(--accent-purple);
}

.checkout-page .apply-promo-btn,
.checkout-page .checkout-promo-apply-btn,
.checkout-page .checkout-login-btn {
  background: var(--text-dark);
  color: #fff;
  border: 1px solid var(--text-dark);
  border-radius: 2px;
  padding: 0.65rem 1.4rem;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.3s, color 0.3s;
}

.checkout-page .apply-promo-btn:hover,
.checkout-page .checkout-promo-apply-btn:hover,
.checkout-page .checkout-login-btn:hover {
  background: #fff;
  color: var(--text-dark);
}

.checkout-page .apply-promo-btn:disabled {
  background: var(--border-soft);
  border-color: var(--border-soft);
  color: var(--text-muted);
  cursor: not-allowed;
}

.checkout-page .promo-message {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.6rem;
}

.checkout-page .promo-applied {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.6rem;
  padding: 0.6rem 0.75rem;
  background: var(--bg-cream);
  border: 1px solid var(--border-soft);
  border-radius: 2px;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

.checkout-page .remove-promo-btn,
.checkout-page .checkout-promo-remove-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  font-family: 'Outfit', sans-serif;
}

.checkout-page .remove-promo-btn:hover,
.checkout-page .checkout-promo-remove-btn:hover {
  color: var(--text-dark);
}

/* Order confirmation */
.confirmation-container {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 2px;
  padding: 3rem 2rem;
  text-align: center;
}

.confirmation-header h1 {
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.order-details { margin: 2rem 0; text-align: left; }

/* ---------- CMS PAGE ---------- */
.cms-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 9rem 1.5rem 5rem;
}

.cms-content h1 { font-size: 2.4rem; font-weight: 600; margin-bottom: 1.5rem; }
.cms-content p { line-height: 1.85; color: var(--text-muted); margin-bottom: 1.1rem; }

/* ---------- FOOTER ---------- */
.footer {
  border-top: 1px solid var(--border-soft);
  padding: 2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dark);
  font-weight: 600;
}

.footer-brand img {
  display: block;
  height: 32px;
  width: auto;
}

.footer-copy {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-social { display: flex; gap: 1.5rem; }

.footer-social a {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-social a:hover { color: var(--accent-purple); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .nav-links { gap: 1.2rem; }
  .nav-links a { font-size: 0.68rem; }
  .footer { flex-direction: column; text-align: center; }
  .stats-row { gap: 1.5rem; }
  .cart-item { grid-template-columns: 64px 1fr; }
  .cart-item-image { width: 64px; height: 64px; }
  .cart-item-quantity { grid-column: 1 / -1; justify-content: flex-end; }
}

@media (max-width: 576px) {
  .nav-links { gap: 0.8rem; }
  .nav-links li:nth-child(3) { display: none; }
  .nav-brand img { height: 34px; }
  .product-detail-wrap { padding-top: 8rem; }
}
