.teentrek-checkout-launcher { position: relative; display: inline-block; width: 100%; }
.teentrek-launcher-btn {
    background: #11175f;
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(17, 23, 96, 0.2);
    transition: all 0.2s ease;
    width: 100%;
}
.teentrek-launcher-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(17, 23, 96, 0.3); background: #1c2374; }
.teentrek-slide-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}
.teentrek-slide-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
body.teentrek-lock-scroll { overflow: hidden; }
.teentrek-slide-panel {
    background: white;
    width: min(540px, 100%);
    max-width: 90vw;
    height: 100%;
    position: relative;
    /* box-shadow: -4px 0 18px rgba(0, 0, 0, 0.12); */
    transform: translateX(100%);
    transition: transform 0.24s ease;
    overflow-y: auto;
    z-index: 9999;
}
.teentrek-slide-panel .wbc-tour-variations-wrap{
    border-radius: 24px 0 0 24px;
 
}
.teentrek-slide-overlay.is-open .teentrek-slide-panel { transform: translateX(0); }
.teentrek-slide-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: transparent;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: #11175f;
}
.teentrek-slide-content { padding: 0;  }
.teentrek-slide-content .wbc-tour-variations-wrap { margin: 0; }

/* Checkout layout styles */
.teentrek-checkout .wbc-tour-variations-wrap {
    margin: 2rem auto;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    padding: 2rem;
    background: #f8fafc; /* Light slate background */
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.08);
    /* Enable container queries so responsiveness is based on the block/container width */
    -webkit-container-type: inline-size;
    container-type: inline-size;
}
.teentrek-checkout .wbc-view-dates-bar {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 1rem;
}
.teentrek-checkout .wbc-view-dates-btn {
    border: none;
    border-radius: 5px;
    padding: 0.75rem 1.7rem;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    background: #e4b71d;
    /* color: #11175f; */
    letter-spacing: 0.03em;
    /* box-shadow: 0 10px 20px rgba(17, 23, 96, 0.28); */
    transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding-right: 2.2rem;
}
.teentrek-checkout .wbc-view-dates-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 26px rgba(17, 23, 96, 0.34);
    background: #f0c634;
    color: white;
}
.teentrek-checkout .wbc-view-dates-label { position: relative; z-index: 1; }
.teentrek-checkout .wbc-view-dates-count {
    position: absolute;
    top: -0.35rem;
    right: -0.35rem;
    background: #11175f;
    color: #ffffff;
    border-radius: 999px;
    padding: 12px !important;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 800;
    box-shadow: 0 6px 12px rgba(17, 23, 95, 0.35);
    line-height: 1.1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 15px;
    height: 15px;

}
.teentrek-checkout .wbc-tour-variations-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-height: none;
    opacity: 1;
    overflow: visible;
    padding-top: 5px;
}
.teentrek-checkout .wbc-variation-card {
    border-radius: 16px;
    border: 2px solid #e2e8f0;
    overflow: hidden;
    background: #ffffff;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
.teentrek-checkout .wbc-variation-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.06);
    border-color: #cbd5e1;
}
.teentrek-checkout .wbc-variation-card.wbc-open {
    border-color: #e4b71d;
    box-shadow: 0 12px 32px rgba(228, 183, 29, 0.12);
    transform: translateY(-2px);
}
.teentrek-checkout .wbc-variation-header {
    width: 100%;
    border: none;
    background: #ffffff;
    padding: 1rem 1.5rem;
    display: grid;
    grid-template-columns: minmax(0, 2fr) auto auto;
    align-items: center;
    column-gap: 1rem;
    cursor: pointer;
    color: #11175f;
    transition: background 0.2s ease;
}
.teentrek-checkout .wbc-variation-card.wbc-open .wbc-variation-header {
    background: #fffdf7;
    border-bottom: 1px solid #f0e5ba;
}
.teentrek-checkout .wbc-variation-header:focus {
    outline: none;
}
.teentrek-checkout .wbc-header-left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
}
.teentrek-checkout .wbc-variation-dates {
    font-weight: 700;
    font-size: 1.1em;
}
.teentrek-checkout .wbc-header-status {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}
.teentrek-checkout .wbc-header-status-icon {
    width: 16px;
    height: 16px;
    display: inline-flex;
    flex-shrink: 0;
}
.teentrek-checkout .wbc-header-status-icon svg {
    width: 16px;
    height: 16px;
}
.teentrek-checkout .wbc-header-status-label {
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}
.teentrek-checkout .wbc-header-status-bar {
    width: 32px;
    height: 6px;
    border-radius: 999px;
    background: rgba(31, 35, 48, 0.1);
    overflow: hidden;
    position: relative;
}
.teentrek-checkout .wbc-header-status-bar .wbc-header-status-fill {
    position: absolute;
    inset: 0;
    width: 100%;
    border-radius: 999px;
    background: currentColor;
}
.teentrek-checkout .wbc-header-status[data-stage="1"] {
    color: #95dcaf;
}
.teentrek-checkout .wbc-header-status[data-stage="2"] {
    color: #f1c88b;
}
.teentrek-checkout .wbc-header-status[data-stage="3"] {
    color: #ffa1a4;
}
.teentrek-checkout .wbc-header-right {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    justify-content: flex-end;
    font-size: 0.8rem;
}
.teentrek-checkout .wbc-header-toggle-icon {
    transition: transform 0.16s ease;
}
.teentrek-checkout .wbc-variation-card.wbc-open .wbc-header-toggle-icon {
    transform: rotate(180deg);
}
.teentrek-checkout .wbc-variation-body {
    display: none;
    background: #fffdf7;
    padding: 1.2rem 1.5rem;
    /* border-top handled by header in open state or here */
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-radius: 0 0 16px 16px;
}
.teentrek-checkout .wbc-variation-card.wbc-open .wbc-variation-body {
    display: flex;
}
.teentrek-checkout .wbc-body-left {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.teentrek-checkout .wbc-variation-price {
    font-size: 1.02rem;
    font-weight: 700;
    color: #11175f;
}
.teentrek-checkout .wbc-variation-price-per {
    font-size: 0.8rem;
    color: #6b7280;
    margin-left: 0.25rem;
}
.teentrek-checkout .wbc-body-spots {
    font-size: 0.8rem;
    color: #6b7280;
}
.teentrek-checkout .wbc-body-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.6rem;
} 
.teentrek-checkout .wbc-actions-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.teentrek-checkout .wbc-save-spot-group {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.teentrek-checkout .wbc-book-date-btn,
.teentrek-checkout .wbc-save-spot-btn,
.teentrek-checkout .wbc-share-btn {
    border: none;
    border-radius: 5px; /* Less pill-like, more modern rounded rect */
    padding: 0.7rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.01em;
    box-shadow: 0 4px 12px rgba(17, 23, 96, 0.15);
    transition: all 0.2s ease;
    white-space: nowrap;
}
.teentrek-checkout .wbc-book-date-btn {
    background: #11175f;
    color: #ffffff;
}
.teentrek-checkout .wbc-book-date-btn:hover {
    background: #1b2573;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(17, 23, 96, 0.25);
}
.teentrek-checkout .wbc-save-spot-btn {
    background: #ffffff;
    color: #11175f;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.teentrek-checkout .wbc-save-spot-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.08);
    color: black;
}
.teentrek-checkout .wbc-share-btn {
    background: #ffffff;
    color: #11175f;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    padding: 0.7rem 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.teentrek-checkout .wbc-share-btn:hover:not([disabled]) {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.08);
}
.teentrek-checkout .wbc-share-btn[disabled] {
    opacity: 0.45;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}
.teentrek-checkout .wbc-share-tooltip {
    position: absolute;
    bottom: calc(100% + 0.5rem);
    right: 0;
    min-width: 140px;
    max-width: 220px;
    padding: 0.6rem 0.8rem;
    background: #ffffffff;
    color: #292929ff;
    border-radius: 0.75rem;
    font-size: 0.85rem;
    line-height: 1.3;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.25);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.16s ease, transform 0.16s ease;
    z-index: 1000;
    white-space: normal;
}
.teentrek-checkout .wbc-share-tooltip.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.teentrek-checkout .wbc-save-spot-info {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #11175f;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 10px;
}
.teentrek-checkout .wbc-save-spot-info:hover {
    background: white;
    /* border: 1px solid #d6e8fe; */
    transform: translateY(-2px);
    /* box-shadow: 0 6px 12px rgba(0,0,0,0.08); */
}
.teentrek-checkout .wbc-save-spot-info svg {
    width: 18px;
    height: 18px;
    fill: #e4b71d;
}
.teentrek-checkout .wbc-variation-card.wbc-open .wbc-variation-header {
    color: #11175f;
}
.teentrek-checkout .wbc-save-spot-tooltip {
    position: absolute;
    bottom: calc(100% + 0.5rem);
    right: 0;
    min-width: 220px;
    max-width: 280px;
    padding: 0.7rem 0.9rem;
    background: #ffffffff;
    color: #292929ff;
    border-radius: 0.75rem;
    font-size: 0.85rem;
    line-height: 1.3;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.25);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.16s ease, transform 0.16s ease;
    z-index: 1000;
    white-space: normal;
}
.teentrek-checkout .wbc-save-spot-tooltip.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.teentrek-checkout .wbc-book-date-btn-disabled {
    background: #d1d5db;
    color: #6b7280;
    cursor: not-allowed;
    box-shadow: none;
}

/* Modal */
.teentrek-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.teentrek-modal-backdrop.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.teentrek-modal-backdrop.is-closing {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.teentrek-modal {
    background: #ffffff;
    border-radius: 20px;
    padding: 1.5rem 1.8rem 1.6rem;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.35);
    position: relative;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.28s ease, transform 0.28s ease;
}
.teentrek-modal-backdrop.is-active .teentrek-modal {
    opacity: 1;
    transform: translateY(0);
}
.teentrek-modal-backdrop.is-closing .teentrek-modal {
    opacity: 0;
    transform: translateY(-8px);
}
.teentrek-modal-close {
    position: absolute;
    top: 0.6rem;
    right: 0.8rem;
    border: none;
    background: transparent !important;
    font-size: 1.4rem;
    cursor: pointer;
    color: #6b7280 !important;
}
.teentrek-modal h3 {
    margin-top: 0;
    margin-bottom: 0.3rem;
    font-size: 1.2rem;
    color: #11175f;
}
.teentrek-modal-subtitle {
    margin-top: 0;
    margin-bottom: 0.8rem;
    font-size: 0.85rem;
    color: #4b5563;
}
.teentrek-save-spot-form p {
    margin: 0 0 0.7rem;
}
.teentrek-save-spot-form label {
    display: block;
    font-size: 0.82rem;
    margin-bottom: 0.2rem;
    color: #374151;
}
.teentrek-save-spot-form input[type="text"],
.teentrek-save-spot-form input[type="email"],
.teentrek-save-spot-form input[type="tel"] {
    box-sizing: border-box;
    width: 100%;
    padding: 0.45rem 0.6rem;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    font-size: 0.9rem;
    .teentrek-save-spot-form input[type="text"],
    .teentrek-save-spot-form input[type="email"],
    .teentrek-save-spot-form input[type="tel"] { color: #111827; }

    /* Placeholder color (cross-browser) */
    .teentrek-save-spot-form input[type="text"]::placeholder,
    .teentrek-save-spot-form input[type="email"]::placeholder,
    .teentrek-save-spot-form input[type="tel"]::placeholder {
        color: #d9dce1;
        opacity: 0.4;
    }
    .teentrek-save-spot-form input[type="text"]::-webkit-input-placeholder,
    .teentrek-save-spot-form input[type="email"]::-webkit-input-placeholder,
    .teentrek-save-spot-form input[type="tel"]::-webkit-input-placeholder {
        color: #d9dce1 !important;
        opacity: 0.4;
    }
    .teentrek-save-spot-form input[type="text"]:-ms-input-placeholder,
    .teentrek-save-spot-form input[type="email"]:-ms-input-placeholder,
    .teentrek-save-spot-form input[type="tel"]:-ms-input-placeholder {
        color: #d9dce1;
        opacity: 0.4;
    }
    .teentrek-save-spot-form input[type="text"]::-ms-input-placeholder,
    .teentrek-save-spot-form input[type="email"]::-ms-input-placeholder,
    .teentrek-save-spot-form input[type="tel"]::-ms-input-placeholder {
        color: #d9dce1;
        opacity: 0.4;
    }
}
.teentrek-modal-submit {
    border: none;
    border-radius: 5px;
    padding: 0.8rem 2rem;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    background: #e4b71d;
    color: #11175f;
    letter-spacing: 0.01em;
    box-shadow: 0 4px 12px rgba(17, 23, 96, 0.2);
    transition: all 0.2s ease;
}
.teentrek-modal-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(17, 23, 96, 0.3);
    background: #f0c634;
}
.teentrek-modal-message {
    font-size: 0.85rem;
}
.teentrek-modal-message.teentrek-success {
    color: #16a34a;
}
.teentrek-modal-message.teentrek-error {
    color: #b91c1c;
}

/* Container-query: narrow containers (like sidebars) */
@container (max-width: 640px) {
    .wbc-tour-variations-wrap {
        padding: 1.2rem 1.1rem 1.5rem;
    }
    .wbc-variation-header {
        /* Two-column header: date on the left, status on the right; other controls sit below */
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-rows: auto auto;
        row-gap: 0.5rem;
    }
    .wbc-header-left {
        grid-column: 1 / 2;
        align-items: center;
    }
    .wbc-header-status {
        grid-column: 2 / 3;
        justify-self: end;
        align-self: center;
    }
    .wbc-header-right {
        /* Move right-side controls to full-width row beneath */
        grid-column: 1 / -1;
        justify-self: end;
    }
    .wbc-variation-body {
        flex-direction: column;
        align-items: flex-start;
    }
    .wbc-body-right {
        width: 100%;
        align-items: stretch;
    }
    .wbc-actions-row {
        width: 100%;
        flex-wrap: wrap;
    }
    .wbc-save-spot-group {
        width: 100%;
    }
    .wbc-book-date-btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
    .wbc-save-spot-group .wbc-save-spot-btn {
        flex: 1;
        width: auto;
        justify-content: center;
        text-align: center;
    }
}

/* Fallback for browsers without container query support: JS will toggle these classes on the wrapper */
.wbc-tour-variations-wrap.wbc--narrow {
    padding: 3rem 1.1rem 1.5rem;
}
.wbc-tour-variations-wrap.wbc--narrow .wbc-variation-header {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    row-gap: 0.5rem;
}
.wbc-tour-variations-wrap.wbc--narrow .wbc-header-left { 
    grid-column: 1 / 2;
    align-items: center;
}
.wbc-tour-variations-wrap.wbc--narrow .wbc-header-status {
    grid-column: 2 / 3;
    justify-self: end;
    align-self: center;
}
.wbc-tour-variations-wrap.wbc--narrow .wbc-header-right {
    grid-column: 1 / -1;
    justify-self: end;
}
.wbc-tour-variations-wrap.wbc--narrow .wbc-variation-body { flex-direction: column; align-items: flex-start; }
.wbc-tour-variations-wrap.wbc--narrow .wbc-body-right { width:100%; align-items: stretch; }
.wbc-tour-variations-wrap.wbc--narrow .wbc-book-date-btn { width:100%; justify-content:center; text-align:center; }
.wbc-tour-variations-wrap.wbc--narrow .wbc-save-spot-group .wbc-save-spot-btn { flex:1; width:auto; justify-content:center; text-align:center; }

/* Product summary styles */
.wbc-product-summary {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 2.5rem;
    align-items: start;
    margin-bottom: 2rem;
    padding: 1rem;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
    border: 1px solid #e2e8f0;
}
.wbc-product-media { position: relative; }
.wbc-slider {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    aspect-ratio: 4 / 3; /* Better aspect ratio */
    background: #f1f5f9;
}
.wbc-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateX(12%);
    transition: opacity 0.45s ease, transform 0.45s ease;
    pointer-events: none;
}
.wbc-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wbc-slide-active { opacity: 1; transform: translateX(0); pointer-events: auto; z-index: 2; }
.wbc-slide-out-prev { opacity: 0; transform: translateX(-12%); z-index: 1; }
.wbc-slide-out-next { opacity: 0; transform: translateX(12%); z-index: 1; }
.wbc-slider-nav {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 12px;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 3;
}
.wbc-slider-bullet {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.8);
    background: rgba(0, 0, 0, 0.4);
    padding: 0;
    cursor: pointer;
    transition: all 0.2s ease;
}
.wbc-variation-header:hover, .wbc-variation-header:hover {
    color: inherit;
}
.wbc-slider-bullet:hover, .wbc-slider-bullet:focus-visible { background: rgba(0, 0, 0, 0.7); transform: scale(1.2); }
.wbc-slider-bullet-active { background: #e4b71d; border-color: #e4b71d; transform: scale(1.2); }
.wbc-slider-prev, .wbc-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: rgba(255,255,255,0.5) !important;
    color: #11175f;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    transition: all 0.18s ease;
    z-index: 4; /* sit above slides */
}
.wbc-slider-prev:hover, .wbc-slider-next:hover {
    background: #ffffff;
    transform: translateY(-50%) scale(1.05);
}
.wbc-slider-prev { left: 12px; }
.wbc-slider-next { right: 12px; }
.wbc-product-info { padding: 0.5rem 0; }
.wbc-product-title { font-size: 2.2rem; margin: 0 0 0.5rem; color: #11175f; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
.wbc-product-price { font-size: .3rem 1rem; color: #11175f; margin-bottom: 1.5rem; font-weight: 700; display: flex; align-items: baseline; gap: 0.5rem; }
.wbc-product-price strong { color: #11175f; }

/* Dates & Pricing Section */
.wbc-dates-pricing-section {
    /* margin-bottom: 1.5rem; */
}
.wbc-dates-pricing-title {
    font-size: 1.75rem;
    margin: 0 0 0.5rem;
    color: #11175f;
    font-weight: 700;
    line-height: 1.2;
}
.wbc-dates-pricing-subtitle {
    font-size: 1.3rem;
    color: #475569;
    margin: 0 0 1.5rem;
    line-height: 1.5;
}

/* Spots progress card */
.wbc-spots-card {
    --bg: rgba(255, 255, 255);
    --shadow: 0 18px 40px rgba(40, 35, 80, 0.16);
    --text: #1f2330;
    --muted: rgba(31, 35, 48, 0.45);
    --track: rgba(31, 35, 48, 0.1);
    --green: #95dcaf;
    --orange: #f1c88b;
    --red: #ffa1a4;
    --bar-h: 10px;
    --radius: 18px;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    color: var(--text);
    padding: 14px 16px 12px;
    border-radius: var(--radius);
    /* background: var(--bg); */
    /* box-shadow: var(--shadow); */
    /* backdrop-filter: blur(10px); */
    margin-bottom: 12px;
    align-self: stretch;
}
.wbc-spots-steps {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
    align-items: end;
}
.wbc-spots-head {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    margin-bottom: 8px;
}
.wbc-spots-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    color: var(--muted);
}
.wbc-spots-icon svg {
    width: 18px;
    height: 18px;
}
.wbc-spots-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(31, 35, 48, 0.72);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.wbc-spots-bar {
    position: relative;
    height: var(--bar-h);
    border-radius: 999px;
    background: var(--track);
    overflow: hidden;
}
.wbc-spots-fill {
    position: absolute;
    inset: 0;
    width: 0%;
    border-radius: 999px;
    background: currentColor;
    transition: width 0.25s ease;
}
.wbc-spots-card[data-stage="1"] .wbc-spots-step:nth-child(1),
.wbc-spots-card[data-stage="2"] .wbc-spots-step:nth-child(1),
.wbc-spots-card[data-stage="3"] .wbc-spots-step:nth-child(1) {
    color: var(--green);
}
.wbc-spots-card[data-stage="1"] .wbc-spots-step:nth-child(1) .wbc-spots-fill,
.wbc-spots-card[data-stage="2"] .wbc-spots-step:nth-child(1) .wbc-spots-fill,
.wbc-spots-card[data-stage="3"] .wbc-spots-step:nth-child(1) .wbc-spots-fill {
    width: 100%;
}
.wbc-spots-card[data-stage="1"] .wbc-spots-step:nth-child(1) .wbc-spots-label,
.wbc-spots-card[data-stage="2"] .wbc-spots-step:nth-child(1) .wbc-spots-label,
.wbc-spots-card[data-stage="3"] .wbc-spots-step:nth-child(1) .wbc-spots-label {
    font-weight: 700;
    color: var(--text);
}
.wbc-spots-card[data-stage="1"] .wbc-spots-step:nth-child(1) .wbc-spots-icon,
.wbc-spots-card[data-stage="2"] .wbc-spots-step:nth-child(1) .wbc-spots-icon,
.wbc-spots-card[data-stage="3"] .wbc-spots-step:nth-child(1) .wbc-spots-icon {
    color: var(--green);
}
.wbc-spots-card[data-stage="2"] .wbc-spots-step:nth-child(2),
.wbc-spots-card[data-stage="3"] .wbc-spots-step:nth-child(2) {
    color: var(--orange);
}
.wbc-spots-card[data-stage="2"] .wbc-spots-step:nth-child(2) .wbc-spots-fill,
.wbc-spots-card[data-stage="3"] .wbc-spots-step:nth-child(2) .wbc-spots-fill {
    width: 100%;
}
.wbc-spots-card[data-stage="2"] .wbc-spots-step:nth-child(2) .wbc-spots-label,
.wbc-spots-card[data-stage="3"] .wbc-spots-step:nth-child(2) .wbc-spots-label {
    font-weight: 700;
    color: var(--text);
}
.wbc-spots-card[data-stage="2"] .wbc-spots-step:nth-child(2) .wbc-spots-icon,
.wbc-spots-card[data-stage="3"] .wbc-spots-step:nth-child(2) .wbc-spots-icon {
    color: var(--orange);
}
.wbc-spots-card[data-stage="3"] .wbc-spots-step:nth-child(3) {
    color: var(--red);
}
.wbc-spots-card[data-stage="3"] .wbc-spots-step:nth-child(3) .wbc-spots-fill {
    width: 100%;
}
.wbc-spots-card[data-stage="3"] .wbc-spots-step:nth-child(3) .wbc-spots-label {
    font-weight: 700;
    color: var(--text);
}
.wbc-spots-card[data-stage="3"] .wbc-spots-step:nth-child(3) .wbc-spots-icon {
    color: var(--red);
}
@media (max-width: 760px) {
    .wbc-spots-steps {
        gap: 10px;
    }
}
.wbc-product-stats { display:flex; gap:0rem 1.5rem; flex-wrap:wrap; margin-bottom:1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid #e2e8f0; }
.wbc-stat { display:inline-flex; align-items:center; gap:0.6rem; color:#475569; font-size:0.95rem; font-weight: 500; }
.wbc-stat svg { flex-shrink: 0; color: #e4b71d; }
.wbc-product-locations { list-style:none; padding:0; margin:0 0 1.5rem; }
.wbc-product-locations li { margin:0.5rem 0; display:flex; align-items:flex-start; gap:0.6rem; color:#475569; font-size:0.95rem; line-height: 1.4; }
.wbc-product-locations li svg { flex-shrink: 0; margin-top: 3px; color: #e4b71d; }
.wbc-product-cta { margin-top:1.5rem; }
.wbc-apply-btn { background:#11175f; color:#ffffff; border:none; padding:0.9rem 2.5rem; border-radius:12px; font-weight:700; cursor:pointer; font-size:1.05rem; transition: all 0.2s; box-shadow: 0 4px 12px rgba(17, 23, 96, 0.2); }
.wbc-apply-btn:hover { background:#1b2573; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(17, 23, 96, 0.3); }

/* Container query: stack the product summary when the container is narrow */
@container (max-width: 900px) {
    .wbc-product-summary { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* JS fallback when container queries are not supported */
.wbc-tour-variations-wrap.wbc--compact .wbc-product-summary { grid-template-columns: 1fr; gap: 1.5rem; }

/* Two-column layout for locations + CTA on wide containers (uses container query when available)
   Falls back to a media query for older browsers. Scoped under .teentrek-checkout to avoid theme conflicts. */
@container (min-width: 900px) {
    .teentrek-checkout .wbc-product-info {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
        /* gap: 1rem 1.5rem; */
        align-items: center;
    }
    .teentrek-checkout .wbc-product-info .wbc-product-title,
    .teentrek-checkout .wbc-product-info .wbc-product-price,
    .teentrek-checkout .wbc-product-info .wbc-product-stats {
        grid-column: 1 / -1;
    }
    .teentrek-checkout .wbc-product-info .wbc-product-locations {
        grid-column: 1 / 2;
        margin: 0;
    }
    .teentrek-checkout .wbc-product-info .wbc-product-cta {
        grid-column: 2 / 3;
        justify-self: end;
        margin-top: 0;
    }
}

/* Fallback for browsers that don't support container queries */
@media (min-width: 900px) {
    .teentrek-checkout .wbc-product-info {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
        /* gap: 1rem 1.5rem; */
        align-items: center;
    }
    .teentrek-checkout .wbc-product-info .wbc-product-title,
    .teentrek-checkout .wbc-product-info .wbc-product-price,
    .teentrek-checkout .wbc-product-info .wbc-product-stats {
        grid-column: 1 / -1;
    }
    .teentrek-checkout .wbc-product-info .wbc-product-locations {
        grid-column: 1 / 2;
        margin: 0;
    }
    .teentrek-checkout .wbc-product-info .wbc-product-cta {
        grid-column: 2 / 3;
        justify-self: end;
        margin-top: 0;
    }
}

/* Checkout steps (Cart -> Application -> Terms -> Checkout) */
.ttc-steps {
    --ttc-step-active: #11175f;
    --ttc-step-muted: #cbd5e1;
    --ttc-step-text: #64748b;
    width: 100%;
    max-width: 980px;
    margin: 1.5rem auto;
    padding: 0.5rem 1rem;
    box-sizing: border-box;
}
.ttc-steps__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    position: relative;
    align-items: start;
}
.ttc-steps__list::before {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    top: 18px;
    height: 3px;
    background: var(--ttc-step-muted);
    border-radius: 999px;
    z-index: 0;
}
.ttc-steps__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    text-align: center;
    z-index: 1;
}
.ttc-steps__circle {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.95rem;
    background: #eef2f7;
    color: var(--ttc-step-text);
    border: 2px solid var(--ttc-step-muted);
    box-sizing: border-box;
}
.ttc-steps__label {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--ttc-step-text);
    line-height: 1.1;
}
.ttc-steps__step.is-current .ttc-steps__circle,
.ttc-steps__step.is-complete .ttc-steps__circle {
    background: var(--ttc-step-active);
    border-color: var(--ttc-step-active);
    color: #fff;
}
.ttc-steps__step.is-current .ttc-steps__label {
    color: var(--ttc-step-active);
}
.ttc-steps__step.is-complete .ttc-steps__label {
    color: #0f172a;
}
.ttc-steps__step.is-upcoming .ttc-steps__circle {
    background: #f8fafc;
}

@media (max-width: 640px) {
    .ttc-steps__list::before {
        left: 6%;
        right: 6%;
        top: 16px;
        height: 2px;
    }
    .ttc-steps__circle {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    .ttc-steps__label {
        font-size: 0.85rem;
    }
}

/* ============================================
   Cart Sidebar Products
   ============================================ */
.cart-collaterals {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.cart-collaterals::before,
.cart-collaterals::after {
    display: none !important;
    content: none !important;
}

.ttc-cart-sidebar-products {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    flex: 1;
    order: 1;
}

.cart-collaterals .cart_totals {
    flex: 0 0 400px;
    order: 2;
}

.ttc-cart-sidebar-title {
    margin: 0 0 16px;
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    border-bottom: 2px solid #f3f4f6;
    padding-bottom: 12px;
}

.ttc-products-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ttc-product-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f9fafb;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

.ttc-product-item:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.ttc-product-image {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e5e7eb;
}

.ttc-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ttc-product-info {
    flex: 1;
    min-width: 0;
}

.ttc-product-title {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.ttc-product-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ttc-product-price {
    font-size: 14px;
    font-weight: 700;
    color: #059669;
}

.ttc-product-price .woocommerce-Price-amount {
    font-weight: 700;
}

.ttc-product-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.ttc-product-qty {
    width: 50px;
    height: 36px;
    padding: 4px 8px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    background: #fff;
    transition: border-color 0.2s ease;
}

.ttc-product-qty:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.ttc-add-to-cart-btn {
    height: 36px;
    padding: 0 16px;
    background: #fbbf24;
    color: #111827;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ttc-add-to-cart-btn:hover {
    background: #f59e0b;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(251, 191, 36, 0.3);
}

.ttc-add-to-cart-btn:active {
    transform: translateY(0);
}

.ttc-add-to-cart-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.ttc-add-to-cart-btn.loading {
    position: relative;
    color: transparent;
}

.ttc-add-to-cart-btn.loading::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 2px solid #111827;
    border-radius: 50%;
    border-top-color: transparent;
    animation: ttc-spin 0.6s linear infinite;
}

@keyframes ttc-spin {
    to { transform: rotate(360deg); }
}

.ttc-add-to-cart-btn.success {
    background: #10b981;
    color: #fff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cart-collaterals {
        flex-direction: column;
    }

    .cart-collaterals .cart_totals {
        flex: 1 1 auto;
        width: 100%;
    }

    .ttc-cart-sidebar-products {
        padding: 16px;
    }

    .ttc-product-item {
        flex-wrap: wrap;
    }

    .ttc-product-image {
        width: 50px;
        height: 50px;
    }

    .ttc-product-title {
        font-size: 13px;
    }

    .ttc-product-actions {
        width: 100%;
        justify-content: flex-end;
        margin-top: 8px;
    }
}

@media (max-width: 480px) {
    .ttc-product-qty {
        width: 45px;
        height: 32px;
        font-size: 13px;
    }

    .ttc-add-to-cart-btn {
        height: 32px;
        padding: 0 12px;
        font-size: 12px;
    }
}
