/* ============================================
   RaffleKit — Public Storefront Styles
   ============================================ */

/* ---- Top Nav ---- */
.site-nav {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.nav-brand-text { line-height: 1.2; }
.nav-brand-text .org-name { font-size: 11px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; }
.nav-brand-text .raffle-name { font-size: 15px; font-weight: 700; color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-btn-reserve {
  background: var(--primary);
  color: #fff;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: all .18s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-btn-reserve:hover { background: var(--primary-dark); transform: translateY(-1px); }
.nav-btn-lookup {
  background: transparent;
  color: var(--text-muted);
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  border: 1.5px solid var(--border-dark);
  cursor: pointer;
  transition: all .18s;
}
.nav-btn-lookup:hover { background: var(--bg); color: var(--text); }
.nav-btn-print, .nav-btn-share {
  background: transparent;
  color: var(--text-muted);
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  border: 1.5px solid var(--border-dark);
  cursor: pointer;
  transition: all .18s;
}
.nav-btn-print:hover { background: var(--bg); color: var(--text); }
.nav-btn-share:hover { background: #ede9fe; color: #6d28d9; border-color: #c4b5fd; }

/* ---- Share tab buttons ---- */
.share-tab-btn {
  flex: 1;
  padding: 9px 10px;
  border: none;
  background: none;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all .15s;
  text-align: center;
}
.share-tab-btn.active {
  background: var(--bg-white);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.share-tab-btn:hover:not(.active) { color: var(--text); }

/* ---- Hero ---- */
.hero {
  background: linear-gradient(135deg, #0c4a6e 0%, #0284c7 50%, #0ea5e9 100%);
  color: #fff;
  padding: 56px 24px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner { max-width: 720px; margin: 0 auto; position: relative; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.25);
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -.02em;
}
.hero-tagline { font-size: clamp(15px, 2.5vw, 19px); opacity: .88; margin-bottom: 32px; line-height: 1.5; }
.hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2);
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
}
.hero-meta-item .icon { font-size: 18px; }
.hero-cta-group { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.btn-hero-primary {
  background: #fff;
  color: var(--primary-dark);
  padding: 16px 36px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 17px;
  border: none;
  cursor: pointer;
  transition: all .2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
}
.btn-hero-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,.25); }
.btn-hero-secondary {
  background: rgba(255,255,255,.15);
  color: #fff;
  padding: 16px 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 15px;
  border: 2px solid rgba(255,255,255,.35);
  cursor: pointer;
  transition: all .2s;
  backdrop-filter: blur(8px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-hero-secondary:hover { background: rgba(255,255,255,.25); }

/* ---- Countdown ---- */
.countdown-bar {
  background: rgba(0,0,0,.2);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255,255,255,.9);
  border-top: 1px solid rgba(255,255,255,.1);
}
.countdown-units {
  display: flex;
  gap: 8px;
  align-items: center;
}
.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,.15);
  border-radius: 8px;
  padding: 6px 12px;
  min-width: 52px;
}
.countdown-unit .num {
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}
.countdown-unit .lbl { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; opacity: .8; margin-top: 2px; }
.countdown-sep { font-size: 20px; font-weight: 800; opacity: .6; margin-bottom: 14px; }

/* ---- Progress bar ---- */
.progress-section { background: var(--bg-white); padding: 20px 24px; border-bottom: 1px solid var(--border); }
.progress-inner { max-width: 1100px; margin: 0 auto; }
.progress-label { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 13px; font-weight: 600; color: var(--text-muted); }
.progress-track { height: 10px; background: var(--border); border-radius: 100px; overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--primary), var(--success)); border-radius: 100px; transition: width 1s ease; }

/* ---- Section wrappers ---- */
.section { padding: 60px 24px; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 40px; }
.section-header .eyebrow {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 10px;
}
.section-header h2 { font-size: clamp(22px, 4vw, 34px); font-weight: 800; color: var(--text); margin-bottom: 10px; letter-spacing: -.02em; }
.section-header p { font-size: 16px; color: var(--text-muted); max-width: 560px; margin: 0 auto; }

/* ---- Prize Baskets Grid ---- */
.baskets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.basket-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  border: 2px solid var(--border);
  overflow: hidden;
  transition: all .22s ease;
  cursor: pointer;
  position: relative;
}
.basket-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 32px rgba(14,165,233,.18);
  transform: translateY(-4px);
}
.basket-card.won { border-color: var(--accent); }
.basket-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--primary-light);
}
.basket-card-img-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--primary-light), #e0f7fa);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
}
.basket-card-body { padding: 20px; }
.basket-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.basket-card-name { font-size: 18px; font-weight: 800; color: var(--text); line-height: 1.2; }
.basket-value-badge {
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 100px;
  white-space: nowrap;
  flex-shrink: 0;
}
.basket-card-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 12px; line-height: 1.5; }
.basket-items-toggle {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 10px;
}
.basket-items-list {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  display: none;
}
.basket-items-list.open { display: block; }
.basket-items-list li {
  font-size: 13px;
  color: var(--text-muted);
  padding: 3px 0 3px 16px;
  position: relative;
  border-bottom: 1px dashed var(--border);
}
.basket-items-list li:last-child { border-bottom: none; }
.basket-items-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-size: 11px;
  top: 4px;
}
.basket-sponsor { font-size: 12px; color: var(--text-light); margin-top: 8px; }
.basket-sponsor span { color: var(--text-muted); font-weight: 600; }
.basket-won-banner {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.btn-reserve-basket {
  width: 100%;
  margin-top: 14px;
  background: var(--primary-light);
  color: var(--primary-dark);
  border: none;
  padding: 10px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: all .18s;
}
.btn-reserve-basket:hover { background: var(--primary); color: #fff; }

/* ---- Pricing Section ---- */
.pricing-section { background: linear-gradient(135deg, #f0f9ff, #e0f2fe); }
.pricing-cards { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.pricing-card {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  text-align: center;
  min-width: 180px;
  transition: all .2s;
  position: relative;
}
.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(245,158,11,.2);
  transform: scale(1.05);
}
.pricing-card .featured-label {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 100px;
  white-space: nowrap;
}
.pricing-card .qty { font-size: 40px; font-weight: 800; color: var(--primary); line-height: 1; }
.pricing-card .qty-label { font-size: 13px; color: var(--text-muted); margin-bottom: 8px; }
.pricing-card .price { font-size: 28px; font-weight: 800; color: var(--text); }
.pricing-card .price-per { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.pricing-cta { text-align: center; margin-top: 32px; }
.pricing-cta p { font-size: 14px; color: var(--text-muted); margin-top: 12px; }

/* ---- How It Works ---- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}
.step-card {
  text-align: center;
  padding: 28px 20px;
  background: var(--bg-white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.step-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.step-num {
  font-size: 10px;
  font-weight: 800;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 6px;
}
.step-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.step-card p { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* ---- Story section ---- */
.story-section { background: var(--bg-white); }
.story-box {
  max-width: 680px;
  margin: 0 auto;
  background: var(--bg);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
}

/* ---- Winners Section ---- */
.winners-section { background: linear-gradient(135deg, #fffbeb, #fef3c7); }
.winners-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.winner-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px;
  border: 2px solid var(--accent);
  text-align: center;
}
.winner-trophy { font-size: 36px; margin-bottom: 8px; }
.winner-basket { font-size: 13px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.winner-name { font-size: 18px; font-weight: 800; color: var(--text); margin-bottom: 4px; }
.winner-ticket { font-size: 13px; color: var(--text-muted); }

/* ---- FAQ ---- */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 20px;
  text-align: left;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.faq-chevron { transition: transform .2s; font-size: 12px; color: var(--text-muted); flex-shrink: 0; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer { padding: 0 20px 18px; font-size: 14px; color: var(--text-muted); line-height: 1.7; display: none; }
.faq-item.open .faq-answer { display: block; }

/* ---- Footer ---- */
.site-footer {
  background: #0f172a;
  color: rgba(255,255,255,.7);
  padding: 40px 24px 28px;
  text-align: center;
  font-size: 14px;
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-links { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.footer-links a { color: rgba(255,255,255,.6); transition: color .15s; }
.footer-links a:hover { color: #fff; text-decoration: none; }
.footer-copy { color: rgba(255,255,255,.4); font-size: 12px; }

/* ============================================
   MODAL — Ticket Reservation
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: all .25s ease;
}
.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}
.modal-box {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: scale(.95) translateY(20px);
  transition: transform .25s ease;
  position: relative;
}
.modal-overlay.open .modal-box { transform: scale(1) translateY(0); }
.modal-header {
  padding: 24px 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: var(--bg-white);
  z-index: 2;
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
}
.modal-title { font-size: 20px; font-weight: 800; color: var(--text); }
.modal-subtitle { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border-dark);
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all .15s;
  flex-shrink: 0;
}
.modal-close:hover { background: var(--danger-light); color: var(--danger); border-color: var(--danger); }
.modal-body { padding: 24px; }
.modal-footer {
  padding: 16px 24px 24px;
  border-top: 1px solid var(--border);
  background: var(--bg);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

/* ---- Modal Steps ---- */
.modal-steps {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 4px;
}
.modal-step-btn {
  flex: 1;
  padding: 8px;
  border: none;
  background: none;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: default;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.modal-step-btn.active { background: var(--bg-white); color: var(--primary); box-shadow: var(--shadow-sm); }
.modal-step-btn.done { color: var(--success); }
.step-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--border);
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-step-btn.active .step-dot { background: var(--primary); color: #fff; }
.modal-step-btn.done .step-dot { background: var(--success); color: #fff; }

/* ---- Step: Quantity ---- */
.qty-selector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 20px 0;
}
.qty-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--border-dark);
  background: var(--bg-white);
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: all .15s;
}
.qty-btn:hover { border-color: var(--primary); color: var(--primary); }
.qty-display {
  font-size: 48px;
  font-weight: 800;
  color: var(--primary);
  min-width: 64px;
  text-align: center;
  line-height: 1;
}
.qty-price-preview {
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  text-align: center;
  margin-bottom: 16px;
}
.qty-price-preview .total-label { font-size: 12px; color: var(--primary-dark); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.qty-price-preview .total-amount { font-size: 32px; font-weight: 800; color: var(--primary-dark); line-height: 1.2; }
.qty-price-preview .bundle-note { font-size: 12px; color: var(--primary); margin-top: 2px; }
.qty-options { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }
.qty-option-btn {
  padding: 8px 16px;
  border-radius: 100px;
  border: 2px solid var(--border-dark);
  background: var(--bg-white);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text);
  transition: all .15s;
}
.qty-option-btn:hover, .qty-option-btn.active { border-color: var(--primary); background: var(--primary-light); color: var(--primary-dark); }

/* ---- Step: Allocation ---- */
.allocation-info-box {
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--primary-dark);
  font-weight: 500;
}
.allocation-tracker {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-bottom: 20px;
}
.allocation-tracker-row { display: flex; justify-content: space-between; align-items: center; font-size: 14px; margin-bottom: 8px; }
.allocation-tracker-row:last-child { margin-bottom: 0; }
.allocation-track { height: 8px; background: var(--border); border-radius: 100px; overflow: hidden; flex: 1; margin: 0 12px; }
.allocation-fill { height: 100%; background: var(--primary); border-radius: 100px; transition: width .25s; }
.allocation-fill.complete { background: var(--success); }
.allocation-fill.over { background: var(--danger); }
.allocation-basket-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.allocation-basket-row:last-child { border-bottom: none; }
.allocation-basket-info { flex: 1; min-width: 0; }
.allocation-basket-name { font-size: 15px; font-weight: 700; color: var(--text); }
.allocation-basket-desc { font-size: 12px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.allocation-controls { display: flex; align-items: center; gap: 10px; }
.alloc-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--border-dark);
  background: var(--bg-white);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: all .15s;
  line-height: 1;
}
.alloc-btn:hover:not(:disabled) { border-color: var(--primary); color: var(--primary); }
.alloc-btn:disabled { opacity: .35; cursor: not-allowed; }
.alloc-count { font-size: 20px; font-weight: 800; color: var(--primary); min-width: 28px; text-align: center; }

/* ---- Step: Details ---- */
.details-form { }

/* ---- Step: Payment ---- */
.payment-box {
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
}
.payment-box-header { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.payment-box-icon { font-size: 28px; }
.payment-box-title { font-size: 18px; font-weight: 800; color: var(--text); }
.payment-box-subtitle { font-size: 13px; color: var(--text-muted); }
.payment-field { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(14,165,233,.2); }
.payment-field:last-child { border-bottom: none; }
.payment-field-label { font-size: 13px; color: var(--text-muted); }
.payment-field-value { font-size: 15px; font-weight: 700; color: var(--text); display: flex; align-items: center; gap: 8px; }
.copy-btn {
  background: none;
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
}
.copy-btn:hover { background: var(--primary); color: #fff; }
.payment-amount-highlight { font-size: 28px; font-weight: 800; color: var(--primary-dark); }
.payment-steps-list { list-style: none; padding: 0; counter-reset: pay-steps; }
.payment-steps-list li {
  counter-increment: pay-steps;
  padding: 8px 0 8px 32px;
  font-size: 14px;
  color: var(--text-muted);
  position: relative;
  border-bottom: 1px dashed var(--border);
}
.payment-steps-list li:last-child { border-bottom: none; }
.payment-steps-list li::before {
  content: counter(pay-steps);
  position: absolute;
  left: 0;
  width: 22px;
  height: 22px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 9px;
}
.payment-note {
  background: #fefce8;
  border: 1px solid #fde68a;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 13px;
  color: #78350f;
  margin-top: 16px;
  display: flex;
  gap: 8px;
}

/* ---- Order Lookup Modal ---- */
.lookup-result {
  background: var(--bg);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  padding: 20px;
}
.lookup-status-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }

/* ---- Confirmation screen ---- */
.confirmation-screen { text-align: center; padding: 16px 0; }
.confirmation-icon { font-size: 64px; margin-bottom: 16px; }
.confirmation-title { font-size: 24px; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.confirmation-msg { font-size: 15px; color: var(--text-muted); line-height: 1.7; margin-bottom: 24px; }
.confirmation-ref {
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  display: inline-block;
  margin: 0 auto 20px;
}
.confirmation-ref .ref-label { font-size: 11px; color: var(--primary-dark); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.confirmation-ref .ref-code { font-size: 22px; font-weight: 800; color: var(--primary-dark); letter-spacing: .05em; }
.confirm-inline-ref { color: var(--primary-dark); font-weight: 800; }

/* ---- Confirmation notices ---- */
.confirm-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  border-radius: 10px;
  padding: 0.9rem 1rem;
  margin: 0.6rem 0;
  text-align: left;
  font-size: 0.84rem;
  line-height: 1.55;
}
.confirm-notice-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 1px; }
.confirm-notice strong { display: block; margin-bottom: 2px; }
.confirm-notice-amber {
  background: #fef3c7;
  border: 1px solid #fde68a;
  color: #78350f;
}
.confirm-notice-blue {
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  color: #0c4a6e;
}
.confirm-notice-fb {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e3a8a;
}

/* ---- Mobile responsive ---- */
@media (max-width: 768px) {
  .nav-btn-lookup { display: none; }
  .nav-btn-print { display: none; }
  .nav-btn-share { font-size: 12px; padding: 8px 10px; }
  .hero { padding: 40px 16px 36px; }
  .section { padding: 40px 16px; }
  .baskets-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
  .modal-box { max-height: 95vh; border-radius: var(--radius); }
  .modal-header, .modal-body { padding: 18px; }
  .modal-footer { padding: 14px 18px 20px; }
}
@media (max-width: 480px) {
  .nav-inner { padding: 0 16px; }
  .hero h1 { font-size: 26px; }
  .hero-meta { gap: 10px; }
  .hero-meta-item { padding: 8px 12px; font-size: 13px; }
  .hero-cta-group { flex-direction: column; align-items: stretch; }
  .btn-hero-primary, .btn-hero-secondary { justify-content: center; }
  .countdown-unit { padding: 5px 9px; min-width: 44px; }
  .countdown-unit .num { font-size: 18px; }
  .modal-steps { gap: 2px; }
  .modal-step-btn { font-size: 11px; padding: 6px 4px; }
}
