/* TeeGeez: only the WCDP download buttons are compact.
 * Do not change WooCommerce cart typography, product rows, totals, quantity controls, or layout.
 */
.wcdp-block-downloads{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:12px;
    align-items:center;
}

.wcdp-block-downloads > a.wcdp-block-download-button.button{
    display:inline-flex !important;
    align-items:center;
    justify-content:center;
    width:auto !important;
    min-width:0 !important;
    min-height:28px !important;
    padding:5px 9px !important;
    font-size:11px !important;
    line-height:1.15 !important;
    border-radius:5px !important;
    flex:0 0 auto !important;
    text-decoration:none;
    white-space:nowrap;
}

@media (max-width: 640px){
    .wcdp-block-downloads{
        display:flex;
        flex-wrap:wrap;
        gap:8px;
    }

    .wcdp-block-downloads > a.wcdp-block-download-button.button{
        width:auto !important;
        min-width:0 !important;
        min-height:28px !important;
        padding:5px 8px !important;
        font-size:10.5px !important;
        flex:0 0 auto !important;
    }
}

/* TeeGeez v5.3.8: cart-only layout/typography improvements.
 * Widen the WooCommerce Cart Block toward the marked page edges without
 * changing header/footer width, and increase cart text legibility.
 * Download buttons intentionally remain compact below.
 */
@media (min-width: 900px){
    body.woocommerce-cart .wp-block-woocommerce-cart{
        width:min(92vw, 1520px) !important;
        max-width:1520px !important;
        margin-left:50% !important;
        margin-right:0 !important;
        transform:translateX(-50%) !important;
    }
}

body.woocommerce-cart .wp-block-woocommerce-cart,
body.woocommerce-cart .wc-block-cart{
    font-size:16px !important;
}

body.woocommerce-cart .wc-block-cart-items__header,
body.woocommerce-cart .wc-block-cart__totals-title{
    font-size:17px !important;
}

body.woocommerce-cart .wc-block-cart-item__product .wc-block-components-product-name{
    font-size:18px !important;
    line-height:1.35 !important;
}

body.woocommerce-cart .wc-block-cart-item__prices,
body.woocommerce-cart .wc-block-components-product-price,
body.woocommerce-cart .wc-block-components-product-details,
body.woocommerce-cart .wc-block-components-product-details__name,
body.woocommerce-cart .wc-block-components-product-details__value{
    font-size:15px !important;
    line-height:1.45 !important;
}

body.woocommerce-cart .wc-block-components-quantity-selector input{
    font-size:15px !important;
}

body.woocommerce-cart .wc-block-components-totals-item__label,
body.woocommerce-cart .wc-block-components-totals-item__value,
body.woocommerce-cart .wc-block-components-totals-coupon-link,
body.woocommerce-cart .wc-block-components-shipping-rates-control__package-title{
    font-size:16px !important;
}

body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__value{
    font-size:20px !important;
    line-height:1.3 !important;
}

body.woocommerce-cart .wc-block-cart__submit-button .wc-block-components-button__text{
    font-size:17px !important;
}

/* Keep only WCDP download buttons compact even after cart text is enlarged. */
body.woocommerce-cart .wcdp-block-downloads > a.wcdp-block-download-button.button{
    font-size:11px !important;
    line-height:1.15 !important;
}

@media (max-width: 899px){
    body.woocommerce-cart .wp-block-woocommerce-cart{
        width:100% !important;
        max-width:100% !important;
        margin-left:0 !important;
        transform:none !important;
    }
}

