@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');

/* ===== All values from absorb main-computed.json ===== */

:root {
  --primary: #29CCA2;
  --primary-hover: #24B88F;
  --primary-light: rgba(41, 204, 162, 0.2);
  --date-red: #EC5751;
  --date-day-bg: #EBECED;
  --date-year-bg: #949494;
  --black: #000000;
  --text: #394247;
  --text-body: #333333;
  --text-muted: #8F9CA3;
  --text-light: #6B7280;
  --text-lighter: #9CA3AF;
  --border: #E3E6E8;
  --input-border: #E6E9EB;
  --input-text: #555555;
  --bg: #FFFFFF;
  --bg-ash: #F8F8F8;
  --bg-light: #F9FAFB;
  --bg-lighter: #F5F6F7;
  --footer-bg: #EEEEEE;
  --footer-link: #503FA5;
  --card-shadow: rgba(0, 0, 0, 0.07) 0 0 13px 0;
  --header-h: 40px;
  --radius-card: 24px;
  --radius-pill: 32px;
  --radius-round: 20px;
  --radius-input: 4px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-body);
  background: var(--bg);
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ===== Header: h=40, bg=white, padding=0 26px ===== */
.header {
  height: var(--header-h);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  transition: box-shadow 0.2s;
}

.header.scrolled {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* ===== Login: bg=black, color=white, 14px/600, borderRadius=32px, h=24, padding=0 12px ===== */
.btn-login {
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  height: 24px;
  background: var(--black);
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-login:hover {
  background: #333;
}

/* ===== Date badge: w=94, borderRadius=8px ===== */
/* month: bg=#EC5751, fontSize=24px, lineHeight=32px */
/* day: bg=#EBECED, fontSize=32px, lineHeight=32px */
/* weekday: bg=#949494, fontSize=24px/16px, lineHeight=32px */
.date-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 94px;
  border-radius: 8px;
  overflow: hidden;
  line-height: 32px;
}

.date-badge .month {
  background: var(--date-red);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  width: 100%;
  text-align: center;
  padding: 3px 0;
}

.date-badge .day {
  background: var(--date-day-bg);
  font-size: 28px;
  font-weight: 800;
  color: var(--black);
  width: 100%;
  text-align: center;
  padding: 2px 0;
}

.date-badge .weekday {
  background: var(--date-year-bg);
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  width: 100%;
  text-align: center;
  padding: 3px 0;
}

/* ===== BUY/CTA: bg=#29CCA2, color=black, 16px/700, borderRadius=32px, h=40, uppercase ===== */
.btn-buy {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 40px;
  padding: 4px 12px;
  background: var(--primary);
  color: var(--black);
  border: 1px solid var(--primary);
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
  gap: 4px;
}

.btn-buy:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(41, 204, 162, 0.3);
}

.btn-buy:active {
  transform: scale(0.97);
}

/* ===== Match card: borderRadius=24, padding=24 24 24 142, shadow, position=relative ===== */
.match-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 24px 24px 24px 142px;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  box-shadow: var(--card-shadow);
}

.match-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.12);
  border-color: var(--primary);
}
/* Desktop: hide mobile heart, show desktop heart */
.mc-heart { display: none; }
.mc-heart-desktop { display: flex; }

/* ===== Round item: h=40, borderRadius=20, border=1px solid #E3E6E8, shadow ===== */
.round-item {
  display: inline-grid;
  align-items: center;
  width: 100%;
  height: 40px;
  max-height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-round);
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--card-shadow);
  position: relative;
}

.round-item:hover {
  border-color: var(--primary);
}

/* left: padding=15px 16px, gap=8px, flex */
.round-item-left {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 15px 16px;
  padding-right: 8px;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  white-space: nowrap;
}

/* right: bg=#29CCA2, borderRadius with left curve, padding=0 20 0 30 */
.round-item-right {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  border-radius: 20px 20px 20px 20px;
  padding: 0 16px 0 20px;
  height: 100%;
  white-space: nowrap;
  flex-shrink: 0;
}

/* tickets: 16px/700, color=black */
.round-tickets {
  font-size: 16px;
  font-weight: 700;
  color: #000;
  margin-top: -3px;
}

/* ===== Filter bar container: bg=white, borderRadius=24, padding=24, gap=15 ===== */
.filter-bar {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 24px;
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

/* Filter input: bg=white, border=1px solid #E6E9EB, borderRadius=4, padding=6px 12px */
.filter-input {
  background: #fff;
  color: var(--input-text);
  padding: 6px 12px;
  border: 1px solid var(--input-border);
  border-radius: var(--radius-input);
  font-size: 14px;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: border-color 0.2s;
  height: 40px;
}

.filter-input:hover {
  border-color: var(--text-lighter);
}

/* ===== Widget/promo bar: bg=rgba(41,204,162,0.2), border=1px solid #29CCA2, borderRadius=24 ===== */
.widget-bar {
  background: var(--primary-light);
  border: 1px solid var(--primary);
  border-radius: var(--radius-card);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.08);
  padding: 16px 24px;
  display: flex;
  gap: 24px;
  position: relative;
}

/* Widget buttons - white variant: bg=white, 13px/700, borderRadius=32 */
.widget-btn-white {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  height: 40px;
  background: #fff;
  color: var(--black);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}

/* Widget buttons - black variant */
.widget-btn-black {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  height: 40px;
  background: var(--black);
  color: #fff;
  border: 1px solid var(--black);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}

/* ===== SHOW MORE button: border=1px solid #E3E6E8, borderRadius=32, h=40, 16px/700 uppercase ===== */
.btn-show-more {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  background: transparent;
  color: var(--black);
  cursor: pointer;
  gap: 4px;
  transition: all 0.2s;
}

.btn-show-more:hover {
  background: var(--bg-light);
}

/* ===== Offer card ===== */
.offer-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  transition: all 0.2s;
}

.offer-card:hover {
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* ===== Search overlay ===== */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 500;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 100px;
  animation: fadeIn 0.2s;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* ===== QtyModal ===== */
.qty-modal-bg {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s;
}

.qty-modal {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  text-align: center;
  animation: scaleIn 0.2s;
}

/* ===== Footer ===== */
.footer {
  background: var(--footer-bg);
  padding: 48px 0 24px;
}

.footer a {
  color: var(--footer-link);
  font-size: 14px;
  display: block;
  padding: 4px 0;
  transition: color 0.2s;
}

.footer a:hover {
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid #ddd;
  font-size: 12px;
  color: var(--text-lighter);
  text-align: center;
  line-height: 1.8;
}

/* ===== Floating buttons ===== */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--black);
  color: #fff;
  border: none;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 50;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.2s;
}

.back-to-top.visible {
  display: flex;
}

.chat-widget {
  position: fixed;
  bottom: 24px;
  right: 80px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 50;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-size: 24px;
}

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

/* (Old 1024px block removed — comprehensive rules below) */

/* (Old 768px block removed — comprehensive rules below) */

/* ===== Enhanced Tablet: <=1024px ===== */
@media (max-width: 1024px) {
  /* Hero section: stack */
  .hero-flex {
    flex-direction: column !important;
  }
  .hero-image {
    width: 100% !important;
  }
  .hero-right {
    width: 100% !important;
  }
  .hero-title-row {
    flex-direction: column !important;
    gap: 4px !important;
  }
  .hero-title-row h1 {
    font-size: 32px !important;
  }
  .hero-title-row p {
    font-size: 18px !important;
  }
  .view-tabs {
    grid-template-columns: repeat(4, 1fr) !important;
  }
  .seo-features-grid {
    grid-template-columns: 1fr !important;
  }
  /* Checkout layout: stack */
  .checkout-layout {
    flex-direction: column !important;
    gap: 16px !important;
  }
  .checkout-sidebar {
    width: 100% !important;
    min-width: 0 !important;
    position: relative !important;
    top: auto !important;
    order: -1 !important;
  }
  .checkout-main-panel {
    width: 100% !important;
    min-width: 0 !important;
    flex: 1 !important;
  }
  /* Ticket purchase layout */
  .ticket-purchase-layout {
    grid-template-columns: 1fr !important;
  }
  .ticket-detail-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  /* Event detail grid */
  .detail-grid {
    grid-template-columns: 1fr !important;
  }
  .detail-seatmap {
    min-height: 350px !important;
    height: auto !important;
    position: relative !important;
    top: 0 !important;
    border-right: none !important;
    border-bottom: 1px solid var(--border) !important;
  }
  .detail-listings {
    max-height: none !important;
  }
  /* Venue detail */
  .venue-detail-layout {
    grid-template-columns: 1fr !important;
  }
  /* USDT layout */
  .usdt-layout {
    grid-template-columns: 1fr !important;
  }
}

/* ===== Mobile: <=768px ===== */
@media (max-width: 768px) {
  /* --- Homepage Hero --- */
  .hero-flex {
    flex-direction: column !important;
    gap: 16px !important;
  }
  .hero-image {
    width: 100% !important;
    flex-shrink: 1 !important;
    max-width: 100% !important;
  }
  .hero-right {
    width: 100% !important;
  }
  .hero-title-row {
    flex-direction: column !important;
    gap: 4px !important;
  }
  .hero-title-row h1 {
    font-size: 22px !important;
    line-height: 1.2 !important;
  }
  .hero-title-row p {
    font-size: 14px !important;
    white-space: normal !important;
  }

  /* --- View Tabs (homepage) --- */
  .view-tabs {
    grid-template-columns: repeat(4, 1fr) !important;
    height: 44px !important;
    flex-wrap: wrap !important;
  }
  .view-tabs a,
  .view-tabs button {
    font-size: 13px !important;
    height: 36px !important;
    padding: 0 8px !important;
  }
  .view-tabs a span,
  .view-tabs button span {
    font-size: 18px !important;
  }

  /* --- Filter bar: stack vertically --- */
  .filter-bar {
    flex-direction: column !important;
    padding: 16px !important;
    gap: 10px !important;
    border-radius: 16px !important;
  }
  .filter-bar .filter-input {
    width: 100% !important;
    min-width: 0 !important;
  }
  .filter-bar .multi-select-wrap,
  .filter-bar > div[style*="position:relative"] {
    width: 100% !important;
  }
  .filter-bar .multi-select-wrap .filter-input,
  .filter-bar > div[style*="position:relative"] .filter-input {
    width: 100% !important;
  }
  .filter-bar select.filter-input {
    width: 100% !important;
  }
  /* Filter dropdowns: full width on mobile */
  .filter-bar .multi-dropdown,
  .filter-bar div[id$="Dropdown"] {
    min-width: 100% !important;
    left: 0 !important;
    right: 0 !important;
  }
  /* Hide the spacer div in filter bar */
  .filter-bar > div[style*="flex:1"] {
    display: none !important;
  }

  /* --- Match grid: single column --- */
  .match-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* --- Match cards: mobile layout --- */
  .match-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .match-card {
    display: grid !important;
    grid-template-columns: 84px 1fr !important;
    padding: 12px !important;
    border-radius: 20px !important;
    gap: 0 10px !important;
    border: 1px solid #E3E6E8 !important;
    box-shadow: 0 0 13px rgba(0,0,0,0.07) !important;
  }
  /* Left column: image + heart + date — spans all rows */
  .mc-left {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: auto !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 4px !important;
    grid-column: 1 !important;
    grid-row: 1 / span 5 !important;
    padding-top: 0 !important;
  }
  .mc-left .match-card-image {
    width: 80px !important;
    height: 80px !important;
    border-radius: 8px !important;
  }
  .mc-heart {
    display: flex !important;
    width: 26px !important;
    height: 24px !important;
    font-size: 16px !important;
    color: #ccc !important;
    background: transparent !important;
    padding: 0 !important;
  }
  .mc-heart-desktop {
    display: none !important;
  }
  .mc-left .date-badge {
    width: 76px;
    line-height: 1;
  }
  .mc-left .date-badge .month { font-size: 13px; padding: 3px 0; line-height: 1.2; }
  .mc-left .date-badge .day { font-size: 20px; padding: 2px 0; line-height: 1.2; }
  .mc-left .date-badge .weekday { font-size: 11px; padding: 2px 0; line-height: 1.2; }

  /* Right column content */
  .mc-title { grid-column: 2 !important; }
  .mc-title p {
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 20px !important;
    -webkit-line-clamp: 3 !important;
    margin-top: 0 !important;
  }
  .mc-venue {
    grid-column: 2 !important;
    font-size: 14px !important;
    color: #8F9CA3 !important;
    margin-top: 2px !important;
  }
  .mc-city {
    grid-column: 2 !important;
    font-size: 14px !important;
    margin-top: 2px !important;
  }
  .mc-tickets {
    grid-column: 2 !important;
    font-size: 14px !important;
    margin-top: 4px !important;
  }
  /* Price in right column, BUY spans full width */
  .mc-action {
    grid-column: 2 !important;
    flex-direction: column !important;
    align-items: stretch !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    gap: 2px !important;
  }
  .mc-action > div:first-child {
    display: flex !important;
    align-items: baseline !important;
    gap: 4px !important;
  }
  .mc-action > div:first-child span {
    font-size: 11px !important;
    display: inline !important;
  }
  .mc-action > div:first-child div {
    font-size: 18px !important;
    display: inline !important;
    line-height: 1 !important;
  }
  .mc-action .btn-buy {
    font-size: 15px !important;
    padding: 11px 0 !important;
    border-radius: 32px !important;
  }

  /* --- Widget bar --- */
  .widget-bar {
    flex-direction: column !important;
    gap: 12px !important;
    padding: 12px 16px !important;
    border-radius: 16px !important;
  }
  .widget-bar > div {
    text-align: left !important;
  }
  .widget-bar > div:last-child {
    text-align: left !important;
  }
  .widget-bar .widget-btn-white,
  .widget-bar .widget-btn-black {
    font-size: 11px !important;
    padding: 4px 8px !important;
    height: 36px !important;
  }
  /* Widget inner flex containers */
  .widget-bar div[style*="display:flex"][style*="justify-content:flex-end"] {
    justify-content: flex-start !important;
  }

  /* --- Round items --- */
  .round-item {
    height: 40px;
    max-height: 40px;
    border-radius: 20px;
    margin-bottom: 8px;
  }
  .round-item-left {
    padding: 10px 12px;
    padding-right: 4px;
  }
  .round-item-right {
    padding: 0 14px 0 18px;
    border-radius: 20px;
  }
  .round-tickets {
    font-size: 14px;
  }

  /* --- Checkout page --- */
  .checkout-layout {
    flex-direction: column !important;
    gap: 16px !important;
  }
  .checkout-sidebar {
    width: 100% !important;
    min-width: 0 !important;
    position: relative !important;
    top: auto !important;
    order: -1 !important;
  }
  .checkout-main-panel {
    width: 100% !important;
    min-width: 0 !important;
    flex: 1 !important;
  }
  /* Checkout form grids: stack */
  .checkout-form-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  /* Payment tabs */
  .checkout-payment-tabs {
    flex-wrap: wrap !important;
  }
  .checkout-payment-tab {
    min-width: 0 !important;
    flex: 1 1 calc(50% - 6px) !important;
  }
  /* Pay button full width */
  .checkout-pay-btn,
  .pay-btn {
    width: 100% !important;
  }
  /* Checkout inner card padding */
  .checkout-main-panel > form > div[style*="padding:30px"] {
    padding: 16px !important;
  }

  /* --- SEO features grid --- */
  .seo-features-grid {
    grid-template-columns: 1fr !important;
  }

  /* --- Quick links wrap --- */
  div[style*="display:flex"][style*="flex-wrap:wrap"][style*="gap:8px"] {
    gap: 6px !important;
  }

  /* --- Header (already handled in header.html, reinforce) --- */
  .header {
    height: 38px;
    padding: 0 12px;
  }

  /* --- Footer --- */
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 24px !important;
  }

  /* --- Floating buttons --- */
  .chat-widget {
    right: 16px;
    bottom: 16px;
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  .back-to-top {
    right: 16px;
    bottom: 64px;
    width: 36px;
    height: 36px;
  }

  /* --- Ticket purchase layout --- */
  .ticket-purchase-layout {
    grid-template-columns: 1fr !important;
  }
  .ticket-detail-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* --- Ticket page (event detail) --- */
  .ticket-page-grid {
    grid-template-columns: 1fr !important;
  }
  .ticket-page-grid > div:first-child {
    display: none !important;
  }
  .ticket-page-grid > div:last-child {
    max-height: none !important;
    overflow: visible !important;
    padding: 0 12px !important;
  }
  .ticket-page-banner h1 {
    font-size: 18px !important;
  }
  .ticket-page-banner img {
    width: 50px !important;
    height: 50px !important;
  }
  .category-pills {
    flex-wrap: wrap !important;
  }
  .ticket-listing-card {
    flex-direction: column !important;
  }
  .ticket-listing-right {
    width: 100% !important;
    flex: 1 1 auto !important;
    border-left: none !important;
    border-top: 1px solid var(--border) !important;
    padding: 12px !important;
  }

  /* --- Account layout --- */
  .acct-layout {
    grid-template-columns: 1fr !important;
  }
  .acct-form-row {
    grid-template-columns: 1fr !important;
  }

  /* --- USDT layout --- */
  .usdt-layout {
    grid-template-columns: 1fr !important;
  }

  /* --- Venue detail layout --- */
  .venue-detail-layout {
    grid-template-columns: 1fr !important;
  }

  /* --- Event detail grid (seat map + listings) --- */
  .detail-grid {
    grid-template-columns: 1fr !important;
  }
  .detail-seatmap {
    min-height: 250px !important;
    height: auto !important;
    position: relative !important;
    top: 0 !important;
    border-right: none !important;
    border-bottom: 1px solid var(--border) !important;
    padding: 20px !important;
  }
  .detail-listings {
    max-height: none !important;
  }
  .detail-banner {
    padding: 12px 16px 0 !important;
    top: 0 !important;
  }
  .detail-banner-title {
    font-size: 15px !important;
  }
  .detail-filters {
    flex-wrap: wrap !important;
  }
  .detail-protection-item {
    flex: 1 1 100% !important;
  }

  /* --- Container padding on mobile --- */
  .container {
    padding: 0 16px !important;
  }

  /* --- Section titles --- */
  .section-title {
    font-size: 24px !important;
  }

  /* --- Utility grids on mobile --- */
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr !important;
  }

  /* --- Search overlay on mobile --- */
  .search-overlay > div {
    margin: 0 16px !important;
    max-width: 100% !important;
  }

  /* --- Modals on mobile --- */
  .qty-modal {
    margin: 0 16px !important;
    max-width: calc(100% - 32px) !important;
  }

  /* --- Page header --- */
  .page-header h1 {
    font-size: 24px !important;
  }

  /* --- Breadcrumb wrap --- */
  .breadcrumb {
    flex-wrap: wrap !important;
  }

  /* --- Offer card on mobile --- */
  .offer-card {
    padding: 16px !important;
  }
}

/* ===== Small mobile: <=480px ===== */
@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr !important;
  }
  .view-tabs {
    grid-template-columns: repeat(2, 1fr) !important;
    height: auto !important;
  }
  .view-tabs a,
  .view-tabs button {
    height: 40px !important;
  }

  /* Payment tabs: stack to 1 column */
  .checkout-payment-tabs {
    flex-direction: column !important;
  }
  .checkout-payment-tab {
    flex: 1 1 100% !important;
    min-width: 0 !important;
  }

  /* Smaller hero title */
  .hero-title-row h1 {
    font-size: 20px !important;
  }

  /* Ticket detail grid: single column */
  .ticket-detail-grid {
    grid-template-columns: 1fr !important;
  }

  /* Match card title text */
  .match-card p {
    font-size: 16px !important;
    line-height: 1.3 !important;
  }

  /* Buy button text */
  .btn-buy {
    font-size: 14px !important;
    height: 36px !important;
  }

  /* Price text */
  .match-card div[style*="font-size:24px"] {
    font-size: 20px !important;
  }

  /* Smaller section headings */
  .section-title {
    font-size: 20px !important;
  }
  .page-header h1 {
    font-size: 20px !important;
  }

  /* Account order items */
  .acct-order-item {
    flex-direction: column !important;
    gap: 8px !important;
  }
  .acct-order-item > div:last-child {
    text-align: left !important;
  }

  /* Payment local currency: inline labels stack */
  strong[style*="width:120px"] {
    display: block !important;
    width: auto !important;
    margin-bottom: 2px !important;
  }

  /* Checkout inner padding */
  .checkout-main-panel > form > div {
    padding: 12px !important;
  }

  /* Checkout heading */
  h4[style*="font-size:18px"] {
    font-size: 16px !important;
  }
}
