/* ========================================
   GIFT-BEST – PREMIUM CART DESIGN
   ======================================== */

body.woocommerce-cart {
    background: #fffafb;
}

/* Szerokość koszyka */
body.woocommerce-cart .wp-block-woocommerce-cart {
    max-width: 1240px;
    margin: 0 auto;
}

/* Układ */
body.woocommerce-cart .wc-block-components-sidebar-layout {
    gap: 28px;
    align-items: flex-start;
}

/* Karta produktów */
body.woocommerce-cart .wc-block-cart__main {
    background: #fff;
    border: 1px solid #f0e3e7;
    border-radius: 18px;
    padding: 24px !important;
    box-shadow: 0 8px 28px rgba(22, 26, 45, .035);
    box-sizing: border-box;
}

/* Karta podsumowania */
body.woocommerce-cart .wc-block-cart__sidebar {
    background: #fff;
    border: 1px solid #f0e3e7;
    border-radius: 18px;
    padding: 24px !important;
    box-shadow: 0 8px 28px rgba(22, 26, 45, .045);
    box-sizing: border-box;
}

/* Nagłówki */
body.woocommerce-cart .wc-block-cart__totals-title {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #151c36;
}

/* Produkty */
body.woocommerce-cart .wc-block-cart-items__row {
    border-bottom: 1px solid #f0e8eb !important;
}

body.woocommerce-cart .wc-block-cart-item__product {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

body.woocommerce-cart .wc-block-components-product-name {
    color: #151c36 !important;
    font-size: 17px !important;
    font-weight: 750 !important;
    text-decoration: none !important;
    line-height: 1.4;
}

body.woocommerce-cart .wc-block-components-product-name:hover {
    color: #e9003b !important;
}

/* Zdjęcia */
body.woocommerce-cart .wc-block-cart-item__image img {
    width: 110px !important;
    height: 110px !important;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid #f1e5e8;
}

/* Cena */
body.woocommerce-cart .wc-block-components-product-price {
    font-size: 17px !important;
    font-weight: 700;
    color: #151c36;
}

/* Licznik ilości */
body.woocommerce-cart .wc-block-components-quantity-selector {
    border: 1px solid #e9dce1 !important;
    border-radius: 10px !important;
    overflow: hidden;
}

/* Podsumowanie */
body.woocommerce-cart .wc-block-components-totals-wrapper {
    border-color: #f0e5e8 !important;
    padding-top: 16px !important;
    padding-bottom: 16px !important;
}

/* Cena końcowa */
body.woocommerce-cart .wc-block-components-totals-footer-item__value {
    font-size: 24px !important;
    font-weight: 900 !important;
    color: #e9003b !important;
}

/* Przycisk do kasy */
body.woocommerce-cart .wc-block-cart__submit-button {
    background: #e9003b !important;
    color: #fff !important;
    border-radius: 12px !important;
    min-height: 58px !important;
    font-weight: 800 !important;
    font-size: 16px !important;
    border: none !important;
    box-shadow: 0 8px 18px rgba(233, 0, 59, .18);
    transition: background .2s, transform .2s;
}

body.woocommerce-cart .wc-block-cart__submit-button:hover {
    background: #c90032 !important;
    transform: translateY(-1px);
}

body.woocommerce-cart .wc-block-cart__submit-button span,
body.woocommerce-cart .wc-block-cart__submit-button .wc-block-components-button__text {
    color: #fff !important;
    text-decoration: none !important;
}

/* Mobile */
@media (max-width: 767px) {
    body.woocommerce-cart .wc-block-components-sidebar-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
    }

    body.woocommerce-cart .wc-block-cart__main,
    body.woocommerce-cart .wc-block-cart__sidebar {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        padding: 16px !important;
        border-radius: 14px;
    }

    body.woocommerce-cart .wc-block-cart-item__image img {
        width: 72px !important;
        height: 72px !important;
    }

    body.woocommerce-cart .wc-block-components-product-name {
        font-size: 14px !important;
    }

    body.woocommerce-cart .wc-block-components-totals-footer-item__value {
        font-size: 20px !important;
    }
}

/* Gift-Best – ukrycie zbędnych elementów w koszyku */

/* Cena 0.00 Kč przy polach personalizacji */
body.woocommerce-cart .pewc-cart-item-price {
    display: none !important;
}

/* Ukrycie fragmentu opisu produktu w metadanych koszyka */
body.woocommerce-cart .wc-block-components-product-details__gb-description {
    display: none !important;
}


/* Gift-Best – ukrycie skrótu opisu produktu w koszyku */
body.woocommerce-cart .wc-block-components-product-metadata__description {
    display: none !important;
}

/* Ukrycie dopłat 0.00 Kč przy personalizacji */
body.woocommerce-cart .pewc-cart-item-price {
    display: none !important;
}

