/* ==========================================================================
   ZOLÉA Accessories — Clean Unified Component Styles
   ========================================================================== */

/* ==========================================================================
   1. HERO AUTO-SLIDE CAROUSEL
   ========================================================================== */
.hero-carousel-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #fbe0ee;
  user-select: none;
  -webkit-user-select: none;
}

.hero-carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #fbe0ee;
}

.hero-carousel-track {
  display: flex;
  width: 100%;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
  touch-action: pan-y;
  background: #fbe0ee;
}

.hero-carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  aspect-ratio: 1920 / 720;
  min-height: 480px;
  padding: 0 0 clamp(36px, 4.5vw, 60px) 0;
  box-sizing: border-box;
  background: #fbe0ee;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  background: #fbe0ee;
}

.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.02);
  transition: transform 6s cubic-bezier(0.1, 0.9, 0.2, 1);
}

.hero-carousel-slide.active .hero-slide-img {
  transform: scale(1);
}

.hero-slide-img.desktop-img {
  display: block;
}

.hero-slide-img.mobile-img {
  display: none;
}

.hero-slide-overlay {
  display: none !important;
}

.hero-slide-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  box-sizing: border-box;
}

.hero-slide-content {
  max-width: 520px;
  margin: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-tagline {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: inherit;
  margin-bottom: 6px;
  line-height: 1.3;
}

.hero-title {
  font-size: clamp(1.75rem, 3.2vw, 2.45rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: inherit;
  margin-bottom: 10px;
  line-height: 1.15;
}

.hero-subtitle {
  max-width: 460px;
  margin: 0 0 20px 0;
  font-size: clamp(0.85rem, 1.1vw, 0.96rem);
  color: inherit;
  font-weight: 400;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 0;
  flex-wrap: wrap;
}

.hero-actions .btn-primary {
  background: #f951ad !important;
  color: #ffffff !important;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 9999px;
  border: 1px solid #f951ad !important;
  box-shadow: 0 4px 14px rgba(249, 81, 173, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.86rem;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  text-decoration: none;
}

.hero-actions .btn-primary:hover {
  background: #ea3f9c !important;
  border-color: #ea3f9c !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(249, 81, 173, 0.55);
}

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

.hero-actions .btn-secondary {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: inherit;
  border: 1px solid currentColor;
  padding: 10px 20px;
  border-radius: 9999px;
  font-weight: 500;
  font-size: 0.86rem;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.hero-actions .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.32);
  transform: translateY(-2px);
}

.hero-floating-badge {
  background: rgba(15, 15, 20, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 11px 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  text-align: left;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 20px;
  max-width: 300px;
}

.hero-floating-badge.badge-light-mode {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  color: #0a0a0c;
}

.hero-floating-badge .badge-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.hero-floating-badge.badge-light-mode .badge-icon {
  background: rgba(10, 10, 12, 0.08);
  color: #0a0a0c;
}

.hero-floating-badge h4 {
  font-size: 0.84rem;
  font-weight: 600;
  color: inherit;
  margin-bottom: 2px;
}

.hero-floating-badge p {
  font-size: 0.74rem;
  color: inherit;
  opacity: 0.82;
  line-height: 1.35;
}

.hero-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(15, 15, 20, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-tap-highlight-color: transparent;
}

.hero-nav-arrow.prev { left: 28px; }
.hero-nav-arrow.next { right: 28px; }

.hero-nav-arrow:hover {
  background: rgba(255, 255, 255, 0.95);
  color: #0a0a0c;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.35);
}

.hero-nav-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.hero-pagination {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
  padding: 6px 14px;
  background: rgba(10, 10, 14, 0.48);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-tap-highlight-color: transparent;
}

.hero-dot.active {
  width: 24px;
  border-radius: 9999px;
  background: #ffffff;
}

@media (max-width: 768px) {
  .hero-carousel-slide {
    aspect-ratio: auto;
    min-height: clamp(480px, 68vh, 580px);
    padding: 0 0 44px 0;
    align-items: flex-end;
    justify-content: flex-start;
  }
  .hero-slide-img.desktop-img { display: none; }
  .hero-slide-img.mobile-img {
    display: block;
    object-position: center 30%;
  }
  .hero-slide-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 16px;
  }
  .hero-slide-content {
    max-width: 100%;
    align-items: flex-start;
    text-align: left;
  }
  .hero-tagline {
    font-size: 0.68rem;
    margin-bottom: 4px;
    letter-spacing: 0.12em;
  }
  .hero-title {
    font-size: clamp(1.4rem, 5.5vw, 1.75rem);
    line-height: 1.15;
    margin-bottom: 8px;
  }
  .hero-subtitle {
    font-size: 0.82rem;
    line-height: 1.4;
    margin-bottom: 14px;
    max-width: 100%;
    padding: 0;
  }
  .hero-actions {
    flex-direction: row;
    width: auto;
    gap: 8px;
    margin-bottom: 0;
    align-items: center;
  }
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: auto;
    justify-content: center;
    padding: 9px 18px;
    font-size: 0.82rem;
    border-radius: 9999px;
  }
  .hero-floating-badge { display: none; }
  .hero-nav-arrow { display: none; }
  .hero-pagination {
    bottom: 14px;
    padding: 4px 10px;
  }
  .hero-dot {
    width: 6px;
    height: 6px;
  }
  .hero-dot.active {
    width: 18px;
  }
}

/* ==========================================================================
   2. STICKY CATEGORY & MODEL NAVIGATION (TORRAS-STYLE CAPSULES)
   ========================================================================== */
.mobile-sticky-nav-bar {
  position: -webkit-sticky;
  position: sticky;
  top: var(--sticky-header-height, 52px);
  z-index: 180;
  background: transparent;
  border-bottom: none;
  box-shadow: none;
  width: 100%;
  pointer-events: none;
}

.brand-pill-bar {
  background: transparent;
  width: 100%;
  padding: 8px 0 4px;
}

.brand-pills-wrapper {
  position: relative;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.75);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border-radius: 9999px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.03);
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y;
  padding: 0;
  box-sizing: border-box;
  pointer-events: auto;
}

.brand-pills-wrapper::-webkit-scrollbar {
  display: none;
}

.brand-pills-track {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  background: transparent;
  border: none;
  border-radius: 9999px;
  box-shadow: none;
  min-width: 100%;
  box-sizing: border-box;
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 18px;
  border-radius: 9999px;
  font-size: 0.84rem;
  font-weight: 500;
  color: #52525b;
  background: transparent;
  border: none;
  white-space: nowrap;
  flex-shrink: 0;
  min-height: 32px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  cursor: pointer;
}

.brand-pill:hover {
  color: #18181b;
}

.brand-pill.active {
  background: #000000;
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25), 0 1px 2px rgba(0, 0, 0, 0.15);
}

.mobile-model-scroll {
  display: none;
  background: transparent;
  padding: 2px 0 8px;
  width: 100%;
}

.mobile-chips-wrapper {
  position: relative;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.75);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border-radius: 9999px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.03);
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y;
  padding: 0;
  box-sizing: border-box;
  pointer-events: auto;
}

.mobile-chips-wrapper::-webkit-scrollbar {
  display: none;
}

.mobile-chips-track {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  background: transparent;
  border: none;
  border-radius: 9999px;
  box-shadow: none;
  min-width: 100%;
  box-sizing: border-box;
}

.mobile-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 20px;
  border-radius: 9999px;
  font-size: 0.92rem;
  font-weight: 500;
  color: #52525b;
  background: transparent;
  border: none;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: max-content;
  min-height: 38px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  cursor: pointer;
}

.mobile-chip:hover {
  color: #18181b;
}

.mobile-chip.active {
  background: #f951ad;
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(249, 81, 173, 0.4), 0 1px 2px rgba(249, 81, 173, 0.2);
}

@media (max-width: 640px) {
  .brand-pill-bar { padding: 6px 0 3px; }
  .brand-pills-wrapper { padding: 0; }
  .brand-pills-track { padding: 3px 6px; gap: 3px; }
  .brand-pill {
    padding: 5px 14px;
    font-size: 0.8rem;
    min-height: 28px;
  }
  .mobile-model-scroll { padding: 4px 0 8px; }
  .mobile-chips-wrapper { padding: 0; }
  .mobile-chips-track { padding: 4px 6px; gap: 4px; }
  .mobile-chip {
    padding: 7px 16px;
    font-size: 0.88rem;
    min-height: 34px;
  }
}

@media (min-width: 961px) {
  /* On computer: Category capsule does not stick/follow down and displays fully without horizontal scroll */
  .mobile-sticky-nav-bar {
    position: relative;
    top: auto;
    pointer-events: auto;
  }

  .brand-pill-bar {
    padding: 14px 0 6px;
  }

  .brand-pills-wrapper {
    width: fit-content;
    max-width: 100%;
    overflow: visible;
  }

  .brand-pills-track {
    width: auto;
    min-width: auto;
    justify-content: center;
  }
}

/* ==========================================================================
   3. MAIN CATALOG LAYOUT & SIDEBAR
   ========================================================================== */
.catalog-section {
  padding: 40px 0 80px;
  background-color: var(--color-bg);
  min-height: 85vh;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 40px;
  align-items: start;
}

.catalog-sidebar {
  background: #ffffff;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-subtle);
  height: auto;
  max-height: none;
  overflow: visible;
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border-subtle);
}

.sidebar-title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-primary);
}

.sidebar-clear-btn {
  font-size: 0.76rem;
  color: var(--color-accent);
  font-weight: 500;
}

.sidebar-clear-btn:hover {
  text-decoration: underline;
}

.sidebar-group {
  margin-bottom: 24px;
}

.sidebar-group-title {
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-tertiary);
  margin-bottom: 10px;
}

.model-tree-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.model-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 7px 12px;
  border-radius: var(--radius-xs);
  font-size: 0.86rem;
  font-weight: 400;
  color: var(--color-text-secondary);
  text-align: left;
  transition: all var(--transition-fast);
}

.model-nav-item:hover {
  color: var(--color-text-primary);
  background-color: var(--color-bg-secondary);
}

.model-nav-item.active {
  color: #f951ad;
  font-weight: 600;
  background-color: #fbe0ee;
  position: relative;
}

.model-nav-item.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 3px;
  background-color: #f951ad;
  border-radius: 2px;
}

.filter-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.filter-chip {
  font-size: 0.78rem;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: #fbe0ee;
  color: #18181b;
  border: 1px solid rgba(249, 81, 173, 0.2);
  transition: all var(--transition-fast);
}

.filter-chip:hover {
  background: #f8d5ea;
}

.filter-chip.active {
  background: #f951ad;
  color: #ffffff;
  border-color: #f951ad;
}

.catalog-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--color-border-subtle);
  flex-wrap: wrap;
  gap: 14px;
}

.catalog-title-wrap h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.85rem);
  font-weight: 600;
  color: #0a0a0c;
  margin-bottom: 4px;
}

.catalog-subtitle {
  font-size: 0.88rem;
  color: var(--color-text-secondary);
}

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

.sort-select-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.sort-select {
  appearance: none;
  -webkit-appearance: none;
  background: #fbe0ee;
  border: 1px solid rgba(249, 81, 173, 0.3);
  padding: 8px 32px 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 600;
  color: #18181b;
  cursor: pointer;
  outline: none;
  transition: all var(--transition-fast);
}

.sort-select:hover {
  border-color: #f951ad;
  background: #f8d5ea;
}

.sort-icon {
  position: absolute;
  right: 12px;
  pointer-events: none;
  color: #18181b;
}

@media (max-width: 960px) {
  .catalog-section { padding: 24px 0 60px; }
  .catalog-layout { display: block; }
  .catalog-sidebar { display: none; }
  .mobile-model-scroll { display: block; }
  .catalog-toolbar {
    padding: 0 4px 16px 4px;
    margin-bottom: 0;
  }
}

/* ==========================================================================
   4. PRODUCT CARDS & GRID
   ========================================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
  min-height: 480px;
}

.product-card {
  position: relative;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  cursor: pointer;
  min-width: 0;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(244, 151, 218, 0.42), 0 4px 14px rgba(244, 151, 218, 0.22);
  border-color: rgba(244, 151, 218, 0.85);
}

.product-card:active {
  transform: scale(0.985);
}

.product-card-top {
  position: relative;
  width: 100%;
  height: auto;
  background: transparent;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 12px;
  padding: 0;
  display: block;
}

.product-card-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  padding: 0;
  margin: 0;
  border-radius: 18px;
  background: transparent;
  display: block;
  transition: transform var(--transition-smooth);
}

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

.product-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 0.7rem;
  padding: 4px 10px;
  z-index: 4;
}

.product-card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-width: 0;
}

.product-card-model {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  margin-bottom: 3px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card-name-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
  min-width: 0;
}

.product-card-name {
  font-size: 0.98rem;
  font-weight: 600;
  color: #0a0a0c;
  line-height: 1.3;
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
}

.product-card-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-shrink: 0;
  text-align: right;
  white-space: nowrap;
}

.product-card-price {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0a0a0c;
  white-space: nowrap;
}

.product-card-original-price {
  font-size: 0.85rem;
  color: var(--color-text-tertiary);
  text-decoration: line-through;
  white-space: nowrap;
}

.product-card-color-dots {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 4px 0 6px;
  flex-wrap: wrap;
  pointer-events: none;
}

.card-color-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
  cursor: default;
  background: transparent;
  border: none;
  padding: 0;
  pointer-events: none;
}

.card-color-dot.is-light-color {
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.25);
}

@media (max-width: 960px) {
  .products-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
  }
  .product-card {
    padding: 16px;
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.08);
  }
  .product-card-top {
    border-radius: 20px;
    margin-bottom: 12px;
  }
  .product-card-img {
    border-radius: 20px;
  }
  .product-card-name {
    font-size: 1.02rem;
  }
  .product-card-price {
    font-size: 1.08rem;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .product-card {
    padding: 14px;
    border-radius: 22px;
  }
  .product-card-top {
    border-radius: 18px;
    margin-bottom: 10px;
  }
  .product-card-img {
    border-radius: 18px;
  }
  .product-card-name {
    font-size: 0.98rem;
  }
  .product-card-price {
    font-size: 1.05rem;
  }
  .card-color-dot {
    width: 10px;
    height: 10px;
  }
}

/* ==========================================================================
   5. STOREFRONT TOAST NOTIFICATION
   ========================================================================== */
.storefront-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(10, 10, 12, 0.92);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 500;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.storefront-toast.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   6. PRODUCT DETAIL PAGE (PDP) MODAL & ACTIONS
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
  overflow: hidden;
}

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

.modal-container {
  background: #ffffff;
  width: 100%;
  max-width: 980px;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  overflow-y: auto;
  overflow-x: hidden;
  box-shadow: var(--shadow-modal);
  position: relative;
  transform: scale(0.96) translateY(12px);
  transition: transform var(--transition-normal);
  -webkit-overflow-scrolling: touch;
}

.modal-overlay.active .modal-container {
  transform: scale(1) translateY(0);
}

/* ==========================================================================
/* ==========================================================================
/* ==========================================================================
   6. PRODUCT DETAIL MODAL (PDP) — CLEAN REBUILD
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
  padding: 24px;
  box-sizing: border-box;
  overscroll-behavior: contain;
}

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

html.modal-open,
body.modal-open {
  overflow: hidden !important;
  overscroll-behavior: none !important;
}

.modal-container {
  background: #ffffff;
  width: 100%;
  max-width: 980px;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-modal);
  position: relative;
  transform: scale(0.96) translateY(12px);
  transition: transform var(--transition-normal);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.modal-overlay.active .modal-container {
  transform: scale(1) translateY(0);
}

.modal-sheet-handle {
  display: none;
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-bg-secondary);
  color: var(--color-text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 30;
  border: 1px solid var(--color-border-subtle);
  transition: all var(--transition-fast);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.modal-close-btn:hover {
  background: var(--color-bg-tertiary);
  transform: scale(1.05);
}

#pdp-modal-content {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.pdp-modal-sheet {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  position: relative;
}

/* Single Natural Flow Scrollable Container */
.pdp-scroll-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 36px 40px;
  box-sizing: border-box;
}

.pdp-main-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  width: 100%;
  box-sizing: border-box;
}

/* Left Column: Gallery */
.pdp-gallery-col {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.pdp-gallery-desktop-main {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 0;
  max-height: 520px;
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid var(--color-border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.pdp-gallery-desktop-main:hover {
  border-color: rgba(0, 0, 0, 0.18);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.pdp-gallery-desktop-main img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: 16px;
  box-sizing: border-box;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.pdp-gallery-desktop-main:hover img {
  transform: scale(1.02);
}

.pdp-gallery-desktop-video-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdp-main-media-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.pdp-sound-toggle-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(10, 10, 12, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.pdp-sound-toggle-btn:hover {
  background: rgba(10, 10, 12, 0.9);
  transform: scale(1.08);
}

.pdp-zoom-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1d1d1f;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  pointer-events: none;
  transition: transform 0.2s ease;
}

.pdp-gallery-thumbnails {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: thin;
  padding-bottom: 4px;
}

.pdp-thumb {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background: var(--color-bg-subtle);
  opacity: 0.7;
  flex-shrink: 0;
  transition: all var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
  position: relative;
}

.pdp-thumb:hover,
.pdp-thumb.active {
  opacity: 1;
  border-color: #f951ad;
}

.pdp-thumb img,
.pdp-thumb video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pdp-thumb-video-badge {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 18px;
  height: 18px;
  background: rgba(0, 0, 0, 0.75);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

/* Mobile Carousel */
.pdp-mobile-carousel-container {
  display: none;
  position: relative;
  width: 100%;
  margin-bottom: 8px;
}

.pdp-mobile-carousel-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 100%;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid var(--color-border-subtle);
  overflow: hidden;
  box-sizing: border-box;
}

.pdp-mobile-carousel-track {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  touch-action: pan-x pan-y;
  box-sizing: border-box;
}

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

.pdp-carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  height: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
  cursor: zoom-in;
}

.pdp-carousel-slide img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.pdp-slide-video-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdp-carousel-video {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.pdp-mobile-carousel-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
  min-height: 12px;
}

.pdp-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.22);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.pdp-dot.active {
  width: 18px;
  border-radius: 9999px;
  background: #0a0a0c;
}

/* Right Column: Info */
.pdp-info-col {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.pdp-header-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-top: 4px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border-subtle);
}

.pdp-title {
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
  color: var(--color-text-primary);
  letter-spacing: -0.015em;
  flex: 1 1 auto;
}

.pdp-price-tag {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-shrink: 0;
  text-align: right;
}

.pdp-current-price {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.pdp-old-price {
  font-size: 1rem;
  color: var(--color-text-tertiary);
  text-decoration: line-through;
  white-space: nowrap;
}

/* Inline Action Buttons */
.pdp-actions-row {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin: 14px 0 20px 0;
  width: 100%;
  box-sizing: border-box;
}

.pdp-action-btn {
  flex: 1 1 0%;
  height: 48px;
  padding: 0 16px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.94rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-sizing: border-box;
  white-space: nowrap;
  transition: all var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
}

.pdp-add-bag-btn {
  background: #000000;
  color: #ffffff;
  font-weight: 700;
  border: 1px solid #000000;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.pdp-add-bag-btn:hover {
  background: #27272a;
  border-color: #27272a;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.pdp-add-bag-btn:active {
  transform: scale(0.98);
}

.pdp-buy-now-btn {
  background: #f951ad;
  color: #ffffff;
  font-weight: 700;
  border: 1px solid #f951ad;
  box-shadow: 0 4px 14px rgba(249, 81, 173, 0.4);
}

.pdp-buy-now-btn:hover {
  background: #ea3f9c;
  border-color: #ea3f9c;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(249, 81, 173, 0.55);
}

.pdp-buy-now-btn:active {
  transform: scale(0.98);
}

.pdp-sold-out-btn {
  flex: 1 1 100%;
  background: #8e8e93;
  color: #ffffff;
  opacity: 0.65;
  cursor: not-allowed;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: none;
}

.pdp-section-group {
  margin-bottom: 18px;
}

.pdp-group-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.88rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.pdp-colorway-group .pdp-group-heading {
  justify-content: flex-start;
  gap: 6px;
}

.pdp-group-title {
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.78rem;
  font-weight: 700;
}

.pdp-group-value {
  color: var(--color-text-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.82rem;
  font-weight: 700;
}

.pdp-swatches-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 4px 6px;
}

.pdp-color-swatch-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 0, 0, 0.14);
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  -webkit-tap-highlight-color: transparent;
}

.pdp-color-swatch-btn:hover {
  transform: scale(1.08);
}

.pdp-color-swatch-btn.active {
  transform: scale(1.12);
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #f951ad;
  border-color: rgba(0, 0, 0, 0.08);
}

.pdp-select-wrap {
  position: relative;
}

.pdp-custom-select {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--color-border-subtle);
  border-radius: var(--radius-sm);
  background: #ffffff;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-text-primary);
  cursor: pointer;
  transition: border-color 0.2s;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.pdp-custom-select:focus {
  outline: none;
  border-color: #0a0a0c;
}

.pdp-single-model-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border-subtle);
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--color-text-primary);
}

.pdp-description-text {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: var(--color-text-secondary);
}

.pdp-features-section {
  width: 100%;
  box-sizing: border-box;
  padding: 32px 0 16px 0;
  border-top: 1px solid var(--color-border-subtle);
  margin-top: 24px;
}

.pdp-features-matrix {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.pdp-feature-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

.pdp-feature-row svg {
  color: #0a0a0c;
  flex-shrink: 0;
  margin-top: 3px;
}

/* ==========================================================================
   7. PRODUCT SHOWCASE CONTINUOUS MEDIA CAROUSEL
   ========================================================================== */
.pdp-showcase-section {
  width: 100%;
  padding: 40px 0 16px 0;
  box-sizing: border-box;
  border-top: 1px solid var(--color-border-subtle);
  background: #ffffff;
  position: relative;
  z-index: 1;
}

.pdp-showcase-header {
  text-align: center;
  margin-bottom: 24px;
  padding: 0 20px;
}

.pdp-showcase-eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fb01a4;
  margin-bottom: 6px;
}

.pdp-showcase-title {
  font-size: clamp(1.45rem, 2.8vw, 1.95rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--color-text-primary);
  margin: 0;
}

.pdp-showcase-carousel-wrapper {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 18px;
  background: #ffffff;
}

.pdp-showcase-track {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  touch-action: pan-x pan-y;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  background: #ffffff;
}

.pdp-showcase-track::-webkit-scrollbar {
  display: none;
}

.pdp-showcase-track.is-dragging {
  scroll-behavior: auto !important;
  scroll-snap-type: none !important;
  cursor: grabbing;
}

.pdp-showcase-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  margin: 0;
  padding: 0;
  border: none;
  box-shadow: none;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.pdp-showcase-slide.pdp-showcase-img-slide {
  cursor: zoom-in;
}

.pdp-showcase-media {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  border: none;
}

.pdp-showcase-video-slide video {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: contain;
  display: block;
  background: #000000;
  cursor: pointer;
  border: none;
}

.pdp-showcase-video-controls {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  gap: 8px;
  z-index: 10;
}

.pdp-showcase-control-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(10, 10, 12, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.pdp-showcase-control-btn:hover {
  background: rgba(10, 10, 12, 0.9);
  transform: scale(1.06);
}

.pdp-showcase-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #0a0a0c;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all 0.22s ease;
  z-index: 15;
}

.pdp-showcase-carousel-wrapper:hover .pdp-showcase-nav-btn {
  opacity: 1;
  pointer-events: auto;
}

.pdp-showcase-nav-btn.prev { left: 14px; }
.pdp-showcase-nav-btn.next { right: 14px; }

.pdp-showcase-nav-btn:hover {
  background: #ffffff;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.pdp-showcase-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 16px 0 4px 0;
}

.pdp-showcase-dot {
  width: 6px;
  height: 5px;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.2);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.pdp-showcase-dot.active {
  width: 22px;
  background: #fb01a4;
}

.pdp-showcase-dot:hover:not(.active) {
  background: rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   8. PDP FULLSCREEN IMAGE VIEWER / LIGHTBOX
   ========================================================================== */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 99999;
  background: #000000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  touch-action: auto;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  -webkit-user-select: none;
  overflow: hidden;
  box-sizing: border-box;
}

.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  touch-action: none;
}

body.lightbox-open {
  overflow: hidden !important;
  touch-action: none !important;
}

body.lightbox-open #product-detail-modal,
body.lightbox-open .modal-overlay,
body.lightbox-open .modal-container,
body.lightbox-open .pdp-modal-sheet,
body.lightbox-open .pdp-scroll-body,
body.lightbox-open .pdp-showcase-section,
body.lightbox-open .cart-drawer-overlay,
body.lightbox-open .spotlight-search-modal {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.lightbox-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(env(safe-area-inset-top, 16px) + 10px) 20px 10px 20px;
  position: relative;
  z-index: 20;
  width: 100%;
  box-sizing: border-box;
}

.lightbox-counter {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.12);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.lightbox-close-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.lightbox-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.06);
}

.lightbox-close-btn:active {
  transform: scale(0.94);
}

.lightbox-stage {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  position: relative;
  min-height: 0;
  width: 100%;
  height: calc(100dvh - 140px);
  overflow: hidden;
  box-sizing: border-box;
}

.lightbox-img-wrap {
  flex: 1 1 auto;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  position: relative;
  box-sizing: border-box;
  padding: 8px;
}

.lightbox-img-wrap img,
#lightbox-main-img {
  max-width: 95vw;
  max-height: calc(100dvh - 140px);
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.22s ease;
  will-change: transform, opacity;
  pointer-events: auto;
  user-select: none;
  -webkit-user-drag: none;
  margin: auto;
  display: block;
}

.lightbox-video-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.lightbox-main-video {
  max-width: 94vw;
  max-height: calc(100dvh - 140px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  pointer-events: auto;
  margin: auto;
}

.lightbox-nav-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: all 0.2s ease;
  flex-shrink: 0;
  z-index: 20;
  -webkit-tap-highlight-color: transparent;
}

.lightbox-nav-btn.prev {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-nav-btn.next {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-nav-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.08);
}

.lightbox-nav-btn:active {
  transform: translateY(-50%) scale(0.94);
}

.lightbox-bottom-bar {
  padding: 10px 20px calc(env(safe-area-inset-bottom, 16px) + 10px) 20px;
  text-align: center;
  position: relative;
  z-index: 20;
  width: 100%;
  box-sizing: border-box;
}

.lightbox-hint {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.02em;
}

/* ==========================================================================
   MOBILE RESPONSIVE RULES (MAX-WIDTH: 768px)
   ========================================================================== */
@media (max-width: 768px) {
  .modal-overlay {
    padding: 0;
    align-items: flex-end;
  }

  .modal-container {
    max-width: 100%;
    width: 100%;
    height: 94vh;
    height: 94dvh;
    max-height: 94dvh;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    padding-bottom: 0;
    transform: translateY(100%);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    -webkit-overflow-scrolling: touch;
    transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  }

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

  .modal-sheet-handle {
    display: block;
    width: 38px;
    height: 4.5px;
    background: rgba(0, 0, 0, 0.18);
    border-radius: 9999px;
    margin: 8px auto 2px auto;
    flex-shrink: 0;
  }

  .modal-close-btn {
    top: 10px;
    right: 14px;
    width: 32px;
    height: 32px;
    background: rgba(240, 240, 242, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    z-index: 50;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  }

  #pdp-modal-content {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
    overflow: hidden;
    position: relative;
  }

  .pdp-modal-sheet {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
    overflow: hidden;
    position: relative;
  }

  /* Single Scrollable Container */
  .pdp-scroll-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 8px 16px calc(env(safe-area-inset-bottom, 20px) + 24px) 16px;
  }

  .pdp-main-grid {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0;
    gap: 10px;
    overflow: visible;
    position: relative;
    z-index: 2;
  }

  .pdp-gallery-desktop-main { display: none; }
  .pdp-gallery-thumbnails { display: none; }
  .pdp-mobile-carousel-container { 
    display: block; 
    margin-top: 2px;
    margin-bottom: 8px;
    width: 100%;
  }

  .pdp-mobile-carousel-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    max-width: 100%;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid var(--color-border-subtle);
    overflow: hidden;
    box-sizing: border-box;
  }

  .pdp-mobile-carousel-track {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    touch-action: pan-x pan-y;
    box-sizing: border-box;
  }

  .pdp-carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    height: 100%;
    padding: 16px;
    box-sizing: border-box;
  }
  
  .pdp-carousel-slide img,
  .pdp-carousel-video {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }

  .pdp-header-row {
    margin-top: 2px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    gap: 10px;
  }

  .pdp-title {
    font-size: 1.15rem;
    font-weight: 600;
  }

  .pdp-current-price {
    font-size: 1.2rem;
    font-weight: 700;
  }

  .pdp-old-price {
    font-size: 0.88rem;
  }

  .pdp-section-group {
    margin-bottom: 12px;
  }

  .pdp-swatches-grid {
    align-items: center;
    gap: 8px;
    padding: 4px 6px;
  }

  .pdp-color-swatch-btn {
    width: 34px;
    height: 34px;
    border: 1.5px solid rgba(0, 0, 0, 0.14);
  }

  .pdp-color-swatch-btn.active {
    box-shadow: 0 0 0 2px #ffffff, 0 0 0 3.5px #f951ad;
    border-color: rgba(0, 0, 0, 0.08);
  }

  .pdp-actions-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 14px 0 16px 0;
    width: 100%;
    box-sizing: border-box;
  }

  .pdp-actions-row .pdp-action-btn {
    flex: 1 1 0%;
    min-width: 0;
    max-width: calc(50% - 5px);
    width: auto;
    height: 48px;
    padding: 0 10px;
    margin: 0;
    font-size: 0.92rem;
    border-radius: 9999px;
  }

  .pdp-actions-row .pdp-sold-out-btn {
    flex: 1 1 100%;
    max-width: 100%;
    width: 100%;
  }

  .pdp-features-section {
    padding: 20px 0 16px 0;
    margin-top: 16px;
    border-top: 1px solid var(--color-border-subtle);
  }

  .pdp-features-matrix {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
    gap: 10px;
  }

  .pdp-feature-row {
    font-size: 0.85rem;
    gap: 10px;
  }

  /* Mobile Showcase */
  .pdp-showcase-section {
    padding: 24px 0 20px 0;
    position: relative;
    z-index: 1;
    width: 100%;
    box-sizing: border-box;
  }

  .pdp-showcase-header {
    padding: 0 16px;
    margin-bottom: 14px;
  }

  .pdp-showcase-title {
    font-size: 1.25rem;
  }

  .pdp-showcase-carousel-wrapper {
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    padding: 0;
    margin: 0;
    background: transparent;
  }

  .pdp-showcase-track {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 0;
    padding: 0;
    margin: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
    scrollbar-width: none;
  }

  .pdp-showcase-slide {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    border-radius: 0;
    border: none;
    box-shadow: none;
    margin: 0;
    padding: 0;
    background: #ffffff;
  }

  .pdp-showcase-media,
  .pdp-showcase-video-slide video {
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: contain;
    border-radius: 0;
    margin: 0 auto;
  }

  .pdp-showcase-nav-btn { display: none; }
  .pdp-showcase-pagination { padding: 12px 0 0 0; }
  .pdp-showcase-dot {
    width: 7px;
    height: 7px;
  }
  .pdp-showcase-dot.active {
    width: 22px;
  }

  /* Mobile Lightbox */
  .lightbox-top-bar {
    padding: calc(env(safe-area-inset-top, 12px) + 8px) 16px 8px 16px;
  }

  .lightbox-stage {
    padding: 0 4px;
  }

  .lightbox-img-wrap img,
  .lightbox-video-wrap video {
    max-width: 96vw;
    max-height: calc(100dvh - 130px);
    border-radius: 6px;
  }

  .lightbox-nav-btn {
    display: none;
  }

  .lightbox-bottom-bar {
    padding: 6px 16px calc(env(safe-area-inset-bottom, 16px) + 8px) 16px;
  }
}

@media (max-width: 400px) {
  .pdp-actions-row {
    gap: 8px;
    margin: 10px 0 14px 0;
  }
  .pdp-actions-row .pdp-action-btn {
    font-size: 0.88rem;
    padding: 0 8px;
    max-width: calc(50% - 4px);
    gap: 5px;
  }
  .pdp-actions-row .pdp-action-btn svg {
    width: 16px;
    height: 16px;
  }
}


   9. SHOPPING CART DRAWER & CHECKOUT
   ========================================================================== */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overscroll-behavior: contain;
  touch-action: none;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.cart-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  height: 100%;
  height: 100dvh;
  max-height: 100dvh;
  background: #ffffff;
  z-index: 910;
  box-shadow: var(--shadow-drawer);
  transform: translateX(100%);
  transition: transform var(--transition-smooth);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  overscroll-behavior: contain;
  touch-action: pan-y;
}

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

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

.cart-drawer-header h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #0a0a0c;
  margin: 0;
}

.cart-drawer-header .header-icon-btn {
  color: #0a0a0c !important;
  opacity: 0.75;
}

.cart-drawer-header .header-icon-btn:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.06) !important;
}

#cart-shipping-bar-container {
  flex-shrink: 0;
}

.cart-free-shipping-bar {
  flex-shrink: 0;
  padding: 14px 24px;
  background: var(--color-bg-secondary);
  border-bottom: 1px solid var(--color-border-subtle);
}

.shipping-progress-text {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  margin-bottom: 6px;
}

.shipping-progress-text strong {
  color: #0a0a0c;
}

.shipping-progress-track {
  width: 100%;
  height: 4px;
  background: #e0e0e5;
  border-radius: 999px;
  overflow: hidden;
}

.shipping-progress-fill {
  height: 100%;
  background: #0a0a0c;
  border-radius: 999px;
  transition: width var(--transition-normal);
}

.cart-items-list {
  flex: 1 1 auto;
  min-height: 0;
  max-height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
  touch-action: pan-y;
  padding: 18px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-item-card {
  display: flex;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border-subtle);
  flex-shrink: 0;
}

.cart-item-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  background: var(--color-bg-subtle);
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--color-border-subtle);
}

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

.cart-item-details {
  flex: 1;
}

.cart-item-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #0a0a0c;
  margin-bottom: 2px;
}

.cart-item-meta {
  font-size: 0.78rem;
  color: var(--color-text-secondary);
  margin-bottom: 8px;
}

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

.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border-medium);
  border-radius: var(--radius-pill);
  padding: 2px 6px;
  gap: 8px;
}

.qty-btn {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  color: var(--color-text-primary);
  border-radius: 50%;
}

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

.qty-val {
  font-size: 0.82rem;
  font-weight: 600;
  min-width: 14px;
  text-align: center;
}

.cart-item-price {
  font-size: 0.95rem;
  font-weight: 600;
  color: #0a0a0c;
}

.cart-drawer-footer {
  flex-shrink: 0;
  padding: 18px 24px calc(18px + env(safe-area-inset-bottom, 0px));
  background: var(--color-bg-subtle);
  border-top: 1px solid var(--color-border-subtle);
  position: relative;
  z-index: 5;
}

.promo-form {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.promo-input {
  flex: 1;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border-medium);
  font-size: 0.82rem;
  text-transform: uppercase;
  outline: none;
}

.promo-apply-btn {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: #391f85 !important;
  color: #ffffff !important;
  border: 1px solid #391f85 !important;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-tap-highlight-color: transparent;
}

.promo-apply-btn:hover {
  background: #2d166c !important;
  border-color: #2d166c !important;
  box-shadow: 0 4px 12px rgba(57, 31, 133, 0.35);
  transform: translateY(-1px);
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  margin-bottom: 8px;
}

.cart-summary-row.total {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0a0a0c;
  padding-top: 12px;
  margin-top: 12px;
  border-top: 1px solid var(--color-border-subtle);
}

.btn-checkout {
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-pill);
  background: #f951ad !important;
  color: #ffffff !important;
  border: 1px solid #f951ad !important;
  font-weight: 700;
  font-size: 0.95rem;
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(249, 81, 173, 0.4);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.btn-checkout:hover {
  background: #ea3f9c !important;
  border-color: #ea3f9c !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(249, 81, 173, 0.55);
}

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

.empty-cart-state {
  text-align: center;
  padding: 48px 16px;
  color: var(--color-text-secondary);
}

.empty-cart-icon {
  margin: 0 auto 16px;
  width: 48px;
  height: 48px;
  color: var(--color-text-tertiary);
}

/* Checkout Modal Scoped Typography & Layout */
#checkout-modal {
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

#checkout-modal-content {
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch !important;
  overscroll-behavior: contain !important;
  overscroll-behavior-y: contain !important;
  touch-action: pan-y !important;
}

.checkout-container-inner {
  padding: 32px 36px;
  box-sizing: border-box;
  width: 100%;
}

.checkout-top-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #391F85 !important;
  margin-bottom: 2px;
  line-height: 1.3;
}

.checkout-section-heading {
  font-size: 0.94rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: #0a0a0c;
  margin-bottom: 14px;
  line-height: 1.3;
}

.checkout-cart-heading {
  font-size: 0.80rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: #391F85 !important;
  margin-bottom: 12px;
  line-height: 1.3;
}

#place-order-submit-btn,
#btn-check-qpay-payment {
  background: #f951ad !important;
  color: #ffffff !important;
  border: 1px solid #f951ad !important;
  font-weight: 700 !important;
  border-radius: var(--radius-pill) !important;
  box-shadow: 0 4px 14px rgba(249, 81, 173, 0.4) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  cursor: pointer !important;
}

#place-order-submit-btn:hover,
#btn-check-qpay-payment:hover {
  background: #ea3f9c !important;
  border-color: #ea3f9c !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(249, 81, 173, 0.55) !important;
}

#place-order-submit-btn:active,
#btn-check-qpay-payment:active {
  transform: translateY(0);
}

@media (max-width: 768px) {
  #checkout-modal {
    overscroll-behavior: contain;
  }

  #checkout-modal-content {
    max-height: 94dvh !important;
    height: 94dvh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
    overscroll-behavior-y: contain !important;
    touch-action: pan-y !important;
  }

  .checkout-container-inner {
    padding: 16px 14px calc(36px + env(safe-area-inset-bottom, 20px)) !important;
    width: 100%;
    box-sizing: border-box;
  }
  .checkout-top-eyebrow {
    font-size: 0.68rem;
  }
  .checkout-section-heading {
    font-size: 0.88rem;
    margin-bottom: 12px;
  }
  .checkout-cart-heading {
    font-size: 0.76rem;
    margin-bottom: 10px;
  }
  .checkout-grid-layout {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .checkout-name-phone-row {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  #checkout-form input,
  #checkout-form select {
    font-size: 16px !important;
    padding: 12px 14px !important;
    min-height: 46px !important;
    border-radius: 8px !important;
  }
  #place-order-submit-btn {
    font-size: 0.95rem !important;
    padding: 15px 12px !important;
    border-radius: 9999px !important;
  }
}

@media (max-width: 540px) {
  .cart-drawer {
    max-width: 100%;
    width: 100%;
    height: 100%;
    height: 100dvh;
    max-height: 100dvh;
  }
  .cart-drawer-header {
    padding: 14px 18px;
    flex-shrink: 0;
  }
  .cart-free-shipping-bar {
    padding: 10px 18px;
    flex-shrink: 0;
  }
  .cart-items-list {
    padding: 14px 18px 24px;
    flex: 1 1 auto;
    min-height: 0;
    max-height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    touch-action: pan-y;
  }
  .cart-drawer-footer {
    padding: 14px 18px calc(16px + env(safe-area-inset-bottom, 16px));
    flex-shrink: 0;
  }
  .promo-form {
    margin-bottom: 12px;
  }
  .btn-checkout {
    padding: 14px;
    font-size: 0.92rem;
    margin-top: 12px;
  }
}

/* ==========================================================================
   10. SPOTLIGHT SEARCH MODAL (Cmd+K)
   ========================================================================== */
.search-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 950;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 16px 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition-fast), visibility var(--transition-fast);
}

.search-modal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.search-box-card {
  background: #ffffff;
  width: 100%;
  max-width: 640px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-modal);
  overflow: hidden;
  transform: translateY(-20px);
  transition: transform var(--transition-normal);
}

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

.search-input-header {
  display: flex;
  align-items: center;
  padding: 18px 24px;
  gap: 12px;
  border-bottom: 1px solid var(--color-border-subtle);
}

.search-input-header input {
  flex: 1;
  border: none;
  font-size: 1.15rem;
  font-weight: 500;
  outline: none;
  color: #0a0a0c;
  font-family: inherit;
}

.search-results-list {
  max-height: 380px;
  overflow-y: auto;
  padding: 12px;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition-fast);
}

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

.search-result-thumb {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-xs);
  object-fit: cover;
  background: var(--color-bg-subtle);
}

@media (max-width: 640px) {
  .search-modal-overlay {
    padding: 20px 10px 20px;
    align-items: flex-start;
  }
  .search-box-card {
    border-radius: 16px;
    max-width: 100%;
  }
  .search-input-header {
    padding: 14px 16px;
  }
  .search-input-header input {
    font-size: 1rem;
  }
}

/* ==========================================================================
   11. FOOTER
   ========================================================================== */
.zolea-footer {
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border-subtle);
  padding: 64px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  letter-spacing: 0.06em;
}

.footer-column h4 {
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #0a0a0c;
  margin-bottom: 16px;
}

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

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

.footer-link:hover {
  color: #0a0a0c;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--color-border-subtle);
  font-size: 0.78rem;
  color: var(--color-text-tertiary);
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 32px;
  }
  .zolea-footer {
    padding: 44px 0 calc(36px + env(safe-area-inset-bottom, 0px));
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

/* Social Media Follow Buttons */
.footer-social-wrap {
  margin-top: 20px;
}

.social-follow-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.social-follow-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: all var(--transition-fast);
  cursor: pointer;
  border: 1px solid var(--color-border-medium);
  background: #ffffff;
  color: #0a0a0c;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.social-follow-btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.social-follow-btn .social-handle {
  font-size: 0.74rem;
  font-weight: 500;
  opacity: 0.65;
}

.social-follow-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.09);
}

.social-follow-btn:hover svg {
  transform: scale(1.1);
}

/* Instagram button styling */
.social-follow-btn.instagram-btn {
  border-color: rgba(225, 48, 108, 0.22);
}

.social-follow-btn.instagram-btn svg {
  fill: #e1306c;
}

.social-follow-btn.instagram-btn:hover {
  background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
  border-color: transparent;
  color: #ffffff;
}

.social-follow-btn.instagram-btn:hover svg {
  fill: #ffffff;
}

.social-follow-btn.instagram-btn:hover .social-handle {
  color: rgba(255, 255, 255, 0.9);
  opacity: 1;
}

/* Facebook button styling */
.social-follow-btn.facebook-btn {
  border-color: rgba(24, 119, 242, 0.22);
}

.social-follow-btn.facebook-btn svg {
  fill: #1877f2;
}

.social-follow-btn.facebook-btn:hover {
  background: #1877f2;
  border-color: transparent;
  color: #ffffff;
}

.social-follow-btn.facebook-btn:hover svg {
  fill: #ffffff;
}

.social-follow-btn.facebook-btn:hover .social-handle {
  color: rgba(255, 255, 255, 0.9);
  opacity: 1;
}
