/* Consistent bordered cards across homepage, archive, and related-product grids. */
body.home #main ul.products li.product,
body.woocommerce #main ul.products li.product {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 12px;
    border: 1px solid #e6e6eb;
    border-radius: 10px;
    background: #fff;
}
body #main ul.products .astra-shop-summary-wrap {
    display: flex;
    flex-direction: column;
    flex: 1;
}
body #main ul.products .astra-shop-thumbnail-wrap .ast-select-options-trigger { display: none; }
body #main ul.products .az-product-card-action { width: 100%; margin-block-start: auto; padding-block-start: 14px; }
body #main ul.products .az-product-card-action .button {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    min-height: 42px;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid #db070b;
    border-radius: 8px;
    background: #fff;
    color: #db070b;
    font: 600 14px/1.4 Urbanist, Arial, sans-serif;
    text-align: center;
    text-decoration: none;
    white-space: normal;
    cursor: pointer;
}
body #main ul.products .az-product-card-action .button:hover,
body #main ul.products .az-product-card-action .button:focus-visible { background: #db070b; border-color: #db070b; color: #fff; }
body #main ul.products .az-product-card-action .button.loading { opacity: .7; }
body #main ul.products .az-product-card-action .button:focus-visible { outline: 2px solid #19191b; outline-offset: 3px; }
body #main ul.products .az-product-card-action .added_to_cart { display: block; padding-block-start: 8px; font-size: 13px; text-align: center; }
@media (max-width: 767px) {
    body.home #main ul.products li.product,
    body.woocommerce #main ul.products li.product { padding: 10px; }
    body #main ul.products .az-product-card-action .button { padding-inline: 6px; font-size: 13px; }
}

/* "Sur commande" products (inc/sur-commande). */
body #main ul.products .az-mto-badge {
    align-self: flex-start;
    margin-block-start: 8px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #fff1d6;
    color: #8a5200;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
}
