/* ==========================================================================
   1. DESIGN TOKENS & RESET
   ========================================================================== */
:root {
  --red: #ef4038;
  --red-hover: #d8342d;
  --cream: #fff8ef;
  --cream-card: #ffffff;
  --cream-soft: #f5ece0;
  --ink: #17110f;
  --ink-2: #221917;
  --ink-muted: #544944;
  --muted: #9b8f88;
  --line-dark: rgba(255, 248, 239, 0.12);
  --line-light: rgba(23, 17, 15, 0.1);
  --tg-blue: #24a1de;
  --radius: 14px;
  --radius-lg: 20px;
  --max: 1160px;
  --shadow-card: 0 20px 40px -24px rgba(23, 17, 15, 0.32);
  --shadow-float: 0 12px 32px rgba(23, 17, 15, 0.35);
}

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

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

body {
  margin: 0;
  font-family: "Open Sans", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  overflow-x: hidden;
}

body.has-sticky-bar {
  padding-bottom: 72px;
}

@media (min-width: 769px) {
  body.has-sticky-bar {
    padding-bottom: 0;
  }
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.is-hidden {
  display: none !important;
}

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

/* ==========================================================================
   2. TYPOGRAPHY (Reels Condensed ExtraBold Italic Signature)
   ========================================================================== */
h1, h2, h3, .logo, .display-font {
  font-style: italic;
  font-weight: 800;
  font-stretch: 75%;
  font-variation-settings: "wdth" 75;
  letter-spacing: 0.01em;
  line-height: 1.03;
  margin: 0;
}

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

.ul {
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 0.09em;
  text-underline-offset: 0.14em;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 12px;
  font-weight: 800;
  color: var(--red);
  margin: 0 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================================================
   3. BUTTONS & INTERACTIVE ELEMENTS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  padding: 15px 26px;
  border-radius: 999px;
  border: 2px solid var(--red);
  cursor: pointer;
  transition: transform 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
  text-align: center;
  line-height: 1.2;
  min-height: 50px;
}

.btn:hover {
  transform: translateY(-2px);
  background: var(--red-hover);
  border-color: var(--red-hover);
  box-shadow: 0 10px 24px -8px rgba(239, 64, 56, 0.55);
}

.btn:active {
  transform: translateY(0);
}

.btn-ghost {
  background: transparent;
  color: inherit;
  border-color: currentColor;
}

.btn-ghost:hover {
  background: rgba(239, 64, 56, 0.08);
  border-color: var(--red);
  color: var(--red);
  box-shadow: none;
}

.btn-tg {
  background: var(--tg-blue);
  border-color: var(--tg-blue);
  color: #fff;
}

.btn-tg:hover {
  background: #1e8ec4;
  border-color: #1e8ec4;
  box-shadow: 0 10px 24px -8px rgba(36, 161, 222, 0.5);
}

.btn-dark {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

.btn-dark:hover {
  background: #2c211e;
  border-color: #2c211e;
  box-shadow: 0 10px 24px -8px rgba(23, 17, 15, 0.45);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 14px;
  min-height: 40px;
}

.btn-full {
  width: 100%;
}

.icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ==========================================================================
   4. STICKY NAVIGATION
   ========================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 20px;
  background: rgba(23, 17, 15, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--cream);
  border-bottom: 1px solid var(--line-dark);
}

@media (min-width: 960px) {
  .nav {
    padding: 14px 32px;
  }
}

.logo {
  font-size: 24px;
  text-decoration: none;
  white-space: nowrap;
}

.logo span {
  color: var(--red);
}

.nav-links {
  display: none;
  gap: 22px;
  font-size: 14px;
  font-weight: 600;
}

@media (min-width: 960px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.15s, color 0.15s;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--red);
}

/* ==========================================================================
   5. HERO SECTION (ABOVE THE FOLD — ONLINE FOCUS)
   ========================================================================== */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px 18px 48px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 44px;
    padding: 64px 32px 64px;
  }
}

.hero h1 {
  font-size: clamp(46px, 9vw, 94px);
}

.hero-lead {
  font-size: 17px;
  color: var(--ink-muted);
  max-width: 36em;
  margin: 20px 0 0;
}

@media (min-width: 900px) {
  .hero-lead {
    font-size: 19px;
  }
}

.hero-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.hero-bullets li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-bullets li::before {
  content: "✓";
  color: var(--red);
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}

@media (min-width: 560px) {
  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.hero-media {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.hero-media-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(145deg, #2b201d 0%, #17110f 100%);
  box-shadow: 0 30px 60px -20px rgba(23, 17, 15, 0.45);
}

.hero-media-frame video,
.hero-media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  background: rgba(23, 17, 15, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--cream);
  padding: 12px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}

.hero-badge strong {
  display: block;
  font-size: 14px;
  color: #fff;
}

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

.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(239, 64, 56, 0.25);
  flex-shrink: 0;
}

/* ==========================================================================
   6. LEAD MAGNET BANNER (FREE FLAT STOMACH COURSE)
   ========================================================================== */
.lead-magnet-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 18px 24px;
}

@media (min-width: 900px) {
  .lead-magnet-wrap {
    padding: 0 32px 32px;
  }
}

.lead-magnet {
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}

@media (min-width: 860px) {
  .lead-magnet {
    grid-template-columns: 1.3fr 0.7fr;
    padding: 36px 40px;
  }
}

.lead-magnet::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(239, 64, 56, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.tag-free {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.lead-magnet h2 {
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 10px;
}

.lead-magnet p {
  margin: 0;
  color: rgba(255, 248, 239, 0.85);
  font-size: 15px;
  max-width: 44em;
}

.lead-magnet-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.lead-magnet-note {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

/* ==========================================================================
   7. SECTIONS & GRIDS
   ========================================================================== */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 60px 18px;
}

@media (min-width: 900px) {
  .section {
    padding: 84px 32px;
  }
}

.section-tight-top {
  padding-top: 10px;
}

.section-cta {
  margin-top: 28px;
}

.section.dark {
  max-width: none;
  background: var(--ink);
  color: var(--cream);
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.title {
  font-size: clamp(38px, 6vw, 66px);
  margin-bottom: 14px;
}

.sub {
  font-size: 16px;
  max-width: 42em;
  margin: 0 0 32px;
  opacity: 0.85;
}

@media (min-width: 900px) {
  .sub {
    font-size: 18px;
    margin-bottom: 40px;
  }
}

/* ==========================================================================
   8. ONLINE COURSES SHOWCASE (CORE CONVERSION BLOCK)
   ========================================================================== */
.courses-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 860px) {
  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

.course-card {
  background: var(--cream-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line-light);
  display: flex;
  flex-direction: column;
}

.course-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #231917;
  overflow: hidden;
}

.course-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.course-card:hover .course-media img {
  transform: scale(1.03);
}

.course-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(23, 17, 15, 0.86);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
}

.course-body {
  padding: 24px 22px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

@media (min-width: 600px) {
  .course-body {
    padding: 28px 30px 32px;
  }
}

.course-body h3 {
  font-size: clamp(32px, 4vw, 42px);
}

.course-meta {
  font-weight: 800;
  color: var(--red);
  font-size: 14px;
  margin: 6px 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.course-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.spec-chip {
  background: var(--cream-soft);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 8px;
}

.course-list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  flex: 1;
}

.course-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 9px;
  font-size: 15px;
  color: var(--ink-muted);
}

.course-list li::before {
  content: "•";
  position: absolute;
  left: 6px;
  color: var(--red);
  font-weight: 900;
  font-size: 18px;
  line-height: 1.2;
}

.course-footer {
  border-top: 1px solid var(--line-light);
  padding-top: 18px;
  margin-top: auto;
}

.course-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 12px;
  margin-bottom: 14px;
}

.course-price {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
}

.price-old {
  font-size: 16px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: line-through;
}

.price-arrow {
  font-size: 15px;
  font-weight: 700;
  color: var(--muted);
}

.price-current {
  color: var(--red);
  font-weight: 800;
}

.price-note {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-muted);
  background: var(--cream-soft);
  padding: 2px 8px;
  border-radius: 999px;
}

.course-access-note {
  font-size: 12px;
  color: var(--ink-muted);
  font-weight: 600;
}

.course-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ==========================================================================
   9. DEEP CORE CHALLENGE BANNER
   ========================================================================== */
.core-banner {
  position: relative;
  background-color: var(--ink);
  background-image: url("img/core.jpg");
  background-size: cover;
  background-position: center;
  color: var(--cream);
  overflow: hidden;
}

.core-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    95deg,
    rgba(23, 17, 15, 0.95) 0%,
    rgba(23, 17, 15, 0.8) 55%,
    rgba(23, 17, 15, 0.45) 100%
  );
}

.core-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 68px 18px;
}

@media (min-width: 900px) {
  .core-inner {
    padding: 92px 32px;
  }
}

.core-inner p.desc {
  max-width: 36em;
  font-size: 17px;
  margin: 14px 0 26px;
  color: rgba(255, 248, 239, 0.9);
}

/* ==========================================================================
   10. ABOUT TRAINER + SOCIAL PROOF
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

@media (min-width: 860px) {
  .about-grid {
    grid-template-columns: 380px 1fr;
    gap: 56px;
  }
}

.about-photo {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  background: #2b201d;
}

.about-lead {
  font-size: 18px;
  font-weight: 700;
  margin: 16px 0 12px;
}

.about-text {
  color: rgba(255, 248, 239, 0.85);
  margin: 0 0 14px;
}

.about-text:last-of-type {
  margin-bottom: 0;
}

.about-actions {
  margin-top: 20px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 24px 0;
  padding: 18px 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.stat-item strong {
  display: block;
  font-style: italic;
  font-weight: 800;
  font-size: clamp(26px, 4vw, 36px);
  color: var(--red);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-item span {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.3;
  display: block;
}

/* Reviews (Horizontal scroll-snap on mobile, 3-col grid on desktop) */
.reviews-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  -webkit-overflow-scrolling: touch;
}

.reviews-track::-webkit-scrollbar {
  height: 6px;
}

.reviews-track::-webkit-scrollbar-thumb {
  background: rgba(23, 17, 15, 0.2);
  border-radius: 99px;
}

@media (min-width: 860px) {
  .reviews-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: visible;
    padding-bottom: 0;
  }
}

.review-card {
  flex: 0 0 84%;
  scroll-snap-align: start;
  background: var(--cream-card);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--line-light);
  box-shadow: 0 12px 28px -20px rgba(23, 17, 15, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--red);
  margin-bottom: 10px;
}

.review-text {
  font-size: 14.5px;
  color: var(--ink);
  margin: 0 0 18px;
  font-style: italic;
}

.review-author {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==========================================================================
   11. PERSONAL COACHING & OFFLINE KHARKIV
   ========================================================================== */
.grid3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 820px) {
  .grid3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
}

.feature-card {
  background: var(--cream-card);
  border-radius: var(--radius);
  padding: 26px;
  border-top: 4px solid var(--red);
  box-shadow: 0 12px 28px -20px rgba(23, 17, 15, 0.25);
}

.feature-card h3 {
  font-size: 28px;
  margin-bottom: 10px;
}

.feature-card p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-muted);
}

/* Offline directions + schedule */
.dir-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 36px;
}

@media (min-width: 820px) {
  .dir-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

.dir-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  background: #2b201d;
}

.dir-card h3 {
  font-size: 22px;
  margin: 12px 0 4px;
}

@media (min-width: 820px) {
  .dir-card h3 {
    font-size: 28px;
  }
}

.dir-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
}

.clubs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 820px) {
  .clubs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

.club-box {
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 24px;
}

.club-box h3 {
  font-size: 32px;
  margin-bottom: 18px;
}

.club-note {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 20px;
}

.schedule {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 22px;
  font-size: 14px;
}

.schedule th,
.schedule td {
  text-align: left;
  padding: 9px 6px;
  border-bottom: 1px solid var(--line-dark);
}

.schedule th {
  color: var(--red);
  width: 76px;
}

.schedule td:nth-child(2) {
  font-weight: 700;
  width: 64px;
}

.tags {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags li {
  border: 1px solid var(--line-dark);
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 13px;
}

/* ==========================================================================
   12. FAQ ACCORDION
   ========================================================================== */
.faq-list {
  max-width: 780px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--cream-card);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  padding: 18px 20px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 24px;
  font-weight: 400;
  color: var(--red);
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 12px 20px 18px;
  font-size: 15px;
  color: var(--ink-muted);
  border-top: 1px solid rgba(23, 17, 15, 0.05);
}

/* ==========================================================================
   13. FOOTER & STICKY MOBILE CTA BAR
   ========================================================================== */
.footer {
  background: #0d0908;
  color: var(--cream);
  text-align: center;
  padding: 44px 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  margin: 16px 0;
  font-size: 14px;
}

.footer-links a {
  text-decoration: none;
  opacity: 0.85;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--red);
}

.footer-copy {
  color: var(--muted);
  font-size: 13px;
  margin: 12px 0 0;
}

.sticky-mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 35;
  background: rgba(23, 17, 15, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line-dark);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  display: flex;
  gap: 10px;
  transform: translateY(100%);
  transition: transform 0.25s ease;
}

.sticky-mobile-bar.visible {
  transform: translateY(0);
}

@media (min-width: 769px) {
  .sticky-mobile-bar {
    display: none;
  }
}

.sticky-mobile-bar .btn {
  flex: 1;
  padding: 10px 12px;
  font-size: 13px;
  min-height: 44px;
}

/* ==========================================================================
   14. CHECKOUT / SANDBOX MODAL (BOTTOM SHEET ON MOBILE)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(13, 9, 8, 0.72);
  backdrop-filter: blur(4px);
  display: none;
  align-items: flex-end;
  justify-content: center;
}

.modal-backdrop.open {
  display: flex;
}

@media (min-width: 640px) {
  .modal-backdrop {
    align-items: center;
    padding: 20px;
  }
}

.modal-sheet {
  background: var(--cream);
  color: var(--ink);
  width: 100%;
  max-width: 480px;
  border-radius: 22px 22px 0 0;
  padding: 24px 20px calc(30px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.4);
  position: relative;
  animation: slideUp 0.25s ease;
  max-height: 92vh;
  overflow-y: auto;
}

@media (min-width: 640px) {
  .modal-sheet {
    border-radius: 22px;
    padding: 30px 28px;
  }
}

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

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-light);
  background: #fff;
  color: var(--ink);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-eyebrow {
  margin-bottom: 6px;
}

.modal-title {
  font-size: 32px;
}

.modal-product-box {
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin: 14px 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.modal-product-box strong {
  font-size: 16px;
  display: block;
}

.modal-product-box span {
  font-size: 13px;
  color: var(--ink-muted);
}

.modal-price-tag {
  font-weight: 800;
  color: var(--red);
  font-size: 16px;
  text-align: right;
  flex-shrink: 0;
}

.modal-price-tag .price-old {
  font-size: 13px;
  margin-right: 4px;
}

.modal-price-tag .price-note {
  display: block;
  margin-top: 2px;
  padding: 0;
  background: transparent;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-muted);
}

/* Sandbox Quick Pay UI */
.quick-pay-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.pay-btn-sandbox {
  background: #000;
  color: #fff;
  border: none;
  border-radius: 12px;
  height: 48px;
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: opacity 0.15s;
}

.pay-btn-sandbox:hover {
  opacity: 0.88;
}

.pay-btn-tag {
  font-size: 11px;
  opacity: 0.7;
  font-weight: 400;
}

.sandbox-notice {
  background: #fff3cd;
  border: 1px solid #ffe082;
  color: #5c4300;
  font-size: 13px;
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 16px;
  line-height: 1.45;
}

.sandbox-notice.highlight {
  animation: pulseBox 0.5s ease;
  border-color: var(--red);
  background: #fff0ef;
  color: var(--ink);
}

@keyframes pulseBox {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

.dm-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.copy-helper {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--line-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: var(--ink-muted);
}

.copy-btn {
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.copy-btn:hover {
  border-color: var(--red);
  color: var(--red);
}
