/* ==========================================================
   VemaCam – Main Stylesheet
   Mobile-first, no frameworks, Temu-inspired premium design
   ========================================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Brand Colors */
  --primary: #4f46e5;       /* Indigo 600 */
  --primary-dark: #4338ca;  /* Indigo 700 */
  --primary-light: #eef2ff; /* Indigo 50 */
  --accent: #f59e0b;        /* Amber 500 (Trust/Action) */
  --accent-dark: #d97706;   /* Amber 600 */

  /* Neutrals */
  --bg: #f8fafc;            /* Slate 50 */
  --surface: #ffffff;
  --surface-alt: #f1f5f9;   /* Slate 100 */
  --border: #e2e8f0;        /* Slate 200 */
  --text: #0f172a;          /* Slate 900 */
  --text-muted: #475569;    /* Slate 600 */
  --text-light: #94a3b8;    /* Slate 400 */

  /* WhatsApp */
  --wa-green: #25d366;
  --wa-dark: #128c7e;

  /* Email */
  --email-blue: #3b82f6;
  --email-dark: #2563eb;

  /* Shadows */
  --shadow-sm: 0 1px 4px rgba(0, 0, 0, .08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, .12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, .16);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Transitions */
  --transition: .2s ease;
  --transition-slow: .4s ease;

  /* Typography */
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --header-h: 64px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
}

input,
textarea,
select {
  font-family: inherit;
}

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 16px;
}

/* ---------- Utility ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.text-center {
  text-align: center;
}

.hidden {
  display: none !important;
}

/* ===================================================================
   HEADER
=================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  height: var(--header-h);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  text-decoration: none;
}

.logo-icon {
  font-size: 1.6rem;
}

.logo-text {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
}

/* Search */
.header-search {
  flex: 1;
  max-width: 480px;
  display: flex;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.header-search:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 77, 77, .12);
}

.header-search input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px 16px;
  font-size: .95rem;
  outline: none;
  color: var(--text);
}

.header-search button {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 0 20px;
  font-size: 1rem;
  transition: background var(--transition);
}

.header-search button:hover {
  background: var(--primary-dark);
}

/* Desktop Nav */
.header-nav {
  display: none;
}

@media (min-width: 900px) {
  .header-nav {
    display: flex;
    align-items: center;
    flex-shrink: 0;
  }

  .header-nav ul {
    display: flex;
    gap: 4px;
    align-items: center;
  }

  .header-nav li {
    position: relative;
  }

  .header-nav a {
    display: block;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: .92rem;
    color: var(--text);
    transition: background var(--transition), color var(--transition);
    white-space: nowrap;
  }

  .header-nav a:hover {
    background: var(--primary-light);
    color: var(--primary);
  }

  /* Dropdown */
  .has-dropdown>.dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    z-index: 999;
    padding: 8px;
  }

  .has-dropdown:hover>.dropdown,
  .has-dropdown.clicked>.dropdown {
    display: block;
  }

  .dropdown li a {
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    font-weight: 400;
  }
}

/* Mobile Toggle */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  margin-left: auto;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }
}

/* Mobile Drawer */
.mobile-nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  width: 100%;
  height: calc(100vh - var(--header-h));
  background: var(--surface);
  overflow-y: auto;
  padding: 16px;
  transform: translateX(-100%);
  transition: transform var(--transition-slow);
  z-index: 999;
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-search {
  display: flex;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 20px;
}

.mobile-search input {
  flex: 1;
  border: none;
  padding: 10px 16px;
  outline: none;
  font-size: .95rem;
}

.mobile-search button {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 0 16px;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mobile-nav a {
  display: block;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  transition: background var(--transition);
}

.mobile-nav a:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.mobile-cat-label {
  padding: 16px 16px 4px;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
}

/* ===================================================================
   HERO
=================================================================== */
.hero {
  background: #0f172a;
  color: #fff;
  padding: 60px 0 80px;
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: .4;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 149, 0, .2);
  border: 1px solid rgba(255, 149, 0, .4);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .04em;
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 900;
  line-height: 1.15;
  max-width: 720px;
}

.hero h1 span {
  color: var(--accent);
}

.hero p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, .75);
  max-width: 500px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ===================================================================
   BUTTONS
=================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: .95rem;
  border: 2px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  cursor: pointer;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-primary {
  background: var(--primary);
  color: #fff;
  border: none;
}

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

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, .5);
  color: #fff;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, .1);
}

.btn-whatsapp {
  background: var(--wa-green);
  color: #fff;
}

.btn-whatsapp:hover {
  background: var(--wa-dark);
}

.btn-email {
  background: var(--email-blue);
  color: #fff;
}

.btn-email:hover {
  background: var(--email-dark);
}

.btn-sm {
  padding: 8px 16px;
  font-size: .85rem;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* Order Now button */
.btn-order {
  background: var(--primary);
  color: #fff;
  width: 100%;
  justify-content: center;
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-size: .9rem;
  font-weight: 700;
}

.btn-order:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, .2);
}

/* ===================================================================
   SECTION TITLES
=================================================================== */
.section-title {
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: .95rem;
  margin-bottom: 32px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 12px;
}

.section-head a {
  font-size: .9rem;
  color: var(--primary);
  font-weight: 600;
}

.section-head a:hover {
  text-decoration: underline;
}

section {
  padding: 48px 0;
}

/* ===================================================================
   CATEGORIES STRIP
=================================================================== */
/* Category Page */
.category-page {
  padding: 40px 0;
}
.categories-strip {
  background: var(--surface);
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.cat-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.cat-scroll::-webkit-scrollbar {
  display: none;
}

.cat-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  white-space: nowrap;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-muted);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  text-decoration: none;
  cursor: pointer;
}

.cat-chip-icon {
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--bg);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.cat-chip:hover {
  background: var(--surface);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.15);
}

.cat-chip:hover .cat-chip-icon {
  background: var(--primary-light);
  color: var(--primary);
}

.cat-chip.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-color: transparent;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.3);
}

.cat-chip.active .cat-chip-icon {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

/* ===================================================================
   PRODUCT GRID & CARDS
=================================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 560px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.product-card {
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.05);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
  border-color: rgba(79, 70, 229, 0.2);
}

.product-card-image {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f8fafc;
  padding: 15px;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1));
}

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

.badge-promo {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .06em;
  box-shadow: 0 4px 10px rgba(239, 68, 68, 0.3);
  z-index: 2;
}

.badge-featured {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3);
  z-index: 2;
}

.product-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  background: #fff;
}

.product-card-name {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
  transition: color 0.2s;
}

.product-card:hover .product-card-name {
  color: var(--primary);
}

.product-card-price {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  flex-wrap: wrap;
}

.price-current {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary);
}

.price-original {
  font-size: .82rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.price-discount {
  font-size: .75rem;
  font-weight: 700;
  color: var(--wa-dark);
  background: #e6ffee;
  padding: 1px 6px;
  border-radius: 4px;
}

/* ===================================================================
   PROMO BANNER
=================================================================== */
.promo-banner {
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.promo-banner::before {
  content: '🛍';
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 6rem;
  opacity: .15;
  pointer-events: none;
}

.promo-banner h2 {
  font-size: 1.6rem;
  font-weight: 900;
}

.promo-banner p {
  font-size: 1rem;
  opacity: .9;
  margin-top: 4px;
}

/* ===================================================================
   PACK CARDS
=================================================================== */
@keyframes floatPack {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

@keyframes pulseGlowBtn {
  0% { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(79, 70, 229, 0); }
  100% { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0); }
}

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

.packs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
  padding: 10px 0;
}

.pack-card {
  position: relative;
  background: var(--surface);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  animation: slideInUpPack 0.6s ease forwards;
  will-change: transform, box-shadow;
  z-index: 1;
}

.pack-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 2;
}

.pack-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 45px rgba(79, 70, 229, 0.15), 0 0 25px rgba(79, 70, 229, 0.1);
  z-index: 10;
}

.pack-card:hover::before {
  opacity: 1;
}

.pack-banner-wrapper {
  overflow: hidden;
  position: relative;
  height: 200px;
}

.pack-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pack-card:hover .pack-banner-img {
  transform: scale(1.1);
}

.pack-card-header {
  background: linear-gradient(135deg, var(--primary), #8a94e8);
  padding: 24px 24px 30px;
  position: relative;
  color: #fff;
  overflow: hidden;
  margin-top: -10px;
  border-radius: 20px 20px 0 0;
  z-index: 3;
}

.pack-banner-wrapper + .pack-card-header {
  margin-top: -20px;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -10px 20px rgba(0,0,0,0.1);
}

.pack-card-header::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 60%);
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.6s ease;
}

.pack-card:hover .pack-card-header::after {
  opacity: 1;
  transform: scale(1);
}

.pack-card-header h3 {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 6px;
  position: relative;
  z-index: 4;
  text-shadow: 0 2px 5px rgba(0,0,0,0.2);
  letter-spacing: -0.01em;
}

.pack-card-header p {
  font-size: 0.95rem;
  opacity: 0.9;
  position: relative;
  z-index: 4;
  line-height: 1.4;
}

.pack-card-body {
  padding: 28px 24px;
  background: var(--surface);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 4;
}

.pack-items-list {
  margin-bottom: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pack-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 10px;
  border-bottom: 1px dashed var(--border);
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  border-radius: 10px;
}

.pack-item:last-child {
  border-bottom: none;
}

.pack-card:hover .pack-item {
  border-bottom-color: rgba(79, 70, 229, 0.2);
}

.pack-item:hover {
  transform: translateX(8px);
  background: var(--primary-light);
  box-shadow: 0 4px 10px rgba(79, 70, 229, 0.05);
  border-bottom-color: transparent;
}

.pack-item-img {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  object-fit: cover;
  background: var(--surface);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.4s ease;
}

.pack-item:hover .pack-item-img {
  transform: scale(1.15) rotate(4deg);
  box-shadow: 0 6px 15px rgba(0,0,0,0.12);
}

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

.pack-item-name {
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 3px;
}

.pack-item-qty {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  background: #e0e7ff;
  padding: 3px 10px;
  border-radius: 999px;
  display: inline-block;
}

.pack-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0 0;
  margin-top: auto;
  border-top: 2px solid var(--border);
}

.pack-total span:first-child {
  font-weight: 600;
  color: var(--text-muted);
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.pack-total-price {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--primary);
  text-shadow: 0 2px 10px rgba(79, 70, 229, 0.3);
}

.pack-card .btn-order {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: none;
  animation: pulseGlowBtn 2.5s infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.pack-card .btn-order::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.4), transparent);
  transform: skewX(-25deg);
  transition: all 0.6s ease;
}

.pack-card:hover .btn-order::after {
  left: 200%;
  transition: all 0.8s ease;
}

.pack-card .btn-order:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.6);
}

/* ===================================================================
   PRODUCT DETAIL PAGE
=================================================================== */
.product-detail {
  padding: 40px 0 60px;
}

.product-detail-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .product-detail-inner {
    grid-template-columns: 1fr 1fr;
  }
}

/* Gallery */
.product-gallery {
  position: relative;
}

.gallery-main {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  margin-bottom: 12px;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
}

.gallery-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
}

.gallery-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid var(--border);
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color var(--transition);
}

.gallery-thumb.active,
.gallery-thumb:hover {
  border-color: var(--primary);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Info */
.product-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.product-info .breadcrumb {
  display: flex;
  gap: 6px;
  font-size: .82rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.product-info .breadcrumb a:hover {
  color: var(--primary);
}

.product-info h1 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.3;
}

.price-block {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.price-block .price-current {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--primary);
}

.price-block .price-original {
  font-size: 1.1rem;
}

.price-block .price-discount {
  font-size: .9rem;
  padding: 3px 10px;
}

.product-description {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
  font-size: .95rem;
}

.order-cta .btn-order {
  font-size: 1.05rem;
  padding: 14px;
  border-radius: var(--radius-md);
}

/* ===================================================================
   ORDER MODAL
=================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  z-index: 2000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
  backdrop-filter: blur(4px);
}

@media (min-width: 600px) {
  .modal-overlay {
    align-items: center;
  }
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: var(--surface);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  width: 100%;
  max-width: 560px;
  max-height: 92vh;
  overflow-y: auto;
  padding: 28px 24px 32px;
  position: relative;
  transform: translateY(40px);
  transition: transform var(--transition-slow);
}

@media (min-width: 600px) {
  .modal-box {
    border-radius: var(--radius-xl);
    transform: translateY(20px) scale(.96);
  }
}

.modal-overlay.open .modal-box {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--bg);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: background var(--transition);
}

.modal-close:hover {
  background: var(--border);
  color: var(--text);
}

.modal-heading {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.modal-product-name {
  font-weight: 600;
  color: var(--text);
  font-size: .95rem;
}

.modal-product-price {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 20px;
}

/* Form */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 480px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 14px;
}

.form-group label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
}

.form-group .req {
  color: var(--primary);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: .92rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 77, 77, .12);
  background: var(--surface);
}

.form-group textarea {
  resize: vertical;
}

.modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}

@media (max-width: 420px) {
  .modal-actions {
    grid-template-columns: 1fr;
  }
}

.form-note {
  font-size: .78rem;
  color: var(--text-light);
  margin-top: 12px;
  text-align: center;
}

/* ===================================================================
   BREADCRUMB
=================================================================== */
.breadcrumb-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}

.breadcrumb {
  display: flex;
  gap: 6px;
  font-size: .82rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  align-items: center;
}

.breadcrumb a {
  color: var(--primary);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  color: var(--text-muted);
}

/* ===================================================================
   PAGINATION
=================================================================== */
.pagination {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.pagination ul {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.pagination li a,
.pagination li span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  font-weight: 600;
  font-size: .9rem;
  transition: all var(--transition);
  background: var(--surface);
  color: var(--text);
}

.pagination li a:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
}

.pagination li.active a {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ===================================================================
   FOOTER
=================================================================== */
.site-footer {
  background: #1a1a2e;
  color: rgba(255, 255, 255, .8);
  padding: 48px 0 0;
  margin-top: auto;
}

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

@media (min-width: 640px) {
  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .footer-inner {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }
}

.footer-brand .logo-text {
  -webkit-text-fill-color: #fff;
}

.footer-brand p {
  margin-top: 10px;
  font-size: .9rem;
  opacity: .7;
}

.footer-links h3,
.footer-contact h3 {
  font-size: .9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .5);
  margin-bottom: 14px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-size: .9rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-contact p {
  margin-bottom: 10px;
  font-size: .9rem;
}

.footer-contact a {
  transition: color var(--transition);
}

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

.wa-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--wa-green);
  color: #fff !important;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  transition: background var(--transition) !important;
}

.wa-badge:hover {
  background: var(--wa-dark) !important;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 16px 0;
  text-align: center;
  font-size: .82rem;
  color: rgba(255, 255, 255, .4);
}

/* Floating WhatsApp */
.float-wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--wa-green);
  color: #fff;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, .45);
  z-index: 900;
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  animation: float-pulse 3s ease-in-out infinite;
}

.float-wa:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(37, 211, 102, .6);
}

@keyframes float-pulse {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, .45);
  }

  50% {
    box-shadow: 0 4px 32px rgba(37, 211, 102, .7);
  }
}

/* ===================================================================
   ADMIN – base styles (admin/ has its own extra CSS too)
=================================================================== */
.admin-badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

/* ===================================================================
   ALERTS / NOTICES
=================================================================== */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 500;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.alert-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.alert-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.alert-info {
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}

/* ===================================================================
   LAZY LOAD SKELETON
=================================================================== */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-pulse 1.5s infinite;
  border-radius: var(--radius-sm);
}

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

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

/* ===================================================================
   SEARCH RESULTS
=================================================================== */
.search-header {
  padding: 24px 0;
}

.search-header h1 {
  font-size: 1.3rem;
  font-weight: 700;
}

.search-header span {
  color: var(--primary);
}

/* ===================================================================
   EMPTY STATE
=================================================================== */
.empty-state {
  text-align: center;
  padding: 60px 20px;
}

.empty-state-icon {
  font-size: 4rem;
  margin-bottom: 16px;
}

.empty-state h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.empty-state p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* ===================================================================
   COOKIE / NOTICE STRIP
=================================================================== */
.notice-strip {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  text-align: center;
  padding: 8px 16px;
  font-size: .82rem;
  font-weight: 500;
}

/* ===================================================================
   RESPONSIVE TWEAKS
=================================================================== */
@media (max-width: 480px) {
  section {
    padding: 36px 0;
  }

  .hero {
    padding: 48px 0 60px;
  }

  .promo-banner {
    padding: 24px 20px;
  }
}

/* Infinite Scroll loading indicator */
.infinite-scroll-sentinel {
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

.loading-dots {
  display: flex;
  gap: 6px;
}

.loading-dots div {
  width: 10px;
  height: 10px;
  background: var(--primary);
  border-radius: 50%;
  animation: bounce .6s infinite alternate;
}

.loading-dots div:nth-child(2) {
  animation-delay: .2s;
}

.loading-dots div:nth-child(3) {
  animation-delay: .4s;
}

@keyframes bounce {
  to {
    transform: translateY(-10px);
    opacity: .6;
  }
}@media screen {
  /* ---------- Technical Specs Table ---------- */
  .specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
  }
  .specs-table tr:nth-child(even) {
    background: var(--bg);
  }
  .specs-table th {
    width: 40%;
    text-align: left;
    padding: 10px 15px;
    font-size: .85rem;
    font-weight: 600;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
  }
  .specs-table td {
    padding: 10px 15px;
    font-size: .85rem;
    color: var(--text);
    border-bottom: 1px solid var(--border);
  }
  .specs-table tr:last-child th,
  .specs-table tr:last-child td {
    border-bottom: none;
  }
  
  /* ---------- Related Products ---------- */
  .related-products {
    margin-top: 40px;
    padding-bottom: 40px;
  }
  .related-products .section-title {
    font-size: 1.25rem;
    margin-bottom: 20px;
  }
}

/* ---------- SIDE CART ---------- */
.cart-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: .3s ease;
}
.cart-overlay.open {
  opacity: 1;
  visibility: visible;
}
.side-cart {
  position: fixed;
  top: 0; right: -400px;
  width: 100%; max-width: 380px;
  height: 100vh;
  background: #fff;
  z-index: 9999;
  box-shadow: -5px 0 25px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  transition: right .3s ease;
}
.side-cart.open {
  right: 0;
}
.cart-header {
  padding: 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-header h3 { font-size: 1.25rem; font-weight: 800; }
.cart-close {
  background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text-muted);
}
.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}
.cart-item {
  display: flex; gap: 12px; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid var(--border);
}
.cart-item img {
  width: 70px; height: 70px; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--border);
}
.cart-item-details { flex: 1; }
.cart-item-title { font-weight: 600; font-size: 0.95rem; margin-bottom: 4px; line-height:1.2; }
.cart-item-price { color: var(--primary); font-weight: 700; font-size: 0.9rem; margin-bottom: 6px; }
.cart-item-actions { display: flex; align-items: center; justify-content: space-between; }
.qty-controls { display: flex; align-items: center; border: 1px solid var(--border); border-radius: 4px; overflow: hidden; }
.qty-controls button { background: #f8fafc; border: none; padding: 4px 10px; font-weight: bold; cursor: pointer;}
.qty-controls button:hover { background: #e2e8f0; }
.qty-controls span { padding: 0 10px; font-size: 0.9rem; font-weight:600; }
.cart-item-remove { color: #ef4444; background: none; border: none; cursor: pointer; font-size: 0.85rem; font-weight:600; }
.cart-footer {
  padding: 20px;
  border-top: 1px solid var(--border);
  background: #f8fafc;
}
.cart-total { display: flex; justify-content: space-between; font-size: 1.25rem; font-weight: 800; margin-bottom: 15px; }
.cart-empty-msg { text-align: center; color: var(--text-muted); padding: 40px 0; }

