/* Star Vision premium motion layer — visual-only, responsive, reduced-motion aware */
:root {
  --sv-premium-red: #d90012;
  --sv-premium-red-deep: #92000b;
  --sv-premium-ink: #101116;
  --sv-premium-glass: rgba(255, 255, 255, 0.76);
  --sv-premium-ease: cubic-bezier(0.2, 0.75, 0.25, 1);
}
html {
  scroll-behavior: smooth;
}
body {
  background: #fff;
}
.header {
  transition:
    background 0.35s var(--sv-premium-ease),
    box-shadow 0.35s var(--sv-premium-ease);
}
.header .nav nav a {
  position: relative;
  transition: color 0.25s ease;
}
.header .nav nav a:after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 2px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--sv-premium-red), #ff8b8b);
  transition: right 0.3s var(--sv-premium-ease);
}
.header .nav nav a:hover:after,
.header .nav nav a:focus-visible:after {
  right: 0;
}
.search {
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}
.search:focus {
  border-color: rgba(217, 0, 18, 0.55);
  box-shadow: 0 0 0 4px rgba(217, 0, 18, 0.09);
  background: #fff;
}
.hero {
  isolation: isolate;
  background:
    radial-gradient(
      ellipse at 82% 28%,
      rgba(224, 0, 20, 0.14),
      transparent 34%
    ),
    radial-gradient(
      ellipse at 12% 100%,
      rgba(255, 90, 90, 0.09),
      transparent 38%
    ),
    linear-gradient(120deg, #fff 0%, #fffafa 48%, #f8f2f3 100%);
}
.hero:before {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  width: min(78vw, 980px);
  height: 260px;
  right: -8%;
  bottom: -115px;
  border: 1px solid rgba(196, 0, 18, 0.12);
  border-radius: 50%;
  transform: rotate(-12deg);
  box-shadow:
    0 -18px 0 -17px rgba(196, 0, 18, 0.14),
    0 -38px 0 -37px rgba(196, 0, 18, 0.11),
    0 -60px 0 -59px rgba(196, 0, 18, 0.08);
  animation: svWaveDrift 12s ease-in-out infinite alternate;
}
.hero:after {
  opacity: 0.13;
}
.hero-grid {
  z-index: 2;
}
.hero h1 {
  animation: svPremiumRise 0.8s var(--sv-premium-ease) both;
}
.hero-grid > div:first-child > p {
  animation: svPremiumRise 0.8s 0.1s var(--sv-premium-ease) both;
}
.hero-grid .actions {
  animation: svPremiumRise 0.8s 0.18s var(--sv-premium-ease) both;
}
.hero-art {
  animation: svPremiumFade 0.9s 0.12s ease both;
}
.hero-art .orb {
  background: radial-gradient(
    circle,
    rgba(255, 220, 224, 0.95),
    rgba(255, 225, 228, 0.28) 48%,
    transparent 72%
  );
  filter: blur(1px);
}
.router-visual {
  filter: drop-shadow(0 30px 28px rgba(111, 0, 10, 0.24));
}
.coverage-strip {
  background:
    radial-gradient(ellipse at 85% 0%, rgba(225, 0, 18, 0.26), transparent 42%),
    linear-gradient(110deg, #101116, #202127 62%, #31080d);
}
.coverage-strip:after {
  width: 480px;
  height: 210px;
  right: -100px;
  top: -92px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  transform: rotate(-14deg);
  box-shadow:
    0 22px 0 -21px rgba(255, 255, 255, 0.16),
    0 46px 0 -45px rgba(255, 255, 255, 0.12),
    0 72px 0 -71px rgba(255, 255, 255, 0.09);
  animation: svWaveDrift 10s ease-in-out infinite alternate;
}
.section {
  position: relative;
  isolation: isolate;
}
.section.soft {
  background:
    radial-gradient(ellipse at 0% 15%, rgba(230, 0, 0, 0.045), transparent 32%),
    linear-gradient(135deg, #f8f8fa 0%, #fff 54%, #f7f3f4 100%);
}
.section.soft:before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  left: -120px;
  top: 18%;
  width: 310px;
  height: 130px;
  border: 1px solid rgba(180, 0, 15, 0.07);
  border-radius: 50%;
  transform: rotate(-28deg);
  box-shadow:
    0 18px 0 -17px rgba(180, 0, 15, 0.07),
    0 38px 0 -37px rgba(180, 0, 15, 0.06);
}
.section-head h2 em,
.hero h1 em {
  background: linear-gradient(110deg, #a9000d 0%, #f0192a 55%, #9d0010 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.plan-card,
.product-card,
.solution-card,
.review-card,
.faq-list details,
.recommender,
.contact-card,
.review-note {
  transition:
    transform 0.38s var(--sv-premium-ease),
    box-shadow 0.38s var(--sv-premium-ease),
    border-color 0.3s ease,
    background 0.3s ease;
}
.plan-card:hover,
.product-card:hover,
.solution-card:hover,
.review-card:hover {
  transform: translateY(-7px);
  box-shadow:
    0 22px 52px rgba(23, 10, 15, 0.11),
    0 4px 16px rgba(217, 0, 18, 0.045);
}
.solution-card {
  border: 1px solid rgba(20, 20, 25, 0.07);
  background: linear-gradient(145deg, #fff, #fffafa);
}
.solution-card:hover {
  border-color: rgba(217, 0, 18, 0.24);
  background: linear-gradient(145deg, #fff, #fff5f6);
}
.recommender,
.contact-card,
.review-note {
  box-shadow: 0 18px 52px rgba(20, 15, 20, 0.07);
}
.product-image {
  background: radial-gradient(
    ellipse at 50% 40%,
    #fff 0%,
    #fff5f6 62%,
    #f0f1f4 100%
  );
}
.product-image:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 25%,
    rgba(255, 255, 255, 0.5) 48%,
    transparent 70%
  );
  transform: translateX(-130%);
  transition: transform 0.8s ease;
}
.product-card:hover .product-image:after {
  transform: translateX(130%);
}
.btn.red {
  background: linear-gradient(120deg, #f01b2a, #c40012 58%, #93000c);
  box-shadow: 0 8px 22px rgba(190, 0, 18, 0.2);
}
.btn.red:hover {
  box-shadow: 0 13px 30px rgba(190, 0, 18, 0.29);
}
.footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 90% 0%, rgba(180, 0, 18, 0.22), transparent 36%),
    linear-gradient(120deg, #0d0e12, #17181e 65%, #25070b);
}
.footer:before {
  content: "";
  position: absolute;
  pointer-events: none;
  width: 620px;
  height: 210px;
  right: -180px;
  top: -140px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: rotate(-18deg);
  box-shadow:
    0 25px 0 -24px rgba(255, 255, 255, 0.1),
    0 52px 0 -51px rgba(255, 255, 255, 0.07);
}
.footer-grid,
.copyright {
  position: relative;
  z-index: 1;
}
:where(a, button, .product-thumb, .detail-thumb, .product-gallery-arrow) {
  transition-timing-function: var(--sv-premium-ease);
}
@keyframes svPremiumRise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes svPremiumFade {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes svWaveDrift {
  from {
    transform: translate3d(0, 0, 0) rotate(-12deg);
  }
  to {
    transform: translate3d(-24px, -8px, 0) rotate(-9deg);
  }
}
@supports (animation-timeline: view()) {
  .section-head,
  .cards > .card,
  .cards > .plan-card,
  .cards > .product-card,
  .solution-grid > .solution-card,
  .about-box,
  .choose-grid,
  .review-grid,
  .contact-grid,
  .faq-list {
    animation: svPremiumRise linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 22%;
  }
}
@media (max-width: 760px) {
  .hero {
    background:
      radial-gradient(
        ellipse at 88% 36%,
        rgba(224, 0, 20, 0.12),
        transparent 42%
      ),
      linear-gradient(145deg, #fff, #fff7f8);
  }
  .hero:before {
    width: 125vw;
    height: 190px;
    right: -38%;
    bottom: -90px;
    opacity: 0.7;
  }
  .coverage-strip:after {
    right: -220px;
    top: -60px;
  }
  .section.soft:before {
    left: -220px;
    opacity: 0.65;
  }
  .plan-card:hover,
  .product-card:hover,
  .solution-card:hover,
  .review-card:hover {
    transform: translateY(-3px);
  }
}
@media (hover: none) {
  .product-card:hover .product-image:after {
    transform: translateX(-130%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero:before,
  .coverage-strip:after,
  .footer:before {
    animation: none !important;
  }
  .hero h1,
  .hero-grid > div:first-child > p,
  .hero-grid .actions,
  .hero-art {
    animation: none !important;
  }
  .section-head,
  .cards > .card,
  .cards > .plan-card,
  .cards > .product-card,
  .solution-grid > .solution-card,
  .about-box,
  .choose-grid,
  .review-grid,
  .contact-grid,
  .faq-list {
    animation: none !important;
  }
  .product-image:after {
    display: none;
  }
}

/* Requested storefront fixes: unobstructed product photos, wide desktop search, contact shortcuts */
@media (min-width: 761px) {
  .header .nav .nav-actions {
    flex: 0 1 auto;
    min-width: 0;
  }
  .header .nav .search {
    width: clamp(210px, 24vw, 330px);
    height: 46px;
    padding: 12px 18px;
    font-size: 14px;
    flex: 0 1 330px;
  }
}
.product-image {
  min-height: 280px;
  padding: 14px !important;
  display: grid;
  place-items: center;
  touch-action: pan-y;
  cursor: grab;
}
.product-image:active {
  cursor: grabbing;
}
.product-image .product-main-image {
  width: 100%;
  height: 260px;
  max-height: 260px;
  object-fit: contain;
  padding: 4px;
  transform: none !important;
}
.product-card:hover .product-image .product-main-image {
  transform: scale(1.025) !important;
}
.product-thumbs,
.product-gallery-controls {
  display: none !important;
}
@media (max-width: 980px) and (min-width: 761px) {
  .product-image {
    min-height: 240px;
  }
  .product-image .product-main-image {
    height: 220px;
    max-height: 220px;
  }
}
@media (max-width: 760px) {
  .product-image {
    min-height: 245px;
    padding: 12px !important;
  }
  .product-image .product-main-image {
    height: 220px;
    max-height: 220px;
  }
  .header .wrap.nav > .brand {
    justify-self: start !important;
    align-self: center !important;
    margin-left: 0 !important;
  }
  .header .wrap.nav > .brand .brand-logo {
    margin: 0 !important;
  }
  .header .wrap.nav > .hamb {
    justify-self: start !important;
    align-self: center !important;
    margin-left: 0 !important;
  }
}
@media (max-width: 420px) {
  .product-image {
    min-height: 225px;
  }
  .product-image .product-main-image {
    height: 200px;
    max-height: 200px;
  }
}
.sv-floating-contact {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.sv-floating-contact a {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 25px;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  border: 2px solid rgba(255, 255, 255, 0.9);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.sv-floating-contact a:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.27);
}
.sv-float-whatsapp {
  background: #20b85a;
}
.sv-float-whatsapp span {
  font-size: 14px;
  letter-spacing: -0.06em;
}
.sv-float-call {
  background: #c90016;
}
.sv-float-mail {
  background: #252832;
}
@media (max-width: 760px) {
  .sv-floating-contact {
    right: 12px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    gap: 9px;
  }
  .sv-floating-contact a {
    width: 48px;
    height: 48px;
    font-size: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sv-floating-contact a {
    transition: none;
  }
}

/* Exact header correction: logo + wide search on top; menu on the row below.
   Preserve the cart button's existing proportions and sizing. */
@media (min-width: 761px) {
  .header .nav .nav-actions {
    flex: 0 0 auto;
    min-width: 0;
    gap: 9px;
  }
  .header .nav .search {
    width: clamp(260px, 28vw, 390px);
    min-width: 260px;
    height: 46px;
    flex: 0 0 clamp(260px, 28vw, 390px);
    padding: 10px 15px;
    font-size: 14px;
  }
  .header .nav .cart-button {
    flex: 0 0 auto;
    padding: 9px 14px;
    font-size: inherit;
    min-width: 0;
  }
}
@media (max-width: 760px) {
  .header .wrap.nav {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: 58px 42px 42px !important;
    row-gap: 5px !important;
    align-items: center !important;
    height: 152px !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
  }
  .header .wrap.nav > .brand {
    grid-column: 1 !important;
    grid-row: 1 !important;
    justify-self: start !important;
    align-self: center !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .header .wrap.nav > .brand .brand-logo {
    width: 146px !important;
    max-height: 54px !important;
    height: auto !important;
    object-fit: contain !important;
  }
  .header .wrap.nav > .nav-actions {
    grid-column: 1 !important;
    grid-row: 2 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: stretch !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 0 !important;
    min-width: 0 !important;
  }
  .header .wrap.nav > .nav-actions > .search {
    flex: 1 1 auto !important;
    width: 0 !important;
    min-width: 0 !important;
    height: 42px !important;
    padding: 10px 13px !important;
    font-size: 13px !important;
  }
  .header .wrap.nav > .nav-actions > .cart-button {
    flex: 0 0 auto !important;
    min-width: 0 !important;
    height: 42px !important;
    padding: 9px 14px !important;
    font-size: inherit !important;
    white-space: nowrap !important;
  }
  .header .wrap.nav > .hamb {
    grid-column: 1 !important;
    grid-row: 3 !important;
    justify-self: start !important;
    align-self: center !important;
    display: grid !important;
    place-items: center !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .header .wrap.nav > nav {
    top: 152px !important;
  }
}
@media (max-width: 380px) {
  .header .wrap.nav {
    grid-template-rows: 56px 40px 40px !important;
    height: 146px !important;
  }
  .header .wrap.nav > .brand .brand-logo {
    width: 138px !important;
    max-height: 52px !important;
  }
  .header .wrap.nav > .nav-actions > .search {
    height: 40px !important;
  }
  .header .wrap.nav > .nav-actions > .cart-button {
    height: 40px !important;
    padding: 9px 14px !important;
  }
  .header .wrap.nav > .hamb {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
  }
  .header .wrap.nav > nav {
    top: 146px !important;
  }
}
.sv-floating-contact a svg {
  display: block;
  width: 26px;
  height: 26px;
}
.sv-float-whatsapp svg {
  width: 30px !important;
  height: 30px !important;
}

/* Mobile-only header arrangement requested: logo above; search, menu and cart on one row. */
@media (max-width: 760px) {
  .header .wrap.nav {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 40px auto !important;
    grid-template-rows: 56px 42px !important;
    column-gap: 8px !important;
    row-gap: 4px !important;
    align-items: center !important;
    height: 108px !important;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
  }
  .header .wrap.nav > .brand {
    grid-column: 1 / 4 !important;
    grid-row: 1 !important;
    justify-self: start !important;
    align-self: center !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .header .wrap.nav > .brand .brand-logo {
    width: 146px !important;
    max-height: 50px !important;
    height: auto !important;
    object-fit: contain !important;
  }
  .header .wrap.nav > .nav-actions {
    display: contents !important;
  }
  .header .wrap.nav > .nav-actions > .search {
    grid-column: 1 !important;
    grid-row: 2 !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 38px !important;
    flex: none !important;
    padding: 8px 11px !important;
    font-size: 13px !important;
    box-sizing: border-box !important;
  }
  .header .wrap.nav > .hamb {
    grid-column: 2 !important;
    grid-row: 2 !important;
    justify-self: center !important;
    align-self: center !important;
    display: grid !important;
    place-items: center !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .header .wrap.nav > .nav-actions > .cart-button {
    grid-column: 3 !important;
    grid-row: 2 !important;
    align-self: center !important;
    /* Keep the cart's existing dimensions, typography and appearance unchanged. */
  }
  .header .wrap.nav > nav {
    top: 108px !important;
  }
}
@media (max-width: 380px) {
  .header .wrap.nav {
    grid-template-columns: minmax(0, 1fr) 38px auto !important;
    grid-template-rows: 54px 40px !important;
    height: 102px !important;
  }
  .header .wrap.nav > .brand .brand-logo {
    width: 138px !important;
    max-height: 48px !important;
  }
  .header .wrap.nav > .nav-actions > .search {
    height: 36px !important;
  }
  .header .wrap.nav > .hamb {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
  }
  .header .wrap.nav > nav {
    top: 102px !important;
  }
}

/* Final mobile header alignment: logo above; hamburger, search and cart share one row. */
@media (max-width: 760px) {
  .header .wrap.nav {
    display: grid !important;
    grid-template-columns: 42px minmax(0, 1fr) !important;
    grid-template-rows: 58px 44px !important;
    column-gap: 9px !important;
    row-gap: 4px !important;
    align-items: center !important;
    height: 114px !important;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
  }
  .header .wrap.nav > .brand {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    justify-self: start !important;
    align-self: center !important;
    display: flex !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .header .wrap.nav > .brand .brand-logo {
    display: block !important;
    width: 146px !important;
    height: auto !important;
    max-height: 52px !important;
    object-fit: contain !important;
  }
  .header .wrap.nav > .hamb {
    grid-column: 1 !important;
    grid-row: 2 !important;
    justify-self: start !important;
    align-self: center !important;
    display: grid !important;
    place-items: center !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .header .wrap.nav > .nav-actions {
    grid-column: 2 !important;
    grid-row: 2 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
  }
  .header .wrap.nav > .nav-actions > .search {
    flex: 1 1 auto !important;
    width: 1px !important;
    min-width: 0 !important;
    height: 40px !important;
    box-sizing: border-box !important;
  }
  .header .wrap.nav > .nav-actions > .cart-button {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
  }
  .header .wrap.nav > nav {
    top: 114px !important;
  }
}
@media (max-width: 380px) {
  .header .wrap.nav {
    grid-template-columns: 40px minmax(0, 1fr) !important;
    grid-template-rows: 56px 42px !important;
    height: 110px !important;
    column-gap: 7px !important;
  }
  .header .wrap.nav > .brand .brand-logo {
    width: 138px !important;
    max-height: 50px !important;
  }
  .header .wrap.nav > .hamb {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
  }
  .header .wrap.nav > .nav-actions {
    gap: 6px !important;
  }
  .header .wrap.nav > nav {
    top: 110px !important;
  }
}

/* Requested final mobile-only logo size and placement: larger logo above the menu row. */
@media (max-width: 760px) {
  .header .wrap.nav {
    grid-template-rows: 66px 44px !important;
    height: 122px !important;
  }
  .header .wrap.nav > .brand {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    justify-self: start !important;
    align-self: center !important;
  }
  .header .wrap.nav > .brand .brand-logo {
    width: 190px !important;
    max-width: min(190px, 72vw) !important;
    max-height: 60px !important;
    height: auto !important;
    object-fit: contain !important;
  }
  .header .wrap.nav > .hamb {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }
  .header .wrap.nav > .nav-actions {
    grid-column: 2 !important;
    grid-row: 2 !important;
  }
  .header .wrap.nav > nav {
    top: 122px !important;
  }
}
@media (max-width: 380px) {
  .header .wrap.nav {
    grid-template-rows: 62px 42px !important;
    height: 116px !important;
  }
  .header .wrap.nav > .brand .brand-logo {
    width: 178px !important;
    max-width: 72vw !important;
    max-height: 56px !important;
  }
  .header .wrap.nav > nav {
    top: 116px !important;
  }
}

/* Final correction: place the logo directly above the hamburger column on mobile. */
@media (max-width: 760px) {
  .header .wrap.nav {
    display: grid !important;
    grid-template-columns: 42px minmax(0, 1fr) !important;
    grid-template-rows: 66px 44px !important;
    column-gap: 9px !important;
    row-gap: 4px !important;
    align-items: center !important;
    height: 122px !important;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
  }
  .header .wrap.nav > .brand {
    grid-column: 1 !important;
    grid-row: 1 !important;
    justify-self: start !important;
    align-self: center !important;
    display: block !important;
    width: max-content !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    z-index: 2 !important;
  }
  .header .wrap.nav > .brand .brand-logo {
    display: block !important;
    width: 190px !important;
    max-width: none !important;
    height: auto !important;
    max-height: 60px !important;
    object-fit: contain !important;
    margin: 0 !important;
  }
  .header .wrap.nav > .hamb {
    grid-column: 1 !important;
    grid-row: 2 !important;
    justify-self: start !important;
    align-self: center !important;
    display: grid !important;
    place-items: center !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .header .wrap.nav > .nav-actions {
    grid-column: 2 !important;
    grid-row: 2 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
  }
  .header .wrap.nav > .nav-actions > .search {
    flex: 1 1 auto !important;
    width: 1px !important;
    min-width: 0 !important;
    height: 40px !important;
    box-sizing: border-box !important;
  }
  .header .wrap.nav > .nav-actions > .cart-button {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
  }
  .header .wrap.nav > nav {
    top: 122px !important;
  }
}
@media (max-width: 380px) {
  .header .wrap.nav {
    grid-template-columns: 40px minmax(0, 1fr) !important;
    grid-template-rows: 62px 42px !important;
    height: 116px !important;
    column-gap: 7px !important;
  }
  .header .wrap.nav > .brand .brand-logo {
    width: 178px !important;
    max-height: 56px !important;
  }
  .header .wrap.nav > .hamb {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
  }
  .header .wrap.nav > nav {
    top: 116px !important;
  }
}

/* MYVI-inspired visual refinement for Star Vision.
   Visual-only overrides: no layout markup, IDs, data, event handlers or app logic changed.
   Keep Star Vision's own logo and red identity while borrowing the light, rounded,
   spacious surfaces and soft elevation from the supplied reference. */
:root {
  --sv-ui-accent: #e51636;
  --sv-ui-ink: #171717;
  --sv-ui-muted: #4d4f53;
  --sv-ui-canvas: #ffffff;
  --sv-ui-soft: #fcf3e7;
  --sv-ui-border: #f0e5d9;
  --sv-ui-shadow:
    0 8px 16px rgba(96, 97, 112, 0.1), 0 2px 4px rgba(40, 41, 61, 0.04);
  --sv-ui-shadow-deep:
    0 20px 32px rgba(96, 97, 112, 0.1), 0 2px 8px rgba(40, 41, 61, 0.06);
}
body {
  color: var(--sv-ui-ink);
  font-family: Inter, Arial, sans-serif;
  background: var(--sv-ui-canvas);
}
.hero {
  background: linear-gradient(115deg, #fff 0%, #fff 68%, #fff5f6 100%);
}
.hero h1 {
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 600;
}
.hero h1 em,
.section-head h2 em,
.choose-grid h2 em,
.review-grid h2 em,
.contact-grid h2 em {
  color: var(--sv-ui-accent);
}
.eyebrow,
.detail-eyebrow {
  color: var(--sv-ui-accent);
}
.section {
  padding-top: 68px;
  padding-bottom: 68px;
}
.section-head {
  margin-bottom: 32px;
}
.section-head h2,
.choose-grid h2,
.review-grid h2,
.contact-grid h2 {
  font-size: clamp(27px, 3.5vw, 38px);
  line-height: 1.16;
  letter-spacing: -0.025em;
  font-weight: 600;
}
.section-head p,
.choose-grid p,
.review-grid p,
.contact-grid p,
.hero p {
  color: var(--sv-ui-muted);
}
.soft {
  background: #fffaf5;
}
.coverage-strip {
  background: #171717;
}
.coverage-inner form input {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
}
.btn {
  min-height: 44px;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 650;
  letter-spacing: 0;
  box-shadow: 0 2px 8px rgba(40, 41, 61, 0.05);
}
.btn.red {
  background: var(--sv-ui-accent);
  color: #fff;
}
.btn.red:hover {
  background: #c9122d;
  box-shadow: 0 8px 18px rgba(229, 22, 54, 0.18);
}
.btn.outline {
  border: 1px solid #e7dcd2;
  background: #fff;
  color: var(--sv-ui-ink);
}
.card,
.review-note,
.contact-card,
.about-box,
.recommender {
  border-color: var(--sv-ui-border);
  border-radius: 20px;
  box-shadow: var(--sv-ui-shadow);
}
.card {
  padding: 26px;
}
.card:hover,
.review-note:hover,
.contact-card:hover {
  box-shadow: var(--sv-ui-shadow-deep);
}
.plan-card.popular {
  border-color: var(--sv-ui-accent);
  box-shadow: 0 15px 34px rgba(229, 22, 54, 0.12);
}
.popular-tag {
  background: var(--sv-ui-accent);
  border-radius: 999px;
  letter-spacing: 0.04em;
}
.features li:before,
.stars {
  color: var(--sv-ui-accent);
}
.product-image {
  border-radius: 16px;
  background: linear-gradient(135deg, #fff5f6, #fcf3e7);
}
.specs span,
.detail-spec-grid span {
  background: #fff8f3;
  border-color: #f0e5d9;
  border-radius: 999px;
}
.recommender select,
.modal select,
.contact-card input,
.contact-card textarea,
.modal input,
.modal textarea,
.search,
.detail-facts > div {
  border-color: #e9e1da;
  border-radius: 12px;
}
.recommender select:focus,
.modal select:focus,
.contact-card input:focus,
.contact-card textarea:focus,
.modal input:focus,
.modal textarea:focus,
.search:focus {
  outline: 2px solid rgba(229, 22, 54, 0.18);
  border-color: var(--sv-ui-accent);
}
.recommendation {
  background: #fff1f3;
  color: #a90f2b;
  border-radius: 14px;
}
.table-scroll {
  border-color: var(--sv-ui-border);
  border-radius: 16px;
}
th {
  background: #171717;
}
.product-detail-panel,
.modal-card {
  border-radius: 22px;
  box-shadow: var(--sv-ui-shadow-deep);
}
.detail-main-image {
  border-color: var(--sv-ui-border);
  border-radius: 18px;
  background: linear-gradient(135deg, #fff, #fff8f3);
}
.detail-thumb {
  border-color: #e9e1da;
  border-radius: 12px;
}
.detail-thumb.active {
  border-color: var(--sv-ui-accent);
}
.detail-eyebrow,
.detail-speed {
  color: var(--sv-ui-accent);
}
.detail-facts > div {
  background: #fffaf5;
  border-color: var(--sv-ui-border);
}
.detail-open .detail-actions {
  background: linear-gradient(transparent, #fff 20%);
}
.detail-arrow {
  border-radius: 50%;
  background: rgba(23, 23, 23, 0.78);
}
.detail-image-count {
  border-radius: 999px;
}
.plan-card[data-detail-type]:focus-visible,
.product-card[data-detail-type]:focus-visible {
  outline-color: rgba(229, 22, 54, 0.42);
}
.cart-button {
  border-radius: 999px;
  background: #171717;
}
.cart-button b {
  background: var(--sv-ui-accent);
}
.product-actions .btn {
  border-radius: 999px;
}
.footer {
  background: #171717;
}
.footer a:hover {
  color: #fff;
}
@media (max-width: 760px) {
  .section {
    padding-top: 48px;
    padding-bottom: 48px;
  }
  .section-head {
    margin-bottom: 24px;
  }
  .hero {
    padding-top: 48px;
    padding-bottom: 42px;
  }
  .hero h1 {
    font-size: clamp(32px, 8vw, 42px);
  }
  .card {
    padding: 21px;
  }
}

/* Single requested mobile-header adjustment: center the larger logo directly above the menu icon. */
@media (max-width: 760px) {
  .header .wrap.nav > .brand {
    justify-self: center !important;
  }
  .header .wrap.nav > .hamb {
    justify-self: center !important;
  }
}

/* Mobile header alignment correction: give the logo/menu their own shared center line. */
@media (max-width: 760px) {
  .header .wrap.nav {
    grid-template-columns: 132px minmax(0, 1fr) !important;
  }
  .header .wrap.nav > .brand {
    grid-column: 1 !important;
    justify-self: center !important;
    width: 190px !important;
    display: flex !important;
    justify-content: center !important;
  }
  .header .wrap.nav > .brand .brand-logo {
    width: 190px !important;
    max-width: 190px !important;
  }
  .header .wrap.nav > .hamb {
    grid-column: 1 !important;
    justify-self: center !important;
  }
  .header .wrap.nav > .nav-actions {
    grid-column: 2 !important;
    min-width: 0 !important;
  }
}
@media (max-width: 380px) {
  .header .wrap.nav {
    grid-template-columns: 124px minmax(0, 1fr) !important;
  }
  .header .wrap.nav > .brand,
  .header .wrap.nav > .brand .brand-logo {
    width: 178px !important;
    max-width: 178px !important;
  }
}

/* ===== STAR VISION: Jio clarity + Starlink premium presentation =====
   Visual-only layer. Preserve Star Vision red branding, all existing content,
   product data, IDs, navigation, forms, cart behavior and application logic. */
:root {
  --sv-brand: #e51636;
  --sv-brand-deep: #bd102b;
  --sv-night: #101216;
  --sv-night-soft: #1b1f27;
  --sv-paper: #ffffff;
  --sv-paper-soft: #f6f7fa;
  --sv-ink: #17191f;
  --sv-muted: #626875;
  --sv-line: #e8eaf0;
  --sv-radius-card: 24px;
  --sv-radius-control: 14px;
  --sv-shadow-card: 0 12px 32px rgba(18, 22, 33, 0.065);
  --sv-shadow-hover: 0 20px 44px rgba(18, 22, 33, 0.12);
}
html {
  background: var(--sv-paper);
  scroll-padding-top: 104px;
}
body {
  background: var(--sv-paper) !important;
  color: var(--sv-ink);
  font-family: Inter, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.wrap {
  width: min(1200px, calc(100% - 48px));
}
.utility {
  background: var(--sv-night);
  color: #f6f7fa;
}
.utility b {
  color: var(--sv-brand);
}
.header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(20, 24, 34, 0.07);
  box-shadow: 0 5px 24px rgba(20, 24, 34, 0.045);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
}
.nav {
  gap: clamp(14px, 2vw, 28px);
}
.nav nav {
  font-size: 13px;
  font-weight: 650;
}
.nav nav a {
  transition: color 0.2s ease;
}
.nav nav a:hover,
.nav nav a:focus-visible {
  color: var(--sv-brand);
}
.search {
  background: #fff;
  border: 1px solid var(--sv-line);
  border-radius: 999px;
  min-height: 42px;
  padding: 10px 16px;
}
.search:focus {
  border-color: var(--sv-brand);
  outline: 3px solid rgba(229, 22, 54, 0.12);
}
.cart-button {
  min-height: 42px;
  border-radius: 999px;
  background: var(--sv-night);
  padding: 10px 16px;
}
.hamb {
  border-radius: 12px;
  cursor: pointer;
}

/* Cinematic, high-contrast hero inspired by Starlink; the red accent stays Star Vision. */
.hero {
  color: #f8f9fc;
  background:
    radial-gradient(
      ellipse at 78% 42%,
      rgba(229, 22, 54, 0.22),
      transparent 34%
    ),
    radial-gradient(
      ellipse at 12% 100%,
      rgba(255, 255, 255, 0.055),
      transparent 42%
    ),
    linear-gradient(118deg, #0c0e12 0%, #171a21 58%, #101216 100%);
  padding: clamp(68px, 8vw, 108px) 0 clamp(58px, 7vw, 88px);
}
.hero:after {
  opacity: 0.12;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.7) 0.65px,
    transparent 0.65px
  );
  background-size: 24px 24px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 100%);
}
.hero h1 {
  color: #fff;
  max-width: 720px;
  font-size: clamp(40px, 5.6vw, 70px);
  line-height: 1.035;
  letter-spacing: -0.052em;
  font-weight: 750;
}
.hero h1 em {
  color: #ff536a;
}
.hero p {
  color: rgba(245, 247, 251, 0.76);
  font-size: clamp(15px, 1.35vw, 17px);
  line-height: 1.8;
}
.hero .eyebrow {
  color: #ff687d;
}
.hero-points {
  color: rgba(245, 247, 251, 0.78);
  gap: 12px 20px;
}
.hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-points span:before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff536a;
  box-shadow: 0 0 12px rgba(255, 83, 106, 0.55);
}
.hero-art {
  min-height: 320px;
}
.hero-art .orb {
  background: radial-gradient(
    circle,
    rgba(229, 22, 54, 0.34),
    rgba(229, 22, 54, 0.06) 48%,
    transparent 72%
  );
}
.hero-managed-image {
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.42));
}
.router-face {
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.28),
    0 24px 48px rgba(0, 0, 0, 0.34);
}
.art-caption {
  color: rgba(255, 255, 255, 0.52);
}

/* Clean Jio-like service strip, with the existing coverage form untouched. */
.coverage-strip {
  background: var(--sv-night-soft);
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.coverage-inner {
  gap: 20px;
}
.coverage-inner strong {
  font-size: 16px;
  letter-spacing: -0.01em;
}
.coverage-inner small {
  color: #b8bdc8;
  margin-top: 3px;
}
.coverage-inner form input {
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 11px 16px;
}
.coverage-inner form input::placeholder {
  color: #b8bdc8;
}

/* Airy content canvas, rounded cards and consistent section rhythm. */
.section {
  padding: clamp(58px, 7vw, 88px) 0;
}
.soft {
  background: var(--sv-paper-soft);
}
.section-head {
  max-width: 720px;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.section-head h2,
.choose-grid h2,
.review-grid h2,
.contact-grid h2 {
  color: var(--sv-ink);
  font-size: clamp(30px, 3.7vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.045em;
  font-weight: 750;
}
.section-head p,
.choose-grid p,
.review-grid p,
.contact-grid p {
  color: var(--sv-muted);
  line-height: 1.75;
}
.eyebrow {
  color: var(--sv-brand);
  font-size: 11px;
  letter-spacing: 0.15em;
}
.card,
.review-note,
.contact-card,
.about-box,
.recommender {
  border: 1px solid var(--sv-line);
  border-radius: var(--sv-radius-card);
  box-shadow: var(--sv-shadow-card);
}
.card {
  padding: clamp(22px, 2.5vw, 30px);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}
.plan-card.popular {
  border-color: rgba(229, 22, 54, 0.58);
  box-shadow: 0 18px 44px rgba(229, 22, 54, 0.1);
}
.popular-tag {
  border-radius: 999px;
  background: var(--sv-brand);
}
.plan-card h3,
.product-card h3 {
  font-weight: 750;
  letter-spacing: -0.02em;
}
.price {
  letter-spacing: -0.055em;
}
.features li {
  line-height: 1.55;
  border-color: #eef0f4;
}
.features li:before {
  color: var(--sv-brand);
}
.product-card {
  border-radius: var(--sv-radius-card);
}
.product-image,
.plan-image,
.plan-art {
  border-radius: 18px;
}
.product-image {
  background: linear-gradient(145deg, #f7f8fb, #fff1f3);
}
.product-image .product-main-image {
  border-radius: 12px;
}
.product-thumbs {
  scrollbar-width: thin;
}
.product-thumb {
  border-radius: 10px;
  border-color: #e4e7ee;
}
.product-thumb.active {
  border-color: var(--sv-brand);
}
.specs span,
.detail-spec-grid span {
  border-radius: 999px;
  background: #f3f5f8;
  border-color: #e9ecf2;
  padding: 6px 10px;
}
.btn {
  min-height: 46px;
  border-radius: 999px;
  padding: 13px 22px;
  font-size: 13px;
  font-weight: 700;
}
.btn.red {
  color: #fff;
  background: linear-gradient(135deg, #ef2947, var(--sv-brand-deep));
  box-shadow: 0 8px 20px rgba(229, 22, 54, 0.18);
}
.btn.red:hover {
  background: var(--sv-brand-deep);
  box-shadow: 0 12px 26px rgba(229, 22, 54, 0.24);
}
.btn.outline {
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}
.hero .btn.outline:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}
.recommender select,
.modal select,
.contact-card input,
.contact-card textarea,
.modal input,
.modal textarea {
  border: 1px solid #e5e8ef;
  border-radius: var(--sv-radius-control);
  min-height: 46px;
  padding: 12px 14px;
}
.recommender select:focus,
.modal select:focus,
.contact-card input:focus,
.contact-card textarea:focus,
.modal input:focus,
.modal textarea:focus {
  outline: 3px solid rgba(229, 22, 54, 0.12);
  border-color: var(--sv-brand);
}
.recommendation {
  border-radius: 16px;
  background: #fff1f3;
  color: #a80e2a;
  padding: 15px;
}
.about-box {
  padding: clamp(24px, 4vw, 42px);
  background: #fff;
}
.review-note,
.contact-card {
  padding: clamp(22px, 3vw, 32px);
}
.table-scroll {
  border-radius: 18px;
  border-color: var(--sv-line);
  box-shadow: var(--sv-shadow-card);
}
th {
  background: var(--sv-night-soft);
}
.footer {
  background: #0e1014;
  color: #f8f9fc;
  padding: clamp(42px, 5vw, 62px) 0 22px;
}
.footer p,
.footer a {
  color: #aeb4c0;
}
.footer a:hover {
  color: #fff;
}
.cart-drawer,
.modal-card {
  border-radius: 24px;
}
.cart-drawer {
  box-shadow: -12px 0 44px rgba(0, 0, 0, 0.16);
}
.modal-card {
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.24);
}
.toast {
  border-radius: 999px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

/* Tablet: preserve breathing room and avoid cramped multi-column content. */
@media (max-width: 980px) {
  .wrap {
    width: min(100% - 40px, 900px);
  }
  .nav {
    gap: 12px;
  }
  .nav nav {
    gap: 12px;
  }
  .search {
    width: 145px;
  }
  .hero-grid {
    gap: 24px;
  }
  .footer-grid {
    gap: 24px;
  }
}

/* Mobile: single-column content, large touch targets and readable product cards. */
@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .utility-inner {
    gap: 5px;
  }
  .utility {
    font-size: 11px;
  }
  .header {
    box-shadow: 0 4px 18px rgba(20, 24, 34, 0.06);
  }
  .hero {
    padding: 48px 0 42px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .hero h1 {
    font-size: clamp(36px, 9vw, 48px);
    line-height: 1.04;
    max-width: 14ch;
  }
  .hero p {
    font-size: 15px;
    line-height: 1.7;
  }
  .hero-art {
    height: 240px;
    min-height: 220px;
    margin-top: 2px;
  }
  .hero-managed-image {
    max-height: 250px;
  }
  .actions {
    gap: 10px;
    margin: 22px 0;
  }
  .actions .btn {
    flex: 1 1 150px;
    min-height: 48px;
  }
  .hero-points {
    gap: 9px 14px;
    font-size: 11px;
  }
  .coverage-strip {
    padding: 20px 0;
  }
  .coverage-inner {
    gap: 12px;
  }
  .coverage-inner form {
    display: flex;
    gap: 8px;
    width: 100%;
  }
  .coverage-inner form input {
    min-width: 0;
    flex: 1;
  }
  .coverage-inner form .btn {
    min-height: 46px;
  }
  .section {
    padding: 52px 0;
  }
  .section-head {
    margin-bottom: 26px;
  }
  .section-head h2,
  .choose-grid h2,
  .review-grid h2,
  .contact-grid h2 {
    font-size: clamp(28px, 7.5vw, 36px);
  }
  .three,
  .two,
  .choose-grid,
  .review-grid,
  .contact-grid,
  .about-box {
    grid-template-columns: 1fr;
  }
  .cards {
    gap: 16px;
  }
  .card {
    padding: 21px;
    border-radius: 21px;
  }
  .plan-card.popular {
    transform: none;
    margin-top: 6px;
  }
  .product-card {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 17px;
  }
  .product-image {
    min-height: 190px;
    padding-bottom: 46px;
  }
  .product-image .product-main-image {
    height: 170px;
  }
  .product-card h3 {
    font-size: 18px;
  }
  .price {
    font-size: 34px;
  }
  .choose-grid,
  .review-grid,
  .contact-grid {
    gap: 24px;
  }
  .about-box {
    gap: 12px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }
  .footer-grid > div:first-child {
    grid-column: 1/-1;
  }
  .cart-drawer {
    width: min(440px, 100%);
  }
}
@media (max-width: 420px) {
  .wrap {
    width: calc(100% - 28px);
  }
  .hero h1 {
    font-size: 36px;
  }
  .hero-art {
    height: 210px;
    min-height: 200px;
  }
  .coverage-inner form {
    flex-wrap: wrap;
  }
  .coverage-inner form .btn {
    flex: 0 0 auto;
  }
  .actions .btn {
    flex-basis: 100%;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid > div:first-child {
    grid-column: auto;
  }
}

/* Hover effects only where a real hover pointer exists; respect reduced motion. */
@media (hover: hover) and (pointer: fine) {
  .card:hover,
  .review-note:hover,
  .contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sv-shadow-hover);
    border-color: rgba(229, 22, 54, 0.18);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-art .orb,
  .router-visual,
  .hero-managed-image {
    animation: none !important;
  }
  .card,
  .btn,
  .brand-logo {
    transition: none !important;
  }
}

/* Mobile header: large logo aligned directly above the left-aligned menu button. */
@media (max-width: 760px) {
  .header .wrap.nav {
    grid-template-columns: 132px minmax(0, 1fr) !important;
    grid-template-rows: 62px 44px !important;
    height: 116px !important;
    align-items: center !important;
  }
  .header .wrap.nav > .brand {
    grid-column: 1 !important;
    grid-row: 1 !important;
    justify-self: start !important;
    align-self: center !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .header .wrap.nav > .brand .brand-logo {
    display: block !important;
    width: 150px !important;
    max-width: none !important;
    height: auto !important;
    max-height: 58px !important;
    object-fit: contain !important;
    margin: 0 !important;
  }
  .header .wrap.nav > .hamb {
    grid-column: 1 !important;
    grid-row: 2 !important;
    justify-self: start !important;
    align-self: center !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    margin: 0 !important;
  }
  .header .wrap.nav > .nav-actions {
    grid-column: 2 !important;
    grid-row: 2 !important;
    min-width: 0 !important;
    width: 100% !important;
  }
  .header .wrap.nav > nav {
    top: 116px !important;
  }
}
@media (max-width: 380px) {
  .header .wrap.nav {
    grid-template-columns: 124px minmax(0, 1fr) !important;
  }
  .header .wrap.nav > .brand .brand-logo {
    width: 140px !important;
    max-height: 54px !important;
  }
  .header .wrap.nav > nav {
    top: 116px !important;
  }
}

/* 2026-11-23: final mobile header placement — large logo above far-left menu */
@media (max-width: 760px) {
  .header .wrap.nav {
    display: grid !important;
    grid-template-columns: 190px minmax(0, 1fr) !important;
    grid-template-rows: 64px 44px !important;
    column-gap: 8px !important;
    row-gap: 4px !important;
    height: 118px !important;
    padding-top: 3px !important;
    padding-bottom: 3px !important;
    align-items: center !important;
  }
  .header .wrap.nav > .brand {
    grid-column: 1 !important;
    grid-row: 1 !important;
    justify-self: start !important;
    align-self: center !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .header .wrap.nav > .brand .brand-logo {
    display: block !important;
    width: 184px !important;
    max-width: 184px !important;
    height: auto !important;
    max-height: 62px !important;
    object-fit: contain !important;
    margin: 0 !important;
  }
  .header .wrap.nav > .hamb {
    grid-column: 1 !important;
    grid-row: 2 !important;
    justify-self: start !important;
    align-self: center !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    margin: 0 !important;
  }
  .header .wrap.nav > .nav-actions {
    grid-column: 2 !important;
    grid-row: 2 !important;
    justify-self: stretch !important;
    align-self: center !important;
    min-width: 0 !important;
    width: 100% !important;
  }
  .header .wrap.nav > nav {
    top: 118px !important;
  }
}
@media (max-width: 380px) {
  .header .wrap.nav {
    grid-template-columns: 174px minmax(0, 1fr) !important;
    column-gap: 6px !important;
  }
  .header .wrap.nav > .brand .brand-logo {
    width: 168px !important;
    max-width: 168px !important;
    max-height: 58px !important;
  }
  .header .wrap.nav > .hamb {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
  }
  .header .wrap.nav > .nav-actions {
    gap: 5px !important;
  }
  .header .wrap.nav > nav {
    top: 118px !important;
  }
}

/* Corrected mobile header: logo on its own top row; menu left and search fills the rest of row two. */
@media (max-width: 760px) {
  .header .wrap.nav {
    display: grid !important;
    grid-template-columns: 44px minmax(0, 1fr) !important;
    grid-template-rows: 64px 44px !important;
    column-gap: 8px !important;
    row-gap: 4px !important;
    height: 118px !important;
    padding: 3px 0 !important;
    align-items: center !important;
  }
  .header .wrap.nav > .brand {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    justify-self: start !important;
    align-self: center !important;
    display: flex !important;
    margin: 0 !important;
    padding: 0 !important;
    min-width: 0 !important;
  }
  .header .wrap.nav > .brand .brand-logo {
    display: block !important;
    width: 184px !important;
    max-width: 184px !important;
    max-height: 62px !important;
    height: auto !important;
    object-fit: contain !important;
    margin: 0 !important;
  }
  .header .wrap.nav > .hamb {
    grid-column: 1 !important;
    grid-row: 2 !important;
    justify-self: start !important;
    align-self: center !important;
    display: grid !important;
    place-items: center !important;
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    margin: 0 !important;
  }
  .header .wrap.nav > .nav-actions {
    grid-column: 2 !important;
    grid-row: 2 !important;
    justify-self: stretch !important;
    align-self: center !important;
    display: flex !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    gap: 7px !important;
  }
  .header .wrap.nav > .nav-actions > .search {
    flex: 1 1 0 !important;
    width: 1px !important;
    min-width: 0 !important;
    height: 42px !important;
  }
  .header .wrap.nav > .nav-actions > .cart-button {
    flex: 0 0 auto !important;
    height: 42px !important;
  }
  .header .wrap.nav > nav {
    top: 118px !important;
  }
}
@media (max-width: 380px) {
  .header .wrap.nav {
    grid-template-columns: 40px minmax(0, 1fr) !important;
    column-gap: 6px !important;
  }
  .header .wrap.nav > .brand .brand-logo {
    width: 168px !important;
    max-width: 168px !important;
    max-height: 58px !important;
  }
  .header .wrap.nav > .hamb {
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
  }
  .header .wrap.nav > .nav-actions {
    gap: 5px !important;
  }
  .header .wrap.nav > .nav-actions > .search {
    height: 40px !important;
  }
  .header .wrap.nav > .nav-actions > .cart-button {
    height: 40px !important;
  }
  .header .wrap.nav > nav {
    top: 118px !important;
  }
}

/* User-requested: hide the logo only on mobile; keep desktop branding unchanged. */
@media (max-width: 760px) {
  .header .wrap.nav {
    display: grid !important;
    grid-template-columns: 42px minmax(0, 1fr) !important;
    grid-template-rows: 44px !important;
    column-gap: 8px !important;
    row-gap: 0 !important;
    height: 52px !important;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
    align-items: center !important;
  }
  .header .wrap.nav > .brand {
    display: none !important;
  }
  .header .wrap.nav > .hamb {
    grid-column: 1 !important;
    grid-row: 1 !important;
    justify-self: start !important;
    align-self: center !important;
    display: grid !important;
    place-items: center !important;
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .header .wrap.nav > .nav-actions {
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    gap: 7px !important;
  }
  .header .wrap.nav > .nav-actions > .search {
    flex: 1 1 0 !important;
    width: 1px !important;
    min-width: 0 !important;
    height: 42px !important;
  }
  .header .wrap.nav > .nav-actions > .cart-button {
    flex: 0 0 auto !important;
    height: 42px !important;
  }
  .header .wrap.nav > nav {
    top: 52px !important;
  }
}
@media (max-width: 380px) {
  .header .wrap.nav {
    grid-template-columns: 40px minmax(0, 1fr) !important;
    column-gap: 6px !important;
  }
  .header .wrap.nav > .hamb {
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
  }
  .header .wrap.nav > .nav-actions {
    gap: 5px !important;
  }
  .header .wrap.nav > .nav-actions > .search,
  .header .wrap.nav > .nav-actions > .cart-button {
    height: 40px !important;
  }
}

/* Restore the supplied Star Vision logo on mobile, directly above the hamburger. */
@media (max-width: 760px) {
  .header .wrap.nav {
    display: grid !important;
    grid-template-columns: 42px minmax(0, 1fr) !important;
    grid-template-rows: 100px 44px !important;
    column-gap: 8px !important;
    row-gap: 4px !important;
    height: 156px !important;
    padding: 4px 0 !important;
    align-items: center !important;
  }
  .header .wrap.nav > .brand {
    display: flex !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
    justify-self: start !important;
    align-self: center !important;
    width: max-content !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    z-index: 2 !important;
  }
  .header .wrap.nav > .brand .brand-logo {
    display: block !important;
    width: 112px !important;
    max-width: 112px !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    margin: 0 !important;
  }
  .header .wrap.nav > .hamb {
    display: grid !important;
    grid-column: 1 !important;
    grid-row: 2 !important;
    justify-self: start !important;
    align-self: center !important;
    place-items: center !important;
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .header .wrap.nav > .nav-actions {
    display: flex !important;
    grid-column: 2 !important;
    grid-row: 2 !important;
    align-items: center !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    gap: 7px !important;
  }
  .header .wrap.nav > .nav-actions > .search {
    flex: 1 1 0 !important;
    width: 1px !important;
    min-width: 0 !important;
    height: 42px !important;
  }
  .header .wrap.nav > .nav-actions > .cart-button {
    flex: 0 0 auto !important;
    height: 42px !important;
  }
  .header .wrap.nav > nav {
    top: 156px !important;
  }
}
@media (max-width: 380px) {
  .header .wrap.nav {
    grid-template-columns: 40px minmax(0, 1fr) !important;
    grid-template-rows: 92px 42px !important;
    height: 146px !important;
    column-gap: 6px !important;
  }
  .header .wrap.nav > .brand .brand-logo {
    width: 104px !important;
    max-width: 104px !important;
  }
  .header .wrap.nav > .hamb {
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
  }
  .header .wrap.nav > .nav-actions {
    gap: 5px !important;
  }
  .header .wrap.nav > .nav-actions > .search,
  .header .wrap.nav > .nav-actions > .cart-button {
    height: 40px !important;
  }
  .header .wrap.nav > nav {
    top: 146px !important;
  }
}

/* Restore the light Star Vision hero; remove only the added dark hero treatment. */
.hero {
  color: var(--sv-ink, #17191f) !important;
  background:
    radial-gradient(ellipse at 82% 28%, rgba(224, 0, 20, 0.1), transparent 34%),
    radial-gradient(
      ellipse at 12% 100%,
      rgba(255, 90, 90, 0.07),
      transparent 38%
    ),
    linear-gradient(120deg, #fff 0%, #fffafa 48%, #f8f2f3 100%) !important;
}
.hero:after {
  opacity: 0.08 !important;
  background-image: radial-gradient(
    rgba(80, 80, 90, 0.45) 0.65px,
    transparent 0.65px
  ) !important;
}
.hero h1 {
  color: #17191f !important;
}
.hero p {
  color: #626875 !important;
}
.hero .eyebrow {
  color: #c9122d !important;
}
.hero-points {
  color: #4d4f53 !important;
}
.hero-points span:before {
  background: #c9122d !important;
  box-shadow: none !important;
}

/* ================= Usability and accessibility refinements ================= */
:root {
  --sv-type-xs: 12px;
  --sv-type-sm: 14px;
  --sv-type-base: 16px;
  --sv-type-lg: 20px;
  --sv-radius-sm: 6px;
  --sv-radius-md: 10px;
  --sv-radius-lg: 14px;
  --sv-radius-xl: 18px;
  --sv-radius-pill: 999px;
  --sv-text-primary: #20232a;
  --sv-text-secondary: #626875;
  --sv-text-muted: #777e89;
  --sv-text-inverse: #fff;
}
/* Shared control geometry; primary and secondary variants remain distinct. */
.btn,
.cart-button,
#install-app {
  min-height: 44px;
  border-radius: var(--sv-radius-pill);
  font-size: var(--sv-type-sm);
  font-weight: 700;
}
.btn:focus-visible,
.cart-button:focus-visible,
#install-app:focus-visible,
.sv-floating-contact a:focus-visible {
  outline: 3px solid rgba(201, 18, 45, 0.38);
  outline-offset: 3px;
}
.plan-art-label {
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.12em;
}
.eyebrow {
  font-size: 12px;
  line-height: 1.5;
}
.recommendation {
  background: #f1f5f9 !important;
  color: #263548 !important;
  border: 1px solid #d9e2ec;
  border-radius: var(--sv-radius-md);
  padding: 14px 16px;
}
.hero .btn.outline {
  color: #20232a !important;
  background: #fff !important;
  border: 1px solid #737984 !important;
}
.hero .btn.outline:hover {
  background: #f2f3f5 !important;
  border-color: #343943 !important;
}
#install-app {
  color: #20232a !important;
  background: #fff !important;
  border: 1px solid #737984 !important;
}
#install-app:hover {
  background: #f2f3f5 !important;
  border-color: #343943 !important;
}

/* Consistent plan artwork, feature rows, and bottom-aligned actions. */
#plan-list > .plan-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
#plan-list > .plan-card > .plan-art,
#plan-list > .plan-card > .plan-image {
  height: 150px;
  min-height: 150px;
  flex: 0 0 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
#plan-list > .plan-card > .plan-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
#plan-list > .plan-card > .features {
  display: grid;
  grid-auto-rows: minmax(42px, auto);
  align-content: start;
  flex: 1 0 auto;
}
#plan-list > .plan-card > .features li {
  display: flex;
  align-items: center;
  min-height: 42px;
}
#plan-list > .plan-card > .btn {
  margin-top: auto;
  width: 100%;
}

/* Smart recommender: balanced columns and a compact mobile stack. */
#choose .choose-grid {
  max-width: 1080px;
  margin-inline: auto;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
}
#choose .recommender {
  min-width: 0;
}
@media (max-width: 760px) {
  #choose .choose-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Keep callback identity fields together and consent immediately before submit. */
#callback-form .check {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 8px;
  line-height: 1.5;
  text-align: left;
  flex-wrap: wrap;
}
#callback-form .check input {
  flex: 0 0 auto;
  margin-top: 3px;
}
#callback-form .check a {
  display: inline;
  white-space: nowrap;
}

/* More compact search on desktop; preserve the flexible mobile header row. */
@media (min-width: 761px) {
  .header .nav-actions .search {
    width: min(100%, 280px);
    flex: 0 1 280px;
    min-width: 0;
  }
}
@media (max-width: 760px) {
  .header .nav-actions .search {
    width: auto;
    flex: 1 1 0;
    min-width: 0;
  }
}

/* Contact shortcuts remain reachable without dominating small screens. */
@media (max-width: 600px) {
  .sv-floating-contact {
    right: 10px;
    bottom: max(14px, env(safe-area-inset-bottom));
    gap: 8px;
  }
  .sv-floating-contact a {
    width: 44px;
    height: 44px;
    font-size: 21px;
  }
}

/* Bring service-check controls closer and keep the strip responsive. */
.coverage-inner {
  gap: 18px;
}
.coverage-inner form {
  margin-left: 0;
}
.coverage-inner > div {
  gap: 4px;
}
@media (min-width: 761px) {
  .coverage-inner {
    justify-content: center;
  }
  .coverage-inner form {
    margin-left: 0;
  }
}
@media (max-width: 700px) {
  .coverage-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .coverage-inner form {
    width: 100%;
  }
  .coverage-inner form input {
    flex: 1;
    min-width: 0;
    width: auto;
  }
}

/* Balance the longer policy list without removing any links. */
@media (min-width: 900px) {
  .footer-grid > div:last-child {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
    column-gap: 14px;
    row-gap: 4px;
  }
  .footer-grid > div:last-child h4 {
    grid-column: 1/-1;
  }
  .footer-grid > div:last-child a {
    margin: 5px 0;
  }
}

/* Restore visibility of the existing checkout and Buy Now actions only. */
#cart-drawer #checkout-open {
  display: flex !important;
  visibility: visible !important;
  position: sticky !important;
  bottom: 0 !important;
  z-index: 2 !important;
  width: 100% !important;
  min-height: 48px !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  justify-content: center !important;
  margin-top: 14px !important;
  padding: 13px 18px !important;
  background: #c9122d !important;
  color: #fff !important;
  border: 1px solid #c9122d !important;
  border-radius: 999px !important;
  opacity: 1 !important;
}
#cart-drawer #checkout-open:disabled {
  opacity: 0.58 !important;
  cursor: not-allowed !important;
}
.product-actions [data-buy],
.detail-actions [data-buy],
#plan-list [data-buy] {
  display: inline-flex !important;
  visibility: visible !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 44px !important;
  opacity: 1 !important;
}

/* Checkout / Buy Now visibility: keep the cart action in the drawer's visible footer. */
#cart-drawer {
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}
#cart-drawer #cart-items {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow-y: auto !important;
}
#cart-drawer #checkout-open {
  display: flex !important;
  flex: 0 0 auto !important;
  position: relative !important;
  inset: auto !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  min-height: 50px !important;
  margin: 12px 0 0 !important;
  z-index: 3 !important;
}
#product-list .product-card .product-actions > button[data-buy="product"],
#product-detail-modal .detail-actions > button[data-buy],
#plan-list > .plan-card > button[data-buy="plan"] {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  min-height: 46px !important;
  align-items: center !important;
  justify-content: center !important;
}
#product-list .product-card .product-actions > button[data-buy="product"] {
  flex: 1 1 120px !important;
}
#product-detail-modal .detail-actions > button[data-buy],
#plan-list > .plan-card > button[data-buy="plan"] {
  flex: 1 1 0 !important;
}

/* Keep Buy Now actions visible at all times and ensure checkout remains clickable. */
#product-list .product-card .product-actions,
#product-detail-modal .detail-actions,
#plan-list .plan-card {
  visibility: visible !important;
}
#product-list .product-card .product-actions,
#product-list .product-card .product-actions [data-buy],
#product-detail-modal .detail-actions [data-buy],
#plan-list .plan-card [data-buy] {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}
#product-list .product-card .product-actions [data-buy],
#product-detail-modal .detail-actions [data-buy],
#plan-list .plan-card [data-buy] {
  display: inline-flex !important;
}
#cart-drawer #checkout-open {
  pointer-events: auto !important;
  cursor: pointer !important;
}

/* Star Vision announcements, latest arrivals and admin-managed videos. */
.sv-announcement {
  background: #171717;
  color: #fff;
  border-bottom: 2px solid #c9122d;
  overflow: hidden;
}
.sv-announcement .wrap {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
  overflow: hidden;
}
.sv-announcement-label {
  color: #ff7777;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  flex: 0 0 auto;
}
.sv-announcement-marquee {
  min-width: 0;
  flex: 1;
  overflow: hidden;
}
.sv-announcement-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: svAnnouncementScroll 32s linear infinite;
  will-change: transform;
}
.sv-announcement-copy {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 0 0 auto;
  padding-right: 28px;
  font-size: 12px;
}
#sv-announcement-text,
[data-sv-announcement-copy] {
  display: inline-block;
  flex: 0 0 auto;
}
.sv-announcement-router-details {
  color: #ffb4b4;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.035em;
  flex: 0 0 auto;
}
@keyframes svAnnouncementScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.sv-announcement:hover .sv-announcement-track {
  animation-play-state: paused;
}
.sv-latest-section {
  padding-top: 52px;
  padding-bottom: 52px;
}
.sv-latest-strip {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: 4px 2px 14px;
  scrollbar-width: thin;
}
.sv-latest-card {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid #e9e9ed;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px #17171708;
  min-width: 280px;
  flex: 0 0 280px;
  scroll-snap-align: start;
}
.sv-latest-card > img,
.sv-latest-placeholder {
  width: 100px;
  height: 104px;
  object-fit: contain;
  border-radius: 11px;
  background: #faf5f5;
}
.sv-latest-placeholder {
  display: grid;
  place-items: center;
  color: #c9122d;
  font-weight: 900;
  font-size: 24px;
}
.sv-latest-label {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: #c9122d;
}
.sv-latest-card h3 {
  font-size: 14px;
  line-height: 1.35;
  margin: 5px 0;
}
.sv-latest-card strong {
  display: block;
  margin-bottom: 8px;
}
.sv-latest-card .btn {
  min-height: 38px;
  padding: 8px 13px;
  font-size: 11px;
}
.sv-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.sv-video-card {
  min-width: 0;
  background: #fff;
  border: 1px solid #e8e8ec;
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 10px 28px #1717170a;
}
.sv-video-card video {
  display: block;
  width: 100%;
  max-height: 420px;
  aspect-ratio: 16/9;
  background: #111;
  border-radius: 10px;
}
.sv-video-card h3 {
  font-size: 14px;
  margin: 10px 2px 2px;
}
.sv-buy-now {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}
#order-whatsapp:not(.hidden) {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}
@media (max-width: 600px) {
  .sv-announcement .wrap {
    min-height: 42px;
    gap: 10px;
  }
  .sv-announcement-label {
    font-size: 9px;
  }
  #sv-announcement-text {
    font-size: 11px;
  }
  .sv-latest-card {
    min-width: min(280px, 86vw);
    flex-basis: min(280px, 86vw);
  }
  .sv-video-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .sv-announcement-copy {
    font-size: 11px;
    gap: 18px;
    padding-right: 18px;
  }
  .sv-announcement-router-details {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sv-announcement * {
    animation: none !important;
    transition: none !important;
  }
  .sv-announcement .wrap {
    flex-wrap: wrap;
    white-space: normal;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .sv-announcement-marquee {
    overflow: visible;
  }
  .sv-announcement-track {
    display: block;
    width: auto;
  }
  .sv-announcement-copy {
    display: flex;
    flex-wrap: wrap;
    white-space: normal;
    padding: 0;
    gap: 8px;
  }
  .sv-announcement-copy[aria-hidden="true"] {
    display: none;
  }
}

.sv-old-price {
  font-size: 0.55em;
  color: #777;
  font-weight: 600;
  text-decoration: line-through;
  letter-spacing: 0;
  margin-left: 6px;
}
.sv-sale-tag {
  display: inline-flex;
  vertical-align: middle;
  margin-left: 7px;
  padding: 3px 7px;
  border-radius: 999px;
  background: #fff0f0;
  color: #b00020;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

/* Fix product-card Buy Now label contrast: .btn.outline inherits white hero text. */
#product-list .product-card .product-actions > button.sv-buy-now {
  color: #c9122d !important;
  -webkit-text-fill-color: #c9122d !important;
  background: #fff !important;
  border: 1px solid #c9122d !important;
  text-shadow: none !important;
}
#product-list .product-card .product-actions > button.sv-buy-now:hover {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background: #c9122d !important;
}

/* Ensure Buy Now labels remain readable in Latest products & updates cards. */
#latest-product-strip .sv-latest-card button[data-buy="product"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  visibility: visible !important;
  opacity: 1 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background: #c9122d !important;
  border: 1px solid #c9122d !important;
  text-shadow: none !important;
  min-height: 38px !important;
}

/* Checkout fallback: keep the WhatsApp action visible after database errors. */
#checkout-modal #order-whatsapp:not(.hidden),
#checkout-modal #order-whatsapp.is-ready {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  position: relative !important;
  z-index: 5 !important;
  color: #c9122d !important;
  -webkit-text-fill-color: #c9122d !important;
  background: #fff !important;
  border: 1px solid #c9122d !important;
}
#checkout-modal #order-whatsapp:not(.hidden):hover {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background: #c9122d !important;
}


/* VISIBILITY FIX — consistent, high-contrast storefront controls only.
   Keep existing dimensions, layout, labels and interactions unchanged. */
:where(
  button,
  input[type="button"],
  input[type="submit"],
  input[type="reset"],
  .btn,
  .cart-button
) {
  -webkit-appearance: none;
  appearance: none;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background: linear-gradient(135deg, #d71932 0%, #a90d20 100%) !important;
  border: 1px solid #a90d20 !important;
  text-shadow: none !important;
  opacity: 1;
  box-shadow: 0 5px 16px rgba(169, 13, 32, 0.2);
}

:where(.btn.outline, .outline) {
  color: #991426 !important;
  -webkit-text-fill-color: #991426 !important;
  background: linear-gradient(135deg, #fff5f6 0%, #ffe5e9 100%) !important;
  border: 1px solid #bd3044 !important;
  box-shadow: 0 4px 13px rgba(169, 13, 32, 0.1);
}

:where(button:not(.btn):not(.cart-button)) {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background: linear-gradient(135deg, #303846 0%, #1d2531 100%) !important;
  border: 1px solid #303846 !important;
  text-shadow: none !important;
  box-shadow: 0 4px 12px rgba(18, 25, 38, 0.16);
}

:where(.cart-quantity button[data-remove], .danger, button.danger) {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background: linear-gradient(135deg, #d71932 0%, #a90d20 100%) !important;
  border-color: #a90d20 !important;
}

:where(button, input[type="button"], input[type="submit"], input[type="reset"], .btn, .cart-button):hover:not(:disabled) {
  filter: brightness(0.94);
  box-shadow: 0 7px 19px rgba(20, 25, 35, 0.2);
}

:where(button, input[type="button"], input[type="submit"], input[type="reset"], .btn, .cart-button):focus-visible {
  outline: 3px solid rgba(215, 25, 50, 0.38) !important;
  outline-offset: 3px;
}

:where(button, input[type="button"], input[type="submit"], input[type="reset"], .btn, .cart-button):disabled {
  opacity: 0.72;
  filter: saturate(0.75);
  cursor: not-allowed;
  box-shadow: none;
}


/* Final cascade guard: outrank older component-specific button colour rules. */
body button:not(.btn):not(.cart-button),
body input[type="button"],
body input[type="submit"],
body input[type="reset"] {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background: linear-gradient(135deg, #303846 0%, #1d2531 100%) !important;
  border: 1px solid #303846 !important;
  text-shadow: none !important;
}

body button.btn.red,
body a.btn.red,
body .cart-button {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background: linear-gradient(135deg, #e51b36 0%, #a90d20 100%) !important;
  border: 1px solid #a90d20 !important;
}

body button.btn.outline,
body a.btn.outline,
body .btn.outline {
  color: #991426 !important;
  -webkit-text-fill-color: #991426 !important;
  background: linear-gradient(135deg, #fff5f6 0%, #ffe5e9 100%) !important;
  border: 1px solid #bd3044 !important;
}

body .cart-quantity button[data-remove],
body button.danger {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background: linear-gradient(135deg, #d71932 0%, #a90d20 100%) !important;
  border-color: #a90d20 !important;
}


/* BUTTON ALIGNMENT & SIZE SYSTEM — storefront only.
   Normalize control alignment while keeping icon-only and compact controls intentional. */
:where(
  body button,
  body input[type="button"],
  body input[type="submit"],
  body input[type="reset"],
  body .btn,
  body .cart-button
) {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  vertical-align: middle;
  text-align: center;
  font-family: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

:where(
  body button:not(.hamb):not(.icon-button):not(.modal-close):not(.gallery-arrow):not(.product-gallery-arrow):not([data-icon-only]),
  body input[type="button"],
  body input[type="submit"],
  body input[type="reset"],
  body .btn,
  body .cart-button
) {
  min-height: 42px;
  padding: 10px 16px;
  font-size: 14px;
}

:where(.hero .actions, .product-actions, .sv-ticket-actions, .sv-latest-card .product-actions) {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

:where(.hero .actions, .product-actions, .sv-ticket-actions) > :where(button, a, .btn) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 0;
  text-align: center;
  line-height: 1.2;
}

.product-actions > :where(button, a, .btn) {
  min-height: 42px;
  padding: 10px 12px;
}

.hero .actions > :where(button, a, .btn) {
  min-height: 46px;
  padding: 12px 20px;
}

.sv-ticket-actions > :where(button, a, .btn) {
  min-height: 42px;
  padding: 10px 14px;
}

.admin-tabs button,
.pagination button,
.pagination a,
.product-pagination button {
  min-height: 40px;
  padding: 9px 14px;
  line-height: 1.2;
}

:where(button, a.btn, input[type="button"], input[type="submit"], input[type="reset"]):focus-visible {
  outline-offset: 3px;
}

@media (max-width: 600px) {
  :where(.hero .actions, .product-actions, .sv-ticket-actions) {
    gap: 8px;
  }
  .hero .actions > :where(button, a, .btn) {
    min-height: 44px;
    padding: 11px 14px;
  }
  .product-actions > :where(button, a, .btn) {
    min-height: 42px;
    padding: 10px 9px;
    font-size: 13px;
  }
}


/* PRICING CARD ACTIONS — fixed, identical button geometry across every plan. */
#plan-list > article.plan-card {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}
#plan-list > article.plan-card > button[data-detail-open],
#plan-list > article.plan-card > button[data-buy="plan"] {
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 72px !important;
  min-height: 72px !important;
  max-height: 72px !important;
  flex: 0 0 72px !important;
  padding: 0 18px !important;
  border-radius: 999px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-align: center !important;
  white-space: nowrap !important;
  transform: none;
}
#plan-list > article.plan-card > button[data-detail-open] {
  margin: auto 0 0 !important;
}
#plan-list > article.plan-card > button[data-buy="plan"] {
  margin: 10px 0 0 !important;
}
@media (max-width: 600px) {
  #plan-list > article.plan-card > button[data-detail-open],
  #plan-list > article.plan-card > button[data-buy="plan"] {
    height: 58px !important;
    min-height: 58px !important;
    max-height: 58px !important;
    flex-basis: 58px !important;
    font-size: 15px !important;
  }
}
