/* ══════════════════════════════════════════════════════════════════════════
   TRACK FOR YOU — CSS
   Aesthetic: Editorial Minimalism
   Font: Onest (Google Fonts, Cyrillic)
   Palette: warm whites + deep forest green
══════════════════════════════════════════════════════════════════════════ */

/* ── VARIABLES ──────────────────────────────────────────────────────────── */
:root {
  --white:       #FFFFFF;
  --bg:          #f1f9fc;
  --surface:     #daeef6;
  --green:       #42a44a;
  --green-dark:  #2b6e32;
  --green-mid:   #7cd983;
  --green-pale:  #c8f0cc;
  --text:        #0f0f0f;
  --muted:       #4b4b4b;
  --subtle:      #8aaab8;
  --border:      #c5e4ef;
  --r-sm:   10px;
  --r-md:   18px;
  --r-lg:   24px;
  --r-pill: 100px;
}

/* ── RESET ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── BASE ───────────────────────────────────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
  font-family: 'Onest', system-ui, -apple-system, sans-serif;
  background: var(--white);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 72px;
}

/* ── ENTRANCE ANIMATION ─────────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── PRIMARY BUTTON ─────────────────────────────────────────────────────── */
.btn-primary {
  display: block;
  width: 100%;
  max-width: 480px;
  margin: 0 auto 12px;
  padding: 18px 28px;
  background: var(--green-dark);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  border-radius: var(--r-pill);
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: opacity 0.15s, transform 0.15s;
}
.btn-primary:active { opacity: 0.88; transform: scale(0.98); }

/* ── HERO ─────────────────────────────────────────────────────────────────── */
.hero {
  background: var(--white);
  text-align: center;
  padding: 52px 24px 0;
  animation: fadeUp 0.5s ease both;
}

.hero__title {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
  max-width: 360px;
  margin: 0 auto 20px;
}

.hero__subtitle {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 320px;
  margin: 0 auto 28px;
}

.hero__features {
  list-style: none;
  max-width: 310px;
  margin: 0 auto 36px;
  text-align: left;
}

.hero__features li {
  position: relative;
  padding-left: 30px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  margin-bottom: 12px;
}

.hero__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  background: var(--green);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='5 10 8.5 13.5 15 7' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.hero__image-wrap {
  max-width: 480px;
  margin: 0 auto;
}

.hero__image-wrap img {
  width: 100%;
  border-radius: var(--r-md) var(--r-md) 0 0;
  display: block;
}

.hero__image-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--bg);
  border-radius: var(--r-md) var(--r-md) 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--subtle);
  font-size: 13px;
}

/* ── SOCIAL PROOF (green band) ──────────────────────────────────────────── */
.hero__social-proof {
  padding: 26px 24px;
  text-align: center;
}

.hero__social-proof-text {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #0f0f0f;
}

/* ── HERO CTA ─────────────────────────────────────────────────────────────── */
.hero__cta {
  background: var(--white);
  padding: 32px 24px 40px;
  text-align: center;
}

.hero__price {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

.hero__price strong { color: var(--text); font-weight: 700; }

.hero__guarantee {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.hero__guarantee::before {
  content: '🔒';
  font-size: 11px;
}

/* ── WHY ──────────────────────────────────────────────────────────────────── */
.why {
  background: var(--bg);
  padding: 52px 24px;
}

.why__title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
  max-width: 300px;
  margin: 0 auto 32px;
  text-align: center;
}

.why__label {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  max-width: 380px;
  margin: 0 auto 14px;
}

.why__list {
  list-style: none;
  max-width: 380px;
  margin: 0 auto 32px;
}

.why__list li {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 10px;
  padding-left: 18px;
  position: relative;
}

.why__list li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 8px;
  width: 7px;
  height: 7px;
  background: var(--green-mid);
  border-radius: 50%;
}

.why__badge {
  display: block;
  background: var(--surface);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  padding: 14px 22px;
  border-radius: var(--r-pill);
  margin: 0 auto 16px;
  max-width: 380px;
  border: 1px solid var(--border);
  text-align: center;
  letter-spacing: 0.2px;
}

.why__accent {
  font-size: 20px;
  font-weight: 800;
  color: var(--green-mid);
  text-align: center;
  max-width: 380px;
  margin: 0 auto 24px;
}

.why__body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 340px;
  margin: 0 auto 20px;
}

.why__punch {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  text-align: center;
  color: #fff;
  max-width: 380px;
  margin: 0 auto;
  padding: 18px 24px;
  background: var(--text);
  border-radius: var(--r-md);
}

/* ── COMPARE ─────────────────────────────────────────────────────────────── */
.compare {
  background: var(--white);
  padding: 52px 24px;
}

.compare__title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
  max-width: 320px;
  margin: 0 auto 28px;
  text-align: center;
}

.compare__card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px 20px;
  max-width: 480px;
  margin: 0 auto 12px;
}

.compare__card--green {
  background: var(--green-pale);
  border-color: #A3F4C0;
}

.compare__card-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
}

.compare__list { list-style: none; margin-bottom: 16px; }

.compare__list li {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  margin-bottom: 8px;
  padding-left: 18px;
  position: relative;
}

.compare__list li::before {
  content: '×';
  position: absolute;
  left: 0;
  color: #D44;
  font-weight: 700;
  line-height: 1.55;
}

.compare__conclusion {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--muted);
}

.compare__body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--green-dark);
  margin-bottom: 24px;
  font-weight: 600;
}

.compare__check { display: flex; justify-content: center; }

.compare__check-icon {
  width: 52px;
  height: 52px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.compare__check-icon svg {
  width: 24px;
  height: 24px;
  stroke: #fff;
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── SYSTEM ──────────────────────────────────────────────────────────────── */
.system {
  background: var(--bg);
  padding: 52px 24px;
}

.system__title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  max-width: 320px;
  margin: 0 auto 8px;
}

.system__subtitle {
  font-size: 14px;
  color: var(--muted);
  text-align: center;
  margin-bottom: 32px;
}

.system__label {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.system__list { list-style: none; margin-bottom: 32px; }

.system__list li {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text);
  margin-bottom: 12px;
  padding-left: 20px;
  position: relative;
}

.system__list li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 9px;
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
}

.system__statement {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--muted);
}

.system__badge {
  display: block;
  background: var(--green-dark);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  padding: 24px 28px;
  border-radius: var(--r-lg);
  max-width: 480px;
}

/* ── CATALOG ─────────────────────────────────────────────────────────────── */
.catalog {
  background: var(--white);
  padding: 52px 16px;
}

.catalog__title {
  font-size: 22px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 24px;
}

.catalog__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
}

.catalog__card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s;
}

.catalog__card:active { border-color: var(--green-mid); }

.catalog__card--full { grid-column: 1 / -1; }

/* ── FEATURED (flagship p6) ──────────────────────────────────────────────── */
.catalog__card--featured {
  border: 2px solid var(--green-dark);
  box-shadow: 0 4px 20px rgba(43, 110, 50, 0.18);
  position: relative;
}

.catalog__ribbon {
  position: absolute;
  top: 12px;
  right: 0;
  background: var(--green-dark);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: var(--r-sm) 0 0 var(--r-sm);
  z-index: 2;
  white-space: nowrap;
}

.catalog__savings-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #fff3cd;
  color: #7a4f00;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--r-pill);
  margin-bottom: 6px;
  width: fit-content;
}

.catalog__savings-ref {
  font-size: 10px;
  color: var(--subtle);
  margin-top: -4px;
  margin-bottom: 6px;
  line-height: 1.4;
}

.catalog__includes {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 8px;
}
.catalog__includes-tag {
  font-size: 10px;
  font-weight: 600;
  color: var(--green-dark);
  background: var(--green-pale);
  border-radius: var(--r-pill);
  padding: 2px 8px;
  white-space: nowrap;
}

.catalog__img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg);
}

.catalog__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.3s;
}

.catalog__body {
  padding: 10px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.catalog__name {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 4px;
}

.catalog__card--full .catalog__name { font-size: 14px; }

.catalog__descr {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.45;
  margin-bottom: 8px;
  flex: 1;
}

.catalog__card--full .catalog__descr { font-size: 12px; }

.catalog__price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.catalog__price {
  font-size: 14px;
  font-weight: 800;
  color: var(--green-dark);
}

.catalog__price-old {
  font-size: 11px;
  color: var(--subtle);
  text-decoration: line-through;
}

.catalog__discount {
  font-size: 10px;
  font-weight: 800;
  color: #7a4f00;
  background: #fff3cd;
  padding: 2px 6px;
  border-radius: var(--r-pill);
}

.catalog__proof {
  font-size: 10px;
  color: var(--subtle);
  line-height: 1.4;
  margin: -2px 0 8px;
}

.catalog__btns { display: flex; flex-direction: column; gap: 6px; }

.catalog__btn--buy {
  width: 100%;
  padding: 11px 4px;
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--r-sm);
  cursor: pointer;
  text-align: center;
  border: none;
  font-family: inherit;
  background: var(--green-dark);
  color: #fff;
  transition: opacity 0.15s;
  letter-spacing: 0.01em;
}
.catalog__btn--buy:active  { opacity: 0.72; }
.catalog__btn--buy:disabled { opacity: 0.45; cursor: default; }

.catalog__btn--details {
  background: none;
  border: none;
  color: var(--text-muted, #888);
  font-size: 11px;
  font-family: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-align: center;
  padding: 2px 0;
  transition: opacity 0.15s;
}
.catalog__btn--details:active { opacity: 0.6; }

/* ── RESULTS ─────────────────────────────────────────────────────────────── */
.results {
  background: var(--green-dark);
  padding: 56px 24px;
}

.results__title {
  font-size: 21px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.2;
  letter-spacing: 0.3px;
  text-align: center;
  max-width: 320px;
  margin: 0 auto 36px;
  color: #fff;
}

.results__list {
  list-style: none;
  max-width: 400px;
  margin: 0 auto 36px;
}

.results__list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 20px;
}

.results__check {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.results__check svg {
  width: 14px;
  height: 14px;
  stroke: #fff;
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.results__footer {
  font-size: 17px;
  font-weight: 600;
  font-style: italic;
  line-height: 1.4;
  text-align: center;
  max-width: 300px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.6);
}

/* ── REVIEWS ─────────────────────────────────────────────────────────────── */
.reviews {
  background: var(--bg);
  padding: 52px 24px;
  text-align: center;
}

.reviews__title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
}

.reviews__rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
}

.reviews__stars {
  font-size: 22px;
  letter-spacing: 2px;
  color: #F5A520;
  line-height: 1;
}

.reviews__score { font-size: 14px; color: var(--muted); }

.reviews__slider {
  position: relative;
  max-width: 480px;
  margin: 0 auto 18px;
  overflow: hidden;
  border-radius: var(--r-lg);
}

.reviews__track {
  display: flex;
  align-items: center;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.reviews__slide {
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reviews__slide img {
  width: 100%;
  display: block;
  border-radius: var(--r-lg);
}

.reviews__nav { display: flex; justify-content: center; gap: 10px; }

.reviews__nav-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--text);
  transition: background 0.15s;
  font-family: inherit;
}

.reviews__nav-btn:active { background: var(--surface); }

/* ── FAQ ─────────────────────────────────────────────────────────────────── */
.faq {
  background: var(--white);
  padding: 52px 24px;
}

.faq__title {
  font-size: 22px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 24px;
}

.faq__item { border-bottom: 1px solid var(--border); }

.faq__question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 0;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  line-height: 1.4;
  font-family: inherit;
}

.faq__icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  background: var(--bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 300;
  color: var(--muted);
  transition: transform 0.25s, background 0.2s;
  line-height: 1;
}

.faq__item.is-open .faq__icon {
  transform: rotate(45deg);
  background: var(--green-pale);
}

.faq__answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }

.faq__answer-inner {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
  padding-bottom: 20px;
}

.faq__answer-inner a { color: var(--green-mid); text-decoration: underline; }

/* ── FINAL CTA ───────────────────────────────────────────────────────────── */
.final-cta {
  background: var(--green-dark);
  padding: 56px 24px;
  text-align: center;
}

.final-cta__title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.3;
  max-width: 320px;
  margin: 0 auto 32px;
  color: #fff;
}

.final-cta .btn-primary {
  background: #fff;
  color: var(--green-dark);
}

/* ── PRODUCT DETAIL POPUP ────────────────────────────────────────────────── */
.pd-popup {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--white);
  transform: translateY(100%);
  transition: transform 0.38s cubic-bezier(0.32, 0.72, 0, 1);
  display: flex;
  flex-direction: column;
}

.pd-popup.is-open { transform: translateY(0); }

.pd-popup__header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--white);
  padding: 16px 20px 12px;
  flex-shrink: 0;
  border-bottom: 1px solid var(--border);
}

.pd-popup__back {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pd-popup__scroll {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.pd-popup__gallery { background: var(--bg); }

.pd-popup__main-img {
  width: 100%;
  aspect-ratio: 390 / 300;
  background: var(--surface);
  overflow: hidden;
}

.pd-popup__main-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.pd-popup__thumbs {
  display: flex;
  gap: 10px;
  padding: 10px 14px 14px;
  overflow-x: auto;
  scrollbar-width: none;
}

.pd-popup__thumbs::-webkit-scrollbar { display: none; }

.pd-popup__thumb {
  flex-shrink: 0;
  width: 78px;
  height: 60px;
  border-radius: var(--r-sm);
  border: 2px solid transparent;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.15s;
  background: var(--border);
}

.pd-popup__thumb.is-active { border-color: var(--green); }

.pd-popup__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pd-popup__info { padding: 22px 20px 52px; background: var(--white); }

.pd-popup__name {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 6px;
}

.pd-popup__code { font-size: 13px; color: var(--subtle); margin-bottom: 20px; }

.pd-popup__value {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  margin: 0 0 14px;
}

.pd-popup__price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.pd-popup__price { font-size: 12px; font-weight: 800; color: var(--green-dark); }

.pd-popup__price-old {
  font-size: 12px;
  color: var(--subtle);
  text-decoration: line-through;
}

.pd-popup__discount {
  font-size: 11px;
  font-weight: 800;
  color: #7a4f00;
  background: #fff3cd;
  padding: 2px 7px;
  border-radius: var(--r-pill);
}

.pd-popup__split {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 14px;
}
.pd-popup__split strong { color: var(--muted); font-weight: 600; }

.pd-popup__proof {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0 0 20px;
}

.pd-popup__footer {
  flex-shrink: 0;
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom, 0px));
  background: var(--white);
  border-top: 1px solid var(--border);
}

.pd-popup__buy {
  display: block;
  width: 100%;
  height: 52px;
  background: #000;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  border: none;
  border-radius: var(--r-md);
  cursor: pointer;
  letter-spacing: 0.2px;
  transition: opacity 0.2s;
}

.pd-popup__buy:active { opacity: 0.84; }
.pd-popup__buy--added { background: var(--green-mid); }

.pd-popup__trust {
  list-style: none;
  margin: 0 0 24px;
}

.pd-popup__trust li {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  padding-left: 18px;
  position: relative;
}

.pd-popup__trust li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green-dark);
  font-weight: 700;
}

.pd-popup__desc-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.pd-popup__desc-list { list-style: none; }

.pd-popup__desc-list li {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 6px;
  padding-left: 16px;
  position: relative;
}

.pd-popup__desc-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  background: var(--green-mid);
  border-radius: 50%;
}

#pdDesc {
  font-size: 12px;
  line-height: 1.75;
  color: var(--muted);
}

#pdDesc strong {
  color: var(--text);
  font-weight: 700;
}

/* ── CART BAR ─────────────────────────────────────────────────────────────── */
.cart-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--green-dark);
  padding: 12px 20px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
}

.cart-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 480px;
  margin: 0 auto;
  gap: 12px;
}

.cart-bar__info { display: flex; flex-direction: column; gap: 2px; }
.cart-bar__count { font-size: 12px; color: rgba(255, 255, 255, 0.6); }
.cart-bar__total { font-size: 18px; font-weight: 700; color: #fff; }

.cart-bar__btn {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--r-pill);
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
}

.cart-bar__btn:active { background: rgba(255, 255, 255, 0.25); }

/* ── CART PANEL ───────────────────────────────────────────────────────────── */
.cart-panel {
  position: fixed;
  inset: 0;
  z-index: 300;
  pointer-events: none;
}

.cart-panel.is-open { pointer-events: auto; }

.cart-panel__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.3s;
}

.cart-panel.is-open .cart-panel__overlay { opacity: 1; }

.cart-panel__sheet {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-radius: 20px 20px 0 0;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
}

.cart-panel.is-open .cart-panel__sheet { transform: translateY(0); }

.cart-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.cart-panel__title { font-size: 18px; font-weight: 800; }

.cart-panel__close {
  background: var(--bg);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 22px;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
}

.cart-panel__body {
  flex: 1;
  overflow-y: auto;
  padding: 12px 20px;
  -webkit-overflow-scrolling: touch;
}

.cart-empty {
  text-align: center;
  color: var(--subtle);
  font-size: 15px;
  padding: 40px 0;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.cart-item:last-child { border-bottom: none; }

.cart-item__img {
  width: 60px;
  height: 48px;
  object-fit: cover;
  border-radius: var(--r-sm);
  flex-shrink: 0;
  background: var(--bg);
}

.cart-item__info { flex: 1; min-width: 0; }

.cart-item__name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item__price { font-size: 13px; font-weight: 700; color: var(--green-dark); }

.cart-item__remove {
  background: none;
  border: none;
  font-size: 22px;
  color: var(--border);
  cursor: pointer;
  padding: 0 4px;
  flex-shrink: 0;
  line-height: 1;
  transition: color 0.15s;
  font-family: inherit;
}

.cart-item__remove:hover { color: #E05C5C; }

.cart-panel__footer {
  border-top: 1px solid var(--border);
  padding: 16px 20px;
  padding-bottom: calc(16px + env(safe-area-inset-bottom));
  flex-shrink: 0;
}

.cart-panel__total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 15px;
  color: var(--muted);
}

.cart-panel__total-row strong {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
}

.cart-panel__trust {
  font-size: 11px;
  color: var(--subtle);
  text-align: center;
  margin-bottom: 10px;
}

.cart-panel__checkout {
  display: block;
  width: 100%;
  padding: 17px;
  background: var(--green-dark);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  border: none;
  border-radius: var(--r-md);
  cursor: pointer;
  transition: opacity 0.15s;
}

.cart-panel__checkout:active { opacity: 0.85; }

.cart-panel__checkout:disabled {
  opacity: 0.5;
  cursor: default;
}

/* ── CART EMAIL / COUPON INPUT ───────────────────────────────────────────── */
.cart-panel__input {
  display: block;
  width: 100%;
  padding: 13px 14px;
  margin-bottom: 8px;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.cart-panel__input::placeholder { color: var(--subtle); }
.cart-panel__input:focus         { border-color: var(--green); }
.cart-panel__input.is-error      { border-color: #E05C5C; }

.cart-panel__coupon-toggle {
  margin-bottom: 8px;
  text-align: right;
}

.cart-panel__coupon-link {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 13px;
  color: var(--green-dark);
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cart-panel__coupon-row { margin-bottom: 4px; }
.cart-panel__coupon-row .cart-panel__input { margin-bottom: 0; }

.cart-panel__coupon-fields {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.cart-panel__coupon-fields .cart-panel__input {
  flex: 1;
  margin-bottom: 0;
}

.cart-panel__coupon-apply {
  flex-shrink: 0;
  padding: 0 16px;
  background: var(--green-dark);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  border: none;
  border-radius: var(--r-sm);
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s;
}

.cart-panel__coupon-apply:active  { opacity: 0.8; }
.cart-panel__coupon-apply:disabled { opacity: 0.5; cursor: default; }

.cart-coupon-feedback {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: var(--r-sm);
}

.cart-coupon-feedback--ok {
  background: var(--green-pale);
  color: var(--green-dark);
}

.cart-coupon-feedback--err {
  background: #fde8e8;
  color: #c0392b;
}

.cart-panel__orig-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
  font-size: 14px;
  color: var(--muted);
}

.cart-panel__orig-row[hidden] { display: none; }

.cart-panel__discount-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--green-dark);
}

.cart-panel__discount-row[hidden] { display: none; }

.cart-panel__discount-amount {
  font-weight: 700;
}

/* ── YANDEX SPLIT ─────────────────────────────────────────────────────────── */
.hero__split {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin-top: 10px;
  line-height: 1.5;
}

.hero__split strong { color: var(--text); }

.hero__trust {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin-top: 8px;
}

.catalog__split {
  font-size: 10px;
  color: var(--subtle);
  margin-bottom: 6px;
  line-height: 1.4;
}

.catalog__split strong { color: var(--muted); font-weight: 600; }

.cart-split {
  font-size: 12px;
  color: var(--subtle);
  text-align: center;
  margin-top: -6px;
  margin-bottom: 12px;
  line-height: 1.4;
}

/* ── PAYMENT SUCCESS OVERLAY ─────────────────────────────────────────────── */
.pay-success {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.pay-success[hidden] { display: none; }

.pay-success__box {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 40px 28px 32px;
  max-width: 360px;
  width: 100%;
  text-align: center;
  animation: fadeUp 0.35s ease both;
}

.pay-success__icon { font-size: 52px; margin-bottom: 16px; line-height: 1; }

.pay-success__title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
}

.pay-success__text {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 28px;
}

.pay-success__btn { margin: 0; max-width: 100%; }
