/* PitMoto catalog presentation. Keep Magento's native actions and review markup. */
body#html-body .products-grid ol.product-items > li.product-item {
    display: flex;
    height: auto !important;
    min-height: 0;
    max-height: none !important;
    overflow: visible !important;
}
body#html-body .products-grid ol.product-items > li.product-item > .product-item-info {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    height: auto !important;
    min-height: 0;
    max-height: none !important;
    overflow: visible !important;
}
body#html-body .products-grid ol.product-items > li.product-item::after {
    display: none !important;
}
body#html-body .products-grid ol.product-items .product-item-details {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
}
body#html-body .products-grid ol.product-items .product-item-name {
    order: 1;
    flex: 1 0 auto;
    margin: 0 0 8px;
}
body#html-body .products-grid ol.product-items .price-box {
    order: 2;
    flex: 0 0 auto;
    margin: 8px 0;
}
body#html-body .products-grid ol.product-items .product-reviews-summary {
    order: 3;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 8px;
    min-height: 24px;
    margin: 0 0 8px;
}
/* Reserve the same review row for unrated products without displaying empty stars. */
body#html-body .products-grid ol.product-items .product-item-details:not(:has(> .product-reviews-summary))::after {
    content: "";
    order: 3;
    flex: 0 0 24px;
    margin-bottom: 8px;
}
body#html-body .products-grid ol.product-items .swatch-opt {
    order: 4;
}
body#html-body .products-grid ol.product-items .product-item-inner {
    order: 5;
    position: static !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    clip: auto !important;
    overflow: visible !important;
}
body#html-body .products-grid ol.product-items .product-item-actions {
    margin: 0 !important;
}
body#html-body .products-grid ol.product-items .action.tocart {
    min-height: 44px;
}
body#html-body.catalog-product-view .product-info-main .box-tocart {
    width: 100%;
    box-sizing: border-box;
    margin: 18px 0 0;
}
body#html-body.catalog-product-view .product-info-main .box-tocart .fieldset {
    margin-bottom: 0;
}
body#html-body.catalog-product-view .product-info-main .product-addto-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    max-width: none;
    margin: 12px 0 24px !important;
    padding: 0;
    clear: both;
}
body#html-body.catalog-product-view .product-info-main .product-addto-links > .action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 160px;
    gap: 8px;
    min-width: 0;
    min-height: 44px;
    box-sizing: border-box;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid #c7cbd0;
    border-radius: 4px;
    background: #fff;
    box-shadow: none;
    color: #34383d;
    font: 600 14px/1.4 Arial, Helvetica, sans-serif;
    text-align: center;
    text-decoration: none;
}
body#html-body.catalog-product-view .product-info-main .product-addto-links > .action::before {
    flex: 0 0 auto;
    margin: 0;
    color: #a93700;
    font-size: 18px;
    line-height: 1;
}
body#html-body.catalog-product-view .product-info-main .product-addto-links > .action:hover {
    background: #fff5ee;
    border-color: #e95106;
    color: #a93700;
}
body#html-body.catalog-product-view .product-info-main .product-addto-links > .action:focus-visible {
    outline: 3px solid #f57932;
    outline-offset: 3px;
}
@media (max-width: 767px) {
    body#html-body.catalog-product-view .product-info-main .product-addto-links > .action {
        flex-basis: 130px;
        padding: 10px 6px;
        font-size: 12px;
    }
}
