/* ================================================================
   VAPE ZONE — UNIFIED SITE STYLESHEET
   v1 (2026-10-22)
   Base: homepage dark theme + gold accents
   Replaces: products.css, products-full.css, product-detail.css
   ================================================================ */

/* ---------- VARIABLES ---------- */
:root {
  --bg-dark:        #0b0b0b;
  --bg-card:        #1a1a1a;
  --bg-elevated:    #242424;
  --text-light:     #f5f5f5;
  --text-muted:     #b0b0b0;
  --color-gold:     #F5C842;
  --color-gold-h:   #FFD95E;
  --color-sale:     #FF5722;
  --color-new:      #00c853;
  --color-out:      #f44336;
  --border-subtle:  rgba(255,255,255,0.06);
  --border-hover:   rgba(255,255,255,0.15);
  --border-gold:    rgba(245,200,66,0.25);
  --shadow-heavy:   0 30px 60px -12px rgba(0,0,0,0.9);
  --shadow-card:    0 8px 20px rgba(0,0,0,0.3);
  --shadow-gold:    0 8px 24px rgba(245,200,66,0.25);
  --radius-card:    20px;
  --radius-md:      10px;
  --radius-sm:      8px;
  --radius-xs:      4px;
  --t:              all 0.25s ease;
}

.container {
  max-width: 1580px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ================================================================
   PER-CATEGORY / PER-BRAND BODY BACKGROUND
   ================================================================ */

body.category-page-body,
body.brand-page-body,
body.product-page-body {
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    min-height: 100vh;
}

.category-page,
.brand-page,
.product-page {
    position: relative;
    padding: 20px 0 60px;
    min-height: 60vh;
    background-color: transparent;
    backdrop-filter: brightness(0.4);
    -webkit-backdrop-filter: brightness(0.1);
}

/* Fallback for browsers without backdrop-filter */
@supports not (backdrop-filter: brightness(0.1)) {
    .category-page,
    .brand-page,
    .product-page {
        background-color: rgba(0, 0, 0, 0.92);
    }
}

/* ================================================================
   PRODUCT CARD — works with BOTH naming conventions
   (homepage: .product-image/.product-name; templates: .product-card__*)
   ================================================================ */
.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 16px 16px 20px;
  border: 1px solid var(--border-subtle);
  transition: var(--t);
  cursor: pointer;
  text-align: center;
  box-shadow: var(--shadow-card);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: 0 2px 7px rgba(255,255,255,0.53);
}

/* Media */
.product-card .product-image,
.product-card .product-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-decoration: none;
}
.product-card .product-image img,
.product-card .product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  transition: transform 0.3s ease;
  border-radius: 20px !important;
}
.product-card:hover .product-image img,
.product-card:hover .product-card__media img {
  transform: scale(1.05);
}
.product-card .product-placeholder,
.product-card .product-card__placeholder {
  font-size: 3.5rem;
  color: #444;
}

/* Body */
.product-card .product-info,
.product-card .product-card__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  padding: 0;
}

/* Brand */
.product-card .product-card__brand {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-gold);
  text-decoration: none;
}
.product-card .product-card__brand:hover { color: var(--color-gold-h); }

/* Title */
.product-card .product-name,
.product-card .product-card__title {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
  color: var(--text-light);
  min-height: 2.6em;
}
.product-card .product-name a,
.product-card .product-card__title a {
  color: inherit;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card .product-name a:hover,
.product-card .product-card__title a:hover { color: var(--color-gold); }

/* Price */
.product-card .product-price,
.product-card .product-card__price {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 10px;
  margin-top: auto;
  padding-top: 10px;
  flex-wrap: wrap;
}
.product-card .current-price,
.product-card .price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-light);
}
.product-card .price-compare,
.product-card .compare,
.product-card .compare-price {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: line-through;
}
.product-card .product-card__price .from {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 500;
}

/* Badges */
.product-card .badge,
.product-card .badge-new,
.product-card .badge-sale,
.product-card .badge--new,
.product-card .badge--out {
  position: absolute;
  top: 10px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 40px;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(2px);
  z-index: 2;
}
.product-card .badge-new,
.product-card .badge--new { left: 10px; color: #fff; }
.product-card .badge-sale { right: 10px; background: var(--color-sale); color: var(--bg-card); }
.product-card .badge--out { right: 10px; background: var(--color-out); color: #fff; }

/* View More (homepage cards) */
.product-card .btn-view-more {
  margin-top: 12px;
  padding: 16px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--t);
  width: 100%;
  font-family: inherit;
}
.product-card .btn-view-more:hover {
    background: var(--white);
    transform: translateY(-1px);
    color: var(--primary);
}

/* ================================================================
   PRODUCTS GRID
   .products-grid → homepage density (bigger cards)
   .product-grid  → catalog density (smaller, more per row)
   ================================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin: 24px 0;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin: 20px 0 40px;
}
@media (max-width: 680px) {
  .products-grid,
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (max-width: 420px) {
  .products-grid,
  .product-grid { grid-template-columns: 1fr; max-width: 280px; margin-left: auto; margin-right: auto; }
}

/* ================================================================
   HOMEPAGE SECTION WRAPPER
   ================================================================ */
#homepage-dynamic-sections {
  max-width: 1580px;
  margin: 20px auto 0;
  display: flex;
  flex-direction: column;
  gap: 60px;
}
.section-wrapper {
  background: radial-gradient(circle at center, #09ff579c, #5b0140eb, #000000);
  border-radius: 32px;
  padding: 36px 32px 32px;
  box-shadow: var(--shadow-heavy);
}
.section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.section-header__icon {
  font-size: 1.4rem;
  color: var(--color-gold);
}
.section-header__title {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 auto;
  letter-spacing: -0.02em;
  text-align: center;
  color: #ffffff;
}
.section-header__count {
  font-size: 0.85rem;
  color: var(--text-muted);
  background: rgba(255,255,255,0.05);
  padding: 4px 16px;
  border-radius: 40px;
  border: 1px solid var(--border-subtle);
}
.section-footer { text-align: center; margin-top: 8px; }
.section-footer .btn-outline {
  display: inline-block;
  padding: 12px 40px;
  border-radius: 60px;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  border: 2px solid var(--accent);
  color: var(--text-light);
  background: transparent;
  transition: var(--t);
}
.section-footer .btn-outline:hover {
  background: var(--primary);
  border-color: var(--white);
}

/* Category / Brand grids (homepage bottom) */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px;
}
.grid-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 24px 16px;
  text-align: center;
  text-decoration: none;
  color: var(--text-light);
  border: 1px solid var(--border-subtle);
  transition: var(--t);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.grid-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}
.grid-card__icon { font-size: 2rem; color: var(--color-gold); }
.grid-card__name { font-weight: 600; font-size: 1rem; }
.grid-card__count { font-size: 0.8rem; color: var(--text-muted); }
.grid-card__arrow { font-size: 1.2rem; color: var(--text-muted); margin-top: 4px; }
.brand-logo { max-height: 50px; max-width: 100%; object-fit: contain; filter: brightness(0.9); }

/* Loading / empty */
.loading-state, .empty-state {
  text-align: center; padding: 60px 20px; color: var(--text-muted);
}
.loading-spinner {
  width: 40px; height: 40px;
  border: 4px solid var(--border-subtle);
  border-top-color: var(--color-gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 16px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.empty-state.error { color: var(--color-out); }

/* ================================================================
   CATEGORY / BRAND PAGE
   ================================================================ */
.category-page, .brand-page { padding: 20px 0 60px; min-height: 60vh; }

/* Breadcrumb */
.breadcrumb {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  font-size: 0.85rem; color: var(--white);
  margin: 16px 0 20px; padding: 8px 0;
}
.breadcrumb a { color: var(--white); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--color-gold); }

/* Page header */
.page-head { margin: 20px 0 28px; text-align: center; }
.page-head h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--text-light);
  letter-spacing: -0.02em;
}
.page-head .muted { color: var(--text-muted); font-size: 0.95rem; margin: 4px 0; }

/* Chips */
.category-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 0 0 24px; justify-content: center;
}
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 40px;
  font-size: 0.85rem;
  color: var(--text-light);
  text-decoration: none;
  transition: var(--t);
  font-weight: 500;
}
.chip:hover {
  border-color: var(--border-gold);
  background: rgba(245,200,66,0.06);
  color: var(--color-gold);
}
.chip.is-active {
  background: var(--color-gold);
  color: #0b0b0b;
  border-color: var(--color-gold);
  font-weight: 700;
}
.chip .count { font-size: 0.75rem; opacity: 0.7; }

/* Sort */
.sort-form {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 24px; font-size: 0.85rem; color: var(--text-muted);
  justify-content: flex-end;
}
.sort-form label { font-weight: 500; }
.sort-form select {
  padding: 10px 16px;
  border: 1px solid var(--border-subtle);
  border-radius: 40px;
  background: var(--bg-card);
  color: var(--text-light);
  font-size: 0.85rem;
  cursor: pointer;
  font-family: inherit;
  transition: var(--t);
}
.sort-form select:hover,
.sort-form select:focus { border-color: var(--color-gold); outline: none; }
.sort-form select option { background: var(--bg-card); color: var(--text-light); }

/* Empty */
.empty { text-align: center; padding: 60px 20px; color: var(--text-muted); }

/* Pagination */
.pagination {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center; margin: 40px 0 20px;
}
.pagination a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 12px;
  background: var(--bg-card);
  color: var(--text-light);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--t);
}
.pagination a:hover { border-color: var(--color-gold); color: var(--color-gold); }
.pagination a.is-active {
  background: var(--color-gold);
  color: #0b0b0b;
  border-color: var(--color-gold);
}

/* ================================================================
   PRODUCT DETAIL PAGE (PDP)
   ================================================================ */
.product-page { padding: 20px 0 60px; }

.pdp {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 20px 0 60px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow-card);
}
@media (max-width: 900px) {
  .pdp { grid-template-columns: 1fr; gap: 24px; padding: 20px; }
}

/* Gallery */
.pdp__media { display: flex; flex-direction: column; gap: 12px; }

.pdp__placeholder {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 1; color: var(--text-muted);
  background: var(--bg-elevated); border-radius: 14px;
}
.pdp__thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.pdp__thumb {
  width: 72px; height: 72px; padding: 4px;
  background: var(--bg-elevated);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--t);
}
.pdp__thumb:hover { border-color: var(--border-hover); }
.pdp__thumb.is-active { border-color: var(--color-gold); }
.pdp__thumb img { width: 100%; height: 100%; object-fit: contain; }

/* Info */
.pdp__info { display: flex; flex-direction: column; gap: 14px; }
.pdp__brand {
  display: inline-block;
  font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--color-gold);
  text-decoration: none;
  align-self: flex-start;
}
.pdp__brand:hover { color: var(--color-gold-h); }
.pdp__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin: 0;
  line-height: 1.2;
  color: var(--text-light);
}
.pdp__price-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pdp__price { font-size: 2rem; font-weight: 800; color: var(--color-gold); }
.pdp__compare { font-size: 1.1rem; color: var(--text-muted); text-decoration: line-through; }

/* Stock pill */
.stock {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 40px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--color-gold);
  color: var(--black);
}
.stock--in  { color: #4caf50; background: rgba(76,175,80,0.15); border: 1px solid rgba(76,175,80,0.3); }
.stock--low { color: var(--color-gold); background: rgba(245,200,66,0.12); border: 1px solid var(--border-gold); }
.stock--out { color: var(--color-out); background: rgba(244,67,54,0.12); border: 1px solid rgba(244,67,54,0.3); }

.pdp__short { color: var(--text-muted); line-height: 1.6; margin: 0; font-size: 0.95rem; }
.pdp__meta {
  display: grid; grid-template-columns: max-content 1fr;
  gap: 6px 16px; font-size: 0.85rem; padding: 16px 0;
  border-top: 1px solid var(--border-subtle);
}
.pdp__meta dt { color: var(--text-muted); font-weight: 500; }
.pdp__meta dd { margin: 0; color: var(--text-light); }
.pdp__description {
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}
.pdp__description h2 { font-size: 1.15rem; margin: 0 0 12px; color: var(--text-light); }

/* Variants */
.variant-selector {
  display: flex; flex-wrap: wrap; gap: 10px;
  border: 0; padding: 0; margin: 8px 0 16px;
}
.variant-selector legend {
  font-size: 0.85rem; font-weight: 600;
  color: var(--text-light); margin-bottom: 10px; width: 100%;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.variant-option {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  padding: 10px 14px;
  background: var(--bg-elevated);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: left;
  transition: var(--t);
  color: var(--text-light);
  font-family: inherit;
}
.variant-option:hover { border-color: var(--border-hover); }
.variant-option.is-active { border-color: var(--color-gold); background: rgba(245,200,66,0.06); }
.variant-option.is-out { opacity: 0.4; cursor: not-allowed; }
.variant-option__name { font-size: 0.85rem; font-weight: 600; color: var(--text-light); }
.variant-option__price { font-size: 0.75rem; color: var(--color-gold); font-weight: 600; }

/* Quantity */
.qty-row { display: flex; align-items: center; gap: 12px; margin: 16px 0; }
.qty-row label {
  font-size: 0.85rem; font-weight: 600; color: var(--text-light);
  text-transform: uppercase; letter-spacing: 0.05em;
}

/* Add to cart */
.add-to-cart { display: flex; flex-direction: column; gap: 12px; }
.add-to-cart .btn,
.add-to-cart .btn--primary {
  padding: 16px 32px;
  font-size: 1rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
  border-radius: 60px; border: none;
  background: linear-gradient(135deg, #f5c842, #f7b32b);
  color: #0b0b0b;
  cursor: pointer;
  transition: var(--t);
  box-shadow: var(--shadow-gold);
  font-family: inherit;
}
.add-to-cart .btn:hover:not(:disabled),
.add-to-cart .btn--primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #ffd95e, #f5c842);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(245,200,66,0.45);
}
.add-to-cart .btn:disabled,
.add-to-cart .btn--primary:disabled { opacity: 0.4; cursor: not-allowed; }

.cart-msg {
  font-size: 0.875rem; margin: 8px 0 0;
  min-height: 1.2em; color: #4caf50; text-align: center;
}
.cart-msg:empty { display: none; }

/* ================================================================
   CHECKOUT — hide cart sidebar (order summary is the source of truth)
   ================================================================ */
body.checkout-page-body .cart-toggle,
body.checkout-page-body #cartSidebar,
body.checkout-page-body #cartBackdrop {
  display: none !important;
}

/* ================================================================
   PDP — MAIN IMAGE ZOOM CONTAINER
   ================================================================ */
.pdp__main-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 14px;
  background: var(--bg-elevated);
  cursor: zoom-in;
  touch-action: pinch-zoom;
}
.pdp__main-image-wrap #pdp-main-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  display: block;
  transition: opacity 0.2s ease;
  user-select: none;
  -webkit-user-select: none;
}
.pdp__zoom-overlay {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-size: 200%;
  background-color: #fff;
  display: none;
  pointer-events: none;
  z-index: 15;
  border-radius: 14px;
}
.pdp__zoom-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.1);
  pointer-events: none;
}
@media (max-width: 768px) {
  .pdp__zoom-overlay { display: none !important; }
  .pdp__main-image-wrap { cursor: default; }
}

/* ================================================================
   PDP — QUANTITY SELECTOR ( − input + )
   ================================================================ */
.qty-selector {
  display: inline-flex;
  align-items: stretch;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.qty-selector .qty-btn {
  width: 42px;
  min-height: 42px;
  background: transparent;
  border: 0;
  color: var(--text-light);
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--t);
  font-family: inherit;
  line-height: 1;
}
.qty-selector .qty-btn:hover:not(:disabled) {
  background: rgba(245,200,66,0.08);
  color: var(--color-gold);
}
.qty-selector .qty-btn:active:not(:disabled) {
  background: rgba(245,200,66,0.15);
}
.qty-selector .qty-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.qty-selector input[type="number"] {
  width: 62px;
  min-height: 42px;
  text-align: center;
  background: transparent;
  border: 0;
  border-left: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
  color: var(--text-light);
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  -moz-appearance: textfield;
  -webkit-appearance: none;
  appearance: none;
}
.qty-selector input[type="number"]::-webkit-outer-spin-button,
.qty-selector input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.qty-selector input[type="number"]:focus {
  outline: none;
  background: rgba(245,200,66,0.04);
}
.qty-selector input[type="number"]:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ================================================================
   HOMEPAGE — COMBO CARDS
   ================================================================ */
.combos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin: 20px 0;
}
@media (max-width: 680px) {
  .combos-grid { grid-template-columns: 1fr; gap: 14px; }
}

.combo-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: var(--t);
  box-shadow: 0 4px 14px rgba(245,200,66,0.06);
}
.combo-card:hover {
  border-color: var(--color-gold);
  box-shadow: 0 10px 28px rgba(245,200,66,0.15);
  transform: translateY(-3px);
}

.combo-image {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--bg-elevated);
  overflow: hidden;
}
.combo-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
}
.combo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 3.5rem;
}

.combo-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, #f5c842, #f7b32b);
  color: #0b0b0b;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(245,200,66,0.35);
}
.combo-save {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ef4444;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
}

.combo-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  flex: 1;
}
.combo-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-light);
  margin: 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.combo-note {
  font-size: 0.75rem;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.combo-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.combo-meta i { color: var(--color-gold); }

.combo-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: auto;
  padding-top: 8px;
}
.combo-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-gold);
}
.combo-was {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.combo-details {
  margin-top: 8px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 10px;
}
.combo-details summary {
  cursor: pointer;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  list-style: none;
  user-select: none;
}
.combo-details summary::before { content: '▸ '; }
.combo-details[open] summary::before { content: '▾ '; }
.combo-details summary:hover { color: var(--color-gold); }

.combo-items {
  list-style: none;
  padding: 8px 0 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.combo-items li {
  font-size: 0.8rem;
  color: var(--text-light);
  padding: 6px 10px;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.combo-item-qty {
  color: var(--color-gold);
  font-weight: 700;
  flex-shrink: 0;
}

/* ================================================================
   HOMEPAGE — BRAND LOGOS
   ================================================================ */
.brand-logos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 14px;
}
.brand-logo-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
  overflow: hidden;
}
.brand-logo-tile:hover {
  filter: grayscale(0) brightness(1);
  opacity: 1;
  border-color: var(--color-gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(245,200,66,0.15);
}
.brand-logo-tile img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.brand-logo-text {
  color: var(--text-light);
  font-weight: 700;
  font-size: 0.85rem;
  text-align: center;
  letter-spacing: 0.02em;
  line-height: 1.3;
  word-break: break-word;
}
@media (max-width: 480px) {
  .brand-logos { grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 10px; }
  .brand-logo-tile { padding: 10px; }
  .brand-logo-text { font-size: 0.75rem; }
}

/* Footer — subsection heading (e.g., "Operating Hours" inside "Get in Touch") */
.footer__hours-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 18px 0 10px;
}

/* ================================================================
   HOMEPAGE — force clean 4-column grid on desktop
   (8 cards = 2 perfect rows, no empty slots)
   ================================================================ */
/* Mobile — disable fixed to avoid iOS Safari performance issues */
@media (max-width: 768px) {
    body.category-page-body,
    body.brand-page-body,
    body.product-page-body {
        background-attachment: scroll;
        background-position: center top;
    }
}

@media (min-width: 1024px) {
  .section-wrapper .products-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* Tablet — 3 cols keeps cards readable */
@media (min-width: 700px) and (max-width: 1023px) {
  .section-wrapper .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Mobile — 2 cols */
@media (max-width: 699px) {
  .section-wrapper .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
}

/* Very small — 1 col */
@media (max-width: 420px) {
  .section-wrapper .products-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ================================================================
   COMBO ADD-TO-CART BUTTON
   ================================================================ */
.combo-card .product-actions {
  margin-top: auto;
  padding-top: 10px;
}
.combo-card .btn-add-combo {
  width: 100%;
  margin-top: 6px;
  padding: 10px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #f5c842, #f7b32b);
  color: #0b0b0b;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--t);
  font-family: inherit;
}
.combo-card .btn-add-combo:hover:not(:disabled) {
  background: linear-gradient(135deg, #ffd95e, #f5c842);
  transform: translateY(-1px);
}
.combo-card .btn-add-combo:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Combo line in cart sidebar */
.cart-item__combo-qty {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-gold);
  background: rgba(245,200,66,0.1);
  padding: 4px 10px;
  border-radius: 40px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 6px;
}
.cart-item__combo-qty i {
  font-size: 0.7rem;
}

/* ================================================================
   CHECKOUT — delivery info note
   ================================================================ */
.delivery-note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin: 4px 0 24px;
  padding: 16px 18px;
  background: rgba(245, 200, 66, 0.06);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  color: var(--text-light);
}

.delivery-note__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(245, 200, 66, 0.15);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.delivery-note__body {
  flex: 1;
  min-width: 0;
  font-size: 0.875rem;
  line-height: 1.55;
}

.delivery-note__body strong {
  display: block;
  color: var(--color-gold);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.delivery-note__body p {
  margin: 0 0 8px;
  color: var(--text-light);
  font-size: 0.875rem;
}

.delivery-note__body p:last-child {
  margin-bottom: 0;
}

.delivery-note__body a {
  color: var(--color-gold);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}

.delivery-note__body a:hover {
  color: var(--color-gold-h);
}

.delivery-note__sub {
  color: var(--text-muted) !important;
  font-size: 0.8rem !important;
}

/* Mobile */
@media (max-width: 480px) {
  .delivery-note {
    flex-direction: column;
    gap: 10px;
    padding: 14px;
  }
  .delivery-note__body {
    font-size: 0.85rem;
  }
}

/* ================================================================
   PAGE HEAD — bold self-contained card
   ================================================================ */
.page-head {
  position: relative;
  margin: 20px 0 28px;
  padding: 36px 28px 32px;
  text-align: center;
  overflow: hidden;
}

/* Gold top accent line */
.page-head::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #f5c842, transparent);
  border-radius: 0 0 2px 2px;
}

/* Bottom glow */
.page-head::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  height: 60px;
  background: radial-gradient(ellipse, rgba(245,200,66,0.2), transparent 70%);
  pointer-events: none;
}

/* Title — white-to-gold gradient */
.page-head h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 900;
  margin: 0 0 14px;
  letter-spacing: -0.03em;
  line-height: 1.1;
  background: linear-gradient(135deg, #ffffff 20%, #f5c842 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 4px 24px rgba(245,200,66,0.15));
}

/* Description */
.page-head .muted {
  color: rgba(245,245,245,0.72);
  font-size: 1rem;
  line-height: 1.5;
  margin: 0 auto 6px;
  max-width: 640px;
}

/* Product count — pill badge */
.page-head .muted:last-of-type {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  margin-bottom: 0;
  padding: 6px 16px;
  background: rgba(245,200,66,0.12);
  border: 1px solid rgba(245,200,66,0.35);
  border-radius: 40px;
  color: #f5c842;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Small gold dot before the count */
.page-head .muted:last-of-type::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f5c842;
  box-shadow: 0 0 8px rgba(245,200,66,0.8);
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .page-head {
    padding: 28px 20px 24px;
    border-radius: 18px;
    margin: 16px 0 20px;
  }
  .page-head h1 {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }
  .page-head .muted {
    font-size: 0.9rem;
  }
}

/* ================================================================
   CATEGORY CHIPS — high contrast pills
   ================================================================ */
.category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
  justify-content: center;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(20,20,28,0.92);
  border: 1.5px solid rgba(255,255,255,0.18);
  border-radius: 40px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-light);
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,0.35);
  white-space: nowrap;
}

.chip:hover {
  border-color: #f5c842;
  color: #f5c842;
  background: rgba(30,25,35,0.95);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(245,200,66,0.25);
}

.chip.is-active {
  background: linear-gradient(135deg, #f5c842, #f7b32b);
  color: #0b0b0b;
  border-color: #f5c842;
  font-weight: 800;
  box-shadow: 0 6px 22px rgba(245,200,66,0.5);
}

.chip .count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 20px;
  padding: 0 7px;
  background: rgba(255,255,255,0.12);
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
}

.chip:hover .count {
  background: rgba(245,200,66,0.2);
  color: #f5c842;
}

.chip.is-active .count {
  background: rgba(0,0,0,0.2);
  color: #0b0b0b;
}

@media (max-width: 600px) {
  .category-chips {
    gap: 8px;
    margin-bottom: 22px;
  }
  .chip {
    padding: 8px 16px;
    font-size: 0.8rem;
  }
}

/* ================================================================
   CHECKOUT — PRINT BUTTON
   ================================================================ */
.checkout-page .btn--print {
  background: transparent;
  border: 2px solid var(--color-gold);
  color: var(--color-gold);
  padding: 12px 26px;
  border-radius: 60px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: var(--t);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  line-height: 1.2;
}
.checkout-page .btn--print:hover {
  background: var(--color-gold);
  color: #0b0b0b;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 200, 66, 0.3);
}
.checkout-page .btn--print i {
  font-size: 0.9rem;
}

/* ================================================================
   MOBILE-FIRST OVERRIDES
   Appended 2026-10-29
   Goal: 2 product cards per row at all phone widths (≤639px),
         tighter density, touch-friendly sizing.
   Supersedes the @media (max-width: 420px) 1-col collapse.
   ================================================================ */

/* ---------- Container: tighter gutters on phone ---------- */
@media (max-width: 479px) {
  .container { padding: 0 12px; }
}

/* ---------- GRIDS: force 2 across on phone ---------- */
@media (max-width: 639px) {
  /* Main product grids */
  .products-grid,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 12px 0;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  /* Homepage section grid */
  .section-wrapper .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    max-width: none;
    margin: 12px 0;
  }

  /* Combos grid */
  .combos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 12px 0;
  }
}

/* Slightly more breathing room on 480–639px (large phones, small tablets) */
@media (min-width: 480px) and (max-width: 639px) {
  .products-grid,
  .product-grid,
  .combos-grid,
  .section-wrapper .products-grid {
    gap: 12px;
    margin: 14px 0;
  }
}

/* ---------- PRODUCT CARD: compact density for 2-col ---------- */
@media (max-width: 639px) {
  .product-card {
    padding: 10px 10px 12px;
    border-radius: 14px;
  }

  .product-card .product-image,
  .product-card .product-card__media {
    border-radius: 10px;
    margin-bottom: 8px;
  }

  .product-card .product-image img,
  .product-card .product-card__media img {
    padding: 4px;
    border-radius: 12px !important;
  }

  .product-card .product-info,
  .product-card .product-card__body { gap: 4px; }

  .product-card .product-name,
  .product-card .product-card__title {
    font-size: 0.8rem;
    line-height: 1.25;
    min-height: 2.5em;   /* keeps 1-line vs 2-line titles aligned */
  }

  .product-card .product-card__brand {
    font-size: 0.6rem;
    letter-spacing: 0.04em;
  }

  .product-card .product-price,
  .product-card .product-card__price {
    gap: 6px;
    padding-top: 8px;
  }

  .product-card .current-price,
  .product-card .price { font-size: 0.95rem; }

  .product-card .price-compare,
  .product-card .compare,
  .product-card .compare-price { font-size: 0.7rem; }

  /* Badges — pull them into the corners, shrink text */
  .product-card .badge,
  .product-card .badge-new,
  .product-card .badge-sale,
  .product-card .badge--new,
  .product-card .badge--out {
    font-size: 0.55rem;
    padding: 2px 8px;
    letter-spacing: 0.3px;
    top: 6px;
  }
  .product-card .badge-new,
  .product-card .badge--new { left: 6px; }
  .product-card .badge-sale,
  .product-card .badge--out { right: 6px; }

  /* View More button */
  .product-card .btn-view-more {
    margin-top: 8px;
    padding: 10px 6px;
    font-size: 0.68rem;
    letter-spacing: 0.3px;
  }
}

/* ---------- SECTION WRAPPER: much less padding on phone ---------- */
@media (max-width: 639px) {
  .section-wrapper {
    padding: 16px 12px 14px;
    border-radius: 20px;
  }

  #homepage-dynamic-sections {
    margin-top: 0px;
    gap: 32px;
  }

  .section-header {
    gap: 8px;
    margin-bottom: 12px;
  }
  .section-header__icon { font-size: 1.1rem; }
  .section-header__title {
    font-size: 1.15rem;
    letter-spacing: -0.01em;
  }
  .section-header__count {
    font-size: 0.72rem;
    padding: 3px 12px;
  }

  .section-footer { margin-top: 4px; }
  .section-footer .btn-outline {
    padding: 10px 28px;
    font-size: 0.78rem;
    letter-spacing: 0.5px;
  }
}

/* ---------- COMBO CARD: compact for 2-col ---------- */
@media (max-width: 639px) {
  .combo-image { aspect-ratio: 1 / 1; }
  .combo-image img { padding: 6px; }
  .combo-placeholder { font-size: 2.5rem; }

  .combo-body { padding: 10px; gap: 4px; }
  .combo-title { font-size: 0.8rem; line-height: 1.25; }
  .combo-note { font-size: 0.6rem; letter-spacing: 0.04em; }
  .combo-meta { font-size: 0.68rem; gap: 4px; }
  .combo-price-row { gap: 6px; padding-top: 6px; }
  .combo-price { font-size: 1rem; }
  .combo-was { font-size: 0.7rem; }

  .combo-badge {
    font-size: 0.55rem;
    padding: 3px 8px;
    letter-spacing: 0.04em;
    top: 6px;
    left: 6px;
  }
  .combo-save {
    font-size: 0.6rem;
    padding: 3px 8px;
    top: 6px;
    right: 6px;
  }

  .combo-details { margin-top: 6px; padding-top: 8px; }
  .combo-details summary { font-size: 0.7rem; }
  .combo-items li { font-size: 0.7rem; padding: 5px 8px; }

  .combo-card .btn-add-combo {
    margin-top: 4px;
    padding: 8px 8px;
    font-size: 0.7rem;
    letter-spacing: 0.3px;
  }
}

/* ---------- PAGE HEAD: tighter on small phones ---------- */
@media (max-width: 479px) {
  .page-head {
    padding: 22px 14px 20px;
    border-radius: 16px;
    margin: 12px 0 18px;
  }
  .page-head h1 {
    font-size: clamp(1.5rem, 6.5vw, 1.9rem);
    margin-bottom: 10px;
  }
  .page-head .muted { font-size: 0.85rem; }
  .page-head .muted:last-of-type {
    padding: 5px 12px;
    font-size: 0.72rem;
    margin-top: 12px;
  }
}

/* ---------- CATEGORY CHIPS ---------- */
@media (max-width: 479px) {
  .category-chips { gap: 6px; margin-bottom: 20px; }
  .chip { padding: 8px 14px; font-size: 0.78rem; gap: 6px; }
  .chip .count { min-width: 20px; height: 18px; padding: 0 6px; font-size: 0.65rem; }
}

/* ---------- BREADCRUMB & SORT ---------- */
@media (max-width: 479px) {
  .breadcrumb { font-size: 0.78rem; margin: 10px 0 14px; }
  .sort-form { justify-content: center; font-size: 0.8rem; gap: 8px; }
  .sort-form select { padding: 8px 12px; font-size: 0.8rem; }
}

/* ---------- PAGINATION ---------- */
@media (max-width: 479px) {
  .pagination { gap: 6px; margin: 28px 0 14px; }
  .pagination a {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    font-size: 0.8rem;
  }
}

/* ---------- HOMEPAGE GRID-CARDS & BRAND LOGOS ---------- */
@media (max-width: 479px) {
  .grid-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .grid-card { padding: 16px 10px; border-radius: 12px; }
  .grid-card__icon { font-size: 1.5rem; }
  .grid-card__name { font-size: 0.85rem; }
  .grid-card__count { font-size: 0.7rem; }
  .grid-card__arrow { font-size: 1rem; }

  .brand-logos { grid-template-columns: repeat(auto-fill, minmax(85px, 1fr)); gap: 8px; }
  .brand-logo-tile { padding: 8px; border-radius: 10px; }
  .brand-logo-text { font-size: 0.72rem; }
}

/* ---------- PDP (product page) ---------- */
@media (max-width: 479px) {
  .product-page { padding: 12px 0 40px; }
  .pdp {
    padding: 14px;
    border-radius: 16px;
    gap: 16px;
    margin: 12px 0 40px;
  }
  .pdp__title { font-size: 1.35rem; }
  .pdp__price { font-size: 1.6rem; }
  .pdp__compare { font-size: 0.95rem; }
  .pdp__thumbs { gap: 6px; }
  .pdp__thumb { width: 56px; height: 56px; padding: 3px; }
  .pdp__short { font-size: 0.9rem; }
  .pdp__meta {
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 12px 0;
  }
  .pdp__meta dt { font-size: 0.72rem; padding-top: 8px; }
  .pdp__meta dd { font-size: 0.85rem; padding-bottom: 4px; }
  .variant-option { padding: 8px 10px; }
  .variant-option__name { font-size: 0.8rem; }
  .variant-option__price { font-size: 0.68rem; }
  .add-to-cart .btn,
  .add-to-cart .btn--primary { padding: 14px 20px; font-size: 0.9rem; }
  .stock { font-size: 0.72rem; padding: 5px 12px; }
}

@media (max-width: 639px) {
    .header .logo-img,#chat-widget-container { 
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
    .section-wrapper{
        border-radius:0 !important;
    }
.product-card:hover,.product-card:hover,.product-image img,
  .product-card:hover,.product-card__media img  { 
    transform: none; 
    box-shadow: none;
}
}
/* ================================================================
   UNIFIED SEARCH — single overlay trigger on all viewports
   ================================================================ */

/* Overlay behaviour on desktop (was mobile-only) */
@media (min-width: 768px) {
    .mobile-search-overlay {
        padding: 80px 24px;
    }
    .mobile-search-container {
        max-width: 720px;
        margin: 0 auto;
        border-radius: 16px;
    }
    /* Ensure .active reveals the overlay on desktop too */
    .mobile-search-overlay.active {
        display: flex !important;
    }
}

/* ================================================================
   UTILITY
   ================================================================ */
.muted { color: var(--text-muted); }
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--color-gold); color: #0b0b0b;
  padding: 12px 24px; font-weight: 700;
  border-radius: 0 0 var(--radius-sm) 0;
  z-index: 99999;
}
.skip-link:focus { left: 0; }