/* Fonts are enqueued directly in functions.php (lumina_scripts) instead of
   via @import here, so the browser can fetch them in parallel rather than
   discovering the request only after parsing this stylesheet. */

/* ==========================================================================
   LUMINA THEME CSS - DUAL PALETTE (LIGHT LUXE & MIDNIGHT NOIR)
   Complete E-Commerce Suite: Tiered Bundles, FBT, Shoppable Hotspots,
   Wishlist, Delivery Estimator, Cart Reservation & Welcome Modal
   ========================================================================== */

:root {
  /* Layout & Sizing */
  --page-width: 1360px;
  --header-height: 80px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 9999px;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --base-font-size: 16px;

  /* LIGHT LUXE (DEFAULT) PALETTE */
  --bg-base: #faf8f5;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-subtle: #f3efe9;
  --text: #1c1917;
  --text-muted: #57534e;
  --text-light: #78716c;
  --accent: #a65f45;
  --accent-hover: #8f4f39;
  --accent-subtle: rgba(166, 95, 69, 0.12);
  --accent-contrast: #ffffff;
  --accent-2: #4a7c59;
  --border: #e7e5e0;
  --border-subtle: #f0eee9;
  --card-glow: rgba(166, 95, 69, 0.15);
  --card-shadow: 0 10px 30px -5px rgba(28, 25, 23, 0.05), 0 2px 8px -1px rgba(28, 25, 23, 0.03);
  --card-shadow-hover: 0 20px 40px -10px rgba(166, 95, 69, 0.2), 0 6px 16px -2px rgba(28, 25, 23, 0.06);
  --announcement-bg: #292524;
  --announcement-text: #f5f5f4;
  --announcement-accent: #f59e0b;
  --header-bg: rgba(255, 255, 255, 0.94);
  --header-border: rgba(0, 0, 0, 0.06);
  --footer-bg: #1c1917;
  --footer-text: #d6d3d1;
  --footer-muted: #a8a29e;
  --footer-border: #292524;
  --modal-overlay: rgba(28, 25, 23, 0.7);
  --rating-color: #f59e0b;
  --badge-sale-bg: #a65f45;
  --badge-sale-text: #ffffff;
  --badge-new-bg: #4a7c59;
  --badge-new-text: #ffffff;
  --badge-soldout-bg: #78716c;
  --badge-soldout-text: #ffffff;
}

[data-theme="dark"],
body.theme-dark {
  /* MIDNIGHT CHIC PALETTE */
  --bg-base: #0f1115;
  --bg-surface: #171a20;
  --bg-surface-elevated: #20242d;
  --bg-subtle: #1c2027;
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --text-light: #64748b;
  --accent: #e2a87a;
  --accent-hover: #f1be96;
  --accent-subtle: rgba(226, 168, 122, 0.16);
  --accent-contrast: #121417;
  --accent-2: #86efac;
  --border: #2a303c;
  --border-subtle: #1e232c;
  --card-glow: rgba(226, 168, 122, 0.22);
  --card-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
  --card-shadow-hover: 0 22px 55px rgba(226, 168, 122, 0.16), 0 0 25px rgba(226, 168, 122, 0.06);
  --announcement-bg: #090a0d;
  --announcement-text: #f1f5f9;
  --announcement-accent: #fcd34d;
  --header-bg: rgba(15, 17, 21, 0.94);
  --header-border: rgba(255, 255, 255, 0.08);
  --footer-bg: #090a0d;
  --footer-text: #cbd5e1;
  --footer-muted: #64748b;
  --footer-border: #1e232c;
  --modal-overlay: rgba(0, 0, 0, 0.85);
  --rating-color: #fbbf24;
  --badge-sale-bg: #e2a87a;
  --badge-sale-text: #121417;
  --badge-new-bg: #86efac;
  --badge-new-text: #121417;
  --badge-soldout-bg: #475569;
  --badge-soldout-text: #f1f5f9;
}

body.text-enlarged {
  --base-font-size: 18px;
}

/* ==========================================================================
   Base Styles & Reset
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background-color: var(--bg-base);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--base-font-size);
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}

body.menu-open,
body.cart-drawer-open,
body.wishlist-drawer-open,
body.filters-open,
body.quick-view-open,
body.welcome-modal-open,
body.zoom-open {
  overflow: hidden;
}

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

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

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

.skip-link {
  position: fixed;
  z-index: 9999;
  left: 20px;
  top: -100px;
  background: var(--text);
  color: var(--bg-surface);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 20px;
}

.page-width {
  width: min(calc(100% - 40px), var(--page-width));
  margin-inline: auto;
}

.section {
  padding: 60px 0;
  position: relative;
}

.section-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 32px;
}

.section-title h1,
.section-title h2,
.display,
.product-info h1 {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--text);
}

.section-title h2 {
  font-size: clamp(30px, 3.2vw, 44px);
  margin: 0;
}

.section-title__subtitle {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 16px;
  max-width: 600px;
}

.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* ==========================================================================
   Buttons & Links
   ========================================================================== */
.button,
a.button,
button.button,
input.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--accent-contrast);
  padding: 0 30px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(166, 95, 69, 0.2);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.button:hover,
a.button:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--accent-contrast);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(166, 95, 69, 0.32);
}

.button:active {
  transform: translateY(0);
}

.button--outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
  box-shadow: none;
}

.button--outline:hover {
  background: var(--bg-surface);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.button--small {
  min-height: 40px;
  padding: 0 20px;
  font-size: 14px;
}

.button--full {
  width: 100%;
}

/* ==========================================================================
   Header & Announcement Bar
   ========================================================================== */
.announcement {
  background-color: var(--announcement-bg);
  color: var(--announcement-text);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.announcement__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.announcement__left {
  font-size: 13px;
  opacity: 0.9;
}

.announcement__offer {
  color: var(--announcement-accent);
  font-weight: 700;
  text-align: center;
}

.announcement__right {
  text-align: right;
  opacity: 0.9;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background-color: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.site-header__inner {
  height: var(--header-height);
  display: grid;
  grid-template-columns: 200px 1fr auto;
  align-items: center;
  gap: 28px;
}

.logo {
  display: flex;
  align-items: center;
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
}

.logo img {
  max-height: 46px;
  width: auto;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 32px;
}

.nav a {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
  padding: 8px 0;
  position: relative;
  transition: color 0.2s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--accent);
  transform: scaleX(0);
  transition: transform 0.25s ease;
  border-radius: 2px;
}

.nav a:hover,
.nav a.active {
  color: var(--accent);
}

.nav a:hover::after,
.nav a.active::after {
  transform: scaleX(1);
}

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

.icon-link {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: var(--text);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.icon-link:hover {
  background-color: var(--bg-subtle);
  color: var(--accent);
  border-color: var(--border);
}

.icon-link svg {
  width: 22px;
  height: 22px;
}

.theme-toggle .icon-sun {
  display: none;
}
.theme-toggle .icon-moon {
  display: block;
}
[data-theme="dark"] .theme-toggle .icon-sun {
  display: block;
}
[data-theme="dark"] .theme-toggle .icon-moon {
  display: none;
}

.cart-count {
  position: absolute;
  top: 2px;
  right: 2px;
  display: grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--accent-contrast);
  font-size: 11px;
  font-weight: 800;
  padding: 0 4px;
  border: 2px solid var(--header-bg);
}

.wishlist-count {
  background: var(--text);
  color: var(--bg-surface);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: var(--text);
  padding: 8px;
  cursor: pointer;
}

.mobile-panel {
  display: none;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--bg-base) 0%, rgba(250, 248, 245, 0.85) 45%, rgba(250, 248, 245, 0.2) 100%);
  z-index: 1;
}

[data-theme="dark"] .hero__overlay {
  background: linear-gradient(90deg, var(--bg-base) 0%, rgba(15, 17, 21, 0.88) 45%, rgba(15, 17, 21, 0.3) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(640px, 58%);
  padding: 80px 0;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(44px, 5.5vw, 76px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  color: var(--text);
}

.hero h1 em {
  display: block;
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
}

.hero__text {
  max-width: 520px;
  color: var(--text-muted);
  font-size: 19px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   Category Grid Section
   ========================================================================== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.category-card {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background-color: var(--bg-surface);
  box-shadow: var(--card-shadow);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--accent);
}

.category-card__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.category-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 50%, var(--accent-subtle), var(--bg-subtle));
  color: var(--accent);
}

.category-card__placeholder svg {
  width: 80px;
  height: 80px;
  opacity: 0.4;
}

.category-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(28, 25, 23, 0.85) 100%);
  pointer-events: none;
}

.category-card__content {
  position: relative;
  z-index: 2;
  padding: 24px;
  color: #ffffff;
}

.category-card h3 {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 600;
  margin: 0 0 4px;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.category-card p {
  margin: 0 0 16px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
}

.category-card .button {
  background: #ffffff;
  color: #1c1917;
  border-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.category-card:hover .button {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-contrast);
}

/* ==========================================================================
   Shoppable Lifestyle Hotspots ("Shop the Look")
   ========================================================================== */
.shop-the-look {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background-color: var(--bg-surface);
  box-shadow: var(--card-shadow);
}

.shop-the-look__media {
  width: 100%;
}

.hotspot {
  position: absolute;
  z-index: 10;
  transform: translate(-50%, -50%);
}

.hotspot__pin {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--accent);
  border: 3px solid #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  position: relative;
  animation: hotspot-pulse 2s infinite;
}

@keyframes hotspot-pulse {
  0% { box-shadow: 0 0 0 0 rgba(166, 95, 69, 0.6); }
  70% { box-shadow: 0 0 0 14px rgba(166, 95, 69, 0); }
  100% { box-shadow: 0 0 0 0 rgba(166, 95, 69, 0); }
}

.hotspot__card {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  width: 220px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  pointer-events: none;
  z-index: 20;
}

.hotspot:hover .hotspot__card,
.hotspot.is-active .hotspot__card {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.hotspot__card strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 15px;
  margin-bottom: 4px;
}

.hotspot__card span {
  display: block;
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 10px;
}

/* ==========================================================================
   Product Grid & Product Cards (with Wishlist & Quick View)
   ========================================================================== */
.product-grid,
ul.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* WooCommerce's own core CSS puts a legacy float-clearfix ::before/::after
   (content:" "; display:table) on ul.products for its old float-based grid.
   In a CSS Grid container that generated pseudo-element becomes a real,
   invisible grid item, shifting every actual product over by one cell —
   which is why only the first row looked short by exactly one slot. */
.woocommerce ul.products::before,
.woocommerce ul.products::after,
ul.products::before,
ul.products::after {
  content: none;
  display: none;
}

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background-color: var(--bg-surface);
  box-shadow: var(--card-shadow);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--accent);
}

.product-card__media-wrapper {
  position: relative;
  overflow: hidden;
}

.product-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: var(--bg-subtle);
  display: block;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card__media img {
  transform: scale(1.05);
}

.product-card__media-alt {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.5s ease;
}

.product-card:hover .product-card__media-alt {
  opacity: 1;
}

.product-card__placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background-color: var(--bg-subtle);
  color: var(--text-light);
}

.product-card__placeholder svg {
  width: 50%;
  height: 50%;
  opacity: 0.3;
}

.product-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  border-radius: var(--radius-pill);
  background-color: var(--badge-sale-bg);
  color: var(--badge-sale-text);
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.product-card__badge--new {
  background-color: var(--badge-new-bg);
  color: var(--badge-new-text);
}

.product-card__badge--soldout {
  background-color: var(--badge-soldout-bg);
  color: var(--badge-soldout-text);
}

.product-card__wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--text-muted);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

.product-card__wishlist-btn:hover,
.product-card__wishlist-btn.is-active {
  color: #ef4444;
  border-color: #ef4444;
  background: #fff;
}

.product-card__wishlist-btn.is-active svg {
  fill: #ef4444;
}

.product-card__wishlist-btn svg {
  width: 18px;
  height: 18px;
}

.product-card__quickview-btn {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  background: var(--bg-surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  transition: all 0.25s ease;
  z-index: 4;
}

.product-card:hover .product-card__quickview-btn {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.product-card__quickview-btn:hover {
  background: var(--accent);
  color: var(--accent-contrast);
  border-color: var(--accent);
}

.product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.product-card__category {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.product-card h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 8px;
  color: var(--text);
}

.product-card h3 a:hover {
  color: var(--accent);
}

.rating {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--rating-color);
  font-size: 14px;
  margin-bottom: 10px;
}

.rating span {
  color: var(--text-light);
  font-size: 12px;
  margin-left: 4px;
}

.price {
  margin: 4px 0 16px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price del,
.price s {
  color: var(--text-light);
  font-weight: 400;
  font-size: 15px;
  text-decoration: line-through;
}

.price ins {
  color: var(--accent);
  text-decoration: none;
}

.product-card form,
.product-card .button {
  margin-top: auto;
}

/* ==========================================================================
   Trust & Guarantees Bar
   ========================================================================== */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-radius: var(--radius-md);
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
  padding: 24px 16px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 20px;
  border-right: 1px solid var(--border);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item svg {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  color: var(--accent);
}

.trust-item strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.trust-item span {
  display: block;
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 2px;
}

/* ==========================================================================
   Brand Story Section
   ========================================================================== */
.brand-story__frame {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background-color: var(--bg-surface);
  box-shadow: var(--card-shadow);
  overflow: hidden;
}

.brand-story__media {
  position: relative;
  min-height: 520px;
}

.brand-story__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-story__stamp {
  position: absolute;
  bottom: 28px;
  left: 28px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  color: #1c1917;
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .brand-story__stamp {
  background: rgba(23, 26, 32, 0.9);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.15);
}

.brand-story__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px;
}

.brand-story__content h2 {
  font-family: var(--font-serif);
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.15;
  margin: 8px 0 20px;
}

.brand-story__text {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
}

.brand-story__points {
  display: grid;
  gap: 18px;
  margin: 32px 0 36px;
}

.brand-story__point {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: flex-start;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.brand-story__number {
  color: var(--accent);
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
}

.brand-story__point strong {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.brand-story__point p {
  margin: 4px 0 0;
  color: var(--text-muted);
  font-size: 14px;
}

/* ==========================================================================
   Promotional Banner Section
   ========================================================================== */
.promo-banner {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
}

.promo-banner__media {
  position: absolute;
  inset: 0;
}

.promo-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--bg-surface) 0%, rgba(255, 255, 255, 0.88) 45%, rgba(255, 255, 255, 0.2) 100%);
}

[data-theme="dark"] .promo-banner__overlay {
  background: linear-gradient(90deg, var(--bg-surface) 0%, rgba(23, 26, 32, 0.88) 45%, rgba(23, 26, 32, 0.2) 100%);
}

.promo-banner__content {
  position: relative;
  z-index: 2;
  width: min(540px, 60%);
  padding: 60px;
}

.promo-banner h2 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 3.8vw, 50px);
  margin: 6px 0 16px;
  line-height: 1.15;
}

.promo-banner p {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 28px;
}

/* ==========================================================================
   Slide-Out Cart Drawer (Multi-Tier, Upsells & Timer)
   ========================================================================== */
.cart-drawer-shell {
  position: fixed;
  inset: 0;
  z-index: 200;
  visibility: hidden;
  transition: visibility 0.3s ease;
}

.cart-drawer-shell.is-open {
  visibility: visible;
}

.cart-drawer__overlay {
  position: absolute;
  inset: 0;
  background-color: var(--modal-overlay);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s ease;
  border: 0;
  cursor: pointer;
}

.cart-drawer-shell.is-open .cart-drawer__overlay {
  opacity: 1;
}

.cart-drawer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(480px, 100%);
  background-color: var(--bg-surface);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border-left: 1px solid var(--border);
}

.cart-drawer-shell.is-open .cart-drawer {
  transform: translateX(0);
}

.cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
}

.cart-drawer__header h2 {
  font-family: var(--font-serif);
  font-size: 26px;
  margin: 0;
}

.cart-drawer__close {
  background: transparent;
  border: 0;
  font-size: 32px;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
}

.cart-drawer__close:hover {
  color: var(--text);
}

.cart-reservation-timer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 28px;
  background-color: rgba(245, 158, 11, 0.12);
  border-bottom: 1px solid rgba(245, 158, 11, 0.25);
  font-size: 13px;
  color: var(--text);
}

.shipping-progress {
  padding: 16px 28px;
  background-color: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
}

.shipping-progress p {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.shipping-progress__bar {
  display: block;
  height: 6px;
  border-radius: var(--radius-pill);
  background-color: var(--border);
  overflow: hidden;
}

.shipping-progress__fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: inherit;
  transition: width 0.4s ease;
}

.cart-drawer__items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 28px;
}

.cart-drawer__item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.cart-drawer__item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background-color: var(--bg-subtle);
}

.cart-drawer__item-info strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--text);
  margin-bottom: 4px;
}

.cart-drawer__item-info small {
  display: block;
  color: var(--text-muted);
  font-size: 13px;
}

.cart-drawer__item-info .price {
  margin: 6px 0 0;
  font-size: 15px;
}

.cart-drawer__item-remove {
  background: transparent;
  border: 0;
  color: var(--text-light);
  cursor: pointer;
  padding: 4px;
  font-size: 13px;
  text-decoration: underline;
}

.cart-drawer__item-remove:hover {
  color: var(--accent);
}

/* In-Drawer 1-Click Upsells */
.cart-drawer__upsells {
  padding: 16px 28px;
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cart-drawer__upsells-list {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.cart-drawer__upsell-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
}

.cart-drawer__upsell-item img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 4px;
}

.cart-drawer__upsell-info {
  flex: 1;
}

.cart-drawer__upsell-info strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

.cart-drawer__upsell-info span {
  font-size: 12px;
  color: var(--accent);
  font-weight: 700;
}

.cart-drawer__footer {
  padding: 24px 28px;
  border-top: 1px solid var(--border);
  background-color: var(--bg-subtle);
}

.cart-drawer__subtotal {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 18px;
}

.cart-drawer__continue {
  display: block;
  margin: 14px auto 0;
  background: transparent;
  border: 0;
  color: var(--text-muted);
  font-size: 14px;
  text-decoration: underline;
  cursor: pointer;
}

/* ==========================================================================
   Slide-Out Wishlist Drawer
   ========================================================================== */
.wishlist-drawer-shell {
  position: fixed;
  inset: 0;
  z-index: 200;
  visibility: hidden;
  transition: visibility 0.3s ease;
}

.wishlist-drawer-shell.is-open {
  visibility: visible;
}

.wishlist-drawer__overlay {
  position: absolute;
  inset: 0;
  background-color: var(--modal-overlay);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s ease;
  border: 0;
  cursor: pointer;
}

.wishlist-drawer-shell.is-open .wishlist-drawer__overlay {
  opacity: 1;
}

.wishlist-drawer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(480px, 100%);
  background-color: var(--bg-surface);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border-left: 1px solid var(--border);
}

.wishlist-drawer-shell.is-open .wishlist-drawer {
  transform: translateX(0);
}

.wishlist-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
}

.wishlist-drawer__header h2 {
  font-family: var(--font-serif);
  font-size: 26px;
  margin: 0;
}

.wishlist-drawer__close {
  background: transparent;
  border: 0;
  font-size: 32px;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
}

.wishlist-drawer__items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 28px;
}

.wishlist-drawer__item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.wishlist-drawer__item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.wishlist-drawer__item-info strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 16px;
  margin-bottom: 4px;
}

.wishlist-drawer__item-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}

.wishlist-drawer__item-remove {
  background: transparent;
  border: 0;
  color: var(--text-light);
  text-decoration: underline;
  cursor: pointer;
  font-size: 13px;
}

.wishlist-drawer__footer {
  padding: 20px 28px;
  border-top: 1px solid var(--border);
  background-color: var(--bg-subtle);
}

/* ==========================================================================
   Single Product Details Page & High-Converting Modules
   ========================================================================== */
.product-page {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 60px;
  padding: 50px 0;
}

.product-gallery {
  display: grid;
  gap: 16px;
}

.product-gallery__item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background-color: var(--bg-surface);
  aspect-ratio: 1 / 1;
}

.product-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-gallery__zoom-btn {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text);
  cursor: pointer;
  box-shadow: var(--card-shadow);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.product-gallery__zoom-btn:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--accent-contrast);
}

.product-gallery__zoom-btn svg {
  width: 18px;
  height: 18px;
}

.product-thumbnails {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(70px, 90px));
  gap: 12px;
  margin-top: 12px;
}

.product-thumbnail {
  aspect-ratio: 1 / 1;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background-color: var(--bg-surface);
  padding: 0;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.product-thumbnail.is-active,
.product-thumbnail:hover {
  border-color: var(--accent);
}

.product-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info {
  position: sticky;
  top: 110px;
  align-self: start;
}

.product-info h1 {
  font-size: clamp(34px, 3.8vw, 46px);
  margin: 4px 0 14px;
}

.product-info .price {
  font-size: 28px;
  margin: 16px 0;
}

.product-stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(166, 95, 69, 0.1);
  border: 1px solid var(--accent);
  color: var(--text);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  margin-bottom: 12px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #ef4444;
  border-radius: 50%;
  animation: pulse-ring 1.5s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.product-dispatch-timer {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 12px;
}

.product-delivery-estimator {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: rgba(74, 124, 89, 0.1);
  border: 1px solid var(--accent-2);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text);
  margin-bottom: 18px;
}

/* Tiered Pricing Bundles */
.tiered-pricing {
  margin: 20px 0 24px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
}

.tiered-pricing__options {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.tiered-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--bg-surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}

.tiered-option input {
  display: none;
}

.tiered-option.is-selected,
.tiered-option:hover {
  border-color: var(--accent);
  background: var(--bg-surface-elevated);
}

.tiered-option__content strong {
  display: block;
  font-size: 14px;
}

.tiered-option__content span {
  font-size: 13px;
  color: var(--text-muted);
}

.tiered-option__badge {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--bg-subtle);
  color: var(--text-muted);
}

.tiered-option__badge--popular {
  background: var(--accent);
  color: var(--accent-contrast);
}

.tiered-option__badge--value {
  background: var(--accent-2);
  color: #fff;
}

/* Curated Certification Badges */
.certification-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 20px 0;
  text-align: center;
}

.cert-badge {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 6px;
}

.cert-badge span {
  font-size: 20px;
  display: block;
  margin-bottom: 2px;
}

.cert-badge small {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
}

/* Accepted Payment Method Badges (footer & checkout) */
.payment-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.payment-badge {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}

.site-footer .payment-badge {
  border-color: var(--footer-border);
  color: var(--footer-muted);
}

/* Frequently Bought Together */
.frequently-bought {
  margin-top: 36px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  box-shadow: var(--card-shadow);
}

.frequently-bought h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  margin: 4px 0 18px;
}

.frequently-bought__products {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.fbt-plus {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-light);
}

.fbt-product {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
}

.fbt-product img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 4px;
}

.fbt-product strong {
  font-size: 13px;
  display: block;
}

.fbt-product .price {
  font-size: 12px;
  margin: 0;
}

.frequently-bought__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.fbt-total-price {
  font-size: 20px;
  color: var(--accent);
  margin-left: 6px;
}

.fbt-save-badge {
  display: inline-block;
  background: var(--accent-2);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  margin-left: 8px;
}

/* Product Details Accordion */
.product-details-accordion {
  margin-top: 30px;
  border-top: 1px solid var(--border);
}

.product-details-accordion details {
  border-bottom: 1px solid var(--border);
}

.product-details-accordion summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  list-style: none;
}

.product-details-accordion summary::-webkit-details-marker {
  display: none;
}

.product-details-accordion summary span {
  color: var(--accent);
  font-size: 20px;
  transition: transform 0.2s ease;
}

.product-details-accordion details[open] summary span {
  transform: rotate(45deg);
}

.product-details-accordion__content {
  padding: 0 0 20px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* Sticky Add to Cart Bottom Bar */
.sticky-cart-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background-color: var(--header-bg);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.1);
  padding: 12px 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform: translateY(110%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.sticky-cart-bar.is-visible {
  transform: translateY(0);
}

.sticky-cart-bar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.sticky-cart-bar__product {
  display: flex;
  align-items: center;
  gap: 14px;
}

.sticky-cart-bar__product img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.sticky-cart-bar__product strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 16px;
}

.sticky-cart-bar__product .price {
  margin: 0;
  font-size: 14px;
}

/* ==========================================================================
   Product Image Zoom Modal
   ========================================================================== */
.product-zoom-modal {
  position: fixed;
  inset: 0;
  z-index: 260;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.product-zoom-modal.is-open {
  visibility: visible;
  opacity: 1;
}

.product-zoom-modal__overlay {
  position: absolute;
  inset: 0;
  background-color: var(--modal-overlay);
  backdrop-filter: blur(6px);
}

.product-zoom-modal__stage {
  position: relative;
  z-index: 2;
  width: min(1000px, 100%);
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-zoom-modal__stage img {
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-md);
  background-color: var(--bg-surface);
}

.product-zoom-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  background: var(--bg-subtle);
  border: 0;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 28px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--text);
}

.product-zoom-modal__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: var(--bg-subtle);
  border: 0;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 30px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--text);
}

.product-zoom-modal__nav:hover,
.product-zoom-modal__close:hover {
  background: var(--accent);
  color: var(--accent-contrast);
}

.product-zoom-modal__nav--prev {
  left: 16px;
}

.product-zoom-modal__nav--next {
  right: 16px;
}

@media (max-width: 640px) {
  .product-zoom-modal {
    padding: 16px;
  }
  .product-zoom-modal__nav {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }
}

/* ==========================================================================
   Quick View Modal
   ========================================================================== */
.quick-view-modal {
  position: fixed;
  inset: 0;
  z-index: 250;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.quick-view-modal.is-open {
  visibility: visible;
  opacity: 1;
}

.quick-view-modal__overlay {
  position: absolute;
  inset: 0;
  background-color: var(--modal-overlay);
  backdrop-filter: blur(6px);
}

.quick-view-modal__container {
  position: relative;
  z-index: 2;
  width: min(880px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background-color: var(--bg-surface);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
}

.quick-view-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  background: var(--bg-subtle);
  border: 0;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 26px;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--text);
}

.quick-view-modal__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  padding: 40px;
}

.quick-view-modal__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.quick-view-modal__link {
  display: inline-block;
  margin-top: 18px;
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
}

/* ==========================================================================
   Welcome & Exit-Intent Modal
   ========================================================================== */
.welcome-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  visibility: hidden;
  opacity: 0;
  transition: all 0.35s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.welcome-modal.is-open {
  visibility: visible;
  opacity: 1;
}

.welcome-modal__overlay {
  position: absolute;
  inset: 0;
  background-color: var(--modal-overlay);
  backdrop-filter: blur(6px);
}

.welcome-modal__container {
  position: relative;
  z-index: 2;
  width: min(520px, 100%);
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
  padding: 48px 36px;
  text-align: center;
}

.welcome-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: 0;
  font-size: 28px;
  color: var(--text-muted);
  cursor: pointer;
}

.welcome-modal h2 {
  font-family: var(--font-serif);
  font-size: 32px;
  margin: 6px 0 12px;
}

.welcome-modal p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 24px;
}

.welcome-modal__form input {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
  background: var(--bg-subtle);
  color: var(--text);
  text-align: center;
}

.welcome-modal__coupon-box {
  background: var(--bg-subtle);
  border: 1px dashed var(--accent);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin: 16px 0;
}

.welcome-modal__coupon-box strong {
  display: block;
  font-size: 22px;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin: 6px 0 12px;
}

.welcome-modal__dismiss {
  display: block;
  margin: 18px auto 0;
  background: transparent;
  border: 0;
  color: var(--text-light);
  font-size: 12px;
  text-decoration: underline;
  cursor: pointer;
}

/* ==========================================================================
   Footer & Accessibility Switcher
   ========================================================================== */
.site-footer {
  margin-top: 80px;
  background-color: var(--footer-bg);
  color: var(--footer-text);
  padding: 70px 0 30px;
  border-top: 1px solid var(--footer-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 40px;
}

.footer-brand .logo {
  color: #ffffff;
  margin-bottom: 14px;
}

.footer-brand p {
  color: var(--footer-muted);
  font-size: 15px;
  line-height: 1.6;
  max-width: 320px;
}

.site-footer h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 18px;
}

.footer-links {
  display: grid;
  gap: 12px;
}

.footer-links a {
  color: var(--footer-muted);
  font-size: 15px;
  transition: color 0.2s ease;
}

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

.newsletter-form {
  display: flex;
  margin-top: 16px;
}

.newsletter-form input {
  flex: 1;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--footer-border);
  border-radius: var(--radius-pill) 0 0 var(--radius-pill);
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--accent);
}

.newsletter-form .button {
  border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
  padding: 0 24px;
}

.social-links {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.social-links a {
  color: var(--footer-muted);
  transition: color 0.2s ease;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid var(--footer-border);
  color: var(--footer-muted);
  font-size: 13px;
}

.accessibility-text-control {
  display: flex;
  align-items: center;
  gap: 8px;
}

.text-size-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--footer-border);
  border-radius: 4px;
  color: var(--footer-muted);
  padding: 4px 10px;
  font-size: 12px;
  cursor: pointer;
}

.text-size-btn.is-active,
.text-size-btn:hover {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1100px) {
  .category-grid,
  .product-grid,
  ul.products {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-bar {
    grid-template-columns: repeat(3, 1fr);
  }
  .trust-item:nth-child(3) {
    border-right: 0;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .announcement__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .announcement__left,
  .announcement__right {
    display: none;
  }
  .site-header__inner {
    height: 70px;
    grid-template-columns: 1fr auto;
  }
  .nav,
  .header-actions .account-link {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .mobile-panel {
    position: fixed;
    z-index: 95;
    inset: 104px 0 auto;
    display: grid;
    max-height: 0;
    overflow: hidden;
    background-color: var(--bg-surface);
    border-bottom: 1px solid var(--border);
    transition: max-height 0.3s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  }
  .menu-open .mobile-panel {
    max-height: 480px;
  }
  .mobile-panel a {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    font-weight: 600;
    font-size: 16px;
  }
  .hero {
    min-height: 500px;
  }
  .hero__overlay {
    background: linear-gradient(0deg, var(--bg-base) 0%, rgba(250, 248, 245, 0.9) 65%, rgba(250, 248, 245, 0.4) 100%);
  }
  .hero__content {
    width: 100%;
    padding: 60px 0;
  }
  .category-grid {
    grid-template-columns: 1fr;
  }
  .brand-story__frame {
    grid-template-columns: 1fr;
  }
  .brand-story__media {
    min-height: 380px;
  }
  .brand-story__content {
    padding: 40px 24px;
  }
  .promo-banner {
    min-height: 400px;
  }
  .promo-banner__content {
    width: 100%;
    padding: 40px 24px;
  }
  .trust-bar {
    grid-template-columns: 1fr;
  }
  .trust-item {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .trust-item:last-child {
    border-bottom: 0;
  }
  .product-page {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .quick-view-modal__grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px;
  }
  .certification-badges {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 540px) {
  .product-grid,
  ul.products {
    grid-template-columns: 1fr;
  }
  .section-title {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero h1 {
    font-size: 38px;
  }
  .button {
    width: 100%;
  }
  .sticky-cart-bar__product {
    display: none;
  }
  .sticky-cart-bar .button {
    width: 100%;
  }
}

/* ==========================================================================
   Cookie Consent Banner
   ========================================================================== */
.consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9998;
  background: var(--bg-surface-elevated);
  border-top: 1px solid var(--border);
  box-shadow: var(--card-shadow);
  padding: 16px;
}

.consent-banner__inner {
  max-width: var(--page-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.consent-banner__text {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
  flex: 1 1 320px;
}

.consent-banner__text a {
  color: var(--accent);
  text-decoration: underline;
}

.consent-banner__actions {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

@media (max-width: 600px) {
  .consent-banner__inner {
    flex-direction: column;
    align-items: stretch;
  }
  .consent-banner__actions {
    justify-content: flex-end;
  }
}
