﻿/*
* Eventu Ticketing - Custom Bootstrap Theme
* Theme: Minimalist Green
*/

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

:root {
    /* Brand Colors (Green) */
    --brand-600: #16a34a;
    /* Primary Green */
    --brand-700: #15803d;
    /* Darker Green (Hover) */
    --brand-100: #dcfce7;
    /* Light Green (Backgrounds) */

    /* Text & UI Colors */
    --ink-900: #111827;
    /* Main Text */
    --muted-600: #6b7280;
    /* Secondary Text */
    --border-200: #e5e7eb;
    /* Borders */
    --bg-body: #f9fafb;
    /* Page Background */
    --bg-card: #ffffff;
    /* Card Background */
    --radius-card: 1rem;
    --shadow-card: 0 10px 24px rgba(15, 23, 42, 0.06);
    --shadow-sticky: 0 14px 34px rgba(15, 23, 42, 0.12);
    --z-sticky: 100;

    /* Typography */
    --font-main: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    font-family: var(--font-main);
    color: var(--ink-900);
    background-color: var(--bg-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Typography Overrides */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    color: var(--ink-900);
    letter-spacing: -0.025em;
}

h1 {
    font-size: 2rem;
}

/* 32px */
h2 {
    font-size: 1.5rem;
}

/* 24px */
h3 {
    font-size: 1.25rem;
}

/* 20px */

.text-muted {
    color: var(--muted-600) !important;
}

/* Links */
a {
    color: var(--brand-600);
    text-decoration: none;
    transition: color 0.15s ease-in-out;
}

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

/* Buttons */
.btn {
    font-weight: 500;
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    /* 8px */
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: var(--brand-600);
    border-color: var(--brand-600);
    color: white;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--brand-700);
    border-color: var(--brand-700);
    color: white;
}

.btn-outline-primary {
    color: var(--brand-600);
    border-color: var(--brand-600);
}

.btn-outline-primary:hover {
    background-color: var(--brand-600);
    color: white;
}

/* Cards */
.card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-200);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    margin-bottom: 1.5rem;
}

.card-header {
    background-color: transparent;
    border-bottom: 1px solid var(--border-200);
    padding: 1.25rem 1.5rem;
    font-weight: 600;
}

.card-body {
    padding: 1.5rem;
}

/* User Interface Elements */
.badge {
    font-weight: 500;
    padding: 0.35em 0.65em;
    border-radius: 0.375rem;
}

.form-control,
.form-select {
    border-color: var(--border-200);
    padding: 0.625rem 0.875rem;
    border-radius: 0.5rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--brand-600);
    box-shadow: 0 0 0 0.25rem rgba(22, 163, 74, 0.15);
    /* Brand with opacity */
}

/* Navbar */
.navbar-app {
    background-color: white;
    border-bottom: 1px solid var(--border-200);
    padding: 0.75rem 0;
}

.navbar-brand {
    font-weight: 600;
    color: var(--brand-600) !important;
    font-size: 1.25rem;
}

/* Tables */
.table {
    margin-bottom: 0;
}

.table th {
    font-weight: 500;
    color: var(--muted-600);
    border-bottom-width: 1px;
    background-color: #f9fafb;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    padding: 0.75rem 1rem;
}

.table td {
    vertical-align: middle;
    color: var(--ink-900);
    padding: 0.75rem 1rem;
}

/* Utilities */
.rounded-xl {
    border-radius: 0.75rem !important;
}

.shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
}

.text-brand {
    color: var(--brand-600) !important;
}

.bg-brand-100 {
    background-color: var(--brand-100) !important;
}

.bg-brand-600 {
    background-color: var(--brand-600) !important;
}

.bg-brand-700 {
    background-color: var(--brand-700) !important;
}

/* Transition Utility */
.transition-hover {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.transition-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Dashboard Cards (Admin) */
.stats-card {
    transition: transform 0.2s;
}

.stats-card:hover {
    transform: translateY(-2px);
}

/* Icon Shape */
.icon-shape {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    font-size: 1.5rem;
}

/* Admin Sidebar */
.sidebar {
    width: 260px;
    background-color: #ffffff;
    border-right: 1px solid var(--border-200);
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    overflow-y: auto;
}

.main-content {
    margin-left: 260px;
    padding-bottom: 2rem;
}

.sidebar-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    color: var(--muted-600);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.sidebar-link:hover {
    background-color: var(--bg-body);
    color: var(--brand-600);
}

.sidebar-link.active {
    color: var(--brand-600);
    background-color: var(--brand-100);
    border-left-color: var(--brand-600);
}

.sidebar-link i {
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

/* Responsive Sidebar */
@media (max-width: 991.98px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
    }

    .sidebar.show {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
    }
}

/* Spacing Helpers */
.spacing-1 {
    letter-spacing: 0.05em;
}

/* ============================================================
   VITRINE – Premium Event Cards
   ============================================================ */

/* Soft badge backgrounds (used by Event model accessor) */
.bg-success-soft {
    background-color: rgba(22, 163, 74, 0.12) !important;
}

.bg-warning-soft {
    background-color: rgba(234, 179, 8, 0.15) !important;
}

/* Card shell */
.event-card {
    position: relative;
    /* REQUIRED: contains stretched-link ::after to the card */
    background: #fff;
    border: 1px solid var(--border-200);
    border-radius: 1rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.event-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.11);
}

/* Image area – Bootstrap .ratio.ratio-16x9 handles the 16:9 height */
.event-card__image-wrapper {
    position: relative;
    /* keeps overlay & badge anchored */
    overflow: hidden;
    /* clips image zoom on hover */
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
}

/* Image: Bootstrap .ratio > * applies position:absolute;width:100%;height:100%; */
/* We only need object-fit and the hover zoom transition here */
.event-card__img {
    object-fit: cover;
    transition: transform 0.35s ease;
}

.event-card:hover .event-card__img {
    transform: scale(1.04);
}

/* Gradient overlay at bottom of image */
.event-card__overlay {
    position: absolute;
    inset: auto 0 0 0;
    height: 55%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.35) 0%, transparent 100%);
    pointer-events: none;
}

/* Image placeholder */
.event-card__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 50%, #6ee7b7 100%);
}

.event-card__placeholder-initials {
    font-size: 2.25rem;
    font-weight: 700;
    color: rgba(5, 90, 47, 0.6);
    letter-spacing: -0.05em;
    line-height: 1;
}

.event-card__placeholder-icon {
    font-size: 1.1rem;
    color: rgba(5, 90, 47, 0.35);
}

/* Status badge */
.status-badge {
    position: absolute;
    top: 0.625rem;
    left: 0.625rem;
    z-index: 2;
    /* above the placeholder / image which sit in a .ratio stacking context */
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.28em 0.7em;
    border-radius: 100px;
    line-height: 1.4;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.status-badge--available {
    background: rgba(22, 163, 74, 0.88);
    color: #fff;
}

.status-badge--low {
    background: rgba(217, 119, 6, 0.9);
    color: #fff;
}

.status-badge--sold {
    background: rgba(185, 28, 28, 0.9);
    color: #fff;
}

.status-badge--closed {
    background: rgba(100, 116, 139, 0.85);
    color: #fff;
}

/* Body */
.event-card__body {
    padding: 1rem 1.125rem 0.625rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1 1 auto;
}

/* Title */
.event-card__title {
    font-size: 0.975rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Meta (date + location) */
.event-card__meta {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.event-card__meta-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    color: var(--muted-600);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.event-card__meta-item i {
    flex-shrink: 0;
    color: var(--brand-600);
    font-size: 0.8rem;
}

/* Organizer */
.event-card__organizer {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.1rem;
}

.organizer-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--brand-100);
    color: var(--brand-600);
    font-size: 0.65rem;
    font-weight: 700;
    flex-shrink: 0;
    border: 1px solid rgba(22, 163, 74, 0.25);
}

/* Attribute chips */
.event-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-top: 0.1rem;
}

.attr-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.68rem;
    font-weight: 500;
    padding: 0.2em 0.55em;
    border-radius: 100px;
    border: 1px solid var(--border-200);
    background: #f8fafc;
    color: var(--muted-600);
    line-height: 1.5;
}

.attr-chip i {
    font-size: 0.72rem;
    color: var(--brand-600);
}

/* Footer (price + CTA) */
.event-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.125rem;
    border-top: 1px solid var(--border-200);
    margin-top: auto;
    background: #fafafa;
}

.event-card__price {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--brand-600);
    white-space: nowrap;
}

.event-card__cta {
    font-size: 0.78rem;
    padding: 0.35rem 0.85rem;
    border-radius: 100px;
    white-space: nowrap;
}

/* ============================================================
   VITRINE – Filter Bar
   ============================================================ */

.vitrine-filters-bar {
    background: #fff;
    border: 1px solid var(--border-200);
    border-radius: 0.875rem;
    padding: 1rem 1.125rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

/* Date period filter chips */
.filter-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.3em 0.8em;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 100px;
    border: 1px solid var(--border-200);
    background: #f1f5f9;
    color: var(--muted-600);
    text-decoration: none;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    white-space: nowrap;
}

.filter-chip:hover {
    background: var(--brand-100);
    color: var(--brand-600);
    border-color: var(--brand-600);
}

.filter-chip.active {
    background: var(--brand-600);
    color: #fff;
    border-color: var(--brand-600);
    font-weight: 600;
}

/* ============================================================
   VITRINE – Empty State
   ============================================================ */

.empty-state-vitrine {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 4rem 2rem;
    background: #fff;
    border: 1px dashed var(--border-200);
    border-radius: 1rem;
}

.empty-state-vitrine__icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--brand-100);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.875rem;
    color: var(--brand-600);
}


.empty-state-vitrine__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--ink-900);
}

.empty-state-vitrine__desc {
    font-size: 0.875rem;
    color: var(--muted-600);
    max-width: 380px;
    margin-bottom: 1.5rem;
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 3rem 1.5rem;
    border-radius: var(--radius-card);
    border: 1px dashed var(--border-200);
    background: #fff;
}

.empty-state__icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #eefbf2;
    color: var(--brand-600);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.empty-state__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.empty-state__desc {
    color: var(--muted-600);
    margin-bottom: 1.25rem;
    max-width: 420px;
}

/* ============================================================
   VERIFIED BADGE
   ============================================================ */

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.7rem;
    line-height: 1;
    padding: 0.35rem 0.55rem;
    border-radius: 999px;
    color: #0f766e;
    border: 1px solid rgba(15, 118, 110, 0.24);
    background: rgba(20, 184, 166, 0.14);
}

/* ============================================================
   VITRINE – Extra utilities
   ============================================================ */

.vitrine-search-group .form-control,
.vitrine-search-group .btn {
    height: 2.25rem;
}

.vitrine-search-group .btn {
    min-width: 2.5rem;
}

.filter-clear-btn {
    border-width: 2px;
}

.vitrine-result-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.vitrine-result-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    background: #ecfdf3;
    color: #166534;
    border: 1px solid #bbf7d0;
    padding: 0.32rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/* ============================================================
   EVENT SHOW PAGE – Embedded Image (top of card)
   ============================================================ */

.event-hero-embedded {
    border-radius: var(--radius-card);
    overflow: hidden;
    background: #111827;
}

.event-hero-embedded__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-hero-embedded__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(3rem, 8vw, 5rem);
    color: rgba(255, 255, 255, 0.5);
    background: linear-gradient(120deg, #374151, #1f2937);
}

.event-hero-embedded__title {
    font-size: clamp(1.55rem, 4.2vw, 2.25rem);
    line-height: 1.15;
    color: var(--ink-900);
    letter-spacing: -0.02em;
}

.event-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.92rem;
}

.event-hero__meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* ============================================================
   EVENT SHOW PAGE – Info blocks (info-grid)
   ============================================================ */

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
    margin-bottom: 1.75rem;
}

/* Individual block (view uses .info-block) */
.info-block {
    display: flex;
    gap: 0.8rem;
    padding: 0.95rem;
    border: 1px solid var(--border-200);
    border-radius: 0.85rem;
    background: #fbfdfc;
}

.info-block__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 0.6rem;
    background: var(--brand-100);
    color: var(--brand-600);
    font-size: 1rem;
    flex-shrink: 0;
}

.info-block__icon--warning {
    background: rgba(234, 179, 8, 0.12);
    color: #854d0e;
}

.info-block__label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted-600);
    font-weight: 700;
}

.info-block__value {
    display: block;
    font-weight: 600;
    font-size: 0.92rem;
}

.info-block__sub {
    display: block;
    font-size: 0.78rem;
    color: var(--muted-600);
    margin-top: 0.15rem;
}

/* ============================================================
   EVENT SHOW PAGE – Policies accordion (<details>)
   ============================================================ */

.policy-details {
    border: 1px solid var(--border-200);
    border-radius: 0.75rem;
    background: #fff;
    padding: 0.8rem 0.95rem;
}

.policy-details>summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    font-weight: 700;
    user-select: none;
}

.policy-details>summary::-webkit-details-marker {
    display: none;
}

.policy-details__body {
    margin-top: 0.75rem;
    color: var(--muted-600);
    white-space: pre-line;
    font-size: 0.9rem;
    line-height: 1.65;
}

/* ============================================================
   EVENT SHOW PAGE – Organizer card
   ============================================================ */

.organizer-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.8rem;
    border: 1px solid var(--border-200);
    background: #fff;
    border-radius: 0.85rem;
    padding: 0.9rem 1rem;
}

.organizer-card__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--brand-100);
    color: var(--brand-600);
    font-size: 1.1rem;
    font-weight: 700;
    flex-shrink: 0;
    border: 2px solid rgba(22, 163, 74, 0.2);
}

.organizer-card__name {
    font-weight: 700;
    font-size: 0.95rem;
}

.organizer-card__meta {
    font-size: 0.8rem;
    color: var(--muted-600);
}

/* ============================================================
   EVENT SHOW PAGE – Platform disclaimer
   ============================================================ */

.platform-disclaimer {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    margin-top: 0.9rem;
    border: 1px solid #f9d7b1;
    background: #fff7ed;
    color: #9a3412;
    border-radius: 0.8rem;
    padding: 0.85rem 0.95rem;
    font-size: 0.84rem;
    line-height: 1.5;
}

.platform-disclaimer i {
    flex-shrink: 0;
    margin-top: 0.1rem;
}

/* ============================================================
   EVENT SHOW PAGE – Section divider
   ============================================================ */

.section-divider {
    border: none;
    border-top: 1px solid var(--border-200);
    margin: 1.5rem 0;
}

/* ============================================================
   EVENT SHOW PAGE – Ticket box (right sidebar)
   ============================================================ */

.ticket-box {
    background: #fff;
    border: 1px solid var(--border-200);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-sticky);
    overflow: hidden;
}

.ticket-box__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.1rem;
    border-bottom: 1px solid var(--border-200);
    background: #fafafa;
}

.ticket-box__body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* mobile toggle button */
.ticket-box-mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.875rem 1rem;
    font-weight: 700;
    font-size: 0.95rem;
    background: var(--brand-600);
    color: #fff;
    border: none;
    border-radius: var(--radius-card);
    cursor: pointer;
    margin-bottom: 0.5rem;
}

/* ============================================================
   EVENT SHOW PAGE – Ticket rows
   ============================================================ */

.ticket-row {
    padding: 0.95rem;
    border: 1px solid var(--border-200);
    border-radius: 0.85rem;
    background: #fff;
    transition: border-color 0.15s;
}

.ticket-row__name {
    font-weight: 700;
    font-size: 0.95rem;
}

.ticket-row__status {
    font-size: 0.8rem;
    margin-top: 0.15rem;
    display: block;
}

.ticket-row__price {
    font-weight: 700;
    color: var(--brand-600);
    font-size: 1.05rem;
    white-space: nowrap;
}

.ticket-row__fee {
    font-size: 0.73rem;
    color: var(--muted-600);
    display: block;
}

/* low stock warning */
.ticket-row--low {
    border-color: #facc15;
    background: #fefce8;
}

/* sold out / not started / ended */
.ticket-row--sold {
    opacity: 0.7;
    background: #f8fafc;
}

/* ============================================================
   SHARED – Trust badges
   ============================================================ */

.trust-badges {
    display: grid;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-200);
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid var(--border-200);
    border-radius: 0.65rem;
    background: #f8fafc;
    color: #334155;
    padding: 0.55rem 0.7rem;
    font-size: 0.82rem;
}

.trust-badge i {
    color: var(--brand-600);
}

/* ============================================================
   CART PAGE – Items card
   ============================================================ */

.cart-items-card {
    background: #fff;
    border: 1px solid var(--border-200);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.cart-item-row {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-200);
    transition: background 0.15s;
}

.cart-item-row:last-child {
    border-bottom: none;
}

.cart-item-row:hover {
    background: #f9fafb;
}

.cart-item__event-name {
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1.3;
}

.cart-item__ticket-name {
    font-size: 0.8rem;
    color: var(--muted-600);
    margin-top: 0.1rem;
}

/* ============================================================
   CART PAGE & CHECKOUT – Summary sidebar
   ============================================================ */

.cart-summary-card {
    border: 1px solid var(--border-200);
    border-radius: var(--radius-card);
    background: #fff;
    box-shadow: var(--shadow-card);
    overflow: hidden;
    position: sticky;
    top: 80px;
}

.cart-summary-card__header {
    padding: 0.9rem 1.2rem;
    border-bottom: 1px solid var(--border-200);
    font-weight: 700;
    background: #fafafa;
    font-size: 0.95rem;
}

.cart-summary-card__body {
    padding: 1.2rem;
}

.cart-summary-line {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.55rem;
    font-size: 0.9rem;
}

.cart-summary-line--total {
    border-top: 2px solid var(--border-200);
    margin-top: 0.75rem;
    padding-top: 0.9rem;
    margin-bottom: 0;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--ink-900);
}

.cart-summary-fee-note {
    font-size: 0.75rem;
    color: var(--muted-600);
    margin-top: 0.5rem;
    line-height: 1.5;
}

/* ============================================================
   CHECKOUT PAGE – Progress steps
   ============================================================ */

.checkout-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: #fff;
    border: 1px solid var(--border-200);
    border-radius: 0.9rem;
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
}

.checkout-step {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    color: #94a3b8;
    font-weight: 600;
    text-align: center;
    padding: 0 0.3rem;
}

.checkout-step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    font-size: 0.72rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* BEM modifier: --done and --active (used in the view) */
.checkout-step--done {
    color: var(--brand-600);
}

.checkout-step--done .checkout-step__num {
    background: var(--brand-100);
    border-color: var(--brand-600);
    color: var(--brand-700);
}

.checkout-step--active {
    color: var(--ink-900);
}

.checkout-step--active .checkout-step__num {
    background: var(--brand-600);
    border-color: var(--brand-600);
    color: #fff;
}

/* separator between steps */
.checkout-step-sep {
    color: #cbd5e1;
    flex-shrink: 0;
    font-size: 0.85rem;
}

/* section headings inside checkout cards */
.checkout-section-heading {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid var(--border-200);
    color: var(--ink-900);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ============================================================
   CHECKOUT PAGE – Payment method cards
   ============================================================ */

.payment-method-card {
    border: 2px solid var(--border-200);
    border-radius: 0.9rem;
    padding: 1rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.payment-method-card:hover {
    border-color: #86efac;
    background: #f0fdf4;
}

/* class added by JS: .selected (used in the view) */
.payment-method-card.selected {
    border-color: var(--brand-600);
    background: #f0fdf4;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.12);
}

.payment-method-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.6rem;
    background: rgba(22, 163, 74, 0.1);
    color: var(--brand-600);
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* ============================================================
   CHECKOUT PAGE – Submit button loading state
   ============================================================ */

/* The view adds .loading class via JS */
.btn-submit-checkout .btn-spinner {
    display: none;
}

.btn-submit-checkout.loading .btn-text {
    display: none;
}

.btn-submit-checkout.loading .btn-spinner {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-submit-checkout.loading {
    opacity: 0.85;
    pointer-events: none;
}

/* ============================================================
   CHECKOUT PAGE – CEP spinner
   ============================================================ */

.cep-loading {
    position: absolute;
    top: 50%;
    right: 0.7rem;
    transform: translateY(-50%);
    display: none;
}

.cep-loading.show {
    display: block;
}

/* ============================================================
   EVENT GALLERY
   ============================================================ */

.event-gallery-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

/* small hover link utility */
.hover-brand:hover {
    color: var(--brand-600) !important;
}

/* ============================================================
   LANDING HERO – STREX EVENTUS
   ============================================================ */

:root {
    --strex-hero-bg: #f2f5f7;
    --strex-hero-surface: #ffffff;
    --strex-hero-ink: #0f172a;
    --strex-hero-muted: #475569;
    --strex-hero-border: #dbe2ea;
    --strex-hero-glow: rgba(22, 163, 74, 0.35);
}

.strex-hero {
    position: relative;
    overflow: hidden;
    border-radius: 1.75rem;
    border: 1px solid var(--strex-hero-border);
    padding: clamp(1.25rem, 3vw, 2.75rem);
    background:
        radial-gradient(circle at 86% 12%, rgba(22, 163, 74, 0.14), transparent 38%),
        radial-gradient(circle at 10% 86%, rgba(59, 130, 246, 0.11), transparent 33%),
        var(--strex-hero-bg);
    box-shadow: 0 24px 45px rgba(15, 23, 42, 0.08);
}

.strex-hero__content {
    max-width: 560px;
}

.strex-hero__title {
    font-family: "Sora", var(--font-main);
    color: var(--strex-hero-ink);
    line-height: 0.94;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    font-size: clamp(2.15rem, 6vw, 4.8rem);
}

.strex-title-line {
    display: block;
}

.strex-title-line--top,
.strex-title-line--bottom {
    font-weight: 700;
}

.strex-title-line--highlight {
    position: relative;
    display: inline-block;
    font-weight: 800;
    color: var(--brand-600);
    text-shadow:
        0 0 18px var(--strex-hero-glow),
        0 0 3px rgba(22, 163, 74, 0.5);
}

.strex-title-line--highlight::after {
    content: "";
    position: absolute;
    left: -0.12em;
    right: -0.12em;
    bottom: 0.12em;
    height: 0.34em;
    border-radius: 999px;
    z-index: -1;
    background: linear-gradient(90deg, rgba(22, 163, 74, 0.12), rgba(22, 163, 74, 0.38));
    transform-origin: left;
    animation: strexMarkerSweep 4s ease-in-out infinite;
}

.strex-hero__social {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
    color: var(--strex-hero-muted);
    font-weight: 600;
}

.strex-stars {
    color: #f59e0b;
    letter-spacing: 0.03em;
    display: inline-flex;
    gap: 0.15rem;
}

.strex-hero__subtitle {
    color: var(--strex-hero-muted);
    font-size: clamp(1rem, 1.4vw, 1.18rem);
    line-height: 1.55;
    max-width: 48ch;
    margin-bottom: 1.45rem;
}

.strex-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.strex-btn {
    border-radius: 999px;
    font-weight: 700;
    min-width: 170px;
    padding: 0.78rem 1.45rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.strex-btn:hover {
    transform: translateY(-2px);
}

.strex-btn--primary {
    background: var(--brand-600);
    border: 1px solid var(--brand-600);
    color: #fff;
    box-shadow: 0 10px 22px rgba(22, 163, 74, 0.3);
}

.strex-btn--primary:hover {
    background: var(--brand-700);
    border-color: var(--brand-700);
    color: #fff;
}

.strex-btn--secondary {
    background: #fff;
    border: 1px solid #cbd5e1;
    color: var(--strex-hero-ink);
}

.strex-btn--secondary:hover {
    background: #f8fafc;
    border-color: var(--strex-hero-ink);
    color: var(--strex-hero-ink);
}

.strex-hero-media {
    position: relative;
    height: clamp(360px, 50vw, 560px);
    max-width: 560px;
    margin-inline: auto;
}

.strex-hero-media::before,
.strex-hero-media::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.strex-hero-media::before {
    width: 180px;
    height: 180px;
    right: 1%;
    top: 0;
    background: radial-gradient(circle, rgba(22, 163, 74, 0.2), transparent 70%);
}

.strex-hero-media::after {
    width: 150px;
    height: 150px;
    left: 3%;
    bottom: 2%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2), transparent 70%);
}

.strex-media-card {
    --card-rotate: 0deg;
    position: absolute;
    overflow: hidden;
    border-radius: 1.35rem;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: #fff;
    box-shadow: 0 22px 38px rgba(15, 23, 42, 0.2);
    transform: rotate(var(--card-rotate));
    animation: strexCardFloat 6s ease-in-out infinite;
    will-change: transform;
}

.strex-media-card:hover {
    animation-play-state: paused;
    transform: translateY(-8px) rotate(var(--card-rotate)) scale(1.02);
}

.strex-media-card--left {
    --card-rotate: -7deg;
    width: 44%;
    height: 66%;
    top: 24%;
    left: 1%;
    z-index: 1;
    animation-delay: 0.2s;
}

.strex-media-card--main {
    --card-rotate: 1deg;
    width: 54%;
    height: 78%;
    top: 5%;
    left: 23%;
    z-index: 3;
    animation-delay: 0s;
}

.strex-media-card--right {
    --card-rotate: 8deg;
    width: 42%;
    height: 66%;
    top: 19%;
    right: 0;
    z-index: 2;
    animation-delay: 0.4s;
}

.strex-media-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
}

.strex-media-card__label {
    position: absolute;
    left: 0.6rem;
    right: 0.6rem;
    bottom: 0.7rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 999px;
    padding: 0.38rem 0.7rem;
    text-align: center;
}

.strex-floating-pill {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: #0f172a;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 999px;
    padding: 0.45rem 0.75rem;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.13);
    z-index: 4;
}

.strex-floating-pill i {
    color: var(--brand-600);
}

.strex-floating-pill--tickets {
    top: 3%;
    left: 4%;
}

.strex-floating-pill--organizer {
    right: 2%;
    bottom: 6%;
}

@keyframes strexMarkerSweep {
    0%,
    15% {
        transform: scaleX(0);
        opacity: 0;
    }

    30%,
    78% {
        transform: scaleX(1);
        opacity: 1;
    }

    100% {
        transform: scaleX(1);
        opacity: 0.75;
    }
}

@keyframes strexCardFloat {
    0%,
    100% {
        transform: translateY(0) rotate(var(--card-rotate));
    }

    50% {
        transform: translateY(-7px) rotate(var(--card-rotate));
    }
}

@media (max-width: 991.98px) {
    .strex-hero {
        border-radius: 1.2rem;
        padding: 1.2rem;
    }

    .strex-hero__content {
        max-width: 100%;
        text-align: center;
    }

    .strex-hero__social {
        justify-content: center;
    }

    .strex-hero__subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .strex-hero__actions {
        justify-content: center;
    }

    .strex-btn {
        width: 100%;
    }

    .strex-hero-media {
        margin-top: 0.7rem;
        height: 370px;
        max-width: 430px;
    }

    .strex-media-card--main {
        width: 56%;
        left: 22%;
    }

    .strex-media-card--left {
        width: 45%;
        left: 0;
        top: 28%;
    }

    .strex-media-card--right {
        width: 44%;
        right: 0;
        top: 24%;
    }

    .strex-floating-pill {
        font-size: 0.73rem;
        padding: 0.38rem 0.64rem;
    }
}

@media (max-width: 575.98px) {
    .strex-hero__title {
        font-size: clamp(2rem, 13vw, 2.8rem);
    }

    .strex-hero__social {
        flex-wrap: wrap;
        justify-content: center;
    }

    .strex-hero-media {
        height: 320px;
        max-width: 345px;
    }

    .strex-media-card {
        border-radius: 1rem;
    }

    .strex-floating-pill--organizer {
        right: 0;
        bottom: 2%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .strex-title-line--highlight::after,
    .strex-media-card {
        animation: none;
    }

    .strex-btn,
    .strex-media-card {
        transition: none;
    }
}

/* ============================================================
   PROMOTERS PAGE
   ============================================================ */

.promoters-hero {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    padding: clamp(1.25rem, 3vw, 2.75rem);
    background:
        radial-gradient(circle at 84% 18%, rgba(22, 163, 74, 0.2), transparent 40%),
        radial-gradient(circle at 16% 80%, rgba(59, 130, 246, 0.16), transparent 35%),
        linear-gradient(130deg, #020617 0%, #0b1220 58%, #101a2e 100%);
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 24px 46px rgba(2, 6, 23, 0.35);
}

.promoters-hero__content {
    max-width: 560px;
}

.promoters-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: linear-gradient(120deg, #16a34a, #22c55e);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 0.46rem 0.86rem;
    margin-bottom: 1rem;
}

.promoters-hero__title {
    color: #f8fafc;
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 0.98;
    letter-spacing: -0.03em;
    font-weight: 800;
    margin-bottom: 1rem;
}

.promoters-hero__title span {
    display: block;
    color: #cbd5e1;
    font-weight: 700;
}

.promoters-hero__subtitle {
    color: #cbd5e1;
    font-size: clamp(1rem, 1.35vw, 1.2rem);
    line-height: 1.55;
    margin-bottom: 1.5rem;
    max-width: 48ch;
}

.promoters-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.promoters-btn {
    border-radius: 999px;
    font-weight: 700;
    padding: 0.78rem 1.4rem;
    min-width: 180px;
}

.promoters-btn--primary {
    color: #fff;
    background: var(--brand-600);
    border: 1px solid var(--brand-600);
    box-shadow: 0 10px 22px rgba(22, 163, 74, 0.35);
}

.promoters-btn--primary:hover {
    color: #fff;
    background: var(--brand-700);
    border-color: var(--brand-700);
}

.promoters-btn--outline {
    color: #e2e8f0;
    border: 1px solid rgba(226, 232, 240, 0.55);
    background: transparent;
}

.promoters-btn--outline:hover {
    color: #0f172a;
    background: #e2e8f0;
    border-color: #e2e8f0;
}

.promoters-media {
    position: relative;
}

.promoters-media__frame {
    margin: 0;
    border-radius: 1.25rem;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.45);
    box-shadow: 0 18px 34px rgba(2, 6, 23, 0.4);
    transform: rotate(-1deg);
}

.promoters-media__img {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.promoters-media__badge {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #0f172a;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.3);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.2);
}

.promoters-media__badge i {
    color: var(--brand-600);
}

.promoters-media__badge--sales {
    top: -0.7rem;
    left: 0.6rem;
}

.promoters-media__badge--commission {
    right: 0.6rem;
    bottom: -0.7rem;
}

.promoters-step-card {
    height: 100%;
    background: #fff;
    border: 1px solid var(--border-200);
    border-radius: 1rem;
    padding: 1.35rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.promoters-step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 28px rgba(15, 23, 42, 0.12);
}

.promoters-step-card__icon {
    width: 64px;
    height: 64px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-100);
    color: var(--brand-600);
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.promoters-step-card__title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.promoters-step-card__desc {
    margin: 0;
    color: var(--muted-600);
}

@media (max-width: 991.98px) {
    .promoters-hero {
        border-radius: 1rem;
    }

    .promoters-hero__content {
        text-align: center;
        margin-inline: auto;
    }

    .promoters-hero__actions {
        justify-content: center;
    }

    .promoters-btn {
        width: 100%;
    }

    .promoters-media {
        margin-top: 0.6rem;
    }

    .promoters-media__frame {
        transform: none;
    }
}

@media (max-width: 575.98px) {
    .promoters-media__badge {
        position: static;
        margin-top: 0.6rem;
    }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 991.98px) {
    .checkout-steps {
        display: none;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .cart-summary-card {
        position: static;
    }

    .event-ticket-sidebar {
        position: static;
    }
}
