/* ================================================
   ELITE STORE UK — Custom Styles
   Indonesian Food & Spices for UK Market
   ================================================ */

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

/* ============ CSS Variables ============ */
:root {
  --white: #ffffff;
  --black: #111111;
  --dark: #1a1a1a;
  --grey-50: #fafafa;
  --grey-100: #f5f5f5;
  --grey-200: #e5e5e5;
  --grey-300: #d4d4d4;
  --grey-400: #a3a3a3;
  --grey-500: #737373;
  --grey-600: #525252;
  --grey-700: #404040;
  --whatsapp: #25D366;
  --whatsapp-dark: #1ebe57;
  --accent: #c9a96e;
  --accent-light: #e8d5b3;
  --danger: #ef4444;
  --star: #fbbf24;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,0.15);
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.font-display {
  font-family: 'Playfair Display', Georgia, serif;
}

/* ============ Custom Scrollbar ============ */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--grey-100);
}
::-webkit-scrollbar-thumb {
  background: var(--grey-400);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--grey-500);
}

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

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

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

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

@keyframes countdownPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

@keyframes bounceIn {
  0% { transform: scale(0.3); opacity: 0; }
  50% { transform: scale(1.05); }
  70% { transform: scale(0.9); }
  100% { transform: scale(1); opacity: 1; }
}

.animate-fadeInUp {
  animation: fadeInUp 0.6s ease-out forwards;
}

.animate-fadeInDown {
  animation: fadeInDown 0.5s ease-out forwards;
}

.animate-scaleIn {
  animation: scaleIn 0.4s ease-out forwards;
}

.animate-slideInRight {
  animation: slideInRight 0.5s ease-out forwards;
}

/* Scroll reveal animation classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ============ Header / Navbar ============ */
#navbar {
  transition: var(--transition);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

#navbar.scrolled {
  background: rgba(255, 255, 255, 0.97) !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
}

.nav-link {
  position: relative;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--black);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

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

/* ============ Hero Section ============ */
.hero-bg {
  position: relative;
  overflow: hidden;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.5) 100%);
  z-index: 1;
}

.hero-bg > * {
  position: relative;
  z-index: 2;
}

/* ============ Product Cards ============ */
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--grey-200);
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.product-card .product-img-wrap {
  overflow: hidden;
  position: relative;
  background: var(--grey-50);
}

.product-card .product-img-wrap img {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.product-card .overlay-actions {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.discount-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--danger);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  z-index: 5;
  letter-spacing: 0.5px;
}

.bestseller-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--accent);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  z-index: 5;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stock-warning {
  color: var(--danger);
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.stock-warning::before {
  content: '🔥';
}

/* Star ratings */
.stars {
  color: var(--star);
  letter-spacing: 1px;
}

/* ============ Product Modal ============ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  background: var(--white);
  border-radius: var(--radius-xl);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: scaleIn 0.35s ease-out;
}

.modal-content::-webkit-scrollbar {
  width: 6px;
}
.modal-content::-webkit-scrollbar-thumb {
  background: var(--grey-300);
  border-radius: 3px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--grey-100);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  font-size: 20px;
  color: var(--grey-600);
}

.modal-close:hover {
  background: var(--grey-200);
  color: var(--black);
}

/* Size/Colour selectors */
.option-btn {
  padding: 8px 16px;
  border: 2px solid var(--grey-200);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
  transition: var(--transition);
  font-size: 14px;
  font-weight: 500;
  color: var(--grey-600);
}

.option-btn:hover {
  border-color: var(--grey-400);
}

.option-btn.selected {
  border-color: var(--black);
  background: var(--black);
  color: var(--white);
}

/* Quantity selector */
.qty-btn {
  width: 36px;
  height: 36px;
  border: 2px solid var(--grey-200);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--grey-600);
}

.qty-btn:hover {
  border-color: var(--black);
  background: var(--black);
  color: var(--white);
}

.qty-input {
  width: 50px;
  text-align: center;
  border: 2px solid var(--grey-200);
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  padding: 6px;
  outline: none;
  -moz-appearance: textfield;
}

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

/* ============ WhatsApp CTA Button ============ */
.btn-whatsapp {
  background: var(--whatsapp);
  color: white;
  border: none;
  padding: 12px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.btn-whatsapp:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}

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

.btn-primary {
  background: var(--black);
  color: white;
  border: none;
  padding: 12px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--grey-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--black);
  border: 2px solid var(--grey-300);
  padding: 10px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.btn-outline:hover {
  border-color: var(--black);
  background: var(--black);
  color: white;
}

/* ============ Floating WhatsApp ============ */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 999;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  animation: float 3s ease-in-out infinite;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

.floating-whatsapp svg {
  width: 30px;
  height: 30px;
  fill: white;
}

/* Tooltip */
.floating-whatsapp .tooltip {
  position: absolute;
  right: 70px;
  background: var(--dark);
  color: white;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.floating-whatsapp:hover .tooltip {
  opacity: 1;
}

.floating-whatsapp .tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid var(--dark);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

/* ============ FAQ Accordion ============ */
.faq-item {
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--grey-300);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: var(--white);
  border: none;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: var(--transition);
  font-family: inherit;
}

.faq-question:hover {
  background: var(--grey-50);
}

.faq-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--grey-600);
  line-height: 1.7;
  font-size: 15px;
}

/* ============ Trust Badges ============ */
.trust-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.15);
}

/* ============ Review Cards ============ */
.review-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
}

.review-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}

/* ============ Feature Cards ============ */
.feature-card {
  text-align: center;
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--grey-200);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 28px;
}

/* ============ Sales Booster Banner ============ */
.sales-banner {
  background: linear-gradient(135deg, var(--dark) 0%, #2d2d2d 100%);
  position: relative;
  overflow: hidden;
}

.sales-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(201,169,110,0.1) 0%, transparent 60%);
  animation: float 6s ease-in-out infinite;
}

/* ============ Countdown Timer ============ */
.countdown-box {
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 12px 16px;
  min-width: 70px;
  text-align: center;
  backdrop-filter: blur(10px);
}

/* ============ Mobile Menu ============ */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: var(--white);
  z-index: 1001;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-2xl);
  padding: 80px 30px 30px;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-link {
  display: block;
  padding: 16px 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--black);
  text-decoration: none;
  border-bottom: 1px solid var(--grey-100);
  transition: var(--transition);
}

.mobile-menu-link:hover {
  color: var(--grey-500);
  padding-left: 8px;
}

/* Mobile Category Buttons */
.mobile-cat-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  border-radius: 50px;
  background: var(--grey-100);
  color: var(--grey-600);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}

.mobile-cat-btn:hover,
.mobile-cat-btn:active {
  background: var(--black);
  color: var(--white);
}

/* Hamburger */
.hamburger {
  width: 28px;
  height: 20px;
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ============ Section Backgrounds ============ */
.bg-grey {
  background: var(--grey-50);
}

/* ============ Decorative Elements ============ */
.section-divider {
  width: 60px;
  height: 3px;
  background: var(--accent);
  border-radius: 3px;
  margin: 0 auto;
}

/* ============ Responsive Adjustments ============ */
@media (max-width: 768px) {
  .hero-bg {
    min-height: 80vh;
  }
  
  .product-card .overlay-actions {
    opacity: 1;
    background: transparent;
    position: relative;
    padding: 0 16px 16px;
    flex-direction: column;
  }
  
  .floating-whatsapp {
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
  }
  
  .floating-whatsapp .tooltip {
    display: none;
  }

  .modal-content {
    max-height: 95vh;
    border-radius: var(--radius-lg);
    margin: 10px;
  }
}

@media (max-width: 480px) {
  .btn-whatsapp,
  .btn-primary {
    padding: 10px 20px;
    font-size: 14px;
  }
}

/* ============ Utility: Image aspect ratio ============ */
.aspect-square {
  aspect-ratio: 1/1;
  object-fit: cover;
}

.aspect-4-3 {
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* ============ Loading Skeleton ============ */
.skeleton {
  background: linear-gradient(90deg, var(--grey-100) 25%, var(--grey-200) 50%, var(--grey-100) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
}

/* ============ Category Filter ============ */
.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 32px;
}

.category-tab {
  padding: 8px 20px;
  border: 2px solid var(--grey-200);
  border-radius: 50px;
  background: var(--white);
  font-size: 14px;
  font-weight: 600;
  color: var(--grey-500);
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.category-tab:hover {
  border-color: var(--grey-400);
  color: var(--black);
}

.category-tab.active {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

.category-tab .cat-count {
  background: rgba(0,0,0,0.1);
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
}

.category-tab.active .cat-count {
  background: rgba(255,255,255,0.2);
}

/* ============ Shopping Cart ============ */
.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--danger);
  color: white;
  font-size: 11px;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  animation: bounceIn 0.3s ease;
}

.cart-btn {
  position: relative;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  color: var(--black);
  transition: var(--transition);
}

.cart-btn:hover {
  color: var(--grey-600);
}

/* Cart Drawer */
.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  max-width: 90vw;
  height: 100vh;
  background: var(--white);
  z-index: 1002;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-2xl);
  display: flex;
  flex-direction: column;
}

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

.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1001;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.cart-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--grey-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}

.cart-body::-webkit-scrollbar {
  width: 4px;
}
.cart-body::-webkit-scrollbar-thumb {
  background: var(--grey-300);
  border-radius: 2px;
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  color: var(--grey-400);
  padding: 40px 20px;
}

.cart-empty-icon {
  font-size: 64px;
  margin-bottom: 16px;
  opacity: 0.5;
}

.cart-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--grey-100);
  animation: fadeInUp 0.3s ease;
}

.cart-item-img {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--grey-50);
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--black);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-variant {
  font-size: 12px;
  color: var(--grey-500);
  margin-bottom: 8px;
}

.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-item-price {
  font-weight: 700;
  font-size: 15px;
  color: var(--black);
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cart-item-qty button {
  width: 28px;
  height: 28px;
  border: 1px solid var(--grey-200);
  border-radius: 6px;
  background: var(--white);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--grey-600);
}

.cart-item-qty button:hover {
  background: var(--grey-100);
  border-color: var(--grey-300);
}

.cart-item-qty span {
  font-size: 14px;
  font-weight: 600;
  min-width: 24px;
  text-align: center;
}

.cart-item-remove {
  color: var(--grey-400);
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
  padding: 4px;
}

.cart-item-remove:hover {
  color: var(--danger);
}

.cart-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--grey-200);
  flex-shrink: 0;
  background: var(--grey-50);
}

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

.cart-total-label {
  font-size: 14px;
  color: var(--grey-600);
}

.cart-total-amount {
  font-size: 22px;
  font-weight: 800;
  color: var(--black);
}

.cart-clear-btn {
  background: none;
  border: none;
  color: var(--grey-400);
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
  transition: var(--transition);
  margin-top: 10px;
  display: block;
  width: 100%;
  text-align: center;
  font-family: inherit;
}

.cart-clear-btn:hover {
  color: var(--danger);
}

/* Add to cart button on product cards */
.btn-add-cart {
  background: var(--black);
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: inherit;
}

.btn-add-cart:hover {
  background: var(--grey-700);
  transform: translateY(-1px);
}

.btn-add-cart.added {
  background: var(--whatsapp);
}

/* Cart notification toast */
.cart-toast {
  position: fixed;
  top: 90px;
  right: 20px;
  background: var(--dark);
  color: white;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  z-index: 2000;
  box-shadow: var(--shadow-xl);
  transform: translateX(120%);
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-toast.show {
  transform: translateX(0);
}

/* ============ No Products Found ============ */
.no-products {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--grey-400);
}

.no-products-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

@media (max-width: 768px) {
  .category-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  
  .category-tabs::-webkit-scrollbar {
    display: none;
  }
  
  .category-tab {
    padding: 7px 16px;
    font-size: 13px;
  }
}

/* ============ Best Sellers Carousel ============ */
.bestseller-carousel-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.bestseller-carousel {
  display: flex;
  gap: 20px;
  overflow: hidden;
  scroll-behavior: smooth;
  flex: 1;
}

.bestseller-carousel .product-card {
  min-width: calc(25% - 15px);
  flex-shrink: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

@media (max-width: 1024px) {
  .bestseller-carousel .product-card {
    min-width: calc(50% - 10px);
  }
}

@media (max-width: 640px) {
  .bestseller-carousel .product-card {
    min-width: calc(100% - 0px);
  }
}

.carousel-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--grey-200);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
  color: var(--grey-600);
  z-index: 5;
}

.carousel-arrow:hover {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--grey-300);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.carousel-dot.active {
  background: var(--black);
  width: 28px;
  border-radius: 5px;
}

.carousel-dot:hover {
  background: var(--grey-500);
}

@media (max-width: 640px) {
  .carousel-arrow {
    width: 36px;
    height: 36px;
  }
  
  .bestseller-carousel-wrap {
    gap: 6px;
  }
}
