
.buy-now{  background:#f5f6fa;
    position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;          /* full bleed */
  max-width: 100vw;      /* prevent extra scrollbars */
  overflow: hidden;}
/* Layout */
.p-hero{
  background:#f5f6fa;
  padding: clamp(28px, 5vw, 64px) 0;
}
.p-hero__wrap{
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr; /* image larger like screenshot */
  gap: clamp(16px, 3vw, 40px);
  align-items: center;
}
@media (max-width: 992px){
  .p-hero__wrap{ grid-template-columns: 1fr; }
}

/* Product image */
.p-hero__media{ position: relative; }
.p-hero__img{
width: 129px;
height: 312px;
angle: 0 deg;
opacity: 1;
top: 313px;
  display: block;
  filter: drop-shadow(0 30px 35px rgba(0,0,0,.18));
  transform: translate(400px, 6px);
}

/* Header line */
.p-hero__head{
  position: relative;
  display:flex;
  align-items:flex-start;
  gap: 12px;
}
.p-hero__title{
  margin: 0 0 10px;
  font-family: "Nuckle", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.05;
  color:#2b2b2b;
}
.p-hero__plus{ font-weight:800; }

/* Best seller ribbon (right of title) */
.p-hero__ribbon{
  margin-left: auto;
  position: relative;
  padding: 8px 16px 20px;
  background: linear-gradient(#ff3b3b, #d81616);
  color:#fff; font-weight:700; border-radius: 6px 6px 0 0;
  align-self: center;
  box-shadow: 0 10px 20px rgba(221,0,0,.25);
}
.p-hero__ribbon span{ position:relative; z-index:1; }
.p-hero__ribbon::after{
  content:"";
  position:absolute; left:50%; transform:translateX(-50%);
  bottom:-18px; border:18px solid transparent; border-top-color:#d81616;
}

/* Price + stars row */
.p-hero__meta{
  display:flex; align-items:center; gap:16px; margin: 8px 0 18px;
}
.p-hero__pricechip{
  min-width: 108px; height: 48px;
  display:grid; place-items:center;
  padding:0 16px; border-radius: 20px;
  background: linear-gradient(90deg,#101010 0%, #616161 100%);
  color:#fff;
  box-shadow: 0 14px 20px rgba(0,0,0,.25);
}
.p-hero__pricechip span{
  font-family:"Poppins", system-ui, sans-serif;
  font-weight: 800; font-size: 28px; line-height: 1;
}
.p-hero__stars{
  display:flex; gap:6px; color:#f5b100;
}
.p-hero__stars svg{
  width:22px; height:22px; fill:#FDBE34; filter: drop-shadow(0 1px 0 rgba(0,0,0,.15));
}

/* Features */
.p-hero__features{
  list-style:none; padding:0; margin:0 0 22px; display:grid; gap:14px;
}
.p-hero__features li{ display:flex; align-items:center; gap:14px; }
.f-ic{
  width:36px; height:36px; border-radius:10px;
  background:#f0f1f5; display:grid; place-items:center;
  box-shadow: inset 0 0 0 1px #e3e5ec;
  flex:0 0 36px;
}
.f-ic svg{ width:20px; height:20px; fill:#333; opacity:.85; }

.f-pill{
  display:inline-block;
  background:#3d3f43; color:#fff; font-weight:700;
  padding:10px 16px; border-radius:14px;
  box-shadow: 0 10px 18px rgba(0,0,0,.18);
  min-width: 280px;
}

/* Actions */
.p-hero__actions{
  display:flex; align-items:center; gap:18px; margin-top:8px;
}

.p-hero__cta{
  display:inline-flex; align-items:center; gap:10px;
  padding:12px 22px; border-radius:12px; color:#fff; text-decoration:none; font-weight:800;
  background: linear-gradient(171.55deg, #FF9340 6%, #FF6A00 60%, #EA4E14 130%);
  box-shadow:0 12px 22px rgba(255,106,0,.35);
  transition: transform .06s ease, filter .15s ease;
  border:none;
}
.p-hero__cta svg{ width:18px; height:18px; fill:#fff; }
.p-hero__cta:hover{ filter:brightness(.98); }
.p-hero__cta:active{ transform: translateY(1px); }
.p-hero__cta:focus{ outline:none; }
.p-hero__cta:focus-visible{
  outline:3px solid rgba(255,106,0,.45);
  outline-offset:2px;
}

/* Different color when item is already in the cart */
.p-hero__cta--in-cart{
  background: linear-gradient(171deg, #2ECC71 6%, #27AE60 60%, #1F8F4F 130%);
  box-shadow: 0 12px 22px rgba(39,174,96,.35);
}
.p-hero__cta--in-cart:focus-visible{
  outline:3px solid rgba(39,174,96,.45);
}

/* (Optional) subtle confirmation pulse when it switches to in-cart */
.p-hero__cta--in-cart.pulse{
  animation: ctaPulse .6s ease-out 1;
}
/* Small screens */
@media (max-width: 576px){
  .p-hero__ribbon{ display:none; } /* optional on XS */
  .f-pill{ min-width: unset; }
}

/* base area under the wave */
.hero-ctv{
    height:600px;
  position: relative;
  background: #F9F9F9;            /* light backdrop from your mock */
  overflow: hidden;
}

/* the orange wave */
.hero-bg{
  position: absolute;
  inset: 0 0 auto 0;               /* stick to the top */
  width: 100%;
  height: min(52vw, 360px);        /* responsive height */
  display: block;
  z-index: 0;
}

/* content */
.hero-inner{
  position: relative;
  z-index: 1;
  padding: clamp(40px, 8vw, 100px) 0 clamp(40px, 10vw, 120px);
  text-align: center;
}

/* title (uses your Nuckle setup if loaded) */
.hero-title{
  font-family: "Nuckle", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;                /* adjust to 700 if you want stronger */
  font-size: clamp(28px, 5vw, 80px);
  line-height: 1.1;
  letter-spacing: .02em;
  color: #FFFFFF;                  /* white on the orange wave */
  margin: 0 0 clamp(20px, 3vw, 36px);
  text-transform: none;            /* keep normal case */
}

/* product box image */
.hero-device{
  width: min(150px, 70vw);
  height: auto;
  filter: drop-shadow(0 18px 28px rgba(0,0,0,.18));
  transform: translate(300px, -190px); 
}

/* optional remote overlay */
.hero-remote{
  position: absolute;
  right: clamp(6%, 14vw, 18%);
  top: clamp(30%, 28vw, 42%);
  width: min(140px, 18vw);
  height: auto;
  transform: rotate(-12deg);
  filter: drop-shadow(0 14px 22px rgba(0,0,0,.2));
  pointer-events: none;
}

/*===========================*/
.section-benefits{ background:#F6F7FC; }

.benefits-card{
  width:1070px;
  height:370px;
  margin-inline: auto; 
  position:relative;
  background:#2F3133;                 /* dark slab */
  color:#fff;
  border-radius:22px;
  padding: clamp(24px, 4vw, 36px);
  box-shadow: 0 10px 24px rgba(0,0,0,.10);
  overflow:hidden;
}

/* headings */
.benefits-eyebrow{
  margin:0 0 .5rem;
  font-family:"Nuckle", system-ui, sans-serif;
  font-weight:600;
  font-size: clamp(16px, 2vw, 20px);
  color:#E5E7EB;                       /* light gray */
  text-align:center;
  text-transform: none;
}
.benefits-title{
  margin:0 0 1.5rem;
  font-family:"Nuckle", system-ui, sans-serif;
  font-weight:700;
  font-size: clamp(24px, 4.6vw, 42px);
  line-height:1.15;
  color:#EF4C23;                       /* brand orange */
  text-align:center;
  text-transform:none;
}

.section-benefits .benefits-title::after,
.section-benefits .benefits-title::before{
  content: none !important;
  display: none !important;
  border: 0 !important;
  background: none !important;
}

/* list items */
.benefit{ font-size:16px; }
.section-benefits .benefits-icons li::marker,
.section-benefits .benefits-list li::marker{ content: none; }
.ico-check{
  width:28px; height:28px; border-radius:50%;
  background:#fff; color:#2F3133;
  display:inline-grid; place-items:center;
  box-shadow: 0 2px 6px rgba(0,0,0,.25);
  position:relative;
}
.ico-check::before{
  content:"";
  width:12px; height:6px;
  border-left:3px solid currentColor;
  border-bottom:3px solid currentColor;
  transform: rotate(-45deg) translateY(-1px);
  display:block;
}

/* divider line */
.benefits-sep{
  height:1px; background: rgba(255,255,255,.18);
  border-radius:1px;
}

/* bottom row mini-icons */
.mini{ font-size:14px; color:#E5E7EB; }
.ico-dotring{
  width:18px; height:18px; border-radius:50%;
  background:
    radial-gradient(circle at center, transparent 53%, #E5E7EB 54%) top/100% 100% no-repeat;
  opacity:.9;
}

/* orange accent bar at bottom */
.benefits-accent{
  position:absolute; left:12px; right:12px; bottom:10px;
  height:8px; background:#EF4C23; border-radius:6px;
}


/* section bg + heading */
.section-faq{ background:#F6F7FC; }
.faq-heading{
  margin:0 0 18px;
  font-family:"Nuckle",system-ui,sans-serif;
  font-weight:700;
  font-size:clamp(28px,4vw,40px);
  line-height:1.1;
  text-transform:none;
  border-bottom:1px solid rgba(0,0,0,.15);
  padding-bottom:10px;
}
.faq-heading::after,
.faq-heading::before{
  content: none !important;
  display: none !important;
  border: 0 !important;
  background: none !important;
}

/* list wrapper acts like one rounded group */
.faq-list{
  background:#ECEDEF;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 6px 18px rgba(0,0,0,.06);
}

/* each item */
.faq-item{ background:#E6E7EA; }
.faq-item + .faq-item{ border-top:1px solid rgba(0,0,0,.06); }

/* header row (button) */
.faq-toggle{
  width:100%;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:clamp(14px,2.2vw,24px);
  padding: clamp(18px,2.8vw,26px);
  background:transparent;
  border:0;
  text-align:left;
  cursor:pointer;
}

/* number on the left */
.faq-num{
  font-family:"Nuckle",system-ui,sans-serif;
  font-weight:800;
  font-size:clamp(20px,4.2vw,36px);
  color:#9D96A8;                 /* light gray, like mock */
  letter-spacing:.02em;
}

/* question text */
.faq-question{
  font-family:"Nuckle",system-ui,sans-serif;
  font-weight:700;
  font-size:clamp(16px,2.5vw,24px);
  color:#222;
  text-transform:none;
}

/* icon on the right: plus / close */
.faq-icon{
  width:32px; height:32px; border-radius:50%;
  background:#2F3133;
  position:relative; flex:0 0 auto;
}
.faq-icon::before,
.faq-icon::after{
  content:""; position:absolute; left:50%; top:50%;
  width:16px; height:2px; background:#fff; border-radius:1px;
  transform:translate(-50%,-50%);
}
.faq-icon::after{ transform:translate(-50%,-50%) rotate(90deg); } /* the vertical bar */
.faq-item.is-open .faq-icon::before{ transform:translate(-50%,-50%) rotate(45deg); }
.faq-item.is-open .faq-icon::after{  transform:translate(-50%,-50%) rotate(-45deg); }

/* panel */
.faq-panel{
  display:none;
  padding: 0 clamp(18px,2.8vw,26px) clamp(18px,2.8vw,26px) clamp(88px,10vw,120px);
  color:#5C6066;
  font-size:16px;
}
.faq-panel p{ margin:0 0 12px; }
.faq-panel p strong{ color:#2F3133; }

/* open state */
.faq-item.is-open{ background:#DCDDDF; }
.faq-item.is-open .faq-panel{ display:block; }

/* small screens */
@media (max-width: 576px){
  .faq-panel{
    padding: 0 clamp(16px,5vw,22px) clamp(16px,5vw,22px) clamp(64px,14vw,86px);
  }
}


/* small screens */
@media (max-width:576px){
  .benefits-card{ padding:20px 16px 28px; }
  .benefits-accent{ left:8px; right:8px; }
}


/* small screens tweaks */
@media (max-width: 576px){
  .hero-remote{ display:none; }    /* hide remote on tiny screens */
}
/* =========================================================
   STB PAGE — MOBILE (append to END of stb.css)
   Desktop styles stay untouched
   ========================================================= */

/* ---------- Tablets & down ---------- */
@media (max-width: 991.98px){

  /* HERO (top product) */
  .p-hero{
    padding: 24px 0;
  }

  .p-hero__wrap{
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .p-hero__head{
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .p-hero__title{
    font-size: 30px;
    line-height: 1.08;
    margin-bottom: 6px;
  }

  .p-hero__meta{
    flex-wrap: wrap;
    gap: 12px;
    margin: 10px 0 16px;
  }

  .p-hero__pricechip{
    min-width: 98px;
    height: 44px;
    border-radius: 18px;
  }
  .p-hero__pricechip span{
    font-size: 24px;
  }

  .p-hero__stars svg{
    width: 20px;
    height: 20px;
  }

  .p-hero__img{
    max-width: 520px;
  }

  /* Features pills */
  .p-hero__features{
    gap: 12px;
    margin-bottom: 18px;
  }
  .f-pill{
    min-width: unset;
    width: 100%;
    padding: 10px 14px;
    border-radius: 14px;
  }

  /* CTA button */
  .p-hero__cta{
    width: 100%;
    justify-content: center;
    padding: 13px 18px;
  }
}


/* ---------- Phones ---------- */
@media (max-width: 575.98px){

  /* 0) no horizontal scroll */
  html, body{ overflow-x: hidden; }
  .buy-now{ overflow-x: hidden; }

  /* 1) FIX ribbon on product hero (remove transform-based positioning) */
  .p-hero__head{ position: relative; }

  .s1-ribbon{
    position: absolute !important;
    transform: none !important;     /* убираем translate(330px, 80px) */
    top: -14px !important;
    right: 0 !important;
    left: auto !important;
    width: 150px !important;
    height: auto !important;
    z-index: 20 !important;
    pointer-events: none;
  }

  .s1-ribbon-text{
    position: absolute !important;
    top: -14px !important;
    right: 0 !important;
    left: auto !important;
    width: 150px !important;

    /* текст ВНУТРИ ribbon */
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(8px) !important;

    font-size: 12px !important;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;

    z-index: 21 !important;
    pointer-events: none;
  }

  /* 2) Make title readable and not behind ribbon */
  .p-hero__title{
    padding-right: 160px;   /* место под ribbon справа */
    font-size: 26px;
  }

  /* 3) Hero device section (orange wave) - prevent cropping */
  .hero-ctv{
    height: auto;
    padding-bottom: 22px;
  }

  .hero-inner{
    padding: 52px 0 40px;
  }

  .hero-device{
transform: translate(10px, 10px);
  }

  /* 4) BENEFITS card — remove fixed desktop size */
  .benefits-card{
    width: 100% !important;
    height: auto !important;
    border-radius: 18px;
    padding: 20px 16px 26px;
  }

  .benefits-title{
    font-size: 26px;
    line-height: 1.15;
    margin-bottom: 16px;
  }

  .benefit{ font-size: 15px; }

  /* icons grid tighter */
  .benefits-icons{
    margin-top: 10px;
  }
  .mini{ font-size: 13px; }

  /* 5) FAQ spacing */
  .faq-toggle{
    padding: 18px 16px;
    gap: 12px;
  }

  .faq-icon{
    width: 30px;
    height: 30px;
  }

  .faq-panel{
    font-size: 15px;
  }
  .p-hero__img{
width: 129px;
height: 312px;
angle: 0 deg;
opacity: 1;
top: 313px;
  display: block;
  filter: drop-shadow(0 30px 35px rgba(0,0,0,.18));
  transform: translate(200px, 6px);
}
}