/* ==========================================================================
   CARMAGAUTO / PROGRAMMATION AUTO SERVICE — UPGRADED VISUAL DESIGN SYSTEM
   Exact Palette, Zero Horizontal Overflow, Multilingual (RTL/LTR) & SEO Blog
   ========================================================================== */

:root {
  /* Exact Background Colors */
  --bg-primary: #ffffff;
  --bg-surface: #f7f8fb;
  --bg-midnight: #0b1324;
  --bg-offer-tint: linear-gradient(135deg, #eff6ffcc, #ffffff);

  /* Exact Text & Border Colors */
  --text-heading: #0b1324;
  --text-body: #101c33;
  --text-secondary: #5b6b8a;
  --border-color: #e6eaf2;

  /* Automotive Electric Blue Accents (Buttons, CTAs, Badges & Borders) */
  --emerald-primary: #0066ff;
  --emerald-hover: #0052cc;
  --emerald-badge-bg: #dbeafe;
  --emerald-tint-bg: #eff6ff;
  --emerald-ring: #3b82f6;

  /* Secondary Warm Accent Badge */
  --warm-badge-bg: #fef3c7;
  --warm-badge-text: #92400e;

  /* Cards & Elevation */
  --radius-card: 24px;
  --radius-lg: 26px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shadow-soft: 0 1px 2px rgba(16, 28, 51, 0.04), 0 8px 24px -8px rgba(16, 28, 51, 0.10);
  --shadow-lift: 0 2px 4px rgba(16, 28, 51, 0.05), 0 20px 40px -12px rgba(16, 28, 51, 0.18);

  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --font-cairo: 'Cairo', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ==========================================================================
   MOBILE-FIRST UX & ZERO HORIZONTAL OVERFLOW LOCK (CRITICAL)
   ========================================================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  min-width: 0;
}

html,
body {
  overflow-x: clip;
  max-width: 100%;
  overflow-wrap: break-word;
  scroll-behavior: smooth;
  font-family: var(--font-cairo);
  background-color: var(--bg-primary);
  color: var(--text-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img,
svg,
video,
canvas {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul {
  list-style: none;
}

button,
input,
select,
textarea {
  font-family: var(--font-cairo);
}

.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 18px;
}

/* ==========================================================================
   1. ANNOUNCEMENT BAR & TOP UTILITY BAR (Multilingual + Multi-Currency)
   ========================================================================== */
.announcement-bar {
  background-color: var(--bg-midnight);
  color: #ffffff;
  padding: 10px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.announcement-inner {
  max-width: 1260px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  text-align: center;
}

.announcement-badge {
  background-color: var(--warm-badge-bg);
  color: var(--warm-badge-text);
  font-size: 0.76rem;
  font-weight: 800;
  padding: 2px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

/* Sleek Top Utility Bar for Language & Market/Currency */
.utility-bar {
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  padding: 8px 0;
  font-size: 0.83rem;
}

.utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.lang-btn {
  background: var(--bg-primary);
  color: var(--text-body);
  border: 1px solid var(--border-color);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.lang-btn:hover {
  border-color: var(--emerald-ring);
  color: var(--emerald-primary);
}

.lang-btn.active {
  background: linear-gradient(135deg, #0066ff, #0284c7);
  color: #ffffff;
  border-color: #0066ff;
  box-shadow: 0 0 0 2px rgba(0, 102, 255, 0.22);
}

.currency-switcher-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.currency-label {
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 0.8rem;
}

.currency-select {
  background: var(--bg-primary);
  color: var(--text-heading);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.currency-select:focus {
  outline: none;
  border-color: var(--emerald-ring);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}

/* ==========================================================================
   2. STICKY SITE HEADER & MOBILE HAMBURGER MENU
   ========================================================================== */
.site-header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 16px;
}

.brand-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  user-select: none;
  flex-shrink: 0;
}

.brand-logo svg {
  width: 145px;
  height: 42px;
}

.brand-logo-title {
  font-size: 1.02rem;
  font-weight: 900;
  color: var(--text-heading);
  letter-spacing: 0.2px;
  line-height: 1.1;
  margin-top: -2px;
}

.brand-logo-sub {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--emerald-primary);
  background: var(--emerald-tint-bg);
  padding: 1px 10px;
  border-radius: 999px;
  margin-top: 3px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.header-nav a {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text-body);
  padding: 6px 2px;
  position: relative;
  transition: var(--transition);
}

.header-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 0;
  height: 2.5px;
  background: var(--emerald-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--emerald-primary);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-box input {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  padding: 8px 34px 8px 14px;
  font-size: 0.84rem;
  color: var(--text-body);
  width: 195px;
  transition: var(--transition);
}

html[dir="ltr"] .search-box input {
  padding: 8px 14px 8px 34px;
}

.search-box input:focus {
  outline: none;
  border-color: var(--emerald-ring);
  background: var(--bg-primary);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.search-box i {
  position: absolute;
  inset-inline-start: 13px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  pointer-events: none;
}

.header-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #0066ff, #0284c7);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.86rem;
  padding: 9px 18px;
  border-radius: 999px;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(0, 102, 255, 0.3);
  white-space: nowrap;
}

.header-wa-btn:hover {
  background: linear-gradient(135deg, #0052cc, #0369a1);
  transform: translateY(-1px);
}

/* Mobile Hamburger Button (☰ / ✕) */
.mobile-hamburger-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-heading);
  font-size: 1.25rem;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}

.mobile-hamburger-btn:hover,
.mobile-hamburger-btn[aria-expanded="true"] {
  background: var(--emerald-tint-bg);
  border-color: var(--emerald-ring);
  color: var(--emerald-primary);
}

/* Full Dropdown Mobile Menu */
.mobile-dropdown-menu {
  display: none;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-soft);
  padding: 16px 18px 20px;
}

.mobile-dropdown-menu.open {
  display: block;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.mobile-nav-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border-radius: 12px;
  background: var(--bg-surface);
  font-weight: 700;
  color: var(--text-heading);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.mobile-nav-list a:hover {
  background: var(--emerald-tint-bg);
  border-color: var(--emerald-ring);
  color: var(--emerald-primary);
}

.mobile-search-wrap {
  margin-top: 10px;
}

.mobile-search-wrap input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  font-size: 0.9rem;
}

/* ==========================================================================
   3. HERO OFFER BANNER STRIP (Highlight / Offer Tint)
   ========================================================================== */
.hero-strip {
  background: var(--bg-offer-tint);
  border-bottom: 1px solid var(--border-color);
  padding: 42px 0;
  position: relative;
}

.hero-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-strip-text {
  flex: 1 1 540px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--emerald-badge-bg);
  color: var(--emerald-hover);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.hero-strip-text h1 {
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  font-weight: 900;
  color: var(--text-heading);
  line-height: 1.28;
  margin-bottom: 10px;
}

.hero-strip-text h1 span {
  color: var(--emerald-primary);
}

.hero-strip-text p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  max-width: 720px;
}

.hero-strip-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.mini-pill {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-soft);
  padding: 10px 16px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-heading);
}

.mini-pill i {
  color: var(--emerald-primary);
  font-size: 1.05rem;
}

/* ==========================================================================
   4. MAIN CATALOG SECTION (Rounded 24px Cards & Dynamic Currency)
   ========================================================================== */
.catalog-section {
  padding: 56px 0 72px;
  background: var(--bg-primary);
}

.section-heading {
  text-align: center;
  margin-bottom: 32px;
}

.section-heading .section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--warm-badge-bg);
  color: var(--warm-badge-text);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.section-heading h2 {
  font-size: clamp(1.55rem, 2.8vw, 2.25rem);
  font-weight: 900;
  color: var(--text-heading);
  line-height: 1.3;
}

.section-heading p {
  color: var(--text-secondary);
  font-size: 0.96rem;
  margin-top: 6px;
  max-width: 680px;
  margin-inline: auto;
}

/* Category Filter Pills */
.category-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.cat-tab {
  background: var(--bg-surface);
  color: var(--text-body);
  border: 1px solid var(--border-color);
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
}

.cat-tab:hover,
.cat-tab.active {
  background: linear-gradient(135deg, #0066ff, #0284c7);
  color: #ffffff;
  border-color: #0066ff;
  box-shadow: 0 6px 18px rgba(0, 102, 255, 0.25);
}

/* Responsive Zero-Overflow Grid using minmax(min(100%, 240px), 1fr) */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 24px;
}

.product-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--shadow-soft);
  position: relative;
}

.product-card:hover,
.product-card.featured-card {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
  border-color: var(--emerald-ring);
}

.discount-ribbon {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  background: var(--warm-badge-bg);
  color: var(--warm-badge-text);
  border: 1px solid rgba(146, 64, 14, 0.15);
  font-size: 0.74rem;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 999px;
  z-index: 5;
}

/* Visual Showcase Box inside each Product Card — Real Product Photos */
.product-visual {
  height: 275px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  cursor: pointer;
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
}

.product-visual img.product-real-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 14px;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-visual img.product-real-photo {
  transform: scale(1.05);
}

.visual-cat-pack {
  background: linear-gradient(180deg, #f7f8fb 0%, #eef2f9 100%);
}

.visual-inspection-form {
  background: linear-gradient(145deg, #0b1324 0%, #162647 65%, #0b1324 100%);
  color: #ffffff;
  padding: 0;
}

.visual-ecu-pack {
  background: linear-gradient(135deg, #ecfdf5 0%, #f7f8fb 100%);
}

.visual-diag-pack {
  background: linear-gradient(135deg, #fef3c744 0%, #f7f8fb 100%);
}

/* 3D Box Mockups preserved & responsive */
.mockup-cat {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.cat-boxes-row {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
  width: 100%;
}

.box-3d {
  border-radius: 8px;
  padding: 7px 5px;
  text-align: center;
  font-weight: 800;
  box-shadow: -5px 8px 16px rgba(11, 19, 36, 0.22);
  position: relative;
  transition: transform 0.3s ease;
}

.product-card:hover .box-3d {
  transform: scale(1.03);
}

.box-cat-yellow {
  background: linear-gradient(145deg, #facc15 0%, #eab308 55%, #0b1324 55%, #0b1324 100%);
  color: #fff;
  width: 62px;
  height: 92px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #ca8a04;
}

.box-cat-yellow .cat-tag {
  background: #0b1324;
  color: #facc15;
  font-size: 0.7rem;
  padding: 2px 4px;
  border-radius: 4px;
}

.box-cat-yellow .sis-tag {
  font-size: 0.6rem;
  color: #facc15;
}

.laptop-center {
  background: #0b1324;
  border: 3px solid #334155;
  border-radius: 8px 8px 0 0;
  width: 108px;
  height: 76px;
  position: relative;
  box-shadow: 0 8px 16px rgba(11, 19, 36, 0.22);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.laptop-screen-header {
  background: #facc15;
  color: #0b1324;
  font-size: 0.54rem;
  font-weight: 900;
  padding: 2px 5px;
  text-align: left;
}

.laptop-screen-body {
  flex: 1;
  background: #fff;
  padding: 4px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  align-items: center;
}

.engine-diagram {
  background: #f1f5f9;
  height: 100%;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--emerald-primary);
}

.screen-lines {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.screen-lines span {
  display: block;
  height: 4px;
  background: #cbd5e1;
  border-radius: 2px;
}

.box-cat-dark {
  background: linear-gradient(160deg, #1e293b, #0b1324);
  color: #fff;
  width: 58px;
  height: 86px;
  border-top: 3px solid #facc15;
  font-size: 0.6rem;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.box-cat-flash {
  background: linear-gradient(135deg, #059669, #10b981);
  color: #fff;
  width: 50px;
  height: 66px;
  font-size: 0.55rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cat-perks-bar {
  display: flex;
  justify-content: space-around;
  width: 100%;
  padding-top: 8px;
  border-top: 1px solid var(--border-color);
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--text-body);
}

.cat-perks-bar div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.cat-perks-bar i {
  font-size: 0.9rem;
  color: var(--emerald-primary);
}

/* Inspection Form Visual */
.mockup-inspection {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px 12px 0;
  text-align: center;
  position: relative;
}

.insp-header-title {
  font-size: 0.94rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.3;
}

.insp-header-title span {
  color: #34d399;
  display: block;
}

.insp-center-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 4px 0;
}

.insp-tablet {
  background: #ffffff;
  color: #0b1324;
  width: 134px;
  height: 126px;
  border-radius: 10px;
  border: 2px solid #334155;
  padding: 6px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  text-align: left;
  font-size: 0.52rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.insp-tablet-top {
  background: #0b1324;
  color: #fff;
  padding: 2px 5px;
  font-weight: 800;
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
}

.insp-grid-lines {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.insp-grid-lines span {
  height: 7px;
  background: #e2e8f0;
  border-left: 3px solid var(--emerald-primary);
}

.insp-grid-lines span.warn {
  border-left-color: #f59e0b;
}

.insp-car-views {
  display: flex;
  justify-content: space-around;
  font-size: 0.88rem;
  color: #475569;
  padding-top: 2px;
  border-top: 1px solid #cbd5e1;
}

.insp-badge-gold {
  background: var(--warm-badge-bg);
  color: var(--warm-badge-text);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.52rem;
  font-weight: 900;
  border: 2px solid #fde68a;
}

.insp-footer-strip {
  background: rgba(11, 19, 36, 0.9);
  border-top: 1px solid rgba(16, 185, 129, 0.3);
  color: #e2e8f0;
  font-size: 0.66rem;
  font-weight: 700;
  padding: 6px 4px;
  margin: 0 -12px;
}

/* 3D Software Box Scene */
.software-box-scene {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-chip {
  position: absolute;
  background: var(--bg-midnight);
  color: #ffffff;
  border: 1px solid var(--emerald-ring);
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 0.58rem;
  font-weight: 800;
  box-shadow: var(--shadow-soft);
  z-index: 1;
}

.chip-tl { top: 10px; left: 8px; }
.chip-tr { top: 10px; right: 8px; }
.chip-bl { bottom: 12px; left: 8px; }
.chip-br { bottom: 12px; right: 8px; }

.main-3d-box {
  width: 136px;
  height: 184px;
  background: linear-gradient(155deg, #101c33 0%, #0b1324 100%);
  border-radius: 12px;
  border: 1.5px solid var(--emerald-ring);
  box-shadow: -12px 14px 24px rgba(11, 19, 36, 0.32), inset 0 0 18px rgba(16, 185, 129, 0.22);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px 10px;
  text-align: center;
  color: #fff;
  position: relative;
  z-index: 2;
  transform: perspective(600px) rotateY(-10deg);
  transition: var(--transition);
}

.main-3d-box.orange-theme {
  border-color: #f59e0b;
  box-shadow: -12px 14px 24px rgba(11, 19, 36, 0.32), inset 0 0 18px rgba(245, 158, 11, 0.22);
}

.product-card:hover .main-3d-box {
  transform: perspective(600px) rotateY(-3deg) translateY(-3px);
}

.box-top-title {
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1.2;
  color: #ffffff;
}

.box-top-title span {
  display: block;
  color: #34d399;
  font-size: 0.76rem;
}

.main-3d-box.orange-theme .box-top-title span {
  color: #fbbf24;
}

.box-car-glow {
  width: 100%;
  height: 70px;
  border-radius: 8px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.28) 0%, transparent 70%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.box-car-glow i {
  font-size: 2.1rem;
  color: #34d399;
}

.main-3d-box.orange-theme .box-car-glow i {
  color: #fbbf24;
}

.box-sub-logos {
  display: flex;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
}

.box-sub-logos span {
  font-size: 0.52rem;
  background: rgba(255, 255, 255, 0.12);
  padding: 2px 5px;
  border-radius: 4px;
  font-weight: 700;
}

.box-footer-brand {
  font-size: 0.56rem;
  color: #94a3b8;
}

/* Product Card Body */
.product-info {
  padding: 18px 18px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.product-title {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 10px;
  line-height: 1.42;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.product-title:hover {
  color: var(--emerald-primary);
}

.product-mini-perks {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.product-mini-perks span i {
  color: var(--emerald-primary);
  margin-inline-end: 5px;
}

.product-pricing {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.price-current {
  font-size: 1.32rem;
  font-weight: 900;
  color: var(--text-heading);
}

.price-old {
  font-size: 0.92rem;
  color: var(--text-secondary);
  text-decoration: line-through;
  font-weight: 600;
}

.product-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-buy-outline {
  width: 100%;
  padding: 10px 16px;
  background: var(--emerald-tint-bg);
  color: var(--emerald-primary);
  border: 1.5px solid rgba(0, 102, 255, 0.3);
  border-radius: 14px;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-buy-outline:hover {
  border-color: var(--emerald-primary);
  background: var(--emerald-primary);
  color: #ffffff;
}

.btn-wa-direct {
  width: 100%;
  padding: 10px 14px;
  background: linear-gradient(135deg, #0066ff, #0284c7);
  color: #ffffff;
  border: 1px solid #0066ff;
  border-radius: 14px;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(0, 102, 255, 0.28);
}

.btn-wa-direct:hover {
  background: linear-gradient(135deg, #0052cc, #0369a1);
  border-color: #0052cc;
  transform: translateY(-1px);
}

/* ==========================================================================
   5. TRUST & CREDIBILITY BADGES SECTION (Alternating Surface #f7f8fb)
   ========================================================================== */
.trust-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 56px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 22px;
  text-align: center;
}

.trust-box {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: 26px 20px;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.trust-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: var(--emerald-ring);
}

.trust-icon-circle {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.65rem;
  background: var(--emerald-tint-bg);
  color: var(--emerald-primary);
}

.trust-icon-circle.warm {
  background: var(--warm-badge-bg);
  color: var(--warm-badge-text);
}

.trust-box h3 {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 6px;
}

.trust-box p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   6. SEO BLOG SECTION (Multilingual + Clean Full-Article Reader + Admin Manager)
   ========================================================================== */
.blog-section {
  padding: 68px 0;
  background: var(--bg-primary);
}

.blog-header-actions {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}

.btn-blog-admin {
  background: var(--bg-surface);
  color: var(--text-heading);
  border: 1px solid var(--border-color);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-blog-admin:hover {
  border-color: var(--emerald-ring);
  color: var(--emerald-primary);
  background: var(--emerald-tint-bg);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 26px;
}

.blog-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
  border-color: var(--emerald-ring);
}

.blog-cover-wrap {
  position: relative;
  height: 200px;
  background: var(--bg-surface);
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.blog-cover-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.blog-card:hover .blog-cover-wrap img {
  transform: scale(1.04);
}

.blog-cat-badge {
  position: absolute;
  top: 14px;
  inset-inline-start: 14px;
  background: var(--emerald-badge-bg);
  color: var(--emerald-hover);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(11, 19, 36, 0.1);
}

.blog-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.blog-meta {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.blog-card-title {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-card-excerpt {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
  line-height: 1.65;
}

.btn-read-article {
  align-self: flex-start;
  background: var(--emerald-tint-bg);
  color: var(--emerald-primary);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-read-article:hover {
  background: var(--emerald-primary);
  color: #ffffff;
}

/* ==========================================================================
   7. CUSTOMER REVIEWS & ORDER/CONTACT SECTION (#order-section)
   ========================================================================== */
.reviews-section {
  padding: 64px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 24px;
}

.review-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.review-stars {
  color: #f59e0b;
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.review-text {
  font-size: 0.92rem;
  color: var(--text-body);
  margin-bottom: 16px;
  line-height: 1.7;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
}

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-midnight);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.review-author strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-heading);
}

.review-author span {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* Direct Order / Contact Form Section */
.order-contact-section {
  padding: 64px 0;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
}

.order-box {
  max-width: 780px;
  margin: 0 auto;
  background: var(--bg-offer-tint);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-lift);
}

.order-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 16px;
  margin-top: 20px;
}

.order-form-grid .full-span {
  grid-column: 1 / -1;
}

.order-form-grid label {
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 6px;
}

.order-form-grid input,
.order-form-grid select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  background: var(--bg-primary);
  color: var(--text-body);
  font-size: 0.92rem;
}

.order-form-grid input:focus,
.order-form-grid select:focus {
  outline: none;
  border-color: var(--emerald-ring);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.16);
}

.btn-submit-order {
  width: 100%;
  padding: 15px 22px;
  background: linear-gradient(135deg, #0066ff, #0284c7);
  color: #ffffff;
  border: none;
  border-radius: 16px;
  font-size: 1.02rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 10px 24px rgba(0, 102, 255, 0.32);
  transition: var(--transition);
}

.btn-submit-order:hover {
  background: linear-gradient(135deg, #0052cc, #0369a1);
  transform: translateY(-2px);
}

/* ==========================================================================
   8. FOOTER (Deep Midnight Navy #0b1324)
   ========================================================================== */
.site-footer {
  background: var(--bg-midnight);
  color: #e2e8f0;
  padding-top: 56px;
}

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

.footer-col h4 {
  color: #ffffff;
  font-size: 1.02rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #cbd5e1;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--emerald-ring);
}

.footer-brand-box p {
  font-size: 0.88rem;
  color: #cbd5e1;
  margin-top: 12px;
  line-height: 1.7;
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  font-size: 0.85rem;
  color: #cbd5e1;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   9. FLOATING WHATSAPP PILL & STICKY MOBILE BOTTOM CTA BAR
   ========================================================================== */
.whatsapp-pill-float {
  position: fixed;
  bottom: 24px;
  inset-inline-end: 24px;
  z-index: 990;
  background: linear-gradient(135deg, #0066ff, #0284c7);
  color: #ffffff;
  padding: 12px 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 0.92rem;
  box-shadow: 0 8px 25px rgba(0, 102, 255, 0.42);
  transition: var(--transition);
}

.whatsapp-pill-float:hover {
  background: linear-gradient(135deg, #0052cc, #0369a1);
  transform: translateY(-3px);
}

.wa-online-dot {
  width: 9px;
  height: 9px;
  background: #ffffff;
  border-radius: 50%;
  animation: pulseDot 1.6s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.75); }
}

/* Sticky Mobile Bottom CTA Bar (Hides automatically via IntersectionObserver) */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 995;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-color);
  padding: 10px 14px;
  box-shadow: 0 -6px 20px rgba(11, 19, 36, 0.08);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-sticky-cta.is-hidden {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}

.mobile-sticky-inner {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-sticky-wa {
  flex: 1;
  background: linear-gradient(135deg, #0066ff, #0284c7);
  color: #ffffff;
  padding: 11px 16px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-sticky-catalog {
  background: var(--bg-surface);
  color: var(--text-heading);
  border: 1px solid var(--border-color);
  padding: 11px 14px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 0.85rem;
}

/* ==========================================================================
   10. MODALS (<dialog> for Quick Order, Full Blog Reader, and Blog Admin)
   ========================================================================== */
.product-modal {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: 0;
  max-width: 720px;
  width: calc(100% - 28px);
  margin: auto;
  background: var(--bg-primary);
  color: var(--text-body);
  box-shadow: var(--shadow-lift);
}

.product-modal::backdrop {
  background: rgba(11, 19, 36, 0.65);
  backdrop-filter: blur(4px);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  background: var(--bg-midnight);
  color: #ffffff;
}

.modal-header h3 {
  font-size: 1.08rem;
  font-weight: 800;
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.14);
  border: none;
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: #ef4444;
}

.modal-body {
  padding: 22px;
  max-height: 80vh;
  overflow-y: auto;
}

.modal-product-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-offer-tint);
  border: 1px solid var(--border-color);
  padding: 14px 18px;
  border-radius: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 10px;
}

.modal-product-summary h4 {
  font-size: 1.04rem;
  font-weight: 800;
  color: var(--text-heading);
}

.modal-price-tag {
  font-size: 1.28rem;
  font-weight: 900;
  color: var(--emerald-primary);
}

.modal-features-list {
  margin-bottom: 20px;
}

.modal-features-list li {
  font-size: 0.9rem;
  color: var(--text-body);
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.modal-features-list li i {
  color: var(--emerald-primary);
  margin-top: 4px;
}

.quick-order-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 12px;
  margin-top: 14px;
}

.quick-order-form .full-row {
  grid-column: 1 / -1;
}

.quick-order-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 4px;
  color: var(--text-heading);
}

.quick-order-form input,
.quick-order-form select,
.quick-order-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  font-size: 0.9rem;
}

.btn-modal-wa {
  width: 100%;
  padding: 14px 20px;
  background: linear-gradient(135deg, #0066ff, #0284c7);
  color: #ffffff;
  border: none;
  border-radius: 14px;
  font-size: 0.98rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 6px 20px rgba(0, 102, 255, 0.32);
  transition: var(--transition);
}

.btn-modal-wa:hover {
  background: linear-gradient(135deg, #0052cc, #0369a1);
}

/* Blog Article Reader Content */
.article-reader-cover {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 16px;
  border: 1px solid var(--border-color);
}

.article-reader-content h4 {
  color: var(--text-heading);
  font-size: 1.15rem;
  font-weight: 800;
  margin: 16px 0 8px;
}

.article-reader-content p {
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 12px;
}

.article-reader-cta {
  margin-top: 22px;
  padding: 18px;
  border-radius: 16px;
  background: var(--bg-offer-tint);
  border: 1px solid var(--border-color);
  text-align: center;
}

/* ==========================================================================
   11. RESPONSIVE BREAKPOINTS (320px–430px Smartphones & Tablets)
   ========================================================================== */
@media (max-width: 920px) {
  .header-nav,
  .search-box {
    display: none;
  }
  .mobile-hamburger-btn {
    display: inline-flex;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 68px;
  }
  .whatsapp-pill-float {
    display: none;
  }
  .mobile-sticky-cta {
    display: block;
  }
  .utility-inner {
    justify-content: center;
  }
  .header-wa-btn span {
    display: none;
  }
  .header-wa-btn {
    padding: 9px 13px;
  }
}
