/* ═══════════════════════════════════════════════════════════════════
   ZAYLORE STUDIO — COMPLETE E-COMMERCE PRODUCTS & SHOPPING EXPERIENCE
   Strict Design System:
     Allowed Text Colours: #000000 (Black), #FFFFFF (White), #D41920 (Signature Red)
     Surfaces & Backgrounds: #F7F5F0 (Cream), #FFFFFF (White), #E9E5DC (Warm Stone), #E5E5E5 (Light Silver)
     Accents & Borders: #D41920 (Red), #E5E5E5 (Silver), #000000 (Black)
   ═══════════════════════════════════════════════════════════════════ */

:root {
  --zs-bg-cream: #F7F5F0;
  --zs-surface-white: #FFFFFF;
  --zs-surface-stone: #E9E5DC;
  --zs-border-silver: #E5E5E5;
  --zs-border-dark: #000000;
  --zs-text-black: #000000;
  --zs-text-white: #FFFFFF;
  --zs-red: #D41920;
  --zs-red-glow: rgba(212, 25, 32, 0.16);
  --zs-font-display: var(--ff-display, 'DaunPenh', 'Anton', sans-serif);
  --zs-font-editorial: var(--ff-editorial, 'Cormorant Garamond', Georgia, serif);
  --zs-font-ui: var(--ff-ui, 'Space Grotesk', sans-serif);
  --zs-font-body: var(--ff-body, 'Inter', sans-serif);
}

/* ── Base Shop Layout ── */
.shop-catalog-section {
  background-color: var(--zs-bg-cream);
  color: var(--zs-text-black);
  padding: 40px 0 80px;
  min-height: 100vh;
  position: relative;
  z-index: 2;
}

.shop-catalog-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 4%;
}

/* ── Collection Header ── */
.collection-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 40px;
  padding-top: 10px;
}

.collection-eyebrow {
  font-family: var(--zs-font-ui);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 5px;
  color: var(--zs-red);
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 12px;
}

.collection-title {
  font-family: var(--zs-font-display);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.05;
  color: var(--zs-text-black);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.collection-intro {
  font-family: var(--zs-font-editorial);
  font-style: italic;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.65;
  color: var(--zs-text-black);
  margin: 0 auto;
}

/* ── Navigation Header Cart Button ── */
.nav-cart-btn {
  background: transparent;
  border: none;
  color: var(--zs-text-black);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  padding: 8px;
  transition: transform 0.2s ease, color 0.2s ease;
  line-height: 1;
}

.nav-cart-btn:hover {
  color: var(--zs-red);
  transform: scale(1.06);
}

.nav-cart-btn svg {
  width: 22px;
  height: 22px;
}

.nav-cart-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--zs-red);
  color: var(--zs-text-white);
  font-family: var(--zs-font-ui);
  font-size: 0.65rem;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  border: 2px solid var(--zs-surface-white);
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-cart-badge.bump {
  transform: scale(1.35);
}

/* ── Shop Toolbar & Controls ── */
.shop-toolbar {
  background: var(--zs-surface-white);
  border: 1px solid var(--zs-border-silver);
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 32px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

.shop-toolbar-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
}

.shop-search-wrap {
  position: relative;
  min-width: 0;
  flex: 1;
}

.shop-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--zs-text-black);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shop-search-input {
  width: 100%;
  height: 48px;
  padding: 0 44px 0 46px;
  background: #FAF9F6;
  border: 1px solid var(--zs-border-silver);
  border-radius: 10px;
  font-family: var(--zs-font-body);
  font-size: 0.92rem;
  color: var(--zs-text-black);
  outline: none;
  transition: all 0.25s ease;
}

.shop-search-input:focus {
  border-color: var(--zs-red);
  background: var(--zs-surface-white);
  box-shadow: 0 0 0 3px var(--zs-red-glow);
}

.shop-search-clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--zs-text-black);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 4px;
  display: none;
  line-height: 1;
}

.shop-search-clear.active {
  display: block;
}

.shop-filter-btn {
  height: 48px;
  padding: 0 20px;
  background: #FAF9F6;
  border: 1px solid var(--zs-border-silver);
  border-radius: 10px;
  color: var(--zs-text-black);
  font-family: var(--zs-font-ui);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.shop-filter-btn:hover {
  border-color: var(--zs-text-black);
  background: var(--zs-surface-white);
}

.shop-filter-btn.has-filters {
  background: var(--zs-text-black);
  color: var(--zs-text-white);
  border-color: var(--zs-text-black);
}

.shop-filter-badge {
  background: var(--zs-red);
  color: var(--zs-text-white);
  border-radius: 999px;
  padding: 1px 7px;
  font-size: 0.68rem;
  font-weight: 800;
}

.shop-sort-wrap {
  position: relative;
  min-width: 190px;
}

.shop-sort-select {
  width: 100%;
  height: 48px;
  padding: 0 36px 0 16px;
  background: #FAF9F6;
  border: 1px solid var(--zs-border-silver);
  border-radius: 10px;
  font-family: var(--zs-font-ui);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--zs-text-black);
  cursor: pointer;
  outline: none;
  appearance: none;
  transition: all 0.25s ease;
}

.shop-sort-select:focus {
  border-color: var(--zs-red);
  box-shadow: 0 0 0 3px var(--zs-red-glow);
}

.shop-sort-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  width: 12px;
  height: 12px;
  color: var(--zs-text-black);
}

/* ── Category Chips Carousel / Row ── */
.shop-category-bar {
  display: flex;
  gap: 8px;
  align-items: center;
  overflow-x: auto;
  padding: 16px 2px 4px;
  margin-top: 14px;
  border-top: 1px solid var(--zs-border-silver);
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.shop-category-bar::-webkit-scrollbar {
  height: 4px;
}

.shop-category-bar::-webkit-scrollbar-thumb {
  background: var(--zs-border-silver);
  border-radius: 4px;
}

.shop-cat-chip {
  flex: 0 0 auto;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--zs-border-silver);
  background: var(--zs-surface-stone);
  color: var(--zs-text-black);
  font-family: var(--zs-font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s cubic-bezier(0.2, 0, 0, 1);
  white-space: nowrap;
}

.shop-cat-chip:hover {
  background: var(--zs-surface-white);
  border-color: var(--zs-text-black);
  color: var(--zs-red);
}

.shop-cat-chip.active {
  background: var(--zs-text-black);
  color: var(--zs-text-white);
  border-color: var(--zs-text-black);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.shop-cat-chip .chip-count {
  font-size: 0.65rem;
  opacity: 0.7;
}

.shop-cat-chip.upcoming {
  border-style: dashed;
  opacity: 0.85;
}

.shop-cat-chip.upcoming .chip-badge {
  background: var(--zs-red);
  color: var(--zs-text-white);
  font-size: 0.6rem;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 4px;
}

/* ── Active Filters & Status Bar ── */
.shop-meta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--zs-border-silver);
}

.shop-results-count {
  font-family: var(--zs-font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--zs-text-black);
  letter-spacing: 0.5px;
}

.shop-results-count strong {
  color: var(--zs-text-black);
  font-weight: 800;
}

.shop-active-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.shop-filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FAF9F6;
  border: 1px solid var(--zs-border-silver);
  border-radius: 6px;
  padding: 4px 10px;
  font-family: var(--zs-font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--zs-text-black);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.shop-tag-remove {
  background: none;
  border: none;
  color: var(--zs-red);
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.shop-clear-all-btn {
  background: none;
  border: none;
  font-family: var(--zs-font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--zs-red);
  cursor: pointer;
  padding: 4px 8px;
  transition: opacity 0.2s;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.shop-clear-all-btn:hover {
  opacity: 0.8;
}

/* ── Product Grid System (Responsive 4 -> 3/2 -> 2 -> 1) ── */
.products-catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 22px;
  margin-bottom: 50px;
  position: relative;
  min-height: 240px;
}

@media (max-width: 1200px) {
  .products-catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px 18px;
  }
}

@media (max-width: 860px) {
  .products-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 14px;
  }
}

@media (max-width: 380px) {
  .products-catalog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ── Product Card Structure ── */
.product-card {
  background: var(--zs-surface-white);
  border: 1px solid var(--zs-border-silver);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.35s cubic-bezier(0.2, 0, 0, 1), border-color 0.25s ease;
  position: relative;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--zs-text-black);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.09);
}

.product-card:focus-within {
  outline: 2px solid var(--zs-red);
  outline-offset: 3px;
}

/* ── Media Wrap & Image Transition ── */
.product-media-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  background-color: var(--zs-surface-stone);
  overflow: hidden;
  border-bottom: 1px solid var(--zs-border-silver);
}

.product-media-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  text-decoration: none;
}

.product-img-primary,
.product-img-secondary {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s cubic-bezier(0.2, 0, 0, 1), transform 0.6s cubic-bezier(0.2, 0, 0, 1);
  will-change: transform, opacity;
}

.product-img-primary {
  opacity: 1;
  z-index: 1;
}

.product-img-secondary {
  opacity: 0;
  z-index: 2;
}

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

.product-card:hover .product-img-primary,
.product-card:hover .product-img-secondary {
  transform: scale(1.04);
}

/* Badges */
.product-badge-wrap {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 4;
  pointer-events: none;
}

.product-badge {
  font-family: var(--zs-font-ui);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 4px;
  line-height: 1;
}

.badge-bestseller {
  background: var(--zs-text-black);
  color: var(--zs-text-white);
}

.badge-new {
  background: var(--zs-red);
  color: var(--zs-text-white);
}

.badge-limited {
  background: var(--zs-text-black);
  color: var(--zs-text-white);
  border: 1px solid var(--zs-red);
}

.badge-out-of-stock {
  background: #343434;
  color: var(--zs-text-white);
}

/* Wishlist Button */
.product-wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--zs-border-silver);
  color: var(--zs-text-black);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.product-wishlist-btn:hover {
  transform: scale(1.12);
  border-color: var(--zs-red);
  color: var(--zs-red);
}

.product-wishlist-btn.active {
  color: var(--zs-red);
  background: var(--zs-surface-white);
  border-color: var(--zs-red);
}

.product-wishlist-btn.active svg {
  fill: var(--zs-red);
  stroke: var(--zs-red);
}

.product-wishlist-btn svg {
  width: 17px;
  height: 17px;
  transition: transform 0.2s;
}

/* Quick View Overlay Button on Card */
.product-quick-view-overlay {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  opacity: 0;
  visibility: hidden;
  z-index: 4;
  transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
  width: calc(100% - 24px);
  max-width: 220px;
}

.product-card:hover .product-quick-view-overlay {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.btn-quick-view {
  width: 100%;
  height: 40px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border: 1px solid var(--zs-border-silver);
  border-radius: 8px;
  font-family: var(--zs-font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--zs-text-black);
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  transition: all 0.2s ease;
}

.btn-quick-view:hover {
  background: var(--zs-text-black);
  color: var(--zs-text-white);
  border-color: var(--zs-text-black);
}

/* ── Product Info Wrap ── */
.product-info-wrap {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  background: var(--zs-surface-white);
}

.product-card-category {
  font-family: var(--zs-font-ui);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--zs-red);
  margin-bottom: 6px;
}

.product-card-title {
  font-family: var(--zs-font-ui);
  font-size: 1rem;
  font-weight: 700;
  color: var(--zs-text-black);
  margin: 0 0 10px;
  line-height: 1.3;
  cursor: pointer;
  transition: color 0.2s ease;
}

.product-card-title:hover {
  color: var(--zs-red);
}

.product-card-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 14px;
}

.product-card-price {
  font-family: var(--zs-font-body);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--zs-text-black);
}

.product-card-original-price {
  font-family: var(--zs-font-body);
  font-size: 0.85rem;
  color: var(--zs-text-black);
  text-decoration: line-through;
  opacity: 0.55;
}

.product-card-discount-tag {
  font-family: var(--zs-font-ui);
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--zs-red);
  letter-spacing: 0.5px;
}

/* Size Chips on Card */
.product-sizes-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.size-pill {
  min-width: 32px;
  height: 28px;
  padding: 0 6px;
  border: 1px solid var(--zs-border-silver);
  border-radius: 6px;
  background: #FAF9F6;
  font-family: var(--zs-font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--zs-text-black);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.size-pill:hover {
  border-color: var(--zs-text-black);
  background: var(--zs-surface-white);
}

.size-pill.selected {
  border-color: var(--zs-text-black);
  background: var(--zs-text-black);
  color: var(--zs-text-white);
}

/* Card Action Buttons */
.product-card-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.btn-card-add {
  flex: 1;
  height: 44px;
  background: var(--zs-text-black);
  border: 1px solid var(--zs-text-black);
  border-radius: 8px;
  font-family: var(--zs-font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--zs-text-white);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.25s ease;
}

.btn-card-add:hover {
  background: var(--zs-red);
  border-color: var(--zs-red);
  box-shadow: 0 6px 18px var(--zs-red-glow);
}

.btn-card-add:disabled {
  background: var(--zs-surface-stone);
  border-color: var(--zs-border-silver);
  color: var(--zs-text-black);
  cursor: not-allowed;
  opacity: 0.6;
}

.btn-card-add.added-success {
  background: #000000;
  border-color: #000000;
  color: #FFFFFF;
}

/* ── Empty State ── */
.shop-empty-state {
  grid-column: 1 / -1;
  padding: 80px 24px;
  text-align: center;
  background: var(--zs-surface-white);
  border: 1px dashed var(--zs-border-silver);
  border-radius: 16px;
}

.shop-empty-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  color: var(--zs-red);
}

.shop-empty-title {
  font-family: var(--zs-font-display);
  font-size: 2rem;
  color: var(--zs-text-black);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.shop-empty-desc {
  font-family: var(--zs-font-body);
  font-size: 0.95rem;
  color: var(--zs-text-black);
  max-width: 460px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

.shop-empty-btn {
  height: 46px;
  padding: 0 28px;
  background: var(--zs-text-black);
  border: 1px solid var(--zs-text-black);
  border-radius: 8px;
  font-family: var(--zs-font-ui);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--zs-text-white);
  cursor: pointer;
  transition: all 0.2s ease;
}

.shop-empty-btn:hover {
  background: var(--zs-red);
  border-color: var(--zs-red);
}

/* ── Loading Skeletons ── */
.product-card-skeleton {
  background: var(--zs-surface-white);
  border: 1px solid var(--zs-border-silver);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.skeleton-media {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: linear-gradient(90deg, #E9E5DC 25%, #FAF9F6 50%, #E9E5DC 75%);
  background-size: 200% 100%;
  animation: skeletonPulse 1.5s infinite;
}

.skeleton-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.skeleton-line {
  height: 14px;
  border-radius: 4px;
  background: linear-gradient(90deg, #E9E5DC 25%, #FAF9F6 50%, #E9E5DC 75%);
  background-size: 200% 100%;
  animation: skeletonPulse 1.5s infinite;
}

.skeleton-line.w-40 { width: 40%; }
.skeleton-line.w-70 { width: 70%; }
.skeleton-line.w-50 { width: 50%; }
.skeleton-line.btn { height: 42px; border-radius: 8px; margin-top: 8px; }

@keyframes skeletonPulse {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Pagination / Load More ── */
.catalog-pagination-wrap {
  text-align: center;
  margin-top: 40px;
}

.btn-load-more {
  height: 52px;
  padding: 0 44px;
  background: var(--zs-surface-white);
  border: 1px solid var(--zs-border-dark);
  border-radius: 8px;
  font-family: var(--zs-font-ui);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--zs-text-black);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.btn-load-more:hover {
  background: var(--zs-text-black);
  color: var(--zs-text-white);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.pagination-status-text {
  font-family: var(--zs-font-body);
  font-size: 0.85rem;
  color: var(--zs-text-black);
  margin-top: 14px;
}

/* ═══════════════════════════════════════════════════════════════════
   CART SLIDE-OUT DRAWER
   ═══════════════════════════════════════════════════════════════════ */
.zs-cart-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(36, 36, 36, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1200000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.zs-cart-drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.zs-cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(440px, 94vw);
  height: 100%;
  background: var(--zs-surface-white);
  border-left: 1px solid var(--zs-border-silver);
  box-shadow: -15px 0 50px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.2, 0, 0, 1);
  z-index: 1200001;
}

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

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

.zs-cart-title {
  font-family: var(--zs-font-display);
  font-size: 1.4rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--zs-text-black);
  margin: 0;
}

.zs-cart-close-btn {
  background: none;
  border: none;
  color: var(--zs-text-black);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: color 0.2s;
}

.zs-cart-close-btn:hover {
  color: var(--zs-red);
}

/* Shipping Meter in Cart */
.zs-shipping-meter {
  padding: 14px 24px;
  background: #FAF9F6;
  border-bottom: 1px solid var(--zs-border-silver);
}

.zs-shipping-meter-text {
  font-family: var(--zs-font-ui);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--zs-text-black);
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.zs-shipping-meter-text strong {
  color: var(--zs-red);
}

.zs-shipping-progress-bg {
  width: 100%;
  height: 6px;
  background: var(--zs-border-silver);
  border-radius: 999px;
  overflow: hidden;
}

.zs-shipping-progress-fill {
  height: 100%;
  background: var(--zs-red);
  border-radius: 999px;
  transition: width 0.4s ease;
}

/* Cart Items Body */
.zs-cart-items-wrap {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.zs-cart-item {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--zs-border-silver);
}

.zs-cart-item-img {
  width: 74px;
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--zs-surface-stone);
  border: 1px solid var(--zs-border-silver);
}

.zs-cart-item-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.zs-cart-item-title {
  font-family: var(--zs-font-ui);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--zs-text-black);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.zs-cart-item-size {
  font-family: var(--zs-font-ui);
  font-size: 0.72rem;
  color: var(--zs-text-black);
  font-weight: 600;
}

.zs-cart-item-size strong {
  color: var(--zs-text-black);
}

.zs-cart-qty-ctrl {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--zs-border-silver);
  border-radius: 6px;
  background: #FAF9F6;
  width: fit-content;
  margin-top: 6px;
}

.zs-cart-qty-btn {
  background: none;
  border: none;
  width: 26px;
  height: 26px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--zs-text-black);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.zs-cart-qty-btn:hover {
  background: var(--zs-border-silver);
}

.zs-cart-qty-val {
  font-family: var(--zs-font-ui);
  font-size: 0.78rem;
  font-weight: 800;
  min-width: 26px;
  text-align: center;
  color: var(--zs-text-black);
}

.zs-cart-item-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  height: 100%;
}

.zs-cart-item-price {
  font-family: var(--zs-font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--zs-text-black);
}

.zs-cart-item-remove {
  background: none;
  border: none;
  color: var(--zs-red);
  cursor: pointer;
  padding: 4px;
  font-size: 0.8rem;
  font-family: var(--zs-font-ui);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: opacity 0.2s;
}

.zs-cart-item-remove:hover {
  opacity: 0.7;
}

/* Cart Footer */
.zs-cart-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--zs-border-silver);
  background: #FAF9F6;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.zs-cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.zs-cart-subtotal-label {
  font-family: var(--zs-font-ui);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--zs-text-black);
}

.zs-cart-subtotal-val {
  font-family: var(--zs-font-body);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--zs-text-black);
}

.zs-cart-shipping-note {
  font-family: var(--zs-font-body);
  font-size: 0.75rem;
  color: var(--zs-text-black);
  margin: 0;
  text-align: center;
}

.zs-cart-checkout-btn {
  width: 100%;
  height: 52px;
  background: var(--zs-red);
  color: var(--zs-text-white);
  border: 1px solid var(--zs-red);
  border-radius: 8px;
  font-family: var(--zs-font-ui);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s ease;
  box-shadow: 0 8px 24px var(--zs-red-glow);
}

.zs-cart-checkout-btn:hover {
  background: #b51218;
  border-color: #b51218;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px var(--zs-red-glow);
}

.zs-cart-continue-btn {
  background: none;
  border: none;
  font-family: var(--zs-font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--zs-text-black);
  cursor: pointer;
  text-align: center;
  padding: 6px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Empty Cart View in Drawer */
.zs-cart-empty {
  text-align: center;
  padding: 60px 20px;
  margin: auto;
}

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

.zs-cart-empty-title {
  font-family: var(--zs-font-display);
  font-size: 1.5rem;
  letter-spacing: 2px;
  color: var(--zs-text-black);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.zs-cart-empty-desc {
  font-family: var(--zs-font-body);
  font-size: 0.88rem;
  color: var(--zs-text-black);
  margin-bottom: 24px;
}

/* ═══════════════════════════════════════════════════════════════════
   QUICK VIEW / PRODUCT DETAIL MODAL
   ═══════════════════════════════════════════════════════════════════ */
.zs-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(36, 36, 36, 0.68);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 1250000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  padding: 20px;
}

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

.zs-quick-view-card {
  background: var(--zs-surface-white);
  border: 1px solid var(--zs-border-silver);
  border-radius: 16px;
  width: min(960px, 96vw);
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2);
  transform: scale(0.96) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.2, 0, 0, 1);
}

.zs-modal-backdrop.active .zs-quick-view-card {
  transform: scale(1) translateY(0);
}

.zs-quick-view-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--zs-border-silver);
  color: var(--zs-text-black);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  font-size: 1.4rem;
  line-height: 1;
  transition: all 0.2s ease;
}

.zs-quick-view-close:hover {
  background: var(--zs-text-black);
  color: var(--zs-text-white);
  border-color: var(--zs-text-black);
}

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

@media (max-width: 820px) {
  .zs-quick-view-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 20px;
  }
}

/* Quick View Gallery */
.zs-qv-gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.zs-qv-main-media {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: var(--zs-surface-stone);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--zs-border-silver);
  position: relative;
}

.zs-qv-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.zs-qv-thumbs-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.zs-qv-thumb-btn {
  aspect-ratio: 1;
  border-radius: 8px;
  border: 1px solid var(--zs-border-silver);
  background: var(--zs-surface-stone);
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.2s ease;
}

.zs-qv-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.zs-qv-thumb-btn:hover {
  border-color: var(--zs-text-black);
}

.zs-qv-thumb-btn.active {
  border-color: var(--zs-red);
  box-shadow: 0 0 0 2px var(--zs-red);
}

/* Quick View Info */
.zs-qv-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.zs-qv-eyebrow {
  font-family: var(--zs-font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--zs-red);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.zs-qv-title {
  font-family: var(--zs-font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  line-height: 1.1;
  color: var(--zs-text-black);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.zs-qv-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 18px;
}

.zs-qv-price {
  font-family: var(--zs-font-body);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--zs-text-black);
}

.zs-qv-original-price {
  font-family: var(--zs-font-body);
  font-size: 1.05rem;
  color: var(--zs-text-black);
  text-decoration: line-through;
  opacity: 0.55;
}

.zs-qv-discount-tag {
  font-family: var(--zs-font-ui);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--zs-red);
  background: var(--zs-surface-stone);
  padding: 3px 8px;
  border-radius: 4px;
}

.zs-qv-desc {
  font-family: var(--zs-font-body);
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--zs-text-black);
  margin-bottom: 20px;
}

.zs-qv-spec-box {
  background: #FAF9F6;
  border: 1px solid var(--zs-border-silver);
  border-radius: 8px;
  padding: 12px 16px;
  font-family: var(--zs-font-body);
  font-size: 0.82rem;
  color: var(--zs-text-black);
  line-height: 1.6;
  margin-bottom: 22px;
}

/* Size Section */
.zs-qv-size-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.zs-qv-size-label {
  font-family: var(--zs-font-ui);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--zs-text-black);
}

.zs-qv-size-guide-link {
  background: none;
  border: none;
  font-family: var(--zs-font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--zs-red);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0;
}

.zs-qv-sizes-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.zs-qv-size-btn {
  min-width: 48px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--zs-border-silver);
  border-radius: 8px;
  background: #FAF9F6;
  font-family: var(--zs-font-ui);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--zs-text-black);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.zs-qv-size-btn:hover {
  border-color: var(--zs-text-black);
  background: var(--zs-surface-white);
}

.zs-qv-size-btn.active {
  background: var(--zs-text-black);
  color: var(--zs-text-white);
  border-color: var(--zs-text-black);
}

/* Quantity & CTA buttons */
.zs-qv-actions-row {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.zs-qv-qty-ctrl {
  display: flex;
  align-items: center;
  border: 1px solid var(--zs-border-silver);
  border-radius: 8px;
  background: #FAF9F6;
  height: 50px;
}

.zs-qv-qty-btn {
  background: none;
  border: none;
  width: 38px;
  height: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--zs-text-black);
  cursor: pointer;
}

.zs-qv-qty-val {
  font-family: var(--zs-font-ui);
  font-size: 0.95rem;
  font-weight: 800;
  min-width: 32px;
  text-align: center;
  color: var(--zs-text-black);
}

.zs-qv-add-btn {
  flex: 1;
  height: 50px;
  background: var(--zs-red);
  color: var(--zs-text-white);
  border: 1px solid var(--zs-red);
  border-radius: 8px;
  font-family: var(--zs-font-ui);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 8px 20px var(--zs-red-glow);
}

.zs-qv-add-btn:hover {
  background: #b51218;
  border-color: #b51218;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px var(--zs-red-glow);
}

.zs-qv-add-btn:disabled {
  background: var(--zs-surface-stone);
  border-color: var(--zs-border-silver);
  color: var(--zs-text-black);
  cursor: not-allowed;
  opacity: 0.6;
}

.zs-qv-buy-btn {
  width: 100%;
  height: 48px;
  background: var(--zs-text-black);
  color: var(--zs-text-white);
  border: 1px solid var(--zs-text-black);
  border-radius: 8px;
  font-family: var(--zs-font-ui);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-bottom: 20px;
}

.zs-qv-buy-btn:hover {
  background: #242424;
  border-color: #242424;
}

/* Shipping & Return Accordions */
.zs-qv-perks-box {
  border-top: 1px solid var(--zs-border-silver);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.zs-perk-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--zs-font-body);
  font-size: 0.82rem;
  color: var(--zs-text-black);
}

.zs-perk-item svg {
  width: 16px;
  height: 16px;
  color: var(--zs-red);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════════
   SIZE GUIDE MODAL
   ═══════════════════════════════════════════════════════════════════ */
.zs-size-guide-card {
  background: var(--zs-surface-white);
  border: 1px solid var(--zs-border-silver);
  border-radius: 16px;
  width: min(680px, 95vw);
  max-height: 85vh;
  overflow-y: auto;
  padding: 36px 30px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

.zs-size-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-family: var(--zs-font-body);
  font-size: 0.86rem;
  color: var(--zs-text-black);
}

.zs-size-table th {
  background: #FAF9F6;
  border: 1px solid var(--zs-border-silver);
  padding: 12px 14px;
  font-family: var(--zs-font-ui);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--zs-text-black);
  text-align: center;
}

.zs-size-table td {
  border: 1px solid var(--zs-border-silver);
  padding: 12px 14px;
  text-align: center;
  color: var(--zs-text-black);
}

.zs-size-table tr:nth-child(even) td {
  background: #FAF9F6;
}

.zs-size-note {
  font-family: var(--zs-font-body);
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--zs-text-black);
  margin-top: 14px;
  border-left: 3px solid var(--zs-red);
  padding-left: 12px;
}

/* ═══════════════════════════════════════════════════════════════════
   MOBILE FILTER DRAWER
   ═══════════════════════════════════════════════════════════════════ */
.zs-filter-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(36, 36, 36, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1200000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.zs-filter-drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.zs-filter-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: min(380px, 90vw);
  height: 100%;
  background: var(--zs-surface-white);
  border-right: 1px solid var(--zs-border-silver);
  box-shadow: 15px 0 50px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.2, 0, 0, 1);
  z-index: 1200001;
}

.zs-filter-drawer-backdrop.active .zs-filter-drawer {
  transform: translateX(0);
}

.zs-filter-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--zs-border-silver);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.zs-filter-title {
  font-family: var(--zs-font-display);
  font-size: 1.3rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--zs-text-black);
  margin: 0;
}

.zs-filter-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.zs-filter-group-title {
  font-family: var(--zs-font-ui);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--zs-text-black);
  margin-bottom: 12px;
}

.zs-filter-options-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.zs-filter-check-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--zs-font-body);
  font-size: 0.88rem;
  color: var(--zs-text-black);
  cursor: pointer;
}

.zs-filter-check-label input[type="checkbox"],
.zs-filter-check-label input[type="radio"] {
  accent-color: var(--zs-red);
  width: 17px;
  height: 17px;
  cursor: pointer;
}

.zs-price-inputs-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.zs-price-input {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--zs-border-silver);
  border-radius: 8px;
  background: #FAF9F6;
  font-family: var(--zs-font-body);
  font-size: 0.85rem;
  color: var(--zs-text-black);
  outline: none;
}

.zs-price-input:focus {
  border-color: var(--zs-red);
}

.zs-filter-footer {
  padding: 18px 24px;
  border-top: 1px solid var(--zs-border-silver);
  display: flex;
  gap: 12px;
  background: #FAF9F6;
}

.zs-filter-apply-btn {
  flex: 1;
  height: 46px;
  background: var(--zs-red);
  border: 1px solid var(--zs-red);
  border-radius: 8px;
  font-family: var(--zs-font-ui);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--zs-text-white);
  cursor: pointer;
}

.zs-filter-reset-btn {
  height: 46px;
  padding: 0 16px;
  background: var(--zs-surface-white);
  border: 1px solid var(--zs-border-silver);
  border-radius: 8px;
  font-family: var(--zs-font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--zs-text-black);
  cursor: pointer;
}

/* ── Mobile Layout Adjustments ── */
@media (max-width: 760px) {
  .shop-catalog-section {
    padding: 20px 0 60px;
  }
  .collection-header {
    margin-bottom: 24px;
  }
  .shop-toolbar {
    padding: 14px;
    border-radius: 12px;
    margin-bottom: 22px;
  }
  .shop-toolbar-top {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }
  .shop-sort-wrap {
    grid-column: 1 / -1;
    min-width: 0;
  }
  .product-info-wrap {
    padding: 12px 14px 14px;
  }
  .product-card-title {
    font-size: 0.88rem;
    margin-bottom: 6px;
  }
  .product-card-price {
    font-size: 0.95rem;
  }
  .product-sizes-selector {
    display: none; /* Keep card clean on mobile; select size in Quick View / Add */
  }
  .product-quick-view-overlay {
    display: none; /* Use direct card tap on mobile */
  }
  .btn-card-add {
    height: 38px;
    font-size: 0.65rem;
    letter-spacing: 1px;
  }
}
