/* ==========================================================================
   BIRJO GILAT WALA - LUXURY JEWELRY DESIGN SYSTEM
   Ultra-Responsive: Mobile (320px) -> Tablet -> Desktop -> 4K / TV (3840px)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens & Variables
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette */
  --bg-main: #0a0c10;
  --bg-surface: #12161f;
  --bg-surface-elevated: #1a202c;
  --bg-surface-glass: rgba(0, 0, 0, 0);
  --bg-surface-border: rgba(255, 255, 255, 0.08);
  --bg-surface-hover: #222938;

  /* Accent Colors */
  --accent-gold: goldenrod;
  --accent-gold-light: gold;
  --accent-silver: silver;
  --accent-silver-muted: #94a3b8;
  --accent-whatsapp: #25d36599;
  --accent-whatsapp-hover: #1ebd5a;

  /* Text Colors */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #0a0c10;

  /* Typography Fluid Scaling */
  --font-family: Verdana, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --font-serif: Georgia, "Playfair Display", "Times New Roman", serif;
  
  --font-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --font-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --font-base: clamp(1rem, 0.95rem + 0.4vw, 1.125rem);
  --font-lg: clamp(1.125rem, 1.05rem + 0.6vw, 1.35rem);
  --font-xl: clamp(1.35rem, 1.2rem + 1vw, 1.75rem);
  --font-2xl: clamp(1.75rem, 1.5rem + 1.5vw, 2.35rem);
  --font-3xl: clamp(2.2rem, 1.8rem + 2.5vw, 3.5rem);
  --font-hero: clamp(1.8rem, 1.5rem + 3.5vw, 4.5rem);

  /* Spacing System */
  --space-xs: clamp(0.25rem, 0.2rem + 0.25vw, 0.5rem);
  --space-sm: clamp(0.5rem, 0.4rem + 0.5vw, 0.875rem);
  --space-md: clamp(1rem, 0.8rem + 1vw, 1.5rem);
  --space-lg: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem);
  --space-xl: clamp(2rem, 1.6rem + 2.5vw, 4rem);
  --space-2xl: clamp(3rem, 2.5rem + 4vw, 6rem);

  /* Layout & Sizing */
  --container-max: 1600px;
  --tv-container-max: 2400px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 9999px;

  /* Shadows & Glassmorphism */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --blur-glass: blur(1px);
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  display: flex;
  font-size: 16px;
  scroll-behavior: smooth;
  color-scheme: dark;
  overscroll-behavior: none;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-base);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: black;
  background-image: url('../images/footer_base.jpg');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: bottom;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overscroll-behavior: none;
  width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, select {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
}

.footer-bottom>details{
  cursor: none;
}
/* --------------------------------------------------------------------------
   3. Layout Utilities
   -------------------------------------------------------------------------- */
.container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
}

.section {
  align-items: center;
  display: flex;
  justify-content: center;
  border-radius: 50px;
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
  margin-top: var(--space-xs);
  margin-bottom: var(--space-xs);
}

.section-title {
  font-size: var(--font-2xl);
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--space-xs);
  letter-spacing: -0.02em;
}

.section-title span {
  color: var(--accent-gold);
}

.section-subtitle {
  font-size: var(--font-sm);
  color: var(--text-secondary);
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-lg);
}

/* --------------------------------------------------------------------------
   4. Header & Navigation (Ultra-Responsive)
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  transition: background var(--transition-fast);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
  height: clamp(60px, 8vw, 64px);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--font-lg);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand-logo-img {
  height: clamp(38px, 5vw, 54px);
  width: auto;
  object-fit: contain;
  display: block;
}

.brand-badge {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
  color: var(--text-inverse);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: var(--font-xs);
  font-weight: 800;
}

nav {
  margin-left: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2.5rem);
  list-style: none;
}

.nav-link {
  font-size: var(--font-sm);
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-pill);
  text-shadow: 1px -1px 1px black;
  transition: all var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.nav-link.active {
  color: var(--accent-gold);
  pointer-events: none;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.mobile-menu-btn {
  display: none;
  cursor: pointer;
  padding: 0.4rem 0.75rem;
  background: var(--blur-glass);
  border: 1px solid var(--bg-surface-border);
  border-radius: var(--radius-sm);
  color: white;
  font-size: 1.25rem;
  line-height: 1;
  transition: all var(--transition-fast);
}

.mobile-menu-btn:hover {
  background: var(--bg-surface-hover);
  border-color: var(--accent-gold);
}

/* --------------------------------------------------------------------------
   5. Buttons & Badges
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: clamp(0.6rem, 1.2vw, 0.85rem) clamp(1rem, 2vw, 1.75rem);
  font-size: var(--font-sm);
  font-weight: 600;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-smooth);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: #275E92;
  border: 1px solid #589AB3;
  border-radius: 4rem;
  color: white;
  text-shadow: 0 2px 2px #5B412D;
  box-shadow: 0 3px 6px #5B412D;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-xs);
  padding: 0.5rem 6rem 0.5rem 5rem;
  width: max-content;
}

.btn-primary:hover {
  background: #589AB3;
  border: 2px solid #275E92;
  color: black;
  box-shadow: 0 3px 7px black;
}

.btn-secondary {
  color: var(--text-secondary);
  border: 1px solid var(--bg-surface-border);
}

.btn-secondary:hover {
  background: var(--bg-surface-hover);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-whatsapp {
  background: var(--accent-whatsapp);
  border: 1px solid var(--accent-whatsapp);
  color: white;
  font-weight: 700;
}

.btn-whatsapp:hover {
  background: var(--accent-whatsapp-hover);
  border: 1px solid black;
  color: black;
}

.btn-phone {
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  font-weight: 700;
}

.btn-phone:hover {
  background: var(--accent-gold);
  border: 1px solid black;
  color: black;
}

.badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  font-size: var(--font-xs);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.badge-gold {
  color: silver;
}

.badge-silver {
  background: rgba(226, 232, 240, 0.1);
  color: var(--accent-silver);
  border: 1px solid rgba(226, 232, 240, 0.2);
}

/* --------------------------------------------------------------------------
   6. Hero Section
   -------------------------------------------------------------------------- */
.hero {
  background: linear-gradient(#A37133, black);
  border-radius: 50px;
  box-shadow: 0 -50px 50px 100px black;
  margin: var(--space-sm);
  padding-bottom: var(--space-md);
  text-align: center;
  overflow: hidden;
}

.hero-title {
  color: #D2A957;
  font-size: var(--font-hero);
  line-height: 1.2;
  font-weight: 700;
}

.gradient-text {
  background: linear-gradient(90deg, #D2A957, #261A0C);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: var(--font-lg);
  color: black;
  justify-self: center;
  align-self: center;
  max-width: 720px;
  margin-top: 5px;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   7. Features & Value Props Grid
   -------------------------------------------------------------------------- */
.features-grid {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  justify-content: center;
  margin-top: var(--space-md);
  max-width: 1272px;
}
/* --------------------------------------------------------------------------
   8. Catalog Controls & Search Bar
   -------------------------------------------------------------------------- */
.catalog-controls.sticky-toolbar {
  position: sticky;
  top: clamp(60px, 8vw, 64px);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  width: 100%;
  max-width: 100%;
  margin: 0 0 var(--space-md) 0;
  padding: 0.75rem 1rem;
  background: rgba(10, 12, 16, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--bg-surface-border);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.search-container {
  align-items: center;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--bg-surface-border);
  border-radius: var(--radius-md);
  display: flex;
  gap: 0.5rem;
  padding: 0 0.85rem;
  width: 100%;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.search-container:focus-within {
  border-color: var(--accent-gold);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.35);
}
.search-input {
  background: transparent;
  border: none;
  color: var(--text-primary);
  flex: 1;
  font-size: var(--font-sm);
  outline: none;
  padding: 0.75rem 0.5rem;
  width: 100%;
}

.search-input:focus {
  border-color: var(--accent-gold);
}

.filter-dropdowns-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  width: 100%;
}

@media (max-width: 640px) {
  .filter-dropdowns-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem;
  }
}

.catalog-status-sort-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  padding-top: 0.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.product-count-badge {
  font-size: var(--font-xs);
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.3rem 0.65rem;
  white-space: nowrap;
}

.filter-control-item {
  display: flex;
  align-items: center;
  width: 100%;
}

.filter-control-item.sort-item {
  width: auto;
  min-width: 140px;
}

.catalog-select {
  background: var(--bg-surface-elevated);
  color: var(--text-primary);
  border: 1px solid var(--bg-surface-border);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.65rem;
  font-size: var(--font-xs);
  font-weight: 600;
  cursor: pointer;
  outline: none;
  width: 100%;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.catalog-select:hover,
.catalog-select:focus {
  border-color: var(--accent-gold);
  background: var(--bg-surface-hover);
}

.catalog-select option {
  background: #15181e;
  color: var(--text-primary);
}

/* --------------------------------------------------------------------------
   9. Product Catalog Grid & Responsive Full-Width Cards
   -------------------------------------------------------------------------- */
.product-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  width: 100%;
}

.product-card {
  background: var(--blur-glass);
  border: 1px solid grey;
  border-radius: var(--radius-lg);
  box-shadow: inset 0 0 1px black;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: max-content;
  width: 100%;
  position: relative;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.product-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.product-card:hover .product-card-arrow {
  color: var(--accent-gold) !important;
  transform: translateX(4px);
}

.product-card-header {
  align-items: center;
  justify-content: space-between;
  display: flex;
  background: var(--blur-glass);
  padding: var(--space-xs);
}

.product-img-wrap {
  position: relative;
  width: 100%;
  background: #080a0e;
  overflow: hidden;
  display: block;
}

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

.product-id-badge {
  font-size: var(--font-xs);
  font-weight: 700;
  color: white;
  padding: var(--space-xs);
}

.product-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  background: var(--bg-surface);
  border-top: 1px solid var(--bg-surface-border);
}

.product-meta-block {
  display: flex;
  gap: 0.2rem;
}

.product-category {
  font-size: var(--font-xs);
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

.product-name {
  color: gray;
  font-size: var(--font-md);
  font-weight: 700;
}

.product-specs-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding-inline: var(--space-xs);
}

.spec-tag {
  padding: var(--space-xs);
  border-radius: var(--radius-sm);
  font-size: var(--font-xs);
  color: var(--text-secondary);
  font-weight: 500;
}

.product-footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* --------------------------------------------------------------------------
   10. Product Detail View
   -------------------------------------------------------------------------- */
.detail-layout {
  display: flex;
  flex-direction: column;
  align-items: start;
}

.detail-gallery {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--bg-surface-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: zoom-in;
}

@media (min-width: 992px) {
  .detail-gallery {
    position: sticky;
    top: 90px;
  }
}

.detail-gallery:hover::after {
  opacity: 1;
}

.detail-gallery img {
  object-fit: contain;
  background: #14171f;
  transition: transform var(--transition-medium);
}

.detail-gallery:hover img {
  transform: scale(0.9);
}

/* Lightbox Modal */
.zoom-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.zoom-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.zoom-modal-img {
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  transform: scale(0.95);
  transition: transform 0.25s ease;
}

.zoom-modal.open .zoom-modal-img {
  transform: scale(1);
}

/* Modal Scroll Lock */
body.modal-open {
  overflow: hidden;
}

/* Product Detail Modal Overlay */
.product-modal {
  position: fixed;
  inset: 0;
  z-index: 1500;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  overscroll-behavior: contain;
}

.product-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.product-modal-dialog {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--bg-surface-border);
  border-radius: var(--radius-lg);
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: var(--space-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  transform: translateY(20px) scale(0.98);
  transition: transform 0.25s ease;
}

.product-modal.open .product-modal-dialog {
  transform: translateY(0) scale(1);
}

.product-modal-dialog .detail-gallery {
  position: static;
  top: auto;
}

@media (min-width: 768px) {
  .product-modal-dialog .detail-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: var(--space-lg);
    align-items: start;
  }
}

.product-modal-close {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 10;
  background: transparent;
  border: 1px solid var(--bg-surface-border);
  color: gray;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 1;
  padding: 5px;
  transition: all var(--transition-fast);
}

.product-modal-close:hover {
  color: white;
  border-color: var(--accent-gold);
}

.zoom-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  color: #fff;
  font-size: 1.75rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 1;
  transition: background var(--transition-fast);
  padding-bottom: 4px;
}

.zoom-modal-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

.detail-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-sm) 0;
}

.specs-table th, .specs-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--bg-surface-border);
  font-size: var(--font-sm);
  text-align: left;
}

.specs-table th {
  color: var(--text-muted);
  font-weight: 600;
  width: 35%;
}

.specs-table td {
  color: var(--text-muted);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   11. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--bg-surface-border);
  margin-top: var(--space-xs);
  margin-bottom: var(--space-xs);
}

.footer-main-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: space-between;
}

.footer-col h4 {
  font-size: var(--font-base);
  font-weight: 700;
  margin-bottom: var(--space-xs);
  color: white;
  text-shadow: -1px -1px 1px black;
}

.footer-social-links {
  display: flex;
  gap: 1rem;
}

.footer-brand-img {
  border-radius: 0.45rem;
  align-self: center;
  max-width: clamp(100px, 100%, 500px);
}

.footer-since-tag {
  color: silver;
}

.footer-bottom {
  align-items: center;
  color: var(--text-muted);
  display: flex;
  font-size: var(--font-xs);
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
}

.wholesale-toggle-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  justify-content: center;
  background: transparent;
  border-radius: var(--radius-pill);
}

.wholesale-toggle-label {
  text-shadow: 0 0 1px gray;
  color: transparent;
}

.wholesale-toggle-wrap:has(.wholesale-toggle-btn.active) .wholesale-toggle-label {
  color: silver;
}

.wholesale-toggle-btn {
  align-items: center;
  background: transparent;
  display: inline-flex;
  justify-content: center;
  cursor: pointer;
  gap: 0.25rem;
  padding: 0;
  font-family: inherit;
}

.wholesale-toggle-switch {
  align-items: center;
  border-radius: 18px;
  box-shadow: 0 0 2px grey;
  color: transparent;
  display: inline-flex;
  height: 18px;
  transition: background var(--transition-fast);
  width: 29px;
}

.wholesale-toggle-knob {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  box-shadow: 0 0 2px grey;
  margin-left: 0.11rem;
}

.wholesale-toggle-btn.active .wholesale-toggle-switch {
  background-color: black;
  border: 1px solid white;
}

.wholesale-toggle-btn.active .wholesale-toggle-knob {
  transform: translateX(10px);
  background: var(--accent-gold);
}

.wholesale-toggle-status {
  text-shadow: 0 0 1px gray;
}

.wholesale-toggle-btn.active .wholesale-toggle-status {
  color: white;
}

/* --------------------------------------------------------------------------
   12. Inquiry Bag & Variant Selector
   -------------------------------------------------------------------------- */

/* Header Bag Toggle Button */
.bag-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  background: var(--blur-glass);
  border: 1px solid var(--bg-surface-border);
  border-radius: var(--radius-pill);
  color: var(--text-primary);
  font-size: var(--font-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.bag-btn:hover {
  background: var(--bg-surface-hover);
  border-color: var(--accent-gold);
}

.bag-count-badge {
  background: var(--accent-gold);
  color: #000;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.1rem 0.45rem;
  border-radius: var(--radius-pill);
  min-width: 18px;
  line-height: 1.2;
  text-align: center;
}

/* Bag Drawer & Backdrop */
.bag-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.bag-drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.bag-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(440px, 92vw);
  background: var(--bg-surface);
  border-left: 1px solid var(--bg-surface-border);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.6);
}

.bag-drawer.open {
  transform: translateX(0);
}

.bag-drawer-header {
  padding: 1.15rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--bg-surface-border);
  background: var(--bg-surface-elevated);
}

.bag-drawer-close {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast);
}

.bag-drawer-close:hover {
  color: var(--text-primary);
}

.btn-clear-bag {
  background: transparent;
  border: 1px solid var(--bg-surface-border);
  color: var(--text-muted);
  font-size: var(--font-xs);
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-clear-bag:hover {
  border-color: #ef4444;
  color: #ef4444;
  background: rgba(239, 68, 68, 0.08);
}

.bag-drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.bag-empty-state {
  text-align: center;
  padding: 3.5rem 1rem;
  color: var(--text-muted);
}

.bag-item-card {
  display: flex;
  gap: 0.85rem;
  padding: 0.85rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--bg-surface-border);
  border-radius: var(--radius-md);
  align-items: center;
}

.bag-item-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: #080a0e;
  flex-shrink: 0;
}

.bag-item-details {
  flex: 1;
  min-width: 0;
}

.bag-item-title {
  font-size: var(--font-sm);
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bag-item-meta {
  font-size: var(--font-xs);
  color: var(--accent-gold);
  margin-top: 0.15rem;
}

.bag-item-qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.45rem;
}

.bag-qty-btn {
  width: 26px;
  height: 26px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--bg-surface-border);
  background: var(--bg-surface);
  color: var(--text-primary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.bag-qty-btn:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.bag-item-qty-val {
  font-size: var(--font-xs);
  font-weight: 700;
  min-width: 22px;
  text-align: center;
}

.bag-item-remove-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: var(--font-xs);
  padding: 0.2rem 0.4rem;
  transition: color var(--transition-fast);
}

.bag-item-remove-btn:hover {
  color: #ef4444;
}

.bag-drawer-footer {
  padding: 1.15rem 1.25rem;
  border-top: 1px solid var(--bg-surface-border);
  background: var(--bg-surface-elevated);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.bag-drawer-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--font-sm);
}

/* Variant Selector Chips on Detail Page */
.variant-selector-block {
  margin-top: 1.25rem;
}

.variant-label {
  display: block;
  font-size: var(--font-sm);
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 0.6rem;
  letter-spacing: 0.05em;
}

.variant-chips {
  display: flex;
  gap: 10px;
  ;
}

.variant-chip {
  padding: 0.55rem 0.9rem;
  background: transparent;
  border: 1px solid grey;
  border-radius: var(--radius-sm);
  color: silver;
  cursor: pointer;
  text-align: left;
}

.variant-chip:hover {
  color: gold;
  border-color: goldenrod;
}

.variant-chip.selected {
  border-color: goldenrod;
  color: gold;
  pointer-events: none;
}

.detail-actions-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--bg-surface-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.qty-stepper-btn {
  width: 40px;
  height: 42px;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.2rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

.qty-stepper-btn:hover {
  background: var(--bg-surface-hover);
  color: var(--accent-gold);
}

.qty-stepper-val {
  width: 50px;
  height: 42px;
  text-align: center;
  font-size: var(--font-sm);
  font-weight: 700;
  color: var(--text-primary);
  background: transparent;
  border: none;
  outline: none;
}

.qty-stepper-val::-webkit-outer-spin-button,
.qty-stepper-val::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.qty-unit-select {
  height: 42px;
  background: var(--bg-surface-elevated);
  color: var(--text-primary);
  border: 1px solid var(--bg-surface-border);
  border-radius: var(--radius-sm);
  padding: 0 0.65rem;
  font-size: var(--font-xs);
  font-weight: 700;
  cursor: pointer;
  outline: none;
  transition: border-color var(--transition-fast);
}

.qty-unit-select:hover,
.qty-unit-select:focus {
  border-color: var(--accent-gold);
}

.qty-calc-display {
  font-size: var(--font-xs);
  color: var(--accent-gold);
  font-weight: 600;
  margin-top: 0.35rem;
  display: block;
}

.btn-add-bag {
  flex: 0 0 auto;
  width: auto;
  min-width: 160px;
  height: 42px;
  padding: 0 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--accent-gold);
  color: #000;
  font-weight: 700;
  font-size: var(--font-sm);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-add-bag:hover {
  background: var(--accent-gold-light);
  transform: translateY(-1px);
}

.btn-whatsapp-direct {
  height: 42px;
  padding: 0 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  color: gray;
  font-weight: 700;
  font-size: var(--font-sm);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-whatsapp-direct:hover {
  background: #1eb954;
  transform: translateY(-1px);
}

.btn-call-direct {
  height: 42px;
  padding: 0 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: white;
  color: black;
  font-weight: 700;
  font-size: var(--font-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-call-direct:hover {
  background: #e2e8f0;
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   Scroll to Top Button
   -------------------------------------------------------------------------- */
.scroll-to-top-btn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-pill);
  background: transparent;
  border: 1px solid var(--accent-gold);
  color: grey;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  text-shadow: 0 1px 1px black;
  transform: translateY(20px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.3s ease;
  box-shadow: -1px 1px 10px black;
}

.scroll-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top-btn:hover {
  background: var(--accent-gold);
  color: black;
}

/* --------------------------------------------------------------------------
   Story Timeline Styles
   -------------------------------------------------------------------------- */
.story-era {
  background: black;
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
  position: relative;
  margin-left: 20px;
}

/* Timeline Vertical Line */
.story-era::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 40px;
  bottom: -60px; /* extends down to connect to next card */
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-gold) 0%, rgba(218, 165, 32, 0.2) 100%);
  z-index: 1;
}

/* Hide line on the last element */
.story-era:last-child::before {
  display: none;
}

/* Timeline Dot / Marker */
.story-era::after {
  content: '';
  position: absolute;
  left: -26px; /* center on the 2px line at -20px */
  top: 40px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 3px solid var(--accent-gold);
  box-shadow: 0 0 10px rgba(218, 165, 32, 0.4);
  z-index: 2;
}

.era-title {
  font-size: var(--font-xl);
  color: var(--accent-gold);
  margin-bottom: var(--space-sm);
  font-weight: 700;
}

.era-text {
  color: var(--text-secondary);
  font-size: var(--font-base);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.era-text:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   13. Responsive Breakpoints (Mobile -> Tablet -> TV / 4K)
   -------------------------------------------------------------------------- */

/* Mobile Phones (max-width: 768px) */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-surface);
    backdrop-filter: var(--blur-glass);
    border-bottom: 1px solid var(--bg-surface-border);
    padding: var(--space-md);
    gap: 0.75rem;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
  }

  .nav-links.open .nav-link {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: var(--font-base);
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

/* Ultra-Wide Displays & Smart TVs (min-width: 2000px) */
@media (min-width: 2000px) {
  .container {
    max-width: var(--tv-container-max);
  }

  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 2.5rem;
  }

  .product-card {
    border-width: 2px;
  }
}
