/* ============================================================
   Nova Shop — Main Stylesheet
   ============================================================ */

/* ---------- Google Font Import ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ---------- CSS Variables (Design Tokens) ---------- */
:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #e0e7ff;
  --secondary: #ec4899;
  --bg: #f8faff;
  --bg-alt: #f1f5f9;
  --surface: #ffffff;
  --text: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border: #e2e8f0;
  --success: #10b981;
  --sale-red: #ef4444;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 16px rgba(99, 102, 241, 0.10), 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 12px 32px rgba(99, 102, 241, 0.18), 0 4px 8px rgba(0, 0, 0, 0.08);
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --navbar-h: 68px;
}

.spinner-small {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

/* ---------- Utility Classes ---------- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin-top: 8px;
  max-width: 500px;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.badge-primary {
  background: var(--primary-light);
  color: var(--primary-dark);
}

.badge-sale {
  background: #fee2e2;
  color: var(--sale-red);
}

.badge-new {
  background: #d1fae5;
  color: #059669;
}

.badge-popular {
  background: #fef3c7;
  color: #d97706;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.50);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-white {
  background: #fff;
  color: var(--primary-dark);
  font-weight: 700;
}

.btn-white:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

/* ============================================================
   NAVIGATION BAR
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--navbar-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 16px rgba(0, 0, 0, 0.05);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
}

.nav-logo .logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-weight: 500;
  font-size: 13px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: var(--primary-light);
}

.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
  color: #fff !important;
  padding: 8px 20px !important;
}

.nav-cta:hover {
  opacity: 0.9;
}

/* Hamburger (mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: var(--transition);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--navbar-h);
  left: 0;
  right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
  z-index: 999;
  padding: 16px 24px 24px;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  color: var(--text-muted);
  display: block;
}

.mobile-menu a:hover {
  background: var(--primary-light);
  color: var(--primary);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #1e1b4b 0%, #4c1d95 50%, #831843 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-banner.png');
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 24px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.hero-title span {
  background: linear-gradient(135deg, #a5f3fc, #c4b5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.80);
  max-width: 500px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  flex-wrap: wrap;
}

.hero-stat .num {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.hero-stat .label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 4px;
}

/* ============================================================
   CATEGORIES STRIP
   ============================================================ */
.categories-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0;
}

.categories-inner {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding: 16px 0;
  scrollbar-width: none;
}

.categories-inner::-webkit-scrollbar {
  display: none;
}

.cat-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 30px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.cat-btn:hover,
.cat-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

/* ============================================================
   PRODUCTS GRID
   ============================================================ */
.products-section {
  padding: 64px 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Product Card */
.product-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-light);
}

.card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--bg-alt);
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .card-img-wrap img {
  transform: scale(1.06);
}

.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}

.card-body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-category {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
}

.card-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.4;
  flex: 1;
}

.card-pricing {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.price {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.price-original {
  font-size: 13px;
  color: var(--text-light);
  text-decoration: line-through;
}

.price-discount {
  font-size: 11px;
  font-weight: 700;
  color: var(--sale-red);
  background: #fee2e2;
  padding: 2px 7px;
  border-radius: 20px;
}

.card-view-btn {
  width: 100%;
  justify-content: center;
  padding: 10px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-view-btn:hover {
  background: var(--primary);
  color: #fff;
}

/* No-results */
.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 0;
  color: var(--text-muted);
}

.no-results .icon {
  font-size: 4rem;
  margin-bottom: 16px;
}

/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--primary);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb .sep {
  color: var(--text-light);
}

.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

/* Image Gallery */
.product-gallery {
  position: sticky;
  top: calc(var(--navbar-h) + 24px);
}

.gallery-main {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--bg-alt);
  margin-bottom: 12px;
  border: 1px solid var(--border);
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s ease;
}

.gallery-thumbs {
  display: flex;
  gap: 10px;
}

.gallery-thumb {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  flex-shrink: 0;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumb.active,
.gallery-thumb:hover {
  border-color: var(--primary);
}

/* Product Info */
.product-info {
  padding-top: 8px;
}

.product-info .detail-category {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.product-info h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.detail-pricing {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.detail-price {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary-dark);
}

.detail-original {
  font-size: 1.1rem;
  color: var(--text-light);
  text-decoration: line-through;
}

.detail-save-badge {
  background: #fee2e2;
  color: var(--sale-red);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
}

.product-description {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 32px;
  font-size: 15px;
}

.specs-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 32px;
}

.specs-table tr:nth-child(even) {
  background: var(--bg);
}

.specs-table td {
  padding: 12px 16px;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.specs-table td:first-child {
  font-weight: 600;
  color: var(--text);
  width: 40%;
  white-space: nowrap;
}

.specs-table td:last-child {
  color: var(--text-muted);
}

.specs-table tr:last-child td {
  border-bottom: none;
}

.enquire-note {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--primary);
  font-size: 14px;
  color: var(--primary-dark);
  font-weight: 500;
}

/* ============================================================
   FEATURES STRIP
   ============================================================ */
.features-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.feature-item h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.feature-item p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================================
   INNER PAGE SECTIONS (About, Contact, Privacy, Terms)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, #1e1b4b 0%, #4c1d95 100%);
  padding: 64px 0;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 500px;
  margin: 0 auto;
}

.page-content {
  padding: 64px 0 80px;
}

.page-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.page-card h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin-top: 36px;
  margin-bottom: 12px;
}

.page-card h2:first-child {
  margin-top: 0;
}

.page-card p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.page-card ul {
  list-style: disc;
  padding-left: 24px;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 16px;
}

.page-card strong {
  color: var(--text);
}

/* About Grids */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 64px;
}

.about-img {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-alt);
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.3;
  letter-spacing: -0.5px;
}

.about-text p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.value-card .icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.value-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.value-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Contact Form */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 48px;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.contact-info p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-item .ci-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-item .ci-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 3px;
}

.contact-item .ci-value {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}

/* Form Styles */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  background: var(--surface);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 32px;
  background: #d1fae5;
  border-radius: var(--radius);
  color: #065f46;
  font-weight: 600;
  font-size: 15px;
}

.form-success .success-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #0f172a;
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .nav-logo {
  color: #fff;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  max-width: 280px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-col h4 {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul li a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.35);
  font-size: 13px;
}

.footer-bottom-links a:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: calc(100% - 48px);
  max-width: 760px;
  background: #0f172a;
  color: #fff;
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.06);
  animation: slideUpIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.hidden {
  display: none;
}

@keyframes slideUpIn {
  from {
    transform: translateX(-50%) translateY(20px);
    opacity: 0;
  }

  to {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
}

.cookie-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}

.cookie-text {
  flex: 1;
}

.cookie-text strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.cookie-text p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.btn-cookie-accept {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-cookie-accept:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-cookie-decline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-cookie-decline:hover {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

/* ============================================================
   PAGE LOADER
   ============================================================ */
.page-loader {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 300px;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--primary-light);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ============================================================
   PRODUCT DETAIL PAGE LAYOUT
   ============================================================ */
.detail-page {
  padding: 40px 0 80px;
}

/* ============================================================
   RESPONSIVE — TABLET (max 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-detail-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .product-gallery {
    position: static;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE (max 768px)
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --navbar-h: 60px;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .hero {
    min-height: 420px;
  }

  .hero-stats {
    gap: 24px;
    margin-top: 36px;
  }

  .hero-actions {
    gap: 12px;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    bottom: 16px;
    width: calc(100% - 32px);
    padding: 18px 18px;
  }

  .cookie-actions {
    width: 100%;
  }

  .btn-cookie-accept,
  .btn-cookie-decline {
    flex: 1;
    text-align: center;
    justify-content: center;
  }

  .page-card {
    padding: 28px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .product-info h1 {
    font-size: 1.6rem;
  }

  .detail-price {
    font-size: 1.8rem;
  }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (max 480px)
   ============================================================ */
@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 1.9rem;
  }
}

/* ============================================================
   ANIMATION UTILITIES
   ============================================================ */
.fade-in {
  animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stagger>* {
  animation: fadeIn 0.5s ease both;
}

.stagger>*:nth-child(1) {
  animation-delay: 0.05s;
}

.stagger>*:nth-child(2) {
  animation-delay: 0.10s;
}

.stagger>*:nth-child(3) {
  animation-delay: 0.15s;
}

.stagger>*:nth-child(4) {
  animation-delay: 0.20s;
}

.stagger>*:nth-child(5) {
  animation-delay: 0.25s;
}

.stagger>*:nth-child(6) {
  animation-delay: 0.30s;
}

.stagger>*:nth-child(7) {
  animation-delay: 0.35s;
}

.stagger>*:nth-child(8) {
  animation-delay: 0.40s;
}

.stagger>*:nth-child(9) {
  animation-delay: 0.45s;
}

.stagger>*:nth-child(10) {
  animation-delay: 0.50s;
}

.stagger>*:nth-child(11) {
  animation-delay: 0.55s;
}

.stagger>*:nth-child(12) {
  animation-delay: 0.60s;
}

/* ============================================================
   SEARCH BAR
   ============================================================ */
.search-bar-wrap {
  display: flex;
  justify-content: center;
  padding: 32px 0 0;
}

.search-bar {
  display: flex;
  align-items: center;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 40px;
  padding: 10px 10px 10px 22px;
  width: 100%;
  max-width: 540px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.search-bar:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-light);
}

.search-bar input {
  flex: 1;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  background: transparent;
}

.search-bar input::placeholder {
  color: var(--text-light);
}

.search-bar button {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.search-bar button:hover {
  background: var(--primary-dark);
}