/* ChapResto order/cart flow - safe additive CSS */

.rs-cart-nav {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    min-height: 42px;
    padding: .72rem 1rem;
    border-radius: 999px;
    color: var(--cr-ink, #211b1b);
    text-decoration: none;
    font-weight: 900;
    transition: background .18s ease, transform .18s ease;
}

.rs-cart-nav:hover {
    background: rgba(33, 27, 27, .06);
    transform: translateY(-1px);
}

.rs-cart-nav em,
.rs-mobile-tabs a em {
    position: absolute;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    border-radius: 999px;
    background: #de5b1d;
    color: #fff;
    font-size: .68rem;
    font-style: normal;
    font-weight: 900;
    display: grid;
    place-items: center;
}

.rs-cart-nav em {
    top: 0;
    right: .18rem;
}

.rs-mobile-tabs a {
    position: relative;
    border: 0;
    background: transparent;
    color: inherit;
    text-decoration: none;
    display: grid;
    place-items: center;
    gap: .2rem;
    font-weight: 900;
    font-size: .72rem;
}

.rs-mobile-tabs a em {
    top: 2px;
    right: 18%;
}

.cr-order-flow {
    align-items: flex-start;
}

.cr-order-panel {
    position: sticky;
    top: 110px;
}

.cr-order-client-box {
    display: grid;
    gap: .8rem;
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 22px;
    background: #fff8f1;
    border: 1px solid rgba(118, 64, 24, .12);
}

.cr-order-client-box h4 {
    margin: 0;
    font-size: 1.05rem;
}

.cr-order-client-box p {
    margin: -.25rem 0 .25rem;
    color: #756b64;
    font-size: .9rem;
    line-height: 1.45;
}

.cr-order-client-box label {
    display: grid;
    gap: .35rem;
    font-weight: 900;
    color: #251f1d;
}

.cr-order-client-box input,
.cr-order-client-box textarea {
    width: 100%;
    border: 1px solid rgba(118, 64, 24, .18);
    border-radius: 16px;
    padding: .85rem .95rem;
    background: #fff;
    font: inherit;
    outline: none;
}

.cr-order-client-box textarea {
    min-height: 88px;
    resize: vertical;
}

.cr-order-client-box input:focus,
.cr-order-client-box textarea:focus {
    border-color: #de5b1d;
    box-shadow: 0 0 0 4px rgba(222, 91, 29, .11);
}

.cr-order-warning {
    padding: .85rem 1rem;
    border-radius: 16px;
    background: #fff2e8;
    color: #9d3b11;
    font-weight: 800;
    margin-bottom: .75rem;
}

.cr-btn-whatsapp {
    background: #1fa855;
    color: #fff;
    border: 0;
}

.cr-btn-whatsapp:disabled {
    opacity: .48;
    cursor: not-allowed;
}

@media (max-width: 820px) {
    .rs-site-nav .rs-cart-nav {
        display: none;
    }

    .cr-order-flow {
        display: grid;
        grid-template-columns: 1fr;
    }

    .cr-order-panel {
        position: static;
    }
}

@media (max-width: 520px) {
    .rs-mobile-tabs {
        grid-template-columns: repeat(6, 1fr);
    }

    .rs-mobile-tabs button,
    .rs-mobile-tabs a {
        font-size: .62rem;
    }
}
