/* ==========================================================================
   RIYAAD HUB — Executive E-Commerce Stylesheet
   Typography: Inter & Plus Jakarta Sans (Tabular Numerals, Editorial Hierarchy)
   Palette: #7B00D4, #0F0A1E, #1A1040, #C084FC, #9B30FF
   ========================================================================== */

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

:root {
  /* Core Brand Palette (Exact #7B00D4 Hue) */
  --primary: #7B00D4;
  --primary-hover: #6000A8;
  --primary-light: #9B30FF;
  --primary-accent: #C084FC;
  --primary-soft: #F3E8FF;
  --primary-tint: rgba(123, 0, 212, 0.06);

  /* Functional Accents (WCAG AA Compliant) */
  --accent-green: #047857;
  --accent-green-soft: #ECFDF5;
  --whatsapp-green: #25D366;

  /* 8px Spacing Scale */
  --space-1: 0.5rem;   /* 8px */
  --space-2: 1rem;     /* 16px */
  --space-3: 1.5rem;   /* 24px */
  --space-4: 2rem;     /* 32px */
  --space-5: 2.5rem;   /* 40px */
  --space-6: 3rem;     /* 48px */
  --space-7: 3.5rem;   /* 56px */
  --space-8: 4rem;     /* 64px */

  /* Clear Typography Scale (H1 / H2 / H3 / Body / Caption) */
  --text-h1: clamp(1.85rem, 3.6vw, 2.65rem);
  --text-h2: clamp(1.35rem, 2.4vw, 1.75rem);
  --text-h3: 1.05rem;
  --text-body: 0.95rem;
  --text-caption: 0.78rem;

  /* Light Mode Surfaces & Typography (WCAG AA Contrast) */
  --bg-body: #FFFFFF;
  --bg-surface: #F9F8FC;
  --bg-elevated: #FFFFFF;
  --hero-bg: radial-gradient(circle at 74% 52%, rgba(123, 0, 212, 0.14) 0%, rgba(155, 48, 255, 0.06) 38%, transparent 66%), linear-gradient(135deg, #F9F5FF 0%, #F1E8FE 55%, #E8DAFC 100%);
  --card-bg: #FFFFFF;
  --card-media-bg: #F7F5FB;
  --card-media-hover: #F1ECF9;
  --service-card-bg: #F8F7FC;
  --pill-bg: #F2EFF8;
  --pill-hover: #E6E0F2;

  --text-main: #0F0A1E;
  --text-secondary: #3E3752;
  --text-muted: #5A5270;
  --text-on-primary: #FFFFFF;

  --border-color: #E6E0F0;
  --border-strong: #1A1040;
  --header-bg: rgba(255, 255, 255, 0.92);
  --topbar-bg: #1A1040;
  --topbar-text: #F8F6FC;

  /* Refined Shadows & Radii */
  --shadow-sm: 0 1px 3px rgba(15, 10, 30, 0.05), 0 4px 12px rgba(15, 10, 30, 0.04);
  --shadow-md: 0 12px 28px -4px rgba(15, 10, 30, 0.08), 0 4px 12px -2px rgba(123, 0, 212, 0.06);
  --shadow-lg: 0 20px 44px -8px rgba(15, 10, 30, 0.14);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;

  --container-max: 1260px;
  --transition: 0.18s ease;
}

/* ==========================================================================
   DARK MODE VARIABLES (Consistent Surfaces & WCAG AA Contrast)
   ========================================================================== */
[data-theme="dark"] {
  --primary: #9B30FF;
  --primary-hover: #8419E6;
  --primary-light: #C084FC;
  --primary-accent: #C084FC;
  --primary-soft: rgba(155, 48, 255, 0.16);
  --primary-tint: rgba(155, 48, 255, 0.12);

  --accent-green: #34D399;
  --accent-green-soft: rgba(16, 185, 129, 0.15);

  --bg-body: #0F0A1E;
  --bg-surface: #140E28;
  --bg-elevated: #1A1040;
  --hero-bg: radial-gradient(circle at 74% 52%, rgba(155, 48, 255, 0.24) 0%, rgba(123, 0, 212, 0.08) 40%, transparent 68%), linear-gradient(135deg, #160D33 0%, #1E1145 55%, #170E36 100%);
  --card-bg: #150E2B;
  --card-media-bg: #1C1338;
  --card-media-hover: #231845;
  --service-card-bg: #150E2B;
  --pill-bg: #1E153A;
  --pill-hover: #2A1E4F;

  --text-main: #F8F6FC;
  --text-secondary: #D4CCE8;
  --text-muted: #B0A6CA;
  --text-on-primary: #FFFFFF;

  --border-color: #2B204A;
  --border-strong: #C084FC;
  --header-bg: rgba(15, 10, 30, 0.92);
  --topbar-bg: #0B0717;
  --topbar-text: #F2ECF9;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.32);
  --shadow-md: 0 14px 32px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 22px 50px rgba(0, 0, 0, 0.65);
}

/* ==========================================================================
   BASE & TYPOGRAPHY
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.55;
  letter-spacing: -0.005em;
  transition: background-color var(--transition), color var(--transition);
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
  letter-spacing: -0.015em;
  font-weight: 700;
  color: var(--text-main);
}

main {
  flex: 1;
}

img, svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
}

button {
  cursor: pointer;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ==========================================================================
   1. ANNOUNCEMENT BAR & STICKY HEADER
   ========================================================================== */
.topbar {
  background-color: var(--topbar-bg);
  color: var(--topbar-text);
  font-size: var(--text-caption);
  font-weight: 400;
  padding: 0.45rem 0;
}

.topbar-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.25rem 1rem;
  flex-wrap: wrap;
}

.topbar-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  min-width: 0;
}

.topbar-contact a:hover {
  text-decoration: underline;
}

.topbar-promo {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

.topbar-promo a {
  text-decoration: underline;
  font-weight: 600;
  color: #D8B4FE;
}

.topbar-meta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-size: var(--text-caption);
  font-weight: 400;
  color: #E9D5FF;
  min-width: 0;
  white-space: normal;
}

.topbar-meta svg {
  flex-shrink: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: background-color var(--transition), border-color var(--transition), box-shadow var(--transition);
}

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

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: var(--space-2);
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1.28rem;
  letter-spacing: -0.02em;
  color: var(--text-main);
  flex-shrink: 0;
}

.brand-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 10px;
  transition: transform var(--transition);
}

.brand-logo:hover img {
  transform: scale(1.04);
}

.brand-logo span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  height: 38px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-secondary);
  position: relative;
  padding: 0 0.15rem;
  border-radius: 4px;
  transition: color var(--transition);
}

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

.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-search-wrap {
  position: relative;
  display: none;
}

.header-search {
  display: flex;
  align-items: center;
  height: 38px;
  background-color: var(--pill-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  padding: 0 0.95rem;
  width: 235px;
  transition: border-color var(--transition), background-color var(--transition), box-shadow var(--transition);
}

.header-search:focus-within {
  border-color: var(--primary);
  background-color: var(--bg-elevated);
  box-shadow: 0 0 0 3px var(--primary-soft);
}

.header-search input {
  width: 100%;
  font-size: 0.84rem;
  outline: none;
  color: var(--text-main);
}

.header-search input::placeholder {
  color: var(--text-muted);
}

.header-search button {
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  min-width: 290px;
  background-color: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 200;
  display: none;
  max-height: 330px;
  overflow-y: auto;
  padding: 0.4rem;
}

.search-suggestions.open {
  display: block;
}

.suggestion-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.5rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition);
}

.suggestion-item:hover {
  background-color: var(--primary-soft);
}

.suggestion-item img {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  object-fit: contain;
  flex-shrink: 0;
}

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

.suggestion-title {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.suggestion-meta {
  font-size: 0.73rem;
  color: var(--text-muted);
}

.suggestion-price {
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
}

.suggestion-empty {
  padding: 0.85rem;
  text-align: center;
  font-size: 0.83rem;
  color: var(--text-muted);
}

.icon-btn {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-pill);
  background-color: var(--pill-bg);
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  border: 1px solid var(--border-color);
}

.icon-btn:hover {
  background-color: var(--primary-soft);
  color: var(--primary);
  border-color: var(--primary);
}

.icon-btn:active {
  transform: scale(0.97);
}

.wishlist-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: var(--radius-pill);
  background-color: #DC2626;
  color: #FFFFFF;
  font-size: 0.66rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.wishlist-badge.hidden {
  display: none;
}

.header-wa-btn {
  display: none;
  align-items: center;
  justify-content: center;
  height: 38px;
  gap: 0.45rem;
  background-color: var(--primary);
  color: var(--text-on-primary);
  font-weight: 600;
  font-size: 0.84rem;
  padding: 0 1.1rem;
  border-radius: var(--radius-pill);
  transition: background-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.header-wa-btn:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(123, 0, 212, 0.22);
}

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

.mobile-menu-btn {
  display: inline-flex;
}

/* --------------------------------------------------------------------------
   Mobile slide-in sidebar (hamburger menu)
   -------------------------------------------------------------------------- */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background-color: rgba(15, 10, 30, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1001;
  width: min(86vw, 360px);
  display: flex;
  flex-direction: column;
  background-color: var(--bg-elevated);
  border-left: 1px solid var(--border-color);
  box-shadow: -16px 0 40px rgba(15, 10, 30, 0.18);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.28s ease, visibility 0.28s ease;
}

.mobile-drawer.open {
  transform: translateX(0);
  visibility: visible;
}

body.drawer-open {
  overflow: hidden;
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 72px;
  padding: 0 16px 0 20px;
  border-bottom: 1px solid var(--border-color);
  flex-shrink: 0;
}

.drawer-head .brand-logo {
  font-size: 1.12rem;
}

.drawer-head .brand-logo img {
  width: 34px;
  height: 34px;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 16px 16px 24px;
}

.mobile-drawer .mobile-search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  background-color: var(--pill-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 0 14px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.mobile-drawer .mobile-search:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}

.mobile-drawer .mobile-search input {
  width: 100%;
  outline: none;
  font-size: 0.9rem;
  color: var(--text-main);
}

.mobile-drawer .mobile-search input::placeholder {
  color: var(--text-muted);
}

.mobile-drawer .mobile-search button {
  display: flex;
  color: var(--text-secondary);
}

.drawer-section-label {
  margin: 24px 4px 8px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.mobile-nav-list,
.drawer-cat-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.drawer-cat-list[hidden] {
  display: none;
}

/* Collapsible "Categories" header with arrow (closed by default) */
.drawer-section-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 44px;
  margin-top: 16px;
  padding: 0 12px 0 4px;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  transition: background-color var(--transition), color var(--transition);
}

.drawer-section-toggle:hover {
  background-color: var(--pill-bg);
  color: var(--text-main);
}

.drawer-chevron {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.drawer-section-toggle[aria-expanded="true"] .drawer-chevron {
  transform: rotate(180deg);
}

.drawer-section-toggle[aria-expanded="true"] + .drawer-cat-list {
  margin-top: 4px;
}

.mobile-nav-list a,
.drawer-cat-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  transition: background-color var(--transition), color var(--transition);
}

.mobile-nav-list a svg,
.drawer-cat-icon {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: color var(--transition);
}

.mobile-nav-list a:hover,
.drawer-cat-list a:hover {
  background-color: var(--pill-bg);
}

.mobile-nav-list a.active,
.drawer-cat-list a.active {
  background-color: var(--primary-soft);
  color: var(--primary);
}

.mobile-nav-list a.active svg,
.drawer-cat-list a.active .drawer-cat-icon {
  color: var(--primary);
}

.drawer-cat-icon {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background-color: var(--pill-bg);
}

.drawer-cat-icon svg {
  width: 17px;
  height: 17px;
}

.drawer-cat-name {
  flex: 1;
  min-width: 0;
}

.drawer-cat-count {
  min-width: 26px;
  height: 22px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background-color: var(--pill-bg);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
}

.drawer-foot {
  flex-shrink: 0;
  padding: 16px;
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-elevated);
}

.drawer-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 48px;
  border-radius: 12px;
  background-color: var(--primary);
  color: var(--text-on-primary);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background-color var(--transition);
}

.drawer-wa-btn:hover {
  background-color: var(--primary-hover);
}

.drawer-phone {
  display: block;
  margin-top: 10px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.drawer-phone a {
  font-weight: 600;
  color: var(--text-secondary);
}

@media (min-width: 992px) {
  .mobile-drawer,
  .mobile-drawer-overlay {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-drawer,
  .mobile-drawer-overlay {
    transition: none;
  }
}

/* ==========================================================================
   2. HERO SECTION
   ========================================================================== */
.hero-section {
  padding: var(--space-3) 0 var(--space-1);
}

.hero-banner {
  background: var(--hero-bg);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-3);
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: var(--space-3);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.hero-content {
  max-width: 100%;
  z-index: 1;
}

/* Subtler, low-contrast pill badge */
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  background-color: var(--primary-tint);
  color: var(--text-secondary);
  border: 1px solid rgba(123, 0, 212, 0.15);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.26rem 0.75rem;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-2);
}

[data-theme="dark"] .hero-tag {
  border-color: rgba(192, 132, 252, 0.22);
}

.hero-tag svg {
  color: var(--primary);
  flex-shrink: 0;
}

.hero-title {
  font-size: var(--text-h1);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: #14122B;
  margin-bottom: var(--space-2);
}

[data-theme="dark"] .hero-title {
  color: #F8F6FC;
}

.hero-subtitle {
  font-size: var(--text-body);
  line-height: 1.62;
  color: #2E294E;
  margin-bottom: var(--space-3);
  max-width: 46ch;
  text-wrap: balance;
}

[data-theme="dark"] .hero-subtitle {
  color: #D8D1EC;
}

/* Two equal-width hero buttons (both match the wider one); stacked full-width on small phones */
.hero-actions {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0.85rem;
}

.hero-actions .btn-primary-pill,
.hero-actions .btn-secondary-pill {
  width: 100%;
}

@media (max-width: 479px) {
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }
}

/* Identical height (48px), radius, font weight, and size for both CTA buttons */
.btn-primary-pill,
.btn-secondary-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 48px;
  min-height: 48px;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0 1.65rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-primary-pill {
  background-color: var(--primary);
  color: var(--text-on-primary);
  border-color: var(--primary);
  box-shadow: 0 6px 18px rgba(123, 0, 212, 0.20);
}

.btn-primary-pill:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(123, 0, 212, 0.28);
}

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

.btn-secondary-pill {
  background-color: var(--bg-elevated);
  color: #14122B;
  border-color: var(--border-color);
  box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .btn-secondary-pill {
  color: #F8F6FC;
}

.btn-secondary-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
  background-color: var(--bg-elevated);
  transform: translateY(-1px);
}

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

/* Right-Side Spotlight Stage & Tidy App-Icon Podium */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.hero-spotlight-stage {
  position: relative;
  width: 100%;
  max-width: 450px;
  aspect-ratio: 480 / 350;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-spotlight-stage::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 4%;
  transform: translateX(-50%);
  width: 78%;
  height: 36px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(123, 0, 212, 0.28) 0%, rgba(155, 48, 255, 0.10) 55%, transparent 80%);
  filter: blur(8px);
  pointer-events: none;
  z-index: 0;
}

.hero-stage-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-icon-pyramid {
  position: absolute;
  left: 50%;
  bottom: 21.5%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
  width: 100%;
}

.pyramid-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
}

@keyframes heroPyramidFloat {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

.pyramid-icon-tile {
  position: relative;
  width: clamp(46px, 11vw, 66px);
  height: clamp(46px, 11vw, 66px);
  min-width: 44px;
  min-height: 44px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 6px 12px rgba(15, 10, 30, 0.22));
  transition: transform 150ms ease, filter 150ms ease;
  animation: heroPyramidFloat 3.4s ease-in-out infinite;
  will-change: transform;
}

.pyramid-row-top .pyramid-icon-tile {
  animation-duration: 3.2s;
  animation-delay: 0s;
}

.pyramid-row-middle .pyramid-icon-tile:nth-child(1) {
  animation-duration: 3.5s;
  animation-delay: 0.35s;
}

.pyramid-row-middle .pyramid-icon-tile:nth-child(2) {
  animation-duration: 3.7s;
  animation-delay: 0.7s;
}

.pyramid-row-bottom .pyramid-icon-tile:nth-child(1) {
  animation-duration: 3.4s;
  animation-delay: 0.25s;
}

.pyramid-row-bottom .pyramid-icon-tile:nth-child(2) {
  animation-duration: 3.8s;
  animation-delay: 0.6s;
}

.pyramid-row-bottom .pyramid-icon-tile:nth-child(3) {
  animation-duration: 3.6s;
  animation-delay: 0.95s;
}

.pyramid-icon-tile:hover,
.pyramid-icon-tile:focus-visible {
  animation-play-state: paused;
  transform: translateY(-2px);
  filter: drop-shadow(0 10px 18px rgba(15, 10, 30, 0.28));
}

.pyramid-icon-tile:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

.pyramid-icon-tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.pyramid-gold-crown {
  position: absolute;
  top: -19%;
  right: -13%;
  width: 36%;
  height: auto;
  transform: rotate(20deg);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.26));
  z-index: 3;
  pointer-events: none;
}

/* ==========================================================================
   3. FILTER BAR & SECTION HEADINGS
   ========================================================================== */
.filter-bar-section {
  margin-top: 16px;
  scroll-margin-top: 72px;
  padding: 0.75rem 0 0;
  box-sizing: border-box;
  max-width: 100%;
  overflow-x: hidden;
}

.filter-bar-section .container,
#featured-subscriptions .container {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--container-max);
  padding-left: 24px;
  padding-right: 24px;
}

.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  scroll-margin-top: 72px;
}

.filter-pills {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 1.15rem;
  border-radius: var(--radius-pill);
  background-color: #FFFFFF;
  color: #14122B;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid rgba(123, 0, 212, 0.16);
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

[data-theme="dark"] .filter-pill {
  background-color: var(--bg-elevated);
  color: var(--text-main);
  border-color: var(--border-color);
}

.filter-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-pill.active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #FFFFFF;
}

.sort-pill-wrap {
  display: inline-flex;
  align-items: center;
  height: 40px;
  gap: 0.45rem;
  background-color: #FFFFFF;
  border: 1px solid rgba(123, 0, 212, 0.16);
  border-radius: var(--radius-pill);
  padding: 0 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #4A4766;
  margin-left: auto;
  flex-shrink: 0;
}

[data-theme="dark"] .sort-pill-wrap {
  background-color: var(--bg-elevated);
  border-color: var(--border-color);
  color: var(--text-secondary);
}

.sort-pill-wrap select {
  outline: none;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  color: #14122B;
  height: 100%;
}

[data-theme="dark"] .sort-pill-wrap select {
  color: var(--text-main);
}

.sort-pill-wrap select option {
  background-color: var(--bg-elevated);
  color: var(--text-main);
}

.section-block {
  padding: 2.75rem 0;
}

#featured-subscriptions {
  padding-top: 24px;
  padding-bottom: 80px;
  scroll-margin-top: 72px;
  box-sizing: border-box;
  max-width: 100%;
  overflow-x: hidden;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.section-title {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #14122B;
}

[data-theme="dark"] .section-title {
  color: var(--text-main);
}

.section-subtitle {
  font-size: 0.92rem;
  color: #4A4766;
  margin-top: 0.25rem;
}

[data-theme="dark"] .section-subtitle {
  color: var(--text-secondary);
}

.section-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  flex-shrink: 0;
}

.section-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   4. FEATURED SUBSCRIPTIONS PRODUCT GRID & CARDS
   ========================================================================== */
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: stretch;
  width: 100%;
  box-sizing: border-box;
}

.product-card {
  box-sizing: border-box;
  background-color: var(--card-bg);
  border: 1px solid rgba(123, 0, 212, 0.14);
  border-radius: 16px;
  padding: 1.125rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  box-shadow: 0 2px 10px rgba(20, 18, 43, 0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

[data-theme="dark"] .product-card {
  border-color: rgba(192, 132, 252, 0.18);
  box-shadow: var(--shadow-sm);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px -4px rgba(20, 18, 43, 0.10), 0 4px 12px -2px rgba(123, 0, 212, 0.08);
  border-color: rgba(123, 0, 212, 0.30);
}

[data-theme="dark"] .product-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(192, 132, 252, 0.38);
}

/* 16:10 Image Tile with Light Brand-Tint Gradient & Radial Glow Behind Icon */
.product-media {
  aspect-ratio: 16 / 10;
  width: 100%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.92) 0%, rgba(123, 0, 212, 0.04) 52%, transparent 76%),
    linear-gradient(135deg, #FAF7FF 0%, #F3EBFE 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 1.25rem;
  margin-bottom: 1rem;
  transition: background 0.18s ease;
  flex-shrink: 0;
}

[data-theme="dark"] .product-media {
  background:
    radial-gradient(circle at 50% 50%, rgba(155, 48, 255, 0.22) 0%, transparent 70%),
    linear-gradient(135deg, #1E143C 0%, #170F30 100%);
}

.product-media img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  transition: transform 0.18s ease;
  filter: drop-shadow(0 6px 14px rgba(20, 18, 43, 0.12));
}

.product-card:hover .product-media img {
  transform: scale(1.05);
}

.product-duration-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-elevated);
  color: #14122B;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0 0.65rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 6px rgba(20, 18, 43, 0.06);
  border: 1px solid rgba(123, 0, 212, 0.12);
}

[data-theme="dark"] .product-duration-badge {
  color: var(--text-main);
  border-color: var(--border-color);
}

.product-fav-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--bg-elevated);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(20, 18, 43, 0.06);
  border: 1px solid rgba(123, 0, 212, 0.12);
  transition: color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

[data-theme="dark"] .product-fav-btn {
  border-color: var(--border-color);
}

.product-fav-btn:hover,
.product-fav-btn.favorited {
  color: #EF4444;
  border-color: #FCA5A5;
  transform: scale(1.06);
}

/* Eyebrow Row: Category Label + Right-Aligned Rating on Same Baseline */
.product-eyebrow {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.product-cat-label {
  font-size: 0.72rem; /* ~11.5px */
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
}

.product-rating-inline {
  display: inline-flex;
  align-items: baseline;
  gap: 0.25rem;
  font-size: 0.8125rem; /* 13px */
  font-weight: 600;
  color: #3A3752;
  margin-left: auto;
  font-variant-numeric: tabular-nums;
}

[data-theme="dark"] .product-rating-inline {
  color: var(--text-secondary);
}

.product-rating-inline .star-glyph {
  color: #F59E0B;
  font-size: 0.82rem;
}

.product-rating-inline .rating-muted {
  color: var(--text-muted);
  font-weight: 400;
}

/* Product Name (18px, #14122B, max 2 lines) & Description (14px, 2-line clamp, flex-grow:1) */
.product-name {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 1.125rem; /* 18px */
  font-weight: 700;
  color: #14122B;
  line-height: 1.32;
  letter-spacing: -0.015em;
  margin-bottom: 0.4rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

[data-theme="dark"] .product-name {
  color: var(--text-main);
}

.product-desc {
  font-size: 0.875rem; /* 14px */
  font-weight: 400;
  color: #4A4766;
  line-height: 1.5;
  flex-grow: 1;
  min-height: 2.625rem; /* Fixed minimum height for 2 lines (42px) */
  margin-bottom: 0.85rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

[data-theme="dark"] .product-desc {
  color: var(--text-secondary);
}

/* Uniform 28px Pill Chips Area with Fixed Min-Height */
.product-spec-tags {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 8px;
  min-height: 64px;
  margin-bottom: 0.9rem;
}

.spec-tag {
  display: inline-flex;
  align-items: center;
  height: 28px;
  gap: 0.3rem;
  font-size: 0.75rem; /* 12px */
  font-weight: 500;
  padding: 0 0.7rem;
  border-radius: 999px;
  background-color: #F2EFF8;
  color: #3A3752;
  white-space: nowrap;
}

[data-theme="dark"] .spec-tag {
  background-color: var(--pill-bg);
  color: var(--text-secondary);
}

.spec-tag.warranty-tag {
  background-color: #E6F9F0;
  color: #046C4E;
  font-weight: 600;
}

[data-theme="dark"] .spec-tag.warranty-tag {
  background-color: var(--accent-green-soft);
  color: var(--accent-green);
}

/* Segmented Control for Multi-Plan Products */
.plan-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.25rem;
  background-color: var(--pill-bg);
  padding: 0.22rem;
  border-radius: 9px;
  margin-bottom: 0.9rem;
}

.plan-pill-btn {
  font-size: 0.73rem;
  font-weight: 600;
  padding: 0.32rem 0.35rem;
  border-radius: 7px;
  color: var(--text-secondary);
  text-align: center;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.plan-pill-btn:hover {
  color: var(--text-main);
}

.plan-pill-btn.active {
  background-color: var(--bg-elevated);
  color: var(--primary);
  font-weight: 700;
  box-shadow: 0 1px 4px rgba(15, 10, 30, 0.08);
}

/* Pinned Bottom Footer: Thin Divider, Price Row + 44px Full-Width CTA */
.product-card-footer {
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(123, 0, 212, 0.12);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

[data-theme="dark"] .product-card-footer {
  border-top-color: var(--border-color);
}

.product-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}

.product-price-group {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  font-variant-numeric: tabular-nums;
}

.product-price {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 1.5rem; /* 24px */
  font-weight: 800;
  color: #14122B;
  letter-spacing: -0.02em;
  line-height: 1;
}

[data-theme="dark"] .product-price {
  color: var(--text-main);
}

.price-old {
  font-size: 0.875rem; /* 14px */
  color: #76708E;
  text-decoration: line-through;
  font-weight: 400;
}

[data-theme="dark"] .price-old {
  color: var(--text-muted);
}

.product-duration-text {
  font-size: 0.8125rem; /* 13px */
  font-weight: 500;
  color: #5A5270;
}

[data-theme="dark"] .product-duration-text {
  color: var(--text-muted);
}

.btn-order-card {
  width: 100%;
  height: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0 1rem;
  border-radius: 12px;
  background-color: var(--primary);
  color: var(--text-on-primary);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-order-card:hover {
  background-color: var(--primary-hover);
  box-shadow: 0 6px 16px rgba(123, 0, 212, 0.25);
  transform: translateY(-2px);
}

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

/* Skeleton Loader Card */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.skeleton-card {
  height: 360px;
  border-radius: 16px;
  background: linear-gradient(90deg, var(--pill-bg) 25%, var(--card-media-hover) 50%, var(--pill-bg) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}

/* ==========================================================================
   5. HOW IT WORKS & PROPERLY PROPORTIONED PAYMENT LOGOS
   ========================================================================== */
.how-it-works-section,
#how-it-works,
.warranty-policy-section,
.faq-section,
.site-footer {
  box-sizing: border-box;
  max-width: 100%;
  overflow-x: hidden;
}

.how-it-works-section > .container,
.warranty-policy-section > .container,
.faq-section > .container,
.site-footer > .container {
  box-sizing: border-box;
  padding-left: 24px;
  padding-right: 24px;
}

.how-it-works-section .section-title,
.faq-section .section-title {
  color: #14122B;
  font-weight: 700;
}

[data-theme="dark"] .how-it-works-section .section-title,
[data-theme="dark"] .faq-section .section-title {
  color: var(--text-main);
}

.how-it-works-section .section-subtitle,
.faq-section .section-subtitle {
  color: #4A4766;
}

[data-theme="dark"] .how-it-works-section .section-subtitle,
[data-theme="dark"] .faq-section .section-subtitle {
  color: var(--text-secondary);
}

.how-it-works-section,
#how-it-works {
  scroll-margin-top: 72px;
  padding-top: 64px;
  padding-bottom: 64px;
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: stretch;
}

.step-card {
  box-sizing: border-box;
  position: relative;
  background-color: var(--card-bg);
  border: 1px solid rgba(123, 0, 212, 0.14);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 1px 2px rgba(20, 18, 43, 0.04);
  transition: border-color 200ms ease;
}

[data-theme="dark"] .step-card {
  border-color: rgba(192, 132, 252, 0.18);
  box-shadow: none;
}

.step-card:hover {
  border-color: rgba(123, 0, 212, 0.30);
}

[data-theme="dark"] .step-card:hover {
  border-color: rgba(192, 132, 252, 0.38);
}

/* Desktop Connector Between Cards (Hidden on Mobile <768px) */
.step-card:not(:last-child)::after {
  display: none;
}

.step-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-color: var(--primary);
  color: var(--text-on-primary);
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-color: var(--primary-soft);
  color: var(--primary);
  border: 1px solid rgba(123, 0, 212, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

[data-theme="dark"] .step-icon-badge {
  border-color: rgba(192, 132, 252, 0.25);
}

.step-title {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 1.25rem; /* 20px */
  font-weight: 700;
  color: #14122B;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

[data-theme="dark"] .step-title {
  color: var(--text-main);
}

.step-text {
  font-size: 0.9375rem; /* 15px */
  color: #4A4766;
  line-height: 1.6;
  max-width: 36ch;
  margin-bottom: 1.25rem;
}

[data-theme="dark"] .step-text {
  color: var(--text-secondary);
}

/* Balanced Bottom Feature Checklist for Step 1 & Step 3 */
.step-feature-list {
  margin-top: auto;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 0.95rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

[data-theme="dark"] .step-feature-list {
  background-color: var(--bg-elevated);
  border-color: var(--border-color);
}

.step-feature-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.35;
}

.step-feature-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #E6F9F0;
  color: #046C4E;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

[data-theme="dark"] .step-feature-check {
  background-color: var(--accent-green-soft);
  color: var(--accent-green);
}

/* Equal Payment Tiles in Step 2 (44px high, white background, 1px border, radius 10px, centered) */
.step-payment-grid {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.step-payment-badge {
  box-sizing: border-box;
  background-color: #FFFFFF;
  border: 1px solid rgba(20, 18, 43, 0.12);
  border-radius: 10px;
  padding: 6px 12px;
  min-height: 44px;
  height: 44px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

[data-theme="dark"] .step-payment-badge {
  background-color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.22);
}

.step-payment-badge img {
  max-height: 24px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.payment-text-label {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 0.8125rem; /* 13px */
  font-weight: 700;
  color: #14122B;
  letter-spacing: -0.01em;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

/* ==========================================================================
   5B. FEATURE STRIP, WARRANTY GUARANTEE BLOCK & FAQ ACCORDION
   ========================================================================== */
.trust-badges-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: stretch;
  margin-top: 32px;
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
}

.trust-badge-card {
  box-sizing: border-box;
  background-color: transparent;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
  min-width: 0;
}

.trust-badge-card + .trust-badge-card {
  border-top: 1px solid var(--border-color);
}

.trust-badge-card > div:last-child {
  min-width: 0;
  flex: 1 1 auto;
}

.trust-badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background-color: var(--primary-soft);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-badge-icon svg {
  width: 20px;
  height: 20px;
}

.trust-badge-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #14122B;
  margin-bottom: 0.15rem;
  line-height: 1.3;
  overflow-wrap: break-word;
}

[data-theme="dark"] .trust-badge-title {
  color: var(--text-main);
}

.trust-badge-sub {
  font-size: 0.8125rem;
  color: #4A4766;
  line-height: 1.45;
  white-space: normal;
  overflow-wrap: break-word;
}

[data-theme="dark"] .trust-badge-sub {
  color: var(--text-secondary);
}

/* Refund & Warranty Policy Box (Flows straight from Feature Strip with 64px spacing) */
.warranty-policy-section {
  padding: 64px 0 32px;
}

.warranty-policy-box {
  box-sizing: border-box;
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--accent-green);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

[data-theme="dark"] .warranty-policy-box {
  border-color: var(--border-color);
  border-left-color: var(--accent-green);
}

.warranty-policy-head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.warranty-shield-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: #E6F9F0;
  color: #046C4E;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

[data-theme="dark"] .warranty-shield-icon {
  background-color: var(--accent-green-soft);
  color: var(--accent-green);
}

.warranty-policy-title {
  font-size: 1.25rem; /* 20px */
  font-weight: 700;
  color: #14122B;
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

[data-theme="dark"] .warranty-policy-title {
  color: var(--text-main);
}

.warranty-policy-desc {
  font-size: 0.9375rem; /* 15px */
  color: #4A4766;
  line-height: 1.6;
  max-width: 78ch;
}

[data-theme="dark"] .warranty-policy-desc {
  color: var(--text-secondary);
}

.warranty-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.warranty-pillar-chip {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  height: 36px;
  min-height: 36px;
  padding: 0 0.9rem;
  border-radius: 8px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  font-size: 0.8125rem;
  font-weight: 600;
  color: #14122B;
}

[data-theme="dark"] .warranty-pillar-chip {
  color: var(--text-main);
  border-color: var(--border-color);
}

/* FAQ Accordion Section (Centered in max-width: 960px container) */
.faq-section {
  padding: 32px 0 64px;
  scroll-margin-top: 72px;
}

.faq-section .section-header,
.faq-grid {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.faq-item {
  background-color: var(--card-bg);
  border: 1px solid rgba(123, 0, 212, 0.14);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

[data-theme="dark"] .faq-item {
  border-color: rgba(192, 132, 252, 0.18);
}

.faq-item[open] {
  border-color: var(--primary);
  box-shadow: 0 6px 18px rgba(123, 0, 212, 0.07);
}

.faq-question {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  color: #14122B;
  user-select: none;
  transition: color 180ms ease;
}

[data-theme="dark"] .faq-question {
  color: var(--text-main);
}

.faq-question:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: -2px;
  border-radius: 12px;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-toggle-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--primary-soft);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 200ms ease, background-color 200ms ease, color 200ms ease;
}

.faq-item[open] .faq-toggle-icon {
  transform: rotate(180deg);
  background-color: var(--primary);
  color: #FFFFFF;
}

.faq-answer {
  padding: 0.9rem 1.35rem 1.2rem;
  font-size: 0.9375rem; /* 15px */
  color: #4A4766;
  line-height: 1.62;
  border-top: 1px solid rgba(123, 0, 212, 0.08);
}

[data-theme="dark"] .faq-answer {
  color: var(--text-secondary);
  border-top-color: var(--border-color);
}

/* ==========================================================================
   6. CATEGORIES & CONTACT PAGES
   ========================================================================== */
.category-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.35rem;
  margin-bottom: 2.5rem;
}

.category-card {
  background-color: var(--service-card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.85rem;
  transition: all var(--transition);
  cursor: pointer;
}

.category-card:hover,
.category-card.active {
  border-color: var(--primary);
  background-color: var(--primary-soft);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.category-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background-color: var(--primary);
  color: var(--text-on-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.category-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.category-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.category-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-color);
}

.category-count {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
}

.service-badge {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--primary);
  background-color: var(--bg-elevated);
  padding: 0.22rem 0.65rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-color);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

.contact-card {
  background-color: var(--service-card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.4rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  background-color: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.95rem;
  font-size: 0.9rem;
  color: var(--text-main);
  outline: none;
  transition: border-color var(--transition);
}

.form-control:focus {
  border-color: var(--primary);
}

.form-help-text {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.payment-methods-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
  margin-top: 1rem;
}

.payment-card {
  background-color: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.95rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  transition: border-color var(--transition);
}

.payment-card:hover {
  border-color: var(--primary);
}

.payment-card-tile {
  width: 108px;
  height: 44px;
  background-color: #FFFFFF;
  border: 1px solid rgba(20, 18, 43, 0.10);
  border-radius: 10px;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.payment-logo-img {
  max-height: 24px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  flex-shrink: 0;
}

/* ==========================================================================
   7. REDESIGNED EXECUTIVE DEEP-PURPLE FOOTER
   ========================================================================== */
.site-footer {
  background: linear-gradient(180deg, #160D33 0%, #0D081E 100%);
  color: #F8F6FC;
  border-top: 1px solid rgba(192, 132, 252, 0.18);
  padding: 3.25rem 0 80px;
  margin-top: 48px;
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-col {
  margin: 0;
  padding: 0;
}

.footer-brand-col .brand-logo {
  color: #FFFFFF;
  margin-bottom: 0.85rem;
}

.footer-brand-col .brand-logo span {
  background: linear-gradient(135deg, #FFFFFF 0%, #D8B4FE 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-brand-desc {
  font-size: 0.9375rem; /* 15px */
  color: rgba(255, 255, 255, 0.78);
  max-width: 34ch;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.875rem; /* 14px */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #FFFFFF;
  line-height: 1.4;
  margin: 0 0 1rem 0;
}

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

.footer-links li {
  line-height: 1.45;
}

.footer-links a {
  font-size: 0.9375rem; /* 15px */
  font-weight: 400;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.footer-links a:hover {
  color: #FFFFFF;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-action-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 500 !important;
  color: rgba(255, 255, 255, 0.78) !important;
}

.footer-action-link svg {
  flex-shrink: 0;
  color: #C084FC;
  transition: transform 180ms ease, color 180ms ease;
}

.footer-action-link .ext-arrow {
  opacity: 0.78;
}

.footer-action-link:hover {
  color: #FFFFFF !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-action-link:hover .ext-arrow {
  opacity: 1;
  transform: translate(2px, -2px);
}

.footer-wa-link svg:first-child {
  color: #25D366;
}

.footer-fb-link svg:first-child {
  color: #60A5FA;
}

.footer-links a:focus-visible,
.footer-brand-col .brand-logo:focus-visible {
  outline: 2px solid #C084FC;
  outline-offset: 3px;
  border-radius: 4px;
}

.footer-payments-bar {
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-payments-label {
  font-size: 0.75rem; /* 12px */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.78);
}

.footer-payment-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.footer-pay-item {
  box-sizing: border-box;
  height: 44px;
  min-height: 44px;
  width: 118px;
  flex: 0 0 118px;
  background-color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-pay-item img {
  max-height: 24px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 1.35rem;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  font-size: 0.875rem; /* 14px */
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
}

/* ==========================================================================
   8. FLOATING WHATSAPP, BACK TO TOP, TOAST & MODALS
   ========================================================================== */
.floating-actions {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.floating-wa-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--whatsapp-green);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.34);
  transition: transform var(--transition), box-shadow var(--transition);
}

.floating-wa-btn svg {
  width: 22px;
  height: 22px;
}

.floating-wa-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.44);
}

.floating-wa-btn:active {
  transform: scale(0.97);
}

.back-to-top-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--bg-elevated);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: none;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}

.back-to-top-btn.visible {
  display: inline-flex;
}

.back-to-top-btn:hover {
  background-color: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
}

.toast-container {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background-color: #0F0A1E;
  color: #FFFFFF;
  border: 1px solid var(--primary-accent);
  padding: 0.72rem 1.25rem;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  z-index: 1500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 92vw;
  text-align: center;
}

.toast-container.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 10, 30, 0.68);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  z-index: 1100;
}

.modal-backdrop.open {
  display: flex;
}

.modal-box {
  background-color: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 1.6rem;
  box-shadow: var(--shadow-lg);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--border-color);
}

/* ==========================================================================
   9. RESPONSIVE BREAKPOINTS (360px, 768px, 1280px, 1920px) & MOTION
   ========================================================================== */
@media (max-width: 400px) {
  .container {
    padding: 0 1rem;
  }
  .hero-banner {
    padding: 1.5rem 1.15rem;
  }
  .hero-actions {
    width: 100%;
  }
  .hero-actions .btn-primary-pill,
  .hero-actions .btn-secondary-pill {
    width: 100%;
  }
}

@media (min-width: 481px) {
  .footer-main-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
  }
}

@media (min-width: 640px) {
  .topbar-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
  .category-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .payment-methods-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
  .trust-badges-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
  }
  .trust-badge-card + .trust-badge-card {
    border-top: none;
    border-left: 1px solid var(--border-color);
  }

  /* Thin Dashed Connector Line Between Step Cards on Desktop (>=768px) */
  .step-card:not(:last-child)::after {
    content: "";
    display: block;
    position: absolute;
    top: 50px;
    right: -25px;
    width: 24px;
    border-top: 2px dashed rgba(123, 0, 212, 0.30);
    pointer-events: none;
    z-index: 2;
  }

  [data-theme="dark"] .step-card:not(:last-child)::after {
    border-top-color: rgba(192, 132, 252, 0.38);
  }
}

@media (min-width: 769px) {
  .footer-main-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 48px;
    align-items: start;
  }
}

@media (min-width: 992px) {
  .topbar-promo {
    display: inline-flex;
  }
  .nav-links {
    display: flex;
  }
  .header-search-wrap {
    display: block;
  }
  .header-wa-btn {
    display: inline-flex;
  }
  .mobile-menu-btn {
    display: none;
  }
  .hero-banner {
    grid-template-columns: 55fr 45fr;
    padding: var(--space-5) var(--space-6);
    gap: 1.5rem;
  }
  .hero-visual {
    justify-content: flex-start;
  }
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
  .category-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .contact-layout {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

@media (min-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
  }
  .category-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}


/* ==========================================================================
   10. BLOG: LIST PAGE, POST CARDS & ARTICLE PAGES
   ========================================================================== */
.blog-section {
  padding: 2.75rem 0 80px;
}

.blog-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 1.5rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: stretch;
}

.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: var(--card-bg);
  border: 1px solid rgba(123, 0, 212, 0.14);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(20, 18, 43, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

[data-theme="dark"] .blog-card {
  border-color: var(--border-color);
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(123, 0, 212, 0.30);
  box-shadow: 0 14px 28px -6px rgba(20, 18, 43, 0.12);
}

.blog-card-cover {
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 45%, rgba(123, 0, 212, 0.10) 0%, transparent 62%), var(--card-media-bg);
  overflow: hidden;
}

.blog-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-cover img.is-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(20, 18, 43, 0.14));
}

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

.blog-tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background-color: var(--primary-soft);
  color: var(--primary);
}

.blog-tag.is-offer {
  background-color: #FEF3C7;
  color: #92400E;
}

[data-theme="dark"] .blog-tag.is-offer {
  background-color: rgba(245, 158, 11, 0.16);
  color: #FCD34D;
}

.blog-card-title {
  margin-top: 12px;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
  color: #14122B;
}

[data-theme="dark"] .blog-card-title {
  color: var(--text-main);
}

.blog-card-excerpt {
  margin-top: 8px;
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #4A4766;
}

[data-theme="dark"] .blog-card-excerpt {
  color: var(--text-secondary);
}

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

.blog-card .blog-meta {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
}

.blog-read-more {
  margin-left: auto;
  font-weight: 600;
  color: var(--primary);
}

/* Single article page */
.blog-article {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.5rem 0 80px;
}

.blog-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}

.blog-back-link:hover {
  text-decoration: underline;
}

.blog-article-title {
  margin-top: 14px;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: #14122B;
}

[data-theme="dark"] .blog-article-title {
  color: var(--text-main);
}

.blog-article-header .blog-meta {
  margin-top: 14px;
}

.blog-article-cover {
  margin: 2rem 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background-color: var(--card-media-bg);
}

.blog-article-cover img {
  width: 100%;
  height: auto;
}

.blog-content {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: #2E294E;
}

[data-theme="dark"] .blog-content {
  color: var(--text-secondary);
}

.blog-content > * + * {
  margin-top: 1.1em;
}

.blog-content h2 {
  margin-top: 2em;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  color: #14122B;
}

.blog-content h3 {
  margin-top: 1.6em;
  font-size: 1.2rem;
  font-weight: 700;
  color: #14122B;
}

[data-theme="dark"] .blog-content h2,
[data-theme="dark"] .blog-content h3 {
  color: var(--text-main);
}

.blog-content ul,
.blog-content ol {
  padding-left: 1.4em;
}

.blog-content ul {
  list-style: disc;
}

.blog-content ol {
  list-style: decimal;
}

.blog-content li + li {
  margin-top: 0.45em;
}

.blog-content a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.blog-content strong {
  color: #14122B;
  font-weight: 700;
}

[data-theme="dark"] .blog-content strong {
  color: var(--text-main);
}

.blog-content img {
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.blog-note {
  padding: 16px 20px;
  border-radius: 12px;
  border-left: 4px solid var(--primary);
  background-color: var(--primary-tint);
  font-size: 0.975rem;
}

/* Live product card embedded inside a post */
.blog-product-embed {
  max-width: 340px;
  margin: 2rem 0;
}

.blog-cta {
  margin-top: 3rem;
  padding: 28px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  background-color: var(--card-bg);
  text-align: center;
}

.blog-cta h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #14122B;
}

[data-theme="dark"] .blog-cta h2 {
  color: var(--text-main);
}

.blog-cta p {
  margin: 8px auto 20px;
  max-width: 46ch;
  color: #4A4766;
}

[data-theme="dark"] .blog-cta p {
  color: var(--text-secondary);
}

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

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

@media (min-width: 992px) {
  .blog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}


/* ==========================================================================
   11. AI VIDEO ADS
   Page styles live in css/ai-video-ads.css (loaded only on ai-video-ads.html).
   Below: the AI Video Ads product card switch (home, shop & categories grids).
   ========================================================================== */
.product-card[data-id="ai-video-ads"] .plan-selector {
  border: 1px solid var(--border-color);
}

.product-card[data-id="ai-video-ads"] .plan-pill-btn {
  min-height: 32px;
  color: var(--text-main);
}

.product-card[data-id="ai-video-ads"] .plan-pill-btn:hover {
  color: var(--primary);
}

.product-card[data-id="ai-video-ads"] .plan-pill-btn.active {
  background-color: var(--primary);
  color: #FFFFFF;
  box-shadow: none;
}
