﻿/* ══════════════════════════════════════════════
   SUPERCART — supercart.css
   Depends on: superselect.css
══════════════════════════════════════════════ */
/* ══════════════════════════════════════════════
   CART PAGE HEADER
══════════════════════════════════════════════ */

.sc__page-header {
    width: 100%;
    background: #fff;
    border-bottom: 1.5px solid #eaecf0;
    flex-shrink: 0;
    z-index: 100;
}

/* Inner layout */
.sc__page-header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 28px;
    height: 68px;
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Back button */
.sc__header-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 8px;
    border: 1.5px solid #dde3ea;
    background: #fff;
    color: #555;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease;
}

    .sc__header-back i {
        font-size: 11px;
        transition: transform 0.2s ease;
    }

    .sc__header-back:hover {
        border-color: var(--main-color);
        background: rgba(96,125,139,0.05);
        color: var(--main-color);
        box-shadow: 0 2px 8px rgba(96,125,139,0.1);
    }

        .sc__header-back:hover i {
            transform: translateX(-3px);
        }

    .sc__header-back:active {
        transform: scale(0.96);
    }

/* Divider between back btn and event info */
.sc__header-divider {
    width: 1px;
    height: 32px;
    background: #eaecf0;
    flex-shrink: 0;
}

/* Event info block */
.sc__header-event {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

/* Thumb */
.sc__header-thumb {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: #eef1f4;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #eaecf0;
}

    .sc__header-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    /* Placeholder icon when no image */
    .sc__header-thumb i {
        font-size: 18px;
        color: #c5cdd4;
    }

/* Text stack */
.sc__header-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.sc__header-event-name {
    font-size: 15px;
    font-weight: 700;
    color: #1e2a35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.sc__header-event-sub {
    font-size: 12px;
    color: var(--second-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 1px;
}

    .sc__header-event-sub i {
        font-size: 10px;
    }

.sc__header-event-sub-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #cdd2d7;
    flex-shrink: 0;
}

/* ── Mobile: fixed to top of screen ── */
@media (max-width: 768px) {
    .sc__page-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    }

    .sc__page-header-inner {
        padding: 0 16px;
        height: 58px;
        gap: 12px;
    }

    /* Collapse back btn to icon only on small screens */
    .sc__header-back-label {
        display: none;
    }

    .sc__header-back {
        padding: 8px 10px;
        border-radius: 8px;
    }

    .sc__header-thumb {
        width: 36px;
        height: 36px;
        border-radius: 8px;
    }

    .sc__header-event-name {
        font-size: 14px;
    }

    /* Push page content down so header doesn't overlap */
    .sc__page {
        padding-top: 78px;
    }
}


/* ══════════════════════════════════════════════
   PAGE LAYOUT
══════════════════════════════════════════════ */

.sc__page {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 36px 28px;
    box-sizing: border-box;
}

.sc__cart-col {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sc__summary-col {
    width: 320px;
    flex-shrink: 0;
    position: sticky;
    top: 24px;
}

@media (max-width: 768px) {
    .sc__page {
        flex-direction: column;
        padding: 20px 16px 100px;
        gap: 16px;
    }

    .sc__summary-col {
        display: none;
    }
}

/* ══════════════════════════════════════════════
   CART HEADER
══════════════════════════════════════════════ */

.sc__cart-header {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 4px;
}

.sc__cart-title {
    font-size: 20px;
    font-weight: 700;
    color: #1e2a35;
    letter-spacing: -0.2px;
    margin: 0;
}

.sc__cart-count {
    font-size: 12px;
    font-weight: 600;
    color: var(--second-color);
    background: #f0f3f6;
    padding: 2px 10px;
    border-radius: 99px;
}

/* ══════════════════════════════════════════════
   EMPTY STATE
══════════════════════════════════════════════ */

.sc__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 60px 20px;
    color: var(--second-color);
    text-align: center;
    background: #fff;
    border: 1.5px dashed #dde3ea;
    border-radius: 14px;
}

    .sc__empty i {
        font-size: 42px;
        opacity: 0.25;
    }

.sc__empty-title {
    font-size: 15px;
    font-weight: 600;
    color: #555;
    margin: 0;
}

.sc__empty-sub {
    font-size: 13px;
    color: var(--second-color);
    margin: 0;
}

.sc__empty-action {
    margin-top: 6px;
    padding: 9px 22px;
    border-radius: 9px;
    border: none;
    background: var(--main-color);
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(96,125,139,0.3);
    transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease;
}

    .sc__empty-action:hover {
        background: #546e7a;
        box-shadow: 0 4px 14px rgba(96,125,139,0.4);
    }

    .sc__empty-action:active {
        transform: scale(0.96);
    }

/* ══════════════════════════════════════════════
   CART ITEM CARD
══════════════════════════════════════════════ */

.sc__item {
    display: flex;
    background: #fff;
    border: 1.5px solid #eaecf0;
    border-radius: 14px;
    overflow: hidden;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
    position: relative;
}

    .sc__item:hover {
        border-color: #cdd5dc;
        box-shadow: 0 4px 18px rgba(96,125,139,0.09);
    }

/* ── Thumb ── */
.sc__item-thumb {
    width: 104px;
    flex-shrink: 0;
    background: #eef1f4;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

    .sc__item-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.3s ease;
    }

.sc__item:hover .sc__item-thumb img {
    transform: scale(1.05);
}

/* Date block — shown when no image */
.sc__item-date-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    width: 100%;
    padding: 16px 8px;
    box-sizing: border-box;
}

.sc__item-date-day {
    font-size: 28px;
    font-weight: 700;
    color: var(--main-color);
    line-height: 1;
}

.sc__item-date-month {
    font-size: 11px;
    font-weight: 600;
    color: var(--second-color);
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.sc__item-date-year {
    font-size: 11px;
    color: #b0bec5;
    letter-spacing: 0.3px;
}

/* Date overlay when image is present */
.sc__item-thumb.has-img .sc__item-date-block {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 6px 6px 8px;
    background: linear-gradient(transparent, rgba(15,23,42,0.75));
    gap: 0;
}

.sc__item-thumb.has-img .sc__item-date-day {
    font-size: 22px;
    color: #fff;
}

.sc__item-thumb.has-img .sc__item-date-month {
    color: rgba(255,255,255,0.8);
}

.sc__item-thumb.has-img .sc__item-date-year {
    color: rgba(255,255,255,0.5);
}

/* ── Body ── */
.sc__item-body {
    flex: 1;
    padding: 14px 40px 14px 16px; /* right padding leaves space for remove btn */
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

/* Function name badge (only rendered when functionName is not null) */
.sc__item-fn-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    color: var(--main-color);
    background: rgba(96,125,139,0.1);
    padding: 2px 9px;
    border-radius: 99px;
    white-space: nowrap;
    align-self: flex-start;
    flex-shrink: 0;
}

    .sc__item-fn-badge i {
        font-size: 9px;
    }

/* Date row */
.sc__item-date-row {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    font-weight: 600;
    color: #1e2a35;
}

    .sc__item-date-row i {
        font-size: 12px;
        color: var(--second-color);
        flex-shrink: 0;
    }

/* Time row */
.sc__item-time-row {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #6b7a87;
}

    .sc__item-time-row i {
        font-size: 11px;
        color: var(--second-color);
        flex-shrink: 0;
    }

/* Meta row (location + tariff) */
.sc__item-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 12px;
    margin-top: 1px;
}

.sc__item-meta-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #6b7a87;
    white-space: nowrap;
}

    .sc__item-meta-tag i {
        font-size: 10px;
        color: var(--second-color);
        flex-shrink: 0;
    }

.sc__item-tariff-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    color: var(--main-color);
    background: rgba(96,125,139,0.08);
    padding: 2px 8px;
    border-radius: 99px;
    white-space: nowrap;
}

    .sc__item-tariff-tag i {
        font-size: 9px;
    }

/* ── Quantity + price row ── */
.sc__item-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 4px;
    flex-wrap: wrap;
}

/* Quantity stepper */
.sc__qty-trigger {
    min-width: 0 !important;
    width: 148px;
    padding: 7px 12px !important;
    font-size: 13px !important;
    border-radius: 8px !important;
    gap: 8px !important;
}

.sc__qty-trigger-text {
    flex: 1;
    font-weight: 600;
    color: #1e2a35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Line total */
.sc__item-line-price {
    font-size: 16px;
    font-weight: 700;
    color: #1e2a35;
    white-space: nowrap;
}

/* ── Remove button ── */
.sc__item-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: #f0f3f6;
    color: #888;
    font-size: 11px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, color 0.15s ease, transform 0.18s ease;
}

    .sc__item-remove:hover {
        background: #fee2e2;
        color: #dc3545;
        transform: rotate(90deg);
    }

/* ── Mobile: narrow thumb ── */
@media (max-width: 480px) {
    .sc__item-thumb {
        width: 80px;
    }

    .sc__item-date-day {
        font-size: 22px;
    }

    .sc__item-body {
        padding: 12px 36px 12px 12px;
    }
}

/* ══════════════════════════════════════════════
   PERSON ASSIGNMENT
══════════════════════════════════════════════ */

.sc__persons {
    border-top: 1px solid #f0f3f6;
    margin-top: 6px;
    padding-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Toggle header */
.sc__persons-toggle {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 600;
    color: #6b7a87;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    user-select: none;
    padding: 0;
    background: none;
    border: none;
    font-family: inherit;
    width: 100%;
    text-align: left;
}

    .sc__persons-toggle i.sc__persons-icon {
        font-size: 11px;
        color: var(--second-color);
    }

.sc__persons-toggle-chevron {
    font-size: 10px;
    color: var(--second-color);
    margin-left: auto;
    transition: transform 0.22s ease;
}

/* Add .open to .sc__persons to expand */
.sc__persons.open .sc__persons-toggle-chevron {
    transform: rotate(180deg);
}

/* Rows container */
.sc__persons-rows {
    display: none;
    flex-direction: column;
    gap: 7px;
    animation: sc-fade-in 0.18s ease;
}

.sc__persons.open .sc__persons-rows {
    display: flex;
}

@keyframes sc-fade-in {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Individual person row */
.sc__person-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sc__person-label {
    font-size: 12px;
    color: var(--second-color);
    white-space: nowrap;
    flex-shrink: 0;
    min-width: 52px;
}

/* Person trigger: inherits superselect__trigger, with overrides */
.sc__person-trigger {
    flex: 1;
    min-width: 0 !important;
    padding: 7px 12px !important;
    font-size: 13px !important;
    border-radius: 8px !important;
}

/* ══════════════════════════════════════════════
   SUMMARY PANEL (desktop)
══════════════════════════════════════════════ */

.sc__summary {
    background: #fff;
    border: 1.5px solid #eaecf0;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.sc__summary-header {
    padding: 16px 20px 14px;
    border-bottom: 1px solid #f0f3f6;
    flex-shrink: 0;
}

.sc__summary-title {
    font-size: 15px;
    font-weight: 700;
    color: #1e2a35;
    margin: 0;
    letter-spacing: 0.1px;
}

.sc__summary-body {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
}

/* ── Lines ── */
.sc__summary-lines {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sc__summary-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 14px;
}

.sc__summary-line-label {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6b7a87;
}

    .sc__summary-line-label i {
        font-size: 11px;
        color: var(--second-color);
    }

.sc__summary-line-value {
    font-weight: 600;
    color: #1e2a35;
    white-space: nowrap;
}

/* Discount line — hidden until coupon applied: add .visible */
.sc__summary-line--discount {
    display: none;
}

    .sc__summary-line--discount.visible {
        display: flex;
    }

    .sc__summary-line--discount .sc__summary-line-label {
        color: #2e7d32;
    }

    .sc__summary-line--discount .sc__summary-line-value {
        color: #2e7d32;
    }

.sc__summary-divider {
    height: 1px;
    background: #f0f3f6;
}

/* ── Coupon ── */
/* Default input state */
.sc__coupon {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.sc__coupon-inner {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f6f8fa;
    border: 1.5px solid #eaecf0;
    border-radius: 9px;
    padding: 8px 12px;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

    .sc__coupon-inner:focus-within {
        border-color: var(--main-color);
        background: #fff;
        box-shadow: 0 0 0 3px rgba(96,125,139,0.12);
    }

    .sc__coupon-inner i {
        font-size: 13px;
        color: var(--second-color);
        flex-shrink: 0;
    }

.sc__coupon-input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-family: inherit;
    font-size: 13px;
    color: #333;
    min-width: 0;
    letter-spacing: 0.5px;
}

    .sc__coupon-input::placeholder {
        color: var(--second-color);
        letter-spacing: 0;
    }

.sc__coupon-btn {
    padding: 0 16px;
    border-radius: 8px;
    border: none;
    background: var(--main-color);
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(96,125,139,0.3);
    transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease;
}

    .sc__coupon-btn:hover {
        background: #546e7a;
        box-shadow: 0 3px 10px rgba(96,125,139,0.4);
    }

    .sc__coupon-btn:active {
        transform: scale(0.96);
    }

/* Applied coupon state — hidden by default; add .visible to show */
.sc__coupon-applied {
    display: none;
    align-items: center;
    gap: 8px;
    background: #f0faf0;
    border: 1.5px solid #a5d6a7;
    border-radius: 9px;
    padding: 9px 12px;
}

    .sc__coupon-applied.visible {
        display: flex;
    }

.sc__coupon-applied-text {
    flex: 1;
    font-size: 13px;
    font-weight: 500;
    color: #2e7d32;
    display: flex;
    align-items: center;
    gap: 6px;
}

    .sc__coupon-applied-text i {
        font-size: 12px;
    }

.sc__coupon-code {
    font-family: monospace;
    font-weight: 700;
    background: rgba(46,125,50,0.1);
    padding: 1px 7px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.sc__coupon-remove-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #6b9e6b;
    font-size: 12px;
    padding: 2px;
    display: flex;
    align-items: center;
    transition: color 0.15s ease, transform 0.15s ease;
    flex-shrink: 0;
}

    .sc__coupon-remove-btn:hover {
        color: #dc3545;
        transform: rotate(90deg);
    }

/* ── Total ── */
.sc__summary-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-top: 2px solid #f0f3f6;
    flex-shrink: 0;
}

.sc__summary-total-label {
    font-size: 15px;
    font-weight: 700;
    color: #1e2a35;
}

.sc__summary-total-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--main-color);
    letter-spacing: -0.3px;
}

/* ── Checkout button ── */
.sc__checkout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: calc(100% - 40px);
    margin: 0 20px 20px;
    padding: 13px 20px;
    background: var(--main-color);
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 3px 12px rgba(96,125,139,0.35);
    letter-spacing: 0.1px;
    transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease;
    flex-shrink: 0;
}

    .sc__checkout-btn:hover {
        background: #546e7a;
        box-shadow: 0 5px 18px rgba(96,125,139,0.45);
    }

    .sc__checkout-btn:active {
        transform: scale(0.98);
    }

    .sc__checkout-btn i {
        font-size: 14px;
    }

/* ══════════════════════════════════════════════
   MOBILE SUMMARY (fixed bottom panel)
══════════════════════════════════════════════ */

.sc__mobile-summary {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 901;
    background: #fff;
    border-top: 1.5px solid #eaecf0;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -6px 32px rgba(0,0,0,0.13);
}

/* Drag handle */
.sc__mobile-summary-handle {
    display: flex;
    justify-content: center;
    padding: 10px 0 4px;
    cursor: pointer;
}

    .sc__mobile-summary-handle span {
        width: 38px;
        height: 4px;
        background: #e0e5ea;
        border-radius: 99px;
    }

/* Compact bar — always visible */
.sc__mobile-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 20px 14px;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.sc__mobile-bar-left {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.sc__mobile-bar-label {
    font-size: 11px;
    color: var(--second-color);
    font-weight: 500;
}

.sc__mobile-bar-total {
    font-size: 19px;
    font-weight: 700;
    color: #1e2a35;
    letter-spacing: -0.2px;
}

.sc__mobile-bar-chevron {
    font-size: 12px;
    color: var(--second-color);
    transition: transform 0.25s ease;
    margin-right: 4px;
    flex-shrink: 0;
}

.sc__mobile-summary.expanded .sc__mobile-bar-chevron {
    transform: rotate(180deg);
}

.sc__mobile-checkout-btn {
    padding: 11px 20px;
    border-radius: 9px;
    border: none;
    background: var(--main-color);
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(96,125,139,0.35);
    transition: background 0.18s ease, transform 0.12s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .sc__mobile-checkout-btn:hover {
        background: #546e7a;
    }

    .sc__mobile-checkout-btn:active {
        transform: scale(0.96);
    }

/* Expanded content */
.sc__mobile-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.32, 0.72, 0, 1);
}

.sc__mobile-summary.expanded .sc__mobile-content {
    max-height: 500px;
}

.sc__mobile-body {
    padding: 6px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    border-top: 1px solid #f0f3f6;
}

/* ── Summary action group ── */
.sc__summary-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 20px 20px;
    flex-shrink: 0;
}

    .sc__summary-actions .sc__checkout-btn {
        width: 100%;
        margin: 0;
    }

.sc__cancel-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 20px;
    background: transparent;
    color: #888;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    border: 1.5px solid #eaecf0;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.12s ease;
}

    .sc__cancel-btn i {
        font-size: 11px;
    }

    .sc__cancel-btn:hover {
        background: #fee2e2;
        border-color: #f5c2c7;
        color: #dc3545;
    }

    .sc__cancel-btn:active {
        transform: scale(0.97);
    }

@media (max-width: 768px) {
    .sc__mobile-summary {
        display: block;
    }
}

/* ══════════════════════════════════════════════
   MOBILE FAB — Buy Tickets
   Mobile only, bottom-left, above mobile summary
══════════════════════════════════════════════ */

.sc__fab {
    display: none;
}

@media (max-width: 768px) {
    .sc__fab {
        display: flex;
        align-items: center;
        gap: 10px;
        position: fixed;
        bottom: 96px; /* sits above the mobile summary bar */
        right: 16px;
        z-index: 800;
        padding: 12px 18px;
        background: var(--main-color);
        color: #fff;
        border: none;
        border-radius: 99px;
        font-family: inherit;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        letter-spacing: 0.1px;
        white-space: nowrap;
        box-shadow: 0 4px 20px rgba(96,125,139,0.45), 0 1px 4px rgba(0,0,0,0.12);
        transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.18s ease;
    }

        .sc__fab:hover {
            background: #546e7a;
            box-shadow: 0 6px 24px rgba(96,125,139,0.55);
        }

        .sc__fab:active {
            transform: scale(0.94);
        }

        .sc__fab i {
            font-size: 15px;
            flex-shrink: 0;
        }

        /* Collapsed state — icon only, no label */
        .sc__fab.collapsed {
            padding: 14px;
            gap: 0;
            border-radius: 50%;
        }

            .sc__fab.collapsed .sc__fab-label {
                display: none;
            }

        /* Hidden state — slide down out of view */
        .sc__fab.hidden {
            opacity: 0;
            pointer-events: none;
            transform: translateY(16px);
        }
}
