:root {
    --brand: #e50914;
    --brand-dark: #b8070f;
    --bg: #f4f4f4;
    --surface: #ffffff;
    --text: #1f1f1f;
    --muted: #6b7280;
    --border: #e5e7eb;
    --sidebar-bg: #f0f0f0;
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    --radius: 8px;
    --poster-ratio: 3 / 4;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.storefront {
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.storefront a { color: inherit; text-decoration: none; }

.storefront-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.storefront-header__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.storefront-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--brand);
    white-space: nowrap;
}

.storefront-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
}

.storefront-nav a {
    color: #374151;
    padding: 0.35rem 0;
}

.storefront-nav a:hover { color: var(--brand); }

.storefront-search {
    flex: 1;
    min-width: 200px;
    max-width: 420px;
    margin-inline: auto;
}

.storefront-search input {
    width: 100%;
    padding: 0.55rem 1rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #fafafa;
    font-family: inherit;
    font-size: 0.9rem;
}

.storefront-search input:focus {
    outline: none;
    border-color: var(--brand);
    background: #fff;
}

.storefront-actions {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.header-icon-form {
    display: inline-flex;
    margin: 0;
}

.header-icon-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
    color: #374151;
    cursor: pointer;
    text-decoration: none;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.header-icon-btn::before {
    content: '';
    position: absolute;
    top: calc(100% + 2px);
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-bottom-color: #111827;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s, visibility 0.15s;
    z-index: 101;
}

.header-icon-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    padding: 0.35rem 0.6rem;
    background: #111827;
    color: #fff;
    font-family: Vazirmatn, Tahoma, sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    line-height: 1.3;
    white-space: nowrap;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
    z-index: 100;
}

.header-icon-btn:hover::before,
.header-icon-btn:hover::after,
.header-icon-btn:focus-visible::before,
.header-icon-btn:focus-visible::after {
    opacity: 1;
    visibility: visible;
}

.header-icon-btn:hover::after,
.header-icon-btn:focus-visible::after {
    transform: translateX(-50%) translateY(0);
}

.header-icon-btn:hover {
    border-color: var(--brand);
    color: var(--brand);
    background: rgba(229, 9, 20, 0.04);
}

.btn-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand);
    color: #fff !important;
    padding: 0.5rem 1.1rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
}

.btn-brand:hover { background: var(--brand-dark); }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: #fff;
    color: #374151 !important;
    font-size: 0.85rem;
    cursor: pointer;
    font-family: inherit;
}

.lang-switch {
    display: inline-flex;
    gap: 0.25rem;
    font-size: 0.8rem;
    color: var(--muted);
}

.lang-switch a.active { color: var(--brand); font-weight: 700; }

.storefront-main {
    flex: 1;
    padding-bottom: 1.5rem;
}

.storefront-alert {
    max-width: 1400px;
    margin: 1rem auto 0;
    padding: 0 1.25rem;
}

.alert-box {
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.alert-success { background: #dcfce7; color: #166534; }
.alert-error { background: #fee2e2; color: #991b1b; }

/* Hero */
.hero-carousel {
    position: relative;
    max-width: 1400px;
    margin: 1rem auto 0;
    padding: 0 1.25rem;
    overflow: hidden;
    margin-bottom: 0;
}

.hero-slide {
    display: none;
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 280px;
    background: #111;
}

.hero-slide.is-active { display: block; }

.hero-slide__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.55);
}

.hero-slide__content {
    position: relative;
    z-index: 1;
    padding: 2.5rem 2rem;
    color: #fff;
    max-width: 60%;
}

.hero-slide__badge {
    display: inline-block;
    background: var(--brand);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    margin-bottom: 0.75rem;
}

.hero-slide h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    margin-bottom: 0.5rem;
    color: #fff;
}

.hero-slide p {
    color: #e5e7eb;
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.hero-dots {
    display: flex;
    gap: 0.4rem;
    justify-content: center;
    margin-top: 0.75rem;
}

.hero-dots button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: #d1d5db;
    cursor: pointer;
    padding: 0;
}

.hero-dots button.is-active { background: var(--brand); }

.hero-slide__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
    font-size: 0.82rem;
    color: #d1d5db;
    margin-bottom: 1rem;
}

/* Stats & chips */
.home-stats {
    max-width: 1400px;
    margin: 1rem auto 0;
    padding: 0 1.25rem;
}

.home-stats__inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    box-shadow: var(--shadow);
}

.home-stat {
    text-align: center;
    padding: 0.25rem;
}

.home-stat strong {
    display: block;
    font-size: 1.5rem;
    color: var(--brand);
    line-height: 1.2;
}

.home-stat span {
    font-size: 0.8rem;
    color: var(--muted);
}

.home-toolbar {
    grid-area: toolbar;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 0;
    min-width: 0;
}

.category-chips {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    flex: 1;
    min-width: 0;
}

.filter-trigger {
    position: relative;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
    color: #374151;
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.filter-trigger:hover {
    border-color: var(--brand);
    color: var(--brand);
}

.filter-trigger.is-active {
    border-color: var(--brand);
    color: var(--brand);
    background: rgba(229, 9, 20, 0.06);
}

.filter-trigger.is-active::after {
    content: '';
    position: absolute;
    top: 7px;
    inset-inline-end: 7px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--brand);
}

body.filter-modal-open { overflow: hidden; }

.filter-modal[hidden] { display: none !important; }

.filter-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.filter-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(2px);
}

.filter-modal__panel {
    position: relative;
    z-index: 1;
    width: min(420px, 100%);
    max-height: min(85vh, 640px);
    overflow: auto;
    background: #fff;
    border-radius: 14px;
    padding: 1.1rem 1.25rem 1.5rem;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
    font-family: inherit;
}

.filter-modal__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid var(--border);
}

.filter-modal__title {
    flex: 1;
    text-align: center;
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
    color: var(--text);
}

.filter-modal__close {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: #f3f4f6;
    cursor: pointer;
    color: #6b7280;
    transition: background 0.15s, color 0.15s;
}

.filter-modal__close:hover {
    background: #e5e7eb;
    color: #111827;
}

.filter-modal__form {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.filter-modal__field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.filter-modal__field > span {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
}

.filter-modal__field input,
.filter-modal__field select {
    width: 100%;
    margin: 0;
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.92rem;
    background: #f9fafb;
    color: var(--text);
}

.filter-modal__field input:focus,
.filter-modal__field select:focus {
    outline: none;
    border-color: var(--brand);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.08);
}

.filter-modal__actions {
    display: flex;
    gap: 0.65rem;
    margin-top: 0.35rem;
}

.filter-modal__actions .btn-brand,
.filter-modal__actions .btn-ghost {
    flex: 1;
    text-align: center;
    justify-content: center;
}

.chip {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--border);
    font-size: 0.82rem;
    color: #374151;
    transition: all 0.15s;
}

.chip:hover,
.chip.is-active {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff !important;
}

.chip--outline { background: #fff; }

/* Body grid */
.storefront-body {
    max-width: 1400px;
    margin: 0.5rem auto 0;
    padding: 0 1.25rem;
    display: grid;
    grid-template-columns: 300px 1fr;
    grid-template-areas:
        "sidebar toolbar"
        "sidebar main";
    gap: 0.65rem 1.25rem;
    align-items: start;
}

.storefront-sidebar {
    grid-area: sidebar;
    background: var(--sidebar-bg);
    border-radius: var(--radius);
    padding: 1rem;
    position: sticky;
    top: 5rem;
    align-self: start;
    overflow: visible;
    display: flex;
    flex-direction: column;
}

.storefront-main-col {
    grid-area: main;
    min-width: 0;
}

.sidebar-block + .sidebar-block { margin-top: 1.25rem; }

.sidebar-block h3 {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--brand);
    color: var(--text);
}

.sidebar-item {
    display: flex;
    gap: 0.65rem;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
}

.sidebar-item:last-child { border-bottom: none; }

.sidebar-item__thumb {
    width: 48px;
    height: 64px;
    min-width: 48px;
    border-radius: 4px;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-position: center;
}

.sidebar-item__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sidebar-item__title {
    flex: 1;
    min-width: 0;
    font-size: 0.8rem;
    line-height: 1.4;
    color: #374151;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-item:hover .sidebar-item__title { color: var(--brand); }

.sidebar-more {
    display: block;
    text-align: center;
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: var(--brand);
}

.sidebar-coupon {
    padding: 0.55rem 0.65rem;
    margin-bottom: 0.45rem;
    background: #fff;
    border: 1px dashed var(--brand);
    border-radius: 6px;
    font-size: 0.78rem;
}

.sidebar-coupon strong {
    display: block;
    color: var(--brand);
    margin-bottom: 0.15rem;
}

.sidebar-coupon span { color: var(--muted); }

/* Features */
.features-grid {
    margin-bottom: 1.5rem;
}

.features-grid__title {
    font-size: 1.1rem;
    margin-bottom: 0.85rem;
}

.features-grid__items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.feature-card__icon {
    font-size: 1.75rem;
    display: block;
    margin-bottom: 0.5rem;
}

.feature-card h3 {
    font-size: 0.88rem;
    margin-bottom: 0.35rem;
}

.feature-card p {
    font-size: 0.75rem;
    color: var(--muted);
    line-height: 1.45;
    margin: 0;
}

/* Sections */
.section-row { margin-bottom: 1.75rem; }

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.85rem;
}

.section-head h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
}

.section-head a {
    font-size: 0.85rem;
    color: var(--brand);
}

.media-scroll {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding-top: 6px;
    padding-bottom: 0.5rem;
    margin-top: -6px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.media-scroll::-webkit-scrollbar {
    height: 0;
}

.media-scroll.is-scrolling {
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
}

.media-scroll.is-scrolling::-webkit-scrollbar {
    height: 6px;
}

.media-scroll.is-scrolling::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.media-card {
    position: relative;
    z-index: 0;
    flex: 0 0 150px;
    scroll-snap-align: start;
    transition: transform 0.2s, box-shadow 0.2s;
}

.media-card:hover {
    transform: translateY(-4px);
    z-index: 1;
}

.media-card__poster {
    aspect-ratio: var(--poster-ratio);
    border-radius: var(--radius);
    overflow: hidden;
    background: linear-gradient(145deg, #1e293b, #475569);
    box-shadow: var(--shadow);
    position: relative;
}

.media-card__poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-card__badge {
    position: absolute;
    top: 6px;
    inset-inline-start: 6px;
    background: var(--brand);
    color: #fff;
    font-size: 0.65rem;
    padding: 0.15rem 0.4rem;
    border-radius: 3px;
}

.media-card__title {
    margin-top: 0.45rem;
    font-size: 0.82rem;
    line-height: 1.35;
    color: #374151;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.media-card:hover .media-card__title { color: var(--brand); }

.media-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.5rem;
    margin-top: 0.25rem;
    font-size: 0.72rem;
}

.media-card__rating { color: #d97706; font-weight: 600; }
.media-card__price { color: var(--brand); font-weight: 600; }

.media-card__session {
    margin-top: 0.2rem;
    font-size: 0.7rem;
    color: var(--muted);
}

.media-grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
}

.media-grid-5 .media-card {
    flex: unset;
    width: 100%;
    min-width: 0;
}

.media-card__poster[style*="aspect-ratio:16/9"] img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-banner {
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 1.75rem;
    min-height: 120px;
    background: linear-gradient(90deg, #1a1a2e, #16213e);
    color: #fff;
    padding: 1.5rem 2rem;
    position: relative;
}

.promo-banner__tag {
    display: inline-block;
    background: var(--brand);
    font-size: 0.72rem;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.promo-banner h3 { font-size: 1.25rem; margin-bottom: 0.35rem; color: #fff; }
.promo-banner p { font-size: 0.9rem; color: #cbd5e1; }

.coupon-strip__items {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.coupon-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: var(--surface);
    border: 1px dashed var(--brand);
    border-radius: var(--radius);
    padding: 0.85rem 1.1rem;
    min-width: 220px;
}

.coupon-card__value {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--brand);
    min-width: 3rem;
    text-align: center;
}

.coupon-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    font-size: 0.82rem;
}

.coupon-card__body span { color: var(--muted); }

.venue-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.venue-card {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.venue-card:hover {
    border-color: var(--brand);
    box-shadow: var(--shadow);
}

.venue-card__icon { font-size: 1.25rem; }

.venue-card strong {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.venue-card span {
    display: block;
    font-size: 0.78rem;
    color: var(--muted);
}

.venue-card__count {
    margin-top: 0.35rem !important;
    color: var(--brand) !important;
    font-weight: 600;
}

.cta-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    background: linear-gradient(135deg, #1a1a2e, #b8070f);
    color: #fff;
    border-radius: var(--radius);
    padding: 1.75rem 2rem;
    margin-top: 0.5rem;
}

.cta-banner h2 {
    font-size: 1.35rem;
    margin-bottom: 0.35rem;
    color: #fff;
}

.cta-banner p {
    color: #e5e7eb;
    font-size: 0.9rem;
    margin: 0;
}

.cta-banner__actions {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.cta-banner .btn-ghost {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff !important;
}


.filter-bar__label {
    flex: 0 0 100%;
    width: 100%;
    font-size: 0.9rem;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.storefront-footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    margin-top: auto;
    color: var(--muted);
    font-size: 0.9rem;
}

.storefront-footer__simple {
    text-align: center;
    padding: 2rem 1.25rem;
    margin: 0;
}

.storefront-footer--extended {
    padding: 0;
}

.storefront-footer__extended {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1.25rem 1rem;
}

.storefront-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 1.5rem;
}

.storefront-footer__grid h3 {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.storefront-footer__grid p,
.storefront-footer__grid a {
    display: block;
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 0.4rem;
}

.storefront-footer__grid a:hover { color: var(--brand); }

.storefront-footer__copy {
    text-align: center;
    margin: 1.5rem 0 0;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    font-size: 0.8rem;
    color: var(--muted);
}

/* Inner pages */
.page-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.page-card h1, .page-card h2, .page-card h3 { color: var(--text); margin-bottom: 0.75rem; }

.page-card input, .page-card select, .page-card textarea {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: #fff;
    color: var(--text);
    font-family: inherit;
    margin-bottom: 0.75rem;
}

.page-card label { display: block; margin-bottom: 0.25rem; font-size: 0.9rem; color: var(--muted); }

.auth-page {
    max-width: 440px;
    margin: 2rem auto;
    padding: 0 1.25rem 2rem;
}

.auth-page--register {
    max-width: 640px;
}

.register-types {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
    margin: 1.25rem 0 1.5rem;
}

.register-type {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 1rem 0.55rem;
    border: 2px solid var(--border);
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
    text-align: center;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.register-type input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.register-type:hover {
    border-color: #d1d5db;
}

.register-type.is-selected {
    border-color: var(--brand);
    background: rgba(229, 9, 20, 0.04);
    box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.08);
}

.register-type__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #f3f4f6;
    color: #374151;
}

.register-type.is-selected .register-type__icon {
    background: var(--brand);
    color: #fff;
}

.register-type__title {
    font-size: 0.88rem;
    color: var(--text);
}

.register-type__desc {
    font-size: 0.72rem;
    line-height: 1.45;
    color: var(--muted);
}

.register-business-field.is-hidden {
    display: none;
}

.auth-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
}

.auth-card h1 {
    font-size: 1.5rem;
    margin-bottom: 0.35rem;
    color: var(--text);
}

.auth-subtitle {
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.auth-form label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.88rem;
    color: var(--muted);
}

.auth-form input[type="text"],
.auth-form input[type="password"],
.auth-form input[type="tel"] {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: #fff;
    color: var(--text);
    font-family: inherit;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.auth-form input:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.12);
}

.auth-form__row {
    display: flex;
    gap: 0.5rem;
    align-items: stretch;
    margin-bottom: 1rem;
}

.auth-form__row input {
    flex: 1;
    margin-bottom: 0;
}

.auth-form__row .btn-brand,
.auth-form__row .btn-ghost {
    flex-shrink: 0;
    white-space: nowrap;
}

.auth-form__check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.88rem;
    color: var(--muted);
}

.auth-form__check input {
    width: auto;
    margin: 0;
}

.auth-step {
    display: flex;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.auth-step:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.auth-step__num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.auth-step__body {
    flex: 1;
    min-width: 0;
}

.auth-step__body h2 {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.auth-footer {
    margin-top: 1.25rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--muted);
}

.auth-footer a {
    color: var(--brand);
    font-weight: 600;
}

.auth-otp-sent {
    background: #dcfce7;
    color: #166534;
    padding: 0.6rem 0.85rem;
    border-radius: 6px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.badge-soft {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.75rem;
    background: #fee2e2;
    color: var(--brand);
}

.filter-bar {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    margin-bottom: 1.25rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: end;
}

.filter-bar > div { flex: 1; min-width: 140px; }
.filter-bar input, .filter-bar select { margin: 0; }

/* Province picker (global) */
.province-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #fff;
    color: var(--text);
    font-family: Vazirmatn, Tahoma, sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    max-width: 160px;
}

.province-trigger:hover {
    border-color: var(--brand);
    color: var(--brand);
}

.province-trigger__icon { color: var(--brand); flex-shrink: 0; }

.province-trigger__label {
    font-family: inherit;
    overflow: hidden;
    text-overflow: ellipsis;
}

.province-trigger--inline {
    border: none;
    background: #fff5f5;
    padding: 0.35rem 0.65rem;
    max-width: none;
}

body.province-modal-open { overflow: hidden; }

.province-modal[hidden] { display: none !important; }

.province-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.province-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(2px);
}

.province-modal__panel {
    position: relative;
    z-index: 1;
    width: min(720px, 100%);
    max-height: min(85vh, 720px);
    overflow: auto;
    background: #fff;
    border-radius: 14px;
    padding: 1.1rem 1.25rem 1.5rem;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
    font-family: inherit;
}

.province-modal__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid var(--border);
}

.province-modal__close {
    position: static;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: #f3f4f6;
    cursor: pointer;
    color: #6b7280;
    transition: background 0.15s, color 0.15s;
}

.province-modal__close:hover {
    background: #e5e7eb;
    color: #111827;
}

.province-modal__search {
    position: relative;
    margin-bottom: 1rem;
}

.province-modal__search-icon {
    position: absolute;
    inset-inline-end: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    pointer-events: none;
    display: flex;
}

.province-modal__search input {
    width: 100%;
    margin: 0;
    padding: 0.7rem 2.6rem 0.7rem 0.9rem;
    padding-inline: 0.9rem 2.6rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 500;
    background: #f9fafb;
    color: var(--text);
}

.province-modal__search input::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

.province-modal__search input:focus {
    outline: none;
    border-color: var(--brand);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.08);
}

.province-modal__title {
    flex: 1;
    text-align: center;
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
    color: var(--text);
    line-height: 1.5;
    letter-spacing: 0;
}

.province-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.55rem;
}

.province-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 88px;
    padding: 0.6rem 0.35rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #f9fafb;
    color: var(--text);
    font: inherit;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.province-card:hover {
    border-color: var(--brand);
    background: #fff;
}

.province-card.is-selected {
    border-color: var(--brand);
    background: #fff5f5;
    box-shadow: 0 0 0 1px var(--brand);
}

.province-card__icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #eef2f7;
    color: #4b5563;
    display: flex;
    align-items: center;
    justify-content: center;
}

.province-card__icon .province-svg {
    display: block;
}

.province-card__icon--all { background: #fee2e2; color: var(--brand); }

.province-card.is-selected .province-card__icon {
    background: var(--brand);
    color: #fff;
}

.province-card__name {
    font-size: 0.74rem;
    font-weight: 600;
    line-height: 1.45;
    text-align: center;
    color: #374151;
    word-break: keep-all;
}

.province-card.is-selected .province-card__name {
    color: var(--brand);
}

.province-card__check {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fbbf24;
    color: #111;
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.region-filter-banner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.65rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    background: #fff5f5;
    border-bottom: 1px solid #fecaca;
    font-size: 0.88rem;
}

.event-region-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: Vazirmatn, Tahoma, sans-serif;
    font-size: 0.88rem;
    color: var(--muted);
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .province-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .province-trigger__label { max-width: 100px; }
}

@media (max-width: 640px) {
    .province-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .province-trigger { order: 2; }
    .storefront-search { order: 3; flex: 1 1 100%; }
}

/* Event show (CinemaTicket-style) */
.event-hero {
    position: relative;
    background: #0f0f0f;
    color: #fff;
    overflow: hidden;
    margin-bottom: 0;
}

.event-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center top;
    filter: blur(28px) brightness(0.35);
    transform: scale(1.08);
}

.event-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1.25rem 2.5rem;
    display: flex;
    gap: 1.75rem;
    flex-wrap: wrap;
    align-items: flex-start;
}

.event-hero__poster {
    width: 200px;
    flex-shrink: 0;
}

.event-hero__poster .event-poster {
    border-radius: 10px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.event-hero__info { flex: 1; min-width: 260px; }

.event-hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.65rem;
}

.event-hero__info h1 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    margin: 0 0 0.75rem;
    line-height: 1.35;
}

.event-hero__desc {
    color: #d1d5db;
    line-height: 1.7;
    max-width: 720px;
    margin: 0 0 1rem;
}

.event-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    font-size: 0.88rem;
    color: #9ca3af;
}

.event-hero__fav { margin-top: 1.25rem; }

.event-show-body { margin-top: 1.25rem; }

.event-show-main {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    min-width: 0;
}

.event-show-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.event-region-form,
.event-cinema-search {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    min-width: 0;
}

.event-cinema-search {
    flex: 1;
    max-width: 360px;
}

.event-region-form label,
.event-cinema-search label {
    font-family: Vazirmatn, Tahoma, sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
    margin: 0;
}

.event-region-form select {
    margin: 0;
}

.event-cinema-search__wrap {
    position: relative;
}

.event-cinema-search__icon {
    position: absolute;
    inset-inline-end: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    pointer-events: none;
    display: flex;
}

.event-cinema-search input {
    width: 100%;
    margin: 0;
    padding-block: 0.7rem;
    padding-inline: 0.9rem 2.5rem;
    min-height: 42px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #f9fafb;
    font-family: Vazirmatn, Tahoma, sans-serif;
    font-size: 0.9rem;
    color: var(--text);
    box-sizing: border-box;
}

.event-cinema-search input::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

.event-cinema-search input:focus {
    outline: none;
    border-color: var(--brand);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.08);
}

.event-date-tabs {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    margin-bottom: 1.25rem;
    scrollbar-width: thin;
}

.event-date-tab {
    flex: 0 0 auto;
    min-width: 88px;
    padding: 0.55rem 0.85rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: #fff;
    text-align: center;
    color: var(--text);
    transition: border-color 0.15s, background 0.15s;
}

.event-date-tab:hover,
.event-date-tab.is-active {
    border-color: var(--brand);
    background: #fff5f5;
    color: var(--brand);
}

.event-date-tab__weekday {
    display: block;
    font-size: 0.72rem;
    color: var(--muted);
}

.event-date-tab__date {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
}

.event-date-tab.is-active .event-date-tab__weekday,
.event-date-tab.is-active .event-date-tab__date { color: var(--brand); }

.event-cinema-list { display: grid; gap: 0.85rem; }

.cinema-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.1rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fafafa;
}

.cinema-row__info { flex: 1; min-width: 200px; }

.cinema-row__info h3 {
    margin: 0 0 0.25rem;
    font-size: 1rem;
}

.cinema-row__region {
    display: inline-block;
    font-size: 0.78rem;
    color: var(--brand);
    background: #fff5f5;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    margin-bottom: 0.25rem;
}

.cinema-row__address {
    margin: 0;
    font-size: 0.8rem;
    color: var(--muted);
}

.cinema-row__times {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    justify-content: flex-end;
}

.showtime-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    padding: 0.45rem 0.75rem;
    border-radius: 6px;
    border: 1px solid var(--brand);
    background: #fff;
    color: var(--brand);
    font-size: 0.88rem;
    font-weight: 600;
    transition: background 0.15s, color 0.15s;
}

.showtime-btn:hover {
    background: var(--brand);
    color: #fff !important;
}

.showtime-btn.is-sold {
    border-color: #d1d5db;
    background: #f3f4f6;
    color: #9ca3af;
    cursor: not-allowed;
}

.event-empty-state {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--muted);
}

.event-show-hint {
    margin-top: 1rem;
    font-size: 0.82rem;
    color: var(--muted);
    text-align: center;
}

.event-online-banner { margin-bottom: 0; }

.event-credit-line {
    display: inline;
}

.event-credit-link {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-family: Vazirmatn, Tahoma, sans-serif;
}

.event-credit-link:hover {
    color: #fecaca;
}

.people-directory {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.5rem 1rem 2.5rem;
}

.people-directory__head {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1.5rem;
}

.people-directory__head h1 {
    margin: 0 0 0.35rem;
    font-family: Vazirmatn, Tahoma, sans-serif;
}

.people-directory__head p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.people-directory__search {
    display: flex;
    gap: 0.5rem;
    min-width: 260px;
    flex: 1;
    max-width: 420px;
}

.people-directory__search input {
    flex: 1;
    min-height: 42px;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.65rem 0.9rem;
    font-family: Vazirmatn, Tahoma, sans-serif;
}

.people-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
}

.people-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s, transform 0.2s;
}

.people-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.people-card__avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.65rem;
    font-family: Vazirmatn, Tahoma, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand);
}

.people-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.people-card__name {
    font-family: Vazirmatn, Tahoma, sans-serif;
    font-weight: 600;
    font-size: 0.92rem;
}

.people-card__meta {
    margin-top: 0.25rem;
    font-size: 0.78rem;
    color: var(--muted);
}

.people-empty {
    text-align: center;
    color: var(--muted);
    padding: 2rem 1rem;
}

.people-pagination {
    margin-top: 1.5rem;
}

.person-profile {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.5rem 1rem 2.5rem;
}

.person-profile__hero {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.person-profile__avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-family: Vazirmatn, Tahoma, sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--brand);
}

.person-profile__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.person-profile__info h1 {
    margin: 0 0 0.5rem;
    font-family: Vazirmatn, Tahoma, sans-serif;
}

.person-profile__roles {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
}

.person-profile__bio {
    margin: 0 0 1rem;
    line-height: 1.8;
    color: var(--muted);
    font-family: Vazirmatn, Tahoma, sans-serif;
}

.person-works {
    margin-bottom: 2rem;
}

.person-works h2 {
    font-family: Vazirmatn, Tahoma, sans-serif;
    font-size: 1.15rem;
    margin: 0 0 1rem;
}

.event-reviews { margin-top: 2rem; }

.event-reviews h2 {
    font-size: 1.1rem;
    margin-bottom: 0.85rem;
}

.event-review-card,
.event-review-form {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    background: #fff;
}

.event-review-card p {
    margin: 0.5rem 0 0;
    color: var(--muted);
    font-size: 0.9rem;
}

@media (max-width: 1024px) {
    .storefront-body {
        grid-template-columns: 1fr;
        grid-template-areas:
            "toolbar"
            "main"
            "sidebar";
    }
    .storefront-sidebar {
        position: static;
        min-height: auto;
        max-height: none;
        overflow: visible;
    }
    .media-grid-5 { grid-template-columns: repeat(3, 1fr); }
    .hero-slide__content { max-width: 100%; }
    .features-grid__items { grid-template-columns: repeat(2, 1fr); }
    .venue-grid { grid-template-columns: repeat(2, 1fr); }
    .storefront-footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .home-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-trigger {
        align-self: flex-end;
    }
}

@media (max-width: 640px) {
    .register-types {
        grid-template-columns: 1fr;
    }

    .event-hero__inner { padding: 1.25rem 1rem 1.75rem; }
    .event-hero__poster { width: 140px; }
    .event-show-toolbar { flex-direction: column; align-items: stretch; }
    .event-cinema-search { max-width: none; }
    .cinema-row { flex-direction: column; align-items: stretch; }
    .cinema-row__times { justify-content: flex-start; }
    .storefront-nav { display: none; }
    .media-grid-5 { grid-template-columns: repeat(2, 1fr); }
    .media-card { flex: 0 0 130px; }
    .home-stats__inner { grid-template-columns: 1fr; }
    .features-grid__items { grid-template-columns: 1fr; }
    .venue-grid { grid-template-columns: 1fr; }
    .storefront-footer__grid { grid-template-columns: 1fr; }
    .storefront-body {
        grid-template-columns: 1fr;
        grid-template-areas:
            "toolbar"
            "main"
            "sidebar";
    }
    .storefront-sidebar {
        min-height: auto;
        max-height: none;
        overflow: visible;
    }
    .cta-banner { flex-direction: column; align-items: flex-start; }
}

/* Account / user panel */
.account-page { max-width: 960px; margin: 0 auto; }
.account-page > h1 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--text); }

.account-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.account-nav a {
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    font-size: 0.85rem;
    color: var(--muted);
    border: 1px solid var(--border);
    background: var(--surface);
}

.account-nav a:hover,
.account-nav a.active {
    color: var(--brand);
    border-color: var(--brand);
    background: #fff5f5;
}

.sf-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: var(--shadow);
    margin-bottom: 1rem;
}

.sf-card h3 { font-size: 1rem; margin-bottom: 0.75rem; color: var(--text); }

.sf-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.75rem;
    margin: 1rem 0;
}

.sf-stat {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
}

.sf-stat__label { font-size: 0.8rem; color: var(--muted); margin-bottom: 0.25rem; }
.sf-stat__value { font-size: 1.25rem; font-weight: 700; color: var(--text); }

.sf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.sf-table-wrap {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: auto;
    margin-top: 1rem;
}

.sf-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.sf-table th,
.sf-table td {
    padding: 0.65rem 0.85rem;
    text-align: start;
    border-bottom: 1px solid var(--border);
}

.sf-table th {
    background: #f9fafb;
    color: var(--muted);
    font-weight: 600;
}

.sf-table tr:last-child td { border-bottom: none; }

.sf-empty { color: var(--muted); padding: 1.5rem 0; }

.sf-form label {
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.88rem;
    color: var(--muted);
}

.sf-form input,
.sf-form select,
.sf-form textarea {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: #fff;
    color: var(--text);
    font-family: inherit;
    margin-bottom: 0.75rem;
}

.sf-form__row {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}

.sf-progress {
    background: var(--border);
    border-radius: 4px;
    height: 8px;
    margin-top: 0.35rem;
    overflow: hidden;
}

.sf-progress__bar {
    background: var(--brand);
    height: 100%;
    border-radius: 4px;
}

.sf-tier-gold { color: #d97706; }
.sf-tier-silver { color: #6b7280; }
.sf-tier-bronze { color: #b45309; }

.online-banner {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    margin: 1rem 0;
}

.online-banner a {
    color: #1d4ed8;
    font-weight: 600;
    word-break: break-all;
}

/* Booking / seat map */
.booking-page h1 { font-size: 1.4rem; margin-bottom: 0.35rem; }
.booking-page .booking-meta { color: var(--muted); margin-bottom: 1rem; }

.seat-map-wrap {
    background: #1e293b;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    margin: 1rem 0;
    overflow: auto;
}

.seat-map {
    position: relative;
    border-radius: 6px;
    min-height: 400px;
}

.seat-map .screen {
    text-align: center;
    padding: 0.5rem;
    background: #334155;
    border-radius: 6px;
    margin-bottom: 1rem;
    color: #94a3b8;
    font-size: 0.85rem;
}

.seat-map .seat {
    position: absolute;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    font-size: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1px solid transparent;
}

.seat-map .seat.available { opacity: 0.95; }
.seat-map .seat.selected { outline: 2px solid #fbbf24; }
.seat-map .seat.sold,
.seat-map .seat.disabled,
.seat-map .seat.locked { opacity: 0.35; cursor: not-allowed; }

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 1rem;
    margin-top: 1rem;
}

.checkout-sidebar {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    height: fit-content;
    box-shadow: var(--shadow);
}

.checkout-sidebar h3 { font-size: 1rem; margin-bottom: 0.75rem; }

.checkout-option {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin: 0.4rem 0;
    font-size: 0.9rem;
}

.checkout-option input[type="checkbox"] { width: auto; margin: 0; }

.buffet-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0.4rem 0;
    font-size: 0.9rem;
}

.buffet-row input { width: 60px; margin: 0; }

/* Check-in */
.checkin-page { max-width: 1000px; margin: 0 auto; }
.checkin-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.checkin-result {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--radius);
    display: none;
}

.checkin-result.ok { background: #dcfce7; color: #166534; display: block; }
.checkin-result.bad { background: #fee2e2; color: #991b1b; display: block; }

.checkin-session-item {
    padding: 0.65rem;
    background: #f9fafb;
    border: 1px solid var(--border);
    border-radius: 6px;
    margin-bottom: 0.5rem;
    font-size: 0.88rem;
}

#reader { width: 100%; max-width: 400px; margin: 1rem 0; border-radius: 6px; overflow: hidden; }

.storefront-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.storefront-footer__links a {
    font-size: 0.85rem;
    color: var(--muted);
}

.storefront-footer__links a:hover { color: var(--brand); }

@media (max-width: 768px) {
    .checkout-grid,
    .checkin-grid { grid-template-columns: 1fr; }
}
