/*
Theme Name: eRechargeBD
Theme URI: https://erechargebd.com
Author: eRechargeBD
Author URI: https://erechargebd.com
Description: WordPress theme version of the current eRechargeBD website with auto-loaded products and working order flow.
Version: 6.0.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: erechargebd
*/

:root {
  --background: hsl(220 20% 97%);
  --foreground: hsl(220 30% 12%);
  --card: hsl(0 0% 100%);
  --card-foreground: hsl(220 30% 12%);
  --primary: hsl(215 80% 28%);
  --primary-foreground: hsl(210 40% 98%);
  --muted: hsl(220 15% 93%);
  --muted-foreground: hsl(220 10% 45%);
  --accent: hsl(220 15% 90%);
  --accent-foreground: hsl(220 30% 12%);
  --border: hsl(220 15% 88%);
  --ring: hsl(215 80% 28%);
  --cta: hsl(25 95% 53%);
  --cta-foreground: hsl(0 0% 100%);
  --notice: hsl(0 85% 50%);
  --notice-foreground: hsl(0 0% 100%);
  --success: hsl(142 72% 40%);
  --success-foreground: hsl(0 0% 100%);
  --radius: 0.75rem;
  --shadow-card: 0 2px 12px -2px hsl(220 30% 12% / 0.08), 0 1px 3px hsl(220 30% 12% / 0.05);
  --shadow-card-hover: 0 8px 24px -4px hsl(220 30% 12% / 0.12), 0 2px 6px hsl(220 30% 12% / 0.06);
  --best: hsl(142 72% 40%);
  --popular: hsl(24 95% 53%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Hind Siliguri', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--background);
  color: var(--foreground);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }

.container {
  width: min(100% - 2rem, 1120px);
  margin-inline: auto;
}

.gradient-primary {
  background: linear-gradient(135deg, hsl(215 80% 28%), hsl(215 70% 40%));
}

.shadow-card { box-shadow: var(--shadow-card); }
.shadow-card-hover { box-shadow: var(--shadow-card-hover); }
.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.site-notice {
  background: var(--notice);
  color: var(--notice-foreground);
  padding: 0.5rem 1rem;
  position: relative;
  z-index: 50;
}
.site-notice__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.site-notice p {
  margin: 0;
  flex: 1;
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
}
.site-notice__close {
  border: 0;
  background: transparent;
  color: hsl(0 0% 0%);
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}

.site-header {
  color: var(--primary-foreground);
  position: sticky;
  top: 0;
  z-index: 40;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}
.site-branding {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.site-title-link,
.site-title-link:visited {
  color: var(--primary-foreground);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.custom-logo-link img {
  max-height: 44px;
  width: auto;
}
.primary-nav ul,
.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.primary-nav a,
.primary-nav a:visited,
.footer-nav a,
.footer-nav a:visited {
  color: inherit;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--success);
  color: var(--success-foreground);
  border-radius: var(--radius);
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.hero {
  color: var(--primary-foreground);
  padding: 3rem 0;
  text-align: center;
}
.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 5vw, 2.5rem);
}
.hero p { margin: 0; }
.hero__lead { font-size: 1.125rem; opacity: 0.92; }
.hero__sub { margin-top: 0.25rem; font-size: 0.875rem; opacity: 0.8; }

.site-main {
  padding: 2rem 0 3rem;
}
.controls {
  padding-top: 0.5rem;
  margin-bottom: 1.5rem;
}
.search-wrap {
  position: relative;
  margin-bottom: 1rem;
}
.search-wrap__icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-foreground);
  font-size: 1rem;
}
.search-wrap input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--card-foreground);
  padding: 0.9rem 1rem 0.9rem 2.75rem;
}
.search-wrap input:focus,
.select-control:focus,
.field input:focus {
  outline: 2px solid transparent;
  box-shadow: 0 0 0 2px hsl(from var(--primary) h s l / 0.18);
  border-color: var(--ring);
}
.category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  border: 0;
  border-radius: 0.25rem;
  box-shadow: 0 4px 18px hsl(220 30% 12% / 0.08);
  opacity: 0.95;
}
.chip {
  border: 0;
  cursor: pointer;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: var(--muted);
  color: var(--muted-foreground);
  font-size: 0.875rem;
  font-weight: 600;
}
.chip.is-active {
  background: var(--primary);
  color: var(--primary-foreground);
}

.section-block + .section-block { margin-top: 2.5rem; }
.section-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 1rem;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
.product-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}
.product-card:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-card-hover);
}
.product-card__icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
}
.product-card__name {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
}
.product-card__count {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}
.no-results {
  display: none;
  text-align: center;
  color: var(--muted-foreground);
  padding: 3rem 0;
}

.video-card,
.info-card,
.faq-card,
.disclaimer-card,
.terms-card,
.refund-card,
.checkout-card,
.thank-you-card {
  padding: 1.5rem;
}
.disclaimer-card {
  border-left: 4px solid var(--cta);
  border: 4px solid var(--cta);
}
.stack-10 > * + * { margin-top: 0.625rem; }
.stack-12 > * + * { margin-top: 0.75rem; }
.stack-16 > * + * { margin-top: 1rem; }
.copy-muted,
.copy-muted p {
  color: var(--muted-foreground);
  line-height: 1.7;
}
.copy-muted strong { color: var(--foreground); }
.inline-link {
  color: var(--primary);
  text-decoration: underline;
}
.video-embed {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
}
.video-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item + .faq-item { margin-top: 0.5rem; }
.faq-trigger {
  width: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  text-align: left;
  color: var(--foreground);
  font-weight: 600;
}
.faq-content {
  display: none;
  padding: 0 1rem 1rem;
  color: var(--muted-foreground);
  font-size: 0.9rem;
}
.faq-item.is-open .faq-content { display: block; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--muted-foreground);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.back-link:hover { color: var(--primary); }
.company-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.company-head__icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
}
.company-head h1 {
  margin: 0;
  font-size: 1.7rem;
}
.company-head p {
  margin: 0.15rem 0 0;
  color: var(--muted-foreground);
  font-size: 0.9rem;
}
.info-banner {
  background: hsl(from var(--accent) h s l / 0.35);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 0.75rem 0.9rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.info-banner strong { color: var(--best); }
.sort-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}
.sort-meta {
  color: var(--muted-foreground);
  font-size: 0.9rem;
}
.select-control {
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: var(--card);
  color: var(--foreground);
  padding: 0.45rem 0.65rem;
}
.package-grid {
  display: grid;
  gap: 0.75rem;
}
.package-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  position: relative;
}
.package-card.is-best {
  box-shadow: 0 0 0 2px hsl(from var(--best) h s l / 0.5), var(--shadow-card);
}
.package-card.is-popular {
  box-shadow: 0 0 0 2px hsl(from var(--popular) h s l / 0.5), var(--shadow-card);
}
.package-badge {
  position: absolute;
  top: -0.45rem;
  right: -0.45rem;
  border-radius: 999px;
  color: hsl(0 0% 100%);
  padding: 0.15rem 0.55rem;
  font-size: 10px;
  font-weight: 700;
  box-shadow: 0 4px 12px hsl(220 30% 12% / 0.12);
}
.package-badge--best { background: var(--best); }
.package-badge--popular { background: var(--popular); }
.package-name {
  margin: 0;
  font-weight: 700;
}
.package-price {
  margin: 0.2rem 0 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--cta);
}
.package-saving {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
  color: var(--best);
  font-weight: 700;
}
.package-unit {
  margin: 0.2rem 0 0;
  font-size: 0.72rem;
  color: var(--muted-foreground);
}
.btn-red,
.btn-outline,
.btn-cta {
  border: 0;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  cursor: pointer;
}
.btn-red {
  background: hsl(0 72% 51%);
  color: hsl(0 0% 100%);
}
.btn-cta {
  background: var(--cta);
  color: var(--cta-foreground);
}
.btn-outline {
  background: transparent;
  color: var(--foreground);
  border: 1px solid var(--border);
}
.btn-full { width: 100%; }

.checkout-wrap {
  max-width: 34rem;
}
.order-summary {
  background: var(--muted);
  border-radius: var(--radius);
  padding: 0.9rem;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
}
.field + .field { margin-top: 1rem; }
.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
}
.field input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--background);
  color: var(--foreground);
  padding: 0.75rem 0.9rem;
}
.payment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}
.payment-btn {
  border: 2px solid var(--border);
  border-radius: 0.75rem;
  background: transparent;
  color: var(--muted-foreground);
  padding: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}
.payment-btn.is-active {
  border-color: var(--primary);
  color: var(--primary);
  background: hsl(from var(--primary) h s l / 0.06);
}
.payment-help {
  margin-top: 0.6rem;
  font-size: 0.88rem;
  color: var(--muted-foreground);
}
.payment-help strong { color: var(--foreground); }

.thank-you-card {
  max-width: 32rem;
  margin-inline: auto;
  text-align: center;
}
.thank-you-icon {
  width: 5rem;
  height: 5rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  margin: 0 auto;
  font-size: 2rem;
  background: hsl(from var(--success) h s l / 0.1);
  color: var(--success);
}
.order-id-box {
  background: var(--muted);
  border-radius: var(--radius);
  padding: 1rem;
}
.order-id-box__label {
  color: var(--muted-foreground);
  font-size: 0.85rem;
}
.order-id-box__value {
  margin-top: 0.25rem;
  color: var(--primary);
  font-size: 1.4rem;
  font-weight: 800;
}

.site-footer {
  background: var(--primary);
  color: var(--primary-foreground);
  margin-top: 3rem;
  padding: 2rem 0;
  text-align: center;
}
.site-footer h3 { margin: 0 0 0.75rem; }
.site-footer p { margin: 0.4rem 0; opacity: 0.85; }
.site-footer .copyright { opacity: 0.55; font-size: 0.78rem; }

.fake-order-notice {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 45;
  width: min(100% - 2rem, 320px);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card-hover);
  padding: 0.85rem;
  display: none;
  align-items: center;
  gap: 0.75rem;
}
.fake-order-notice.is-visible { display: flex; }
.fake-order-notice__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: hsl(from var(--success) h s l / 0.1);
  color: var(--success);
  flex-shrink: 0;
}
.fake-order-notice__name {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
}
.fake-order-notice__text {
  margin: 0.15rem 0 0;
  font-size: 0.82rem;
  color: var(--muted-foreground);
}
.fake-order-notice__text strong { color: var(--primary); }

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

@media (min-width: 768px) {
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero { padding: 3.5rem 0; }
}

@media (min-width: 1024px) {
  .product-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .package-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .primary-nav { display: none; }
  .site-header__inner { gap: 0.5rem; }
  .site-title-link, .site-title-link:visited { font-size: 1rem; }
  .whatsapp-btn { padding: 0.6rem 0.8rem; font-size: 0.78rem; }
  .package-card { align-items: flex-start; flex-direction: column; }
  .sort-bar { align-items: flex-start; flex-direction: column; }
}

/* ═══════════════ Netflix vibe — Home page only (body.nf-home) ═══════════════ */
.nf-home {
  --nf-red: hsl(357 92% 47%);
  --nf-red-dark: hsl(357 85% 38%);
  --nf-bg: hsl(0 0% 6%);
  --nf-surface: hsl(0 0% 11%);
  --nf-surface-2: hsl(0 0% 16%);
  --nf-text: hsl(0 0% 98%);
  --nf-muted: hsl(0 0% 68%);
  background: var(--nf-bg);
  color: var(--nf-text);
}
.nf-home .site-header {
  background: linear-gradient(180deg, hsl(0 0% 0% / 0.92), hsl(0 0% 0% / 0));
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(6px);
}
.nf-home .site-title-link {
  color: var(--nf-red);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-shadow: 0 2px 12px hsl(357 92% 47% / 0.35);
}
.nf-home .whatsapp-btn { background: var(--nf-red); color: #fff; }
.nf-home .site-notice { background: linear-gradient(90deg, var(--nf-red-dark), var(--nf-red)); }

/* Hero */
.nf-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 5.5rem 0 6.5rem;
  color: var(--nf-text);
}
.nf-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(70% 90% at 15% 15%, hsl(357 92% 40% / 0.55), transparent 60%),
    radial-gradient(60% 80% at 85% 10%, hsl(0 0% 30% / 0.5), transparent 65%),
    linear-gradient(160deg, hsl(0 0% 10%), hsl(0 0% 4%));
}
.nf-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg, hsl(0 0% 100% / 0.035) 0 1px, transparent 1px 46px);
}
.nf-hero__fade {
  position: absolute;
  inset: auto 0 0 0;
  height: 140px;
  z-index: -1;
  background: linear-gradient(180deg, transparent, var(--nf-bg));
}
.nf-hero__inner { max-width: 46rem; }
.nf-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--nf-muted);
  border-left: 3px solid var(--nf-red);
  padding-left: 0.6rem;
}
.nf-hero__title {
  margin: 0.9rem 0 0.5rem;
  font-size: clamp(2.2rem, 6vw, 4.25rem);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-shadow: 0 6px 24px hsl(0 0% 0% / 0.6);
}
.nf-hero__lead { margin: 0; font-size: clamp(1rem, 2.2vw, 1.35rem); font-weight: 600; }
.nf-hero__sub { margin: 0.5rem 0 0; color: var(--nf-muted); font-size: 0.95rem; }
.nf-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.nf-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.85rem 1.6rem;
  border-radius: 0.35rem;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.15s ease, background 0.15s ease, opacity 0.15s ease;
}
.nf-btn:hover { transform: translateY(-1px); }
.nf-btn--play { background: var(--nf-red); color: #fff; box-shadow: 0 10px 30px -10px hsl(357 92% 47% / 0.8); }
.nf-btn--play:hover { background: var(--nf-red-dark); }
.nf-btn--ghost { background: hsl(0 0% 100% / 0.16); color: var(--nf-text); }
.nf-btn--ghost:hover { background: hsl(0 0% 100% / 0.26); }

/* Controls */
.nf-home .search-wrap input {
  background: var(--nf-surface);
  border-color: hsl(0 0% 100% / 0.14);
  color: var(--nf-text);
}
.nf-home .search-wrap input::placeholder { color: hsl(0 0% 55%); }
.nf-home .search-wrap__icon { color: var(--nf-muted); }
.nf-home .chip { background: var(--nf-surface-2); color: var(--nf-muted); }
.nf-home .chip.is-active { background: var(--nf-red); color: #fff; }

/* Rows */
.nf-home .section-title {
  color: var(--nf-text);
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.nf-home .section-title::before {
  content: "";
  width: 4px;
  height: 1.15em;
  border-radius: 2px;
  background: var(--nf-red);
}
.nf-home .nf-row {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.35rem 0.15rem 1rem;
  scrollbar-width: thin;
}
.nf-home .nf-row::-webkit-scrollbar { height: 6px; }
.nf-home .nf-row::-webkit-scrollbar-thumb { background: hsl(0 0% 100% / 0.18); border-radius: 99px; }
.nf-home .nf-card {
  flex: 0 0 clamp(140px, 40vw, 190px);
  scroll-snap-align: start;
  background: var(--nf-surface);
  border: 1px solid hsl(0 0% 100% / 0.07);
  border-radius: 0.4rem;
  box-shadow: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.nf-home .nf-card:hover {
  transform: scale(1.06);
  border-color: hsl(357 92% 47% / 0.7);
  box-shadow: 0 18px 40px -18px hsl(0 0% 0% / 0.9), 0 0 0 1px hsl(357 92% 47% / 0.35);
  z-index: 2;
}
.nf-home .product-card__name { color: var(--nf-text); }
.nf-home .product-card__count { color: var(--nf-muted); }

/* Info cards */
.nf-home .card {
  background: var(--nf-surface);
  border: 1px solid hsl(0 0% 100% / 0.07);
  box-shadow: none;
}
.nf-home .copy-muted,
.nf-home .copy-muted p { color: var(--nf-muted); }
.nf-home .copy-muted strong { color: var(--nf-text); }
.nf-home .inline-link { color: var(--nf-red); }
.nf-home .faq-item { border-color: hsl(0 0% 100% / 0.1); }
.nf-home .faq-trigger { color: var(--nf-text); }
.nf-home .faq-content { color: var(--nf-muted); }
.nf-home .disclaimer-card { border: 1px solid hsl(357 92% 47% / 0.45); border-left: 4px solid var(--nf-red); }
.nf-home .no-results { color: var(--nf-muted); }
.nf-home .site-footer {
  background: hsl(0 0% 4%);
  color: var(--nf-muted);
  border-top: 1px solid hsl(0 0% 100% / 0.08);
}
.nf-home .site-footer h3 { color: var(--nf-red); letter-spacing: 0.04em; }
.nf-home .site-footer a { color: var(--nf-text); }

@media (max-width: 640px) {
  .nf-hero { padding: 3.5rem 0 4.5rem; }
}

/* ===== v5.3: Square brand logos + package modal ===== */
.erb-logo {
  width: 4rem; height: 4rem; margin: 0 auto 0.6rem; border-radius: 0.85rem;
  display: grid; place-items: center; overflow: hidden;
  border: 1px solid var(--nf-line, rgba(255,255,255,0.12));
}
.erb-logo img { width: 70%; height: 70%; object-fit: contain; }
.erb-logo__emoji { font-size: 1.6rem; }
.erb-logo--sm { width: 2.5rem; height: 2.5rem; margin: 0; border-radius: 0.5rem; }
button.product-card { font-family: inherit; color: inherit; cursor: pointer; display: block; width: 100%; }
.product-card__name { display: block; font-weight: 700; font-size: 0.95rem; }
.product-card__count { display: block; font-size: 0.78rem; opacity: 0.7; margin-top: 0.15rem; }

.erb-modal {
  position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,0.78);
  display: grid; place-items: end center; padding: 1rem; overflow-y: auto;
}
@media (min-width: 640px) { .erb-modal { place-items: center; } }
.erb-modal[hidden] { display: none; }
.erb-modal__box {
  width: min(30rem, 100%); background: #181818; color: #fff;
  border: 1px solid rgba(255,255,255,0.12); border-radius: 0.7rem; padding: 1rem;
  display: flex; flex-direction: column; gap: 0.75rem;
  box-shadow: 0 24px 70px rgba(0,0,0,0.7);
}
.erb-modal__head { display: flex; align-items: center; gap: 0.6rem; }
.erb-modal__head strong { flex: 1; font-size: 1rem; }
.erb-modal__close { background: transparent; border: 0; color: rgba(255,255,255,0.6); font-size: 1.3rem; cursor: pointer; }
.erb-modal__list { display: flex; flex-direction: column; gap: 0.4rem; max-height: 45vh; overflow-y: auto; }
.erb-pkg {
  display: flex; justify-content: space-between; align-items: center; gap: 0.5rem;
  background: #232323; border: 1px solid rgba(255,255,255,0.12); color: #fff;
  border-radius: 0.45rem; padding: 0.6rem 0.8rem; cursor: pointer; font-size: 0.9rem;
  font-family: inherit; text-align: left;
}
.erb-pkg.is-active { border-color: #E50914; background: rgba(229,9,20,0.18); }
.erb-modal__order { text-align: center; }
.erb-modal__order.is-disabled { opacity: 0.5; pointer-events: none; }
.erb-modal__details { text-align: center; font-size: 0.85rem; }


/* ===== Netflix-style customizable wordmark logo (v5.4) ===== */
.erb-brand { display: inline-flex; align-items: baseline; gap: 0.06em; text-decoration: none; line-height: 1; }
.erb-brand__word,
.erb-brand__tld {
  font-family: "Bebas Neue", "Archivo Black", sans-serif;
  font-size: clamp(1.5rem, 5.5vw, 2.1rem);
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  display: inline-block;
}
.erb-brand__word { color: #e50914; text-shadow: 0 2px 14px rgba(229, 9, 20, 0.45); }
.erb-brand__tld { color: #ffffff; }
/* header brand must never inherit the square product-logo box */
.site-branding .erb-brand,
.site-title-link {
  width: auto; height: auto; border: 0; background: none;
  border-radius: 0; overflow: visible; margin: 0; padding: 0;
  display: inline-flex; place-items: initial;
}
.site-branding { min-width: 0; flex: 1 1 auto; }



/* ===== v5.5: Mobile 2-column product grid + official WhatsApp button ===== */
.whatsapp-btn,
.nf-home .whatsapp-btn {
  background: #25D366 !important;
  color: #ffffff !important;
  transition: background 0.15s ease, transform 0.15s ease;
}
.whatsapp-btn:hover,
.nf-home .whatsapp-btn:hover { background: #1DA851 !important; transform: translateY(-1px); }
.whatsapp-btn svg { flex: 0 0 auto; }

.nf-home .nf-row,
.nf-home .product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  overflow: visible;
  padding: 0.35rem 0.15rem 1rem;
}
.nf-home .nf-row .nf-card,
.nf-home .nf-row .product-card,
.nf-home .product-grid .product-card { flex: none; width: 100%; }

@media (min-width: 640px) {
  .nf-home .nf-row {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0.85rem;
  }
  .nf-home .nf-row .nf-card,
  .nf-home .nf-row .product-card { flex: 0 0 clamp(140px, 40vw, 190px); width: auto; }
  .nf-home .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .nf-home .product-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
