/* Keep each card's information together; older Suite rules reserved empty grid
   tracks for missing controls and three lines for every product name. */
body.yccs-commerce-ui #main .yccs-product-card .yccs-product-card__body {
    padding: 12px !important;
    min-height: 0 !important;
    justify-content: flex-start !important;
}
body.yccs-commerce-ui #main .yccs-product-card .yccs-product-card__category {
    display: block !important;
    min-height: 14px !important;
    max-height: 14px !important;
    margin: 0 0 4px !important;
    font-size: 10px !important;
    line-height: 14px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}
body.yccs-commerce-ui #main .yccs-product-card .yccs-product-card__body > h3 {
    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    min-height: 2.7em !important;
    max-height: 2.7em !important;
    margin: 0 0 4px !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
    overflow: hidden !important;
}
body.yccs-commerce-ui #main .yccs-product-card .yccs-product-card__net {
    min-height: 14px !important;
    margin: 0 0 5px !important;
    font-size: 10.5px !important;
    line-height: 14px !important;
}
body.yccs-commerce-ui #main .yccs-product-card .yccs-product-card__footer {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 7px !important;
}
body.yccs-commerce-ui #main .yccs-product-card .yccs-product-card__price {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 54px !important;
    margin: 0 !important;
    padding: 0 !important;
    align-self: stretch !important;
}
body.yccs-commerce-ui #main .yccs-product-card .yccs-add-button {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 44px !important;
    margin: 0 !important;
    box-sizing: border-box;
}
/* Catalogue cards use one primary action for both simple and variable products.
   Quantity remains available on the product page and in the basket. */
body #main .yccs-product-card [data-yccs-card-quantity],
body #main ul.products li.product [data-yccs-card-quantity] {
    display: none !important;
}

/* The native WooCommerce loop is used by the shop, guides and related products. */
body #main ul.products li.product {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    min-width: 0 !important;
    gap: 0 !important;
}
body #main ul.products li.product > figure { order: 0; margin-bottom: 8px !important; }
body #main ul.products li.product::before {
    order: 1;
    min-height: 14px !important;
    max-height: 14px !important;
    margin: 9px 12px 4px !important;
    line-height: 14px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}
body #main ul.products li.product > .woocommerce-loop-product__title {
    order: 2;
    min-height: 2.7em !important;
    max-height: 2.7em !important;
    margin: 0 12px 4px !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
    -webkit-line-clamp: 2 !important;
}
body #main ul.products li.product > .yccs-loop-net {
    order: 3;
    min-height: 14px !important;
    margin: 0 12px 5px !important;
    line-height: 14px !important;
}
body #main ul.products li.product > .price {
    order: 4;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    flex: 0 0 auto !important;
    min-height: 54px !important;
    margin: 0 12px 8px !important;
    padding: 0 !important;
}
body #main ul.products li.product > .price > del { font-size: 11px !important; line-height: 1.3 !important; }
body #main ul.products li.product > .price > ins { font-size: 16px !important; font-weight: 750 !important; line-height: 1.3 !important; }
body #main ul.products li.product > .entry-meta {
    display: block !important;
    order: 1;
    min-height: 14px !important;
    max-height: 14px !important;
    margin: 0 12px 4px !important;
    padding: 0 !important;
    font-size: 10px !important;
    line-height: 14px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}
body #main ul.products li.product > .ct-woo-card-actions {
    order: 5;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    flex: 0 0 auto !important;
    width: calc(100% - 24px) !important;
    margin: 0 12px !important;
    padding: 0 !important;
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}
body #main ul.products li.product > .ct-woo-card-actions > .button {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 44px !important;
    position: static !important;
    opacity: 1 !important;
    transform: none !important;
    white-space: normal !important;
}
body #main ul.products li.product > .button { order: 5; }
body #main ul.products li.product > .yccs-card-shipping,
body.yccs-commerce-ui #main .yccs-product-card .yccs-card-shipping {
    order: 6;
    min-height: 0 !important;
    margin: 8px 12px 12px !important;
    padding-top: 7px !important;
    font-size: 10.5px !important;
    line-height: 1.4 !important;
}
body.yccs-commerce-ui #main .yccs-product-card .yccs-card-shipping { margin: 8px 0 0 !important; }
body.yccs-commerce-ui #main .yccs-products.yccs-section { padding-block: 24px !important; }
.ycpr-product .summary > .price { margin-bottom: 12px !important; }
.ycpr-product .ycpr-trust-strip { margin-top: 40px !important; margin-bottom: 36px !important; }

/* Fixed support bubbles must not cover mobile product actions. Support links
   remain available in the site footer and contact page. */
@media (max-width: 1099px) {
    .yccs-whatsapp-float {
        display: none !important;
    }
}
