#carrito { background: var(--black); }
.carrito-bg-img {
    background: url('../img/carritologo-opt.webp') center/cover no-repeat;
    background-image: image-set(url('../img/carritologo-opt.avif') type('image/avif'), url('../img/carritologo-opt.webp') type('image/webp'));
}
@media (max-width: 48rem) {
    .carrito-bg-img {
        background-image: url('../img/carritologo-mobile.webp');
        background-image: image-set(url('../img/carritologo-mobile.avif') type('image/avif'), url('../img/carritologo-mobile.webp') type('image/webp'));
    }
}
.cart-list {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin-top: clamp(2rem, 4vh, 3rem);
    max-width: 44rem;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}
.cart-item {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.85rem 1rem;
    border-radius: max(1.2rem, var(--curve-r));
    background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
    border: 1px solid rgba(255,255,255,0.22);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 0.6rem 1.6rem rgba(0,0,0,0.20), 0 1.8rem 3.6rem rgba(0,0,0,0.16);
    transition: transform 0.3s var(--ease-out-expo), border-color 0.3s;
}
.cart-item:hover {
    transform: translateY(-0.2rem);
    border-color: rgba(230,0,0,0.35);
}
.cart-item-emoji { font-size: 1.4rem; line-height: 1; }
.cart-item-img {
    width: 2.8rem;
    height: 2.8rem;
    flex: none;
    border-radius: 0.6rem;
    object-fit: cover;
    border: 1px solid rgba(255,255,255,0.18);
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name {
    font-family: var(--font-main);
    font-size: clamp(0.7rem, 0.864vw, 0.85rem);
    font-weight: 600;
    letter-spacing: 0.03em;
    line-height: 1.3;
}
.cart-item-qty {
    font-family: var(--font-main);
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-top: 0.15rem;
}
.cart-item-price {
    font-family: var(--font-main);
    font-size: clamp(0.9rem, 1.248vw, 1.1rem);
    font-weight: 700;
    color: var(--red-bright);
    white-space: nowrap;
}
.cart-item-remove {
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
    padding: 0.25rem;
    transition: color 0.2s;
}
.cart-item-remove:hover { color: var(--red); }
.cart-empty-state {
    max-width: 44rem;
    margin: clamp(2rem, 4vh, 3rem) auto 0;
    text-align: center;
    font-size: clamp(0.8rem, 0.96vw, 0.9rem);
    color: rgba(255,255,255,0.6);
}
.cart-empty-state a { color: var(--red-bright); text-decoration: none; }
.cart-empty-state a:hover { text-decoration: underline; }
.ship-dev {
    font-size: 0.55rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--red-bright);
    margin-bottom: 0.7rem;
}

.cart-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    max-width: 44rem;
    margin: 1.2rem auto 0;
    padding: 1rem 1.1rem;
    border-radius: max(1.2rem, var(--curve-r));
    background: linear-gradient(145deg, rgba(255,255,255,0.055), rgba(255,255,255,0.02));
    border: 1px solid rgba(255,255,255,0.25);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), 0 0.6rem 1.6rem rgba(0,0,0,0.20), 0 1.8rem 3.6rem rgba(0,0,0,0.16);
}
.cart-summary-label {
    font-family: var(--font-main);
    font-size: 0.6rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
}
.cart-summary-total {
    font-family: var(--font-main);
    font-size: clamp(1.3rem, 1.92vw, 1.7rem);
    font-weight: 800;
    color: var(--red-bright);
    line-height: 1.2;
}
.ship-panel {
    max-width: 44rem;
    margin: 1.2rem auto 0;
    padding: clamp(1rem, 2.5vw, 1.4rem);
    border-radius: max(1.2rem, var(--curve-r));
    background: linear-gradient(145deg, rgba(255,255,255,0.045), rgba(255,255,255,0.012));
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 0.6rem 1.6rem rgba(0,0,0,0.20), 0 1.8rem 3.6rem rgba(0,0,0,0.16);
}
.ship-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--white);
}
.ship-title {
    font-family: var(--font-main);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
}
.ship-chevron {
    width: 1rem;
    height: 1rem;
    flex: none;
    color: rgba(255,255,255,0.6);
    transition: transform 0.4s var(--ease-out-expo), color 0.3s;
}
.ship-toggle:hover .ship-chevron { color: var(--red-bright); }
.ship-panel.open .ship-chevron { transform: rotate(180deg); }
.ship-body {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.6s var(--ease-out-expo), opacity 0.35s ease;
}
.ship-panel.open .ship-body {
    max-height: 60rem;
    opacity: 1;
}
.ship-sub {
    font-family: var(--font-main);
    font-size: 0.55rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    margin-top: 1.1rem;
}
.ship-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
    margin-top: 0.5rem;
}
.ship-method {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    padding: 0.6rem 0.75rem;
    border-radius: 0.8rem;
    background: linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0.04));
    border: 1px solid rgba(255,255,255,0.16);
    cursor: pointer;
    transition: border-color 0.3s, background 0.3s;
}
.ship-method:hover { border-color: rgba(230,0,0,0.35); }
.ship-method.selected {
    border-color: rgba(230,0,0,0.6);
    background: linear-gradient(145deg, rgba(230,0,0,0.16), rgba(230,0,0,0.05));
}
.ship-method-name {
    font-family: var(--font-main);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}
.ship-method-desc {
    font-family: var(--font-main);
    font-size: 0.55rem;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.5);
    margin-top: 0.1rem;
}
.ship-radio {
    width: 0.9rem;
    height: 0.9rem;
    flex: none;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.35);
    position: relative;
    transition: border-color 0.3s;
}
.ship-method.selected .ship-radio { border-color: var(--red-bright); }
.ship-method.selected .ship-radio::after {
    content: '';
    position: absolute;
    inset: 0.16rem;
    border-radius: 50%;
    background: var(--red-bright);
}
.ship-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
    margin-top: 1.1rem;
}
.ship-field { display: flex; flex-direction: column; gap: 0.3rem; }
.ship-field--full { grid-column: 1 / -1; }
.ship-label {
    font-family: var(--font-main);
    font-size: 0.55rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
}
.ship-input {
    width: 100%;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 0.6rem;
    padding: 0.55rem 0.7rem;
    color: var(--white);
    font-family: var(--font-main);
    font-size: 0.75rem;
    letter-spacing: 0.02em;
    color-scheme: dark;
    outline: none;
    transition: border-color 0.25s, background 0.25s;
}
.ship-input::placeholder { color: rgba(255,255,255,0.35); }
.ship-input:focus {
    border-color: rgba(230,0,0,0.55);
    background: rgba(0,0,0,0.45);
}
select.ship-input {
    appearance: none;
    -webkit-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, rgba(255,255,255,0.5) 50%), linear-gradient(135deg, rgba(255,255,255,0.5) 50%, transparent 50%);
    background-position: calc(100% - 1.05rem) 50%, calc(100% - 0.75rem) 50%;
    background-size: 0.3rem 0.3rem;
    background-repeat: no-repeat;
}
.ship-note {
    font-family: var(--font-main);
    font-size: 0.55rem;
    line-height: 1.6;
    letter-spacing: 0.03em;
    color: rgba(255,255,255,0.45);
    margin-top: 1rem;
}
.btn-premium:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}
.btn-premium:disabled:hover {
    transform: none;
    box-shadow: none;
    letter-spacing: 0.2em;
}
.btn-premium:disabled:hover::before { opacity: 0; }
@media (max-width: 40rem) {
    .cart-summary { flex-direction: column; align-items: stretch; }
    .cart-summary .btn-premium { width: 100%; }
    .ship-grid { grid-template-columns: 1fr; }
    .ship-methods { grid-template-columns: 1fr; }
}
