/* ===== REDESIGN: Mobile-First COD Landing Page ===== */
/* 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: #1a1a1a;
  background: #f5f5f5; 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; }

/* ===== 1) MARQUEE GREEN BAR ===== */
.marquee-bar {
  background: #e8f5e9; overflow: hidden; white-space: nowrap;
  position: sticky; top: 0; z-index: 1000;
  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: #2e7d32;
  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-size: 24px; font-weight: 800; line-height: 1.2; margin-bottom: 12px;
  color: #1a1a1a; letter-spacing: -0.3px;
}
.hero-content h1 span { color: #FF4500; }
.hero-image { margin: 0 auto 16px; border-radius: 12px; overflow: hidden; }
.hero-image img { width: 100%; }
.hero-subtitle { font-size: 14px; color: #666; margin: 8px 0 16px; }

/* ===== 3) PRICE BLOCK V2 — stylish with gradients ===== */
.hero-price-block-v2 {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  border-radius: 20px; padding: 20px; margin: 16px 0 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  position: relative; overflow: hidden;
}
.hero-price-block-v2::before {
  content: ''; position: absolute; top: -50%; right: -50%;
  width: 100%; height: 100%;
  background: radial-gradient(circle, rgba(255,69,0,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.price-v2-top { text-align: center; margin-bottom: 14px; position: relative; z-index: 1; }
.price-v2-badge {
  display: inline-block;
  background: linear-gradient(135deg, #FF4500, #ff6b35);
  color: #fff; padding: 5px 18px; border-radius: 20px;
  font-size: 13px; font-weight: 800; letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(255,69,0,0.4);
}
.price-v2-row {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  position: relative; z-index: 1;
}
.price-v2-old { text-align: center; }
.price-v2-old-label { display: block; font-size: 11px; color: #888; text-transform: uppercase; letter-spacing: 0.5px; }
.price-v2-old-amount { font-size: 20px; color: #999; text-decoration: line-through; font-weight: 600; }
.price-v2-arrow { font-size: 20px; color: #FF4500; font-weight: 700; }
.price-v2-new { text-align: center; }
.price-v2-new-label { display: block; font-size: 11px; color: #FF4500; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; }
.price-v2-new-amount {
  font-size: 38px; font-weight: 900; color: #fff;
  text-shadow: 0 2px 8px rgba(255,69,0,0.3);
}
.price-v2-savings {
  text-align: center; margin-top: 10px; font-size: 13px; color: #4caf50;
  font-weight: 600; position: relative; z-index: 1;
}
.price-v2-savings b { color: #66bb6a; }
.hero-price-block-v2 .rotating-trust-message {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 12px; padding-top: 10px;
}
.hero-price-block-v2 .rotating-trust-message .rotating-text {
  color: #a5d6a7;
}

/* 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: #2e7d32;
  transition: opacity 0.4s ease;
}

.hero-cta {
  display: block; width: 100%; padding: 18px; background: #FF4500; color: #fff;
  border: none; border-radius: 12px; font-size: 18px; font-weight: 800;
  cursor: pointer; text-align: center;
  letter-spacing: 0.3px; box-shadow: 0 4px 15px rgba(255,69,0,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(255,69,0,0.35); }
  50% { box-shadow: 0 4px 25px rgba(255,69,0,0.55); }
}

/* Trust badges image */
.trust-badges-img { padding: 16px; }
.trust-badges-img img { width: 100%; border-radius: 8px; }

/* ===== SECTION TITLES ===== */
.section-title {
  font-size: 22px; font-weight: 800; text-align: center;
  padding: 0 16px; margin-bottom: 20px; color: #1a1a1a;
}
.section-title span { color: #FF4500; }
.section-divider { height: 8px; background: #f5f5f5; }

/* ===== BENEFITS/DESCRIPTION ===== */
.benefits-section { padding: 30px 16px; }
.benefit-card {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 16px 0; border-bottom: 1px solid #f0f0f0;
}
.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: #666; line-height: 1.4; }

/* ===== PRODUCT SPECS ===== */
.specs-section { padding: 24px 16px; background: #fafafa; }
.specs-list { list-style: none; }
.specs-list li {
  padding: 10px 0; border-bottom: 1px solid #eee;
  display: flex; justify-content: space-between; font-size: 14px;
}
.specs-list li:last-child { border-bottom: none; }
.specs-list li b { color: #1a1a1a; }
.specs-list li span { color: #555; text-align: right; }

/* ===== GALLERY with thumbnails + main image ===== */
.gallery-section { padding: 24px 16px; }
.gallery-thumbnails {
  display: flex; gap: 10px; margin-bottom: 12px; justify-content: center;
}
.gallery-thumb {
  width: 80px; height: 80px; border-radius: 10px; overflow: hidden;
  border: 3px solid transparent; cursor: pointer; transition: border-color 0.2s;
  flex-shrink: 0;
}
.gallery-thumb.active { border-color: #1a1a1a; }
.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 ===== */
.packages-section { padding: 30px 16px; }
.package-card {
  border: 2px solid #eee; border-radius: 16px; padding: 20px;
  margin-bottom: 16px; position: relative; transition: border-color 0.3s;
  cursor: pointer;
}
.package-card.popular { border-color: #eee; }
.package-card.popular::before {
  content: '🔥 NAJPOPULARNIEJSZY'; position: absolute; top: -12px; left: 50%;
  transform: translateX(-50%); background: #FF4500; color: #fff;
  padding: 4px 16px; border-radius: 20px; font-size: 11px; font-weight: 700;
  white-space: nowrap;
}
.package-card.best::before {
  content: '💎 NAJLEPSZA OFERTA'; position: absolute; top: -12px; left: 50%;
  transform: translateX(-50%); background: #2e7d32; color: #fff;
  padding: 4px 16px; border-radius: 20px; font-size: 11px; font-weight: 700;
  white-space: nowrap;
}
.package-card input[type="radio"] { display: none; }
.package-card.selected { border-color: #FF4500; background: #fff8f5; }
.package-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.package-name { font-size: 16px; font-weight: 700; }
.package-discount { background: #FF4500; color: #fff; padding: 2px 10px; border-radius: 12px; font-size: 12px; font-weight: 700; }
.package-pricing { display: flex; align-items: baseline; gap: 8px; }
.package-pricing .old { font-size: 16px; color: #999; text-decoration: line-through; }
.package-pricing .new { font-size: 24px; font-weight: 800; color: #FF4500; }
.package-per-unit { font-size: 12px; color: #888; margin-top: 4px; }
.package-bonus { font-size: 12px; color: #2e7d32; font-weight: 600; margin-top: 6px; }

/* ===== TIMER ===== */
.timer-section {
  padding: 20px 16px; background: linear-gradient(135deg, #1a1a1a, #333);
  text-align: center; color: #fff;
}
.timer-section p { font-size: 14px; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 1px; }
.timer-row { display: flex; justify-content: center; gap: 12px; }
.timer-item { text-align: center; }
.timer-item .count { display: flex; gap: 4px; margin-bottom: 4px; }
.timer-item .count span {
  display: block; width: 28px; height: 38px;
  background: #FF4500; border-radius: 6px; font-weight: 800;
  font-size: 19px; line-height: 38px; color: #fff;
}
.timer-item .label { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: #aaa; }

/* ===== 4) REVIEWS — compact cards with Czytaj więcej + modal ===== */
.reviews-section { padding: 30px 16px; background: #fafafa; }
.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: #666; }
.reviews-list { display: flex; flex-direction: column; gap: 12px; }

/* Compact review card */
.review-card-compact {
  background: #fff; border-radius: 14px; padding: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06); border: 1px solid #f0f0f0;
  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-card-compact .review-avatar {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
}
.review-compact-info { flex: 1; }
.review-compact-name { font-weight: 700; font-size: 14px; color: #1a1a1a; }
.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: #444;
  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: #2e7d32; cursor: pointer;
  text-decoration: underline; display: inline-block;
}
.review-read-more:active { color: #1b5e20; }
.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 detail modal */
.review-modal-overlay {
  display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.6); z-index: 2000;
  align-items: center; justify-content: center;
}
.review-modal-overlay.active { display: flex; }
.review-modal-content {
  background: #fff; border-radius: 16px; padding: 24px; width: 92%; max-width: 420px;
  max-height: 85vh; overflow-y: auto; position: relative;
}
.review-modal-close {
  position: absolute; top: 12px; right: 16px; background: none; border: none;
  font-size: 24px; cursor: pointer; color: #999; line-height: 1;
}
.review-modal-header {
  display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
}
.review-modal-avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.review-modal-name { font-weight: 700; font-size: 16px; }
.review-modal-city { font-size: 12px; color: #888; }
.review-modal-stars { color: #f59e0b; font-size: 16px; letter-spacing: 1px; }
.review-modal-text { font-size: 15px; line-height: 1.6; color: #333; margin-bottom: 16px; }
.review-modal-photo { margin-bottom: 12px; }
.review-modal-photo img { width: 100%; border-radius: 12px; object-fit: cover; max-height: 280px; }
.review-modal-date { font-size: 12px; color: #aaa; }

.reviews-show-more {
  display: block; width: 100%; padding: 14px; background: #fff;
  border: 2px solid #FF4500; border-radius: 12px; color: #FF4500;
  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: #f5f5f5; border: 2px dashed #ccc; border-radius: 12px;
  color: #666; font-weight: 600; font-size: 14px; text-align: center;
  cursor: pointer; transition: all 0.2s;
}
.add-review-btn:hover { border-color: #FF4500; color: #FF4500; }

.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: #333; }
.review-form-group input[type="text"],
.review-form-group textarea {
  width: 100%; padding: 10px 14px; border: 2px solid #e0e0e0; border-radius: 10px;
  font-size: 15px; background: #fafafa; transition: border-color 0.2s;
}
.review-form-group input:focus,
.review-form-group textarea:focus { border-color: #FF4500; outline: none; background: #fff; }
.review-form-group input[type="file"] { font-size: 13px; }
.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: #FF4500; color: #fff;
  border: none; border-radius: 12px; font-size: 16px; font-weight: 700;
  cursor: pointer;
}

/* ===== 5) HOW TO ORDER V2 — clean compact steps ===== */
.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 #f0f0f0; border-radius: 14px;
  padding: 18px 16px; width: 100%; text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,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, #FF4500, #ff6b35);
  color: #fff; font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 6px rgba(255,69,0,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: #FF4500; margin-bottom: 4px;
}
.step-v2-text { font-size: 14px; font-weight: 600; color: #333; line-height: 1.4; }
.step-v2-connector {
  width: 2px; height: 16px; background: linear-gradient(to bottom, #FF4500, #ff6b35);
  border-radius: 1px;
}

/* ===== FAQ ===== */
.faq-section { padding: 30px 16px; background: #fafafa; }
.faq-item { border-bottom: 1px solid #eee; }
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0; cursor: pointer; font-weight: 600; font-size: 15px;
  color: #1a1a1a; -webkit-tap-highlight-color: transparent;
}
.faq-question::after {
  content: '+'; font-size: 24px; font-weight: 300; color: #FF4500;
  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: #555; line-height: 1.6;
}
.faq-item.active .faq-answer { max-height: 500px; }
.faq-answer-inner { padding: 0 0 16px; }

/* ===== GUARANTEE SECTION ===== */
.guarantee-block { padding: 8px 16px; }
.guarantee-section-new {
  display: flex; align-items: center; gap: 14px;
  padding: 16px; background: #f0fdf4; border-radius: 12px;
  border: 1px solid #bbdefb;
}
.guarantee-icon-img { width: 70px; height: 70px; object-fit: contain; flex-shrink: 0; }
.guarantee-text-content h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.guarantee-text-content p { font-size: 13px; color: #555; line-height: 1.4; }

/* ===== ORDER FORM ===== */
.order-section { padding: 16px 16px 30px; }
.order-form-wrapper {
  background: #fff; border: 2px solid #FF4500; border-radius: 16px;
  padding: 24px 16px; box-shadow: 0 4px 20px rgba(255,69,0,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: #666; margin-bottom: 20px;
}
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; color: #333; }
.form-group input, .form-group select {
  display: block; width: 100%; height: 52px; padding: 0 16px;
  border: 2px solid #e0e0e0; border-radius: 10px; font-size: 16px;
  color: #1a1a1a; background: #fafafa; transition: border-color 0.2s;
  -webkit-appearance: none;
}
.form-group input:focus, .form-group select:focus {
  border-color: #FF4500; 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: #333; }
.size-options { display: flex; gap: 10px; }
.size-option {
  flex: 1; text-align: center; padding: 12px 8px; border: 2px solid #e0e0e0;
  border-radius: 10px; cursor: pointer; font-weight: 600; font-size: 14px;
  transition: all 0.2s; background: #fafafa;
}
.size-option.selected { border-color: #FF4500; background: #fff8f5; color: #FF4500; }
.size-option:active { transform: scale(0.97); }

/* 6) Color select — same style as size */
.color-options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.color-option {
  text-align: center; padding: 10px 6px; border: 2px solid #e0e0e0;
  border-radius: 10px; cursor: pointer; font-weight: 600; font-size: 13px;
  transition: all 0.2s; background: #fafafa;
}
.color-option.selected { border-color: #FF4500; background: #fff8f5; color: #FF4500; }
.color-option:active { transform: scale(0.97); }

.order-total {
  text-align: center; padding: 16px 0; margin: 16px 0;
  border-top: 1px dashed #ddd; border-bottom: 1px dashed #ddd;
}
.order-total .total-label { font-size: 14px; color: #666; }
.order-total .total-price { font-size: 28px; font-weight: 800; color: #FF4500; }
.order-total .total-delivery { font-size: 12px; color: #888; }

.submit-btn {
  display: block; width: 100%; padding: 18px; background: #FF4500; color: #fff;
  border: none; border-radius: 12px; font-size: 18px; font-weight: 800;
  cursor: pointer; text-transform: uppercase; letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(255,69,0,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; justify-content: center; gap: 16px; margin-top: 16px;
  font-size: 11px; color: #888;
}
.form-trust span { display: flex; align-items: center; gap: 4px; }

/* Yellow urgency badge in form */
.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: #FF4500; color: #fff; padding: 2px 8px; border-radius: 4px; }

/* ===== FOOTER ===== */
.footer-section {
  padding: 24px 16px; background: #1a1a1a; color: #999;
  text-align: center; font-size: 12px;
}
.footer-section a { color: #ccc; text-decoration: underline; }
.footer-section a:hover { color: #fff; }
.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 #eee;
  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: #999; font-size: 12px; }
.sticky-cta .sticky-price .new { font-weight: 800; color: #FF4500; font-size: 18px; }
.sticky-cta .sticky-btn {
  flex: 1; padding: 14px; background: #FF4500; color: #fff;
  border: none; border-radius: 10px; font-weight: 800; font-size: 15px;
  cursor: pointer; text-align: center; animation: pulse-btn 2s infinite;
}

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

/* ===== THANKYOU PAGE STYLES ===== */
.add_purchases { max-width: 480px; margin: 0 auto; background: #fff; }
._order { padding: 16px; }
._order .container { display: flex; gap: 8px; margin-bottom: 8px; }
._order .item {
  flex: 1; padding: 10px; background: #fafafa; border-radius: 8px;
  font-size: 13px; cursor: pointer; border: 1px solid #eee;
}
._order .item span { color: #666; }
._order .item b { color: #1a1a1a; }

/* Popups - preserve existing */
.popup-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 2000; }
.popup-overlay.active { display: flex; align-items: center; justify-content: center; }
.popup-content { background: #fff; border-radius: 16px; padding: 24px; width: 90%; max-width: 400px; max-height: 80vh; overflow-y: auto; }
.popup-content.active { display: block; }
.popup--visible { display: flex !important; }
.popup { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 2001; align-items: center; justify-content: center; }
.popup .popup__background { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); }
.popup .popup__content { position: relative; background: #fff; border-radius: 16px; padding: 30px; text-align: center; max-width: 90%; }
.popup .popup__content__title { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.popup .button--success { background: #43a047; margin-top: 12px; }

/* Loader */
#loader {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(255,255,255,0.8); z-index: 3000;
  display: flex; align-items: center; justify-content: center;
}

/* Thankyou quantity styles preserved */
.thankyou .quantity { display: flex; align-items: center; }
.thankyou .field { width: 100%; height: 48px; border: 2px solid #e0e0e0 !important; border-radius: 10px; padding: 0 12px; font-size: 16px; background: #fafafa; }
.row.offer_section.thankyou { padding: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.row.offer_section.thankyou .button { grid-column: 1/-1; }

/* Edit form in popup */
.edit.offer_section.offer3.order .field {
  width: 100%; margin-bottom: 12px; height: 48px;
  border: 2px solid #e0e0e0; border-radius: 10px; padding: 0 16px;
  background: #fafafa; font-size: 14px;
}
.edit .quantity { margin-bottom: 12px; }
.edit .button { width: 100%; height: 52px; line-height: 52px; border-radius: 10px; font-size: 16px; }

/* Utility */
.text-center { text-align: center; }
.hidden { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

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