/* OXYS — Keitaro image-block landing, restyled */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Poppins:wght@400;500;600;700&display=swap");

* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  color: #3a2c26;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
button {
  font-family: inherit;
}

:root {
  --rose: #e8637a;
  --rose-dark: #c94860;
  --gold: #b98a4e;
  --ink: #3a2c26;
  --ink-soft: #74665f;
  --cream: #fdf8f4;
  --border: #f0e2d8;
  --shadow: 0 10px 30px rgba(60, 40, 25, 0.08);
}

.page {
  width: min(100%, 760px);
  margin: 0 auto;
}
.visual img,
.visual video {
  display: block;
  width: 100%;
  height: auto;
}

/* Blocks that trigger the popup on click */
.visual.is-cta {
  cursor: pointer;
  position: relative;
}
.visual.is-cta:active img {
  transform: scale(0.985);
}
.visual.is-cta img {
  transition: transform 0.15s ease;
}

/* ---------- Reviews carousel (submedia) ---------- */
.submedia {
  padding: 18px 0;
  background: #fff;
}
.submedia .submedia-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  text-align: center;
  color: var(--ink);
  margin: 0 0 4px;
  padding: 0 14px;
}
.submedia .submedia-sub {
  text-align: center;
  color: var(--ink-soft);
  font-size: 13.5px;
  margin: 0 0 16px;
  padding: 0 14px;
}
.review-carousel {
  position: relative;
  padding: 0 14px;
}
.review-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 0 14px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.review-track::-webkit-scrollbar {
  display: none;
}
.review-track img,
.review-track video {
  scroll-snap-align: start;
  flex: 0 0 78%;
  max-width: 320px;
  height: 340px;
  object-fit: contain;
  background: #000;
  border-radius: 14px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.review-track img {
  background: #fff;
}

/* ---------- Real HTML review card (text-based, not screenshots) ---------- */
.review-track .review-card {
  scroll-snap-align: start;
  flex: 0 0 78%;
  max-width: 320px;
  height: auto;
  min-height: 300px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 18px;
  display: flex;
  flex-direction: column;
}
.review-card .rc-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.review-card .rc-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #eadfd6;
  color: var(--rose-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}
.review-card .rc-name {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
}
.review-card .rc-stars {
  color: #f5a623;
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.review-card .rc-stars .empty {
  color: var(--border);
}
.review-card .rc-meta {
  font-size: 12px;
  color: var(--ink-soft);
  margin-bottom: 2px;
}
.review-card .rc-verified {
  font-size: 12px;
  font-weight: 600;
  color: #c07c1f;
  margin-bottom: 10px;
}
.review-card .rc-text {
  font-size: 13.5px;
  color: var(--ink);
  line-height: 1.55;
  margin: 0 0 12px;
  flex: 1;
}
.review-card .rc-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ink-soft);
  border-top: 1px solid var(--border);
  padding-top: 10px;
}
.review-card .rc-useful {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12px;
  color: var(--ink);
  background: var(--cream);
}
.review-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 2px;
}
.review-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
  transition: background 0.2s;
}
.review-dots span.active {
  background: var(--rose-dark);
}

.review-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: opacity 0.2s ease;
}
.review-arrow svg {
  width: 18px;
  height: 18px;
}
.review-arrow.prev {
  left: 2px;
}
.review-arrow.next {
  right: 2px;
}
.review-arrow[disabled] {
  opacity: 0;
  pointer-events: none;
}
@media (max-width: 480px) {
  .review-arrow {
    width: 32px;
    height: 32px;
  }
  .review-arrow svg {
    width: 15px;
    height: 15px;
  }
}

/* ---------- Onpage lead-form card ---------- */
.lead-form-section {
  margin: 20px 14px;
  padding: 0;
}
.lead-form-card {
  background: #fff;
  border-radius: 20px;
  padding: 22px 20px;
  border: 1px solid var(--border);
  box-shadow: 0 16px 40px rgba(60, 40, 25, 0.12);
}
.lead-form-card .mini-product {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  margin-bottom: 18px;
}
.lead-form-card .mini-product img {
  width: 78px;
  height: auto;
  flex-shrink: 0;
  margin-bottom: 4px;
}
.lead-form-card .mini-product .name {
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}
.lead-form-card .mini-product .price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 24px;
  color: var(--rose-dark);
  font-weight: 800;
}
.lead-form-card .mini-product .price s {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 15px;
  text-decoration: line-through;
}
.lead-form-card .mini-product .price .discount-tag {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, var(--rose) 0%, var(--rose-dark) 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.3px;
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(201, 72, 96, 0.35);
}

.lead-form-card h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 21px;
  margin: 0 0 6px;
  text-align: center;
  color: var(--ink);
}
.lead-form-card p {
  margin: 0 0 16px;
  text-align: center;
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.5;
}

.test-form {
  display: grid;
  gap: 10px;
}
.test-form input {
  width: 100%;
  padding: 14px;
  border: 1.5px solid #e6d9ce;
  border-radius: 12px;
  font-size: 16px;
  background: #fdfaf7;
  color: var(--ink);
}
.test-form input:focus {
  outline: none;
  border-color: var(--rose);
}
.test-form button {
  padding: 15px;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  background: linear-gradient(135deg, var(--rose) 0%, var(--rose-dark) 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(201, 72, 96, 0.35);
  transition: transform 0.15s ease;
}
.test-form button:active {
  transform: scale(0.98);
}

.lead-form-card small {
  display: block;
  margin-top: 12px;
  color: #a89a91;
  font-size: 10.5px;
  text-align: center;
  line-height: 1.5;
}

/* ---------- Popup modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(35, 25, 20, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.modal:not([hidden]) {
  opacity: 1;
  pointer-events: auto;
}
.modal[hidden] {
  display: flex;
}
.modal-card {
  position: relative;
  width: min(100%, 380px);
  background: #fff;
  border-radius: 20px;
  padding: 26px 22px 22px;
  transform: translateY(16px) scale(0.97);
  transition: transform 0.25s ease;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}
.modal:not([hidden]) .modal-card {
  transform: translateY(0) scale(1);
}
.modal .close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 0;
  background: #f3ece7;
  font-size: 18px;
  color: var(--ink-soft);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.modal-badge {
  display: inline-block;
  background: #fdeceb;
  color: var(--rose-dark);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.modal-card img.modal-product {
  width: 150px;
  margin: 0 auto 12px;
}
.modal-card .price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 24px;
  color: var(--rose-dark);
  font-weight: 800;
  margin: 0 0 14px;
}
.modal-card .price s {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 15px;
  text-decoration: line-through;
}
.modal-card .price .discount-tag {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, var(--rose) 0%, var(--rose-dark) 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.3px;
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(201, 72, 96, 0.35);
}
.modal-card h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 20px;
  margin: 0 0 6px;
  text-align: center;
  color: var(--ink);
}
.modal-card p {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin: 0 0 16px;
  text-align: center;
  line-height: 1.5;
}

@media (min-width: 700px) {
  .review-track img,
  .review-track .review-card {
    flex: 0 0 45%;
  }
}
