/* ============================================
   NOVA CENTER - Design System & Styles
   ============================================ */

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

/* CSS Custom Properties */
:root {
  /* Brand Colors */
  --nova-purple: #7B2FBE;
  --nova-magenta: #C026D3;
  --nova-pink: #E040A0;
  --nova-gradient: linear-gradient(135deg, #E040A0 0%, #7B2FBE 100%);
  --nova-gradient-horizontal: linear-gradient(90deg, #E040A0 0%, #7B2FBE 100%);

  /* UI Colors */
  --bg-primary: #F5F5F5;
  --bg-white: #FFFFFF;
  --bg-dark: #1A1A2E;
  --text-primary: #1A1A2E;
  --text-secondary: #555555;
  --text-muted: #888888;
  --text-white: #FFFFFF;

  /* Accent Colors */
  --green-badge: #00B341;
  --green-light: #E6F9ED;
  --red-discount: #FF3B3B;
  --orange-badge: #FF8C00;
  --blue-link: #2563EB;
  --cyan-accent: #06B6D4;
  --whatsapp-green: #25D366;

  /* Spacing */
  --container-max: 1200px;
  --section-padding: 24px;
  --card-gap: 16px;
  --card-radius: 12px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-card-hover: 0 8px 25px rgba(0, 0, 0, 0.15);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --transition-smooth: 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.5;
  overflow-x: hidden;
}

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

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

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

ul {
  list-style: none;
}

/* ============================================
   TOP BAR – MARQUESINA
   ============================================ */
.top-bar {
  background: var(--bg-dark);
  padding: 8px 0;
  font-size: 13px;
  color: var(--text-white);
  position: relative;
  z-index: 100;
  overflow: hidden;
}

.marquee-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.marquee-content {
  display: flex;
  gap: 60px;
  animation: marquee-scroll 20s linear infinite;
  width: max-content;
  will-change: transform;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: rgba(255, 255, 255, 0.9);
}

.marquee-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--nova-magenta);
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-50% - 30px));
  }
}

/* ============================================
   HEADER
   ============================================ */
.header {
  background: var(--bg-white);
  padding: 12px 0;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 90;
  transition: box-shadow var(--transition-normal);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  transition: transform var(--transition-smooth);
}

.logo:hover {
  transform: scale(1.03);
}

.logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.logo-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.5px;
}

.logo-text span:first-child {
  display: block;
  color: var(--text-secondary);
}

.logo-text span:last-child {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--text-secondary);
}

/* Search Bar – Centered */
.search-bar {
  max-width: 600px;
  width: 100%;
  position: relative;
  justify-self: center;
}

.search-bar input {
  width: 100%;
  padding: 10px 50px 10px 18px;
  border: 2px solid #E0E0E0;
  border-radius: 8px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  background: var(--bg-primary);
}

.search-bar input:focus {
  border-color: var(--nova-purple);
  box-shadow: 0 0 0 3px rgba(123, 47, 190, 0.15);
  background: var(--bg-white);
}

.search-bar input::placeholder {
  color: var(--text-muted);
}

.search-btn {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--nova-gradient);
  border: none;
  border-radius: 6px;
  width: 38px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.search-btn:hover {
  opacity: 0.9;
  transform: translateY(-50%) scale(1.05);
}

.search-btn svg {
  width: 18px;
  height: 18px;
  color: white;
}

/* Cart – Right aligned */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  justify-self: end;
}

.cart-btn {
  position: relative;
  padding: 8px;
  border-radius: 8px;
  transition: background var(--transition-fast);
}

.cart-btn:hover {
  background: var(--bg-primary);
}

.cart-btn svg {
  width: 26px;
  height: 26px;
  color: var(--text-primary);
}

.cart-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--nova-gradient);
  color: white;
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
  animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

/* Location */
.location-bar {
  background: var(--bg-white);
  padding: 6px 0;
  border-bottom: 1px solid #F0F0F0;
}

.location-bar .container {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-secondary);
}

.location-bar svg {
  width: 14px;
  height: 14px;
  color: var(--nova-purple);
}

.location-bar span {
  font-weight: 500;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav-bar {
  background: var(--bg-white);
  border-bottom: 1px solid #EBEBEB;
  padding: 0;
}

.nav-bar .container {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-link {
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  transition: color var(--transition-fast), background var(--transition-fast);
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link:hover {
  color: var(--nova-purple);
  background: rgba(123, 47, 190, 0.04);
}

.nav-link.active {
  color: var(--nova-magenta);
  font-weight: 700;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20px;
  right: 20px;
  height: 3px;
  background: var(--nova-gradient-horizontal);
  border-radius: 3px 3px 0 0;
}

.nav-link svg {
  width: 18px;
  height: 18px;
}

/* ============================================
   CATEGORY DROPDOWN (FLYOUT)
   ============================================ */
.category-dropdown {
  position: absolute;
  top: 100%;
  left: 20px;
  width: calc(100% - 40px); /* Fill container minus padding */
  max-width: 960px;
  background: var(--bg-white);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
  display: flex;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 200;
  min-height: 480px;
  border: 1px solid #EBEBEB;
  border-top: none;
  overflow: hidden;
}

/* Hover logic: keep block visible while hovering either nav link or dropdown itself */
.nav-link#nav-categorias:hover + .category-dropdown,
.category-dropdown:hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.cat-left-pane {
  width: 260px;
  background: var(--bg-white);
  border-right: 1px solid #EBEBEB;
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  z-index: 2;
}

.cat-web-item {
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all var(--transition-fast);
  border-left: 4px solid transparent;
}

.cat-web-item:hover, .cat-web-item.active {
  background: rgba(123, 47, 190, 0.05);
  color: var(--nova-purple);
  font-weight: 600;
  border-left-color: var(--nova-purple);
}

.cat-web-item svg {
  width: 16px;
  height: 16px;
  opacity: 0;
  transform: translateX(-5px);
  transition: all var(--transition-fast);
}

.cat-web-item:hover svg, .cat-web-item.active svg {
  opacity: 1;
  transform: translateX(0);
}

.cat-right-pane {
  flex: 1;
  background: #fafbfc;
  padding: 32px 40px;
  position: relative;
}

.cat-right-content {
  animation: fadeInRight 0.3s ease forwards;
}

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

.cat-right-title {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
  display: inline-block;
  border-bottom: 2px solid #EBEBEB;
  padding-bottom: 12px;
}

.cat-sub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.cat-sub-item {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 10px 16px;
  border-radius: 8px;
  transition: all var(--transition-fast);
  cursor: pointer;
  font-weight: 500;
  background: transparent;
  display: flex;
  align-items: center;
}

.cat-sub-item:hover {
  background: white;
  color: var(--nova-purple);
  box-shadow: 0 4px 12px rgba(123,47,190,0.08);
  transform: translateY(-2px);
}

/* ============================================
   CONTAINER
   ============================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   SECTION: FEATURED OFFERS
   ============================================ */
.section-offers {
  padding: 28px 0 20px;
}

.section-title-banner {
  display: inline-block;
  background: var(--nova-gradient-horizontal);
  color: var(--text-white);
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 800;
  padding: 10px 28px;
  border-radius: 6px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.section-title-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.15) 50%, transparent 100%);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(50%);
  }
}

/* ============================================
   PRODUCT CAROUSEL
   ============================================ */
.carousel-wrapper {
  position: relative;
  background: var(--bg-white);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-sm);
  padding: 20px 0;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: var(--card-gap);
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 8px 20px 16px;
  -ms-overflow-style: none;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-btn {
  position: absolute;
  bottom: 130px;
  /* Sube un poco mas las flechas */
  z-index: 10;
  transform: translateY(-70%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-white);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
  border: 1px solid #E0E0E0;
}

.carousel-btn:hover {
  box-shadow: var(--shadow-lg);
  background: var(--nova-purple);
  border-color: var(--nova-purple);
}

.carousel-btn:hover svg {
  color: white;
}

.carousel-btn svg {
  width: 22px;
  height: 22px;
  color: var(--text-primary);
  transition: color var(--transition-fast);
}

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

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

.carousel-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.carousel-btn:disabled:hover {
  background: var(--bg-white);
  box-shadow: var(--shadow-md);
  border-color: #E0E0E0;
}

.carousel-btn:disabled:hover svg {
  color: var(--text-primary);
}

/* ============================================
   PRODUCT CARD
   ============================================ */
.product-card {
  flex: 0 0 220px;
  scroll-snap-align: start;
  background: var(--bg-white);
  border-radius: 10px;
  padding: 12px;
  position: relative;
  cursor: pointer;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(123, 47, 190, 0.15);
}

/* Product Image */
.product-image-wrapper {
  width: 100%;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  padding: 8px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(135deg, #f8f4ff 0%, #f0ecf5 100%);
  border: 1px solid #efe8f8;
}

.product-image-wrapper img {
  max-height: 140px;
  max-width: 100%;
  object-fit: contain;
  transition: transform var(--transition-smooth);
}

.product-card:hover .product-image-wrapper img {
  transform: scale(1.05);
}

/* Installment Badge */
.installment-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--green-badge);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px 0 0 4px;
  margin-bottom: 8px;
  align-self: flex-start;
  margin-right: -8px;
  width: max-content;
}

.installment-badge span {
  font-size: 14px;
  font-weight: 900;
}

/* Product Info */
.product-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 36px;
}

.product-pricing {
  margin-bottom: 6px;
}

.original-price {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-right: 6px;
}

.discount-percent {
  font-size: 11px;
  font-weight: 700;
  color: var(--green-badge);
  background: var(--green-light);
  padding: 1px 6px;
  border-radius: 3px;
}

.current-price {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 4px 0;
  font-family: 'Outfit', sans-serif;
}

.price-note {
  font-size: 10px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

/* Shipping Info */
.shipping-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 8px;
  border-top: 1px solid #F0F0F0;
  margin-top: auto;
}

.whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: var(--whatsapp-green);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  padding: 2px 0;
}

.whatsapp-link:hover {
  color: #1da851;
  text-decoration: underline;
}

.whatsapp-link svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.shipping-pickup {
  font-size: 11px;
  color: var(--nova-purple);
  font-weight: 500;
}

/* Add to Cart Button on Product Card */
.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding-top: 6px;
}

.add-to-cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--nova-gradient);
  color: white;
  border: none;
  border-radius: 6px;
  padding: 7px 12px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: 'Inter', sans-serif;
}

.add-to-cart-btn:hover {
  opacity: 0.9;
  transform: scale(1.04);
  box-shadow: 0 4px 12px rgba(123, 47, 190, 0.3);
}

.add-to-cart-btn:active {
  transform: scale(0.97);
}

.add-to-cart-btn svg {
  width: 14px;
  height: 14px;
}

.add-to-cart-btn.added {
  background: var(--green-badge);
  pointer-events: none;
}

/* ============================================
   BANNER CAROUSEL SECTION
   ============================================ */
.section-banner {
  padding: 24px 0 32px;
}

.banner-carousel-wrapper {
  position: relative;
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  width: 100%;
}

.banner-carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  /* Hide scrollbar Firefox */
}

.banner-carousel-track::-webkit-scrollbar {
  display: none;
  /* Hide scrollbar WebKit */
}

.banner-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  scroll-snap-align: start;
}

.banner-slide a {
  display: block;
  width: 100%;
}

.banner-slide img {
  width: 100%;
  height: auto;
  max-height: 400px;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* Banner Navigation Buttons */
.banner-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: all var(--transition-fast);
  z-index: 5;
}

.banner-nav-btn:hover {
  background: white;
  box-shadow: var(--shadow-lg);
  transform: translateY(-50%) scale(1.1);
}

.banner-nav-btn svg {
  width: 20px;
  height: 20px;
  color: var(--text-primary);
  stroke-linecap: round;
  stroke-linejoin: round;
}

.banner-prev {
  left: 12px;
}

.banner-next {
  right: 12px;
}

/* Banner Dots */
.banner-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 16px 0 0;
}

.banner-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #D0D0D0;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.banner-dot.active {
  background: var(--nova-gradient);
  width: 24px;
  border-radius: 4px;
}

/* ============================================
   WHATSAPP BUTTON
   ============================================ */
.whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all var(--transition-normal);
  animation: whatsapp-bounce 2s ease infinite;
}

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

.whatsapp-btn svg {
  width: 30px;
  height: 30px;
  color: white;
}

@keyframes whatsapp-bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 40px 0 24px;
  margin-top: 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}

.footer-col h4 {
  color: var(--text-white);
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 3px;
  background: var(--nova-gradient-horizontal);
  border-radius: 2px;
}

.footer-col a {
  display: block;
  font-size: 13px;
  padding: 4px 0;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.footer-col a:hover {
  color: var(--nova-magenta);
  padding-left: 4px;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-logo img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.footer-logo span {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--text-white);
}

/* ============================================
   CART SIDEBAR
   ============================================ */
.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.cart-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: -400px;
  width: 380px;
  max-width: 90vw;
  height: 100vh;
  background: var(--bg-white);
  box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: right var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

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

.cart-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid #EBEBEB;
}

.cart-sidebar-header h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 700;
}

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

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

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

/* Cart Body */
.cart-sidebar-body {
  flex: 1;
  overflow-y: auto;
  padding: 0;
}

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

.cart-empty svg {
  width: 64px;
  height: 64px;
  color: #D0D0D0;
  margin-bottom: 16px;
}

.cart-empty p {
  font-size: 15px;
  font-weight: 500;
}

.cart-empty span {
  font-size: 13px;
  margin-top: 4px;
  color: var(--text-muted);
}

/* Cart Items List */
.cart-items-list {
  padding: 12px 16px;
}

.cart-item {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #F0F0F0;
  align-items: flex-start;
  animation: cart-item-in 0.3s ease;
}

@keyframes cart-item-in {
  from {
    opacity: 0;
    transform: translateX(20px);
  }

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

.cart-item-image {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f8f4ff 0%, #f0ecf5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid #efe8f8;
}

.cart-item-image img {
  max-width: 50px;
  max-height: 50px;
  object-fit: contain;
}

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

.cart-item-name {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cart-item-price {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
  margin-bottom: 6px;
}

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

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

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

.qty-value {
  font-size: 14px;
  font-weight: 600;
  min-width: 20px;
  text-align: center;
}

.cart-item-remove {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
  align-self: center;
  color: var(--text-muted);
}

.cart-item-remove:hover {
  background: #FFE5E5;
  color: var(--red-discount);
}

.cart-item-remove svg {
  width: 16px;
  height: 16px;
}

/* Cart Footer */
.cart-sidebar-footer {
  padding: 16px 20px;
  border-top: 1px solid #EBEBEB;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-checkout-btn {
  width: 100%;
  padding: 14px;
  background: var(--nova-gradient);
  color: white;
  font-size: 15px;
  font-weight: 700;
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.5px;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.cart-checkout-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cart-checkout-btn:not(:disabled):hover {
  opacity: 0.9;
  transform: scale(1.02);
}

.cart-clear-btn {
  width: 100%;
  padding: 10px;
  background: transparent;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid #E0E0E0;
  font-family: 'Inter', sans-serif;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.cart-clear-btn:hover {
  background: #FFF0F0;
  color: var(--red-discount);
  border-color: var(--red-discount);
}

/* ============================================
   SCROLL INDICATOR
   ============================================ */
.scroll-indicator {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 12px 0 4px;
}

.scroll-indicator-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #D0D0D0;
  transition: all var(--transition-fast);
}

.scroll-indicator-dot.active {
  background: var(--nova-purple);
  width: 18px;
  border-radius: 3px;
}

/* ============================================
   LOADING SKELETON
   ============================================ */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: 6px;
}

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

  100% {
    background-position: -200% 0;
  }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .header-grid {
    grid-template-columns: auto 1fr auto;
    gap: 12px;
  }

  .search-bar {
    max-width: 100%;
  }

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

  .logo-text span:last-child {
    font-size: 11px;
  }

  .section-title-banner {
    font-size: 16px;
    padding: 8px 18px;
  }

  .product-card {
    flex: 0 0 180px;
  }

  .current-price {
    font-size: 18px;
  }

  .carousel-btn {
    width: 36px;
    height: 36px;
  }

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

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

  .banner-nav-btn {
    width: 32px;
    height: 32px;
  }

  .banner-nav-btn svg {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 480px) {
  .header-grid {
    grid-template-columns: auto 1fr auto;
    gap: 8px;
  }

  .logo-icon {
    width: 36px;
    height: 36px;
  }

  .logo-text {
    font-size: 16px;
  }

  .product-card {
    flex: 0 0 160px;
  }

  .nav-link {
    padding: 10px 14px;
    font-size: 13px;
  }

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

  .marquee-item {
    font-size: 12px;
  }

  .cart-sidebar {
    width: 100%;
    max-width: 100vw;
  }
}