:root {
  --bg: #fff;
  --surface: #f5f5f2;
  --surface-2: #eeeeea;
  --text: #111;
  --muted: #686868;
  --line: #deded9;
  --accent: #0a0a0a;
  --success: #16833a;
  --radius: 16px;
  --max: 1160px;
  --shadow: 0 8px 30px rgba(0, 0, 0, .08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.45;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

.topbar {
  height: 52px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(18px, env(safe-area-inset-left));
  background: rgba(255, 255, 255, .96);
  position: relative;
  z-index: 20;
}

.logo {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -.03em;
  text-decoration: none;
}

.logo--small {
  font-size: 13px;
}

.topbar__trust {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #20a04a;
  border-radius: 999px;
  box-shadow: 0 0 0 4px rgba(32, 160, 74, .10);
  flex: 0 0 auto;
}

.product-shell {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(380px, .94fr);
  gap: 56px;
  padding: 28px 20px 0px;
}

.gallery-wrap {
  min-width: 0;
  position: sticky;
  top: 18px;
  align-self: start;
}

.gallery {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  border-radius: var(--radius);
  background: var(--surface);
  touch-action: pan-x pinch-zoom;
}

.gallery::-webkit-scrollbar {
  display: none;
}
.redtimertext {
  color: #ff4444;
  font-weight: 900;
}
.slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  aspect-ratio: 1;
  overflow: hidden;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}

.gallery-ui {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 12px 0 8px;
}

.dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 18px;
  height: 3px;
  border-radius: 99px;
  background: #d4d4cf;
  transition: width .18s ease, background .18s ease;
}

.dot.is-active {
  width: 30px;
  background: #111;
}

.counter {
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
}

.rating-line {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  font-size: 13px;
  margin-bottom: 8px;
}

.stars {
  letter-spacing: .06em;
  font-size: 12px;
  line-height: 1;
}

.stars--large {
  font-size: 18px;
}

.muted {
  color: var(--muted);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -.055em;
  margin-bottom: 6px;
}

.micro-benefit {
  font-size: 17px;
  line-height: 1.4;
  color: #3f3f3f;
  max-width: 42ch;
  margin-bottom: 20px;
}

.price-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  flex-wrap: wrap;
}
.jcont {
  padding: 8px 16px;
  background:#fff;
  gap : 8px;
}

.price {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -.045em;
}

.compare {
  font-size: 17px;
  color: #8a8a8a;
  text-decoration: line-through;
}

.discount {
  font-size: 12px;
  font-weight: 900;
  background: #111;
  color: white;
  padding: 5px 7px;
  border-radius: 6px;
}

.price-proof {
  border-top: 2px dashed var(--line);
  border-bottom: 2px dashed var(--line);
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 16px;
  background: #fafaf8;
  margin: 4px 0 0;
  font-size: 13px;
}

.price-proof p {
  margin: 0;
}

.price-proof__icon {
  flex: 0 0 auto;
  font-weight: 900;
}

.product-form {
  margin-top: 4px;
  padding: 0 16px;
}

.variant-field {
  border: 0;
  padding: 0;
  margin: 0 0 18px;
}

.variant-field legend {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  margin-bottom: 10px;
}

.variants {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.variant {
  position: relative;
  cursor: pointer;
}

.variant input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.variant span {
  display: grid;
  place-items: center;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  background: white;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.variant:hover span {
  border-color: #999;
}

.variant.is-selected span {
  border-color: #111;
  box-shadow: inset 0 0 0 1px #111;
}

.atc {
  margin: 16px 0;
  width: 100%;
  min-height: 62px;
  border: 0;
  border-radius: 12px;
  background: var(--accent);
  color: white;
  cursor: pointer;
  display: grid;
  place-items: center;
  gap: 3px;
  padding: 16px;
  font-weight: 900;
  letter-spacing: -.01em;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .18);
  transition: transform .14s ease, opacity .14s ease, box-shadow .14s ease;
}

.atc:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .21);
}

.atc:active {
  transform: translateY(1px) scale(.997);
}

.atc small {
  opacity: .72;
  font-size: 14px;
  font-weight: 700;
}

.stock-line {
  margin: 11px 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
}

.checkout-trust {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.checkout-trust>div {
  padding: 13px;
  display: grid;
  gap: 2px;
}

.checkout-trust>div+div {
  border-left: 1px solid var(--line);
}

.checkout-trust strong {
  font-size: 12px;
}

.checkout-trust span {
  font-size: 11px;
  color: var(--muted);
}

.benefit-strip {
  list-style: none;
  padding: 0;
  margin: 13px 0 0;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  font-size: 11px;
  color: #575757;
}

.proof-band {
  max-width: var(--max);
  margin: 0 auto 70px;
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-band div {
  text-align: center;
  display: grid;
  gap: 2px;
}

.proof-band strong {
  font-size: 21px;
  letter-spacing: -.03em;
}

.proof-band span {
  color: var(--muted);
  font-size: 12px;
}

.content-section,
.ugc-section,
.reviews-section,
.closing-cta {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px 80px;
}

.section-kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .11em;
  font-weight: 900;
  color: var(--muted);
  margin-bottom: 9px;
}

.content-section h2,
.ugc-section h2,
.reviews-section h2,
.closing-cta h2 {
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.02;
  letter-spacing: -.05em;
  max-width: 15ch;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.feature-grid article {
  padding: 22px;
  background: var(--surface);
  border-radius: 14px;
  min-height: 190px;
}

.feature-grid article>span {
  font-size: 11px;
  color: var(--muted);
  font-weight: 900;
}

.feature-grid h3 {
  margin: 34px 0 8px;
  font-size: 18px;
  letter-spacing: -.02em;
}

.feature-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
}

.section-head h2 {
  margin-bottom: 0;
}

.ugc-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.ugc-grid figure {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
}

.ugc-grid img {
  aspect-ratio: .82;
  object-fit: cover;
}

.reviews-section {
  scroll-margin-top: 20px;
}

.review-summary {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 50px;
  align-items: end;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.review-summary strong {
  display: block;
  margin-top: 9px;
  font-size: 24px;
  letter-spacing: -.03em;
}

.review-summary p {
  color: var(--muted);
  font-size: 12px;
  margin: 3px 0 0;
}

.bars {
  display: grid;
  gap: 6px;
}

.bars>div {
  display: grid;
  grid-template-columns: 14px 1fr 34px;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
}

.bars i {
  height: 5px;
  background: #ecece8;
  border-radius: 99px;
  overflow: hidden;
}

.bars b {
  display: block;
  height: 100%;
  background: #111;
  border-radius: inherit;
}

.bars em {
  font-style: normal;
  text-align: right;
}

.reviews-list {
  margin-top: 18px;
}

.review-card {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.review-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 11px;
}

.review-card h3 {
  font-size: 20px;
  letter-spacing: -.025em;
  margin: 14px 0 8px;
}

.review-card p {
  max-width: 68ch;
  color: #404040;
  font-size: 14px;
}

.review-author {
  display: flex;
  gap: 8px;
  font-size: 12px;
}

.review-author span {
  color: var(--muted);
}

.secondary-btn {
  display: block;
  margin: 20px auto 0;
  border: 1px solid #111;
  background: white;
  border-radius: 10px;
  min-height: 44px;
  padding: 0 18px;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.closing-cta {
  text-align: center;
  border-top: 1px solid var(--line);
  padding-top: 70px;
}

.closing-cta p {
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  margin-bottom: 8px;
}

.closing-cta h2 {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 8px;
}

.closing-cta>span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 20px;
}

.atc--link {
  max-width: 430px;
  margin: 0 auto;
  text-decoration: none;
  min-height: 54px;
}

footer {
  max-width: var(--max);
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 24px 20px 34px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  font-size: 11px;
  color: var(--muted);
}

footer nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

footer nav a {
  text-decoration: none;
}

footer p {
  margin: 0;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 50;
  transform: translate(-50%, 20px);
  background: #111;
  color: white;
  padding: 11px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  box-shadow: var(--shadow);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 820px) {
  .topbar {
    height: 48px;
    padding-left: 14px;
    padding-right: 14px;
  }

  .topbar__trust {
    font-size: 10px;
  }

  .product-shell {
    display: block;
    padding: 0 0 16px;
  }

  .gallery-wrap {
    position: relative;
    top: auto;
  }

  .gallery {
    border-radius: 0;
  }

  .gallery-ui {
    padding: 0 14px;
    margin-top: 9px;
  }


  .micro-benefit {
    font-size: 15px;
  }

  .price {
    font-size: 28px;
  }

  .benefit-strip {
    gap: 6px;
    flex-wrap: wrap;
  }

  .proof-band {
    margin-bottom: 54px;
    padding: 16px 10px;
  }

  .proof-band strong {
    font-size: 18px;
  }

  .content-section,
  .ugc-section,
  .reviews-section,
  .closing-cta {
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 64px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid article {
    min-height: 0;
  }

  .feature-grid h3 {
    margin-top: 22px;
  }

  .ugc-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .review-summary {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  footer {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 420px) {
  .checkout-trust {
    grid-template-columns: 1fr;
  }

  .checkout-trust>div+div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .variants {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* ==========================================
   STICKY ATC
   ========================================== */

.sticky-atc {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 100;

  display: flex;
  align-items: center;
  gap: 10px;

  width: min(100%, 480px);
  padding:
    9px 10px calc(9px + env(safe-area-inset-bottom));

  transform: translate3d(-50%, 115%, 0);

  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid #e5e5e5;
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.10);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  transition: transform 0.22s ease;
}

.sticky-atc.is-visible {
  transform: translate3d(-50%, 0, 0);
}


/* Image */

.sticky-atc__image {
  flex: 0 0 52px;

  width: 52px;
  height: 52px;

  object-fit: cover;

  border: 1px solid #e6e6e6;
  border-radius: 9px;

  background: #f5f5f5;
}


/* Product info */

.sticky-atc__info {
  flex: 1 1 auto;
  min-width: 0;
  line-height: 1.2;
}

.sticky-atc__title {
  display: block;

  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;

  color: #111;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.sticky-atc__variant {
  display: block;

  margin-top: 4px;

  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;

  color: #777;
  font-size: 10.5px;
  font-weight: 600;
}


/* CTA */

.sticky-atc__button {
  flex: 0 0 auto;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  min-width: 118px;
  min-height: 54px;
  padding: 8px 12px;

  border-radius: 10px;

  background: #111;
  color: #fff;

  text-decoration: none;
  text-align: center;
}

.sticky-atc__button-label {
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}


/* Small phones */

@media (max-width: 360px) {
  .sticky-atc {
    gap: 7px;
    padding-left: 8px;
    padding-right: 8px;
  }

  .sticky-atc__image {
    flex-basis: 46px;
    width: 46px;
    height: 46px;
  }

  .sticky-atc__title {
    font-size: 10.5px;
  }

  .sticky-atc__variant {
    font-size: 9.5px;
  }

  .sticky-atc__button {
    min-width: 108px;
    padding-left: 8px;
    padding-right: 8px;
  }
}

/* ===== URGENCY BANNER ===== */
.urgent-banner {
  background: #ff4444;
  color: #fff;
  text-align: center;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.5px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  animation: pulse-bg 1.5s infinite alternate;
}

@keyframes pulse-bg {
  0% { background: #cc0000; }
  100% { background: #ff3333; }
}

/* ===== SCARCITY BADGE ===== */
.scarcity-badge {
  padding: 16px;
  background: #fafafa;
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stock-bar {
  height: 6px;
  background: #f0d0d0;
  border-radius: 99px;
  overflow: hidden;
  width: 100%;
}

#stockBarFill {
  display: block;
  height: 100%;
  background: #ff4444;
  border-radius: 99px;
  transition: width 0.5s ease;
}

/* ===== LIVE SOCIAL ===== */
.live-social {
  display: flex;
  justify-content: space-between;
  background: #f0f8ff;
  padding: 16px;
  font-size: 12px;
  font-weight: 700;
  color: #004488;
}

/* ===== GAMIFIED ATC ===== */
.atc--pulse {
  animation: atc-pulse 1.8s infinite;
  position: relative;
}

@keyframes atc-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 68, 0, 0.7); }
  70% { box-shadow: 0 0 0 20px rgba(255, 68, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 68, 0, 0); }
}

.atc-bonus {
  display: block;
  font-size: 10px;
  background: #ffdd44;
  color: #111;
  padding: 2px 10px;
  border-radius: 30px;
  margin-top: 4px;
  font-weight: 800;
}

/* ===== RECENT PURCHASES TICKER ===== */
.recent-purchases {
  margin-top: 12px;
  font-size: 12px;
  background: #f0faf0;
  padding: 8px 12px;
  color: #006600;
  font-weight: 700;
  text-align: center;
}

/* ===== SOCIAL PROOF POPUP (floating) ===== */
.social-proof-popup {
  position: fixed;
  left: 20px;
  bottom: 100px;
  z-index: 200;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(6px);
  border: 1px solid #ddd;
  border-radius: 60px;
  padding: 10px 18px 10px 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  font-size: 13px;
  max-width: 300px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  animation: slideUp 0.5s ease;
}

.social-proof-popup img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ff6600;
}

@keyframes slideUp {
  from { transform: translateY(60px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ===== PROOF BAND EXTRA ===== */
.proof-band {
  grid-template-columns: repeat(4,1fr) !important;
}

/* ===== CLOSING CTA DARK ===== */
.closing-cta .atc--link {
  background: #ff6600 !important;
  color: white !important;
  font-size: 20px !important;
  padding: 18px !important;
}

/* ===== STICKY ATC ENHANCEMENTS ===== */
.sticky-atc__button {
  background: #ff6600 !important;
  font-weight: 900 !important;
  font-size: 14px !important;
}