/* ============================================================
   ShoppingMz — Bilhetes (Ticket Marketplace) Styles
   ============================================================ */

/* --- Hero Search ------------------------------------------ */
.bilhetes-hero {
  background: var(--tickets-event);
  color: #fff;
  isolation: isolate;
  min-height: clamp(330px, 42vw, 520px);
  overflow: hidden;
  padding: clamp(48px, 7vw, 76px) 0 clamp(32px, 5vw, 48px);
  position: relative;
  text-align: center;
}
.bilhetes-hero.has-image {
  background-color: transparent;
  background-position: center;
  background-size: cover;
}
.bilhetes-hero-img,
.bilhetes-hero-overlay {
  position: absolute;
  inset: 0;
}
.bilhetes-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  z-index: 0;
}
.bilhetes-hero-img.is-loaded {
  opacity: 1;
}
.bilhetes-hero-overlay {
  background: rgba(0,0,0,var(--hero-overlay, .45));
  pointer-events: none;
  z-index: 1;
}
.bilhetes-hero > .container {
  position: relative;
  z-index: 2;
}
.bilhetes-hero.has-image:not(.image-ready) .bilhetes-hero-overlay,
.bilhetes-hero.has-image:not(.image-ready) > .container {
  opacity: 0;
}
.bilhetes-hero-overlay,
.bilhetes-hero > .container {
  transition: opacity .12s ease;
}
.bilhetes-hero-sub {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.bilhetes-hero-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 8px;
  text-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.bilhetes-hero-sub {
  font-size: 1.05rem;
  opacity: .85;
  margin-bottom: 28px;
}
.bilhetes-search-wrap {
  max-width: 620px;
  margin: 0 auto;
  position: relative;
}
.bilhetes-search-form {
  display: flex;
  background: var(--surface);
  border-radius: var(--radius-full);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.2);
}
.bilhetes-search-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 16px 22px;
  font-size: 1rem;
  color: var(--text);
  background: transparent;
}
.bilhetes-search-input::placeholder { color: var(--text-muted); }
.bilhetes-search-btn {
  background: var(--accent);
  color: var(--text);
  border: none;
  padding: 16px 28px;
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  transition: background .2s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.bilhetes-search-btn:hover { background: var(--accent-dark); }

/* Stats strip */
.bilhetes-stats {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.bilhetes-stat {
  text-align: center;
  opacity: .85;
}
.bilhetes-stat strong { display: block; font-size: 1.4rem; font-weight: 800; }
.bilhetes-stat span   { font-size: .82rem; }

/* --- Filter Row ------------------------------------------- */
.filter-row {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  position: sticky;
  top: var(--header-h);
  z-index: 800;
}
.filter-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.filter-tabs {
  display: flex;
  gap: 4px;
}
.filter-tab {
  padding: 7px 18px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text-light);
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  display: flex;
  align-items: center;
  gap: 5px;
}
.filter-tab.active         { background: var(--primary); border-color: var(--primary); color: #fff; }
.filter-tab[data-type="event"].active     { background: var(--tickets-event); border-color: var(--tickets-event); }
.filter-tab[data-type="transport"].active { background: var(--tickets-transport); border-color: var(--tickets-transport); }
.filter-tab:hover:not(.active) { border-color: var(--primary); color: var(--primary); }

.filter-divider {
  width: 1px;
  height: 28px;
  background: var(--border);
}
.filter-select {
  padding: 7px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: .85rem;
  color: var(--text);
  background: var(--surface);
  outline: none;
  cursor: pointer;
  transition: border-color .2s;
}
.filter-select:focus { border-color: var(--primary); }
.filter-count {
  margin-left: auto;
  font-size: .85rem;
  color: var(--text-muted);
}

/* --- Marketplace Grid ------------------------------------- */
.marketplace-section { padding: 36px 0 48px; }
.marketplace-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Full ticket card (marketplace version) */
.tk-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .2s;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.tk-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}
.tk-img-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg);
}
.tk-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.tk-card:hover .tk-img-wrap img { transform: scale(1.06); }

.tk-type-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
  color: #fff;
  backdrop-filter: blur(4px);
}
.tk-type-badge.event     { background: rgba(124,58,237,.9); }
.tk-type-badge.transport { background: rgba(5,150,105,.9); }
.tk-type-badge.other     { background: rgba(100,116,139,.9); }

.tk-stock-pill {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0,0,0,.6);
  color: rgba(255,255,255,.9);
  font-size: .7rem;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(4px);
}
.tk-stock-pill.low { background: rgba(239,68,68,.75); }

.tk-body {
  padding: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tk-vendor {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  color: var(--text-muted);
}
.tk-vendor-logo {
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  overflow: hidden;
  background: var(--bg);
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.tk-vendor-logo img { width: 100%; height: 100%; object-fit: cover; }
.tk-verified { color: var(--success); font-size: .7rem; }
.tk-title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tk-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.tk-info-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  color: var(--text-light);
}
.tk-info-row i { width: 14px; text-align: center; flex-shrink: 0; }
.tk-info-row.event-color i   { color: var(--tickets-event); }
.tk-info-row.transport-color i { color: var(--tickets-transport); }

.tk-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  margin-top: auto;
  gap: 8px;
}
.tk-price-block .price-label { font-size: .72rem; color: var(--text-muted); }
.tk-price-block .price-val {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
}
.tk-price-block .price-orig {
  font-size: .75rem;
  text-decoration: line-through;
  color: var(--danger);
}
.btn-comprar {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: none;
  font-weight: 700;
  font-size: .82rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all .2s;
  white-space: nowrap;
  color: #fff;
}
.btn-comprar.event     { background: var(--tickets-event); }
.btn-comprar.transport { background: var(--tickets-transport); }
.btn-comprar.other     { background: var(--primary); }
.btn-comprar:hover { opacity: .88; transform: translateY(-1px); }

/* --- Ticket Detail Page ----------------------------------- */
.bilhete-detail { padding: 32px 0 56px; }
.bilhete-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}

.bilhete-banner {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/7;
  background: var(--bg);
  margin-bottom: 24px;
}
.bilhete-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bilhete-vendor-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.vendor-logo-md {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 2px solid var(--border);
  background: var(--bg);
  flex-shrink: 0;
}
.vendor-logo-md img { width: 100%; height: 100%; object-fit: cover; }
.vendor-name-lg  { font-size: .95rem; font-weight: 700; color: var(--text); }
.vendor-verified {
  font-size: .75rem;
  color: var(--success);
  display: flex;
  align-items: center;
  gap: 3px;
}
.vendor-city { font-size: .8rem; color: var(--text-muted); }

.bilhete-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.25;
}
.bilhete-type-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
  color: #fff;
  margin-bottom: 20px;
}
.bilhete-type-pill.event     { background: var(--tickets-event); }
.bilhete-type-pill.transport { background: var(--tickets-transport); }

.bilhete-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}
.bilhete-meta-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.bilhete-meta-item i {
  font-size: 1rem;
  color: var(--primary);
  margin-top: 2px;
  flex-shrink: 0;
}
.bilhete-meta-item.event-accent i   { color: var(--tickets-event); }
.bilhete-meta-item.transport-accent i { color: var(--tickets-transport); }
.meta-label { font-size: .75rem; color: var(--text-muted); display: block; }
.meta-val   { font-size: .9rem; font-weight: 600; color: var(--text); }

.bilhete-desc-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}
.bilhete-desc {
  font-size: .92rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* Route display for transport */
.route-display {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 20px;
}
.route-city {
  text-align: center;
  flex: 1;
}
.route-city-name { font-size: 1.1rem; font-weight: 800; color: var(--text); }
.route-city-time { font-size: .8rem; color: var(--text-muted); }
.route-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--tickets-transport);
  font-size: .9rem;
  flex-shrink: 0;
}
.route-arrow span { font-size: .7rem; color: var(--text-muted); white-space: nowrap; }

/* --- Purchase Card (sticky sidebar) ----------------------- */
.purchase-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: sticky;
  top: calc(var(--header-h) + 20px);
  box-shadow: var(--shadow);
}
.purchase-card-header {
  padding: 20px;
  background: var(--primary);
  color: #fff;
}
.purchase-price-main {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
}
.purchase-price-main span { font-size: .9rem; font-weight: 500; opacity: .8; }
.purchase-price-original { color: var(--danger); font-size: .88rem; text-decoration: line-through; opacity: .85; }
.purchase-discount-pill {
  display: inline-block;
  background: var(--accent);
  color: var(--text);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: .72rem;
  font-weight: 700;
  margin-left: 8px;
}
.purchase-stock {
  font-size: .8rem;
  opacity: .8;
  margin-top: 6px;
}
.purchase-card-body { padding: 20px; }

.qty-selector {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  width: 120px;
  margin-bottom: 18px;
}
.qty-btn {
  width: 36px;
  height: 36px;
  background: var(--bg);
  border: none;
  font-size: 1.1rem;
  color: var(--text);
  cursor: pointer;
  transition: background .2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qty-btn:hover { background: var(--border); }
.qty-input {
  flex: 1;
  text-align: center;
  border: none;
  outline: none;
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  background: var(--surface);
  height: 36px;
}

.price-breakdown {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 12px 14px;
  margin-bottom: 18px;
}
.price-breakdown-row {
  display: flex;
  justify-content: space-between;
  font-size: .85rem;
  padding: 4px 0;
  color: var(--text-light);
}
.price-breakdown-row.total {
  font-weight: 800;
  font-size: 1rem;
  color: var(--text);
  border-top: 1px solid var(--border);
  margin-top: 6px;
  padding-top: 8px;
}

.purchase-form .form-group { margin-bottom: 14px; }
.purchase-form .form-label { font-size: .82rem; }
.purchase-form .form-control { padding: 9px 12px; font-size: .88rem; }

.payment-options { margin-bottom: 16px; }
.payment-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all .2s;
  margin-bottom: 8px;
}
.payment-option.selected {
  border-color: var(--primary);
  background: var(--primary-light);
}
.payment-option input[type="radio"] { accent-color: var(--primary); }
.payment-option-label {
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
}
.payment-option-sub { font-size: .75rem; color: var(--text-muted); }
.mpesa-logo {
  background: #e8342d;
  color: #fff;
  font-weight: 800;
  font-size: .72rem;
  padding: 3px 7px;
  border-radius: 4px;
  margin-left: auto;
}

.btn-buy {
  width: 100%;
  background: var(--tickets-event);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 15px;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: all .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: 0;
}
.btn-buy:hover { opacity: .9; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-buy.transport { background: var(--tickets-transport); }
.btn-buy:disabled { opacity: .55; cursor: not-allowed; transform: none; }

.purchase-trust {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.purchase-trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .78rem;
  color: var(--text-muted);
}
.purchase-trust-item i { color: var(--success); font-size: .8rem; }

/* --- M-Pesa Instructions Modal ---------------------------- */
.ticket-mpesa-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.65);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.ticket-mpesa-overlay.active {
  display: flex;
}
.ticket-mpesa-modal {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  width: min(420px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  padding: 28px;
  text-align: center;
  box-shadow: 0 24px 80px rgba(15,23,42,.28);
  animation: modalIn .3s ease;
}
.ticket-mpesa-icon {
  color: var(--primary);
  font-size: 2.7rem;
  margin-bottom: 12px;
}
.ticket-mpesa-icon.success { color: var(--success); }
.ticket-mpesa-icon.failed { color: var(--danger); }
.ticket-mpesa-modal h2 {
  font-size: 1.18rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.ticket-mpesa-modal p {
  color: var(--text-muted);
  font-size: .88rem;
  margin-bottom: 14px;
}
.ticket-mpesa-ref {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 12px;
  font-size: .84rem;
  margin-bottom: 14px;
}
.ticket-mpesa-timer-bar {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
  margin: 14px 0;
}
.ticket-mpesa-timer-fill {
  height: 100%;
  width: 100%;
  background: var(--primary);
  transition: width 1s linear;
}
.ticket-mpesa-count {
  font-size: .86rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.ticket-mpesa-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  text-align: left;
}
.ticket-mpesa-steps li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: .86rem;
}
.ticket-mpesa-steps li:last-child { border-bottom: none; }
.ticket-mpesa-steps span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ticket-mpesa-cancel,
.ticket-mpesa-retry {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-weight: 600;
}
.ticket-mpesa-retry {
  background: var(--danger);
  border-color: var(--danger);
  color: #fff;
  margin-top: 8px;
}

/* --- E-Ticket Success ------------------------------------- */
.eticket-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.eticket-modal {
  background: var(--surface);
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  overflow: hidden;
  animation: modalIn .3s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(.9); }
  to   { opacity: 1; transform: scale(1); }
}
.eticket-header {
  background: var(--primary);
  color: #fff;
  padding: 24px;
  text-align: center;
}
.eticket-header i { font-size: 2.5rem; margin-bottom: 8px; }
.eticket-header h2 { font-size: 1.3rem; font-weight: 800; margin-bottom: 4px; }
.eticket-header p  { opacity: .85; font-size: .9rem; }
.eticket-body { padding: 24px; }
.eticket-code-display {
  background: var(--bg);
  border: 2px dashed var(--border-dark);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  margin-bottom: 20px;
}
.eticket-code-label { font-size: .8rem; color: var(--text-muted); margin-bottom: 6px; }
.eticket-code {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: 0;
  font-family: monospace;
}
.eticket-details { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.eticket-detail-row {
  display: flex;
  justify-content: space-between;
  font-size: .88rem;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}
.eticket-detail-row:last-child { border-bottom: none; }
.eticket-detail-row span:first-child { color: var(--text-muted); }
.eticket-detail-row span:last-child { font-weight: 600; color: var(--text); }
.eticket-actions { display: flex; flex-direction: column; gap: 10px; }

/* Responsive */
@media (max-width: 768px) {
  .bilhetes-hero { min-height: 340px; }
  .bilhetes-hero-title { font-size: 1.5rem; }
  .bilhete-layout { grid-template-columns: 1fr; }
  .purchase-card { position: static; box-shadow: none; }
  .bilhete-meta-grid { grid-template-columns: 1fr; }
  .marketplace-grid { grid-template-columns: repeat(2, 1fr); }
  .filter-inner { gap: 8px; }
}

@media (max-width: 480px) {
  .bilhetes-hero { min-height: 320px; padding: 42px 0 26px; }
  .bilhetes-hero-title { font-size: 1.2rem; }
  .marketplace-grid { grid-template-columns: 1fr; }
  .bilhetes-stats { gap: 20px; }
  .filter-tabs { flex-wrap: wrap; gap: 6px; }
  .ticket-mpesa-modal { padding: 22px 16px; }
}

/* --- Ticket Quick-View Modal ------------------------------ */
.tqv-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,.65);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}
.tqv-modal {
  background: var(--surface);
  border-radius: var(--radius-lg);
  width: min(520px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 80px rgba(15,23,42,.28);
  animation: modalIn .25s ease;
  position: relative;
}
.tqv-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(15,23,42,.55);
  color: #fff;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s;
}
.tqv-close:hover { background: rgba(15,23,42,.8); }
.tqv-img-wrap {
  aspect-ratio: 16/7;
  overflow: hidden;
  background: var(--bg);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.tqv-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tqv-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tqv-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.tqv-type-badge {
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
}
.tqv-type-badge.event     { background: var(--tickets-event); }
.tqv-type-badge.transport { background: var(--tickets-transport); }
.tqv-type-badge.other     { background: var(--text-light); }
.tqv-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
  margin: 0;
}
.tqv-vendor {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .82rem;
  color: var(--text-muted);
}
.tqv-info {
  display: flex;
  flex-direction: column;
  gap: 7px;
  background: var(--bg);
  border-radius: var(--radius);
  padding: 14px;
  border: 1px solid var(--border);
}
.tqv-info-row {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .87rem;
  color: var(--text-light);
}
.tqv-info-row i { width: 16px; text-align: center; color: var(--primary); flex-shrink: 0; }
.tqv-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.tqv-price-label { font-size: .75rem; color: var(--text-muted); margin-bottom: 2px; }
.tqv-price { font-size: 1.5rem; font-weight: 900; color: var(--primary); }
.tqv-btn {
  background: var(--tickets-event);
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  padding: 12px 24px;
  font-size: .92rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all .2s;
  white-space: nowrap;
}
.tqv-btn:hover { opacity: .88; transform: translateY(-1px); color: #fff; }
.tqv-btn.transport { background: var(--tickets-transport); }

@media (max-width: 480px) {
  .tqv-modal { border-radius: var(--radius); }
  .tqv-img-wrap { border-radius: var(--radius) var(--radius) 0 0; }
  .tqv-title { font-size: 1.1rem; }
}
