/* Online ordering: shared header, compact menu banner, mobile action bar. */
.soprano-pizza-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    margin-bottom: 4px;
}

.soprano-pizza-heading > b {
    min-width: 0;
    overflow-wrap: anywhere;
}

a.soprano-pizza-order {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    gap: 5px;
    min-height: 34px;
    margin-left: auto;
    padding: 7px 8px;
    border: 1px solid #e4a535;
    border-radius: 4px;
    background: #e4a535;
    color: #241a0a;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
    text-transform: none;
    text-decoration: none;
    white-space: nowrap;
}

/* Keep a 44px touch target around the compact visual button. */
.soprano-pizza-order::after {
    content: "";
    position: absolute;
    inset: -5px 0;
}

.soprano-pizza-order svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

a.soprano-pizza-order:hover {
    background: #f1b64a;
    color: #241a0a;
}

.soprano-pizza-order:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 2px;
}

.pizza-menu-row .soprano-pizza-heading > b {
    font-size: 14px;
    line-height: 1.3;
}

.pizza-menu-row .glyphicon-leaf {
    position: static;
    margin-right: 4px;
}

.soprano-order-slot {
    display: none;
}

#topbar .soprano-order-tile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    min-height: 92px;
    height: 100%;
    padding: 14px 24px;
    background: #1b1917;
    color: #efa916;
    border-left: 1px solid rgba(239, 169, 22, .38);
    border-bottom: 3px solid #efa916;
    font-size: 17px;
    line-height: 1.15;
    text-decoration: none;
}

.soprano-order-copy {
    color: #fff7e8;
    flex-shrink: 0;
}

.soprano-order-tile strong {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 1px;
    color: #efa916;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: .2px;
}

.soprano-order-arrow {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.soprano-order-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 59px;
    height: 59px;
    transform: rotate(16deg);
}

.soprano-order-pizza {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
}

.soprano-order-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 0 0 20px;
    padding: 17px 20px;
    background: #1d1b19;
    border: 1px solid #514535;
    border-left: 4px solid #e4a535;
    border-radius: 6px;
}

.soprano-order-eyebrow {
    display: block;
    color: #e4a535;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}

.soprano-order-banner h2 {
    margin: 6px 0 0;
    color: #e4a535;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.6px;
}

a.soprano-order-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    flex-shrink: 0;
    min-height: 49px;
    padding: 14px 18px;
    border-radius: 4px;
    background: #e4a535;
    color: #241a0a;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
}

.soprano-order-button:hover {
    background: #f1b64a;
    color: #241a0a;
}

#topbar .soprano-order-tile:hover {
    background: #26211a;
    color: #efa916;
}

.soprano-order-button:focus-visible,
.soprano-mobile-call:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

#topbar .soprano-order-tile:focus-visible {
    outline: 3px solid #fff;
    outline-offset: -5px;
}

.soprano-mobile-orders {
    display: none;
}

@media (min-width: 880px) {
    #topbar {
        display: flex;
        align-items: stretch;
    }

    #topbar > .soprano-contact-info {
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
        padding-right: 0;
    }

    .soprano-order-slot {
        display: block;
        flex: 0 0 24%;
        min-width: 224px;
    }
}

@media (min-width: 880px) and (max-width: 1399px) {
    #topbar .soprano-order-tile {
        padding-left: 12px;
        padding-right: 12px;
        gap: 10px;
    }

    .soprano-order-tile strong {
        font-size: 24px;
        gap: 8px;
    }

    .soprano-order-arrow {
        width: 16px;
        height: 16px;
    }
}

@media (min-width: 880px) and (max-width: 1199px) {
    #topbar > .soprano-contact-info {
        display: flex;
        padding-left: 8px;
    }

    #topbar .soprano-contact-info .phone {
        width: 44%;
        padding-left: 0;
        padding-right: 8px;
        background: none;
    }

    #topbar .soprano-contact-info .watch {
        width: 56%;
        padding-left: 0;
        padding-right: 8px;
        background: none;
    }

    #topbar #phone-box {
        font-size: 22px;
    }

    #topbar #phone-box span {
        font-size: 12px;
    }

    #topbar .watch h1 {
        font-size: 17px;
        margin: 8px 0 4px;
    }

    #topbar .watch p {
        font-size: 12px;
        margin: 0;
    }
}

@media (max-width: 879px) {
    body {
        padding-bottom: calc(85px + env(safe-area-inset-bottom, 0px)) !important;
    }

    #topbar #phone-box {
        display: none;
    }

    .soprano-mobile-orders {
        position: fixed;
        z-index: 1000;
        bottom: 0;
        left: 0;
        right: 0;
        display: flex;
        align-items: center;
        gap: 13px;
        height: auto;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
        background: #1d1b19;
        border-top: 1px solid #514535;
        box-shadow: 0 -4px 16px rgba(0, 0, 0, .2);
    }

    .soprano-mobile-orders .soprano-order-button {
        flex: 1 1 auto;
        min-width: 0;
    }

    a.soprano-mobile-call {
        display: flex;
        flex: 0 0 65px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        min-height: 49px;
        color: #d0c5b5;
        font-size: 12px;
        text-decoration: none;
    }

    .soprano-mobile-call .glyphicon {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .soprano-order-banner {
        flex-direction: column;
        align-items: stretch;
        gap: 13px;
        padding: 15px 16px;
        margin-bottom: 16px;
    }

    .soprano-order-banner h2 {
        font-size: 24px;
    }

    .soprano-home-orders {
        margin: 0;
        padding: 18px 20px;
        border-right: 0;
        border-left: 0;
        border-radius: 0;
    }
}
