/* ============================================================
   DIXIE'S DEEP SOUTH — Design System (style.css)
   Brand Colors: Deep Purple + Vibrant Lime Green
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@600;700;800&display=swap');

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
  /* Brand Palette */
  --purple-deep: #4A0E78;
  --purple-mid: #6B21A8;
  --purple-light: #7C3AED;
  --purple-glow: rgba(74, 14, 120, 0.35);
  --lime: #A0D911;
  --lime-dark: #7CB302;
  --lime-light: #D4F77A;
  --lime-glow: rgba(160, 217, 17, 0.3);
  --teal: #1A7A8A;

  /* Neutrals */
  --dark: #0F0A1A;
  --dark-card: #1A1028;
  --dark-surface: #231536;
  --grey-700: #374151;
  --grey-400: #9CA3AF;
  --grey-200: #E5E7EB;
  --white: #FFFFFF;

  /* Typography */
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;

  /* Spacing */
  --section-pad-y: 6rem;
  --section-pad-x: 1.5rem;

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 0.3s var(--ease-out-expo);
  --transition-slow: 0.6s var(--ease-out-expo);

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.12);
  --shadow-card-hover: 0 12px 40px rgba(74, 14, 120, 0.25);
  --shadow-glow-purple: 0 0 30px rgba(74, 14, 120, 0.4);
  --shadow-glow-lime: 0 0 30px rgba(160, 217, 17, 0.35);

  /* Border Radius */
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  color: var(--grey-700);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--lime);
  color: var(--purple-deep);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.15;
}

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

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

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--dark);
}
::-webkit-scrollbar-thumb {
  background: var(--purple-mid);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--lime);
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */

/* --- Gradient Backgrounds --- */
.gradient-purple {
  background: linear-gradient(135deg, var(--purple-deep) 0%, var(--purple-mid) 50%, var(--purple-light) 100%);
}

.gradient-purple-dark {
  background: linear-gradient(180deg, var(--dark) 0%, var(--purple-deep) 100%);
}

.gradient-lime {
  background: linear-gradient(135deg, var(--lime-dark) 0%, var(--lime) 100%);
}

.gradient-hero {
  background: linear-gradient(135deg, rgba(15, 10, 26, 0.92) 0%, rgba(74, 14, 120, 0.85) 50%, rgba(107, 33, 168, 0.75) 100%);
}

/* --- Glassmorphism Card --- */
.glass-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(160, 217, 17, 0.3);
}

/* --- Glass card on light backgrounds --- */
.glass-card-light {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(74, 14, 120, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.glass-card-light:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--purple-mid);
}

/* --- Section Divider (lime green line like the brochure) --- */
.section-divider {
  width: 80px;
  height: 4px;
  background: var(--lime);
  border: none;
  border-radius: 2px;
  margin: 1rem 0 2rem 0;
}

.section-divider-center {
  width: 80px;
  height: 4px;
  background: var(--lime);
  border: none;
  border-radius: 2px;
  margin: 1rem auto 2rem auto;
}

/* --- Logo Bracket Frame (CSS recreation of the Dixies logo style) --- */
.logo-bracket {
  position: relative;
  display: inline-block;
  padding: 0.35rem 0.25rem 0.2rem 0.45rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--lime);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.1;
}

.logo-bracket::before,
.logo-bracket::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: var(--white);
  border-style: solid;
}

.logo-bracket::before {
  top: -2px;
  left: -4px;
  border-width: 3px 0 0 3px;
}

.logo-bracket::after {
  bottom: -2px;
  right: -4px;
  border-width: 0 3px 3px 0;
}

.logo-subtitle {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.45rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--lime);
  text-align: center;
  margin-top: 0.05rem;
  padding-right: 0.2rem;
}

/* --- Buttons --- */
.btn-lime {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: var(--lime);
  color: var(--purple-deep);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 16px var(--lime-glow);
}

.btn-lime:hover {
  background: var(--lime-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-lime);
}

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

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: transparent;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid var(--lime);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-outline:hover {
  background: var(--lime);
  color: var(--purple-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-lime);
}

.btn-purple {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: var(--purple-deep);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 16px var(--purple-glow);
}

.btn-purple:hover {
  background: var(--purple-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-purple);
}

/* --- Quote Basket Floating Button --- */
.quote-basket-fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--purple-deep);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-glow-lime);
  transition: all var(--transition-base);
  z-index: 1000;
}

.quote-basket-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 0 40px var(--lime-glow);
}

.quote-basket-fab .badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--purple-deep);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--lime);
  transition: transform var(--transition-base);
}

.quote-basket-fab:hover .badge {
  transform: scale(1.15);
}

/* --- Quote Basket Slide-Out Panel --- */
.quote-panel {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  max-width: 90vw;
  height: 100vh;
  background: var(--dark);
  border-left: 2px solid var(--purple-mid);
  z-index: 2000;
  transition: right var(--transition-slow);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.5);
}

.quote-panel.open {
  right: 0;
}

.quote-panel-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.quote-panel-overlay.open {
  opacity: 1;
  pointer-events: all;
}

/* --- Skeleton Loader (for catalogue loading state) --- */
.skeleton {
  background: linear-gradient(90deg, var(--grey-200) 25%, #f0f0f0 50%, var(--grey-200) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
  border-radius: var(--radius-sm);
}

/* --- Catalogue Filter Buttons (index.html inline grid) --- */
.catalog-filter-btn {
  padding: 0.5rem 1.1rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 2px solid var(--purple-deep);
  color: var(--purple-deep);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.catalog-filter-btn:hover,
.catalog-filter-active { background: var(--purple-deep); color: #fff; }

/* --- Catalogue page sidebar buttons --- */
.cat-sidebar-btn {
  display: block;
  padding: 0.45rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: left;
}
.cat-sidebar-btn:hover    { color: #fff; background: rgba(255,255,255,0.05); }
.cat-sidebar-active       { color: var(--lime) !important; background: rgba(160,217,17,0.08) !important; font-weight: 600; }

/* --- Catalogue page pagination --- */
.cat-page-btn {
  padding: 0.4rem 0.85rem;
  border-radius: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  cursor: pointer;
  transition: all 0.15s ease;
}
.cat-page-btn:hover  { color: #fff; background: rgba(255,255,255,0.1); }
.cat-page-active     { color: var(--dark); background: var(--lime); border-color: var(--lime); }

/* --- Toast Notification --- */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  padding: 1rem 2rem;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 3000;
  opacity: 0;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast-success {
  background: var(--lime);
  color: var(--purple-deep);
  box-shadow: var(--shadow-glow-lime);
}

.toast-error {
  background: #EF4444;
  color: var(--white);
  box-shadow: 0 0 30px rgba(239, 68, 68, 0.4);
}

/* --- Navbar Badge (header quote count) --- */
.nav-basket-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  background: var(--lime);
  color: var(--purple-deep);
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px var(--lime-glow);
  }
  50% {
    box-shadow: 0 0 40px var(--lime-glow), 0 0 60px rgba(160, 217, 17, 0.15);
  }
}

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

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* --- Scroll-triggered animation classes --- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}

.animate-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }
.animate-on-scroll.delay-5 { transition-delay: 0.5s; }

/* --- Floating decorative shapes (hero) --- */
.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.12;
  pointer-events: none;
}

.hero-shape-1 {
  width: 300px;
  height: 300px;
  background: var(--lime);
  top: 10%;
  right: -80px;
  animation: float 6s ease-in-out infinite;
}

.hero-shape-2 {
  width: 180px;
  height: 180px;
  background: var(--purple-light);
  bottom: 15%;
  left: -50px;
  animation: float 8s ease-in-out infinite 1s;
}

.hero-shape-3 {
  width: 100px;
  height: 100px;
  border: 3px solid var(--lime);
  background: transparent;
  top: 50%;
  left: 15%;
  animation: float 7s ease-in-out infinite 0.5s;
  opacity: 0.08;
}

/* ============================================================
   RESPONSIVE OVERRIDES & MOBILE OPTIMIZATIONS
   ============================================================ */

@media (max-width: 768px) {
  :root {
    --section-pad-y: 2.5rem;
    --section-pad-x: 1rem;
  }

  /* Tighten vertical paddings on mobile globally */
  .py-24 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  .pt-20 {
    padding-top: 2.5rem !important;
  }
  .pb-12 {
    padding-bottom: 1.5rem !important;
  }
  .pt-12 {
    padding-top: 1.5rem !important;
  }
  .pb-8 {
    padding-bottom: 1rem !important;
  }
  .pb-20 {
    padding-bottom: 2.5rem !important;
  }

  /* Modern Touch-Friendly Horizontal Carousel on Mobile */
  .mobile-scroll-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important; /* Firefox */
    -ms-overflow-style: none !important;  /* IE/Edge */
    margin-left: -1rem !important;  /* Full edge-to-edge touch target */
    margin-right: -1rem !important;
    padding-left: 1rem !important;
    padding-right: 1.5rem !important;
    padding-bottom: 1.2rem !important;
    gap: 1rem !important;
    width: auto !important;
  }

  .mobile-scroll-row::-webkit-scrollbar {
    display: none !important; /* Chrome/Safari */
  }

  /* Each card in horizontal scroll takes up 74% width (smaller and more compact) */
  .mobile-scroll-row > * {
    flex: 0 0 74% !important;
    width: 74% !important;
    scroll-snap-align: start !important;
    margin-bottom: 0.5rem !important; /* Keep shadows visible */
    padding: 1.25rem !important; /* Tighten internal card padding from p-8/p-7 to p-5 */
  }

  /* Scale down internal icons inside cards on mobile to match the smaller layout */
  .mobile-scroll-row .w-16, .mobile-scroll-row .h-16 {
    width: 3.25rem !important;
    height: 3.25rem !important;
  }
  .mobile-scroll-row .w-14, .mobile-scroll-row .h-14 {
    width: 3rem !important;
    height: 3rem !important;
  }
  .mobile-scroll-row .mb-6 {
    margin-bottom: 1rem !important;
  }
  .mobile-scroll-row .mb-8 {
    margin-bottom: 1.25rem !important;
  }

  /* Round corners of card image headers/coloured icon containers on mobile */
  .mobile-scroll-row .h-40, .mobile-scroll-row .h-48 {
    border-radius: 0.75rem !important;
  }
  
  /* Make text inside carousel cards slightly smaller and tighter */
  .mobile-scroll-row p, .mobile-scroll-row span {
    font-size: 0.825rem !important;
    line-height: 1.4 !important;
  }
  .mobile-scroll-row h3, .mobile-scroll-row h4 {
    font-size: 1.15rem !important;
    margin-bottom: 0.35rem !important;
  }
  .mobile-scroll-row li {
    font-size: 0.775rem !important;
  }

  /* Make headings less clunky on mobile devices */
  h2.text-4xl, h2.sm\:text-5xl, .text-4xl, .sm\:text-5xl {
    font-size: 1.85rem !important;
  }

  .logo-bracket {
    font-size: 1.15rem;
    padding: 0.3rem 0.6rem;
  }

  .btn-lime, .btn-outline, .btn-purple {
    padding: 0.75rem 1.5rem;
    font-size: 0.85rem;
  }

  .hero-shape { display: none; }
}

@media (max-width: 480px) {
  .btn-lime, .btn-outline, .btn-purple {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   PRODUCT CARD & LIGHTBOX CAROUSEL IMPROVEMENTS
   ============================================================ */

/* --- Card Image Slider --- */
.card-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(15, 10, 26, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s var(--ease-out-expo), background-color 0.2s, transform 0.2s;
  z-index: 10;
}

.glass-card:hover .card-nav-btn {
  opacity: 1;
}

.card-nav-btn:hover {
  background: var(--lime);
  color: var(--purple-deep);
  transform: translateY(-50%) scale(1.1);
  border-color: var(--lime);
}

.card-prev-btn {
  left: 8px;
}

.card-next-btn {
  right: 8px;
}

.card-dots-container {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
  background: rgba(15, 10, 26, 0.4);
  padding: 4px 10px;
  border-radius: 9999px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.card-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
}

.card-dot:hover {
  background: rgba(255, 255, 255, 0.85);
  transform: scale(1.2);
}

.card-dot-active {
  background: var(--lime) !important;
  transform: scale(1.2);
}

/* --- Multi-Image Lightbox (Zoom) --- */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 10, 26, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 1.5rem;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 3.5rem;
  cursor: pointer;
  transition: color 0.2s, transform 0.2s;
  z-index: 100001;
  line-height: 1;
}

.lightbox-close:hover {
  color: var(--lime);
  transform: scale(1.1);
}

.lightbox-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 90%;
  max-height: 90%;
  z-index: 100000;
}

.lightbox-main-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
}

.lightbox-main-img {
  width: 500px;
  max-width: 100%;
  height: auto;
  max-height: 60vh;
  object-fit: contain;
  border-radius: 1rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(74, 14, 120, 0.3);
  transform: scale(0.92);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  background-color: #fff;
  padding: 1rem;
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.lightbox-arrow:hover {
  background: var(--lime);
  color: var(--purple-deep);
  border-color: var(--lime);
  transform: translateY(-50%) scale(1.1);
  box-shadow: var(--shadow-glow-lime);
}

.lightbox-arrow-prev {
  left: -60px;
}

.lightbox-arrow-next {
  right: -60px;
}

/* Lightbox controls adjustment for smaller viewports */
@media (max-width: 768px) {
  .lightbox-arrow {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }
  .lightbox-arrow-prev {
    left: 8px;
  }
  .lightbox-arrow-next {
    right: 8px;
  }
}

.lightbox-caption {
  color: #fff;
  margin-top: 1.25rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  margin-bottom: 1.25rem;
}

.lightbox-thumbs-container {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  max-width: 100%;
  padding: 4px 8px;
  scrollbar-width: thin;
}

.lightbox-thumb {
  width: 56px;
  height: 56px;
  object-fit: contain;
  background-color: #fff;
  border: 2px solid transparent;
  border-radius: 6px;
  padding: 3px;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s;
  flex-shrink: 0;
}

.lightbox-thumb:hover {
  transform: translateY(-2px);
  border-color: rgba(160, 217, 17, 0.5);
}

.lightbox-thumb-active {
  border-color: var(--lime) !important;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 0 10px var(--lime-glow);
}

/* --- Color Swatches --- */
.color-swatch {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  padding: 0;
  transition: transform 0.25s var(--ease-out-expo), border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.color-swatch:hover {
  transform: scale(1.25);
  border-color: #ffffff;
}

.color-swatch-active {
  transform: scale(1.25);
  border-color: var(--lime) !important;
  box-shadow: 0 0 8px var(--lime-glow);
}

/* --- Hide Scrollbar Utility --- */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
