/* ==========================================================================
   ATELIER NORD // E-COMMERCE DESIGN SYSTEM (PERMANENT ELECTRIC BLUE THEME)
   Primary Theme: Electric Cobalt Blue + Warm Marigold + Tangerine Coral + Pistachio Mint
   Authentic, human-crafted Scandinavian & Industrial Design
   ========================================================================== */

/* --- Custom Properties / Design Tokens --- */
:root {
  --palette-name: "Bauhaus Pop Blue";
  --bg-canvas: #fbf8f3;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-subtle: #f4efe4;
  --bg-muted: #e8e1d0;

  --color-primary: #1b3bf0;       /* Electric Cobalt Blue */
  --color-primary-hover: #122ec4;
  --color-secondary: #ffb703;     /* Warm Marigold */
  --color-accent: #ff4620;        /* Tangerine Coral */
  --color-accent-hover: #e03410;
  --color-mint: #06a760;          /* Pistachio Mint */
  --color-lavender: #7042f8;      /* Electric Violet */
  --color-pink: #ff2d6c;          /* Hot Raspberry */

  /* Category Signatures */
  --cat-audio: #ff4620;           /* Coral */
  --cat-workspace: #1b3bf0;       /* Cobalt Blue */
  --cat-lighting: #e08700;        /* Amber Gold */
  --cat-carry: #06a760;           /* Mint Emerald */
  --cat-wishlist: #ff2d6c;        /* Hot Pink */

  --text-main: #131418;
  --text-secondary: #484b54;
  --text-muted: #797e8b;
  --text-inverse: #ffffff;

  --border-light: #ece5d6;
  --border-medium: #d6ccb7;
  --border-dark: #131418;

  --hero-banner-bg: #fff5eb;
  --hero-tag-bg: #ffe7d3;
  --header-bg: rgba(251, 248, 243, 0.95);
  --announcement-bg: #141724;
  --card-shadow-hover: 0 16px 36px rgba(27, 59, 240, 0.14);
  --badge-glow: rgba(27, 59, 240, 0.18);

  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'Space Mono', Consolas, monospace;

  --shadow-sm: 0 1px 3px rgba(19, 20, 24, 0.05);
  --shadow-md: 0 6px 18px rgba(19, 20, 24, 0.08);
  --shadow-lg: 0 16px 40px rgba(19, 20, 24, 0.12);
  --shadow-drawer: -10px 0 45px rgba(19, 20, 24, 0.18);

  --radius-xs: 3px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --transition-fast: 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);

  --header-height: 74px;
  --announcement-height: 38px;
  --container-max: 1360px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-canvas);
  color: var(--text-main);
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

main {
  overflow-x: hidden;
  width: 100%;
}

body.drawer-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.25rem, 4vw, 2.5rem);
  padding-right: clamp(1.25rem, 4vw, 2.5rem);
}

/* --- Announcement Marquee with Badges --- */
.announcement-bar {
  background-color: var(--announcement-bg);
  color: #f0f1f5;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  height: var(--announcement-height);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 50;
  overflow: hidden;
}

.announcement-bar .inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-weight: 500;
}

.ticker-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ticker-pill.hot {
  background-color: var(--color-accent);
  color: #ffffff;
}

.ticker-pill.code {
  background-color: var(--color-secondary);
  color: #121212;
}

.ticker-pill.delivery {
  background-color: var(--color-mint);
  color: #ffffff;
}

.announcement-bar span.bullet {
  opacity: 0.35;
  font-size: 0.6rem;
}

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  height: var(--header-height);
  background-color: var(--header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  z-index: 40;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.site-header.scrolled {
  background-color: var(--bg-surface);
  border-bottom-color: var(--border-medium);
  box-shadow: var(--shadow-sm);
}

.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-main);
  flex-shrink: 0;
}

.brand-emblem {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--color-primary), #0022cc);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 4px 10px var(--badge-glow);
  transition: transform var(--transition-bounce);
}

.brand-link:hover .brand-emblem {
  transform: rotate(-6deg) scale(1.08);
}

.brand-title {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.brand-subtitle {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.1rem 0.45rem;
  background-color: var(--bg-subtle);
  border-radius: var(--radius-xs);
}

/* Nav Menu Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 0.4rem 0;
  transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  background-color: var(--bg-surface);
  border: 1.5px solid var(--border-light);
  position: relative;
  transition: all var(--transition-fast);
}

.action-btn:hover {
  background-color: var(--bg-subtle);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.action-btn svg {
  width: 19px;
  height: 19px;
}

.badge-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: var(--color-accent);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  display: grid;
  place-items: center;
  padding: 0 4px;
  box-shadow: 0 2px 6px rgba(255, 70, 32, 0.35);
  transition: transform var(--transition-bounce);
}

.badge-count.pulse {
  transform: scale(1.35);
}

.cart-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--color-primary);
  color: #ffffff;
  padding: 0.58rem 1.15rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 4px 14px var(--badge-glow);
  transition: all var(--transition-fast);
}

.cart-trigger-btn:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px var(--badge-glow);
}

.cart-trigger-btn:active {
  transform: translateY(0);
}

.cart-trigger-btn .cart-pill {
  background-color: rgba(255, 255, 255, 0.25);
  padding: 0.12rem 0.5rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-family: var(--font-mono);
  font-weight: 700;
}

.mobile-menu-toggle {
  display: none;
}

/* --- Hero Section: Dynamic Product Slider with Color-Shifting Ambient Shadow --- */
.hero-slider-section {
  position: relative;
  padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(3rem, 5vw, 4.5rem);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 82%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 0%, black 82%, transparent 100%);
}

/* Ambient Radial Glow in the Background (Soft, smooth, diffuse) */
.hero-ambient-glow {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -40%);
  width: 120vw;
  max-width: 1450px;
  height: 600px;
  border-radius: 50%;
  filter: blur(140px);
  background: radial-gradient(ellipse at center, rgba(27, 59, 240, 0.45) 0%, rgba(34, 68, 255, 0.25) 35%, rgba(27, 59, 240, 0.08) 60%, transparent 75%);
  opacity: 0.45;
  pointer-events: none;
  transition: background 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s ease, opacity 0.75s ease;
  z-index: 1;
}

/* Secondary Ambient Floor Glow - Hidden to prevent harsh bottom cutoff line */
.hero-ambient-floor {
  display: none !important;
}

/* Dynamic Product Slider Container & Elements with Fully Responsive Length & Height */
.hero-slider-container,
.container.hero-slider-container {
  position: relative;
  z-index: 2;
  max-width: min(96vw, 1750px);
  width: 100%;
  margin: 0 auto;
  padding-left: clamp(0.75rem, 2vw, 2.25rem);
  padding-right: clamp(0.75rem, 2vw, 2.25rem);
}

/* Main Slider Viewport (Clean, transparent, no outer box/border/shadow) */
.hero-slider-wrapper {
  position: relative;
  overflow: hidden;
  padding: clamp(1.25rem, 2.5vh, 2rem) 0.75rem clamp(2rem, 3.5vh, 3rem);
  background: transparent;
  border: none;
  box-shadow: none;
}

.hero-slides-track {
  display: flex;
  gap: clamp(0.75rem, 1.3vw, 1.5rem);
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
  align-items: stretch;
}

/* Slide Divs: Fluid Responsive Length & Responsive Height */
.hero-slide {
  /* Default: 5 cards in a row on desktop */
  flex: 0 0 calc((100% - 4 * clamp(0.65rem, 1.2vw, 1.25rem)) / 5);
  width: calc((100% - 4 * clamp(0.65rem, 1.2vw, 1.25rem)) / 5);
  min-width: calc((100% - 4 * clamp(0.65rem, 1.2vw, 1.25rem)) / 5);
  aspect-ratio: 1 / 1.32;
  min-height: 280px;
  max-height: min(440px, 56vh);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: clamp(0.75rem, 1.2vw, 1.2rem);
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-medium);
  box-shadow: 0 4px 16px -2px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative;
  overflow: hidden;
}

.hero-slide:hover {
  transform: translateY(-4px);
  border-color: var(--text-secondary);
  box-shadow: 0 8px 22px -3px rgba(0, 0, 0, 0.09);
}

.hero-slide:hover .hero-product-img {
  transform: scale(1.05);
}

/* Active Div: Clean, smooth, non-clipping subtle shadow */
.hero-slide.active {
  transform: translateY(-4px);
  border-color: #1b3bf0;
  box-shadow: 0 8px 24px -3px rgba(27, 59, 240, 0.22), 0 2px 6px -1px rgba(27, 59, 240, 0.12);
}

/* Individual accent border & subtle shadow for all products */
.hero-slide:nth-child(1).active { border-color: #1b3bf0; box-shadow: 0 8px 24px -3px rgba(27, 59, 240, 0.22); }
.hero-slide:nth-child(2).active { border-color: #d97706; box-shadow: 0 8px 24px -3px rgba(217, 119, 6, 0.22); }
.hero-slide:nth-child(3).active { border-color: #ff4620; box-shadow: 0 8px 24px -3px rgba(255, 70, 32, 0.22); }
.hero-slide:nth-child(4).active { border-color: #7c4dff; box-shadow: 0 8px 24px -3px rgba(124, 77, 255, 0.22); }
.hero-slide:nth-child(5).active { border-color: #06a760; box-shadow: 0 8px 24px -3px rgba(6, 167, 96, 0.22); }
.hero-slide:nth-child(6).active { border-color: #00b4d8; box-shadow: 0 8px 24px -3px rgba(0, 180, 216, 0.22); }
.hero-slide:nth-child(7).active { border-color: #e05a3a; box-shadow: 0 8px 24px -3px rgba(224, 90, 58, 0.22); }
.hero-slide:nth-child(8).active { border-color: #4f46e5; box-shadow: 0 8px 24px -3px rgba(79, 70, 229, 0.22); }
.hero-slide:nth-child(9).active { border-color: #ea9900; box-shadow: 0 8px 24px -3px rgba(234, 153, 0, 0.22); }
.hero-slide:nth-child(10).active { border-color: #e91e63; box-shadow: 0 8px 24px -3px rgba(233, 30, 99, 0.22); }

/* The Product Image directly inside .hero-slide - Fluidly fills card height */
.hero-product-img {
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  max-height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: #f8f9fa;
  display: block;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* The Bold Title directly inside .hero-slide - Fluid Responsive Typography */
.hero-bold-title {
  font-size: clamp(0.84rem, 0.4vw + 0.62rem, 1.05rem);
  line-height: 1.28;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  text-align: center;
  margin-top: clamp(0.5rem, 1vh, 0.75rem);
  margin-bottom: 0.15rem;
  flex-shrink: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

/* Responsive Width Breakpoints - Seamlessly scaling card length, height, & row counts */
@media (max-width: 1100px) {
  .hero-slide {
    flex: 0 0 calc((100% - 3 * clamp(0.65rem, 1.2vw, 1.15rem)) / 4);
    width: calc((100% - 3 * clamp(0.65rem, 1.2vw, 1.15rem)) / 4);
    min-width: calc((100% - 3 * clamp(0.65rem, 1.2vw, 1.15rem)) / 4);
    aspect-ratio: 1 / 1.3;
    max-height: min(400px, 54vh);
  }
}

@media (max-width: 880px) {
  .hero-slide {
    flex: 0 0 calc((100% - 2 * clamp(0.6rem, 1.1vw, 1rem)) / 3);
    width: calc((100% - 2 * clamp(0.6rem, 1.1vw, 1rem)) / 3);
    min-width: calc((100% - 2 * clamp(0.6rem, 1.1vw, 1rem)) / 3);
    aspect-ratio: 1 / 1.28;
    max-height: min(370px, 52vh);
    padding: 0.65rem;
  }
  .hero-slides-track {
    gap: clamp(0.6rem, 1.1vw, 1rem);
  }
}

@media (max-width: 640px) {
  .hero-slide {
    flex: 0 0 calc((100% - 0.75rem) / 2);
    width: calc((100% - 0.75rem) / 2);
    min-width: calc((100% - 0.75rem) / 2);
    aspect-ratio: 1 / 1.25;
    max-height: min(340px, 50vh);
    min-height: 220px;
    padding: 0.6rem 0.55rem 0.75rem;
  }
  .hero-slides-track {
    gap: 0.75rem;
  }
  .hero-slider-wrapper {
    padding: 0.75rem 0.5rem 1.5rem;
  }
}

@media (max-width: 440px) {
  .hero-slide {
    flex: 0 0 78%;
    width: 78%;
    min-width: 78%;
    aspect-ratio: 1 / 1.22;
    max-height: min(320px, 48vh);
    min-height: 210px;
    padding: 0.65rem 0.6rem 0.75rem;
  }
  .hero-slides-track {
    gap: 0.65rem;
  }
}

/* Responsive Viewport Height Media Queries - Prevents vertical overflow on short screens */
@media (max-height: 750px) {
  .hero-slider-section {
    padding: clamp(1rem, 2vh, 1.75rem) 0 clamp(1.5rem, 3vh, 2.25rem);
  }
  .hero-slider-wrapper {
    padding: 0.75rem 0.5rem 2rem;
  }
  .hero-slide {
    max-height: min(360px, 50vh);
    min-height: 220px;
    padding: 0.75rem 0.7rem 0.95rem;
  }
}

@media (max-height: 600px) {
  .hero-slider-section {
    padding: 0.75rem 0 1.25rem;
  }
  .hero-slider-wrapper {
    padding: 0.5rem 0.5rem 1.5rem;
  }
  .hero-slide {
    max-height: 46vh;
    min-height: 180px;
    padding: 0.55rem 0.55rem 0.75rem;
  }
  .hero-bold-title {
    font-size: 0.82rem;
    margin-top: 0.35rem;
  }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--color-primary);
  color: #ffffff;
  padding: 0.9rem 1.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 6px 20px var(--badge-glow);
  transition: all var(--transition-fast);
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px var(--badge-glow);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--bg-surface);
  color: var(--text-main);
  border: 1.5px solid var(--border-medium);
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 700;
  transition: all var(--transition-fast);
}

.btn-secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background-color: var(--bg-subtle);
}

/* --- Brand Pillars / Trust Bar --- */
.trust-strip {
  border: none !important;
  border-top: none !important;
  border-bottom: none !important;
  background-color: var(--bg-page);
  padding: 1.5rem 0 4rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.trust-item {
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 16px;
  padding: 1.4rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.03), 0 2px 6px -1px rgba(0, 0, 0, 0.02);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.28s ease;
  box-sizing: border-box;
  height: 100%;
}

.trust-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px -4px rgba(0, 0, 0, 0.08);
  border-color: rgba(27, 59, 240, 0.22);
}

.trust-icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background-color: rgba(27, 59, 240, 0.08);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-primary);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease, color 0.25s ease;
}

.trust-item:nth-child(1) .trust-icon {
  background-color: rgba(27, 59, 240, 0.08);
  color: #1b3bf0;
}
.trust-item:nth-child(2) .trust-icon {
  background-color: rgba(124, 77, 255, 0.08);
  color: #7c4dff;
}
.trust-item:nth-child(3) .trust-icon {
  background-color: rgba(6, 167, 96, 0.08);
  color: #06a760;
}
.trust-item:nth-child(4) .trust-icon {
  background-color: rgba(255, 107, 0, 0.08);
  color: #ff6b00;
}

.trust-item:hover .trust-icon {
  transform: scale(1.08) rotate(4deg);
}

.trust-item:nth-child(1):hover .trust-icon {
  background-color: #1b3bf0;
  color: #ffffff;
}
.trust-item:nth-child(2):hover .trust-icon {
  background-color: #7c4dff;
  color: #ffffff;
}
.trust-item:nth-child(3):hover .trust-icon {
  background-color: #06a760;
  color: #ffffff;
}
.trust-item:nth-child(4):hover .trust-icon {
  background-color: #ff6b00;
  color: #ffffff;
}

.trust-icon svg {
  width: 24px;
  height: 24px;
}

.trust-text {
  flex: 1;
  min-width: 0;
}

.trust-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.25rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
  word-break: break-word;
}

.trust-text p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin: 0;
  word-break: break-word;
}

/* ==========================================================================
   HORIZONTAL SCROLLABLE SECTIONS
   ========================================================================== */

/* Shared Carousel Layout */
.scroll-carousel-section {
  padding: 4rem 0 4.5rem;
}

.carousel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1.75rem;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.carousel-controls {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.carousel-arrow-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1.5px solid var(--border-medium);
  display: grid;
  place-items: center;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.carousel-arrow-btn:hover {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--badge-glow);
}

.carousel-arrow-btn:active {
  transform: translateY(0);
}

/* Horizontal Track (Scroll Snap) */
.carousel-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 0.5rem 0.25rem 1.5rem;
  margin: 0 -0.25rem;
  scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-track .product-card {
  flex: 0 0 clamp(240px, 24vw, 300px);
  scroll-snap-align: start;
  height: auto;
  display: flex;
  flex-direction: column;
}

/* Scroll Progress Track */
.carousel-progress-track {
  width: 100%;
  height: 4px;
  background: var(--border-medium);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-top: 0.5rem;
  position: relative;
}

.carousel-progress-fill {
  height: 100%;
  background: var(--color-primary);
  border-radius: var(--radius-full);
  width: 25%;
  transition: width 0.15s ease;
}

/* --- Curated Spaces Lookbook Horizontal Scroll --- */
.spaces-carousel-section {
  background: var(--hero-banner-bg);
  border-top: 1px solid var(--border-medium);
  border-bottom: 1px solid var(--border-medium);
  padding: 4.5rem 0;
}

.spaces-track {
  display: flex;
  gap: 1.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 0.5rem 0.25rem 1.5rem;
  scrollbar-width: none;
}

.spaces-track::-webkit-scrollbar {
  display: none;
}

.space-card {
  flex: 0 0 clamp(280px, 32vw, 400px);
  scroll-snap-align: start;
  background: var(--bg-surface);
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  cursor: pointer;
}

.space-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(27, 59, 240, 0.12);
  border-color: var(--color-primary);
}

.space-image-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--bg-subtle);
}

.space-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.space-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: #ffffff;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

.space-items-badge {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(19, 20, 24, 0.85);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

.space-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.space-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.space-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.space-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: auto;
}

.space-btn:hover {
  color: var(--color-primary-hover);
  text-decoration: underline;
}

/* ==========================================================================
   CATALOG SECTION & CARDS GRID
   ========================================================================== */

.catalog-section {
  padding: 4.5rem 0 5rem;
}

.catalog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 0.4rem;
  display: block;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-main);
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 2.5rem;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.category-tabs {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  overflow-x: auto;
  flex-wrap: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
  max-width: 100%;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-full);
  background-color: var(--bg-surface);
  border: 1.5px solid var(--border-medium);
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--transition-fast);
}

.tab-btn:hover {
  border-color: var(--text-main);
  color: var(--text-main);
  transform: translateY(-1px);
}

/* Category Active Colors */
.tab-btn.active,
.tab-btn[data-category="all"].active {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 4px 12px var(--badge-glow);
}

.tab-btn[data-category="Appliances"].active {
  background-color: #ff4620;
  border-color: #ff4620;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(255, 70, 32, 0.3);
}

.tab-btn[data-category="Electronics"].active {
  background-color: #7042f8;
  border-color: #7042f8;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(112, 66, 248, 0.3);
}

.tab-btn[data-category="Kids & Toys"].active {
  background-color: #d97706;
  border-color: #d97706;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

.tab-btn[data-category="Beauty"].active {
  background-color: #ff2d6c;
  border-color: #ff2d6c;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(255, 45, 108, 0.3);
}

.tab-btn[data-category="Home"].active {
  background-color: #1b3bf0;
  border-color: #1b3bf0;
  color: #ffffff;
  box-shadow: 0 4px 12px var(--badge-glow);
}

.tab-btn[data-category="Fashion"].active {
  background-color: #06a760;
  border-color: #06a760;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(6, 167, 96, 0.3);
}

.tab-btn[data-category="Furniture"].active {
  background-color: #00b4d8;
  border-color: #00b4d8;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 180, 216, 0.3);
}

.tab-btn[data-category="Everyday Use"].active {
  background-color: #059669;
  border-color: #059669;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

.tab-btn[data-category="wishlist"].active {
  background-color: var(--cat-wishlist);
  border-color: var(--cat-wishlist);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(255, 45, 108, 0.35);
}

.toolbar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.85rem;
}

.results-count {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
}

.sort-select-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.sort-select {
  border: 1.5px solid var(--border-medium);
  background-color: var(--bg-surface);
  color: var(--text-main);
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  transition: border-color var(--transition-fast);
}

.sort-select:focus {
  border-color: var(--color-primary);
}

/* Product Cards Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.25rem, 2vw, 2rem);
}

.product-card {
  background-color: var(--bg-surface);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
}

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

.product-card[data-category="audio"] { border-top: 3.5px solid var(--cat-audio); }
.product-card[data-category="workspace"] { border-top: 3.5px solid var(--cat-workspace); }
.product-card[data-category="lighting"] { border-top: 3.5px solid var(--cat-lighting); }
.product-card[data-category="carry"] { border-top: 3.5px solid var(--cat-carry); }

.product-thumb-area {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: var(--bg-subtle);
  overflow: hidden;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.35s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-img.img-secondary {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
}

.product-card:hover .product-img.img-primary {
  opacity: 0;
}

.product-card:hover .product-img.img-secondary {
  opacity: 1;
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.28rem 0.6rem;
  border-radius: var(--radius-xs);
  z-index: 2;
  box-shadow: var(--shadow-sm);
}

.product-badge.accent {
  background-color: var(--color-primary);
  color: #ffffff;
}

.product-badge.sale {
  background-color: var(--color-accent);
  color: #ffffff;
}

.product-badge.neutral {
  background-color: var(--color-secondary);
  color: #121212;
}

.wishlist-toggle {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  border: 1px solid var(--border-medium);
  display: grid;
  place-items: center;
  color: var(--text-secondary);
  z-index: 2;
  transition: all var(--transition-fast);
}

.wishlist-toggle:hover {
  background-color: #ffffff;
  color: var(--color-pink);
  transform: scale(1.12);
}

.wishlist-toggle.active {
  color: var(--color-pink);
  border-color: var(--color-pink);
}

.wishlist-toggle.active svg {
  fill: currentColor;
}

.card-quick-actions {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  right: 0.75rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  z-index: 3;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--transition-smooth), transform var(--transition-smooth);
}

.product-card:hover .card-quick-actions,
.product-card:focus-within .card-quick-actions {
  opacity: 1;
  transform: translateY(0);
}

.btn-quick-add {
  background-color: var(--color-primary);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 12px var(--badge-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: all var(--transition-fast);
}

.btn-quick-add:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-1px);
}

.btn-quick-view {
  background-color: #ffffff;
  color: var(--text-main);
  border: 1.5px solid var(--border-medium);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.btn-quick-view:hover {
  background-color: var(--bg-subtle);
  border-color: var(--text-main);
}

.product-info {
  padding: 1.25rem 1.15rem 1.35rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-category-rating {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.45rem;
  font-size: 0.75rem;
}

.product-category-name {
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 700;
}

.product-card[data-category="audio"] .product-category-name { color: var(--cat-audio); }
.product-card[data-category="workspace"] .product-category-name { color: var(--cat-workspace); }
.product-card[data-category="lighting"] .product-category-name { color: var(--cat-lighting); }
.product-card[data-category="carry"] .product-category-name { color: var(--cat-carry); }

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--text-secondary);
  font-weight: 700;
}

.product-rating svg {
  width: 13px;
  height: 13px;
  fill: var(--color-secondary);
  color: var(--color-secondary);
}

.product-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 0.35rem;
}

.product-title a:hover {
  color: var(--color-primary);
}

.product-snippet {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 0.9rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-swatches {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
}

.color-swatch-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 0, 0, 0.15);
  cursor: pointer;
  position: relative;
  transition: transform var(--transition-fast);
}

.color-swatch-dot.active {
  transform: scale(1.2);
  box-shadow: 0 0 0 2px var(--bg-surface), 0 0 0 4px var(--color-primary);
}

.color-swatch-name {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-left: 0.3rem;
  font-weight: 600;
}

.product-card-footer {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--border-medium);
}

.product-price-box {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
}

.product-price-current {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
}

.product-price-original {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.product-stock-tag {
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.product-stock-tag.in-stock {
  color: var(--color-mint);
}

.product-stock-tag.low-stock {
  color: var(--color-accent);
}

.stock-indicator-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: currentColor;
}

/* --- Brand Story Section --- */
.story-section {
  padding: 5.5rem 0;
  background-color: var(--announcement-bg);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.story-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-secondary);
  font-weight: 700;
  margin-bottom: 1rem;
  display: block;
}

.story-heading {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.story-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #cdd2de;
  margin-bottom: 1.75rem;
}

.story-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 2rem;
}

.metric-val {
  font-size: 1.85rem;
  font-weight: 800;
  font-family: var(--font-mono);
  margin-bottom: 0.25rem;
}

.story-metrics div:nth-child(1) .metric-val { color: var(--color-secondary); }
.story-metrics div:nth-child(2) .metric-val { color: var(--color-mint); }
.story-metrics div:nth-child(3) .metric-val { color: var(--color-accent); }

.metric-desc {
  font-size: 0.75rem;
  color: #9ba3b4;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.story-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.story-image-wrap img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* --- Reviews Section --- */
.reviews-section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border-light);
}

.reviews-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.reviews-header .section-title {
  margin-bottom: 0.5rem;
}

.reviews-header p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.review-card {
  background-color: var(--bg-surface);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.review-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-primary);
}

.review-rating-stars {
  display: flex;
  gap: 0.2rem;
  color: var(--color-secondary);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.review-quote {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-main);
  margin-bottom: 1.5rem;
  font-style: normal;
}

.review-product-tag {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-medium);
}

.author-meta h5 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.verified-badge {
  color: var(--color-mint);
  display: inline-flex;
}

.author-meta p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --- Newsletter Section --- */
.newsletter-section {
  padding: 4.5rem 0 1.5rem;
  background-color: var(--bg-page);
}

.newsletter-box {
  background: var(--hero-banner-bg);
  border: 2px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 4rem);
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
}

.newsletter-box h3 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
}

.newsletter-box p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-form {
  display: flex;
  gap: 0.6rem;
  max-width: 480px;
  margin: 0 auto 0.85rem;
}

.newsletter-input {
  flex-grow: 1;
  padding: 0.85rem 1.15rem;
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-sm);
  background-color: #ffffff;
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.newsletter-input:focus {
  border-color: var(--color-primary);
}

.newsletter-disclaimer {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* --- Site Footer --- */
.site-footer {
  background-color: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding: 4.5rem 0 2.5rem;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  margin-bottom: 3.5rem;
}

.footer-brand-col p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: 1rem;
  max-width: 320px;
}

.footer-col h5 {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1.25rem;
}

.payment-badges {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.pay-badge {
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-medium);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-xs);
  color: var(--text-secondary);
  font-weight: 600;
}

/* ==========================================================================
   MODALS, DRAWERS & TOASTS
   ========================================================================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(19, 20, 24, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-smooth), visibility var(--transition-smooth);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Slide-Out Cart Drawer */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 480px;
  background-color: var(--bg-surface);
  box-shadow: var(--shadow-drawer);
  z-index: 100;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer.active {
  transform: translateX(0);
}

.cart-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-title .item-badge {
  font-size: 0.75rem;
  background-color: var(--color-primary);
  color: #ffffff;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
  font-weight: 700;
}

.btn-drawer-close {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.btn-drawer-close:hover {
  background-color: var(--bg-subtle);
  color: var(--text-main);
}

.shipping-meter-bar {
  padding: 0.95rem 1.5rem;
  background-color: var(--bg-subtle);
  border-bottom: 1px solid var(--border-light);
}

.meter-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.45rem;
}

.progress-track {
  width: 100%;
  height: 6px;
  background-color: var(--border-medium);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-mint));
  width: 0%;
  transition: width 0.4s ease;
  box-shadow: 0 0 8px rgba(6, 167, 96, 0.4);
}

.cart-items-container {
  flex-grow: 1;
  overflow-y: auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cart-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.5rem;
  height: 100%;
}

.cart-empty-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--bg-subtle);
  display: grid;
  place-items: center;
  color: var(--color-primary);
  margin-bottom: 1.25rem;
}

.cart-empty-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.cart-empty-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.cart-item {
  display: flex;
  gap: 0.9rem;
  padding-bottom: 1.15rem;
  margin-bottom: 1.15rem;
  border-bottom: 1px solid var(--border-light);
  align-items: flex-start;
}

.cart-item-img,
.cart-item-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-subtle);
  object-fit: cover;
  border: 1.5px solid var(--border-light);
  flex-shrink: 0;
}

.cart-item-details {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
  min-width: 0;
}

.cart-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
}

.cart-item-title,
.cart-item-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cart-item-remove,
.btn-remove-item {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast);
  flex-shrink: 0;
}

.cart-item-remove:hover,
.btn-remove-item:hover {
  color: var(--color-accent);
}

.cart-item-variant {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.cart-item-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.35rem;
  gap: 0.5rem;
}

.cart-qty-ctrl,
.quantity-stepper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-sm);
  background-color: var(--bg-surface);
}

.qty-btn,
.stepper-btn {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  background: none;
  border: none;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.qty-btn:hover,
.stepper-btn:hover {
  background-color: var(--bg-subtle);
}

.qty-val,
.stepper-val {
  width: 28px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  font-family: var(--font-mono);
}

.cart-item-price {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-primary);
}

.cart-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border-light);
  background-color: var(--bg-surface);
  box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.04);
}

.promo-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.15rem;
}

.promo-input {
  flex-grow: 1;
  padding: 0.55rem 0.85rem;
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
}

.btn-promo-apply {
  padding: 0.55rem 0.95rem;
  background-color: var(--bg-subtle);
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  transition: all var(--transition-fast);
}

.btn-promo-apply:hover {
  background-color: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}

.promo-feedback {
  font-size: 0.74rem;
  font-weight: 600;
  margin-top: 0.25rem;
  display: none;
}

.promo-feedback.success {
  display: block;
  color: var(--color-mint);
}

.promo-feedback.error {
  display: block;
  color: var(--color-accent);
}

.cart-calc-rows {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.15rem;
}

.calc-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.calc-row.total-row {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  padding-top: 0.55rem;
  border-top: 1px solid var(--border-light);
}

.btn-checkout {
  width: 100%;
  padding: 1rem;
  background: var(--color-primary);
  color: #ffffff;
  border-radius: var(--radius-sm);
  font-size: 0.98rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  box-shadow: 0 6px 18px var(--badge-glow);
  transition: all var(--transition-fast);
}

.btn-checkout:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
}

.checkout-security {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

/* Quick View Modal */
.quick-view-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  width: 92%;
  max-width: 940px;
  max-height: 90vh;
  background-color: var(--bg-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 100;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: transform var(--transition-smooth), opacity var(--transition-smooth), visibility var(--transition-smooth);
}

.quick-view-modal.active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  visibility: visible;
}

.btn-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--bg-subtle);
  display: grid;
  place-items: center;
  color: var(--text-main);
  z-index: 10;
  transition: all var(--transition-fast);
}

.btn-modal-close:hover {
  background-color: var(--border-medium);
}

.quick-view-content {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2.5rem;
  padding: 2.5rem;
}

.modal-gallery-area {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modal-main-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: var(--bg-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1.5px solid var(--border-medium);
}

.modal-main-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-thumbs-row {
  display: flex;
  gap: 0.6rem;
}

.modal-thumb {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border-light);
  overflow: hidden;
  cursor: pointer;
  opacity: 0.65;
  transition: all var(--transition-fast);
}

.modal-thumb.active,
.modal-thumb:hover {
  opacity: 1;
  border-color: var(--color-primary);
  transform: scale(1.05);
}

.modal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-info-area {
  display: flex;
  flex-direction: column;
}

.modal-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-primary);
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.modal-title {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 0.5rem;
}

.modal-price-strip {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.modal-price-current {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--color-primary);
}

.modal-price-original {
  font-size: 0.95rem;
  text-decoration: line-through;
  color: var(--text-muted);
}

.modal-desc {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.62;
  margin-bottom: 1.5rem;
}

.modal-options-block {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.option-heading {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.6rem;
}

.modal-swatches-list {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.modal-swatch-btn {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.modal-swatch-btn.active {
  border-color: var(--color-primary);
  background-color: var(--bg-subtle);
  color: var(--color-primary);
}

.modal-swatch-circle {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
}

.modal-actions-row {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.modal-qty-selector {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-sm);
}

.modal-qty-btn {
  width: 42px;
  height: 46px;
  display: grid;
  place-items: center;
  font-size: 1rem;
  font-weight: 700;
}

.modal-qty-btn:hover {
  background-color: var(--bg-subtle);
}

.modal-qty-val {
  width: 40px;
  text-align: center;
  font-weight: 700;
  font-family: var(--font-mono);
}

.modal-btn-add {
  flex-grow: 1;
  background: var(--color-primary);
  color: #ffffff;
  font-weight: 700;
  padding: 0 1.5rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 14px var(--badge-glow);
  transition: all var(--transition-fast);
}

.modal-btn-add:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
}

.modal-specs-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-light);
  font-size: 0.84rem;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border-light);
}

.spec-lbl {
  color: var(--text-muted);
  font-weight: 500;
}

.spec-val {
  font-weight: 600;
  color: var(--text-main);
}

/* Search Modal */
.search-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--bg-surface);
  border-bottom: 2px solid var(--color-primary);
  box-shadow: var(--shadow-lg);
  z-index: 100;
  transform: translateY(-100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 2rem 0 2.5rem;
}

.search-modal.active {
  transform: translateY(0);
}

.search-modal-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.search-input-group {
  display: flex;
  align-items: center;
  border-bottom: 2px solid var(--color-primary);
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
  gap: 0.75rem;
}

.search-input-group svg {
  width: 24px;
  height: 24px;
  color: var(--color-primary);
}

.search-live-input {
  width: 100%;
  font-size: 1.4rem;
  font-weight: 600;
  border: none;
  background: transparent;
  outline: none;
  color: var(--text-main);
}

.search-live-input::placeholder {
  color: var(--text-muted);
}

.search-shortcuts {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.shortcut-tag {
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-medium);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.shortcut-tag:hover {
  background-color: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}

.search-results-list {
  max-height: 380px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.search-result-item:hover {
  background-color: var(--bg-subtle);
}

.search-result-item img {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-xs);
  object-fit: cover;
  border: 1px solid var(--border-light);
}

.search-result-info h6 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
}

.search-result-info p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  max-width: 320px;
  background-color: var(--bg-surface);
  box-shadow: 4px 0 30px rgba(0, 0, 0, 0.14);
  z-index: 100;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 1.5rem;
}

.mobile-nav-drawer.active {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  flex-grow: 1;
}

.mobile-nav-item {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  display: block;
  transition: color var(--transition-fast);
}

.mobile-nav-item:hover {
  color: var(--color-primary);
}

.mobile-nav-footer {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  z-index: 120;
  pointer-events: none;
}

.toast {
  background-color: var(--text-main);
  color: #ffffff;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.88rem;
  font-weight: 600;
  pointer-events: auto;
  animation: toast-in 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  max-width: 380px;
  border-left: 4px solid var(--color-primary);
}

.toast.removing {
  animation: toast-out 0.25s forwards;
}

@keyframes toast-in {
  from { transform: translateY(15px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes toast-out {
  to { transform: translateY(10px); opacity: 0; }
}

.toast-icon {
  color: var(--color-mint);
  flex-shrink: 0;
}

.toast-link {
  color: var(--color-secondary);
  text-decoration: underline;
  margin-left: auto;
  font-weight: 700;
  font-size: 0.8rem;
  white-space: nowrap;
}

/* ==========================================================================
   Comprehensive Multi-Device Responsive Architecture
   Mobile (320px - 480px) | Phablet/Tablet (481px - 768px)
   Tablet/Small Laptop (769px - 1024px) | Laptop/Desktop (1025px+)
   ========================================================================== */

/* --- Laptops & Desktops (max-width: 1280px) --- */
@media (max-width: 1280px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
  .nav-menu {
    gap: 1.25rem;
  }
}

/* --- Tablets Landscape & Small Laptops (max-width: 1024px) --- */
@media (max-width: 1024px) {
  :root {
    --header-height: 70px;
  }
  .nav-menu {
    gap: 1rem;
  }
  .nav-link {
    font-size: 0.85rem;
  }
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
  }
  .trust-strip {
    padding: 2.75rem 0;
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .trust-item {
    padding: 1.25rem 1.15rem;
  }
  .story-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 1.5rem;
  }
  .quick-view-content {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
    padding: 2rem;
  }
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .reviews-grid .review-card:last-child {
    grid-column: 1 / -1;
  }
}

/* --- Tablets Portrait (max-width: 880px) --- */
@media (max-width: 880px) {
  .site-header .container {
    gap: 0.75rem;
  }
  .nav-menu {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .story-grid {
    grid-template-columns: 1fr;
  }
  .story-image-wrap {
    order: -1;
    max-height: 380px;
  }
  .story-image-wrap img {
    max-height: 380px;
    width: 100%;
    object-fit: cover;
  }
  .story-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    text-align: center;
  }
}

/* --- Phablets & Mobile Devices (max-width: 768px) --- */
@media (max-width: 768px) {
  :root {
    --header-height: 64px;
    --announcement-height: 34px;
  }
  .hero-ambient-glow {
    width: 100%;
    max-width: 100vw;
    height: 320px;
    filter: blur(100px);
    opacity: 0.35;
  }
  .announcement-bar .inner {
    gap: 0.85rem;
    font-size: 0.72rem;
    white-space: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding: 0 0.5rem;
  }
  .announcement-bar .inner::-webkit-scrollbar {
    display: none;
  }
  
  /* Header Actions on Mobile */
  .nav-actions {
    gap: 0.45rem;
  }
  .action-btn {
    width: 36px;
    height: 36px;
  }
  .action-btn svg {
    width: 17px;
    height: 17px;
  }
  .cart-trigger-btn {
    padding: 0.45rem 0.8rem;
    font-size: 0.82rem;
    gap: 0.4rem;
  }
  .brand-title span:first-child {
    font-size: 1.05rem;
  }
  .brand-subtitle {
    display: none;
  }

  /* 2-Column High-Performance Grid on Mobile */
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
  .product-card {
    border-radius: var(--radius-sm);
  }
  .product-info {
    padding: 0.85rem 0.75rem 0.95rem;
  }
  .product-title {
    font-size: 0.88rem;
    line-height: 1.35;
    height: 2.4rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.25rem;
  }
  .product-snippet {
    display: none;
  }
  .product-swatches {
    margin-bottom: 0.65rem;
    gap: 0.3rem;
  }
  .color-swatch-dot {
    width: 12px;
    height: 12px;
  }
  .color-swatch-name {
    display: none;
  }
  .product-price-box {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
  }
  .product-price-current {
    font-size: 0.98rem;
    font-weight: 800;
  }
  .product-price-original {
    font-size: 0.76rem;
  }
  .product-card-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 0.4rem;
  }
  .product-stock-tag {
    font-size: 0.68rem;
    padding: 0.15rem 0.4rem;
  }
  .card-quick-actions {
    opacity: 1;
    transform: translateY(0);
    position: absolute;
    bottom: 0.5rem;
    left: 0.5rem;
    right: 0.5rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.35rem;
  }
  .btn-quick-add {
    font-size: 0.74rem;
    padding: 0.45rem 0.55rem;
    gap: 0.25rem;
  }
  .btn-quick-add svg {
    width: 12px;
    height: 12px;
  }
  .btn-quick-view {
    width: 32px;
    height: 32px;
  }
  .btn-quick-view svg {
    width: 14px;
    height: 14px;
  }

  /* Horizontal Slider Divs */
  .carousel-track .product-card {
    flex: 0 0 clamp(190px, 56vw, 240px);
  }
  .spaces-track .space-card {
    flex: 0 0 clamp(230px, 68vw, 290px);
  }

  /* Toolbar */
  .catalog-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
  }
  .category-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.35rem;
  }
  .category-tabs::-webkit-scrollbar {
    display: none;
  }
  .tab-btn {
    flex-shrink: 0;
    font-size: 0.8rem;
    padding: 0.4rem 0.9rem;
  }
  .toolbar-right {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  /* Cart Drawer Fullscreen Mobile Experience */
  .cart-drawer {
    width: 100%;
    max-width: 100%;
  }
  .cart-header {
    padding: 1rem 1.25rem;
  }
  .cart-items-container {
    padding: 1rem 1.25rem;
  }
  .cart-footer {
    padding: 1rem 1.25rem;
  }

  /* Quick View Modal Mobile */
  .quick-view-modal {
    width: 95%;
    max-height: 92vh;
    border-radius: var(--radius-md);
  }
  .quick-view-content {
    grid-template-columns: 1fr;
    padding: 1.25rem;
    gap: 1.25rem;
  }
  .modal-title {
    font-size: 1.25rem;
  }
  .modal-thumbs-row {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.25rem;
  }
  .modal-thumbs-row::-webkit-scrollbar {
    display: none;
  }
  .modal-thumb {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
  }
  .modal-actions-row {
    flex-direction: row;
    gap: 0.5rem;
  }
  .modal-btn-add {
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
  }

  /* Search Modal */
  .search-modal-inner {
    padding: 0 1rem;
  }
  .search-live-input {
    font-size: 1.15rem;
  }
  .search-shortcuts {
    gap: 0.4rem;
  }
  .shortcut-tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
  }

  /* Reviews & Trust */
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .reviews-grid .review-card:last-child {
    grid-column: auto;
  }
  .newsletter-section {
    padding: 3rem 0 1rem;
  }
  .trust-strip {
    padding: 1rem 0 3rem;
  }
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .trust-item {
    padding: 1.1rem 1.25rem;
    gap: 1rem;
    border-radius: 14px;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  }
  .trust-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }
  .trust-icon svg {
    width: 22px;
    height: 22px;
  }
  .trust-text h4 {
    font-size: 0.92rem;
    margin-bottom: 0.15rem;
  }
  .trust-text p {
    font-size: 0.78rem;
    line-height: 1.4;
  }

  /* Newsletter Box */
  .newsletter-box {
    padding: 2rem 1.25rem;
  }
  .newsletter-form {
    flex-direction: column;
    gap: 0.6rem;
  }
  .newsletter-input, .newsletter-form .btn-primary {
    width: 100%;
  }

  /* Footer */
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    align-items: center;
  }
  .payment-badges {
    justify-content: center;
  }
}

/* --- Compact Mobile Devices (max-width: 480px) --- */
@media (max-width: 480px) {
  .container {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }
  .site-header .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  .brand-link {
    gap: 0.45rem;
  }
  .brand-emblem {
    width: 26px;
    height: 26px;
    font-size: 0.75rem;
  }
  .brand-title span:first-child {
    font-size: 0.95rem;
  }
  .cart-trigger-btn span:not(.cart-pill) {
    display: none;
  }
  .cart-trigger-btn {
    padding: 0.45rem 0.6rem;
  }
  .hero-slide {
    flex: 0 0 78%;
    width: 78%;
    min-width: 78%;
    aspect-ratio: 1 / 1.25;
    min-height: 220px;
    max-height: min(340px, 50vh);
    padding: 0.75rem 0.65rem 0.85rem;
  }
  .hero-product-img {
    width: 100%;
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
    max-height: 100%;
  }
  .hero-bold-title {
    font-size: 0.88rem;
    margin-top: 0.5rem;
  }
  .carousel-track .product-card {
    flex: 0 0 clamp(165px, 52vw, 210px);
  }
  .spaces-track .space-card {
    flex: 0 0 clamp(190px, 72vw, 240px);
  }
  .product-grid {
    gap: 0.55rem;
  }
  .product-info {
    padding: 0.65rem 0.55rem 0.75rem;
  }
  .product-title {
    font-size: 0.82rem;
    height: 2.2rem;
  }
  .product-price-current {
    font-size: 0.92rem;
  }
  .btn-quick-add {
    font-size: 0.7rem;
    padding: 0.4rem 0.45rem;
  }
  .newsletter-section {
    padding: 2.25rem 0 0.75rem;
  }
  .trust-strip {
    padding: 0.75rem 0 2.5rem;
  }
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
  .trust-item {
    padding: 0.95rem 1rem;
    gap: 0.85rem;
    border-radius: 12px;
  }
  .trust-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }
  .trust-icon svg {
    width: 20px;
    height: 20px;
  }
  .trust-text h4 {
    font-size: 0.88rem;
    margin-bottom: 0.15rem;
  }
  .trust-text p {
    font-size: 0.75rem;
    line-height: 1.35;
  }
  .carousel-header {
    flex-direction: row;
    align-items: flex-end;
  }
  .section-title {
    font-size: 1.45rem;
  }
}

/* --- Small Screen Phones (max-width: 360px) --- */
@media (max-width: 360px) {
  .hero-slide {
    flex: 0 0 80%;
    width: 80%;
    min-width: 80%;
    aspect-ratio: 1 / 1.2;
    min-height: 200px;
    max-height: 290px;
    padding: 0.6rem 0.5rem 0.65rem;
  }
  .carousel-track .product-card {
    flex: 0 0 clamp(150px, 50vw, 190px);
  }
  .spaces-track .space-card {
    flex: 0 0 clamp(180px, 70vw, 220px);
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .trust-item {
    padding: 0.8rem 0.85rem;
    gap: 0.75rem;
  }
  .trust-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
  }
  .trust-icon svg {
    width: 18px;
    height: 18px;
  }
  .trust-text h4 {
    font-size: 0.84rem;
  }
  .trust-text p {
    font-size: 0.72rem;
  }
  .action-btn {
    width: 32px;
    height: 32px;
  }
  .cart-trigger-btn {
    padding: 0.4rem 0.5rem;
  }
}
