/* ==========================================================================
   APOP Landing Page Styling System - Vanilla CSS
   ========================================================================== */

:root {
  /* Brand Colors */
  --primary-blue: #057C91;
  --primary-blue-rgb: 5, 124, 145;
  --vibrant-yellow: #EEA920;
  --vibrant-yellow-rgb: 238, 169, 32;
  --accent-orange: #EE6D23;
  --accent-orange-rgb: 238, 109, 35;
  
  /* Neutral Palette */
  --bg-light: #F6F8F9;
  --bg-white: #FFFFFF;
  --dark-slate: #0C1E22;
  --dark-slate-rgb: 12, 30, 34;
  --text-dark: #1E2E31;
  --text-muted: #5C6E72;
  --border-light: rgba(5, 124, 145, 0.12);
  
  /* Fonts */
  --font-headings: 'Kodchasan', sans-serif;
  --font-body: 'Merriweather', serif;
  
  /* Dimensions & Shadows */
  --header-height: 80px;
  --shadow-sm: 0 4px 12px rgba(5, 124, 145, 0.04);
  --shadow-md: 0 12px 36px rgba(5, 124, 145, 0.08);
  --shadow-lg: 0 24px 60px rgba(12, 30, 34, 0.12);
  
  /* Transitions */
  --transition-smooth: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-spring: all 0.5s cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

/* ==========================================================================
   Base & Reset Styles
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-light);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 600;
  color: var(--dark-slate);
  line-height: 1.25;
}

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

ul {
  list-style: none;
}

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

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

button {
  cursor: pointer;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
  background: rgba(5, 124, 145, 0.3);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-blue);
}

/* ==========================================================================
   Announcement Bar (Top)
   ========================================================================== */
.announcement-bar {
  background-color: var(--dark-slate);
  color: var(--bg-white);
  font-family: var(--font-headings);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 8px 0;
  overflow: hidden;
  border-bottom: 2px solid var(--vibrant-yellow);
  z-index: 1000;
  position: relative;
}

.ticker-wrapper {
  width: 100%;
  overflow: hidden;
  display: flex;
}

.ticker-content {
  display: flex;
  white-space: nowrap;
  animation: ticker 25s linear infinite;
  padding-left: 100%;
}

.ticker-content span {
  padding: 0 30px;
  display: inline-flex;
  align-items: center;
}

@keyframes ticker {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-100%, 0, 0); }
}

/* Hover pause */
.announcement-bar:hover .ticker-content {
  animation-play-state: paused;
}

/* ==========================================================================
   Header Navigation
   ========================================================================== */
.main-header {
  height: var(--header-height);
  background-color: var(--header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 999;
  transition: var(--transition-smooth);
}

.main-header.scrolled {
  height: 70px;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
}

.header-container {
  max-width: 1400px;
  height: 100%;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.logo-area .logo-link {
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-family: var(--font-headings);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-blue);
  line-height: 1;
  letter-spacing: -0.02em;
  position: relative;
  display: inline-block;
}

.logo-text::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 18px;
  height: 3px;
  background-color: var(--accent-orange);
  border-radius: 2px;
}

.logo-slogan {
  font-family: var(--font-headings);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* Navigation Menu */
.nav-menu ul {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-headings);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  padding: 8px 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-blue);
  transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-blue);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cart-toggle-btn {
  width: 48px;
  height: 48px;
  background-color: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: var(--dark-slate);
  transition: var(--transition-smooth);
  border: 1px solid var(--border-light);
}

.cart-toggle-btn:hover {
  background-color: var(--primary-blue);
  color: var(--bg-white);
  border-color: var(--primary-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(5, 124, 145, 0.2);
}

.cart-icon {
  width: 22px;
  height: 22px;
}

.cart-count-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: var(--accent-orange);
  color: var(--bg-white);
  font-family: var(--font-headings);
  font-size: 0.75rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-white);
  animation: badgePop 0.3s ease;
}

@keyframes badgePop {
  0% { transform: scale(0); }
  80% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
}

.mobile-nav-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--dark-slate);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 60px 0 100px;
  background: radial-gradient(circle at 80% 20%, rgba(5, 124, 145, 0.05) 0%, transparent 60%),
              radial-gradient(circle at 10% 80%, rgba(238, 169, 32, 0.03) 0%, transparent 50%);
  position: relative;
  overflow: hidden;
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.badge-premium {
  display: inline-block;
  background-color: rgba(5, 124, 145, 0.08);
  color: var(--primary-blue);
  font-family: var(--font-headings);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
  border: 1px solid rgba(5, 124, 145, 0.15);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--dark-slate);
  margin-bottom: 24px;
}

.hero-title span {
  color: var(--primary-blue);
  position: relative;
}

.hero-title span::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: rgba(238, 169, 32, 0.3);
  z-index: -1;
  border-radius: 4px;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

/* Button UI */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 14px 28px;
  border-radius: 8px;
  transition: var(--transition-smooth);
}

.btn-primary {
  background-color: var(--primary-blue);
  color: var(--bg-white);
  box-shadow: 0 8px 24px rgba(5, 124, 145, 0.25);
}

.btn-primary:hover {
  background-color: #046576;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(5, 124, 145, 0.35);
}

.btn-secondary {
  background-color: var(--bg-white);
  color: var(--primary-blue);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: rgba(5, 124, 145, 0.04);
  color: #046576;
  border-color: rgba(5, 124, 145, 0.3);
  transform: translateY(-2px);
}

/* Stats */
.hero-stats {
  display: flex;
  gap: 40px;
  border-top: 1px solid var(--border-light);
  padding-top: 32px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-headings);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary-blue);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* Hero Visual Graphic */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 4px solid var(--bg-white);
  width: 100%;
  max-width: 580px;
  background: #EAEAEA;
}

.hero-image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.hero-image-wrapper:hover .hero-image {
  transform: scale(1.03);
}

/* Glass Floating Card */
.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow-md);
  border-radius: 12px;
}

.hero-overlay-card {
  position: absolute;
  bottom: 24px;
  left: 24px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 280px;
  animation: floatOverlay 4s ease-in-out infinite alternate;
}

.overlay-card-icon {
  font-size: 1.5rem;
  background-color: rgba(238, 169, 32, 0.15);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay-card h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark-slate);
}

.hero-overlay-card p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

@keyframes floatOverlay {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

/* ==========================================================================
   Section Layout Components
   ========================================================================== */
.section-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 40px;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-subtitle {
  font-family: var(--font-headings);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent-orange);
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--dark-slate);
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
}

.section-divider {
  width: 60px;
  height: 3px;
  background-color: var(--primary-blue);
  margin: 0 auto 20px;
  border-radius: 2px;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ==========================================================================
   Features Section
   ========================================================================== */
.features-section {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 20px;
}

.feature-card {
  padding: 32px 24px;
  border-radius: 12px;
  background-color: var(--bg-light);
  border: 1px solid rgba(5, 124, 145, 0.04);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.feature-card:hover {
  transform: translateY(-8px);
  background-color: var(--bg-white);
  box-shadow: var(--shadow-md);
  border-color: rgba(5, 124, 145, 0.15);
}

.feature-icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  background-color: rgba(5, 124, 145, 0.08);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon-wrapper {
  background-color: var(--primary-blue);
  color: var(--bg-white);
}

.feature-icon-wrapper svg {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Product Category Grid Section
   ========================================================================== */
.categories-section {
  background-color: var(--bg-light);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.category-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition-smooth);
  border: 1px solid rgba(5, 124, 145, 0.06);
  display: flex;
  flex-direction: column;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(5, 124, 145, 0.15);
}

.category-img-container {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/11;
  background: #EAEAEA;
}

.category-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.category-card:hover .category-img {
  transform: scale(1.05);
}

.category-overlay {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
}

.price-badge {
  background-color: var(--accent-orange);
  color: var(--bg-white);
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 6px 14px;
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(238, 109, 35, 0.3);
}

.category-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.category-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.category-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.category-card .btn {
  margin-top: auto;
  width: 100%;
}

/* Adjust grid alignment for the 5 categories (1st row has 3 items, 2nd row has 2 items centered) */
.categories-grid > :nth-child(4), .categories-grid > :nth-child(5) {
  grid-column: span 1;
}

@media (min-width: 992px) {
  .categories-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .categories-grid > :nth-child(1),
  .categories-grid > :nth-child(2),
  .categories-grid > :nth-child(3) {
    grid-column: span 2;
  }
  .categories-grid > :nth-child(4) {
    grid-column: 2 / span 2;
  }
  .categories-grid > :nth-child(5) {
    grid-column: 4 / span 2;
  }
}

/* ==========================================================================
   Interactive Configurator Modal (Backdrop & Window)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(12, 30, 34, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  width: 90%;
  max-width: 840px;
  background: rgba(255, 255, 255, 0.88);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  position: relative;
  transform: translateY(30px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: var(--shadow-lg);
}

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

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  transition: var(--transition-smooth);
}

.modal-close-btn:hover {
  background-color: var(--primary-blue);
  color: var(--bg-white);
  transform: rotate(90deg);
}

.modal-close-btn svg {
  width: 18px;
  height: 18px;
}

.modal-content-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
}

.modal-preview {
  background-color: var(--bg-light);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  aspect-ratio: 16/12;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-img-display {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-options {
  display: flex;
  flex-direction: column;
}

.brand-tag {
  font-family: var(--font-headings);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--primary-blue);
  text-transform: uppercase;
  margin-bottom: 6px;
}

#modal-product-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.modal-price {
  font-family: var(--font-headings);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-orange);
  margin-bottom: 24px;
}

.option-group {
  margin-bottom: 20px;
}

.option-label {
  display: block;
  font-family: var(--font-headings);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark-slate);
  margin-bottom: 10px;
}

/* Option Cards */
.finish-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.finish-card {
  cursor: pointer;
}

.finish-card input {
  display: none;
}

.finish-card-content {
  display: flex;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 8px;
  border: 2px solid var(--border-light);
  background-color: var(--bg-white);
  transition: var(--transition-smooth);
}

.finish-card input:checked + .finish-card-content {
  border-color: var(--primary-blue);
  background-color: rgba(5, 124, 145, 0.03);
}

.finish-icon {
  font-size: 1.25rem;
  margin-top: 2px;
}

.finish-card-content h4 {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.finish-card-content p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Quantity selector */
.quantity-controller {
  display: inline-flex;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  overflow: hidden;
  background-color: var(--bg-white);
}

.qty-btn {
  width: 40px;
  height: 40px;
  background-color: var(--bg-light);
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.qty-btn:hover {
  background-color: var(--primary-blue);
  color: var(--bg-white);
}

#modal-qty {
  width: 50px;
  text-align: center;
  font-family: var(--font-headings);
  font-weight: 600;
}

/* Remove spin buttons */
#modal-qty::-webkit-outer-spin-button,
#modal-qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.modal-subtotal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
  margin-top: 12px;
  margin-bottom: 24px;
}

.modal-subtotal-row span {
  font-family: var(--font-headings);
  font-size: 1.1rem;
  font-weight: 600;
}

.subtotal-val {
  color: var(--primary-blue);
  font-size: 1.35rem !important;
}

.add-to-cart-submit {
  width: 100%;
}

/* ==========================================================================
   Shopping Cart Slide Drawer
   ========================================================================== */
.cart-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(12, 30, 34, 0.4);
  z-index: 1001;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.cart-drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -450px;
  width: 100%;
  max-width: 440px;
  height: 100vh;
  background-color: var(--bg-white);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.08);
  z-index: 1002;
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.cart-drawer.active {
  right: 0;
}

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

.cart-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

.cart-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.cart-close-btn:hover {
  background-color: var(--primary-blue);
  color: var(--bg-white);
}

.cart-close-btn svg {
  width: 16px;
  height: 16px;
}

.cart-items-container {
  flex-grow: 1;
  overflow-y: auto;
  padding: 30px;
}

/* Empty Cart State */
.empty-cart-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 60%;
  text-align: center;
}

.empty-cart-icon {
  width: 70px;
  height: 70px;
  color: rgba(5, 124, 145, 0.2);
  margin-bottom: 20px;
}

.empty-cart-state p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

/* Cart Items List */
.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cart-item {
  display: flex;
  gap: 16px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 20px;
}

.cart-item-preview {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--bg-light);
  border: 1px solid var(--border-light);
  flex-shrink: 0;
}

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

.cart-item-details {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.cart-item-name {
  font-family: var(--font-headings);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.cart-item-finish {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.cart-item-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.cart-item-qty {
  display: flex;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  overflow: hidden;
  height: 28px;
}

.cart-item-qty-btn {
  width: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-light);
  font-size: 0.8rem;
  font-weight: 600;
}

.cart-item-qty-btn:hover {
  background-color: var(--primary-blue);
  color: var(--bg-white);
}

.cart-item-qty-val {
  width: 30px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 28px;
}

.cart-item-price-remove {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.cart-item-price {
  font-family: var(--font-headings);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark-slate);
}

.cart-item-remove-btn {
  color: var(--accent-orange);
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.cart-item-remove-btn:hover {
  text-decoration: underline;
}

/* Cart Footer */
.cart-footer {
  padding: 30px;
  border-top: 1px solid var(--border-light);
  background-color: var(--bg-light);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.cart-total-row span {
  font-family: var(--font-headings);
  font-size: 1.15rem;
  font-weight: 600;
}

.cart-total-value {
  color: var(--accent-orange);
  font-size: 1.4rem !important;
}

.cart-note {
  font-size: 0.75rem;
  color: var(--primary-blue);
  font-style: italic;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.checkout-btn {
  width: 100%;
}

/* ==========================================================================
   Footer Section
   ========================================================================== */
.main-footer {
  background-color: var(--dark-slate);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 30px;
  border-top: 4px solid var(--primary-blue);
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-col h3 {
  color: var(--bg-white);
  font-size: 1.15rem;
  margin-bottom: 24px;
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--vibrant-yellow);
}

/* Brand col */
.brand-col .footer-logo {
  color: var(--bg-white);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.brand-col .footer-slogan {
  font-family: var(--font-headings);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--vibrant-yellow);
  margin-bottom: 20px;
}

.brand-col .footer-desc {
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Social links */
.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.social-link:hover {
  background-color: var(--primary-blue);
  transform: translateY(-3px);
  border-color: var(--primary-blue);
}

.social-icon {
  width: 16px;
  height: 16px;
}

/* Nav links in footer */
.link-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.link-col a {
  font-size: 0.9rem;
}

.link-col a:hover {
  color: var(--vibrant-yellow);
  padding-left: 6px;
}

/* Contact info in footer */
.company-subname {
  font-family: var(--font-headings);
  font-weight: 600;
  color: var(--bg-white);
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  gap: 14px;
  font-size: 0.85rem;
  line-height: 1.6;
}

.contact-icon-svg {
  width: 20px;
  height: 20px;
  color: var(--primary-blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item strong {
  color: var(--bg-white);
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   Responsive & Adaptive Media Queries
   ========================================================================== */

@media (max-width: 1200px) {
  .hero-title {
    font-size: 3rem;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .header-container {
    padding: 0 24px;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
    padding: 20px 24px;
  }
  
  .hero-description {
    margin: 0 auto 32px;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .hero-image-wrapper {
    max-width: 480px;
    margin: 0 auto;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  /* Mobile Menu Toggling styles */
  .mobile-nav-toggle {
    display: flex;
    z-index: 1000;
  }
  
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--bg-white);
    padding: 40px 24px;
    z-index: 998;
    transition: var(--transition-smooth);
    border-top: 1px solid var(--border-light);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-menu ul {
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }
  
  .nav-link {
    font-size: 1.25rem;
  }
  
  .mobile-nav-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .mobile-nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-nav-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .modal-content-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .modal-container {
    padding: 30px 20px;
    max-height: 90vh;
    overflow-y: auto;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 2.25rem;
  }
  
  .section-container {
    padding: 60px 20px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .categories-grid {
    grid-template-columns: 1fr !important;
  }
  
  .categories-grid > * {
    grid-column: span 1 !important;
  }
  
  .cart-drawer {
    max-width: 100%;
  }
}
