:root{
  --bg:#0b1220;
  --bg2:#07101d;
  --card:#0f1b33;
  --card2:#101f3b;
  --text:#e8f0ff;
  --muted:#9bb0d6;
  --line:rgba(255,255,255,.08);
  --accent:#22e38b;
  --accent2:#1bbf75;
  --warn:#ffb020;
  --danger:#ff4d4d;
  --shadow:0 18px 60px rgba(0,0,0,.45);
  --radius:22px;
  --radius2:16px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono","Courier New", monospace;
  --sans: system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
}
}
/* aspect-ratio fallbacks */
@supports not (aspect-ratio: 1 / 1){
  .slide{height: min(72vw, 360px);}
  .video{height: min(56vw, 320px);}
}

.priceCard .btn{width:100%; margin-top:12px}

.priceCard .small{margin-top:10px; font-size:12.5px; color:rgba(255,255,255,.78)}
/* Typography tweaks */
.title{font-size:clamp(22px, 6vw, 30px)}
.priceNum{font-size:clamp(26px, 7vw, 34px)}
/* Performance */
@media (max-width: 520px){
  .card{box-shadow:0 14px 38px rgba(0,0,0,.38)}
}


.thumb{width:72px; height:66px}
  .badge{font-size:12px; padding:8px 10px}
}
/* topbar mobile fixes */
@media (max-width:520px){
  .topbar{backdrop-filter:none; -webkit-backdrop-filter:none; background:rgba(7,16,29,.92)}
  .topbar__inner{flex-wrap:wrap; align-items:flex-start}
  .topbar__right{width:100%; justify-content:space-between}
  .pill{white-space:normal}
}


*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:var(--sans);
  color:var(--text);
  background:
    radial-gradient(900px 500px at 15% 10%, rgba(34,227,139,.12), transparent 70%),
    radial-gradient(900px 500px at 90% 15%, rgba(255,176,32,.10), transparent 70%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  min-height:100%;
  overflow-x:hidden;
}

img, video{max-width:100%; display:block}
a{color:inherit; text-decoration:none}
b{color:#fff}

.container{
  width:calc(100% - 32px);
  max-width:1120px;
  margin:0 auto;
}

/* Top bar */
.topbar{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter:saturate(130%) blur(10px);
  background:rgba(7,16,29,.55);
  border-bottom:1px solid var(--line);
}
@supports not (backdrop-filter: blur(10px)){
  .topbar{background:rgba(7,16,29,.92)}
}
.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 0;
}

.brand{display:flex; align-items:center; gap:10px; min-width:110px}
.brand__dot{
  width:12px; height:12px; border-radius:50%;
  background: radial-gradient(circle at 30% 30%, #fff, rgba(255,255,255,.25) 35%, rgba(34,227,139,.95) 80%);
  box-shadow:0 0 0 6px rgba(34,227,139,.12);
}
.brand__name{font-weight:700; letter-spacing:.2px; font-size:14px; opacity:.95}

.topbar__right{display:flex; align-items:center; gap:10px; flex-wrap:wrap; justify-content:flex-end}
.pill{
  font-size:12px;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.04);
  white-space:nowrap;
}
.pill--muted{opacity:.85}
.pill--ok{
  border-color:rgba(34,227,139,.25);
  background:rgba(34,227,139,.10);
}

.lang{display:flex; gap:6px}
.lang__btn{
  border:1px solid var(--line);
  background:rgba(255,255,255,.04);
  color:var(--text);
  border-radius:999px;
  padding:7px 10px;
  font-weight:700;
  font-size:12px;
  cursor:pointer;
}
.lang__btn.is-active{
  border-color:rgba(34,227,139,.35);
  background:rgba(34,227,139,.14);
}

/* Floating button */
.fab{
  position:fixed;
  left:50%;
  transform:translateX(-50%);
  bottom:16px;
  z-index:60;
  padding:14px 18px;
  border-radius:999px;
  background:linear-gradient(180deg, var(--accent), var(--accent2));
  color:#06120e;
  font-weight:900;
  box-shadow:0 18px 40px rgba(0,0,0,.45);
  border:0;
}
.fab:active{transform:translateX(-50%) scale(.98)}

/* Sections */
.section{padding:26px 0}
.hero{padding:18px 0 12px}
.strip{
  padding:10px 0 22px;
}
.strip__grid{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
}
.strip__item{
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
  border-radius:var(--radius2);
  padding:12px 14px;
}
.strip__title{font-weight:900; font-size:14px}
.strip__text{color:var(--muted); font-size:13px; margin-top:6px; line-height:1.35}

.h2Row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:12px;
}
.h2{
  margin:0 0 12px;
  font-size:20px;
  letter-spacing:.2px;
}
.h2Row .h2{margin:0}
.small{font-size:12.5px; line-height:1.35}
.muted{color:var(--muted)}
.mono{font-family:var(--mono)}

/* Cards */
.card{
  border:1px solid var(--line);
  background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}

.hero__grid{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
}

.mediaCard{padding:12px}
.infoCard{padding:14px}

/* Product viewer */
.pviewer{position:relative}
.pviewer__badges{
  position:static;                 /* mobile: badges visible above slider */
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  z-index:3;
  margin:0 0 10px;
}
.badge{
  font-size:12px;
  font-weight:900;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(0,0,0,.55);
  box-shadow:0 10px 28px rgba(0,0,0,.35);
}
.badge--gift{
  border-color:rgba(34,227,139,.35);
  background:rgba(34,227,139,.12);
}
.badge--sale{
  border-color:rgba(255,77,77,.35);
  background:rgba(255,77,77,.12);
}

.pviewer__main{
  display:flex;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
  border-radius:18px;
  border:1px solid var(--line);
  background:rgba(0,0,0,.25);
}
.pviewer__main::-webkit-scrollbar{height:0}
.slide{
  min-width:100%;
  scroll-snap-align:center;
  position:relative;
  aspect-ratio: 1 / 1;
}
@media (max-width:520px){
  .slide{aspect-ratio: 1 / 1}
}
.slide img{
  width:100%;
  height:100%;
  border-radius:18px;
}
.fit-cover img{object-fit:cover}
.fit-contain img{object-fit:contain; background:rgba(0,0,0,.35)}

.pviewer__thumbs{
  margin-top:10px;
  display:flex;
  gap:8px;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  padding-bottom:2px;
}
.pviewer__thumbs::-webkit-scrollbar{height:0}
.thumb{
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
  border-radius:14px;
  padding:0;
  width:76px;
  height:56px;
  flex:0 0 auto;
  cursor:pointer;
  overflow:hidden;
}
.thumb img{width:100%; height:100%; object-fit:cover}
.thumb.is-active{
  border-color:rgba(34,227,139,.45);
  box-shadow:0 0 0 4px rgba(34,227,139,.12);
}
.pviewer__hint{
  margin-top:10px;
  text-align:center;
  font-size:12px;
  color:var(--muted);
}

/* Info */
.stockLine{display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap}
.chip{
  padding:7px 10px;
  border-radius:999px;
  font-size:12px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
  font-weight:800;
}
.chip--ok{border-color:rgba(34,227,139,.28); background:rgba(34,227,139,.10)}
.chip--rate{
  display:flex; align-items:center; gap:8px;
  color:var(--muted);
  font-weight:700;
}
.stars{color:var(--warn); letter-spacing:1px}
.rateText{color:var(--text)}

.title{
  margin:10px 0 8px;
  font-size:24px;
  line-height:1.12;
  letter-spacing:.2px;
}
.subtitle{
  margin:0 0 10px;
  color:var(--muted);
  line-height:1.35;
  font-size:13.5px;
}

.priceCard{
  border:1px solid var(--line);
  background:linear-gradient(180deg, rgba(16,31,59,.85), rgba(16,31,59,.55));
  border-radius:18px;
  padding:14px;
}
.priceRow{
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  justify-content:space-between;
  gap:10px;
}
.priceNow{
  display:flex; align-items:baseline; gap:6px;
}
.priceNum{
  font-size:28px;
  font-weight:950;
  letter-spacing:.3px;
}
.priceCur{color:rgba(255,255,255,.9); font-weight:800}
.priceOld{
  color:rgba(255,255,255,.55);
  text-decoration:line-through;
  font-weight:700;
  font-size:13px;
  white-space:nowrap;
}

.timerCard{
  margin-top:12px;
  border:1px solid var(--line);
  background:rgba(0,0,0,.25);
  border-radius:16px;
  padding:12px;
}
.timerHead{
  font-size:12px;
  font-weight:900;
  letter-spacing:.6px;
  color:rgba(255,255,255,.85);
}
.timer{
  margin-top:6px;
  font-family:var(--mono);
  font-weight:950;
  font-size:30px;
  letter-spacing:1px;
}
.timerNote{margin-top:6px; font-size:12px; color:var(--muted); line-height:1.35}

.trust{margin-top:12px; display:grid; gap:8px}
.trust__item{
  display:flex;
  gap:10px;
  align-items:flex-start;
  padding:10px 10px;
  border:1px solid var(--line);
  border-radius:14px;
  background:rgba(255,255,255,.03);
}
.ico{width:22px; height:22px; display:grid; place-items:center}
.trust__text{font-size:13px; line-height:1.35; color:rgba(255,255,255,.9)}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border-radius:16px;
  padding:14px 16px;
  font-weight:950;
  letter-spacing:.2px;
  cursor:pointer;
  border:1px solid transparent;
  user-select:none;
}
.btn--primary{
  margin-top:12px;
  width:100%;
  background:linear-gradient(180deg, var(--accent), var(--accent2));
  color:#06120e;
  border-color:rgba(0,0,0,.15);
}
.btn--primary:active{transform:scale(.99)}
.btn--ghost{
  background:rgba(255,255,255,.03);
  border-color:var(--line);
  color:var(--text);
}
.btn--ghost:active{transform:scale(.99)}
.btn--full{width:100%}

/* Video */
.videoCard{
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid var(--line);
  background:#000;
  box-shadow:var(--shadow);
}
.video{
  width:100%;
  height:auto;
  aspect-ratio: 1 / 1;
  background:#000;
}

/* Benefits cards */
.cards3{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
  margin-top:10px;
}
.mini{
  padding:14px;
}
.mini__icon{font-size:18px}
.mini__title{font-weight:950; margin-top:8px; font-size:14px}
.mini__text{margin-top:6px; color:var(--muted); font-size:13px; line-height:1.35}

/* Steps */
.steps{display:grid; gap:10px}
.step{
  display:flex;
  gap:12px;
  align-items:flex-start;
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
  border-radius:18px;
  padding:12px 14px;
}
.step__num{
  width:44px; height:44px;
  border-radius:14px;
  display:grid; place-items:center;
  font-family:var(--mono);
  font-weight:950;
  background:rgba(34,227,139,.12);
  border:1px solid rgba(34,227,139,.25);
}
.step__title{font-weight:950; font-size:14px}
.step__text{margin-top:6px; color:var(--muted); font-size:13px; line-height:1.35}

.noteCard{
  margin-top:12px;
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
  padding:14px;
}
.noteImg{
  border-radius:16px;
  border:1px solid var(--line);
  background:rgba(0,0,0,.25);
}
.noteTitle{font-weight:950; font-size:14px; margin-bottom:8px}
.list{margin:0; padding-left:18px; color:rgba(255,255,255,.92)}
.list li{margin:6px 0}
.list span:first-child{color:var(--muted)}

/* Reviews */
.reviewsGrid{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
}
.review{
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
  border-radius:18px;
  padding:14px;
}
.review__head{
  display:flex;
  gap:10px;
  align-items:center;
}
.avatar{
  width:44px; height:44px;
  border-radius:50%;
  display:grid; place-items:center;
  font-weight:950;
  background:radial-gradient(circle at 30% 30%, rgba(255,255,255,.35), rgba(34,227,139,.18) 55%, rgba(0,0,0,.35));
  border:1px solid rgba(255,255,255,.10);
}
.review__name{font-weight:950}
.review__stars{color:var(--warn); letter-spacing:1px; font-size:14px; margin-top:2px}
.review__stars.is-4{letter-spacing:1px}
.review__text{margin:10px 0 0; color:rgba(255,255,255,.92); line-height:1.45; font-size:13.5px}

/* FAQ */
.faq{display:grid; gap:10px}
.faq__item{
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
  border-radius:18px;
  padding:10px 12px;
}
.faq__item summary{
  cursor:pointer;
  font-weight:950;
  font-size:14px;
  list-style:none;
}
.faq__item summary::-webkit-details-marker{display:none}
.faq__a{
  margin-top:8px;
  color:var(--muted);
  line-height:1.45;
  font-size:13px;
}

/* Order */
.orderCard{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
  border:1px solid var(--line);
  background:linear-gradient(180deg, rgba(16,31,59,.75), rgba(16,31,59,.45));
  border-radius:var(--radius);
  padding:14px;
  box-shadow:var(--shadow);
}
.orderCard__right{
  display:none;
}

.field{display:block; margin-top:10px}
.field__label{display:block; font-size:12.5px; color:var(--muted); margin-bottom:6px; font-weight:800}
.field__input{
  width:100%;
  padding:14px 14px;
  border-radius:16px;
  border:1px solid var(--line);
  background:rgba(0,0,0,.20);
  color:var(--text);
  font-size:16px;
  outline:none;
}
.field__input:focus{border-color:rgba(34,227,139,.40); box-shadow:0 0 0 4px rgba(34,227,139,.10)}

.miniSummary{
  border:1px solid var(--line);
  border-radius:18px;
  background:rgba(0,0,0,.20);
  padding:12px;
}
.miniSummary__imgWrap{
  position:relative;
  aspect-ratio: 1 / 1;
  border-radius:16px;
  overflow:hidden;
  border:1px solid var(--line);
}
.miniSummary__imgWrap img{height:100%; width:100%; object-fit:cover}
.miniBadge{
  position:absolute;
  left:10px;
  top:10px;
  font-size:12px;
  font-weight:950;
  padding:7px 10px;
  border-radius:999px;
  background:rgba(34,227,139,.14);
  border:1px solid rgba(34,227,139,.30);
}
.miniSummary__title{margin-top:10px; font-weight:950; font-size:14px}
.miniSummary__price{margin-top:6px}
.miniSummary__now{font-weight:950}
.miniSummary__old{margin-left:8px; color:rgba(255,255,255,.55); text-decoration:line-through}
.miniSummary__timer{margin-top:8px; font-size:13px}
.miniSummary__trust{margin-top:10px; display:grid; gap:6px; color:rgba(255,255,255,.92)}
.line{display:flex; gap:8px; align-items:flex-start; font-size:13px}

/* Footer */
.footer{
  margin-top:14px;
  padding-top:12px;
  border-top:1px solid var(--line);
}
.footer__grid{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
}
.footer__title{font-weight:950; font-size:14px}
.footer__muted{margin-top:6px; color:var(--muted); font-size:13px}
.footer__links{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  justify-content:flex-start;
  color:rgba(255,255,255,.9);
  font-weight:800;
  font-size:13px;
}
.footer__links a{opacity:.92}
.footer__links a:hover{opacity:1}
.footer__bottom{
  margin-top:12px;
  display:flex;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
  color:rgba(255,255,255,.8);
  font-size:12.5px;
}

/* Desktop tweaks */
@media (min-width: 960px){
  /* badges overlay on desktop */
  .pviewer__badges{position:absolute; left:12px; top:12px; margin:0}

  .hero{padding:28px 0 16px}
  .hero__grid{grid-template-columns: 1.05fr .95fr; gap:14px}
  .strip__grid{grid-template-columns:repeat(3, 1fr)}
  .cards3{grid-template-columns:repeat(3, 1fr)}
  .reviewsGrid{grid-template-columns:repeat(3, 1fr)}
  .noteCard{grid-template-columns: 0.95fr 1.05fr; align-items:center}
  .orderCard{grid-template-columns: 1.15fr .85fr}
  .orderCard__right{display:block}
  .priceNum{font-size:32px}
  .slide{aspect-ratio: 1 / 1}
  .thumb{width:84px; height:84px}
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  .btn:active, .fab:active{transform:none}
}


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

main{padding-bottom:calc(96px + env(safe-area-inset-bottom));}

/* =========================
   Width consistency (HERO + ORDER)
   ========================= */
.hero .container,
#order .container{
  overflow:hidden; /* prevents "wider than container" look due to shadows/overflow */
}
.hero__grid > *,
.orderCard > *{
  min-width:0; /* allows grid items to shrink without causing horizontal overflow */
}
/* Safety: if orderCard is not wrapped by .container */
section > .orderCard{
  width:calc(100% - 32px);
  max-width:1120px;
  margin:0 auto;
}

/* =========================
   Square photos (Gallery + Thumbs)
   ========================= */
.slide{aspect-ratio: 1 / 1;}
@media (max-width:520px){
  .slide{aspect-ratio: 1 / 1;}
}
@media (min-width:960px){
  .slide{aspect-ratio: 1 / 1;}
  .thumb{width:84px; height:84px;}
}
.thumb{width:72px; height:72px;}

/* =========================
   CTA unification + Floating bar + Video square
   ========================= */

/* All CTA buttons same gradient as primary */
.btn--ghost{
  background:linear-gradient(180deg, var(--accent), var(--accent2));
  color:#06120e;
  border-color:rgba(0,0,0,.15);
}
.btn--ghost:hover{filter:saturate(1.05)}
.btn--ghost:active{transform:scale(.99)}

/* Floating CTA bar */
.floatingCta{
  position:fixed;
  left:0;
  right:0;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index:60;
  transform: translateY(130%);
  opacity:0;
  transition: transform .28s ease, opacity .28s ease;
}
.floatingCta.is-show{
  transform: translateY(0);
  opacity:1;
}
.floatingCta__panel{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(7,16,29,.72);
  box-shadow:0 18px 40px rgba(0,0,0,.45);
  backdrop-filter:saturate(130%) blur(10px);
}
@supports not (backdrop-filter: blur(10px)){
  .floatingCta__panel{background:rgba(7,16,29,.92)}
}
.floatingCta__left{display:flex; flex-direction:column; gap:4px; min-width:0}
.floatingCta__price{
  display:flex;
  align-items:baseline;
  gap:10px;
  font-weight:950;
  letter-spacing:.2px;
  min-width:0;
}
.floatingCta__now{white-space:nowrap}
.floatingCta__disc{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:6px 8px;
  border-radius:999px;
  border:1px solid rgba(255,77,77,.35);
  background:rgba(255,77,77,.12);
  font-size:12px;
  font-weight:950;
  white-space:nowrap;
}
.floatingCta__timer{
  display:flex;
  gap:8px;
  align-items:center;
  color:rgba(255,255,255,.86);
  font-size:12px;
  min-width:0;
}
.floatingCta__timerVal{
  font-family:var(--mono);
  font-weight:950;
  letter-spacing:1px;
}
.floatingCta__btn{
  border-radius:999px;
  padding:12px 14px;
  width:auto;
  white-space:nowrap;
}
@media (max-width: 420px){
  .floatingCta__panel{flex-wrap:wrap; border-radius:22px}
  .floatingCta__btn{width:100%}
}

/* Discount pill in price block (visible on mobile too) */
.discountTag{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:6px 8px;
  border-radius:999px;
  border:1px solid rgba(255,77,77,.35);
  background:rgba(255,77,77,.12);
  font-size:12px;
  font-weight:950;
  margin-left:10px;
  white-space:nowrap;
}

/* Square video with crop */
.videoCard{
  aspect-ratio: 1 / 1;
}
.video{
  aspect-ratio: 1 / 1;
  width:100%;
  height:100%;
  object-fit:cover;
}

.fab{display:none !important}
