/* B2deHands catalog 1.3 */

body.b2-catalog {
    background: #f3f5f7;
}

.b2-catalog .woocommerce-products-header {
    margin-bottom: 24px;
}

.b2-catalog .woocommerce-products-header h1 {
    color: #14263b;
    font-size: 34px;
    font-weight: 750;
}

.b2-catalog .b2-catalog-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 28px;
    clear: both;
}

.b2-catalog-nav a {
    padding: 11px 20px;
    background: #fff;
    border: 1px solid #dce2e8;
    border-radius: 7px;
    color: #14263b;
    font-weight: 600;
    text-decoration: none;
}

.b2-catalog-nav a:hover,
.b2-catalog-nav a.b2-active {
    background: #14263b;
    color: #fff;
}

.b2-catalog .woocommerce-result-count {
    color: #64748b;
    font-size: 14px;
}

.b2-catalog .woocommerce-ordering select {
    background: #fff;
    border: 1px solid #dce2e8;
    border-radius: 7px;
    padding: 10px 15px;
}

.b2-catalog ul.products {
    display: grid !important;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 24px;
    clear: both;
}

.b2-catalog ul.products::before,
.b2-catalog ul.products::after {
    display: none !important;
}

.b2-catalog ul.products li.product {
    width: auto !important;
    float: none !important;
    margin: 0 !important;
    padding: 20px;
    background: #fff;
    border: 1px solid #e0e5eb;
    border-radius: 12px;
    box-shadow: 0 3px 12px #14263b08;
    display: flex;
    flex-direction: column;
    transition: box-shadow .2s, transform .2s;
}

.b2-catalog ul.products li.product:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px #14263b15;
}

.b2-catalog ul.products li.product img {
    width: 100%;
    height: 210px;
    object-fit: contain;
    background: #fff;
    border-radius: 7px;
}

.b2-catalog ul.products li.product h2 {
    color: #14263b;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

.b2-catalog ul.products li.product .price {
    color: #14263b;
    font-size: 23px;
    font-weight: 750;
    margin: 12px 0;
}

.b2-catalog ul.products li.product .price del {
    color: #94a3b8;
    font-size: 14px;
}

.b2-catalog ul.products li.product .price ins {
    text-decoration: none;
}

.b2-catalog .b2-stock {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin: 8px 0 15px;
}

.b2-catalog .b2-instock {
    color: #16845b;
}

.b2-catalog .b2-outstock {
    color: #a64b37;
}

.b2-catalog ul.products li.product .b2-view-product {
    display: block;
    margin-top: auto;
    padding: 12px 15px;
    background: #267bc2;
    color: #fff;
    border-radius: 7px;
    text-align: center;
    font-weight: 600;
}

.b2-catalog ul.products li.product .b2-view-product:hover {
    background: #185d96;
}

@media (max-width: 900px) {
    .b2-catalog ul.products {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 15px;
    }
}

@media (max-width: 600px) {
    .b2-catalog ul.products li.product {
        padding: 12px;
    }

    .b2-catalog ul.products li.product img {
        height: 140px;
    }

    .b2-catalog ul.products li.product h2 {
        font-size: 15px;
    }

    .b2-catalog ul.products li.product .price {
        font-size: 18px;
    }

    .b2-catalog-nav a {
        font-size: 13px;
        padding: 9px 12px;
    }
}

@media (max-width: 360px) {
    .b2-catalog ul.products {
        grid-template-columns: 1fr;
    }
}

/* B2SHOP CATALOG V1.4 */

body.b2-catalog,
body.b2-catalog #inner-wrap {
    background: #f3f5f7;
}

.b2-catalog .entry-hero-container-inner {
    min-height: 100px !important;
    background: #f3f5f7 !important;
}

.b2-catalog .entry-hero .entry-header {
    min-height: 100px !important;
    padding: 20px 0 !important;
}

.b2-catalog .entry-hero h1 {
    font-size: 30px;
    color: #14263b;
}

.b2-catalog ul.products li.product {
    overflow: hidden;
    transform: none !important;
}

.b2-catalog ul.products li.product:hover {
    transform: none !important;
}

.b2-catalog ul.products li.product
.product-thumbnail {
    aspect-ratio: auto !important;
    height: auto !important;
    overflow: hidden;
    background: #fff;
}

.b2-catalog ul.products li.product img {
    position: static !important;
    width: 100% !important;
    height: 230px !important;
    object-fit: contain !important;
    object-position: center !important;
    transform: none !important;
}

.b2-catalog ul.products li.product
.product-details {
    position: relative !important;
    transform: none !important;
    opacity: 1 !important;
    padding: 16px 4px !important;
    background: #fff;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.b2-catalog ul.products li.product
.woocommerce-loop-product__title {
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.4;
    min-height: 50px;
    color: #14263b;
}

.b2-catalog ul.products li.product .price {
    display: block;
    font-size: 25px !important;
    font-weight: 750 !important;
    color: #14263b !important;
}

.b2-catalog ul.products li.product .price del {
    font-size: 14px !important;
    font-weight: 400;
    color: #8491a1;
}

.b2-catalog ul.products li.product .price ins {
    font-size: 25px !important;
    font-weight: 750 !important;
}

.b2-catalog ul.products li.product
.product-action-wrap {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    margin-top: auto;
    padding-top: 12px;
}

.b2-catalog ul.products li.product
a.b2-view-product {
    display: block !important;
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    width: 100%;
    padding: 13px 10px !important;
    background: #267bc2 !important;
    color: #fff !important;
    border-radius: 7px;
    text-align: center;
    font-size: 14px !important;
    font-weight: 600;
    text-transform: none !important;
}

.b2-catalog ul.products li.product
a.b2-view-product:hover {
    background: #185d96 !important;
}

body.post-type-archive-product
.b2-catalog-nav a:first-child {
    background: #14263b;
    color: #fff;
}

@media (max-width: 600px) {
    .b2-catalog ul.products li.product img {
        height: 150px !important;
    }

    .b2-catalog ul.products li.product
    .woocommerce-loop-product__title {
        font-size: 15px !important;
    }

    .b2-catalog ul.products li.product .price,
    .b2-catalog ul.products li.product .price ins {
        font-size: 20px !important;
    }
}

