/* =========================================================
 * Pizza Hut 2026 - Ultimate Builder Layout (Apple Style)
 * Strategy: CSS Grid + display:contents to restructure DOM
 * branding: Pizza Hut 2026 (Red #E4002B, Black #121212)
 * ========================================================= */

/* --- 1. SHEET PANEL (Wrapper) --- */
.sheet-panel {
    background: #fff !important;
    border-radius: 32px 32px 0 0 !important;
    box-shadow: 0 -20px 80px rgba(0, 0, 0, 0.35) !important;
    /* Deeper Shadow */
    max-height: 94vh !important;
    border: none !important;
    display: flex;
    flex-direction: column;
}

.sheet-close {
    background: #f0f0f5 !important;
    color: #121212 !important;
    /* Ink Black */
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    width: 44px !important;
    /* Larger Touch Target */
    height: 44px !important;
    top: 24px !important;
    right: 24px !important;
    z-index: 20;
    font-weight: 800;
    /* Bold X */
    border-radius: 50% !important;
}

.sheet-close:hover {
    background: #E4002B !important;
    /* Brand Red */
    color: #fff !important;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 4px 15px rgba(228, 0, 43, 0.4) !important;
}

/* --- 2. HEADER --- */
.sheet-head {
    text-align: center;
    padding: 24px 20px 0;
    margin-bottom: 24px;
    flex-shrink: 0;
}

.sheet-head h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    /* Extra Bold */
    font-size: 2rem;
    color: #121212;
    text-transform: uppercase;
    margin-bottom: 4px;
    letter-spacing: -1px;
    line-height: 1;
}

.sheet-head .muted {
    font-size: 1.05rem;
    color: #555;
    font-weight: 600;
}

/* --- 3. SCROLL CONTENT AREA --- */
#sheetContent {
    padding: 0 24px 120px !important;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* General Typography inside content */
#sheetContent h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    color: #121212;
    /* Black Header */
    margin-top: 24px;
    margin-bottom: 16px;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
}

#sheetContent h4::after {
    content: '';
    flex: 1;
    height: 2px;
    /* Thicker Line */
    background: #f0f0f0;
    margin-left: 12px;
}

/* --- 4. MOBILE FIRST STACK (Default) --- */

/* Size Grid */
.size-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(105px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.size-card {
    background: #fff;
    border: 2px solid #f0f0f0;
    /* Bolder Border */
    border-radius: 20px;
    padding: 18px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.size-card:active {
    transform: scale(0.95);
}

.size-card.selected {
    background: #fff;
    border-color: #E4002B;
    box-shadow: 0 8px 25px rgba(228, 0, 43, 0.2);
    /* Red Glow */
    transform: translateY(-4px);
    z-index: 2;
}

.size-card .sc-icon {
    font-size: 2.2rem;
    margin-bottom: 10px;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.size-card .sc-name {
    font-weight: 800;
    font-size: 0.95rem;
    color: #121212;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.size-card .sc-price {
    font-size: 0.9rem;
    color: #E4002B;
    font-weight: 700;
    margin-top: 6px;
    background: #fff0f0;
    padding: 2px 8px;
    border-radius: 6px;
}

/* Flavor Inputs (Selects) */
.fsel-wrap {
    margin-bottom: 20px;
}

.fsel-wrap label {
    font-weight: 700;
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 10px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.8rem;
}

.fs-btn {
    border: 2px solid #f0f0f0 !important;
    background: #fff !important;
    padding: 16px 18px !important;
    border-radius: 16px !important;
    font-size: 1.05rem !important;
    color: #121212 !important;
    font-weight: 600 !important;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03) !important;
}

.fselect.active .fs-btn {
    border-color: #E4002B !important;
    box-shadow: 0 0 0 4px rgba(228, 0, 43, 0.15) !important;
}

.fs-dropdown {
    border-radius: 16px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2) !important;
    border: 1px solid #f0f0f0 !important;
    margin-top: 8px !important;
    padding: 8px 0 !important;
}

.fs-opt {
    padding: 14px 20px !important;
    border-bottom: 1px solid #f9f9f9 !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
}

.fs-opt:hover {
    background: #fff5f5 !important;
    color: #E4002B !important;
}

/* PIZZA VISUALIZER (Mobile) */
.pizza-viz-wrap {
    margin: 20px auto 30px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    /* Subtle glow behind the pizza */
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.03) 0%, rgba(255, 255, 255, 0) 70%);
}

.pizza-viz {
    width: 260px;
    height: 260px;
    max-width: 80vw;
    max-height: 80vw;
    border: 0px solid #EAA438 !important;
    box-shadow: 0 40px 80px -15px rgba(0, 0, 0, 0.25) !important;
    border-radius: 50%;
    margin: 0 auto;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.pizza-viz:hover {
    transform: scale(1.02) rotate(2deg);
}

.pv-hint {
    margin-top: 24px;
    background: #fff !important;
    border: 1px solid #eee !important;
    color: #888 !important;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 99px;
    font-size: 0.85rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
}


/* --- 5. UNIVERSAL CENTERED LAYOUT (Laptop/PC/Tablet) --- */
/* We disable the old Split View by pushing it to a crazy high breakpoint */
@media(min-width: 600px) {
    .sheet:not(.hidden) {
        align-items: center !important;
        justify-content: center !important;
        padding: 40px;
        display: flex !important;
    }

    .sheet-panel {
        width: 100%;
        max-width: 550px;
        max-height: 85vh !important;
        border-radius: 40px !important;
        /* Ultra Round (Apple) */

        /* Premium Depth Shadow */
        box-shadow:
            0 25px 90px -10px rgba(0, 0, 0, 0.35),
            0 0 0 1px rgba(0, 0, 0, 0.04) !important;

        margin: 0 auto;
        display: flex;
        flex-direction: column;
        position: relative;
        overflow: hidden;
        background: #fff;
    }

    /* Pizza Hut "Red Roof" Accent Strip */
    .sheet-panel::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 6px;
        background: linear-gradient(90deg, #E4002B, #B00020);
        /* Brand Red */
        z-index: 10;
        box-shadow: 0 2px 10px rgba(228, 0, 43, 0.4);
    }

    .sheet-head {
        padding-top: 32px;
    }

    .pizza-viz {
        width: 300px !important;
        height: 300px !important;
    }

    /* Ensure Footer is contained nicely */
    #sheetFooter {
        position: static !important;
        /* Sticky inside the flex container if needed, but relative usually safer here */
        /* Let's keep it sticky BOTTOM of the panel if possible, or usually it's outside? */
        /* The structure is usually .sheet-panel > content + footer */
        /* Actually footer is often appended to sheetContent or sheetPanel. */
        /* Let's verify structure. Assuming footer is inside sheet-panel. */
    }
}

/* OLD SPLIT VIEW (DISABLED) */
@media(min-width: 9999px) {

    .sheet {
        align-items: center !important;
        justify-content: center !important;
        padding: 40px;
    }

    .sheet-panel {
        width: 100%;
        max-width: 1100px;
        max-height: 800px !important;
        height: 85vh;
        border-radius: 32px !important;
        box-shadow: 0 50px 120px rgba(0, 0, 0, 0.3) !important;
        /* Premium Shadow */
        overflow: hidden;
    }

    #sheetContent {
        display: grid;
        grid-template-columns: 450px 1fr;
        grid-template-rows: auto 1fr;
        column-gap: 50px;
        padding: 0 0 0 !important;
        height: 100%;
        overflow: hidden !important;
    }

    .sheet-head {
        grid-column: 1 / -1;
        text-align: left;
        padding: 40px 50px 20px;
        border-bottom: 1px solid #f0f0f0;
        margin-bottom: 0;
        display: flex;
        align-items: baseline;
        justify-content: space-between;
    }

    .sheet-head h3 {
        font-size: 2.5rem;
        letter-spacing: -2px;
    }

    .sheet-close {
        top: 40px !important;
        right: 50px !important;
    }

    #flavorsBlock {
        display: contents;
    }

    .pizza-viz-wrap {
        grid-column: 1 / 2;
        grid-row: 2 / 4;
        width: 100% !important;
        height: 100%;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: #fbfbfd;
        /* Slight separation */
        border-right: 1px solid #f0f0f0;
    }

    .pizza-viz {
        width: 380px;
        height: 380px;
        box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.2) !important;
    }

    #sheetContent {
        display: block !important;
        position: relative;
        padding-left: 480px !important;
        overflow-y: auto !important;
    }

    .pizza-viz-wrap {
        position: absolute !important;
        top: 0;
        left: 0;
        bottom: 0;
        width: 480px !important;
        background: #fbfbfd;
        border-right: 1px solid #f0f0f0;
        transform: none;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    .sheet-head {
        padding-left: 530px;
        /* Aligned */
    }

    #sheetContent {
        padding-right: 50px !important;
        padding-bottom: 140px !important;
    }

    #sheetContent h4 {
        margin-top: 50px;
        font-size: 1.1rem;
    }

    .size-grid {
        gap: 20px;
    }

    .size-card {
        min-width: 150px;
        padding: 30px 20px;
    }

    .pv-hint {
        position: absolute;
        bottom: 50px;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }

    /* --- FOOTER DESKTOP --- */
    #sheetFooter {
        left: 480px !important;
        border-radius: 0 !important;
        padding: 30px 50px !important;
        justify-content: flex-start;
    }

    .qty-ctrl {
        margin-right: 24px;
        transform: scale(1.1);
    }

    #sheetAdd {
        flex: 0 0 auto !important;
        width: 340px !important;
        height: 60px !important;
        font-size: 1.2rem !important;
    }
}

/* --- 6. FOOTER (Shared) --- */
#sheetFooter {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(24px);
    border-top: 1px solid #eee !important;
    z-index: 15;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.05);
    /* Footer Shadow */
}

#sheetAdd {
    background: #E4002B !important;
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 10px 30px rgba(228, 0, 43, 0.3) !important;
    /* Button Glow */
    border-radius: 99px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#sheetAdd:hover {
    background: #cc0025 !important;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(228, 0, 43, 0.5) !important;
}

#sheetAdd:active {
    transform: scale(0.96);
}

.qty-ctrl {
    background: #f5f5f7;
    border-radius: 99px;
    padding: 6px;
    border: 1px solid #eee;
}

.qty-btn {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    font-size: 1.2rem !important;
    color: #E4002B !important;
}

#hiddenSelects {
    display: none !important;
}

/* =========================================================
 * UPSELL POPUP - Pizza Hut 2026 (Apple Style)
 * ========================================================= */

.upsell-overlay {
    background: rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: blur(15px) !important;
}

.upsell-panel {
    background: #fff !important;
    border-radius: 32px 32px 0 0 !important;
    box-shadow: 0 -20px 80px rgba(0, 0, 0, 0.25) !important;
    border: none !important;
}

/* Header */
.upsell-header {
    border-bottom: 1px solid #f0f0f0 !important;
    padding: 24px !important;
}

.upsell-header h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 1.4rem;
    color: #121212;
    margin: 0;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.upsell-close {
    background: #f5f5f7 !important;
    width: 36px !important;
    height: 36px !important;
    color: #121212 !important;
    border-radius: 50% !important;
    font-weight: 800 !important;
    transition: all 0.2s;
}

.upsell-close:hover {
    background: #E4002B !important;
    color: #fff !important;
    transform: rotate(90deg);
}

/* Grid & Cards */
.upsell-body {
    padding: 24px !important;
    background: #fbfbfd !important;
    /* Apple Light Gray */
}

.upsell-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 16px !important;
}

.upsell-card {
    background: #fff !important;
    border: 1px solid #eee !important;
    border-radius: 20px !important;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03) !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    display: flex;
    flex-direction: column;
}

.upsell-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08) !important;
    border-color: #E4002B !important;
}

.upsell-img {
    aspect-ratio: 1.1;
    background: #f8f8f8;
    position: relative;
    overflow: hidden;
}

.upsell-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.upsell-card:hover .upsell-img img {
    transform: scale(1.08);
}

.upsell-info {
    padding: 14px !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

.upsell-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    line-height: 1.3 !important;
    color: #121212 !important;
    margin-bottom: 8px !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.upsell-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.upsell-price {
    font-weight: 800 !important;
    font-size: 1rem !important;
    color: #555 !important;
}

.u-add {
    background: transparent !important;
    color: #E4002B !important;
    border: 2px solid #E4002B !important;
    padding: 6px 14px !important;
    font-size: 0.75rem !important;
    font-weight: 900 !important;
    border-radius: 99px !important;
    box-shadow: none !important;
    transition: all 0.2s;
}

.upsell-card:hover .u-add {
    background: #E4002B !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(228, 0, 43, 0.3) !important;
}

.u-add:active {
    transform: scale(0.9);
}

/* DESKTOP OVERRIDES */
@media(min-width: 768px) {
    .upsell-overlay {
        align-items: center !important;
        justify-content: center !important;
    }

    .upsell-panel {
        width: 100%;
        max-width: 800px !important;
        max-height: 80vh !important;
        border-radius: 32px !important;
        margin: 20px;
        box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3) !important;
    }

    .upsell-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 24px !important;
    }

    .upsell-header h3 {
        font-size: 1.8rem;
    }

    .upsell-close {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.2rem !important;
    }
}

/* =========================================================
 * CHECKOUT FORM - Pizza Hut 2026 (Apple Style)
 * ========================================================= */

/* Container Override */
#checkoutBox {
    background: #fff !important;
    border: none !important;
    border-radius: 32px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1) !important;
    padding: 32px !important;
}

#checkoutTitle {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 1.5rem;
    color: #121212;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 12px;
}

.checkout-guide {
    font-size: 0.95rem !important;
    color: #666 !important;
    margin-bottom: 24px !important;
}

/* Form Elements */
.form label {
    font-family: 'Outfit', sans-serif;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    color: #444 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px !important;
    display: block;
}

.form input,
.form textarea,
.form select {
    width: 100%;
    background: #fbfbfd !important;
    /* Apple Light BG */
    border: 2px solid #e5e5e5 !important;
    border-radius: 16px !important;
    padding: 16px !important;
    font-size: 1rem !important;
    color: #121212 !important;
    font-weight: 600 !important;
    transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02) !important;
}

.form input:focus,
.form textarea:focus,
.form select:focus {
    background: #fff !important;
    border-color: #E4002B !important;
    box-shadow: 0 0 0 4px rgba(228, 0, 43, 0.1) !important;
    outline: none !important;
}

.form textarea {
    min-height: 80px;
    resize: vertical;
}

/* Fancy Select Wrappers in Form */
#checkoutBox .fselect {
    border: none !important;
    /* Reset wrapper border */
    box-shadow: none !important;
    background: transparent !important;
}

#checkoutBox .fs-btn {
    background: #fbfbfd !important;
    border: 2px solid #e5e5e5 !important;
    padding: 16px !important;
    border-radius: 16px !important;
}

#checkoutBox .fselect.active .fs-btn {
    background: #fff !important;
    border-color: #E4002B !important;
}

/* Buttons */
#btnAddrGeo {
    color: #E4002B !important;
    font-weight: 800 !important;
    background: rgba(228, 0, 43, 0.1) !important;
    padding: 6px 12px !important;
    border-radius: 8px !important;
    transition: all 0.2s;
}

#btnAddrGeo:hover {
    background: rgba(228, 0, 43, 0.2) !important;
    transform: translateY(-1px);
}

/* Payment Method Visuals */
#paymentMethod {
    font-size: 1rem !important;
}

/* Final Button */
#sendWA {
    margin-top: 24px !important;
    width: 100%;
    background: #E4002B !important;
    /* Brand Red */
    color: #fff !important;
    border: none !important;
    padding: 20px !important;
    font-family: 'Outfit', sans-serif;
    font-weight: 900 !important;
    font-size: 1.1rem !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 99px !important;
    box-shadow: 0 10px 30px rgba(228, 0, 43, 0.35) !important;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#sendWA:hover {
    background: #cc0025 !important;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 50px rgba(228, 0, 43, 0.5) !important;
}

#sendWA:active {
    transform: scale(0.95);
    box-shadow: 0 5px 15px rgba(228, 0, 43, 0.2) !important;
}

/* Address Verified Badge */
#addrVerifiedBadge {
    background: #DCFCE7 !important;
    color: #166534 !important;
    border: 1px solid #86EFAC !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    padding: 4px 8px !important;
}

/* Special Focus State */
.input-error {
    border-color: #ef4444 !important;
    background: #fef2f2 !important;
    animation: shake 0.4s;
}

/* Payment Input */
#cashInputWrap {
    background: #FFFBEB !important;
    /* Warn bg */
    border: 1px dashed #F59E0B !important;
    color: #92400E !important;
}

/* =========================================================
 * BRANCH CARDS GLOW UP - Pizza Hut 2026 (Apple Style)
 * ========================================================= */

.branch-list {
    padding: 10px 4px !important;
}

.branch-item {
    background: #fff !important;
    border: none !important;
    border-radius: 24px !important;
    padding: 24px !important;
    margin-bottom: 20px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    cursor: pointer;
    position: relative;
    overflow: visible !important;
}

.branch-item:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1) !important;
    border-color: transparent !important;
}

/* Selected State */
.branch-item.selected {
    box-shadow: 0 0 0 3px #E4002B, 0 20px 50px rgba(228, 0, 43, 0.2) !important;
    background: #fff !important;
    /* Ensure white bg */
}

/* Typography */
.branch-item h4 {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 800 !important;
    font-size: 1.15rem !important;
    color: #1d1d1f !important;
    margin: 0 0 8px 0 !important;
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

/* Address Pill in Header */
.branch-item h4 .pill {
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    background: #f5f5f7 !important;
    color: #86868b !important;
    padding: 4px 10px !important;
    border-radius: 99px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid transparent !important;
}

.branch-item .muted {
    font-size: 0.95rem !important;
    color: #555 !important;
    margin-bottom: 16px !important;
    font-weight: 500;
}

/* Buttons Container */
.branch-item>div[style*="justify-content:space-between"] {
    margin-top: 16px !important;
    align-items: flex-end !important;
}

/* Primary "Elegir" Button & "Como llegar" */
.branch-item .pill {
    border-radius: 12px !important;
    padding: 10px 16px !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    transition: all 0.2s !important;
    border: none !important;
}

/* "Elegir" styles */
.branch-item .select-branch {
    background: #E4002B !important;
    color: #fff !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 12px rgba(228, 0, 43, 0.3) !important;
}

.branch-item .select-branch:hover {
    background: #cc0025 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(228, 0, 43, 0.4) !important;
}

/* "Como llegar" map button */
.branch-item a[href*="maps"] {
    background: #fbfbfd !important;
    color: #1d1d1f !important;
    border: 1px solid #d2d2d7 !important;
    box-shadow: none !important;
}

.branch-item a[href*="maps"]:hover {
    background: #f0f0f0 !important;
    border-color: #c7c7cc !important;
}

/* Social Icons */
.branch-item .icon-btn {
    padding: 10px !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
    background: #fff !important;
}

.branch-item .icon-btn:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

/* =========================================================
 * ORDER SUCCESS GLOW UP - Pizza Hut 2026 (Apple Style)
 * ========================================================= */

.tracker-overlay {
    background: rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: blur(15px) !important;
    z-index: 12000 !important;
}

.tracker-card {
    background: #fff !important;
    border-radius: 32px !important;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.35) !important;
    border: none !important;
    padding: 32px !important;
    max-width: 450px !important;
    width: 90% !important;
    text-align: center !important;
    position: relative;
    overflow: hidden;
}

/* Header */
.tc-header {
    margin-bottom: 24px !important;
}

.tc-header h2 {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 900 !important;
    font-size: 1.8rem !important;
    color: #1d1d1f !important;
    margin: 0 !important;
    text-transform: uppercase !important;
    letter-spacing: -1px;
}

.tc-time {
    font-size: 0.9rem !important;
    color: #86868b !important;
    font-weight: 600 !important;
    margin-top: 4px !important;
}

/* Main Status Icon */
.tc-status-visual {
    margin: 20px 0 30px !important;
}

.tc-icon {
    font-size: 4rem !important;
    background: #fbfbfd !important;
    width: 100px !important;
    height: 100px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
    animation: pulseIcon 2s infinite !important;
}

@keyframes pulseIcon {
    0% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 50px rgba(228, 0, 43, 0.2);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    }
}

.tc-message {
    font-size: 1.1rem !important;
    color: #1d1d1f !important;
    font-weight: 600 !important;
    margin-bottom: 30px !important;
    line-height: 1.5 !important;
}

/* Tracking Steps */
.tc-steps {
    display: flex !important;
    justify-content: space-between !important;
    margin-bottom: 30px !important;
    position: relative !important;
    padding: 0 10px !important;
}

/* Line behind step dots */
.tc-steps::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 20px;
    right: 20px;
    height: 3px;
    background: #f0f0f0;
    z-index: 0;
}

.step {
    position: relative !important;
    z-index: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    font-size: 0.8rem !important;
    color: #86868b !important;
    font-weight: 600 !important;
    text-transform: uppercase;
}

.step .dot {
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    background: #e5e5e5 !important;
    margin-bottom: 8px !important;
    border: 3px solid #fff !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s !important;
}

.step.active .dot {
    background: #E4002B !important;
    transform: scale(1.2);
    box-shadow: 0 0 0 4px rgba(228, 0, 43, 0.2) !important;
}

.step.active {
    color: #E4002B !important;
    font-weight: 800 !important;
}

/* Buttons */
.tc-actions .btn {
    border-radius: 99px !important;
    padding: 18px !important;
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.3s !important;
}

.btn-whatsapp {
    background: #25D366 !important;
    color: #fff !important;
    border: none !important;
}

.btn-whatsapp:hover {
    background: #20BA56 !important;
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4) !important;
}

/* =========================================================
 * DELIVERY & FINISHED STATES - Pizza Hut 2026
 * ========================================================= */

/* FINISH BUTTON (Appears when order is done) */
#tcFinishBtn {
    background: #121212 !important;
    /* Premium Black */
    color: #fff !important;
    margin-top: 16px !important;
    border: 1px solid #333 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

#tcFinishBtn:hover {
    background: #000 !important;
    transform: scale(1.02);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25) !important;
}

/* Add a checkmark to the button content via CSS if not in HTML? 
   HTML has text. We can add an icon if we want. */
#tcFinishBtn::before {
    content: '';
    font-weight: 900;
    font-size: 1.2rem;
    color: #E4002B;
    /* Brand Red Check */
}

/* STEP 3 (EN CAMINO / LISTO) - Active State Glow */
.step#ts3.active .dot {
    background: #25D366 !important;
    /* WhatsApp/Success Green? Or Red? */
    /* Let's stick to Brand Red for consistency, or Green for 'Ready'? */
    /* User said 'Pizza Hut', so Red is safer, prevents xmas tree look. */
    background: #E4002B !important;
    box-shadow: 0 0 0 4px rgba(228, 0, 43, 0.3), 0 0 15px rgba(228, 0, 43, 0.4) !important;
}

.step#ts3.active {
    color: #121212 !important;
    /* Dark text for emphasis */
    transform: scale(1.05);
    /* Slight enlarge */
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* TEXT FOR FINISHED STATE */
/* We can't target text content, but usually title says '�Pedido Listo!' */
/* We can target the H2 generally to be more celebratory */
.tc-header h2 {
    background: linear-gradient(45deg, #1d1d1f, #444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    /* Keeps it dark but subtle depth */
    background: #121212;
    /* Fallback */
    -webkit-text-fill-color: #121212;
}

/* If the icon is a Scooter () or Check, give it a bounce */
.tc-icon {
    animation: bounceIcon 2s infinite ease-in-out !important;
}

@keyframes bounceIcon {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* =========================================================
 * HEADER GLOW UP - Pizza Hut 2026 (Apple Style)
 * ========================================================= */

header {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    position: sticky !important;
    top: 0;
    z-index: 10000 !important;
    padding: 12px 0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02) !important;
}

header .nav {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

/* BRAND LOGO AREA */
header .brand {
    display: flex !important;
    align-items: center !important;
    text-decoration: none !important;
    gap: 12px !important;
    color: #1d1d1f !important;
    /* Apple Black */
}

header .brand img {
    height: 40px !important;
    width: auto !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

header .brand span {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 800 !important;
    font-size: 1.2rem !important;
    letter-spacing: -0.5px !important;
}

/* STEPS WIZARD (Apple Style Status) */
header .steps {
    display: flex !important;
    gap: 8px !important;
    background: #f5f5f7 !important;
    /* Apple Light Gray Pill */
    padding: 6px 8px !important;
    border-radius: 99px !important;
}

header .step {
    font-family: 'Outfit', sans-serif !important;
    font-size: 0.85rem !important;
    color: #86868b !important;
    /* Apple Muted */
    display: flex !important;
    align-items: center !important;
    gap: 6px;
    padding: 6px 14px !important;
    border-radius: 99px !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    white-space: nowrap !important;
}

header .step .dot {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #d2d2d7 !important;
    color: #fff !important;
    border-radius: 50% !important;
    font-size: 0.7rem !important;
    font-weight: 700 !important;
}

header .step .label {
    font-weight: 600 !important;
    display: block !important;
}

/* ACTIVE STEP */
header .step.active {
    background: #fff !important;
    color: #1d1d1f !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

header .step.active .dot {
    background: #E4002B !important;
    /* Brand Red */
}

/* RESPONSIVE: HIDE LABELS ON MOBILE */
@media (max-width: 768px) {
    header .step {
        padding: 6px !important;
        /* Circle only mode */
        width: 32px !important;
        height: 32px !important;
        justify-content: center !important;
    }

    header .step .label {
        display: none !important;
    }

    header .step .dot {
        margin: 0 !important;
        width: 100% !important;
        height: 100% !important;
        font-size: 0.9rem !important;
    }

    header .brand span {
        display: none !important;
        /* Only Logo on small mobile if needed, or reduce font */
    }

    header .nav {
        padding: 0 16px !important;
    }
}

@media (min-width: 400px) and (max-width: 768px) {

    /* Show brand name on mid-size phones */
    header .brand span {
        display: block !important;
        font-size: 1rem !important;
    }
}

/* =========================================================
 * HEADER FIX FINAL - PC/LAPTOP REFINEMENT
 * ========================================================= */

/* 1. Global Reset to kill white space at top */
html,
body {
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
}

/* 2. PC Header Layout */
header {
    margin-top: 0 !important;
    top: 0 !important;
    width: 100% !important;
    padding: 18px 0 !important;
    /* Premium height */
    backdrop-filter: blur(30px) !important;
    background: rgba(255, 255, 255, 0.92) !important;
    position: sticky !important;
}

/* 3. Container Alignment on Large Screens */
header .nav {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 40px !important;
    /* More breathing room on edges */
    box-sizing: border-box !important;
}

/* 4. Fix specific to any banners pushing it down */
#locBanner {
    display: none !important;
    /* Hide legacy banner if visible */
}

/* 5. Desktop Typography Refinement */
@media (min-width: 1024px) {
    header .brand span {
        font-size: 1.5rem !important;
        letter-spacing: -1px !important;
    }

    header .step {
        padding: 10px 24px !important;
        font-size: 1rem !important;
    }

    header .step .dot {
        width: 26px !important;
        height: 26px !important;
        font-size: 0.9rem !important;
    }
}

/* =========================================================
 * HEADER SCROLL FIX - User Request
 * ========================================================= */
/* Force header to scroll with page (not sticky) */
header {
    position: relative !important;
}

/* =========================================================
 * TRACKER UI REFINEMENTS - Apple/Pizza Hut 2026
 * ========================================================= */

/* Optimize Transitions for Tracker Updates */
#tcTitle,
#tcMessage,
#tcIcon {
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Status Text Pulse (Subtle Breathing) */
#tcTitle {
    animation: textBreathe 3s infinite ease-in-out;
}

@keyframes textBreathe {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.9;
        transform: scale(0.99);
    }
}

/* Ensure Finish Button is Hidden Initially */
#tcFinishBtn.hidden {
    display: none !important;
}

/* Step 3 Glow Enhancement for Ready State */
.step#ts3.active .dot {
    box-shadow: 0 0 0 4px rgba(228, 0, 43, 0.4), 0 0 20px rgba(228, 0, 43, 0.6) !important;
}

/* =========================================================
 * TRACKER REFINED - APPLE MINIMALIST (FINAL)
 * ========================================================= */

/*.tracker-overlay override to be lighter/glassier */
.tracker-overlay {
    background: rgba(255, 255, 255, 0.3) !important;
    /* Lighter */
    backdrop-filter: blur(30px) !important;
    -webkit-backdrop-filter: blur(30px) !important;
}

.tracker-card {
    background: #fff !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1) !important;
    /* Softer shadow */
    border: 1px solid rgba(0, 0, 0, 0.03) !important;
    border-radius: 40px !important;
    /* rounder */
    padding: 40px !important;
    max-width: 420px !important;
}

/* Minimalist Icon */
.tc-icon {
    background: transparent !important;
    /* Remove circle bg */
    box-shadow: none !important;
    font-size: 5rem !important;
    margin-bottom: 10px !important;
    animation: floatIcon 3s ease-in-out infinite !important;
}

@keyframes floatIcon {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Clean Typography */
.tc-header h2 {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    /* Less heavy */
    font-size: 2rem !important;
    letter-spacing: -1px !important;
    color: #1d1d1f !important;
    background: none !important;
    -webkit-text-fill-color: #1d1d1f !important;
}

.tc-message {
    font-weight: 400 !important;
    color: #86868b !important;
    font-size: 1.15rem !important;
    margin-bottom: 40px !important;
    /* More space */
}

/* Minimalist Steps */
.tc-steps {
    justify-content: center !important;
    gap: 12px !important;
    /* Closer dots */
    margin-bottom: 40px !important;
}

.tc-steps::before {
    display: none !important;
    /* Remove connecting line for pure minimal look */
}

.step {
    flex-direction: column !important;
    width: auto !important;
}

.step .dot {
    width: 12px !important;
    height: 12px !important;
    background: #d2d2d7 !important;
    border: none !important;
    box-shadow: none !important;
    margin: 0 !important;
    transition: all 0.4s ease !important;
}

.step.active .dot {
    width: 12px !important;
    height: 12px !important;
    background: #E4002B !important;
    transform: scale(1.3) !important;
    box-shadow: 0 0 0 6px rgba(228, 0, 43, 0.1) !important;
}

.step .label {
    display: none !important;
    /* Hide labels for ultra minimal, or keep? User said minimal. */
    /* Let's hide labels in tracker to focus on status text above */
}

/* Premium Main Button */
#tcFinishBtn {
    background: #1d1d1f !important;
    color: #fff !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    border-radius: 99px !important;
    padding: 18px 40px !important;
    font-size: 1.1rem !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s !important;
    width: 100% !important;
    justify-content: center !important;
}

#tcFinishBtn:hover {
    transform: scale(1.02) !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15) !important;
}

/* =========================================================
 * HEADER STEPS MINIMALIST (No Red Coverage)
 * ========================================================= */

/* Container: Transparent/Subtle */
header .steps {
    background: transparent !important;
    gap: 16px !important;
    padding: 0 !important;
}

/* Base Step: Clean Text */
header .step {
    background: transparent !important;
    padding: 0 !important;
    color: #86868b !important;
    gap: 8px !important;
}

/* Dot: Minimal Outline or Small Solid */
header .step .dot {
    background: transparent !important;
    border: 1px solid #d2d2d7 !important;
    color: #86868b !important;
    width: 24px !important;
    height: 24px !important;
    font-size: 0.75rem !important;
    font-weight: 500 !important;
}

/* Active State: Bold Black (Apple Style), No Red Background */
header .step.active {
    background: transparent !important;
    box-shadow: none !important;
    color: #1d1d1f !important;
}

header .step.active .label {
    font-weight: 700 !important;
}

header .step.active .dot {
    background: #1d1d1f !important;
    /* Premium Black Dot */
    color: #fff !important;
    border-color: #1d1d1f !important;
    transform: scale(1);
}

/* Refined for Mobile */
@media (max-width: 768px) {
    header .step .dot {
        width: 28px !important;
        height: 28px !important;
        font-size: 0.8rem !important;
    }
}

/* =========================================================
 * TRACKER STEPS - ULTRA CLEAN (No Red Blocks)
 * ========================================================= */

.tc-steps .step {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

.tc-steps .step .dot {
    background: #f2f2f7 !important;
    /* Apple Muted Gray */
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    color: transparent !important;
    /* Hide number if dot mode */
    width: 14px !important;
    height: 14px !important;
    box-shadow: none !important;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

/* Active Status: Premium Black (Apple Style) */
.tc-steps .step.active .dot {
    background: #1d1d1f !important;
    /* Solid Black */
    transform: scale(1.4) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2) !important;
    /* Soft shadow */
    border: none !important;
}

/* Remove any glowing red rings from previous code */
.step#ts3.active .dot {
    box-shadow: none !important;
    /* Optional: If we want a 'success' color, maybe green? 
       But user said minimalist/legible. Black is best. */
    background: #1d1d1f !important;
}

/* Ensure container is clean */
.tc-steps {
    background: transparent !important;
    margin-top: 10px !important;
}

/* --- RAPPI STYLE SELECT DROPDOWN AND CHECKLIST --- */
.dropdown-rappi {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background-color: #f8fafc;
    font-size: 1rem;
    font-weight: 500;
    color: #0f172a;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    margin-bottom: 0 !important;
}

.dropdown-rappi:focus {
    outline: none;
    border-color: #E4002B;
    box-shadow: 0 0 0 3px rgba(228, 0, 43, 0.1);
}

.mg-checklist-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.mg-check-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s;
}

.mg-check-row.selected {
    border-color: #E4002B;
    background: rgba(228, 0, 43, 0.04);
}

.mg-cr-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mg-cr-left input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #E4002B;
    cursor: pointer;
}

.mg-cr-name {
    font-weight: 600;
    color: #121212;
}

.mg-cr-price {
    font-weight: 700;
    color: #64748b;
    font-size: 0.9rem;
}

/* --- PREMIUM APPLE STYLE HOME BUTTON (ANTI-FLAT) --- */
.btn-apple-home {
    /* 1. Glass & Gloss Base */
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.18) 0%,
            rgba(255, 255, 255, 0.08) 50%,
            rgba(255, 255, 255, 0.04) 100%) !important;
    backdrop-filter: blur(30px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(30px) saturate(180%) !important;

    /* 2. Premium Borders (Top highlight for depth) */
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-top: 2px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 18px !important;

    /* 3. Typography */
    padding: 14px 36px !important;
    color: #fff !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 900 !important;
    font-size: 1rem !important;
    text-transform: uppercase !important;
    letter-spacing: 2.5px !important;

    /* 4. Multi-layered Depth Shadows */
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.5),
        inset 0 1px 1px rgba(255, 255, 255, 0.3),
        inset 0 -1px 2px rgba(0, 0, 0, 0.2) !important;

    /* 5. Dynamics */
    cursor: pointer !important;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    min-width: 160px !important;
    position: relative;
    overflow: hidden;
}

/* Glossy Pulse Reflection overlay on hover */
.btn-apple-home::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -150%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 0%,
            rgba(255, 255, 255, 0.05) 45%,
            rgba(255, 255, 255, 0.2) 50%,
            rgba(255, 255, 255, 0.05) 55%,
            transparent 100%);
    transform: rotate(45deg);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0;
    pointer-events: none;
}

.btn-apple-home:hover {
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.3) 0%,
            rgba(255, 255, 255, 0.15) 100%) !important;
    transform: translateY(-6px) scale(1.05) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(255, 255, 255, 0.2),
        inset 0 1px 3px rgba(255, 255, 255, 0.5) !important;
}

.btn-apple-home:hover::after {
    left: 100%;
    opacity: 1;
}

.btn-apple-home:active {
    transform: scale(0.92) translateY(0) !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4) !important;
    transition: all 0.1s !important;
}

/* Light theme variation */
.light-mode-home .btn-apple-home {
    background: linear-gradient(180deg, #ffffff 0%, #f0f0f5 100%) !important;
    border-color: #d1d1d6 !important;
    border-top-color: #fff !important;
    color: #000 !important;
    box-shadow: 0 8px 20px rgba(0, 0, 15, 0.08), inset 0 1px 0 #fff !important;
}

/* =========================================================
 * RAPPI 2026 PREMIUM SELECTS
 * ========================================================= */

.rappi-centered-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 20px;
    margin-bottom: 20px;
}

.rappi-select-trigger {
    width: 100%;
    max-width: 320px;
    height: 64px;
    background: #fff !important;
    border: 3px solid #f0f0f0 !important;
    border-radius: 20px !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px !important;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
}

.rappi-select-trigger:hover {
    border-color: var(--cr-red, #D71920) !important;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 40px rgba(215, 25, 32, 0.15) !important;
}

.rappi-select-trigger.active {
    border-color: var(--cr-red, #D71920) !important;
    background: #fff !important;
}

.rappi-select-trigger .rst-label {
    display: flex;
    flex-direction: column;
}

.rappi-select-trigger .rst-title {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #888;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.rappi-select-trigger .rst-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #121212;
}

.rappi-select-trigger .rst-icon {
    font-size: 1.5rem;
    color: var(--cr-red, #D71920);
    transition: transform 0.4s ease;
}

.rappi-select-trigger.active .rst-icon {
    transform: rotate(180deg);
}

/* Premium Selection Modal (Glassmorphism) */
.flavor-modal-overlay.rappi-2026 {
    background: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.flavor-modal-card.rappi-2026 {
    border-radius: 40px !important;
    border: 1px solid rgba(255,255,255,0.4) !important;
    box-shadow: 0 40px 100px rgba(0,0,0,0.15) !important;
}

.fm-item.rappi-style {
    display: flex;
    align-items: center;
    padding: 16px !important;
    border-radius: 20px !important;
    margin-bottom: 8px !important;
    border: 2px solid transparent !important;
    transition: all 0.3s ease !important;
    cursor: pointer;
    background: rgba(255,255,255,0.5);
}

.fm-item.rappi-style:hover {
    background: #fff !important;
    transform: scale(1.02) !important;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05) !important;
}

.fm-item.rappi-style.active {
    border-color: var(--cr-red, #D71920) !important;
    background: #fff !important;
    box-shadow: 0 10px 30px rgba(215, 25, 32, 0.1) !important;
}

.fm-item.rappi-style .fm-thumb {
    width: 60px !important;
    height: 60px !important;
    border-radius: 16px !important;
    margin-right: 16px !important;
}

.fm-item.rappi-style .fm-name {
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    color: #121212 !important;
}

.fm-item.rappi-style .fm-desc {
    font-size: 0.85rem !important;
    color: #666 !important;
}

.fm-header.rappi-header {
    padding: 30px 24px 20px !important;
}

.fm-header.rappi-header h3 {
    font-size: 1.8rem !important;
    font-weight: 900 !important;
    letter-spacing: -1px;
}

/* Animations */
@keyframes rappiPopIn {
    from { opacity: 0; transform: scale(0.9) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.rappi-pop-in {
    animation: rappiPopIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}