/* Retail catalogue v1.1. Native product templates and actions retained. */
body.retail-storefront.retail-catalog .page-title-wrapper { margin-bottom: 28px; }
body.retail-storefront.retail-catalog .page-title {
    margin: 0;
    font-size: 36px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -.8px;
}
body.retail-storefront.retail-catalog .toolbar-products {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
    margin: 0 0 24px;
    padding: 14px 0;
    border-top: 1px solid #e5e8e1;
    border-bottom: 1px solid #e5e8e1;
}
body.retail-storefront.retail-catalog .toolbar-products::before,
body.retail-storefront.retail-catalog .toolbar-products::after { display: none; }
body.retail-storefront.retail-catalog .toolbar-products .modes,
body.retail-storefront.retail-catalog .toolbar-products .toolbar-amount,
body.retail-storefront.retail-catalog .toolbar-products .sorter,
body.retail-storefront.retail-catalog .toolbar-products .limiter {
    float: none;
    margin: 0;
    padding-top: 0;
}
body.retail-storefront.retail-catalog .toolbar-products .sorter {
    margin-left: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
body.retail-storefront.retail-catalog .toolbar-products select {
    min-height: 40px;
    border: 1px solid #b7bdb3;
    border-radius: 5px;
    background-color: #fff;
    margin: 0;
}
body.retail-storefront.retail-catalog .products-grid { width: 100%; min-width: 0; margin: 0 0 32px; }
body.retail-storefront.retail-catalog .products-grid .product-items {
    display: grid;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}
body.retail-storefront.retail-catalog .products-grid .product-items::before,
body.retail-storefront.retail-catalog .products-grid .product-items::after { display: none; }
body.retail-storefront.retail-catalog .products-grid > .product-items > .product-item {
    box-sizing: border-box;
    display: block;
    float: none;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}
body.retail-storefront.retail-catalog .products-grid .product-item-info,
body.retail-storefront.retail-catalog .products-grid .product-item-info:hover,
body.retail-storefront.retail-catalog .products-grid .product-item-info.active {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 1px solid #e5e8e1;
    border-radius: 10px;
    background: #fff;
    box-shadow: none;
    position: relative;
}
body.retail-storefront.retail-catalog .products-grid .product-item-photo {
    display: block;
    margin: 0;
    padding: 0;
    background: #f8f9f6;
    border-radius: 10px 10px 0 0;
}
body.retail-storefront.retail-catalog .products-grid .product-image-container {
    display: block;
    width: 100% !important;
    height: auto;
    aspect-ratio: 1 / 1;
}
body.retail-storefront.retail-catalog .products-grid .product-image-wrapper {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    padding-bottom: 0 !important;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
}
body.retail-storefront.retail-catalog .products-grid .product-image-photo {
    position: absolute;
    top: 0;
    left: 0;
    right: auto;
    bottom: auto;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    margin: 0;
    object-fit: contain;
}
body.retail-storefront.retail-catalog .products-grid .product-item-details {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
    padding: 20px;
}
body.retail-storefront.retail-catalog .products-grid .product-item-name {
    display: block;
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.45;
    overflow-wrap: anywhere;
}
body.retail-storefront.retail-catalog .products-grid .product-item-link { color: #242424; }
body.retail-storefront.retail-catalog .products-grid .price-box { margin: 0 0 18px; }
body.retail-storefront.retail-catalog .products-grid .price-box .price {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}
body.retail-storefront.retail-catalog .products-grid .price-box .old-price .price {
    font-size: 14px;
    font-weight: 400;
}
body.retail-storefront.retail-catalog .products-grid .product-item-inner,
body.retail-storefront.retail-catalog .products-grid .product-item-info:hover .product-item-inner,
body.retail-storefront.retail-catalog .products-grid .product-item-info.active .product-item-inner {
    position: static;
    width: auto;
    height: auto;
    clip: auto;
    overflow: visible;
    margin: auto 0 0;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
}
body.retail-storefront.retail-catalog .products-grid .product-item-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
}
body.retail-storefront.retail-catalog .products-grid .product-item-actions .actions-primary {
    display: block;
    flex: 1 1 100%;
    width: 100%;
}
body.retail-storefront.retail-catalog .products-grid .product-item-actions .action.tocart {
    box-sizing: border-box;
    display: block;
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    white-space: normal;
}
body.retail-storefront.retail-catalog .products-grid .product-item-actions .actions-secondary {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: auto;
    padding: 0;
}
body.retail-storefront.retail-catalog .products-grid .actions-secondary .action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    margin: 0;
    padding: 0;
    color: #50584d;
}
body.retail-storefront.retail-catalog .products-grid .action:focus-visible,
body.retail-storefront.retail-catalog .products-grid a:focus-visible,
body.retail-storefront.retail-catalog .toolbar-products a:focus-visible,
body.retail-storefront.retail-catalog .toolbar-products select:focus-visible {
    outline: 2px solid #242424;
    outline-offset: 3px;
}
@media (max-width: 1023px) {
    body.retail-storefront.retail-catalog .products-grid .product-items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}
@media (max-width: 767px) {
    body.retail-storefront.retail-catalog .page-title { font-size: 28px; letter-spacing: -.5px; }
    body.retail-storefront.retail-catalog .toolbar-products { gap: 12px; }
    body.retail-storefront.retail-catalog .toolbar-products select { font-size: 16px; }
    body.retail-storefront.retail-catalog .products-grid .product-items { gap: 12px; }
    body.retail-storefront.retail-catalog .products-grid .product-item-details { padding: 12px; }
    body.retail-storefront.retail-catalog .products-grid .product-item-name { font-size: 14px; }
    body.retail-storefront.retail-catalog .products-grid .price-box .price { font-size: 18px; }
    body.retail-storefront.retail-catalog .products-grid .price-box .old-price .price { font-size: 13px; }
    body.retail-storefront.retail-catalog .products-grid .product-item-actions .action.tocart { font-size: 14px; }
}
