/* ============================================================
   Nättely Suomi — Design System
   ============================================================ */

/* CSS Variables */
:root {
  --bg: #ffffff;
  --bg-muted: #f8fafc;
  --border: #e2e8f0;
  --brand: #166534;
  --brand-mid: #16a34a;
  --brand-pale: #f0fdf4;
  --gold: #d97706;
  --text: #0f172a;
  --text-muted: #64748b;
  --text-subtle: #94a3b8;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --pad: 24px;
}

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

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

button {
  font-family: inherit;
}

/* Layout */
.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}

.btn:hover {
  background: var(--bg-muted);
}

.btn-primary {
  background: var(--brand);
  color: #ffffff;
  border-color: var(--brand);
}

.btn-primary:hover {
  background: #14532d;
  border-color: #14532d;
}

.btn-secondary {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
}

.btn-secondary:hover {
  background: var(--brand-pale);
}

.btn-sm {
  padding: 7px 14px;
  font-size: 13px;
}

.btn-full {
  width: 100%;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ============================================================
   Cards
   ============================================================ */

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition: box-shadow 0.15s;
}

.card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.card-body {
  padding: 20px;
}

/* ============================================================
   Badges
   ============================================================ */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.badge-green {
  background: var(--brand-pale);
  color: var(--brand);
}

.badge-gray {
  background: #f1f5f9;
  color: var(--text-muted);
}

.badge-gold {
  background: #fef3c7;
  color: var(--gold);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.badge-dot-green { background: var(--brand-mid); }
.badge-dot-gray  { background: var(--text-subtle); }
.badge-dot-gold  { background: var(--gold); }

/* ============================================================
   Navbar
   ============================================================ */

.nav {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--pad);
  height: 60px;
  gap: 16px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  color: var(--text);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.nav-link {
  padding: 6px 12px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--r-sm);
  transition: color 0.15s, background 0.15s;
}

.nav-link:hover {
  color: var(--text);
  background: var(--bg-muted);
}

.nav-link.active {
  color: var(--brand);
  background: var(--brand-pale);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.cart-btn {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 20px;
  padding: 6px 8px;
  border-radius: var(--r-sm);
  transition: background 0.15s;
  line-height: 1;
}

.cart-btn:hover {
  background: var(--bg-muted);
}

.cart-count {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--brand);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ============================================================
   Footer
   ============================================================ */

.footer {
  background: #0f172a;
  color: white;
  margin-top: 80px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px var(--pad) 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand {
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 12px;
}

.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #cbd5e1;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s;
}

.footer-links a:hover {
  color: #f1f5f9;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 24px;
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #64748b;
}

/* ============================================================
   Section Label
   ============================================================ */

.section-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
  font-weight: 700;
  color: var(--brand);
}

/* ============================================================
   Drawer (Cart)
   ============================================================ */

.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.4);
}

.drawer {
  position: fixed;
  right: 0;
  top: 0;
  height: 100%;
  width: 400px;
  max-width: 100%;
  background: var(--bg);
  z-index: 1001;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
}

.drawer.open {
  transform: translateX(0);
}

/* ============================================================
   Modal
   ============================================================ */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1002;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal {
  background: var(--bg);
  border-radius: var(--r-lg);
  padding: 32px;
  max-width: 520px;
  width: calc(100% - 48px);
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

/* ============================================================
   Form Elements
   ============================================================ */

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.input {
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 10px 12px;
  font-size: 14px;
  outline: none;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.15s;
  width: 100%;
}

.input:focus {
  border-color: var(--brand);
}

.input::placeholder {
  color: var(--text-subtle);
}

textarea.input {
  resize: vertical;
  min-height: 80px;
}

/* ============================================================
   Lightbox
   ============================================================ */

.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-inner img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--r-md);
}

.lightbox-watermark {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  pointer-events: none;
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: none;
  cursor: pointer;
  font-size: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: none;
  cursor: pointer;
  font-size: 22px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.lightbox-arrow:hover { background: rgba(255, 255, 255, 0.25); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* ============================================================
   Utility Classes
   ============================================================ */

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.text-muted   { color: var(--text-muted); }
.text-subtle  { color: var(--text-subtle); }
.text-brand   { color: var(--brand); }

.flex         { display: flex; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

.mt-4  { margin-top: 4px; }
.mt-8  { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }
.mb-8  { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }

.font-bold { font-weight: 700; }
.font-600  { font-weight: 600; }
.font-sm   { font-size: 13px; }
.font-xs   { font-size: 12px; }

/* ============================================================
   Ticker Strip
   ============================================================ */

.ticker-strip {
  background: var(--brand);
  color: white;
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-inner {
  display: inline-flex;
  animation: ticker 30s linear infinite;
  gap: 48px;
}

.ticker-inner span {
  font-size: 13px;
  font-weight: 500;
}

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   Breadcrumb
   ============================================================ */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.breadcrumb a:hover { color: var(--brand); }

.breadcrumb-sep { color: var(--text-subtle); }

/* ============================================================
   Photo Upload Drop Zone
   ============================================================ */

.drop-zone {
  border: 2px dashed var(--border);
  border-radius: var(--r-md);
  padding: 32px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  position: relative;
}

.drop-zone:hover,
.drop-zone.drag-over {
  border-color: var(--brand-mid);
  background: var(--brand-pale);
}

.drop-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.drop-zone-preview {
  width: 100%;
  max-height: 200px;
  object-fit: contain;
  border-radius: var(--r-sm);
  margin-top: 12px;
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 40%, #bbf7d0 100%);
  padding: 80px var(--pad) 72px;
  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='%2316a34a' 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-content {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 20px;
}

.hero h1 span { color: var(--brand); }

.hero p {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stat { text-align: center; }

.hero-stat-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
}

.hero-stat-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ============================================================
   Section Headings
   ============================================================ */

.section-heading { margin-bottom: 32px; }

.section-heading h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  margin-top: 8px;
}

.section-heading p {
  color: var(--text-muted);
  font-size: 15px;
  margin-top: 8px;
}

/* ============================================================
   Competition Cards
   ============================================================ */

.comp-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.15s, transform 0.15s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.comp-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.comp-card-top        { height: 5px; background: var(--brand-mid); }
.comp-card-top-gold   { background: var(--gold); }
.comp-card-top-gray   { background: var(--border); }

.comp-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.comp-card-name {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--text);
}

.comp-card-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 16px;
}

.comp-card-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.comp-card-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ============================================================
   Steps / How it works
   ============================================================ */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-card {
  text-align: center;
  padding: 28px 20px;
  border-radius: var(--r-lg);
  background: var(--bg-muted);
  border: 1px solid var(--border);
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand);
  color: white;
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.step-title {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   Disciplines Grid
   ============================================================ */

.disciplines-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.discipline-tile {
  padding: 24px 16px;
  border-radius: var(--r-lg);
  background: var(--brand-pale);
  border: 1px solid #bbf7d0;
  text-align: center;
  transition: background 0.15s, transform 0.15s;
}

.discipline-tile:hover {
  background: #dcfce7;
  transform: translateY(-2px);
}

.discipline-icon {
  font-size: 28px;
  margin-bottom: 10px;
}

.discipline-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
}

/* ============================================================
   Class Cards
   ============================================================ */

.class-card {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.class-card-body { padding: 20px; }

.class-card-name {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 6px;
}

.class-card-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

/* ============================================================
   Order Summary
   ============================================================ */

.order-summary {
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  position: sticky;
  top: 80px;
}

.order-summary h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
}

.order-line {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.order-line:last-of-type { border-bottom: none; }

.order-total {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 700;
  padding-top: 12px;
  margin-top: 8px;
  border-top: 2px solid var(--border);
}

/* ============================================================
   Empty State
   ============================================================ */

.empty-state {
  text-align: center;
  padding: 80px 24px;
  color: var(--text-muted);
}

.empty-icon {
  font-size: 64px;
  margin-bottom: 24px;
  opacity: 0.5;
}

.empty-state h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.empty-state p {
  font-size: 15px;
  margin-bottom: 24px;
}

/* ============================================================
   Winner Section
   ============================================================ */

.winner-section {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 2px solid var(--gold);
  border-radius: var(--r-lg);
  padding: 32px;
  text-align: center;
  margin-bottom: 40px;
}

.winner-img-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
}

.winner-img {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: var(--r-md);
  border: 4px solid var(--gold);
}

.winner-badge {
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: white;
  font-weight: 800;
  font-size: 13px;
  padding: 4px 16px;
  border-radius: 999px;
  white-space: nowrap;
}

.winner-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin-top: 20px;
}

/* ============================================================
   Entry Thumbnails Grid
   ============================================================ */

.entries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.entry-thumb {
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--r-md);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  width: 100%;
}

.entry-thumb:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* ============================================================
   Cart Items
   ============================================================ */

.cart-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.cart-item-thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: var(--r-sm);
  background: var(--bg-muted);
  flex-shrink: 0;
}

.cart-item-info { flex: 1; min-width: 0; }

.cart-item-name {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 4px;
}

.cart-item-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.cart-item-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand);
}

/* ============================================================
   MobilePay Steps
   ============================================================ */

.mobilepay-steps { display: flex; flex-direction: column; gap: 20px; }

.mobilepay-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}

.mobilepay-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand);
  color: white;
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mobilepay-step-content h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.mobilepay-step-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   Success / Cancel pages
   ============================================================ */

.result-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px var(--pad);
}

.result-icon {
  font-size: 72px;
  margin-bottom: 24px;
}

.result-page h1 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
}

.result-page p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 480px;
  line-height: 1.7;
}

.result-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   Drawer Items
   ============================================================ */

.drawer-empty {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-muted);
}

/* ============================================================
   Radio Payment Option
   ============================================================ */

.payment-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 2px solid var(--border);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.payment-option:has(input:checked) {
  border-color: var(--brand);
  background: var(--brand-pale);
}

.payment-option input[type="radio"] {
  accent-color: var(--brand);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.payment-option-label {
  font-size: 14px;
  font-weight: 600;
}

.payment-option-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ============================================================
   Mobile Responsive
   ============================================================ */

@media (max-width: 768px) {
  :root { --pad: 16px; }

  .nav-links { display: none; }
  #menuBtn { display: flex !important; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .hero { padding: 48px var(--pad) 40px; }
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 15px; }
  .hero-stats { gap: 24px; }

  .steps-grid       { grid-template-columns: repeat(2, 1fr); }
  .disciplines-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }

  .cart-layout { flex-direction: column; }
  .order-summary { position: static; }

  .winner-img { width: 200px; height: 200px; }

  .modal {
    padding: 24px;
    width: 100%;
    margin: 0;
    border-radius: var(--r-md) var(--r-md) 0 0;
  }

  .modal-overlay {
    align-items: flex-end;
    padding: 0;
  }
}

@media (max-width: 480px) {
  .steps-grid       { grid-template-columns: 1fr; }
  .disciplines-grid { grid-template-columns: repeat(2, 1fr); }
}
