.volek-light-cart {
    box-sizing: border-box;
    width: 100%;
    margin: 18px 0 8px;
    padding: 16px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 10px;
    background: #fff;
    font-size: 14px;
    line-height: 1.4;
}

.volek-light-cart *,
.volek-light-cart *::before,
.volek-light-cart *::after {
    box-sizing: border-box;
}

.vlc-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.vlc-title {
    font-size: 16px;
    font-weight: 700;
}

.vlc-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    margin-left: 6px;
    padding: 0 6px;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-size: 12px;
    line-height: 1;
}

.vlc-empty {
    padding: 6px 0 2px;
    color: #666;
}

.vlc-items {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.vlc-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 34px;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.vlc-item-main {
    min-width: 0;
}

.vlc-item-title {
    overflow: hidden;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vlc-item-meta {
    margin-top: 2px;
    color: #666;
    font-size: 12px;
}

.vlc-item-price {
    white-space: nowrap;
    font-weight: 600;
}

.vlc-remove {
    display: inline-flex;
    width: 30px;
    height: 30px;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #666;
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
}

.vlc-remove:hover,
.vlc-remove:focus {
    background: rgba(0, 0, 0, 0.06);
    color: #111;
}

.vlc-remove.is-loading {
    opacity: 0.4;
    cursor: wait;
}

.vlc-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0 12px;
    font-size: 15px;
}

.vlc-checkout {
    display: flex;
    width: 100%;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
}

@media (max-width: 600px) {
    .volek-light-cart {
        padding: 14px;
    }

    .vlc-item {
        grid-template-columns: minmax(0, 1fr) auto 30px;
        gap: 8px;
    }

    .vlc-item-title {
        white-space: normal;
    }
}

/* Header basket / dropdown */
.volek-light-cart-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: auto;
    z-index: 9999;
}

.vlc-header-trigger {
    position: relative;
    display: inline-flex;
    width: 44px;
    height: 44px;
    padding: 8px;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.vlc-basket-icon {
    width: 28px;
    height: 28px;
    display: block;
}

.vlc-header-count {
    position: absolute;
    top: 1px;
    right: 0;
    display: inline-flex;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.vlc-header-panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: min(380px, calc(100vw - 24px));
    max-height: min(70vh, 620px);
    overflow: auto;
    padding: 0;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 12px 38px rgba(0, 0, 0, 0.22);
    color: #111;
}

.vlc-header-panel[hidden] {
    display: none !important;
}

.vlc-header-panel .volek-light-cart,
.vlc-header-panel > .vlc-head {
    margin-top: 0;
}

.vlc-header-panel > .vlc-head,
.vlc-header-panel > .vlc-empty,
.vlc-header-panel > .vlc-items,
.vlc-header-panel > .vlc-summary,
.vlc-header-panel > .vlc-checkout {
    margin-left: 16px;
    margin-right: 16px;
}

.vlc-header-panel > .vlc-head {
    padding-top: 16px;
}

.vlc-header-panel > .vlc-empty {
    padding-bottom: 16px;
}

.vlc-header-panel > .vlc-checkout {
    width: calc(100% - 32px);
    margin-bottom: 16px;
}

@media (max-width: 600px) {
    .vlc-header-panel {
        position: fixed;
        top: 70px;
        right: 12px;
        left: 12px;
        width: auto;
        max-height: calc(100vh - 90px);
    }
}


/* v0.3: guaranteed theme-independent header placement */
.volek-light-cart-icon.vlc-floating-header-cart {
    position: fixed !important;
    top: 18px !important;
    right: 22px !important;
    z-index: 2147483000 !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
}

.volek-light-cart-icon.vlc-floating-header-cart .vlc-header-trigger {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.14);
}

@media (max-width: 782px) {
    .volek-light-cart-icon.vlc-floating-header-cart {
        top: 12px !important;
        right: 12px !important;
    }
}


/* v0.3.1: place basket directly beside the site's search icon */
.volek-light-cart-icon.vlc-inline-header-cart {
    position: relative !important;
    display: inline-flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    align-self: center !important;
    width: 44px !important;
    height: 44px !important;
    margin: 0 4px 0 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    vertical-align: middle !important;
    z-index: 10000 !important;
}

.volek-light-cart-icon.vlc-inline-header-cart .vlc-header-trigger {
    width: 44px !important;
    height: 44px !important;
    padding: 8px !important;
    margin: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #03a9f4 !important;
}

.volek-light-cart-icon.vlc-inline-header-cart .vlc-basket-icon {
    width: 27px !important;
    height: 27px !important;
}

.volek-light-cart-icon.vlc-inline-header-cart .vlc-header-count {
    top: 0 !important;
    right: -1px !important;
}

/* Floating style remains only as fallback when no search icon can be detected. */


/* v0.3.2: denser typography inside the header cart dropdown only */
.vlc-header-panel .vlc-item-title {
    font-size: 14px !important;
    line-height: 1.25 !important;
}

.vlc-header-panel .vlc-item-meta {
    margin-top: 5px !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
}


/* v0.3.3: mobile typography + site-blue checkout button */
.vlc-checkout,
.vlc-header-panel .vlc-checkout {
    background: #4FC3F7 !important;
    color: #ffffff !important;
    border: none !important;
}

.vlc-checkout:hover,
.vlc-checkout:focus,
.vlc-header-panel .vlc-checkout:hover,
.vlc-header-panel .vlc-checkout:focus {
    background: #4FC3F7 !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

@media (max-width: 600px) {
    .vlc-header-panel .vlc-item-title {
        font-size: 12.5px !important;
        line-height: 1.25 !important;
    }

    .vlc-header-panel .vlc-item-meta {
        font-size: 13.5px !important;
        line-height: 1.35 !important;
    }

    .vlc-header-panel .vlc-item-price {
        font-size: 14px !important;
        line-height: 1.2 !important;
    }
}


/* v0.3.4: 15-minute reservation countdown */
.vlc-item-timer {
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.25;
    font-weight: 600;
    color: #777;
}

/* Slightly larger ticket/seat information on desktop. */
@media (min-width: 601px) {
    .volek-light-cart .vlc-item-meta,
    .vlc-header-panel .vlc-item-meta {
        font-size: 14px !important;
        line-height: 1.4 !important;
    }

    .vlc-header-panel .vlc-item-timer {
        font-size: 12px !important;
    }
}


/* v0.3.5: one shared timer for the entire cart */
.vlc-item-timer {
    display: none !important;
}

.vlc-cart-timer {
    margin-left: auto;
    padding-left: 12px;
    color: #777;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 600;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .vlc-cart-timer {
        font-size: 11px;
        padding-left: 8px;
    }
}


/* v0.4.0: non-seated ticket types use the same cart presentation */
.volek-light-cart .vlc-item-meta:empty,
.vlc-header-panel .vlc-item-meta:empty {
    display: none;
}


/* v0.4.4 - align the two cart presentations on mobile */
@media (max-width: 600px) {
    .volek-light-cart .vlc-item-title,
    .vlc-header-panel .vlc-item-title {
        font-size: 15px !important;
        line-height: 1.28 !important;
        font-weight: 700 !important;
    }

    .volek-light-cart .vlc-item-meta,
    .vlc-header-panel .vlc-item-meta {
        font-size: 13px !important;
        line-height: 1.38 !important;
    }

    .volek-light-cart .vlc-item-price,
    .vlc-header-panel .vlc-item-price {
        font-size: 15px !important;
        line-height: 1.25 !important;
        font-weight: 700 !important;
    }

    .volek-light-cart .vlc-checkout,
    .vlc-header-panel .vlc-checkout {
        width: 100% !important;
        min-height: 48px !important;
        padding: 12px 18px !important;
        font-size: 16px !important;
        line-height: 1.25 !important;
        font-weight: 700 !important;
        border-radius: 8px !important;
    }
}


/* v0.4.5 correction:
   Preserve the original header-cart mobile typography from v0.4.3,
   and make the event-page cart use those same sizes. */
@media (max-width: 600px) {
    .volek-light-cart .vlc-item-title,
    .vlc-header-panel .vlc-item-title {
        font-size: 12.5px !important;
        line-height: 1.25 !important;
        font-weight: 700 !important;
    }

    .volek-light-cart .vlc-item-meta,
    .vlc-header-panel .vlc-item-meta {
        font-size: 13.5px !important;
        line-height: 1.35 !important;
    }

    .volek-light-cart .vlc-item-price,
    .vlc-header-panel .vlc-item-price {
        font-size: 14px !important;
        line-height: 1.2 !important;
        font-weight: 700 !important;
    }
}


/* v0.4.6 - mobile width safety + slightly smaller checkout button */
@media (max-width: 600px) {
    .volek-light-cart,
    .vlc-header-panel {
        box-sizing: border-box !important;
        max-width: calc(100vw - 24px) !important;
    }

    .volek-light-cart *,
    .vlc-header-panel * {
        box-sizing: border-box !important;
    }

    .volek-light-cart .vlc-checkout,
    .vlc-header-panel .vlc-checkout {
        width: calc(100% - 16px) !important;
        max-width: calc(100% - 16px) !important;
        min-height: 44px !important;
        padding: 10px 14px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        font-size: 15px !important;
    }
}
