/*
Theme Name: Bargello — Pages
Template: bargello
Version: 1.0.12
Description: Editable WordPress page blocks preserving the Bargello storefront.
*/

.mini-cart-drawer .quantity-stepper input.qty,
.woocommerce .quantity-stepper input.qty {
    text-align: center !important;
}

/* The homepage opens the side cart after adding a product; do not append
   WooCommerce's redundant view-cart link below the product-card button. */
.home .product-card a.added_to_cart.wc-forward {
    display: none !important;
}

/* Keep Quick View available in code, but hide its entry points everywhere. */
.product-card__quick-view,
[data-quick-view-open] {
    display: none !important;
}

/* Keep the embedded certificate labels readable on desktop only.
   Mobile retains its existing single-card slider unchanged. */
@media (min-width: 1024px) {
    .trust-strip {
        width: min(1280px, calc(100% - 80px));
        margin-top: 0;
        border: 1px solid #e8e8e3;
        border-radius: 0;
        box-shadow: none;
    }

    .trust-strip__track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .trust-strip .trust-card {
        min-width: 0;
        border: 0;
    }

    .trust-strip .trust-card:nth-child(odd) {
        border-right: 1px solid #e8e8e3;
    }

    .trust-strip .trust-card:nth-child(-n+2) {
        border-bottom: 1px solid #e8e8e3;
    }

    .trust-strip .trust-card img {
        display: block;
        width: 100%;
        height: auto;
    }
}

/* Wide desktops: one compact row, modestly larger than the original strip. */
@media (min-width: 1200px) {
    .trust-strip {
        width: min(1440px, calc(100% - 64px));
    }

    .trust-strip__track {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .trust-strip .trust-card:nth-child(n) {
        border: 0;
    }

    .trust-strip .trust-card:not(:last-child) {
        border-right: 1px solid #e8e8e3;
    }
}
