@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Readex+Pro:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Brand Typography */
  --font-arabic: 'Readex Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-latin: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;

  /* Brand Signature Colors */
  --primary: #6e2264;
  --primary-hover: #561a4e;
  --primary-light: #943287;
  --primary-subtle: rgba(110, 34, 100, 0.06);
  --primary-glow: rgba(110, 34, 100, 0.22);

  --secondary: #21448f;
  --secondary-hover: #18336d;
  --secondary-light: #3262c7;
  --secondary-subtle: rgba(33, 68, 143, 0.06);
  --secondary-glow: rgba(33, 68, 143, 0.22);

  /* Signature Pro Vision Gradient */
  --gradient-brand: linear-gradient(135deg, #6e2264 0%, #21448f 100%);
  --gradient-brand-hover: linear-gradient(135deg, #7d2772 0%, #274fa4 100%);
  --gradient-radial: radial-gradient(circle at top right, rgba(110, 34, 100, 0.12), transparent 50%), radial-gradient(circle at bottom left, rgba(33, 68, 143, 0.12), transparent 50%);
  --gradient-card: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);

  /* Neutrals & Surfaces */
  --bg-page: #f8f9fc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-subtle: #f1f3f9;
  --bg-dark: #0f121d;
  --bg-dark-card: #171c2c;

  /* Borders */
  --border-subtle: rgba(0, 0, 0, 0.06);
  --border-focus: rgba(110, 34, 100, 0.35);
  --border-secondary: rgba(33, 68, 143, 0.35);

  /* Typography Colors */
  --text-main: #131722;
  --text-muted: #5c6275;
  --text-subtle: #8a90a2;
  --text-white: #ffffff;

  /* Functional Status */
  --success: #059669;
  --warning: #d97706;
  --danger: #dc2626;
  --info: #0284c7;

  /* Shadows & Physics */
  --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.12);
  --shadow-brand: 0 10px 30px rgba(110, 34, 100, 0.25);
  --spring-bounce: cubic-bezier(0.25, 1, 0.5, 1);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --radius-pill: 9999px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  direction: rtl;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

body {
  font-family: var(--font-arabic);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  -webkit-text-size-adjust: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s var(--spring-bounce);
}

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

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

/* Glassmorphism Header */
.header-glass {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s var(--spring-bounce);
}

.top-bar-announcement {
  background: var(--gradient-brand);
  color: #fff;
  font-size: 0.85rem;
  padding: 7px 0;
  text-align: center;
  font-weight: 500;
}

.top-bar-announcement a {
  text-decoration: underline;
  font-weight: 700;
  margin-right: 6px;
}

.nav-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-name-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.3px;
  white-space: nowrap;
}

@media (min-width: 992px) {
  .brand-name-text {
    display: none;
  }
}

@media (max-width: 480px) {
  .brand-name-text {
    font-size: 1.05rem;
  }
}

.brand-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gradient-brand);
  border-radius: 2px;
  transition: width 0.3s var(--spring-bounce);
}

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

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

/* Button Component Suite */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 22px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s var(--spring-bounce);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #ffffff;
  box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
  background: var(--gradient-brand-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px var(--primary-glow);
  color: #fff;
}

.btn-secondary {
  background: var(--secondary-subtle);
  color: var(--secondary);
  border-color: rgba(33, 68, 143, 0.2);
}

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

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

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

.btn-whatsapp {
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #1ebd56;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.btn-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  position: relative;
  cursor: pointer;
}

.btn-icon:hover {
  background: var(--bg-subtle);
  color: var(--primary);
  transform: scale(1.05);
}

.cart-badge-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  height: 20px;
  min-width: 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid #fff;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 60px 0 80px;
  background: var(--gradient-radial);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-subtle);
  color: var(--primary);
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 700;
  border: 1px solid rgba(110, 34, 100, 0.15);
  margin-bottom: 20px;
}

.hero-title {
  font-size: 2.85rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-main);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-title span.highlight-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.12rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-stats-row {
  display: flex;
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--secondary);
  font-family: var(--font-latin);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Hero Stage / Visual Stage */
.hero-visual-stage {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-card-floating {
  position: relative;
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.8);
  width: 100%;
  max-width: 480px;
  transition: transform 0.4s var(--spring-bounce);
}

.hero-card-floating:hover {
  transform: translateY(-6px);
}

.hero-img-wrap {
  width: 100%;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, #f9fafc 0%, #eceef5 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 20px;
}

.hero-img-wrap img {
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.5s var(--spring-bounce);
}

.hero-card-floating:hover .hero-img-wrap img {
  transform: scale(1.05);
}

.hero-pill-badge {
  position: absolute;
  top: 40px;
  right: -14px;
  background: var(--gradient-brand);
  color: #fff;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: var(--shadow-brand);
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-pill-rating {
  position: absolute;
  bottom: 40px;
  left: -14px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  padding: 10px 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
}

/* TV Media Trust Bar (CBC Feature) */
.media-trust-bar {
  background: var(--bg-surface);
  padding: 24px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.media-trust-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.media-tagline {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--text-main);
  font-size: 1rem;
}

.media-badges-list {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
}

.trust-badge-pill i {
  color: var(--primary);
}

/* Container */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Section Common - Compact & Symmetrical */
.section {
  padding: 48px 0;
}

.section-title-wrap {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 32px;
}

.section-subtitle {
  display: inline-block;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* Category Filter Tabs */
.product-filter-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.btn-filter-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 50px;
  background: #ffffff;
  border: 1.5px solid var(--border-subtle);
  color: #475569;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}

.btn-filter-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #fdf4fc;
}

.btn-filter-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(110, 34, 100, 0.25);
}

.btn-filter-tab i {
  font-size: 0.85rem;
}

/* Product Card Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 28px;
}

.product-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s var(--spring-bounce);
  position: relative;
  opacity: 1 !important;
  visibility: visible !important;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(110, 34, 100, 0.2);
  box-shadow: var(--shadow-md);
}

.product-thumb-wrap {
  position: relative;
  height: 240px;
  background: radial-gradient(circle, #f9fafc 0%, #edf0f7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow: hidden;
}

.product-thumb-wrap img {
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.4s var(--spring-bounce);
}

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

.product-tag-float {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--gradient-brand);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.product-stages-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--secondary);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
}

.product-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-cat-name {
  font-size: 0.8rem;
  color: var(--text-subtle);
  font-weight: 600;
  margin-bottom: 6px;
}

.product-name-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.45;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 48px;
}

.product-price-box {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 16px;
}

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

.price-regular {
  font-size: 0.95rem;
  color: var(--text-subtle);
  text-decoration: line-through;
  font-family: var(--font-latin);
}

.product-installment-badge {
  background: var(--secondary-subtle);
  color: var(--secondary);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
}

.product-actions-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

/* Filter Stages Explorer (Tabs) */
.stages-explorer-card {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  margin-top: 30px;
}

.stages-tabs-nav {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
  scrollbar-width: thin;
}

.stage-tab-btn {
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--bg-subtle);
  border: 1px solid transparent;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.stage-tab-btn.active {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: 0 4px 12px var(--primary-glow);
}

.stage-content-panel {
  display: none;
  padding-top: 28px;
}

.stage-content-panel.active {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
  animation: fadeIn 0.3s var(--spring-bounce);
}

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

/* Installment Calculator Widget */
.installment-calculator-widget {
  background: var(--gradient-brand);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-brand);
}

.installment-calculator-widget::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.installment-months-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 20px 0;
}

.month-card-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-md);
  padding: 14px 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  color: #fff;
}

.month-card-btn:hover, .month-card-btn.active {
  background: #ffffff;
  color: var(--primary);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.installment-result-box {
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(10px);
}

/* Warranty Verification Box */
.warranty-verify-widget {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: 36px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
}

.serial-input-group {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.serial-input-field {
  flex-grow: 1;
  padding: 14px 20px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--border-subtle);
  font-size: 1.05rem;
  font-family: var(--font-latin);
  letter-spacing: 1px;
  text-transform: uppercase;
  outline: none;
  transition: border-color 0.2s;
}

.serial-input-field:focus {
  border-color: var(--primary);
}

/* Ajax Drawer Cart */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
}

.cart-drawer-overlay.active {
  display: block;
}

.cart-drawer {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  max-width: 420px;
  background: var(--bg-surface);
  z-index: 2001;
  transform: translateX(-100%);
  transition: transform 0.35s var(--spring-bounce);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}

.cart-drawer-overlay.active .cart-drawer {
  transform: translateX(0);
}

.cart-drawer-header {
  padding: 20px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-drawer-body {
  padding: 20px;
  flex-grow: 1;
  overflow-y: auto;
}

.cart-drawer-footer {
  padding: 20px;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-subtle);
}

/* Footer */
.site-footer {
  background: var(--bg-dark);
  color: #d1d5db;
  padding: 70px 0 30px;
  margin-top: 80px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-title {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 36px;
  height: 2px;
  background: var(--primary);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a:hover {
  color: #fff;
  transform: translateX(-4px);
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  flex-wrap: wrap;
  gap: 16px;
}

/* Floating Quick Actions */
.floating-actions-wrap {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 990;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.floating-btn-whatsapp {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
  transition: transform 0.25s var(--spring-bounce);
}

.floating-btn-whatsapp:hover {
  transform: scale(1.1) rotate(6deg);
}

/* Toast Messages */
.toast-container {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast-message {
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  background: #1f2937;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toastIn 0.3s var(--spring-bounce);
  pointer-events: auto;
}

.toast-message.success {
  background: var(--success);
}

.toast-message.error {
  background: var(--danger);
}

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

/* Dropdown Menus */
.nav-item-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown-toggle {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-dropdown-toggle i {
  font-size: 0.72rem;
  transition: transform 0.25s var(--spring-bounce);
}

.nav-item-dropdown:hover .nav-dropdown-toggle i {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: -20px;
  min-width: 270px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
  padding: 10px;
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 1050;
  animation: dropdownFade 0.25s var(--spring-bounce);
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}

.nav-item-dropdown:hover .nav-dropdown-menu {
  display: flex;
}

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

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  color: #1e293b;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.dropdown-link:hover {
  background: linear-gradient(135deg, rgba(110,34,100,0.07) 0%, rgba(33,68,143,0.07) 100%);
  color: var(--primary);
  transform: translateX(-4px);
}

.dropdown-link i {
  width: 22px;
  font-size: 1rem;
  color: var(--primary);
}

/* Header Live Search */
.header-search-wrap {
  position: relative;
  width: 240px;
}

.header-search-input {
  width: 100%;
  padding: 8px 16px 8px 36px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-subtle);
  background: rgba(248, 250, 252, 0.9);
  font-size: 0.85rem;
  color: #0f172a;
  outline: none;
  transition: all 0.25s;
}

.header-search-input:focus {
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(110, 34, 100, 0.12);
  width: 280px;
}

.header-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
  font-size: 0.85rem;
}

.search-suggestions-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 320px;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 20px 45px rgba(0,0,0,0.16);
  max-height: 420px;
  overflow-y: auto;
  display: none;
  flex-direction: column;
  z-index: 1200;
  padding: 8px;
}

.search-suggestion-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 10px;
  text-decoration: none;
  color: #1e293b;
  transition: background 0.15s;
  border-bottom: 1px solid #f1f5f9;
}

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

.search-suggestion-item:hover {
  background: #f8fafc;
}

.search-suggestion-thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: contain;
  background: #f8fafc;
  padding: 2px;
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
}

/* CBC Showcase Section */
.cbc-showcase-box {
  background: linear-gradient(135deg, #1e1026 0%, #0f1a36 100%);
  border-radius: 28px;
  padding: 44px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(110, 34, 100, 0.25);
  border: 1px solid rgba(255,255,255,0.1);
}

.cbc-showcase-box::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(110,34,100,0.3) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Brands Cards */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.brand-card {
  background: #ffffff;
  border: 1.5px solid var(--border-subtle);
  border-radius: 18px;
  padding: 24px 18px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s var(--spring-bounce);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.brand-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 15px 30px rgba(110,34,100,0.12);
}

.brand-card img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: transform 0.2s;
}

.brand-card:hover img {
  transform: scale(1.06);
}

/* Embedded Shortcode Cards (Rich Text) */
.embedded-product-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #ffffff;
  border: 1.5px solid var(--border-subtle);
  border-radius: 16px;
  padding: 16px 20px;
  margin: 20px 0;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}

.embedded-product-thumb {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  object-fit: contain;
  background: #f8fafc;
  padding: 4px;
}

.embedded-video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 16px;
  margin: 24px 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.embedded-video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ==========================================================================
   MOBILE-FIRST RESPONSIVE ARCHITECTURE & COMPONENT OVERRIDES
   ========================================================================== */

/* 1. Global Viewport & Container */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100%;
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
  .section {
    padding: 36px 0;
  }
  .section-title {
    font-size: 1.65rem;
    line-height: 1.35;
  }
  .section-desc {
    font-size: 0.92rem;
  }
  .section-title-wrap {
    margin: 0 auto 24px;
  }
}

/* 2. Top Announcement Bar Responsive */
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}

.top-bar-links {
  display: flex;
  gap: 16px;
  align-items: center;
}

.top-bar-links a {
  color: #fff;
  text-decoration: none;
}

@media (max-width: 768px) {
  .top-bar-links {
    display: none !important;
  }
  .top-bar-inner {
    justify-content: center !important;
    text-align: center;
    padding: 2px 0;
  }
}

/* 3. Header Glass & Mobile Navigation */
@media (max-width: 992px) {
  .nav-menu {
    display: none !important;
  }
  .header-search-wrap {
    display: none !important;
  }
  #mobileMenuToggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }
  .nav-container {
    height: 60px;
  }
  .brand-logo-img {
    height: 36px;
  }
  .nav-whatsapp-btn {
    padding: 0 !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    justify-content: center !important;
  }
  .nav-whatsapp-btn .whatsapp-btn-text {
    display: none !important;
  }
}

@media (min-width: 993px) {
  #mobileMenuToggle {
    display: none !important;
  }
}

/* Mobile Nav Drawer & Backdrop */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2400;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

#mobileNavDrawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 86%;
  max-width: 320px;
  background: #ffffff;
  z-index: 2500;
  box-shadow: -8px 0 35px rgba(0, 0, 0, 0.2);
  display: none;
  flex-direction: column;
}

#mobileNavDrawer.active {
  display: flex !important;
  animation: slideDrawerIn 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideDrawerIn {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

/* 4. Hero Section Mobile-First */
@media (max-width: 992px) {
  .hero-section {
    padding: 24px 0 36px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }
  .hero-title {
    font-size: 1.85rem;
    line-height: 1.35;
  }
  .hero-desc {
    font-size: 0.95rem;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-stats-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 14px !important;
    text-align: center;
    padding-top: 18px;
  }
  .hero-card-floating {
    max-width: 100% !important;
    margin: 0 auto;
    padding: 16px;
  }
  .hero-img-wrap {
    height: 240px;
  }
  .hero-pill-badge {
    right: 8px !important;
    top: 18px !important;
    font-size: 0.78rem;
    padding: 5px 12px;
  }
  .hero-pill-rating {
    left: 8px !important;
    bottom: 18px !important;
    padding: 6px 12px;
  }
}

/* 5. Products Grid & Category Filter Tabs */
.product-filter-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 8px;
  margin-bottom: 24px;
}

.product-filter-tabs::-webkit-scrollbar {
  display: none;
}

@media (min-width: 768px) {
  .product-filter-tabs {
    justify-content: center;
    flex-wrap: wrap;
    overflow-x: visible;
  }
}

.btn-filter-tab {
  flex-shrink: 0;
  white-space: nowrap;
}

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

@media (min-width: 520px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

@media (min-width: 993px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

@media (min-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

/* 6. Dual Widget Grid (Installments & Warranty) */
.dual-widget-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 993px) {
  .dual-widget-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 32px;
    align-items: stretch;
  }
}

@media (max-width: 768px) {
  .installment-calculator-widget {
    padding: 24px 18px;
    border-radius: 20px;
  }
  .installment-months-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }
  .month-card-btn {
    padding: 8px 4px;
  }
  .warranty-verify-widget {
    padding: 24px 18px;
    border-radius: 20px;
  }
}

/* 7. Commercial RO & Technicians Responsive Grids */
.commercial-banner-grid,
.technicians-banner-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}

@media (min-width: 993px) {
  .commercial-banner-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .technicians-banner-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
  }
}

.technicians-card-wrap {
  background: radial-gradient(circle at top right, rgba(110, 34, 100, 0.08), transparent 70%), #f8fafc;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  padding: 24px 16px;
}

@media (min-width: 768px) {
  .technicians-card-wrap {
    padding: 44px;
  }
}

/* 8. Filter Stages Explorer Responsive */
@media (max-width: 992px) {
  .stage-content-panel.active {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* 9. Footer Responsive */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

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

@media (min-width: 993px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
    gap: 36px;
  }
}

/* 10. CBC Theater Responsive */
@media (max-width: 768px) {
  .cbc-theater-wrap {
    padding: 20px 14px;
    border-radius: 18px;
  }
  .cbc-video-stage {
    border-radius: 12px;
  }
}

/* ==========================================================================
   PRO VISION - FAQ Accordion & Knowledge Section
   ========================================================================== */
.faq-grid-wrapper {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.25s ease;
}

.faq-card:hover {
  border-color: rgba(110, 34, 100, 0.3);
  box-shadow: 0 6px 18px rgba(110, 34, 100, 0.07);
}

.faq-card.open {
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(110, 34, 100, 0.1);
}

.faq-header-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: right;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  transition: color 0.2s ease;
}

.faq-header-btn:hover {
  color: var(--primary);
}

.faq-card.open .faq-header-btn {
  color: var(--primary);
}

.faq-icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.faq-card.open .faq-icon-circle {
  transform: rotate(180deg);
  background: var(--primary);
  color: #ffffff;
}

.faq-body-content {
  display: none;
  padding: 0 22px 20px;
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--text-muted);
  border-top: 1px dashed #f1f5f9;
  margin-top: -4px;
  padding-top: 14px;
}

.faq-card.open .faq-body-content {
  display: block;
  animation: fadeInDown 0.3s ease;
}

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

/* CBC Expanded Theater Layout */
.cbc-theater-wrap {
  border-radius: 24px;
  background: linear-gradient(135deg, #170d1e 0%, #0d162d 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 32px;
  box-shadow: 0 25px 60px rgba(110, 34, 100, 0.25);
  color: #ffffff;
}

.cbc-video-stage {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: #000;
  aspect-ratio: 16 / 9;
  max-height: 520px;
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 auto;
}

.cbc-video-stage video {
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
}

/* ==========================================================================
   HOMEPAGE MODERN E-COMMERCE STOREFRONT COMPONENT ARCHITECTURE
   ========================================================================== */

/* Category Quick Navigation Pills */
.category-pills-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 2px;
}

.category-pills-row::-webkit-scrollbar {
  display: none;
}

.category-pill-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 10px 18px;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.25s var(--spring-bounce);
  font-family: inherit;
  text-align: right;
  color: var(--text-main);
}

.category-pill-btn i {
  font-size: 1.25rem;
  color: var(--secondary);
  transition: transform 0.25s ease;
}

.category-pill-btn strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
}

.category-pill-btn span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.category-pill-btn:hover,
.category-pill-btn.active {
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(110, 34, 100, 0.12);
  transform: translateY(-2px);
}

.category-pill-btn.active i,
.category-pill-btn:hover i {
  color: var(--primary);
  transform: scale(1.15);
}

/* Hero Device Card Modernized */
.hero-card-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gradient-brand);
  color: #fff;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: var(--shadow-brand);
  margin-bottom: 14px;
}

.hero-card-meta {
  margin-top: 14px;
}

.hero-card-tags {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.origin-tag {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-card-rating {
  color: #f59e0b;
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.hero-card-rating span {
  color: var(--text-main);
  font-weight: 700;
  margin-right: 4px;
  font-family: var(--font-latin);
}

.hero-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 14px;
  line-height: 1.4;
}

.hero-card-title a {
  color: inherit;
}

.hero-card-price-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-subtle);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  margin-bottom: 12px;
}

.price-label {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.price-val-wrap {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price-current-main {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-latin);
}

.price-regular-main {
  font-size: 0.9rem;
  color: var(--text-subtle);
  text-decoration: line-through;
  font-family: var(--font-latin);
}

.hero-card-footer-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-md);
  padding: 10px 14px;
}

.pill-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--success);
  font-size: 1.1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  flex-shrink: 0;
}

.hero-card-footer-pill strong {
  display: block;
  font-size: 0.82rem;
  color: #065f46;
}

.hero-card-footer-pill span {
  display: block;
  font-size: 0.72rem;
  color: #047857;
}

/* Filter Tab Badges */
.filter-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.06);
  color: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: var(--radius-pill);
  margin-right: 6px;
  font-family: var(--font-latin);
}

.btn-filter-tab.active .filter-count-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* Product Card Enhanced Badges & Body */
.tag-bestseller {
  background: var(--gradient-brand) !important;
}

.tag-featured {
  background: var(--secondary) !important;
}

.tag-discount {
  background: #dc2626 !important;
}

.product-img-link {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.product-card-meta-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.product-brand-tag {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 700;
}

.product-warranty-tag {
  font-size: 0.72rem;
  color: #059669;
  background: #ecfdf5;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.price-group {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.savings-pill {
  font-size: 0.72rem;
  font-weight: 800;
  background: #fee2e2;
  color: #dc2626;
  padding: 2px 8px;
  border-radius: 4px;
}

.product-btn-details {
  font-size: 0.88rem;
  padding: 8px 14px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.product-btn-cart {
  padding: 8px 14px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* Empty Products Alert */
.empty-products-state {
  text-align: center;
  padding: 60px 20px;
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px dashed var(--border-subtle);
  max-width: 600px;
  margin: 30px auto;
}

.empty-state-icon {
  font-size: 3rem;
  color: #cbd5e1;
  margin-bottom: 16px;
}

.empty-products-state h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.empty-products-state p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

/* Brands Grid */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.brand-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  padding: 20px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.25s var(--spring-bounce);
  box-shadow: var(--shadow-sm);
}

.brand-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.brand-logo-container {
  height: 55px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.brand-logo-container img {
  max-height: 100%;
  max-width: 130px;
  object-fit: contain;
}

.brand-card-name {
  font-size: 0.92rem;
  color: #0f172a;
  margin-bottom: 6px;
}

.brand-origin-badge {
  font-size: 0.72rem;
  color: #64748b;
  background: #f1f5f9;
  padding: 2px 8px;
  border-radius: 4px;
}

/* CBC Television Section */
.cbc-video-controls-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cbc-speed-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cbc-btn-control {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  padding: 5px 12px;
  font-size: 0.8rem;
  border-radius: 8px;
}

.cbc-action-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cbc-highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.cbc-highlight-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.highlight-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Article Summary Cards */
.article-summary-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.article-summary-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.article-thumb-img {
  height: 190px;
  width: 100%;
  object-fit: cover;
}

.article-summary-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-author-tag {
  font-size: 0.78rem;
  color: var(--text-subtle);
  margin-bottom: 8px;
  font-weight: 600;
}

.article-title-link {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.45;
  margin-bottom: 10px;
}

.article-title-link a {
  color: inherit;
}

.article-excerpt-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

/* ==========================================================================
   MOBILE-FIRST BREAKPOINTS & VIEWPORT GUARDS (320px to 1440px)
   ========================================================================== */

/* Narrow Phones <= 480px (iPhone SE, 320px - 430px) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.55rem !important;
  }
  .hero-desc {
    font-size: 0.88rem !important;
  }
  .hero-badge {
    font-size: 0.78rem !important;
    padding: 6px 12px !important;
  }
  .hero-stats-row {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }
  .stat-number {
    font-size: 1.4rem !important;
  }
  .stat-label {
    font-size: 0.72rem !important;
  }
  .hero-card-floating {
    padding: 14px !important;
  }
  .hero-img-wrap {
    height: 190px !important;
  }
  .products-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .product-thumb-wrap {
    height: 180px !important;
  }
  .product-actions-row {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }
  .product-btn-cart,
  .product-btn-details {
    width: 100% !important;
  }
  .cbc-action-links {
    width: 100%;
    flex-direction: column;
  }
  .cbc-action-links a {
    width: 100%;
    justify-content: center;
  }
  .cbc-speed-group {
    width: 100%;
    justify-content: center;
  }
}


/* ==========================================================================
   Single Product Showcase Responsive (Mobile First)
   ========================================================================== */
.product-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.product-trust-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.product-action-row {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.product-installment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.product-stage-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  background: var(--bg-subtle);
  padding: 16px;
  border-radius: var(--radius-md);
}

@media (max-width: 992px) {
  .product-showcase-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 640px) {
  .product-trust-bar {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 8px;
  }
  .product-trust-bar > div {
    padding: 10px 6px !important;
  }
  .product-installment-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .product-stage-specs-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .product-action-row {
    flex-direction: column;
    align-items: stretch;
  }
  .product-action-row .btn,
  .product-action-row a {
    width: 100%;
    justify-content: center;
  }
  .variant-select-card {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 10px;
  }
  .variant-select-card > div:last-child {
    text-align: right !important;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
  }
}





/* ==========================================================================
   MOBILE-RESPONSIVE STANDARDS (AsadSumbul/mobile-responsive)
   Full Device Coverage: 320px, 360px, 375px, 414px, 768px, 1024px, 1280px+
   Zero Horizontal Overflow, 44px+ Touch Targets, Fluid Typography & Safe Areas
   ========================================================================== */

/* 1. Global Zero-Overflow Guardrails */
html, body {
  overflow-x: clip !important;
  width: 100%;
  max-width: 100vw;
  -webkit-text-size-adjust: 100%;
}

*, *::before, *::after {
  box-sizing: border-box;
  overflow-wrap: anywhere;
}

img, video, iframe, svg, canvas {
  max-width: 100% !important;
  height: auto;
}

/* 2. Fluid Responsive Typography */
.hero-title {
  font-size: clamp(1.55rem, 4vw + 0.6rem, 2.75rem) !important;
  line-height: 1.25 !important;
}

.section-title {
  font-size: clamp(1.35rem, 3vw + 0.5rem, 2.2rem) !important;
  line-height: 1.3 !important;
}

.hero-desc,
.section-desc {
  font-size: clamp(0.88rem, 1.2vw + 0.5rem, 1.05rem) !important;
  max-width: min(100%, 65ch);
  line-height: 1.8 !important;
}

/* 3. Touch Targets & iOS Safari Zoom Prevention */
@media (max-width: 768px) {
  /* 44px minimum touch targets */
  .btn,
  .btn-icon,
  .nav-link,
  a.btn,
  button,
  .header-search-btn {
    min-height: 44px;
    touch-action: manipulation;
  }
  
  .btn-icon {
    min-width: 44px;
    min-height: 44px;
  }
  
  /* Prevent iOS Safari 16px auto-zoom */
  input,
  select,
  textarea {
    font-size: 16px !important;
  }
  
  /* Container safe padding */
  .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

/* 4. Small Phones Stress Test (320px - 360px) */
@media (max-width: 360px) {
  .hero-cta-group {
    flex-direction: column !important;
    width: 100%;
  }
  .hero-cta-group .btn {
    width: 100% !important;
  }
  .hero-stats-row {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }
  .product-card-body {
    padding: 12px !important;
  }
  .product-price-current {
    font-size: 1.25rem !important;
  }
  .product-actions-row {
    flex-direction: column !important;
  }
  .product-actions-row .btn {
    width: 100% !important;
  }
  .cbc-controls {
    flex-direction: column !important;
    gap: 10px !important;
  }
  .cbc-speed-group {
    width: 100% !important;
    justify-content: center !important;
  }
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
}

/* 5. Mobile Safe Area & Fixed Elements */
.floating-actions-wrap {
  bottom: calc(18px + env(safe-area-inset-bottom, 0px)) !important;
  left: calc(18px + env(safe-area-inset-left, 0px)) !important;
}

/* 6. Dynamic Viewport Heights */
@supports (min-height: 100dvh) {
  .mobile-nav-drawer {
    height: 100dvh !important;
    max-height: 100dvh !important;
  }
}

/* 7. Responsive Tables with Smooth Touch Scrolling */
.table-responsive,
.admin-table-wrap,
.cart-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 16px;
}


/* ==============================================================================
   8. MOBILE PRODUCTS SINGLE-ROW AUTOMATIC ROTATING CAROUSEL
   ============================================================================== */
@media (max-width: 768px) {
  #productsSection .products-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 14px !important;
    padding: 6px 4px 14px 4px !important;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) #e2e8f0;
  }
  #productsSection .products-grid::-webkit-scrollbar {
    height: 4px;
  }
  #productsSection .products-grid::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 999px;
  }
  #productsSection .products-grid::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 999px;
  }
  #productsSection .products-grid .product-card {
    flex: 0 0 280px !important;
    width: 280px !important;
    min-width: 280px !important;
    max-width: 82vw !important;
    scroll-snap-align: start !important;
    scroll-snap-stop: normal;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
  }
  #productsSection .product-filter-tabs {
    display: flex !important;
    gap: 8px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 4px 2px 12px !important;
    margin-bottom: 14px !important;
    scrollbar-width: none !important;
  }
  #productsSection .product-filter-tabs::-webkit-scrollbar {
    display: none !important;
  }
  #productsSection .btn-filter-tab {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    font-size: 0.88rem !important;
    padding: 8px 14px !important;
  }
}

/* Mobile Carousel Navigation Controls & Indicator Dots */
.mobile-carousel-controls {
  display: none;
}

@media (max-width: 768px) {
  .mobile-carousel-controls {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 14px;
  }
  .carousel-control-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid var(--border-subtle);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
  }
  .carousel-control-btn:active {
    background: var(--primary);
    color: #fff;
    transform: scale(0.92);
  }
  .carousel-dots {
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
    transition: all 0.3s ease;
    cursor: pointer;
  }
  .carousel-dot.active {
    width: 22px;
    border-radius: 999px;
    background: var(--primary);
  }
}

/* ==============================================================================
   9. INSTALLMENT CALCULATOR & WARRANTY CHECKER MOBILE OPTIMIZATION
   ============================================================================== */
.installment-calc-badge {
  background: rgba(255, 255, 255, 0.2);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-block;
}

.installment-calc-title {
  font-size: clamp(1.25rem, 4vw, 1.8rem);
  font-weight: 800;
  margin: 14px 0 10px;
  line-height: 1.35;
}

.installment-calc-subtitle {
  opacity: 0.9;
  font-size: 0.95rem;
  line-height: 1.6;
}

.installment-downpayment-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: none;
  font-size: 1rem;
  color: #1e293b;
  outline: none;
  font-family: var(--font-latin);
}

.month-num {
  font-size: 1.25rem;
  font-weight: 800;
  font-family: var(--font-latin);
}

.month-label {
  font-size: 0.78rem;
}

.result-label {
  font-size: 0.82rem;
  opacity: 0.85;
  display: block;
}

.result-amount {
  font-size: 1.55rem;
  font-weight: 800;
  font-family: var(--font-latin);
}

.warranty-footer-row {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 768px) {
  .installment-calculator-widget {
    padding: 22px 16px !important;
    border-radius: 20px !important;
  }
  .installment-months-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 8px !important;
    margin: 16px 0 !important;
  }
  .month-card-btn {
    padding: 10px 4px !important;
    min-height: 52px;
  }
  .warranty-verify-widget {
    padding: 22px 16px !important;
    border-radius: 20px !important;
  }
}

@media (max-width: 580px) {
  .installment-result-box {
    flex-direction: column !important;
    align-items: stretch !important;
    text-align: center !important;
    gap: 14px !important;
    padding: 16px !important;
  }
  .installment-cta-btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 12px 18px !important;
  }
  .serial-input-group {
    flex-direction: column !important;
    gap: 10px !important;
  }
  .serial-input-group .serial-input-field {
    width: 100% !important;
    border-radius: var(--radius-md) !important;
    font-size: 1rem !important;
  }
  .serial-submit-btn {
    width: 100% !important;
    border-radius: var(--radius-md) !important;
    padding: 12px 18px !important;
    justify-content: center !important;
  }
}

/* ==============================================================================
   10. CHECKOUT & CART RESPONSIVE MOBILE LAYOUT OVERHAUL
   ============================================================================== */
.checkout-page-title {
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 24px;
}

.checkout-layout-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: flex-start;
}

.checkout-form-box {
  background: #fff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.checkout-summary-box {
  background: #fff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 100px;
}

.checkout-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 992px) {
  .checkout-layout-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .checkout-summary-box {
    position: static !important;
  }
}

@media (max-width: 600px) {
  .checkout-form-box {
    padding: 20px 14px !important;
    border-radius: 18px !important;
  }
  .checkout-summary-box {
    padding: 20px 14px !important;
    border-radius: 18px !important;
  }
  .checkout-row-2col {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
}

/* Cart Page */
.cart-layout-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.9fr;
  gap: 32px;
  align-items: flex-start;
}

.cart-items-box {
  background: #fff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.cart-summary-box {
  background: #fff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 100px;
}

.cart-item-card {
  display: flex;
  gap: 18px;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

@media (max-width: 992px) {
  .cart-layout-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .cart-summary-box {
    position: static !important;
  }
}

@media (max-width: 600px) {
  .cart-items-box {
    padding: 20px 14px !important;
    border-radius: 18px !important;
  }
  .cart-summary-box {
    padding: 20px 14px !important;
    border-radius: 18px !important;
  }
  .cart-item-card {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }
  .cart-item-actions {
    width: 100% !important;
    justify-content: space-between !important;
  }
}


/* ==============================================================================
   11. WARRANTY PAGE RESPONSIVE OVERHAUL & VIEW ALL PRODUCTS BUTTON
   ============================================================================== */
.warranty-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 32px;
  align-items: flex-start;
}

.warranty-card-box {
  background: #fff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.warranty-cert-card {
  background: #fff;
  border-radius: var(--radius-xl);
  border: 2px solid var(--primary);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  position: relative;
  margin-bottom: 40px;
  overflow: hidden;
}

.warranty-cert-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  background: var(--bg-subtle);
  padding: 24px;
  border-radius: var(--radius-lg);
  margin-bottom: 28px;
  font-size: 0.95rem;
}

.warranty-form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 992px) {
  .warranty-layout-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .warranty-card-box {
    padding: 20px 14px !important;
    border-radius: 18px !important;
  }
  .warranty-cert-card {
    padding: 20px 14px !important;
    border-radius: 18px !important;
  }
}

@media (max-width: 600px) {
  .warranty-cert-meta-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    padding: 16px 12px !important;
  }
  .warranty-form-row-2col {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
}

/* View All Products Button on Homepage */
.view-all-products-wrap {
  text-align: center;
  margin-top: 36px;
  padding: 0 16px;
}

.view-all-products-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 100%;
  width: auto;
  padding: 14px 28px !important;
  font-size: 1rem !important;
  font-weight: 700;
  text-align: center;
  white-space: normal !important;
  line-height: 1.4 !important;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 14px rgba(110, 34, 100, 0.25);
}

@media (max-width: 600px) {
  .view-all-products-btn {
    width: 100% !important;
    padding: 14px 16px !important;
    font-size: 0.92rem !important;
    border-radius: var(--radius-lg) !important;
  }
}
