/* ============================================================
   NOVALINE GADGETS — Full Charge Separator (KUWAJIA KH-51)
   Landing Page Design System & Stylesheet
   Modern, Ultra-Clean Light Aesthetic with Radiant Accents
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@400;500;600;700&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #f7faff;
  --panel: #ffffff;
  --panel2: #f3f7ff;
  --text: #101828;
  --muted: #667085;
  --muted-light: #98a2b3;
  --blue: #1769ff;
  --blue-hover: #1257d6;
  --blue2: #5b9cff;
  --purple: #7a4cff;
  --cyan: #00a8ff;
  --line: #e5eaf2;
  --line-light: #edf2f9;
  --success: #079455;
  --success-bg: #edfdf4;
  --danger: #d92d20;
  --warning: #f79009;
  --shadow-sm: 0 4px 14px rgba(22, 49, 92, 0.05);
  --shadow: 0 22px 60px rgba(22, 49, 92, 0.12);
  --shadow-card: 0 10px 30px rgba(32, 64, 110, 0.055);
  --shadow-hover: 0 16px 40px rgba(23, 105, 255, 0.14);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 24px;
  --radius-xl: 30px;
  --radius-full: 999px;

  /* Harmonious Bilingual Typography */
  --font-bangla: 'Hind Siliguri', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-en: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-main: 'Inter', 'Hind Siliguri', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Standard Typographic Scale across Devices */
  --text-xs: 12px;
  --text-sm: 13.5px;
  --text-base: 16px;
  --text-md: 17px;
  --text-lg: 18.5px;
  --text-xl: 20px;
  --text-2xl: clamp(22px, 3vw, 26px);
  --text-3xl: clamp(26px, 3.8vw, 34px);
  --text-hero: clamp(28px, 4.5vw, 42px);
}

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

button, a, input, select, textarea, .pkg-card, .thumb, .qty-btn {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

html {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0;
  padding: 0;
}

body {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  font-family: var(--font-main);
  font-size: var(--text-base);
  background:
    radial-gradient(circle at 8% 5%, rgba(70, 140, 255, 0.16), transparent 26%),
    radial-gradient(circle at 92% 12%, rgba(132, 92, 255, 0.11), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f7faff 42%, #ffffff 100%);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0;
  margin: 0;
  padding: 0;
  position: relative;
}

main {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
  min-width: 0;
}

/* Bilingual Font Utility Classes */
.font-en {
  font-family: var(--font-en) !important;
  font-feature-settings: "tnum" 1;
  font-variant-numeric: tabular-nums;
}

.font-bn {
  font-family: var(--font-bangla) !important;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* ---------- Container ---------- */
.container {
  width: min(1180px, 92%);
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Typography & Utility ---------- */
.grad {
  background: linear-gradient(100deg, #1260ff 0%, #7a4cff 52%, #00a8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline;
}

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

.section-head.center {
  text-align: center;
  display: block;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 40px);
  letter-spacing: -0.8px;
  font-weight: 700;
  color: var(--text);
}

.section-head p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 18px;
  max-width: 640px;
}

.section-head.center p {
  margin-left: auto;
  margin-right: auto;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(90deg, #edf5ff, #f5efff);
  border: 1px solid #d7e6ff;
  border-radius: var(--radius-full);
  padding: 5px 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 10px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 14px;
  padding: 13px 24px;
  font-weight: 600;
  font-size: 17px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #1769ff 0%, #5b4cff 55%, #00a8ff 100%);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(45, 91, 220, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(45, 91, 220, 0.32);
  color: #ffffff;
}

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

.btn-ghost {
  background: linear-gradient(135deg, #ffffff, #f4f7ff);
  border: 1px solid #d8e1ee;
  color: #243247;
  box-shadow: 0 6px 18px rgba(29, 65, 120, 0.06);
}

.btn-ghost:hover {
  background: #ffffff;
  border-color: #b9cbe6;
  color: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(29, 65, 120, 0.1);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 19px;
  border-radius: 16px;
}

.btn-block {
  width: 100%;
}

.btn-pulse {
  animation: btnPulse 2.8s infinite;
}

@keyframes btnPulse {
  0%, 100% {
    box-shadow: 0 12px 28px rgba(45, 91, 220, 0.25);
  }
  50% {
    box-shadow: 0 14px 34px rgba(45, 91, 220, 0.45);
  }
}

/* ---------- 1. Top Announcement Bar ---------- */
.topbar {
  background: linear-gradient(90deg, #eef5ff 0%, #f7f1ff 50%, #eef5ff 100%);
  border-bottom: 1px solid #dfe7f4;
  font-size: 15.5px;
  color: #384860;
  font-weight: 500;
  position: relative;
  z-index: 52;
}

.topbar .inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  text-align: center;
}

.topbar .highlight-badge {
  background: #1769ff;
  color: #ffffff;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
}

/* ---------- 2. Sticky Header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(21, 40, 73, 0.08);
  transition: box-shadow 0.25s ease;
  will-change: transform;
}

header.is-elevated {
  box-shadow: 0 8px 24px rgba(22, 49, 92, 0.08);
}

.nav {
  height: 76px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  width: 250px;
  height: 100%;
  flex-shrink: 0;
}

.brand img {
  width: auto;
  height: 66px;
  max-height: 68px;
  object-fit: contain;
  object-position: left center;
  transform: scale(1.5);
  transform-origin: left center;
  transition: transform 0.2s ease;
}

.brand:hover img {
  transform: scale(1.54);
}

.links {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-left: auto;
}

.links a {
  font-size: 16.5px;
  color: #475467;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
}

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

.links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  transition: width 0.25s ease;
  border-radius: 2px;
}

.links a:hover::after {
  width: 100%;
}

.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #d7e3f5;
  background: linear-gradient(135deg, #ffffff, #f1f6ff);
  color: #182230;
  padding: 9px 16px;
  border-radius: 12px;
  box-shadow: 0 5px 18px rgba(28, 77, 145, 0.07);
  font-weight: 600;
  font-size: 16px;
  transition: all 0.2s ease;
}

.cart-btn:hover {
  border-color: #b8cde8;
  transform: translateY(-1px);
  box-shadow: 0 7px 22px rgba(28, 77, 145, 0.12);
}

.cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  border-radius: 99px;
  background: linear-gradient(135deg, var(--blue), #7b5cff);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  padding: 0 6px;
}

.menu {
  display: none;
  background: none;
  border: 0;
  color: #182230;
  font-size: 28px;
  padding: 4px;
}

#mobileNav {
  background: #ffffff;
  border-top: 1px solid #e5eaf2;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.08);
}

#mobileNav a {
  padding: 10px 14px;
  border-radius: 10px;
  color: #344054;
  font-weight: 500;
  transition: background 0.15s;
}

#mobileNav a:hover {
  background: #f4f8ff;
  color: var(--blue);
}

/* ---------- 3. Hero Section ---------- */
.hero {
  padding: 68px 0 54px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 52px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #155eef;
  background: linear-gradient(90deg, #edf5ff, #f5efff);
  border: 1px solid #d7e6ff;
  border-radius: var(--radius-full);
  padding: 7px 15px;
  font-size: 15.5px;
  font-weight: 600;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1769ff;
  box-shadow: 0 0 16px rgba(23, 105, 255, 0.85);
  animation: pulseDot 2s infinite ease-in-out;
}

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

.hero h1 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.14;
  letter-spacing: -1.8px;
  margin: 18px 0 16px;
  font-weight: 700;
}

.hero p {
  font-size: 19.5px;
  color: var(--muted);
  max-width: 610px;
  line-height: 1.7;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin: 24px 0;
  flex-wrap: wrap;
}

.price {
  font-size: 40px;
  font-weight: 800;
  color: #101828;
  letter-spacing: -0.5px;
}

.old {
  color: #475467;
  font-size: 24px;
  font-weight: 600;
  text-decoration: line-through;
  text-decoration-color: #ef4444;
  text-decoration-thickness: 2px;
  margin: 0 4px;
  display: inline-block;
}

.review-avatar-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--blue2);
  box-shadow: 0 4px 12px rgba(23, 105, 255, 0.15);
  flex-shrink: 0;
}


.save {
  color: var(--success);
  background: var(--success-bg);
  border: 1px solid rgba(7, 148, 85, 0.2);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  color: #556275;
  font-size: 15px;
  font-weight: 500;
}

.trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.trust span::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(7, 148, 85, 0.12);
  color: var(--success);
  font-weight: 800;
  font-size: 13px;
}

/* Hero Product Card & Gallery */
.hero-card {
  position: relative;
  background: linear-gradient(145deg, #ffffff, #f2f7ff);
  border: 1px solid #dfe7f3;
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-xl);
  pointer-events: none;
  background: linear-gradient(130deg, rgba(39, 134, 255, 0.42), rgba(125, 78, 255, 0.15) 45%, rgba(0, 181, 255, 0.3));
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  padding: 1.5px;
}

.hero-card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border: 1px solid #d5e3f7;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  box-shadow: var(--shadow-sm);
}

.main-photo-wrap {
  position: relative;
  height: 410px;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(145deg, #ffffff, #f7faff);
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-photo {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

.main-photo:hover {
  transform: scale(1.04);
}

.thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.thumb {
  height: 80px;
  border: 1.5px solid #dce4ef;
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
  padding: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thumb:hover {
  border-color: #8bbafc;
  transform: translateY(-2px);
}

.thumb.active {
  border: 2px solid #1769ff;
  box-shadow: 0 0 0 3px rgba(23, 105, 255, 0.15);
  background: #f5f9ff;
}

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

/* ---------- Section Layouts ---------- */
section {
  padding: 72px 0;
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-card {
  background: linear-gradient(145deg, #ffffff, #f5f8ff);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow-card);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: #bcd4f5;
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #e7f1ff, #eee9ff);
  color: #1769ff;
  font-size: 26px;
  margin-bottom: 18px;
  box-shadow: 0 6px 14px rgba(23, 105, 255, 0.08);
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  color: #1d2939;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

/* ---------- 4. Video & Product Showcase (Samsung Galaxy S25 Ultra Device Frame) ---------- */
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 36px;
  align-items: center;
}

.gallery-card {
  background: linear-gradient(145deg, #ffffff, #f4f8ff);
  border: 1px solid #e1e8f2;
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: var(--shadow);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: 0;
  max-width: 100%;
}

/* Samsung Galaxy S25 Ultra — Device Frame Mockup */
.s25-frame-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4px 0;
  min-width: 0;
}

.s25-ultra-frame {
  position: relative;
  width: 100%;
  max-width: 310px;
  aspect-ratio: 9 / 19.5;
  /* Titanium chassis */
  background: linear-gradient(160deg, #1a1f2c 0%, #11151e 60%, #1a1f2c 100%);
  border-radius: 22px;
  padding: 6px;
  /* Multi-layer depth shadow + chamfered titanium edge */
  box-shadow:
    0 0 0 1.5px #2a3040,
    0 0 0 3px #0d1017,
    0 0 0 3.5px rgba(148, 163, 184, 0.25),
    0 30px 70px -20px rgba(15, 23, 42, 0.5),
    0 8px 24px -4px rgba(15, 23, 42, 0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
}

/* Samsung S25 Ultra — Side Buttons (Power + Volume) */
.s25-ultra-frame::before {
  content: '';
  position: absolute;
  top: 22%;
  right: -3.5px;
  width: 3px;
  height: 36px;
  background: linear-gradient(180deg, #334155 0%, #475569 50%, #334155 100%);
  border-radius: 0 2px 2px 0;
  z-index: 10;
}

.s25-ultra-frame::after {
  content: '';
  position: absolute;
  top: 34%;
  right: -3.5px;
  width: 3px;
  height: 56px;
  background: linear-gradient(180deg, #334155 0%, #475569 50%, #334155 100%);
  border-radius: 0 2px 2px 0;
  z-index: 10;
}

/* Samsung S25 Ultra — AMOLED Display Screen */
.s25-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Samsung S25 Ultra — Infinity-O Punch-Hole Camera */
.s25-camera {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, #0c0e12 40%, #1e293b 70%, #0f172a 100%);
  box-shadow:
    0 0 0 1.5px #1e293b,
    0 0 3px rgba(56, 189, 248, 0.3);
  z-index: 20;
  pointer-events: none;
}

/* Samsung S25 Ultra — Top Speaker Grille */
.s25-speaker {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #334155 20%, #475569 50%, #334155 80%, transparent);
  border-radius: 0 0 2px 2px;
  z-index: 20;
  pointer-events: none;
}

/* Video inside S25 Ultra screen */
.s25-screen video {
  width: 100%;
  height: 100%;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  display: block;
  background: #000;
}

.video-caption {
  font-size: 15px;
  color: var(--muted);
  margin-top: 14px;
  line-height: 1.5;
  text-align: center;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.spec-item {
  background: linear-gradient(145deg, #ffffff, #f8faff);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s;
}

.spec-item:hover {
  border-color: #b9d3fa;
}

.spec-item b {
  display: block;
  color: #1d2939;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 2px;
}

.spec-item span {
  color: var(--muted);
  font-size: 15.5px;
}

.note-box {
  margin-top: 18px;
  padding: 14px 18px;
  background: #f7f9fc;
  border-left: 3px solid var(--blue);
  border-radius: 0 12px 12px 0;
  color: #556275;
  font-size: 15px;
  line-height: 1.6;
}

/* ---------- 5. How It Works (৩টি সহজ ধাপ) ---------- */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step-card {
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, #ffffff, #f5f8ff);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease;
  position: relative;
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: #bed5f7;
}

.step-num {
  font-size: 15.5px;
  color: #1769ff;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.step-card h3 {
  margin: 10px 0 8px;
  font-size: 21px;
  font-weight: 700;
  color: #1d2939;
}

.step-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

/* ---------- 6. Special Offers / Package Selection ---------- */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.pkg-card {
  position: relative;
  background: linear-gradient(145deg, #ffffff, #f5f8ff);
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.pkg-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pkg-card:hover {
  transform: translateY(-3px);
  border-color: #9ac2fc;
  box-shadow: var(--shadow-hover);
}

.pkg-card.selected {
  border-color: var(--blue);
  background: linear-gradient(145deg, #ffffff 0%, #eef5ff 100%);
  box-shadow: 0 16px 40px rgba(23, 105, 255, 0.16);
}

.pkg-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: linear-gradient(135deg, #1769ff, #7a4cff);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(23, 105, 255, 0.3);
}

.pkg-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.pkg-radio-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #cedbe9;
  display: grid;
  place-items: center;
  transition: all 0.2s ease;
}

.pkg-card.selected .pkg-radio-circle {
  border-color: var(--blue);
}

.pkg-card.selected .pkg-radio-circle::after {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blue);
}

.pkg-title {
  font-size: 22px;
  font-weight: 700;
  color: #101828;
}

.pkg-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 10px 0 6px;
}

.pkg-price {
  font-size: 34px;
  font-weight: 800;
  color: #101828;
}

.pkg-original {
  color: #475467;
  font-size: 19px;
  font-weight: 600;
  text-decoration: line-through;
  text-decoration-color: #ef4444;
  text-decoration-thickness: 1.5px;
}

.pkg-per-unit {
  font-size: 15px;
  color: var(--muted);
  margin-top: 4px;
}

/* ---------- 7. Order Form & Checkout Section ---------- */
.order-wrapper {
  background: linear-gradient(135deg, #eef6ff 0%, #f5efff 52%, #effaff 100%);
  border: 1px solid #d6e5fb;
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  min-width: 0;
}

.order-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 36px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
}

.order-form-pane {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  min-width: 0;
}

.order-form-pane h2 {
  font-size: 30px;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 6px;
}

.order-form-pane p.sub {
  color: var(--muted);
  font-size: 16.5px;
  margin-bottom: 22px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 15.5px;
  font-weight: 600;
  color: #344054;
  margin-bottom: 6px;
}

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

.field {
  width: 100%;
  background: #ffffff;
  color: #101828;
  border: 1.5px solid #d7e0eb;
  border-radius: 12px;
  padding: 13px 15px;
  outline: none;
  font-size: 17px;
  transition: all 0.2s ease;
}

.field:focus {
  border-color: #5b9cff;
  box-shadow: 0 0 0 3.5px rgba(91, 156, 255, 0.15);
  background: #ffffff;
}

.field.error {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(217, 45, 32, 0.1);
}

textarea.field {
  min-height: 94px;
  resize: vertical;
}

.field-error {
  display: block;
  max-height: 0;
  opacity: 0;
  transform: translateY(-4px);
  overflow: hidden;
  transition: max-height 0.22s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, transform 0.2s ease, margin 0.2s ease;
  color: var(--danger);
  font-size: 14px;
  margin: 0;
  font-weight: 500;
  pointer-events: none;
}

.field-error.visible {
  max-height: 48px;
  opacity: 1;
  transform: translateY(0);
  margin-top: 5px;
  pointer-events: auto;
}

/* Quantity Stepper */
.qty-stepper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-btn {
  width: 44px;
  height: 44px;
  border: 1.5px solid #d5dfed;
  background: #ffffff;
  color: #182230;
  border-radius: 12px;
  font-size: 22px;
  font-weight: 600;
  display: grid;
  place-items: center;
  transition: all 0.2s ease;
}

.qty-btn:hover {
  background: #f1f6ff;
  border-color: #a8c7f5;
  color: var(--blue);
}

.qty-input {
  width: 70px;
  height: 44px;
  text-align: center;
  font-weight: 700;
  font-size: 19px;
  border: 1.5px solid #d5dfed;
  border-radius: 12px;
  background: #ffffff;
}

/* Order Summary Card */
.order-summary-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: 0 12px 36px rgba(32, 64, 110, 0.07);
  display: flex;
  flex-direction: column;
}

.order-summary-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: #101828;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-light);
  font-size: 17px;
  color: #475467;
}

.summary-row strong {
  color: #101828;
  font-weight: 600;
}

.summary-row.total {
  font-size: 23px;
  font-weight: 800;
  color: #101828;
  border-bottom: none;
  padding-top: 16px;
  margin-top: 4px;
}

.summary-row.total strong {
  color: var(--blue);
  font-size: 26px;
}

.delivery-note {
  font-size: 15px;
  color: var(--muted);
  margin: 14px 0 18px;
  line-height: 1.5;
}

.security-box {
  padding: 14px 16px;
  background: linear-gradient(135deg, #eef6ff, #f5efff);
  border: 1px solid #d8e6fb;
  border-radius: 14px;
  font-size: 15px;
  color: #475467;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

/* Order Review Dialog/Box */
.order-review-box {
  display: none;
  background: #fdfefe;
  border: 2px solid #3b82f6;
  border-radius: 16px;
  padding: 20px;
  margin-top: 18px;
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.12);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  min-width: 0;
}

.order-review-box.visible {
  display: block;
  animation: slideUpReview 0.28s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes slideUpReview {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.order-review-title {
  font-size: 19px;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: 12px;
}

.review-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 16px;
  padding: 8px 0;
  border-bottom: 1px dashed #e2e8f0;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
}

.review-item span {
  flex-shrink: 0;
  color: #475467;
}

.review-item strong {
  word-break: break-word;
  overflow-wrap: anywhere;
  text-align: right;
  max-width: 70%;
}

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

.review-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
}

.review-actions .btn {
  flex: 1;
  min-width: 0;
  box-sizing: border-box;
}

.form-error-banner {
  display: none;
  background: #fef3f2;
  border: 1px solid #fecdca;
  color: #b42318;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 15.5px;
  margin-top: 16px;
  line-height: 1.6;
}

.form-error-banner.visible {
  display: block;
}

/* Button Spinner */
.spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255, 255, 255, 0.4);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin-left: 6px;
}

.btn.loading .spinner {
  display: inline-block;
}

.btn.loading .btn-text {
  opacity: 0.8;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

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

/* ---------- 8. Customer Reviews / Social Proof (Continuous Marquee) ---------- */
.reviews-section {
  position: relative;
  overflow: hidden;
  padding: 80px 0 70px;
  background: linear-gradient(180deg, rgba(247, 250, 255, 0.4) 0%, #ffffff 50%, rgba(247, 250, 255, 0.5) 100%);
}

.reviews-marquee-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 24px 0 20px;
  /* Premium edge fade mask */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
}

.reviews-marquee-track {
  display: flex;
  width: max-content;
  gap: 24px;
}

.reviews-group {
  display: flex;
  gap: 24px;
  flex-shrink: 0;
  animation: scrollMarquee 52s linear infinite;
  will-change: transform;
}

/* Continuous Right-to-Left Infinite Animation */
@keyframes scrollMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-100% - 24px));
  }
}

/* Stop continuously on hover, focus, or when paused */
.reviews-marquee-container:hover .reviews-group,
.reviews-marquee-container:focus-within .reviews-group,
.reviews-marquee-track:hover .reviews-group,
.reviews-group:hover,
.review-card:hover,
.reviews-marquee-container.is-paused .reviews-group {
  animation-play-state: paused !important;
}

.review-card {
  width: 380px;
  flex-shrink: 0;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 18px;
  padding: 26px 24px;
  box-shadow: 0 4px 20px rgba(16, 24, 40, 0.05);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: default;
  position: relative;
}

.review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(23, 105, 255, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);
  border-color: rgba(23, 105, 255, 0.35);
}

.review-card-top {
  display: flex;
  flex-direction: column;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.review-avatar-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--blue2);
  box-shadow: 0 4px 12px rgba(23, 105, 255, 0.15);
  flex-shrink: 0;
}

.review-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: #ffffff;
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 18px;
  letter-spacing: 0.5px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.85);
}

/* Avatar Gradients */
.review-avatar-fc { background: linear-gradient(135deg, #0ea5e9, #2563eb); }
.review-avatar-ki { background: linear-gradient(135deg, #f59e0b, #d97706); }
.review-avatar-ar { background: linear-gradient(135deg, #8b5cf6, #6366f1); }
.review-avatar-ma { background: linear-gradient(135deg, #ec4899, #f43f5e); }
.review-avatar-ta { background: linear-gradient(135deg, #10b981, #059669); }
.review-avatar-sa { background: linear-gradient(135deg, #06b6d4, #0284c7); }

.review-author {
  flex: 1;
}

.review-name-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 2px;
}

.review-author b {
  display: inline-block;
  color: #101828;
  font-size: 17px;
  font-weight: 700;
}

.review-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11.5px;
  font-weight: 600;
  color: #027a48;
  background: #ecfdf3;
  border: 1px solid #a6f4c5;
  border-radius: 10px;
  padding: 1px 7px;
  line-height: 1.4;
}

.review-author span {
  display: block;
  font-size: 13.5px;
  color: var(--muted);
}

.review-stars {
  color: #f79009;
  font-size: 17px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.review-text {
  color: #344054;
  font-size: 15.5px;
  line-height: 1.65;
  margin: 0;
}

.review-footer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed rgba(226, 232, 240, 0.8);
}

.review-device-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--blue);
  background: rgba(23, 105, 255, 0.08);
  border-radius: 8px;
  padding: 4px 10px;
}

.reviews-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 10px 22px;
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
  font-size: 14.5px;
  font-weight: 600;
  color: #344054;
}

.trust-divider {
  color: #cbd5e1;
}

/* Pause animation on prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .reviews-group {
    animation-play-state: paused;
  }
}

/* ---------- 9. FAQ Accordion ---------- */
.faq-wrap {
  display: grid;
  gap: 12px;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  background: linear-gradient(145deg, #ffffff, #f5f8ff);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-item:hover {
  border-color: #bed5f7;
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: 0;
  color: #1d2939;
  text-align: left;
  padding: 20px 24px;
  font-size: 18.5px;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.2s;
}

.faq-q:hover {
  color: var(--blue);
}

.faq-icon {
  font-size: 22px;
  color: var(--blue);
  font-weight: 600;
  transition: transform 0.25s ease;
}

.faq-a {
  display: none;
  color: var(--muted);
  padding: 0 24px 22px;
  font-size: 17px;
  line-height: 1.7;
}

.faq-item.open {
  border-color: #b9d3fa;
  background: #ffffff;
}

.faq-item.open .faq-a {
  display: block;
}

/* ---------- 10. Footer ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 60px 0 36px;
  color: #667085;
  background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
  font-size: 16px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer-brand img {
  width: 180px;
  margin-bottom: 14px;
}

.footer-brand p {
  color: #475467;
  font-size: 16px;
  line-height: 1.6;
  max-width: 320px;
}

.footer-col h4 {
  color: #101828;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer-col a:hover {
  color: var(--blue);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 15px;
}

/* ---------- 11. Floating & Interactive Components ---------- */
/* Sticky Bottom Buy Bar with 48-Hour Live Offer Countdown Timer */
.sticky-buy {
  position: fixed;
  left: 50%;
  transform: translate3d(-50%, 0, 0);
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  width: min(860px, 94%);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid #dbe4f0;
  border-radius: var(--radius-lg);
  padding: 8px 14px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 20px 50px rgba(23, 52, 96, 0.18);
  transition: opacity 0.25s ease, transform 0.25s ease;
  will-change: transform;
  contain: layout style;
}

.sticky-buy .mini {
  font-size: 14px;
  color: #667085;
  padding-left: 6px;
  flex-shrink: 0;
}

.sticky-buy strong {
  display: block;
  color: #1d2939;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.25;
}

.sticky-price {
  color: var(--blue);
  font-weight: 700;
  font-size: 14px;
}

/* 48-Hour Live Offer Countdown Timer inside Sticky Bar */
.sticky-timer {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.95), rgba(245, 243, 255, 0.95));
  border: 1px solid #c7d9f9;
  border-radius: var(--radius-full);
  padding: 6px 14px;
  margin: 0 auto;
  box-shadow: 0 2px 8px rgba(23, 105, 255, 0.08);
}

.sticky-timer-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13.5px;
  font-weight: 600;
  color: #1e3a8a;
  white-space: nowrap;
  flex-shrink: 0;
}

.timer-flame {
  font-size: 15px;
  animation: pulseFlame 1.5s infinite ease-in-out;
  flex-shrink: 0;
}

@keyframes pulseFlame {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 2px #f59e0b); }
  50% { transform: scale(1.25); filter: drop-shadow(0 0 6px #ef4444); }
}

.sticky-countdown {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 4px;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.timer-box {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  padding: 3px 6px;
  background: #0f172a;
  border-radius: 8px;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15), 0 2px 5px rgba(15, 23, 42, 0.2);
  flex-shrink: 0;
  text-align: center;
}

.timer-num {
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 800;
  color: #38bdf8;
  letter-spacing: 0.5px;
  line-height: 1.1;
  white-space: nowrap;
}

.timer-sub {
  font-family: var(--font-bangla);
  font-size: 9px;
  font-weight: 600;
  color: #94a3b8;
  line-height: 1;
  margin-top: 1px;
  white-space: nowrap;
}

.timer-colon {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 1px;
  flex-shrink: 0;
  white-space: nowrap;
}

.sticky-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.sticky-actions .btn {
  padding: 9px 16px;
  font-size: 14.5px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

/* Floating WhatsApp - Positioned on right side within default container bounds */
.whatsapp-float {
  position: fixed;
  bottom: calc(86px + env(safe-area-inset-bottom, 0px));
  right: 16px;
  z-index: 55;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s;
  will-change: transform;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.45);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

/* Toast Message */
.toast {
  position: fixed;
  right: 24px;
  bottom: 96px;
  z-index: 80;
  background: #ffffff;
  border: 1px solid #dbe4f0;
  color: #1d2939;
  border-radius: 14px;
  padding: 14px 20px;
  display: none;
  box-shadow: var(--shadow);
  font-size: 16.5px;
  font-weight: 600;
  animation: slideUp 0.3s ease;
}

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

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

.cart-panel {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: min(440px, 94%);
  background: #ffffff;
  border-left: 1px solid #dbe4f0;
  padding: 26px;
  overflow-y: auto;
  box-shadow: -20px 0 50px rgba(22, 49, 92, 0.15);
  display: flex;
  flex-direction: column;
}

.cart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}

.cart-head h2 {
  font-size: 22px;
  font-weight: 700;
  color: #101828;
  margin: 0;
}

.close-btn {
  background: none;
  border: 0;
  color: #667085;
  font-size: 30px;
  line-height: 1;
  padding: 4px;
  cursor: pointer;
  border-radius: 8px;
}

.close-btn:hover {
  color: #101828;
  background: #f1f5f9;
}

.cart-items-wrap {
  flex: 1;
}

.cart-item {
  display: grid;
  grid-template-columns: 74px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #e5eaf2;
}

.cart-item img {
  width: 74px;
  height: 74px;
  object-fit: contain;
  background: #f7faff;
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 4px;
}

.cart-item-info b {
  display: block;
  font-size: 17px;
  color: #101828;
  margin-bottom: 4px;
}

.cart-item-info .meta {
  color: #667085;
  font-size: 15.5px;
}

.cart-item-info .remove {
  background: none;
  border: 0;
  color: var(--danger);
  font-size: 14px;
  font-weight: 600;
  margin-top: 6px;
  padding: 0;
  cursor: pointer;
}

.cart-item-price {
  font-size: 18px;
  font-weight: 700;
  color: #101828;
}

.empty-cart {
  color: #7e8b9c;
  text-align: center;
  padding: 60px 20px;
  font-size: 17px;
}

.cart-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

/* ---------- Responsive Media Queries ---------- */
/* ---------- Responsive Media Queries ---------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .packages-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .order-grid {
    grid-template-columns: 1fr;
  }
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .sticky-buy {
    width: min(780px, 94%);
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .links {
    display: none;
  }
  .menu {
    display: block;
    margin-left: auto;
  }
  .nav {
    height: 68px;
  }
  .brand {
    width: 200px;
    height: 100%;
  }
  .brand img {
    width: 190px;
    height: auto;
    max-height: 56px;
    transform: scale(1.22);
    transform-origin: left center;
  }
  .hero {
    padding-top: 36px;
  }
  .main-photo-wrap {
    height: 340px;
  }
  .review-card {
    width: 340px;
    padding: 22px 20px;
  }
  .sticky-timer-label span:last-child {
    font-size: 12.5px;
  }
  .sticky-buy {
    flex-direction: column;
    gap: 8px;
    bottom: 10px;
    padding: 8px 12px;
    width: min(440px, 94%);
    border-radius: 18px;
  }
  .sticky-buy .mini {
    display: none;
  }
  .sticky-actions {
    width: 100%;
  }
  .sticky-actions .btn {
    flex: 1 1 0;
    min-width: 0;
  }
}

/* ============================================================
   MOBILE VIEW (max-width: 768px / 640px)
   All Contents Centered-Based, Standard Font Sizes & Fully Responsive
   ============================================================ */
@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  /* Topbar Centered */
  .topbar .inner {
    justify-content: center;
    text-align: center;
    font-size: 13px;
    gap: 6px;
    flex-wrap: wrap;
    padding: 7px 10px;
  }

  /* Section Headings Centered */
  .section-head {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
  }
  .section-head h2 {
    text-align: center;
    font-size: clamp(21px, 4.8vw, 26px);
    letter-spacing: -0.4px;
  }
  .section-head p {
    text-align: center;
    font-size: 14.5px;
    margin: 8px auto 0;
    max-width: 520px;
  }
  .section-badge {
    margin: 0 auto 10px;
    font-size: 13px;
  }

  /* Hero Section Centered */
  .hero {
    text-align: center;
    padding-top: 24px;
    padding-bottom: 24px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .hero .eyebrow {
    margin: 0 auto 12px;
    display: inline-flex;
    justify-content: center;
    text-align: center;
    font-size: 13px;
  }
  .hero h1 {
    text-align: center;
    font-size: clamp(24px, 5.5vw, 30px);
    line-height: 1.35;
    margin-left: auto;
    margin-right: auto;
  }
  .hero p {
    text-align: center;
    font-size: 15px;
    margin: 12px auto 18px;
    max-width: 520px;
  }
  .price-row {
    justify-content: center;
    align-items: baseline;
    text-align: center;
    margin: 14px auto;
    gap: 10px;
  }
  .price-row .price {
    font-size: 32px;
  }
  .cta-row {
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    gap: 10px;
  }
  .cta-row .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    font-size: 15.5px;
    padding: 13px 20px;
  }
  .trust {
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin: 18px auto 0;
    font-size: 13px;
  }
  .hero-card {
    margin: 0 auto;
    width: 100%;
    max-width: 440px;
    text-align: center;
    padding: 14px;
  }
  .hero-card-badge {
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
  }
  .main-photo-wrap {
    height: 270px;
  }
  .thumbs {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    justify-content: center;
  }
  .thumb {
    height: 64px;
  }

  /* Features Centered */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .feature-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 22px 18px;
  }
  .feature-icon {
    margin: 0 auto 12px;
    font-size: 30px;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 50%;
  }
  .feature-card h3 {
    text-align: center;
    font-size: 18px;
  }
  .feature-card p {
    text-align: center;
    font-size: 14.5px;
  }

  /* Product Showcase & Specs Centered */
  .product-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .gallery-card {
    text-align: center;
    margin: 0 auto;
    width: 100%;
    max-width: 440px;
    padding: 20px 12px;
  }
  .s25-ultra-frame {
    max-width: 270px;
    border-radius: 18px;
    padding: 5px;
  }
  .s25-screen {
    border-radius: 13px;
  }
  .specs-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    text-align: center;
  }
  .spec-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 14px;
    gap: 3px;
  }
  .spec-item b {
    font-size: 13.5px;
    text-align: center;
  }
  .spec-item span {
    font-size: 15px;
    text-align: center;
  }
  .note-box {
    text-align: center;
    font-size: 13.5px;
    margin: 16px auto 0;
  }

  /* How It Works Steps Centered */
  .how-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .step-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 22px 18px;
  }
  .step-num {
    margin: 0 auto 12px;
    display: inline-flex;
    justify-content: center;
    font-size: 12.5px;
  }
  .step-card h3 {
    text-align: center;
    font-size: 18px;
  }
  .step-card p {
    text-align: center;
    font-size: 14.5px;
  }

  /* Package Cards Centered */
  .packages-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .pkg-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 22px 18px;
  }
  .pkg-badge {
    left: 50%;
    transform: translateX(-50%);
    font-size: 11.5px;
  }
  .pkg-header {
    justify-content: center;
    gap: 8px;
    width: 100%;
    text-align: center;
  }
  .pkg-title {
    font-size: 17px;
    text-align: center;
  }
  .pkg-price-row {
    justify-content: center;
    align-items: baseline;
    gap: 8px;
    margin: 10px 0 6px;
  }
  .pkg-price {
    font-size: 26px;
  }
  .pkg-original {
    font-size: 16px;
  }
  .pkg-per-unit {
    text-align: center;
    font-size: 13.5px;
  }

  /* Order Form & Checkout Centered */
  .order-wrapper {
    padding: 18px 12px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    min-width: 0;
  }
  .order-grid {
    grid-template-columns: minmax(0, 100%);
    gap: 20px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .order-form-pane {
    text-align: center;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
  }
  .order-form-pane h2 {
    text-align: center;
    font-size: 22px;
  }
  .order-form-pane .sub {
    text-align: center;
    font-size: 14px;
    margin: 6px auto 18px;
    max-width: 100%;
    word-break: break-word;
  }
  .form-group {
    text-align: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .form-group label {
    text-align: center;
    display: block;
    font-size: 14px;
    margin-bottom: 6px;
  }
  .field {
    text-align: center;
    font-size: 16px !important; /* Prevents auto-zoom in mobile Safari / Facebook WebView */
    padding: 12px 14px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-width: 0;
  }
  .field-error {
    text-align: center;
    font-size: 13px;
    word-break: break-word;
  }
  .qty-stepper {
    justify-content: center;
    margin: 0 auto;
  }
  #submitOrderBtn {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    font-size: 16px;
    padding: 14px 16px;
    box-sizing: border-box;
  }
  .order-review-box {
    text-align: left;
    padding: 16px 12px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }
  .order-review-title {
    text-align: center;
    font-size: 15px;
    margin-bottom: 12px;
  }
  .review-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
    font-size: 14px;
    padding: 8px 0;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .review-item span {
    flex-shrink: 0;
    color: #475467;
  }
  .review-item strong {
    word-break: break-word;
    overflow-wrap: anywhere;
    text-align: right;
    max-width: 65%;
  }
  .review-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-top: 14px;
  }
  .review-actions .btn {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    text-align: center;
    justify-content: center;
    padding: 13px 16px;
    font-size: 16px;
  }
  .review-actions #finalConfirmBtn {
    order: 1;
  }
  .review-actions button[onclick="cancelReview()"] {
    order: 2;
  }
  .order-summary-card {
    text-align: center;
    padding: 20px 14px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }
  .order-summary-card h3 {
    text-align: center;
    font-size: 18px;
  }
  .delivery-note {
    text-align: center;
    font-size: 13px;
  }
  .security-box {
    text-align: center;
    flex-direction: column;
    align-items: center;
    font-size: 13px;
    gap: 6px;
  }

  /* FAQ Section Centered */
  .faq-section {
    text-align: center;
  }
  .faq-item {
    border-radius: 14px;
  }
  .faq-q {
    font-size: 15px;
    padding: 14px 16px;
  }
  .faq-a {
    font-size: 14px;
    padding: 0 16px 14px;
    line-height: 1.65;
  }

  /* Footer Centered */
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 26px;
  }
  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-brand a img {
    margin: 0 auto 12px;
  }
  .footer-brand p {
    text-align: center;
    font-size: 14px;
    margin: 0 auto;
    max-width: 360px;
  }
  .footer-col {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer-col h4 {
    text-align: center;
    font-size: 16px;
  }
  .footer-col ul {
    align-items: center;
    text-align: center;
    padding: 0;
  }
  .footer-col ul li {
    justify-content: center;
    text-align: center;
    font-size: 14px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
    font-size: 13px;
  }

  /* Brand Logo Responsive Sizing */
  .brand {
    width: 180px;
  }
  .brand img {
    width: 170px;
    max-height: 52px;
    transform: scale(1.2);
    transform-origin: left center;
  }

  /* Floating WhatsApp on Mobile: Stays right within default bounds, above sticky buy bar */
  .whatsapp-float {
    bottom: calc(116px + env(safe-area-inset-bottom, 0px)) !important;
    right: 16px;
    width: 50px;
    height: 50px;
  }

  /* Sticky Bottom Buy Bar with 48-Hour Live Timer on Mobile */
  .sticky-buy {
    flex-direction: column !important;
    gap: 8px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px)) !important;
    padding: 8px 10px;
    width: min(420px, calc(100% - 20px));
    border-radius: 18px;
    background: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.22);
  }

  .sticky-buy .mini {
    display: none !important;
  }

  .sticky-timer {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-wrap: nowrap !important;
    align-items: center;
    justify-content: center;
    padding: 5px 8px;
    margin: 0;
    gap: 6px;
    overflow: hidden;
  }

  .sticky-timer-label {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: clamp(10.5px, 3vw, 12px);
    white-space: nowrap !important;
    flex-shrink: 0;
  }

  .sticky-countdown {
    display: flex;
    flex-wrap: nowrap !important;
    align-items: center;
    justify-content: center;
    gap: 3px;
    flex-shrink: 0;
  }

  .timer-box {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 29px;
    padding: 2px 4px;
    flex: 0 0 auto;
    flex-shrink: 0;
    text-align: center;
  }

  .timer-num {
    font-size: clamp(12px, 3.5vw, 14px);
    white-space: nowrap !important;
    line-height: 1.1;
  }

  .timer-sub {
    font-size: clamp(7.5px, 2.2vw, 8.5px);
    white-space: nowrap !important;
    line-height: 1;
  }

  .timer-colon {
    font-size: 11px;
    margin: 0 1px;
    flex-shrink: 0;
    white-space: nowrap !important;
  }

  .sticky-actions {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-wrap: nowrap !important;
    justify-content: center;
    align-items: center;
    gap: 8px;
  }

  .sticky-actions .btn {
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
    justify-content: center;
    padding: 8px 6px;
    font-size: clamp(12px, 3.4vw, 13.5px);
    white-space: nowrap !important;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Centered contents inside review cards in mobile view */
  .reviews-section {
    padding: 55px 0 50px;
  }

  .reviews-marquee-container {
    padding: 16px 0 14px;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 2%, black 98%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 2%, black 98%, transparent 100%);
  }

  .reviews-marquee-track {
    gap: 16px;
  }

  .reviews-group {
    gap: 16px;
    animation-duration: 45s;
  }

  @keyframes scrollMarquee {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-100% - 16px));
    }
  }

  .review-card {
    width: 295px;
    padding: 22px 18px;
    text-align: center;
    align-items: center;
    border-radius: 16px;
  }

  .review-card-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .review-header {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    margin-bottom: 12px;
    width: 100%;
  }

  .review-avatar-img,
  .review-avatar {
    margin: 0 auto;
    width: 50px;
    height: 50px;
  }

  .review-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .review-name-wrap {
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 6px;
    width: 100%;
  }

  .review-author b {
    text-align: center;
    font-size: 16px;
  }

  .review-author span {
    text-align: center;
    font-size: 13px;
  }

  .review-stars {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 4px auto 10px;
    font-size: 16px;
  }

  .review-text {
    text-align: center;
    font-size: 14.5px;
    line-height: 1.6;
  }

  .review-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 14px;
    padding-top: 12px;
  }

  .review-device-tag {
    margin: 0 auto;
    text-align: center;
    font-size: 12px;
  }

  .reviews-trust-pill {
    flex-direction: column;
    gap: 6px;
    border-radius: 20px;
    padding: 10px 16px;
    font-size: 13.5px;
    text-align: center;
  }

  .trust-divider {
    display: none;
  }
}

/* ---------- 12. Thank You Page Styling ---------- */
.thankyou {
  max-width: 680px;
  margin: 40px auto 60px;
  padding: 0 20px;
  text-align: center;
}

.thankyou__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  font-size: 36px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  box-shadow: 0 12px 28px rgba(16, 185, 129, 0.25);
  animation: scaleIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.thankyou__heading {
  font-size: 34px;
  font-weight: 800;
  color: #101828;
  margin-bottom: 6px;
}

.thankyou__subtext {
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 28px;
}

.thankyou__card {
  background: linear-gradient(145deg, #ffffff, #f7faff);
  border: 1px solid #dce5f2;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  text-align: left;
  margin-bottom: 24px;
}

.thankyou__card-title {
  font-size: 21px;
  font-weight: 700;
  color: #101828;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.thankyou__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px dashed #e2e8f0;
  font-size: 16.5px;
}

.thankyou__row:last-child {
  border-bottom: none;
}

.thankyou__row-label {
  color: var(--muted);
}

.thankyou__row-value {
  font-weight: 600;
  color: #101828;
}

.thankyou__row--total {
  font-size: 20px;
  font-weight: 800;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  margin: 6px 0;
}

.thankyou__row--total .thankyou__row-value {
  color: var(--blue);
  font-size: 22px;
}

.thankyou__note {
  background: linear-gradient(135deg, #eff6ff, #f5f3ff);
  border: 1px solid #dbeafe;
  border-radius: 14px;
  padding: 16px;
  font-size: 16px;
  color: #2563eb;
  line-height: 1.6;
  margin-bottom: 28px;
}

@keyframes scaleIn {
  0% { transform: scale(0.6); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* ============================================================
   EXTRA-SMALL SCREEN SAFETY (≤ 380px)
   iPhone SE, Galaxy Fold outer screen, ultra-compact devices
   ============================================================ */
@media (max-width: 380px) {
  .container {
    width: 100%;
    padding-left: 8px;
    padding-right: 8px;
    box-sizing: border-box;
  }
  .order-wrapper {
    padding: 14px 6px;
    border-radius: 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }
  .order-review-box {
    padding: 12px 6px;
    border-radius: 12px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .review-item {
    font-size: 13px;
    gap: 6px;
    padding: 6px 0;
  }
  .review-item span {
    font-size: 12px;
  }
  .review-item strong {
    font-size: 12.5px;
  }
  .review-actions .btn {
    padding: 11px 10px;
    font-size: 15px;
  }
  .gallery-card {
    padding: 14px 8px;
  }
  .s25-ultra-frame {
    max-width: 240px;
    border-radius: 16px;
    padding: 4px;
  }
  .s25-screen {
    border-radius: 12px;
  }
  .pkg-card {
    padding: 18px 10px;
  }
  .sticky-buy {
    width: calc(100% - 10px);
    padding: 6px 6px;
  }
}

/* ============================================================
   META IN-APP BROWSER FORM INPUT ANTI-ZOOM
   Prevents iOS WebKit (used by Facebook/Instagram in-app browsers)
   from auto-zooming when user taps a form field with < 16px font-size.
   Applied globally outside media queries as a safety net.
   ============================================================ */
input.field,
select.field,
textarea.field,
.qty-input,
#orderForm input,
#orderForm select,
#orderForm textarea {
  font-size: 16px !important;
  -webkit-text-size-adjust: 100%;
}

