/* ==========================================================================
   MASSIMO SHOES - Carduri produse catalog
   ========================================================================== */

body.woocommerce-shop .products .col,
body.post-type-archive-product .products .col,
body.archive.woocommerce .products .col,
body.tax-product_cat .products .col,
body.tax-product_tag .products .col {
    padding-bottom: 20px;
}

body.woocommerce-shop .products .col-inner,
body.post-type-archive-product .products .col-inner,
body.archive.woocommerce .products .col-inner,
body.tax-product_cat .products .col-inner,
body.tax-product_tag .products .col-inner {
    height: 100%;
}

body.woocommerce-shop .products .product-small.box,
body.post-type-archive-product .products .product-small.box,
body.archive.woocommerce .products .product-small.box,
body.tax-product_cat .products .product-small.box,
body.tax-product_tag .products .product-small.box {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e8e3ef;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(36, 29, 50, 0.06);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.18s ease;
}

body.woocommerce-shop .products .product-small.box:hover,
body.post-type-archive-product .products .product-small.box:hover,
body.archive.woocommerce .products .product-small.box:hover,
body.tax-product_cat .products .product-small.box:hover,
body.tax-product_tag .products .product-small.box:hover {
    border-color: #d2c6e3;
    box-shadow: 0 14px 34px rgba(36, 29, 50, 0.11);
    transform: translateY(-2px);
}

body.woocommerce-shop .products .product-small .box-image,
body.post-type-archive-product .products .product-small .box-image,
body.archive.woocommerce .products .product-small .box-image,
body.tax-product_cat .products .product-small .box-image,
body.tax-product_tag .products .product-small .box-image {
    width: 100%;
    overflow: hidden;
    background: #f8f6fb;
    border-bottom: 1px solid #eee9f5;
}

body.woocommerce-shop .products .product-small .box-image .image-zoom-fade,
body.woocommerce-shop .products .product-small .box-image a,
body.post-type-archive-product .products .product-small .box-image .image-zoom-fade,
body.post-type-archive-product .products .product-small .box-image a,
body.archive.woocommerce .products .product-small .box-image .image-zoom-fade,
body.archive.woocommerce .products .product-small .box-image a,
body.tax-product_cat .products .product-small .box-image .image-zoom-fade,
body.tax-product_cat .products .product-small .box-image a,
body.tax-product_tag .products .product-small .box-image .image-zoom-fade,
body.tax-product_tag .products .product-small .box-image a {
    display: block;
}

body.woocommerce-shop .products .product-small .box-image img,
body.post-type-archive-product .products .product-small .box-image img,
body.archive.woocommerce .products .product-small .box-image img,
body.tax-product_cat .products .product-small .box-image img,
body.tax-product_tag .products .product-small .box-image img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transform: scale(1.01);
    transition: transform 0.28s ease, opacity 0.2s ease;
}

body.woocommerce-shop .products .product-small.box:hover .box-image img,
body.post-type-archive-product .products .product-small.box:hover .box-image img,
body.archive.woocommerce .products .product-small.box:hover .box-image img,
body.tax-product_cat .products .product-small.box:hover .box-image img,
body.tax-product_tag .products .product-small.box:hover .box-image img {
    transform: scale(1.045);
}

body.woocommerce-shop .products .box-text.box-text-products,
body.post-type-archive-product .products .box-text.box-text-products,
body.archive.woocommerce .products .box-text.box-text-products,
body.tax-product_cat .products .box-text.box-text-products,
body.tax-product_tag .products .box-text.box-text-products {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    height: auto !important;
    padding: 13px 12px 14px;
    border-top: 0 !important;
    text-align: center;
}

body.woocommerce-shop .products .box-text-products .title-wrapper,
body.post-type-archive-product .products .box-text-products .title-wrapper,
body.archive.woocommerce .products .box-text-products .title-wrapper,
body.tax-product_cat .products .box-text-products .title-wrapper,
body.tax-product_tag .products .box-text-products .title-wrapper {
    margin: 0 0 7px;
}

body.woocommerce-shop .products .box-text-products .product-title,
body.woocommerce-shop .products .box-text-products .woocommerce-loop-product__title,
body.post-type-archive-product .products .box-text-products .product-title,
body.post-type-archive-product .products .box-text-products .woocommerce-loop-product__title,
body.archive.woocommerce .products .box-text-products .product-title,
body.archive.woocommerce .products .box-text-products .woocommerce-loop-product__title,
body.tax-product_cat .products .box-text-products .product-title,
body.tax-product_cat .products .box-text-products .woocommerce-loop-product__title,
body.tax-product_tag .products .box-text-products .product-title,
body.tax-product_tag .products .box-text-products .woocommerce-loop-product__title {
    height: auto !important;
    min-height: 38px;
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    color: #211c2b;
    text-transform: none;
}

body.woocommerce-shop .products .box-text-products .product-title a,
body.woocommerce-shop .products .box-text-products .woocommerce-loop-product__link,
body.post-type-archive-product .products .box-text-products .product-title a,
body.post-type-archive-product .products .box-text-products .woocommerce-loop-product__link,
body.archive.woocommerce .products .box-text-products .product-title a,
body.archive.woocommerce .products .box-text-products .woocommerce-loop-product__link,
body.tax-product_cat .products .box-text-products .product-title a,
body.tax-product_cat .products .box-text-products .woocommerce-loop-product__link,
body.tax-product_tag .products .box-text-products .product-title a,
body.tax-product_tag .products .box-text-products .woocommerce-loop-product__link {
    display: -webkit-box;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

body.woocommerce-shop .products .box-text-products .product-title a:hover,
body.woocommerce-shop .products .box-text-products .woocommerce-loop-product__link:hover,
body.post-type-archive-product .products .box-text-products .product-title a:hover,
body.post-type-archive-product .products .box-text-products .woocommerce-loop-product__link:hover,
body.archive.woocommerce .products .box-text-products .product-title a:hover,
body.archive.woocommerce .products .box-text-products .woocommerce-loop-product__link:hover,
body.tax-product_cat .products .box-text-products .product-title a:hover,
body.tax-product_cat .products .box-text-products .woocommerce-loop-product__link:hover,
body.tax-product_tag .products .box-text-products .product-title a:hover,
body.tax-product_tag .products .box-text-products .woocommerce-loop-product__link:hover {
    color: #5c4d85;
}

body.woocommerce-shop .products .box-text-products .price-wrapper,
body.post-type-archive-product .products .box-text-products .price-wrapper,
body.archive.woocommerce .products .box-text-products .price-wrapper,
body.tax-product_cat .products .box-text-products .price-wrapper,
body.tax-product_tag .products .box-text-products .price-wrapper {
    height: auto !important;
    margin-top: auto;
}

body.woocommerce-shop .products .box-text-products .price,
body.post-type-archive-product .products .box-text-products .price,
body.archive.woocommerce .products .box-text-products .price,
body.tax-product_cat .products .box-text-products .price,
body.tax-product_tag .products .box-text-products .price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 5px 8px;
    margin: 0;
    color: #211c2b;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
}

body.woocommerce-shop .products .box-text-products .price del,
body.post-type-archive-product .products .box-text-products .price del,
body.archive.woocommerce .products .box-text-products .price del,
body.tax-product_cat .products .box-text-products .price del,
body.tax-product_tag .products .box-text-products .price del {
    color: #8d8499;
    font-size: 13px;
    font-weight: 600;
    opacity: 1;
}

body.woocommerce-shop .products .box-text-products .price ins,
body.post-type-archive-product .products .box-text-products .price ins,
body.archive.woocommerce .products .box-text-products .price ins,
body.tax-product_cat .products .box-text-products .price ins,
body.tax-product_tag .products .box-text-products .price ins {
    color: #5c4d85;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
}

body.woocommerce-shop .products .box-text-products .price .woocommerce-Price-currencySymbol,
body.post-type-archive-product .products .box-text-products .price .woocommerce-Price-currencySymbol,
body.archive.woocommerce .products .box-text-products .price .woocommerce-Price-currencySymbol,
body.tax-product_cat .products .box-text-products .price .woocommerce-Price-currencySymbol,
body.tax-product_tag .products .box-text-products .price .woocommerce-Price-currencySymbol {
    font-size: 0.88em;
    font-weight: inherit;
}

@media (max-width: 849px) {
    body.woocommerce-shop .products .product-small.box,
    body.post-type-archive-product .products .product-small.box,
    body.archive.woocommerce .products .product-small.box,
    body.tax-product_cat .products .product-small.box,
    body.tax-product_tag .products .product-small.box {
        box-shadow: 0 6px 18px rgba(36, 29, 50, 0.06);
    }

    body.woocommerce-shop .products .box-text.box-text-products,
    body.post-type-archive-product .products .box-text.box-text-products,
    body.archive.woocommerce .products .box-text.box-text-products,
    body.tax-product_cat .products .box-text.box-text-products,
    body.tax-product_tag .products .box-text.box-text-products {
        padding: 11px 9px 12px;
    }

    body.woocommerce-shop .products .box-text-products .product-title,
    body.woocommerce-shop .products .box-text-products .woocommerce-loop-product__title,
    body.post-type-archive-product .products .box-text-products .product-title,
    body.post-type-archive-product .products .box-text-products .woocommerce-loop-product__title,
    body.archive.woocommerce .products .box-text-products .product-title,
    body.archive.woocommerce .products .box-text-products .woocommerce-loop-product__title,
    body.tax-product_cat .products .box-text-products .product-title,
    body.tax-product_cat .products .box-text-products .woocommerce-loop-product__title,
    body.tax-product_tag .products .box-text-products .product-title,
    body.tax-product_tag .products .box-text-products .woocommerce-loop-product__title {
        min-height: 36px;
        font-size: 13px;
    }

    body.woocommerce-shop .products .box-text-products .price,
    body.post-type-archive-product .products .box-text-products .price,
    body.archive.woocommerce .products .box-text-products .price,
    body.tax-product_cat .products .box-text-products .price,
    body.tax-product_tag .products .box-text-products .price {
        font-size: 14px;
    }

    body.woocommerce-shop .products .box-text-products .price ins,
    body.post-type-archive-product .products .box-text-products .price ins,
    body.archive.woocommerce .products .box-text-products .price ins,
    body.tax-product_cat .products .box-text-products .price ins,
    body.tax-product_tag .products .box-text-products .price ins {
        font-size: 15px;
    }
}

@media (max-width: 549px) {
    body.woocommerce-shop .products .col,
    body.post-type-archive-product .products .col,
    body.archive.woocommerce .products .col,
    body.tax-product_cat .products .col,
    body.tax-product_tag .products .col {
        padding-bottom: 14px;
    }

    body.woocommerce-shop .products .product-small.box:hover,
    body.post-type-archive-product .products .product-small.box:hover,
    body.archive.woocommerce .products .product-small.box:hover,
    body.tax-product_cat .products .product-small.box:hover,
    body.tax-product_tag .products .product-small.box:hover {
        transform: none;
    }

    body.woocommerce-shop .products .box-text-products .product-title,
    body.woocommerce-shop .products .box-text-products .woocommerce-loop-product__title,
    body.post-type-archive-product .products .box-text-products .product-title,
    body.post-type-archive-product .products .box-text-products .woocommerce-loop-product__title,
    body.archive.woocommerce .products .box-text-products .product-title,
    body.archive.woocommerce .products .box-text-products .woocommerce-loop-product__title,
    body.tax-product_cat .products .box-text-products .product-title,
    body.tax-product_cat .products .box-text-products .woocommerce-loop-product__title,
    body.tax-product_tag .products .box-text-products .product-title,
    body.tax-product_tag .products .box-text-products .woocommerce-loop-product__title {
        min-height: 34px;
        font-size: 12.5px;
        line-height: 1.35;
    }

    body.woocommerce-shop .products .box-text-products .price,
    body.post-type-archive-product .products .box-text-products .price,
    body.archive.woocommerce .products .box-text-products .price,
    body.tax-product_cat .products .box-text-products .price,
    body.tax-product_tag .products .box-text-products .price {
        gap: 4px 6px;
        font-size: 13.5px;
    }

    body.woocommerce-shop .products .box-text-products .price del,
    body.post-type-archive-product .products .box-text-products .price del,
    body.archive.woocommerce .products .box-text-products .price del,
    body.tax-product_cat .products .box-text-products .price del,
    body.tax-product_tag .products .box-text-products .price del {
        font-size: 12px;
    }

    body.woocommerce-shop .products .box-text-products .price ins,
    body.post-type-archive-product .products .box-text-products .price ins,
    body.archive.woocommerce .products .box-text-products .price ins,
    body.tax-product_cat .products .box-text-products .price ins,
    body.tax-product_tag .products .box-text-products .price ins {
        font-size: 14.5px;
    }
}
