/* =========================================================
   IBRICO - CARRELLO PREMIUM WOOCOMMERCE
   File: /carrello/carrello.css
   Versione: 1.0
   ========================================================= */

/* =========================================================
   VARIABILI
   ========================================================= */

:root {
    --ib-cart-blue: #072f5f;
    --ib-cart-blue-dark: #05264d;
    --ib-cart-red: #e30613;
    --ib-cart-red-dark: #c8000b;
    --ib-cart-yellow: #ffcc00;
    --ib-cart-green: #20a957;
    --ib-cart-bg: #f5f7fa;
    --ib-cart-white: #ffffff;
    --ib-cart-text: #1f2937;
    --ib-cart-muted: #6b7280;
    --ib-cart-border: #e5e7eb;
    --ib-cart-shadow: 0 14px 38px rgba(7, 47, 95, 0.10);
    --ib-cart-radius: 18px;
}

/* =========================================================
   PAGINA GENERALE
   ========================================================= */

body.woocommerce-cart {
    background: var(--ib-cart-bg);
}

body.woocommerce-cart .site-content {
    background: var(--ib-cart-bg);
}

body.woocommerce-cart .ast-container,
body.woocommerce-cart .site-content > .ast-container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

body.woocommerce-cart .content-area,
body.woocommerce-cart .site-main {
    width: 100%;
    max-width: 100%;
}

body.woocommerce-cart .entry-content {
    margin: 0;
}

body.woocommerce-cart .woocommerce {
    width: 100%;
    padding: 34px 0 60px;
    color: var(--ib-cart-text);
}

/* =========================================================
   TITOLO PAGINA
   ========================================================= */

body.woocommerce-cart .entry-header {
    margin: 0 0 24px;
}

body.woocommerce-cart .entry-title {
    margin: 0;
    color: var(--ib-cart-blue);
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -0.03em;
}

body.woocommerce-cart .entry-title::after {
    content: "";
    display: block;
    width: 72px;
    height: 5px;
    margin-top: 12px;
    border-radius: 999px;
    background: var(--ib-cart-red);
}

/* =========================================================
   MESSAGGI WOOCOMMERCE
   ========================================================= */

body.woocommerce-cart .woocommerce-message,
body.woocommerce-cart .woocommerce-info,
body.woocommerce-cart .woocommerce-error {
    position: relative;
    margin: 0 0 24px;
    padding: 18px 22px 18px 54px;
    border: 1px solid var(--ib-cart-border);
    border-top: 0;
    border-radius: 14px;
    background: var(--ib-cart-white);
    box-shadow: 0 8px 24px rgba(7, 47, 95, 0.07);
    color: var(--ib-cart-text);
    font-weight: 700;
}

body.woocommerce-cart .woocommerce-message {
    border-left: 5px solid var(--ib-cart-green);
}

body.woocommerce-cart .woocommerce-info {
    border-left: 5px solid var(--ib-cart-blue);
}

body.woocommerce-cart .woocommerce-error {
    border-left: 5px solid var(--ib-cart-red);
}

body.woocommerce-cart .woocommerce-message::before,
body.woocommerce-cart .woocommerce-info::before,
body.woocommerce-cart .woocommerce-error::before {
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
}

body.woocommerce-cart .woocommerce-message .button,
body.woocommerce-cart .woocommerce-info .button {
    color: var(--ib-cart-blue);
    font-weight: 900;
    text-decoration: underline;
    background: transparent;
}

/* =========================================================
   LAYOUT PRINCIPALE
   ========================================================= */

body.woocommerce-cart .woocommerce-cart-form {
    width: 100%;
    margin: 0 0 28px;
}

body.woocommerce-cart .cart-collaterals {
    width: 100%;
    margin-top: 0;
}

body.woocommerce-cart .cart-collaterals::before,
body.woocommerce-cart .cart-collaterals::after {
    display: none;
}

/* =========================================================
   TABELLA CARRELLO
   ========================================================= */

body.woocommerce-cart table.shop_table.cart {
    width: 100%;
    margin: 0;
    border: 1px solid var(--ib-cart-border);
    border-collapse: separate;
    border-spacing: 0;
    border-radius: var(--ib-cart-radius);
    overflow: hidden;
    background: var(--ib-cart-white);
    box-shadow: var(--ib-cart-shadow);
}

body.woocommerce-cart table.shop_table.cart thead {
    background: var(--ib-cart-blue);
}

body.woocommerce-cart table.shop_table.cart thead th {
    padding: 18px 16px;
    border: 0;
    color: var(--ib-cart-white);
    font-size: 13px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

body.woocommerce-cart table.shop_table.cart tbody td {
    padding: 20px 16px;
    border: 0;
    border-bottom: 1px solid var(--ib-cart-border);
    background: var(--ib-cart-white);
    color: var(--ib-cart-text);
    vertical-align: middle;
}

body.woocommerce-cart table.shop_table.cart tbody tr:last-child td {
    border-bottom: 0;
}

/* =========================================================
   COLONNA RIMOZIONE
   ========================================================= */

body.woocommerce-cart table.shop_table.cart .product-remove {
    width: 54px;
    text-align: center;
}

body.woocommerce-cart table.shop_table.cart .product-remove a.remove {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(227, 6, 19, 0.18);
    border-radius: 50%;
    background: rgba(227, 6, 19, 0.07);
    color: var(--ib-cart-red) !important;
    font-size: 23px;
    font-weight: 700;
    line-height: 1;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

body.woocommerce-cart table.shop_table.cart .product-remove a.remove:hover {
    border-color: var(--ib-cart-red);
    background: var(--ib-cart-red);
    color: var(--ib-cart-white) !important;
    transform: scale(1.06);
}

/* =========================================================
   IMMAGINE PRODOTTO
   ========================================================= */

body.woocommerce-cart table.shop_table.cart .product-thumbnail {
    width: 112px;
}

body.woocommerce-cart table.shop_table.cart .product-thumbnail a {
    display: flex;
    width: 92px;
    height: 92px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid var(--ib-cart-border);
    border-radius: 14px;
    background: var(--ib-cart-white);
}

body.woocommerce-cart table.shop_table.cart .product-thumbnail img {
    width: 86px;
    height: 86px;
    margin: 0;
    padding: 5px;
    object-fit: contain;
    transition: transform 0.25s ease;
}

body.woocommerce-cart table.shop_table.cart .product-thumbnail a:hover img {
    transform: scale(1.05);
}

/* =========================================================
   NOME PRODOTTO
   ========================================================= */

body.woocommerce-cart table.shop_table.cart .product-name {
    min-width: 260px;
}

body.woocommerce-cart table.shop_table.cart .product-name > a {
    display: inline-block;
    color: var(--ib-cart-blue);
    font-size: 16px;
    line-height: 1.4;
    font-weight: 900;
    text-decoration: none;
    transition: color 0.2s ease;
}

body.woocommerce-cart table.shop_table.cart .product-name > a:hover {
    color: var(--ib-cart-red);
}

body.woocommerce-cart table.shop_table.cart .product-name dl.variation {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 5px 10px;
    margin: 10px 0 0;
    color: var(--ib-cart-muted);
    font-size: 13px;
}

body.woocommerce-cart table.shop_table.cart .product-name dl.variation dt,
body.woocommerce-cart table.shop_table.cart .product-name dl.variation dd {
    margin: 0;
    padding: 0;
}

body.woocommerce-cart table.shop_table.cart .product-name dl.variation dt {
    color: var(--ib-cart-blue);
    font-weight: 800;
}

body.woocommerce-cart table.shop_table.cart .product-name dl.variation dd {
    font-weight: 600;
}

body.woocommerce-cart table.shop_table.cart .product-name dl.variation p {
    margin: 0;
}

/* =========================================================
   PREZZI
   ========================================================= */

body.woocommerce-cart table.shop_table.cart .product-price,
body.woocommerce-cart table.shop_table.cart .product-subtotal {
    white-space: nowrap;
}

body.woocommerce-cart table.shop_table.cart .product-price .amount {
    color: var(--ib-cart-text);
    font-size: 16px;
    font-weight: 800;
}

body.woocommerce-cart table.shop_table.cart .product-subtotal .amount {
    color: var(--ib-cart-red);
    font-size: 18px;
    font-weight: 900;
}

/* =========================================================
   QUANTITÀ
   ========================================================= */

body.woocommerce-cart table.shop_table.cart .product-quantity {
    min-width: 130px;
}

body.woocommerce-cart table.shop_table.cart .quantity {
    display: inline-flex;
    width: auto;
    min-width: 92px;
    align-items: center;
    justify-content: center;
    margin: 0;
}

body.woocommerce-cart table.shop_table.cart .quantity .qty {
    width: 82px;
    min-height: 44px;
    margin: 0;
    padding: 8px 10px;
    border: 2px solid var(--ib-cart-border);
    border-radius: 11px;
    background: var(--ib-cart-white);
    color: var(--ib-cart-blue);
    font-size: 15px;
    font-weight: 900;
    text-align: center;
    box-shadow: none;
    outline: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

body.woocommerce-cart table.shop_table.cart .quantity .qty:focus {
    border-color: var(--ib-cart-blue);
    box-shadow: 0 0 0 4px rgba(7, 47, 95, 0.10);
}

/* =========================================================
   RIGA COUPON E AGGIORNAMENTO
   ========================================================= */

body.woocommerce-cart table.shop_table.cart td.actions {
    padding: 22px;
    background: #fafbfc;
}

body.woocommerce-cart table.shop_table.cart td.actions .coupon {
    display: flex;
    width: auto;
    align-items: center;
    gap: 10px;
}

body.woocommerce-cart table.shop_table.cart td.actions .coupon label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

body.woocommerce-cart table.shop_table.cart td.actions .coupon .input-text {
    width: 220px;
    min-height: 48px;
    margin: 0;
    padding: 0 16px;
    border: 2px solid var(--ib-cart-border);
    border-radius: 12px;
    background: var(--ib-cart-white);
    color: var(--ib-cart-text);
    font-size: 14px;
    font-weight: 700;
    box-shadow: none;
    outline: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

body.woocommerce-cart table.shop_table.cart td.actions .coupon .input-text::placeholder {
    color: #9ca3af;
    opacity: 1;
}

body.woocommerce-cart table.shop_table.cart td.actions .coupon .input-text:focus {
    border-color: var(--ib-cart-blue);
    box-shadow: 0 0 0 4px rgba(7, 47, 95, 0.10);
}

body.woocommerce-cart table.shop_table.cart td.actions .button {
    min-height: 48px;
    margin: 0;
    padding: 0 20px;
    border: 0;
    border-radius: 12px;
    background: var(--ib-cart-blue);
    color: var(--ib-cart-white);
    font-size: 13px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    box-shadow: none;
    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

body.woocommerce-cart table.shop_table.cart td.actions .button:hover {
    background: var(--ib-cart-blue-dark);
    color: var(--ib-cart-white);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(7, 47, 95, 0.20);
}

body.woocommerce-cart table.shop_table.cart td.actions .button[name="update_cart"] {
    float: right;
    background: var(--ib-cart-red);
}

body.woocommerce-cart table.shop_table.cart td.actions .button[name="update_cart"]:hover {
    background: var(--ib-cart-red-dark);
}

body.woocommerce-cart table.shop_table.cart td.actions .button:disabled,
body.woocommerce-cart table.shop_table.cart td.actions .button:disabled[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* =========================================================
   TOTALI CARRELLO
   ========================================================= */

body.woocommerce-cart .cart-collaterals .cart_totals {
    float: none;
    width: 100%;
    max-width: 540px;
    margin-left: auto;
    padding: 0;
    border: 1px solid var(--ib-cart-border);
    border-radius: var(--ib-cart-radius);
    overflow: hidden;
    background: var(--ib-cart-white);
    box-shadow: var(--ib-cart-shadow);
}

body.woocommerce-cart .cart-collaterals .cart_totals h2 {
    margin: 0;
    padding: 20px 24px;
    background: var(--ib-cart-blue);
    color: var(--ib-cart-white);
    font-size: 21px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: -0.02em;
}

body.woocommerce-cart .cart-collaterals .cart_totals table {
    width: 100%;
    margin: 0;
    border: 0;
    border-collapse: collapse;
    border-radius: 0;
    box-shadow: none;
}

body.woocommerce-cart .cart-collaterals .cart_totals table th,
body.woocommerce-cart .cart-collaterals .cart_totals table td {
    padding: 18px 24px;
    border: 0;
    border-bottom: 1px solid var(--ib-cart-border);
    background: var(--ib-cart-white);
    vertical-align: top;
}

body.woocommerce-cart .cart-collaterals .cart_totals table th {
    width: 42%;
    color: var(--ib-cart-blue);
    font-size: 14px;
    font-weight: 900;
}

body.woocommerce-cart .cart-collaterals .cart_totals table td {
    color: var(--ib-cart-text);
    font-size: 14px;
    font-weight: 700;
    text-align: right;
}

body.woocommerce-cart .cart-collaterals .cart_totals .cart-subtotal .amount {
    color: var(--ib-cart-text);
    font-size: 17px;
    font-weight: 900;
}

body.woocommerce-cart .cart-collaterals .cart_totals .order-total th,
body.woocommerce-cart .cart-collaterals .cart_totals .order-total td {
    padding-top: 22px;
    padding-bottom: 22px;
    border-bottom: 0;
    background: #fff9f9;
}

body.woocommerce-cart .cart-collaterals .cart_totals .order-total th {
    color: var(--ib-cart-blue);
    font-size: 17px;
}

body.woocommerce-cart .cart-collaterals .cart_totals .order-total .amount {
    color: var(--ib-cart-red);
    font-size: 24px;
    font-weight: 900;
}

/* =========================================================
   SPEDIZIONE
   ========================================================= */

body.woocommerce-cart .woocommerce-shipping-methods {
    margin: 0;
    padding: 0;
    list-style: none;
}

body.woocommerce-cart .woocommerce-shipping-methods li {
    margin: 0 0 9px;
    padding: 0;
}

body.woocommerce-cart .woocommerce-shipping-methods li:last-child {
    margin-bottom: 0;
}

body.woocommerce-cart .woocommerce-shipping-methods input[type="radio"] {
    margin-right: 7px;
    accent-color: var(--ib-cart-red);
}

body.woocommerce-cart .woocommerce-shipping-methods label {
    color: var(--ib-cart-text);
    font-weight: 700;
}

body.woocommerce-cart .woocommerce-shipping-destination,
body.woocommerce-cart .woocommerce-shipping-calculator {
    margin: 10px 0 0;
    color: var(--ib-cart-muted);
    font-size: 13px;
    line-height: 1.5;
}

body.woocommerce-cart .woocommerce-shipping-calculator a {
    color: var(--ib-cart-blue);
    font-weight: 900;
    text-decoration: underline;
}

body.woocommerce-cart .shipping-calculator-form {
    margin-top: 12px;
    padding: 14px;
    border: 1px solid var(--ib-cart-border);
    border-radius: 12px;
    background: var(--ib-cart-bg);
    text-align: left;
}

body.woocommerce-cart .shipping-calculator-form p {
    margin: 0 0 10px;
}

body.woocommerce-cart .shipping-calculator-form p:last-child {
    margin-bottom: 0;
}

body.woocommerce-cart .shipping-calculator-form input,
body.woocommerce-cart .shipping-calculator-form select {
    min-height: 44px;
    border: 1px solid var(--ib-cart-border);
    border-radius: 10px;
    background: var(--ib-cart-white);
}

body.woocommerce-cart .shipping-calculator-form .button {
    width: 100%;
    min-height: 44px;
    border: 0;
    border-radius: 10px;
    background: var(--ib-cart-blue);
    color: var(--ib-cart-white);
    font-weight: 900;
}

/* =========================================================
   PULSANTE CHECKOUT
   ========================================================= */

body.woocommerce-cart .wc-proceed-to-checkout {
    margin: 0;
    padding: 22px 24px 24px;
    background: var(--ib-cart-white);
}

body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    display: flex;
    width: 100%;
    min-height: 58px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 14px 22px;
    border: 0;
    border-radius: 14px;
    background: var(--ib-cart-red);
    color: var(--ib-cart-white);
    font-size: 16px;
    line-height: 1.2;
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
    box-shadow: 0 12px 25px rgba(227, 6, 19, 0.23);
    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
    background: var(--ib-cart-red-dark);
    color: var(--ib-cart-white);
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(227, 6, 19, 0.30);
}

body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button::after {
    content: "→";
    margin-left: 10px;
    font-size: 22px;
    line-height: 1;
}

/* =========================================================
   CROSS-SELL / PRODOTTI CONSIGLIATI
   ========================================================= */

body.woocommerce-cart .cross-sells {
    width: 100%;
    margin: 38px 0 0;
    padding: 26px;
    border: 1px solid var(--ib-cart-border);
    border-radius: var(--ib-cart-radius);
    background: var(--ib-cart-white);
    box-shadow: var(--ib-cart-shadow);
}

body.woocommerce-cart .cross-sells > h2 {
    margin: 0 0 22px;
    color: var(--ib-cart-blue);
    font-size: 24px;
    line-height: 1.2;
    font-weight: 900;
}

body.woocommerce-cart .cross-sells ul.products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin: 0;
}

body.woocommerce-cart .cross-sells ul.products::before,
body.woocommerce-cart .cross-sells ul.products::after {
    display: none;
}

body.woocommerce-cart .cross-sells ul.products li.product {
    width: 100%;
    margin: 0;
    padding: 16px;
    border: 1px solid var(--ib-cart-border);
    border-radius: 14px;
    background: var(--ib-cart-white);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

body.woocommerce-cart .cross-sells ul.products li.product:hover {
    border-color: rgba(7, 47, 95, 0.24);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(7, 47, 95, 0.10);
}

body.woocommerce-cart .cross-sells ul.products li.product img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

body.woocommerce-cart .cross-sells ul.products li.product .woocommerce-loop-product__title {
    color: var(--ib-cart-blue);
    font-size: 15px;
    line-height: 1.4;
    font-weight: 900;
}

body.woocommerce-cart .cross-sells ul.products li.product .price {
    color: var(--ib-cart-red);
    font-weight: 900;
}

body.woocommerce-cart .cross-sells ul.products li.product .button {
    width: 100%;
    min-height: 42px;
    border-radius: 10px;
    background: var(--ib-cart-blue);
    color: var(--ib-cart-white);
    font-weight: 900;
    text-align: center;
}

/* =========================================================
   CARRELLO VUOTO
   ========================================================= */

body.woocommerce-cart .woocommerce-notices-wrapper:empty {
    display: none;
}

body.woocommerce-cart .cart-empty.woocommerce-info {
    margin: 0;
    padding: 34px 24px;
    border-left: 0;
    border-top: 5px solid var(--ib-cart-blue);
    text-align: center;
    font-size: 18px;
}

body.woocommerce-cart .return-to-shop {
    margin: 22px 0 0;
    text-align: center;
}

body.woocommerce-cart .return-to-shop .button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 12px;
    background: var(--ib-cart-red);
    color: var(--ib-cart-white);
    font-weight: 900;
    text-transform: uppercase;
    box-shadow: 0 10px 24px rgba(227, 6, 19, 0.22);
}

body.woocommerce-cart .return-to-shop .button:hover {
    background: var(--ib-cart-red-dark);
    color: var(--ib-cart-white);
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {

    body.woocommerce-cart .ast-container,
    body.woocommerce-cart .site-content > .ast-container {
        padding-left: 18px;
        padding-right: 18px;
    }

    body.woocommerce-cart table.shop_table.cart thead th {
        padding: 16px 10px;
    }

    body.woocommerce-cart table.shop_table.cart tbody td {
        padding: 18px 10px;
    }

    body.woocommerce-cart table.shop_table.cart .product-thumbnail {
        width: 92px;
    }

    body.woocommerce-cart table.shop_table.cart .product-thumbnail a {
        width: 76px;
        height: 76px;
    }

    body.woocommerce-cart table.shop_table.cart .product-thumbnail img {
        width: 72px;
        height: 72px;
    }

    body.woocommerce-cart table.shop_table.cart .product-name {
        min-width: 190px;
    }

    body.woocommerce-cart .cross-sells ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* =========================================================
   SMARTPHONE
   ========================================================= */

@media (max-width: 768px) {

    body.woocommerce-cart .ast-container,
    body.woocommerce-cart .site-content > .ast-container {
        padding-left: 14px;
        padding-right: 14px;
    }

    body.woocommerce-cart .woocommerce {
        padding-top: 22px;
        padding-bottom: 40px;
    }

    body.woocommerce-cart .entry-header {
        margin-bottom: 18px;
    }

    body.woocommerce-cart .entry-title {
        font-size: 30px;
    }

    body.woocommerce-cart table.shop_table.cart {
        border: 0;
        border-radius: 0;
        overflow: visible;
        background: transparent;
        box-shadow: none;
    }

    body.woocommerce-cart table.shop_table.cart thead {
        display: none;
    }

    body.woocommerce-cart table.shop_table.cart tbody {
        display: block;
    }

    body.woocommerce-cart table.shop_table.cart tbody tr.cart_item {
        position: relative;
        display: grid;
        grid-template-columns: 92px minmax(0, 1fr);
        gap: 0 14px;
        margin: 0 0 16px;
        padding: 16px;
        border: 1px solid var(--ib-cart-border);
        border-radius: 16px;
        background: var(--ib-cart-white);
        box-shadow: 0 10px 26px rgba(7, 47, 95, 0.08);
    }

    body.woocommerce-cart table.shop_table.cart tbody tr.cart_item td {
        display: block;
        width: auto;
        min-width: 0;
        padding: 0;
        border: 0;
        background: transparent;
        text-align: left !important;
    }

    body.woocommerce-cart table.shop_table.cart tbody tr.cart_item td::before {
        display: none;
    }

    body.woocommerce-cart table.shop_table.cart .product-remove {
        position: absolute;
        top: 10px;
        right: 10px;
        z-index: 2;
        width: auto;
    }

    body.woocommerce-cart table.shop_table.cart .product-remove a.remove {
        width: 30px;
        height: 30px;
        font-size: 20px;
    }

    body.woocommerce-cart table.shop_table.cart .product-thumbnail {
        grid-column: 1;
        grid-row: 1 / span 4;
        width: 92px;
    }

    body.woocommerce-cart table.shop_table.cart .product-thumbnail a {
        width: 92px;
        height: 92px;
        border-radius: 12px;
    }

    body.woocommerce-cart table.shop_table.cart .product-thumbnail img {
        width: 86px;
        height: 86px;
    }

    body.woocommerce-cart table.shop_table.cart .product-name {
        grid-column: 2;
        padding-right: 32px !important;
    }

    body.woocommerce-cart table.shop_table.cart .product-name > a {
        font-size: 15px;
        line-height: 1.35;
    }

    body.woocommerce-cart table.shop_table.cart .product-price {
        grid-column: 2;
        margin-top: 10px;
    }

    body.woocommerce-cart table.shop_table.cart .product-price::before {
        content: "Prezzo: ";
        color: var(--ib-cart-muted);
        font-size: 13px;
        font-weight: 700;
    }

    body.woocommerce-cart table.shop_table.cart .product-quantity {
        grid-column: 2;
        margin-top: 11px;
    }

    body.woocommerce-cart table.shop_table.cart .product-quantity::before {
        content: "Quantità";
        display: block;
        margin-bottom: 5px;
        color: var(--ib-cart-muted);
        font-size: 12px;
        font-weight: 800;
        text-transform: uppercase;
    }

    body.woocommerce-cart table.shop_table.cart .quantity .qty {
        width: 72px;
        min-height: 40px;
    }

    body.woocommerce-cart table.shop_table.cart .product-subtotal {
        grid-column: 2;
        margin-top: 11px;
        padding-top: 11px !important;
        border-top: 1px solid var(--ib-cart-border) !important;
    }

    body.woocommerce-cart table.shop_table.cart .product-subtotal::before {
        content: "Totale prodotto: ";
        color: var(--ib-cart-blue);
        font-size: 13px;
        font-weight: 900;
    }

    body.woocommerce-cart table.shop_table.cart .product-subtotal .amount {
        font-size: 18px;
    }

    body.woocommerce-cart table.shop_table.cart tbody tr:not(.cart_item) {
        display: block;
    }

    body.woocommerce-cart table.shop_table.cart td.actions {
        display: block;
        margin-top: 18px;
        padding: 16px;
        border: 1px solid var(--ib-cart-border);
        border-radius: 16px;
        background: var(--ib-cart-white);
        box-shadow: 0 10px 26px rgba(7, 47, 95, 0.08);
    }

    body.woocommerce-cart table.shop_table.cart td.actions .coupon {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        width: 100%;
    }

    body.woocommerce-cart table.shop_table.cart td.actions .coupon .input-text {
        width: 100%;
        min-height: 48px;
    }

    body.woocommerce-cart table.shop_table.cart td.actions .coupon .button {
        width: 100%;
    }

    body.woocommerce-cart table.shop_table.cart td.actions .button[name="update_cart"] {
        float: none;
        width: 100%;
        margin-top: 12px;
    }

    body.woocommerce-cart .cart-collaterals .cart_totals {
        width: 100%;
        max-width: 100%;
        margin-top: 20px;
    }

    body.woocommerce-cart .cart-collaterals .cart_totals h2 {
        padding: 18px 18px;
        font-size: 20px;
    }

    body.woocommerce-cart .cart-collaterals .cart_totals table th,
    body.woocommerce-cart .cart-collaterals .cart_totals table td {
        padding: 16px 18px;
    }

    body.woocommerce-cart .cart-collaterals .cart_totals table th {
        width: 44%;
    }

    body.woocommerce-cart .wc-proceed-to-checkout {
        padding: 18px;
    }

    body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
        min-height: 56px;
        font-size: 15px;
    }

    body.woocommerce-cart .cross-sells {
        margin-top: 26px;
        padding: 18px;
    }

    body.woocommerce-cart .cross-sells > h2 {
        font-size: 21px;
    }

    body.woocommerce-cart .cross-sells ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    body.woocommerce-cart .cross-sells ul.products li.product {
        padding: 12px;
    }
}

/* =========================================================
   SMARTPHONE PICCOLO
   ========================================================= */

@media (max-width: 480px) {

    body.woocommerce-cart .ast-container,
    body.woocommerce-cart .site-content > .ast-container {
        padding-left: 10px;
        padding-right: 10px;
    }

    body.woocommerce-cart .entry-title {
        font-size: 27px;
    }

    body.woocommerce-cart table.shop_table.cart tbody tr.cart_item {
        grid-template-columns: 76px minmax(0, 1fr);
        gap: 0 12px;
        padding: 13px;
    }

    body.woocommerce-cart table.shop_table.cart .product-thumbnail {
        width: 76px;
    }

    body.woocommerce-cart table.shop_table.cart .product-thumbnail a {
        width: 76px;
        height: 76px;
    }

    body.woocommerce-cart table.shop_table.cart .product-thumbnail img {
        width: 70px;
        height: 70px;
    }

    body.woocommerce-cart table.shop_table.cart .product-name > a {
        font-size: 14px;
    }

    body.woocommerce-cart .cart-collaterals .cart_totals table th,
    body.woocommerce-cart .cart-collaterals .cart_totals table td {
        padding-left: 14px;
        padding-right: 14px;
    }

    body.woocommerce-cart .cart-collaterals .cart_totals .order-total .amount {
        font-size: 21px;
    }

    body.woocommerce-cart .cross-sells ul.products {
        grid-template-columns: 1fr;
    }
}