/* ============================================
   CART PAGE
   ============================================ */

.center_right > .center_right_inner {
    margin: 0 auto;
    background: #f4f5f7;
    padding: 20px;
    border-radius: 0;
    box-shadow: none;
}

.cart_container_main {
    max-width: 1140px;
    margin: 0 auto;
    padding: 22px 16px 40px;
}

/* ---- Header ---- */

.cart_header {
    margin-bottom: 18px;
}

.cart_back_link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    margin-bottom: 10px;
    padding: 6px 12px 6px 8px;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}

.cart_back_link:hover {
    color: #ff6315;
    background: rgba(255, 99, 21, 0.06);
}

.cart_header h1 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1a1a1a;
    font-family: 'Boldy', sans-serif;
    font-size: 26px;
    margin: 0;
    text-shadow: none;
}

.cart_count {
    background: #ff6315;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    font-weight: 700;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ---- Two-column layout ---- */

.cart_layout {
    display: grid;
    grid-template-columns: 1fr 336px;
    gap: 0 24px;
    align-items: start;
}

.cart_items_col {
    min-width: 0;
}

/* ---- Items list ---- */

.cart_items_list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

/* ---- Cart Item ---- */

.cart_item {
    display: grid;
    grid-template-areas: "img info controls remove";
    grid-template-columns: 76px 1fr auto auto;
    align-items: center;
    gap: 14px;
    background: #fff;
    border-radius: 12px;
    padding: 12px 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    border: 1px solid #ebebeb;
    transition: box-shadow 0.2s, border-color 0.2s, opacity 0.2s;
}

.cart_item:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.09);
    border-color: #ddd;
}

.cart_item.is-saved {
    border-style: dashed;
    border-color: #cfd8e3;
    box-shadow: none;
    opacity: 0.92;
}

.cart_item_image {
    grid-area: img;
    width: 76px;
    height: 76px;
    background-size: cover;
    background-position: center;
    background-color: #f0f0f0;
    border-radius: 8px;
    display: block;
    flex-shrink: 0;
}

.cart_item_info {
    grid-area: info;
    min-width: 0;
}

.cart_item_name {
    display: block;
    color: #1a1a1a;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.2s;
}

.cart_item_name:hover {
    color: #ff6315;
}

.cart_item_state_badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 999px;
    background: #eef3fb;
    color: #3f5f84;
    font-family: 'Roboto', sans-serif;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 6px;
}

.cart_item_state_badge[hidden] {
    display: none;
}

.cart_item_desc {
    color: #999;
    font-size: 12px;
    font-family: 'Roboto', sans-serif;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cart_item_variants {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 3px 6px;
    margin-top: 2px;
}

.variant_label {
    font-size: 11px;
    font-family: 'Roboto', sans-serif;
    color: #aaa;
    font-weight: 500;
}

.variant_value {
    font-size: 11px;
    font-family: 'Roboto', sans-serif;
    color: #666;
}

.variant_color_swatch {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.12);
    display: inline-block;
    vertical-align: middle;
}

.cart_item_actions {
    margin-top: 6px;
}

.cart_action_link {
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    color: #2c6ea5;
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cart_action_link:hover {
    color: #1d4f77;
}

.cart_item.is-saved .cart_action_link {
    color: #1f7a59;
}

.cart_item.is-saved .cart_action_link:hover {
    color: #14543d;
}

/* ---- Quantity + Price controls ---- */

.cart_item_controls {
    grid-area: controls;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.quantity_stepper {
    display: flex;
    align-items: center;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: #fafafa;
}

.qty_btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px 14px;
    font-size: 18px;
    color: #666;
    line-height: 1;
    transition: background 0.15s, color 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    min-width: 44px;
    min-height: 44px;
}

.qty_btn:hover {
    background: #ff6315;
    color: #fff;
}

.cantidad_a_comprar {
    width: 40px;
    padding: 8px 2px;
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    border: none;
    border-left: 1.5px solid #e0e0e0;
    border-right: 1.5px solid #e0e0e0;
    background: transparent;
    text-align: center;
    color: #1a1a1a;
    -moz-appearance: textfield;
}

.cantidad_a_comprar::-webkit-inner-spin-button,
.cantidad_a_comprar::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cantidad_a_comprar:focus {
    outline: 2px solid #ff6315;
    outline-offset: -2px;
    background: #fff8f5;
}

.cart_item_price {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #ff6315;
    white-space: nowrap;
    transition: transform 0.2s ease;
}

.cart_item_price.is-updating {
    transform: scale(1.08);
}

/* ---- Remove button ---- */

.quitar_elemento-carrito {
    grid-area: remove;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #aaa;
    padding: 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s, background 0.2s;
    align-self: flex-start;
    min-width: 44px;
    min-height: 44px;
}

.quitar_elemento-carrito:hover {
    color: #e53e3e;
    background: #fff0f0;
}

.quitar_elemento-carrito:focus-visible {
    outline: 2px solid #e53e3e;
    outline-offset: -2px;
    color: #e53e3e;
}

/* ---- Saved section ---- */

.cart_saved_section {
    margin-bottom: 12px;
}

.cart_saved_header {
    background: #f8fbff;
    border: 1px solid #e4edf7;
    border-radius: 10px;
    padding: 10px 14px;
    margin-bottom: 8px;
}

.cart_saved_header h2 {
    margin: 0 0 4px;
    font-size: 15px;
    font-family: 'Boldy', sans-serif;
    color: #34495e;
}

.cart_saved_header p {
    margin: 0;
    font-size: 12px;
    color: #607489;
    font-family: 'Roboto', sans-serif;
}

/* ---- Summary section ---- */

.cart_summary {
    background: #fff;
    border-radius: 16px;
    padding: 20px 22px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    border: 1px solid #ebebeb;
    position: sticky;
    top: 20px;
}

.cart_aprox_note {
    font-size: 11px;
    color: #bbb;
    font-family: 'Roboto', sans-serif;
    margin: 0 0 8px;
}

.cart_select_tools {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}

.cart_ready_label {
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    color: #555;
    font-weight: 600;
}

.cart_selected_count {
    font-family: 'Roboto', sans-serif;
    font-size: 11px;
    color: #888;
}

.cart_selection_error {
    margin: 10px 0 0;
    color: #c0392b;
    font-size: 12px;
    font-family: 'Roboto', sans-serif;
}

.cart_total_row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.cart_total_label {
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    color: #999;
    font-weight: 500;
}

.total_carrito {
    font-family: 'Boldy', sans-serif;
    font-size: 30px;
    color: #1a1a1a;
}

.boton_principal {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff6315 0%, #ff3a08 100%);
    color: #fff;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(255, 99, 21, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
    letter-spacing: 0.2px;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

.boton_principal:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(255, 99, 21, 0.45);
}

.boton_principal .btn-arrow,
.cart_sticky_btn .btn-arrow {
    margin-left: 10px;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.boton_principal:hover .btn-arrow,
.cart_sticky_btn:hover .btn-arrow {
    transform: translateX(4px);
}

.boton_principal:active {
    transform: translateY(0);
}

.boton_principal:disabled,
.boton_principal.is-loading {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 8px rgba(255, 99, 21, 0.2);
}

.boton_principal.is-loading {
    pointer-events: none;
    position: relative;
    color: transparent;
}

.boton_principal.is-loading::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: btn-spin 0.6s linear infinite;
}

@keyframes btn-spin {
    to { transform: rotate(360deg); }
}

/* ---- Empty cart ---- */

.cart_empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 36px 20px 28px;
    color: #555;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 14px;
    max-width: 540px;
    margin: 0 auto;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.cart_empty_icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #fff4ee;
    color: #ff6315;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.cart_empty_icon svg {
    width: 36px;
    height: 36px;
    display: block;
}

.cart_empty h2 {
    font-family: 'Boldy', sans-serif;
    font-size: 22px;
    color: #1f1f1f;
    margin: 0 0 6px;
    line-height: 1.25;
}

.cart_empty p {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: #777;
    margin: 0 0 22px;
    line-height: 1.4;
}

.cart_empty_actions {
    width: 100%;
    max-width: 360px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
}

.cart_empty_btn {
    width: auto !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 12px 28px !important;
    font-size: 15px !important;
    align-self: center;
}

.cart_empty_search_form {
    display: flex;
    border: 1.5px solid #e0e0e0;
    border-radius: 100px;
    overflow: hidden;
    background: #fff;
    transition: border-color 0.15s;
}

.cart_empty_search_form:focus-within {
    border-color: #ff6315;
}

.cart_empty_search_form input {
    flex: 1;
    border: none;
    outline: none;
    padding: 10px 16px;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: #333;
    background: transparent;
    min-width: 0;
}

.cart_empty_search_form button {
    background: #ff6315;
    border: none;
    padding: 0 18px;
    cursor: pointer;
    color: #fff;
    display: flex;
    align-items: center;
    transition: background 0.15s;
}

.cart_empty_search_form button:hover {
    background: #e54d0c;
}

/* ---- Empty cart: enriched sections ---- */

.cart_empty_page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px 60px;
}

.cart_empty_page .cart_empty {
    padding-bottom: 32px;
}

.cart_empty_walist {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #fff;
    border-radius: 14px;
    padding: 18px 22px;
    margin: 8px auto 36px;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(18, 140, 126, 0.18);
    transition: transform 0.15s, box-shadow 0.15s;
    max-width: 720px;
}

.cart_empty_walist:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(18, 140, 126, 0.26);
}

.cart_empty_walist__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.cart_empty_walist__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-family: 'Roboto', sans-serif;
    line-height: 1.35;
}

.cart_empty_walist__body strong {
    font-family: 'Boldy', sans-serif;
    font-size: 16px;
    font-weight: 700;
}

.cart_empty_walist__body span {
    font-size: 13.5px;
    opacity: 0.95;
}

.cart_empty_walist__cta {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.22);
    padding: 9px 14px;
    border-radius: 100px;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.cart_empty_section {
    margin-top: 40px;
}

.cart_empty_section_head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #ececec;
}

.cart_empty_section_head h3 {
    font-family: 'Boldy', sans-serif;
    font-size: 19px;
    color: #222;
    margin: 0;
}

.cart_empty_section_link {
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    color: #ff6315;
    text-decoration: none;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.cart_empty_section_link:hover {
    text-decoration: underline;
}

.cart_empty_rubros {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}

.cart_empty_rubro {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    background: #ddd;
}

.cart_empty_rubro img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.25s;
}

.cart_empty_rubro:hover img {
    transform: scale(1.04);
}

.cart_empty_rubro::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.18) 50%, rgba(0,0,0,0) 80%);
}

.cart_empty_rubro__name {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 1;
    font-family: 'Boldy', sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.cart_empty_pgrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 14px;
}

.cart_empty_pcard {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.cart_empty_pcard:hover {
    transform: translateY(-2px);
    border-color: #ff6315;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.cart_empty_pcard__img {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f7f7f7;
}

.cart_empty_pcard__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 8px;
}

.cart_empty_pcard__body {
    padding: 10px 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cart_empty_pcard__name {
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    color: #333;
    margin: 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 36px;
}

.cart_empty_pcard__prices {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
}

.cart_empty_pcard__from {
    font-family: 'Roboto', sans-serif;
    font-size: 11px;
    color: #888;
}

.cart_empty_pcard__compare {
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    color: #aaa;
    text-decoration: line-through;
}

.cart_empty_pcard__price {
    font-family: 'Boldy', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #222;
}

@media (max-width: 600px) {
    .cart_empty_walist {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding: 16px;
    }
    .cart_empty_section_head h3 {
        font-size: 17px;
    }
    .cart_empty_rubros {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
        gap: 8px;
    }
    .cart_empty_rubro__name {
        font-size: 12.5px;
    }
    .cart_empty_pgrid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

/* ---- Legacy selectors (kept for compatibility) ---- */

span.nombre_atributo {
    font-family: 'Boldy', sans-serif;
    margin-left: 8px;
    color: #868686;
    font-size: 13px;
}

span.variante_color {
    width: 18px;
    height: 18px;
    display: inline-block;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.12);
    vertical-align: middle;
}

/* ---- Undo toast (mobile remove) ---- */

.cart-undo-toast {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #1e293b;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 8px;
    animation: toast-in 0.3s ease;
}

.cart-undo-btn {
    background: none;
    border: 1px solid rgba(255,255,255,0.3);
    color: #ff9d6c;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s;
}

.cart-undo-btn:hover {
    background: rgba(255,255,255,0.1);
}

@keyframes toast-in {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---- Sticky mobile CTA (hidden on desktop) ---- */

.cart_sticky_cta {
    display: none;
}

/* ============================================
   MOBILE  (≤ 860px: drop to single column)
   ============================================ */

@media only screen and (max-width: 860px) {
    .cart_layout {
        display: block;
    }

    .cart_summary {
        position: static;
        margin-top: 12px;
    }
}

@media only screen and (max-width: 650px) {

    .center_right > .center_right_inner {
        padding: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background: #f4f5f7 !important;
    }

    div.center_right {
        padding-left: 0;
        padding-right: 0;
    }

    .cart_container_main {
        padding: 20px 0 48px;
    }

    .cart_header {
        padding: 0 16px;
        margin-bottom: 18px;
    }

    .cart_header h1 {
        font-size: 24px;
    }

    .cart_items_list {
        gap: 8px;
    }

    .cart_item {
        grid-template-areas:
            "img info remove"
            "img controls controls";
        grid-template-columns: 80px 1fr auto;
        grid-template-rows: auto auto;
        padding: 14px 14px;
        gap: 10px 12px;
        border-radius: 0;
        box-shadow: none;
        border-left: none;
        border-right: none;
        border-top: none;
        border-bottom: 1px solid #ebebeb;
        background: #fff;
    }

    .cart_item:first-child {
        border-top: 1px solid #ebebeb;
    }

    .cart_item_image {
        width: 80px;
        height: 80px;
        border-radius: 8px;
        align-self: center;
    }

    .cart_item_info {
        align-self: center;
    }

    .cart_item_name {
        font-size: 14px;
        margin-bottom: 4px;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .cart_item_state_badge {
        margin-bottom: 6px;
    }

    .cart_item_controls {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 4px;
    }

    .cart_item_price {
        font-size: 15px;
    }

    .cart_summary {
        margin: 8px 16px 0;
        padding: 20px 18px;
        border-radius: 14px;
    }

    /* Sticky checkout button on mobile */
    .cart_container_main {
        padding-bottom: 100px !important;
    }
    .cart_sticky_cta {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #fff;
        border-top: 2px solid #ff6315;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        z-index: 200;
        box-shadow: 0 -4px 16px rgba(0,0,0,0.1);
    }

    .cart_sticky_total {
        font-family: 'Boldy', sans-serif;
        font-size: 20px;
        color: #1a1a1a;
    }

    .cart_sticky_btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, #ff6315 0%, #ff3a08 100%);
        color: #fff;
        text-decoration: none;
        font-family: 'Roboto', sans-serif;
        font-size: 15px;
        font-weight: 600;
        padding: 12px 24px;
        border-radius: 50px;
        border: none;
        cursor: pointer;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .cart_select_tools {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .total_carrito {
        font-size: 26px;
    }

    .boton_principal {
        font-size: 16px;
        padding: 14px 24px;
    }

    .cart_saved_section {
        margin-left: 16px;
        margin-right: 16px;
    }

    .cart_empty {
        padding: 28px 18px 22px;
        border-radius: 12px;
    }
    .cart_empty_icon {
        width: 60px;
        height: 60px;
        margin-bottom: 12px;
    }
    .cart_empty_icon svg {
        width: 30px;
        height: 30px;
    }
    .cart_empty h2 {
        font-size: 19px;
    }
}

/* ── Cart asesoramiento CTA (populated cart) ───────────────────────── */

.cart_advice {
    margin-top: 14px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-left: 3px solid #f37021;
    border-radius: 10px;
    font-family: 'Roboto', sans-serif;
}

.cart_advice[hidden] { display: none !important; }

.cart_advice__head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.cart_advice__icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(243, 112, 33, 0.12);
    color: #f37021;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart_advice__copy {
    flex: 1;
    line-height: 1.35;
}

.cart_advice__copy strong {
    display: block;
    font-family: 'Boldy', 'Roboto', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #111;
    margin-bottom: 2px;
}

.cart_advice__copy span {
    display: block;
    font-size: 13px;
    color: #555;
}

.cart_advice__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.cart_advice__btn {
    flex: 1 1 0;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 6px;
    border-radius: 8px;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    box-sizing: border-box;
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}

.cart_advice__btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.cart_advice__btn span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart_advice__btn:hover { transform: translateY(-1px); }
.cart_advice__btn:focus-visible {
    outline: 2px solid #f37021;
    outline-offset: 2px;
}

.cart_advice__btn--whatsapp {
    background: #25D366;
    color: #fff;
}

.cart_advice__btn--whatsapp:hover {
    background: #1fb957;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

.cart_advice__btn--call,
.cart_advice__btn--chat {
    background: #fff;
    color: #111;
    border-color: #d1d5db;
}

.cart_advice__btn--call:hover,
.cart_advice__btn--chat:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}
