/* ===== VS FIGI: Mobile-First COD Landing Page (feminine redesign) ===== */
/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 16px; line-height: 1.5; color: #2b2126;
  background: #faf5f7; min-width: 320px; overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

/* Layout */
.main_wrapper { max-width: 480px; margin: 0 auto; background: #fff; position: relative; padding-bottom: 80px; }

/* VS signature stripes ribbon */
.vs-stripes {
  height: 8px;
  background: repeating-linear-gradient(90deg, #f48fb1 0 16px, #fce4ec 16px 32px);
}

/* ===== MARQUEE BAR ===== */
.marquee-bar {
  background: #fde7f1; overflow: hidden; white-space: nowrap;
  position: static;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.marquee-track {
  display: inline-flex; animation: marquee-scroll 25s linear infinite;
  padding: 10px 0;
}
.marquee-track span {
  font-size: 13px; font-weight: 600; color: #ad1457;
  display: inline-block; white-space: nowrap;
}
@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== HERO SECTION ===== */
.hero-section { padding: 0; }
.hero-content { padding: 20px 16px; text-align: center; }
.hero-content h1 {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 26px; font-weight: 800; line-height: 1.2; margin-bottom: 12px;
  color: #2b2126; letter-spacing: -0.2px;
}
.hero-content h1 span { color: #e31c79; }
.hero-image { margin: 0 auto 16px; border-radius: 12px; overflow: hidden; }
.hero-image img { width: 100%; }
.hero-subtitle { font-size: 14px; color: #7a6a72; margin: 8px 0 16px; }

/* Rotating trust message */
.rotating-trust-message {
  text-align: center; padding: 6px 16px;
  min-height: 32px; display: flex; align-items: center; justify-content: center;
}
.rotating-trust-message .rotating-text {
  font-size: 13px; font-weight: 600; color: #ad1457;
  transition: opacity 0.4s ease;
}

.hero-cta {
  display: block; width: 100%; padding: 18px; background: #e31c79; color: #fff;
  border: none; border-radius: 14px; font-size: 18px; font-weight: 800;
  cursor: pointer; text-align: center; margin-top: 20px;
  letter-spacing: 0.3px; box-shadow: 0 4px 15px rgba(227,28,121,0.35);
  animation: pulse-btn 2s infinite;
}
.hero-cta:active { transform: scale(0.98); }

@keyframes pulse-btn {
  0%, 100% { box-shadow: 0 4px 15px rgba(227,28,121,0.35); }
  50% { box-shadow: 0 4px 25px rgba(227,28,121,0.55); }
}

/* ===== SECTION TITLES ===== */
.section-title {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 23px; font-weight: 800; text-align: center;
  padding: 0 16px; margin-bottom: 20px; color: #2b2126;
}
.section-title span { color: #e31c79; }
.section-divider { height: 8px; background: #faf1f5; }

/* ===== BENEFITS ===== */
.benefits-section { padding: 30px 16px; }
.benefit-card {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 16px 0; border-bottom: 1px solid #f9e9f0;
}
.benefit-card:last-child { border-bottom: none; }
.benefit-card .benefit-emoji { font-size: 28px; flex-shrink: 0; }
.benefit-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.benefit-card p { font-size: 13px; color: #7a6a72; line-height: 1.4; }

/* ===== PRODUCT SPECS ===== */
.specs-section { padding: 24px 16px; background: #fdf7fa; }
.specs-list { list-style: none; }
.specs-list li {
  padding: 10px 0; border-bottom: 1px solid #f5e3ec;
  display: flex; justify-content: space-between; font-size: 14px; gap: 16px;
}
.specs-list li:last-child { border-bottom: none; }
.specs-list li b { color: #2b2126; flex-shrink: 0; }
.specs-list li span { color: #6d5c65; text-align: right; }

/* ===== GALLERY ===== */
.gallery-section { padding: 24px 16px; }
.gallery-carousel { position: relative; }
.gallery-thumbnails {
  display: flex; gap: 8px; margin-bottom: 12px;
  overflow-x: auto; scroll-behavior: smooth; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.gallery-thumbnails::-webkit-scrollbar { display: none; }
.gallery-thumb {
  /* 5 полных тамбов + половина шестого — намёк, что можно листать */
  flex: 0 0 calc((100% - 40px) / 5.5);
  aspect-ratio: 1 / 1; height: auto;
  border-radius: 10px; overflow: hidden;
  border: 3px solid transparent; cursor: pointer; transition: border-color 0.2s;
}
.gal-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 34px; height: 34px; border-radius: 50%; border: none; padding: 0;
  background: rgba(255,255,255,0.94); color: #e31c79;
  font-size: 24px; font-weight: 700; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.22); cursor: pointer;
}
.gal-arrow:active { transform: translateY(-50%) scale(0.94); }
.gal-arrow.left { left: 2px; }
.gal-arrow.right { right: 2px; }
.gallery-thumb.active { border-color: #e31c79; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main { border-radius: 12px; overflow: hidden; }
.gallery-main img { width: 100%; border-radius: 12px; }

/* ===== PACKAGE OFFERS ===== */
.hero-packages { margin-top: 8px; }
.packages-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px;
  max-width: 480px; margin: 0 auto;
}
.package-card {
  border: 2px solid #f3dce8; border-radius: 12px; padding: 16px 10px 12px;
  position: relative; transition: border-color .15s, background .15s;
  cursor: pointer; text-align: center; background: #fff;
}
.package-card.selected { border-color: #e31c79; background: #fdf0f6; }
.pkg-badge {
  display: inline-block; font-size: 10px; font-weight: 700;
  background: #e31c79; color: #fff; border-radius: 20px;
  padding: 2px 8px; margin-bottom: 8px;
}
.pkg-top-badge {
  position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  color: #fff; font-size: 9px; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; padding: 3px 10px; border-radius: 0 0 8px 8px;
  white-space: nowrap;
}
.pkg-top-badge.pop { background: #2b2126; }
.pkg-top-badge.best { background: #2e7d32; }
.pkg-name { font-size: 13px; font-weight: 700; margin-bottom: 8px; color: #2b2126; line-height: 1.2; }
.pkg-old { font-size: 11px; color: #a8949e; text-decoration: line-through; margin-bottom: 2px; }
.pkg-price { font-size: 22px; font-weight: 800; color: #e31c79; line-height: 1; margin-bottom: 6px; }
.pkg-price small { font-size: 14px; font-weight: 700; }
.pkg-per { font-size: 10px; color: #a8949e; line-height: 1.3; }
.pkg-green { font-size: 10px; font-weight: 700; color: #2e7d32; margin-top: 5px; }

/* ===== SIZE GUIDE TABLE ===== */
.size-guide-section { padding: 30px 16px; }
.size-table-wrap { border-radius: 14px; overflow: hidden; border: 1px solid #f3dce8; }
.size-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.size-table th {
  background: #e31c79; color: #fff; padding: 10px 6px; font-weight: 700;
  text-transform: uppercase; font-size: 11px; letter-spacing: 0.5px;
}
.size-table td { padding: 10px 6px; text-align: center; border-bottom: 1px solid #f9e9f0; color: #4a3c43; }
.size-table tr:nth-child(even) td { background: #fdf7fa; }
.size-table tr:last-child td { border-bottom: none; }
.size-table td.size-letter { font-weight: 800; color: #e31c79; font-size: 15px; }
.size-guide-note {
  margin-top: 14px; background: #fdf0f6; border: 1px solid #f6d4e5;
  border-radius: 12px; padding: 14px; font-size: 13px; color: #6d5c65; line-height: 1.5;
}
.size-guide-note b { color: #ad1457; }
.size-guide-source { margin-top: 10px; font-size: 11px; color: #b9a7b0; text-align: center; }
.size-measure-list { list-style: none; margin-top: 8px; }
.size-measure-list li { padding: 4px 0 4px 22px; position: relative; }
.size-measure-list li::before { content: '📏'; position: absolute; left: 0; font-size: 12px; }

/* ===== REVIEWS ===== */
.reviews-section { padding: 30px 16px; background: #fdf7fa; }
.reviews-stats { text-align: center; margin-bottom: 24px; }
.stars-display { font-size: 28px; color: #f59e0b; margin-bottom: 4px; letter-spacing: 2px; }
.reviews-stats .rating-text { font-size: 14px; color: #7a6a72; }
.reviews-list { display: flex; flex-direction: column; gap: 12px; }

.review-card-compact {
  background: #fff; border-radius: 14px; padding: 14px;
  box-shadow: 0 2px 8px rgba(173,20,87,0.06); border: 1px solid #f7e6ee;
  display: grid;
  grid-template-columns: 1fr 70px;
  grid-template-rows: auto auto auto;
  gap: 0 12px;
}
.review-card-compact.no-thumb { grid-template-columns: 1fr; }
.review-compact-left {
  grid-column: 1 / -1;
  display: flex; align-items: center; gap: 10px; margin-bottom: 8px;
}
.review-avatar-letter {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 18px; color: #fff;
}
.review-compact-info { flex: 1; }
.review-compact-name { font-weight: 700; font-size: 14px; color: #2b2126; }
.review-compact-stars { color: #f59e0b; font-size: 14px; letter-spacing: 1px; }
.review-compact-body {
  grid-column: 1 / 2;
  font-size: 13px; line-height: 1.5; color: #55464e;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
}
.review-card-compact.no-thumb .review-compact-body { grid-column: 1 / -1; }
.review-compact-bottom { grid-column: 1 / 2; margin-top: 6px; }
.review-card-compact.no-thumb .review-compact-bottom { grid-column: 1 / -1; }
.review-read-more {
  font-size: 13px; font-weight: 600; color: #e31c79; cursor: pointer;
  text-decoration: underline; display: inline-block;
}
.review-read-more:active { color: #ad1457; }
.review-compact-thumb { grid-column: 2 / 3; grid-row: 2 / 4; align-self: center; }
.review-compact-thumb img { width: 70px; height: 70px; object-fit: cover; border-radius: 10px; }

.review-card-compact.expanded .review-compact-body {
  -webkit-line-clamp: unset; display: block; overflow: visible;
}
.review-card-compact.expanded { grid-template-columns: 1fr; }
.review-card-compact.expanded .review-compact-bottom { grid-column: 1 / -1; }
.review-card-compact.expanded .review-compact-thumb {
  grid-column: 1 / -1; grid-row: auto; align-self: stretch; margin-top: 12px;
}
.review-card-compact.expanded .review-compact-thumb img {
  width: 100%; height: auto; max-height: 400px; border-radius: 12px; object-fit: cover;
}

.reviews-show-more {
  display: block; width: 100%; padding: 14px; background: #fff;
  border: 2px solid #e31c79; border-radius: 12px; color: #e31c79;
  font-weight: 700; font-size: 14px; text-align: center; cursor: pointer;
  margin-top: 16px;
}

/* Add review button & popup */
.add-review-btn {
  display: block; width: 100%; padding: 12px; margin-top: 12px;
  background: #fdf7fa; border: 2px dashed #e8c8d9; border-radius: 12px;
  color: #7a6a72; font-weight: 600; font-size: 14px; text-align: center;
  cursor: pointer; transition: all 0.2s;
}
.add-review-btn:hover { border-color: #e31c79; color: #e31c79; }

.review-popup-overlay {
  display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.5); z-index: 2000;
  align-items: center; justify-content: center;
}
.review-popup-overlay.active { display: flex; }
.review-popup-content {
  background: #fff; border-radius: 16px; padding: 24px; width: 90%; max-width: 400px;
  max-height: 85vh; overflow-y: auto; position: relative;
}
.review-popup-close {
  position: absolute; top: 12px; right: 16px; background: none; border: none;
  font-size: 24px; cursor: pointer; color: #999; line-height: 1;
}
.review-popup-content h3 { font-size: 18px; font-weight: 700; margin-bottom: 16px; text-align: center; }
.review-form-group { margin-bottom: 14px; }
.review-form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; color: #4a3c43; }
.review-form-group input[type="text"],
.review-form-group textarea {
  width: 100%; padding: 10px 14px; border: 2px solid #f0dbe7; border-radius: 10px;
  font-size: 15px; background: #fdf7fa; transition: border-color 0.2s;
}
.review-form-group input:focus,
.review-form-group textarea:focus { border-color: #e31c79; outline: none; background: #fff; }
.review-star-select { display: flex; gap: 4px; }
.star-pick { font-size: 28px; cursor: pointer; color: #ddd; transition: color 0.15s; }
.star-pick.active { color: #f59e0b; }
.review-submit-btn {
  display: block; width: 100%; padding: 14px; background: #e31c79; color: #fff;
  border: none; border-radius: 12px; font-size: 16px; font-weight: 700;
  cursor: pointer;
}

/* ===== HOW TO ORDER ===== */
.steps-section-v2 { padding: 24px 16px; }
.steps-v2-list { display: flex; flex-direction: column; align-items: center; gap: 0; }
.step-v2-item {
  background: #fff; border: 1px solid #f7e6ee; border-radius: 14px;
  padding: 18px 16px; width: 100%; text-align: center;
  box-shadow: 0 2px 8px rgba(173,20,87,0.04); position: relative;
}
.step-v2-number {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  width: 24px; height: 24px; border-radius: 50%;
  background: linear-gradient(135deg, #e31c79, #f06292);
  color: #fff; font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 6px rgba(227,28,121,0.3);
}
.step-v2-icon { font-size: 28px; margin-bottom: 6px; }
.step-v2-label {
  font-size: 11px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 1.5px; color: #e31c79; margin-bottom: 4px;
}
.step-v2-text { font-size: 14px; font-weight: 600; color: #4a3c43; line-height: 1.4; }
.step-v2-connector {
  width: 2px; height: 16px; background: linear-gradient(to bottom, #e31c79, #f06292);
  border-radius: 1px;
}

/* ===== FAQ ===== */
.faq-section { padding: 30px 16px; background: #fdf7fa; }
.faq-item { border-bottom: 1px solid #f5e3ec; }
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0; cursor: pointer; font-weight: 600; font-size: 15px;
  color: #2b2126; -webkit-tap-highlight-color: transparent;
}
.faq-question::after {
  content: '+'; font-size: 24px; font-weight: 300; color: #e31c79;
  transition: transform 0.3s; flex-shrink: 0; margin-left: 12px;
}
.faq-item.active .faq-question::after { content: '−'; }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  font-size: 14px; color: #6d5c65; line-height: 1.6;
}
.faq-item.active .faq-answer { max-height: 500px; }
.faq-answer-inner { padding: 0 0 16px; }

/* ===== GUARANTEE ===== */
.guarantee-block { padding: 8px 16px; }
.guarantee-section-new {
  display: flex; align-items: center; gap: 14px;
  padding: 16px; background: #fdf0f6; border-radius: 12px;
  border: 1px solid #f6d4e5;
}
.guarantee-icon-badge {
  width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, #e31c79, #f06292); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-weight: 800; font-size: 20px; line-height: 1;
  box-shadow: 0 4px 12px rgba(227,28,121,0.3);
}
.guarantee-icon-badge small { font-size: 9px; font-weight: 700; letter-spacing: 0.5px; margin-top: 2px; }
.guarantee-text-content h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.guarantee-text-content p { font-size: 13px; color: #6d5c65; line-height: 1.4; }

/* ===== ORDER FORM ===== */
.order-section { padding: 16px 16px 30px; }
.order-form-wrapper {
  background: #fff; border: 2px solid #e31c79; border-radius: 16px;
  padding: 24px 16px; box-shadow: 0 4px 20px rgba(227,28,121,0.1);
}
.order-form-wrapper h3 {
  font-size: 20px; font-weight: 800; text-align: center; margin-bottom: 4px;
}
.order-form-wrapper .form-subtitle {
  text-align: center; font-size: 13px; color: #7a6a72; margin-bottom: 20px;
}
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; color: #4a3c43; }
.form-group input, .form-group select {
  display: block; width: 100%; height: 52px; padding: 0 16px;
  border: 2px solid #f0dbe7; border-radius: 10px; font-size: 16px;
  color: #2b2126; background: #fdf7fa; transition: border-color 0.2s;
  -webkit-appearance: none;
}
.form-group input:focus, .form-group select:focus {
  border-color: #e31c79; outline: none; background: #fff;
}
.form-group input.error { border-color: #e53935; }
.form-group input.valid { border-color: #43a047; }
.form-group .error-msg { font-size: 12px; color: #e53935; margin-top: 4px; display: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* Size select */
.size-select-group { margin-bottom: 14px; }
.size-select-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; color: #4a3c43; }
.size-select-group .size-hint { font-weight: 400; color: #a8949e; }
.size-options { display: flex; gap: 6px; }
.size-option {
  flex: 1; text-align: center; padding: 12px 4px; border: 2px solid #f0dbe7;
  border-radius: 10px; cursor: pointer; font-weight: 700; font-size: 14px;
  transition: all 0.2s; background: #fdf7fa;
}
.size-option.selected { border-color: #e31c79; background: #fdf0f6; color: #e31c79; }
.size-option:active { transform: scale(0.97); }

.order-total {
  text-align: center; padding: 16px 0; margin: 16px 0;
  border-top: 1px dashed #ecd2e0; border-bottom: 1px dashed #ecd2e0;
}
.order-total .total-label { font-size: 14px; color: #7a6a72; }
.order-total .total-price { font-size: 28px; font-weight: 800; color: #e31c79; }
.order-total .total-delivery { font-size: 12px; color: #a8949e; }

.submit-btn {
  display: block; width: 100%; padding: 18px; background: #e31c79; color: #fff;
  border: none; border-radius: 12px; font-size: 17px; font-weight: 800;
  cursor: pointer; text-transform: uppercase; letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(227,28,121,0.35);
  animation: pulse-btn 2s infinite;
}
.submit-btn:active { transform: scale(0.98); }
.submit-btn:disabled { background: #ccc; box-shadow: none; animation: none; }

.form-trust {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 16px; margin-top: 16px;
  font-size: 13px; color: #a8949e;
}
.form-trust span { display: flex; align-items: center; gap: 4px; white-space: nowrap; }

.urgency-badge-form {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 16px; background: #fff8e1; border-radius: 8px;
  font-size: 13px; font-weight: 600; color: #f57f17; margin-top: 12px;
  border: 1px solid #ffe082;
}
.urgency-badge-form b { background: #e31c79; color: #fff; padding: 2px 8px; border-radius: 4px; }

/* ===== FOOTER ===== */
.footer-section {
  padding: 24px 16px; background: #faf1f5; color: #a8949e;
  text-align: center; font-size: 12px;
}
.footer-section a { color: #7a6a72; text-decoration: underline; }
.footer-section a:hover { color: #2b2126; }
.footer-links { margin-bottom: 12px; }
.footer-links a { margin: 0 8px; }

/* ===== STICKY BOTTOM CTA ===== */
.sticky-cta {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 480px; z-index: 999;
  background: #fff; border-top: 1px solid #f5e3ec;
  padding: 10px 16px; display: flex; align-items: center;
  justify-content: space-between; gap: 12px;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.sticky-cta .sticky-price { font-size: 14px; text-align: left; }
.sticky-cta .sticky-price .old { text-decoration: line-through; color: #a8949e; font-size: 12px; }
.sticky-cta .sticky-price .new { font-weight: 800; color: #e31c79; font-size: 18px; }
.sticky-cta .sticky-btn {
  flex: 1; padding: 14px; background: #e31c79; color: #fff;
  border: none; border-radius: 10px; font-weight: 800; font-size: 15px;
  cursor: pointer; text-align: center; animation: pulse-btn 2s infinite;
}

/* ===== URGENCY BAR ===== */
.urgency-bar {
  background: #fff3e0; padding: 10px 16px; text-align: center;
  font-size: 13px; font-weight: 600; color: #e65100;
}
.urgency-bar b { color: #e31c79; }

/* Trust badges row (text based) */
.trust-badges-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 16px;
}
.trust-badge-item {
  background: #fdf7fa; border: 1px solid #f5e3ec; border-radius: 10px;
  padding: 10px 4px; text-align: center;
}
.trust-badge-item .tb-icon { font-size: 20px; margin-bottom: 4px; }
.trust-badge-item .tb-text { font-size: 10px; font-weight: 600; color: #6d5c65; line-height: 1.25; }

/* Utility */
.text-center { text-align: center; }
.hidden { display: none !important; }

/* Scrollbar thin */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #ecd2e0; border-radius: 2px; }
