.cart-float {
    position: fixed;
    right: 18px;
    bottom: 82px;
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 50%;
    background: #dc2626;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1.25rem;
    z-index: 40;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0,0,0,.35);
}
.cart-float .cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    background: #fff;
    color: #dc2626;
    font-size: 11px;
    font-weight: 800;
    display: grid;
    place-items: center;
}
.cart-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 200000;
}
.cart-overlay.active { display: block; }
.cart-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    bottom: 0;
    width: min(400px, 100vw);
    background: #0a192f;
    color: #fff;
    z-index: 200001;
    display: flex;
    flex-direction: column;
    border-left: 1px solid rgba(255,255,255,.1);
    transition: right .25s ease;
    overflow: hidden;
}
.cart-drawer.active { right: 0; }
.cart-drawer-head {
    flex: 0 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.1rem;
    border-bottom: 1px solid rgba(255,255,255,.1);
    background: #0a192f;
}
.cart-drawer-head button {
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}
.cart-items {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0.8rem 1rem 0.4rem;
}
.cart-empty { color: rgba(255,255,255,.65); padding: 2rem 0; text-align: center; }
.cart-line {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: 0.7rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.cart-line img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 6px;
    background: rgba(255,255,255,.05);
}
.cart-line strong { display: block; font-size: 13px; line-height: 1.3; }
.cart-line .meta { color: #fca5a5; font-size: 12px; margin-top: 4px; }
.cart-qty {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
}
.cart-qty button {
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 4px;
    background: #dc2626;
    color: #fff;
    cursor: pointer;
}
.cart-line .remove {
    background: transparent;
    border: 0;
    color: rgba(255,255,255,.55);
    cursor: pointer;
}
.cart-foot {
    flex: 0 0 auto;
    padding: 12px 16px calc(16px + env(safe-area-inset-bottom, 18px));
    border-top: 1px solid rgba(255,255,255,.15);
    background: #07101f;
}
.cart-foot .total {
    display: flex;
    justify-content: space-between;
    font-weight: 800;
    margin-bottom: 10px;
}
#cartCheckout,
.cart-foot .cart-wa {
    display: flex !important;
    width: 100%;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #25d366 !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 50px !important;
    padding: 0.8rem 1rem !important;
    font-weight: 800 !important;
    font-size: 1rem !important;
    text-decoration: none !important;
    box-shadow: none !important;
}
.tile-book {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    padding: 0 8px;
    border-radius: 14px;
    background: #dc2626;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}
.tile-icon.cart { border: 0; cursor: pointer; }
.detail .card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 1rem 0;
    max-width: 420px;
}
.detail .card-actions .btn { min-width: 140px; }
html.cart-open,
body.cart-open {
    overflow: hidden !important;
}
body.cart-open .whatsapp-float,
body.cart-open .back-to-top,
body.cart-open .cart-float {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}
@media (max-width: 640px) {
    .cart-drawer { width: 100%; }
}
