/* =========================================
   JANTA OPTICAL CENTER - PREMIUM THEME
   Inspired by Lenskart / Amazon Premium
========================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@500;700&display=swap');

:root {
  /* Colors */
  --primary: #111111;
  /* Deep Black */
  --secondary: #333333;
  /* Dark Gray */
  --accent: #00bac6;
  /* Lenskart-ish Teal / Cyan for primary actions */
  --accent-hover: #009da8;
  --bg-page: #fafbfc;
  /* Soft Off-White */
  --bg-light: #f0f2f5;
  /* Adjusted light gray */
  --text-main: #111111;
  --text-muted: #666666;
  --border-color: #e8eaed;
  /* Slightly warmer border */
  --white: #ffffff;

  /* Spacing */
  --container-width: 1400px;
  --section-padding: 80px;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 20px rgba(0, 0, 0, 0.08);
  /* Soft elevation */
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.5;
  overflow-x: hidden;
  width: 100%;
}

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

ul {
  list-style: none;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* UTILITIES */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-weight: 600;
  border-radius: 4px;
  /* Slightly squared for modern feel */
  transition: all var(--transition-fast);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 13px;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--secondary);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}

.btn-secondary:hover {
  background-color: var(--primary);
  color: var(--white);
}

/* ===========================
   NAVBAR
=========================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #f0f0f0;
  height: 80px;
  display: flex;
  align-items: center;
}

.navbar-content {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  font-size: 28px;
}

.logo h1 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--text-main);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-search-btn,
.nav-cart-btn {
  font-size: 20px;
  color: var(--text-main);
  position: relative;
  transition: transform 0.2s;
}

.nav-cart-btn:hover {
  transform: scale(1.1);
}

.nav-cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--accent);
  color: var(--white);
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 10px;
  font-weight: 700;
}

.nav-toggle {
  display: none;
  font-size: 24px;
}

/* ===========================
   MOBILE BOTTOM NAVBAR (APP-LIKE)
=========================== */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--white);
  border-top: 1px solid #f0f0f0;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
  z-index: 999;
  padding: 0;
  padding-bottom: max(0px, env(safe-area-inset-bottom));
}

.mobile-bottom-nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  height: 100%;
  gap: 4px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
  color: var(--accent);
}

.mobile-nav-icon {
  font-size: 20px;
}

.mobile-nav-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mobile-nav-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--accent);
  color: white;
  font-size: 9px;
  padding: 2px 4px;
  border-radius: 8px;
  font-weight: 700;
  min-width: 16px;
  text-align: center;
}

/* ===========================
   HERO SECTION
=========================== */
.hero {
  position: relative;
  width: 100%;
  background-color: var(--white);
  overflow: hidden;
  padding: 60px 0;
  border-bottom: 1px solid #f0f0f0;
}

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

.hero-content {
  z-index: 2;
  animation: fadeUp 0.8s ease forwards;
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: block;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 64px;
  line-height: 1.1;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
}

.hero-image-wrapper {
  position: relative;
  height: 500px;
  /* Reduced from older version */
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  /* Softer edges */
  box-shadow: var(--shadow-lg);
  transform: perspective(1000px) rotateY(-5deg);
  /* Slight 3D skew */
  transition: transform 0.5s ease;
}

.hero-container:hover .hero-img {
  transform: perspective(1000px) rotateY(0deg);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===========================
   CATEGORIES SECTION
=========================== */
.section {
  padding: var(--section-padding) 40px;
}

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

.section-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-muted);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 24px;
  max-width: var(--container-width);
  margin: 0 auto;
}

.category-card {
  background: var(--white);
  border: 1px solid #f0f0f0;
  padding: 30px 20px;
  text-align: center;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.category-card:hover,
.category-card.active {
  border-color: var(--accent) !important;
  box-shadow: 0 8px 24px rgba(0, 186, 198, 0.12);
  transform: translateY(-5px);
  background: var(--white);
}

.category-card.active span {
  color: var(--accent);
}

.cat-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.category-card span {
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
}

/* ===========================
   PRODUCTS GRID
=========================== */
.products-section {
  background: var(--bg-page);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
  max-width: var(--container-width);
  margin: 0 auto;
}

/* PREMIUM PRODUCT CARD — MODERN & SLEEK */
.product-card {
  background: var(--white);
  border-radius: 16px;
  position: relative;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #f0f0f0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  border-color: #e8eaed;
}

.product-image-wrap {
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
  overflow: hidden;
  height: 360px;
  width: 100%;
  cursor: pointer;
  border-radius: 0;
  margin: 0;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #f0f0f0;
}

.product-image {
  width: 95%;
  height: 95%;
  object-fit: contain;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 20px;
}

.product-image-wrap:hover .product-image {
  transform: scale(1.08);
}

/* Thumbnails on Card */
.product-thumbnails {
  display: flex;
  gap: 10px;
  padding: 16px 20px;
  overflow-x: auto;
  scrollbar-width: none;
  background: #f8f9fa;
  border-bottom: 1px solid #f0f0f0;
}

.product-thumbnails::-webkit-scrollbar {
  display: none;
}

.card-thumb {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 10px;
  border: 2.5px solid #e8e8e8;
  cursor: pointer;
  opacity: 0.7;
  transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  padding: 4px;
  background: white;
}

.card-thumb:hover,
.card-thumb.active {
  opacity: 1;
  border-color: var(--accent);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 186, 198, 0.25);
}

.product-info {
  padding: 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-info h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-info .price {
  font-size: 20px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

/* Overlay button on card (hidden by default, shows on hover for desktop) */
.product-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  width: auto;
  padding: 0;
  background: transparent;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.overlay-actions button {
  background: var(--primary);
  color: white;
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.overlay-actions button:hover {
  background: var(--accent);
  color: white;
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 186, 198, 0.35);
}

/* ===========================
   FEATURES
=========================== */
.features-section {
  background: var(--white);
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: var(--container-width);
  margin: 0 auto;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.feature-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.feature-item h4 {
  font-weight: 600;
  margin-bottom: 6px;
}

.feature-item p {
  font-size: 14px;
  color: var(--text-muted);
}

/* ===========================
   FOOTER
=========================== */
.site-footer {
  background: #1a1a1a;
  color: #cccccc;
  padding: 50px 40px 20px;
}

.footer-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 0.8fr 0.8fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h4 {
  color: white;
  font-size: 18px;
  margin-bottom: 12px;
  font-family: 'Playfair Display', serif;
}

.footer-brand p {
  margin-bottom: 16px;
  font-size: 13px;
  line-height: 1.5;
}

.socials {
  display: flex;
  gap: 12px;
}

.socials a {
  color: white;
  font-weight: 600;
  font-size: 13px;
}

.site-footer h5 {
  color: white;
  font-size: 14px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.site-footer ul li {
  margin-bottom: 8px;
  font-size: 13px;
}

.site-footer a:hover {
  color: var(--accent);
}

.newsletter {
  display: flex;
  gap: 0;
}

.newsletter input {
  padding: 12px;
  border-radius: 4px 0 0 4px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  flex: 1;
}

.newsletter button {
  padding: 12px 20px;
  background: var(--accent);
  color: white;
  font-weight: 700;
  border-radius: 0 4px 4px 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 12px;
}

/* ===========================
   MODAL - SCROLLABLE SLIDESHOW
=========================== */
.slideshow-modal {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.98);
  z-index: 2000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.slideshow-modal.open {
  display: flex !important;
  opacity: 1;
}

.slideshow-content {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  position: relative;
}

.slideshow-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 40px;
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  z-index: 2001;
}

.slideshow-scroller {
  width: 100%;
  height: 100%;
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  align-items: center;
}

.slideshow-scroller::-webkit-scrollbar {
  display: none;
}

.slideshow-item {
  min-width: 100%;
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  scroll-snap-align: center;
}

.slideshow-item img {
  max-width: 90%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: var(--shadow-lg);
}

.slideshow-indicators {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 20px;
}

.slideshow-thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.5;
  transition: 0.3s;
}

.slideshow-thumb.active {
  border-color: var(--primary);
  opacity: 1;
  transform: scale(1.1);
}

.slideshow-info {
  text-align: center;
  padding-bottom: 40px;
}

.slideshow-info h3 {
  font-size: 24px;
  font-weight: 700;
}

.slideshow-info p {
  font-size: 20px;
  color: var(--accent);
  font-weight: 600;
  margin: 8px 0 16px;
}

/* ===========================
   CART DRAWER & UTILS 
=========================== */
.cart-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 400px;
  max-width: 90vw;
  height: 100vh;
  background: #ffffff !important;
  z-index: 9999 !important;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2) !important;
  transition: right 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  display: flex !important;
  flex-direction: column;
  opacity: 1 !important;
  visibility: visible !important;
}

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

.cart-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff !important;
  z-index: 10001;
}

.cart-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
}

.cart-close {
  font-size: 28px;
  line-height: 1;
  color: var(--text-muted);
  transition: 0.2s;
}

.cart-close:hover {
  color: #ff4d4f;
}

.cart-content {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  background: #f8f9fa;
  z-index: 10000;
}

.cart-item {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 16px;
  padding: 16px;
  background: var(--white);
  border-radius: 8px;
  margin-bottom: 12px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border-color);
  align-items: center;
}

.cart-item img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 6px;
}

.cart-item h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 4px;
}

.cart-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--primary);
  transition: .2s;
  cursor: pointer;
}

.qty-btn:hover {
  background: #e0e0e0;
}

.qty-val {
  font-size: 14px;
  font-weight: 600;
  width: 24px;
  text-align: center;
}

.remove-btn-icon {
  color: #ff4d4f;
  background: rgba(255, 77, 79, 0.1);
  padding: 8px;
  border-radius: 4px;
  cursor: pointer;
}

.remove-btn-icon:hover {
  background: rgba(255, 77, 79, 0.2);
}

.cart-footer {
  padding: 24px;
  background: #ffffff !important;
  border-top: 1px solid var(--border-color);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 10001;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
}

.btn-checkout,
.btn-whatsapp {
  width: 100%;
  padding: 14px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s;
  cursor: pointer;
  text-align: center;
}

.btn-checkout {
  background: var(--primary);
  color: white;
  border: none;
}

.btn-checkout:hover {
  background: #000;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-whatsapp {
  background: #25D366;
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-whatsapp:hover {
  background: #20bd5a;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.shipping-bar {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: #0369a1;
  font-size: 13px;
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 16px;
  text-align: center;
}

.shipping-bar.success {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #15803d;
}

.backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9998 !important;
  display: none;
  backdrop-filter: blur(4px);
}

.backdrop.open {
  display: block;
}

.checkout-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 10002 !important;
  display: none;
  align-items: center;
  justify-content: center;
}

.checkout-modal.active {
  display: flex;
}

.checkout-card {
  background: white;
  width: 520px;
  max-width: 95vw;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px;
  border-radius: 12px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.checkout-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--primary);
  margin-bottom: 6px;
}

.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
  padding: 12px 14px;
  border: 1.5px solid var(--border-color);
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  color: var(--primary);
  transition: border-color 0.2s;
  background: #fafafa;
  width: 100%;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: white;
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
  color: var(--text-muted);
}

.empty-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.summary-divider {
  height: 1px;
  background: var(--border-color);
  margin-bottom: 16px;
}

.tax-info {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 4px;
}

.toasts {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10005 !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.toast {
  background: var(--primary);
  color: white;
  padding: 12px 24px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  animation: slideUp 0.3s ease;
  white-space: nowrap;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===========================
   MOBILE MENU & RESPONSIVE
=========================== */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  display: none;
  backdrop-filter: blur(2px);
}

.mobile-menu-overlay.open {
  display: block;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: -280px;
  width: 280px;
  height: 100vh;
  background: var(--white);
  z-index: 2100;
  box-shadow: 10px 0 30px rgba(0, 0, 0, 0.1);
  transition: left 0.3s cubic-bezier(0.19, 1, 0.22, 1);
  display: flex;
  flex-direction: column;
}

.mobile-menu.open {
  left: 0;
}

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

.mobile-menu-close {
  font-size: 28px;
  line-height: 1;
  color: var(--text-muted);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  padding: 24px;
  gap: 20px;
}

.mobile-link {
  font-size: 16px;
  font-weight: 500;
  color: var(--primary);
  text-transform: uppercase;
}

.mobile-link:hover {
  color: var(--accent);
}

/* RESPONSIVE */
@media(max-width: 768px) {

  .hero-container {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 24px;
  }

  .hero-content {
    order: -1;
    text-align: left;
  }

  .hero-title {
    font-size: 32px;
    margin-bottom: 12px;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 14px;
    margin-bottom: 16px;
  }

  .hero-image-wrapper {
    display: none;
  }

  .eyebrow {
    font-size: 11px;
    margin-bottom: 8px;
  }

  .hero {
    padding: 30px 0;
  }

  .hero-cta-group {
    flex-direction: column;
    gap: 8px;
  }

  .btn {
    font-size: 12px;
    padding: 12px 20px;
  }

  .navbar {
    display: none;
  }

  .navbar-content {
    padding: 0 15px;
  }

  .logo h1 {
    font-size: 18px;
  }

  .logo-icon {
    font-size: 22px;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: none;
  }

  .nav-actions {
    gap: 10px;
  }

  .nav-cart-btn,
  .nav-search-btn {
    font-size: 18px;
  }

  .nav-cart-count {
    top: -5px;
    right: -5px;
    font-size: 9px;
  }

  /* MOBILE BOTTOM NAVIGATION BAR */
  .mobile-bottom-nav {
    display: flex;
  }

  /* Add bottom padding to avoid content overlap with bottom nav */
  main,
  .section {
    margin-bottom: 20px;
  }

  .cart-drawer {
    bottom: 60px;
  }

  .floating-cart-fab {
    bottom: 80px !important;
  }

  .section {
    padding: 40px 16px;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0;
  }

  .product-image-wrap {
    height: 160px;
    margin: 8px;
    border-radius: 12px;
  }

  .product-info {
    padding: 8px 8px;
  }

  .product-info h3 {
    font-size: 12px;
    white-space: normal;
    height: 32px;
    overflow: hidden;
    margin-bottom: 4px;
  }

  .product-info .price {
    font-size: 14px;
    margin-top: 4px;
  }

  .product-thumbnails {
    padding: 0 8px 8px 8px;
  }

  .card-thumb {
    width: 36px;
    height: 36px;
  }

  .product-overlay {
    display: none;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .site-footer {
    padding: 60px 20px 20px;
  }

  .cart-drawer {
    width: 100%;
    max-width: 100%;
    right: -100%;
  }

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

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .category-card {
    padding: 20px 10px;
  }

  .cat-icon {
    font-size: 28px;
    margin-bottom: 10px;
  }

  .category-card span {
    font-size: 12px;
  }

  .checkout-card {
    width: 90vw;
    padding: 20px;
  }
}

@media(max-width: 480px) {
  .hero-title {
    font-size: 32px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .product-info h3 {
    font-size: 14px;
  }

  .hero-cta-group {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}

.floating-cart-fab {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 9000;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-cart-fab:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.floating-cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--accent);
  color: white;
  font-size: 11px;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.product-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}

.add-to-cart-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.15s;
}

.add-to-cart-btn:hover {
  background: var(--accent);
  transform: scale(1.12);
}

.cart-item-price {
  font-size: 13px;
  color: var(--text-muted);
  margin: 4px 0 0;
}

.load-error {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem;
  color: #ef4444;
}

@keyframes shimmer {
  0% {
    background-position: -600px 0;
  }

  100% {
    background-position: 600px 0;
  }
}

.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 600px 100%;
  animation: shimmer 1.4s ease-in-out infinite;
  border-radius: 6px;
}

.skeleton-card {
  pointer-events: none;
}

.skeleton-img {
  width: 100%;
  height: 320px;
  border-radius: 6px;
  margin-bottom: 14px;
}

.skeleton-info {
  padding: 0 2px;
}

.skeleton-line {
  height: 16px;
  border-radius: 4px;
  margin-bottom: 4px;
}

@media (max-width: 768px) {
  .skeleton-img {
    height: 200px;
  }
}