/**
 * Style 13 - Custom product card style
 * Direct copy of the styles from categoriesRow
 */




/* Common Category Styles for Style 16 and 17 -----------------------------------------------------*/
.treesal-category-style-16,
.treesal-category-style-17 {
    margin-bottom: 30px;
}


.treesal-category-style-16 .category-wrap,
.treesal-category-style-17 .category-wrap {
    position: relative;
    width: 100% !important;
    transition: all 0.3s ease;
    object-fit: cover;
}

/* Aspect Ratio Styles */
.treesal-category-style-16.aspect-ratio-1-1 .category-wrap,
.treesal-category-style-17.aspect-ratio-1-1 .category-wrap {
    aspect-ratio: 1/1;
}

.treesal-category-style-16.aspect-ratio-2-3 .category-wrap,
.treesal-category-style-17.aspect-ratio-2-3 .category-wrap {
    aspect-ratio: 2/3;
}

.treesal-category-style-16.aspect-ratio-3-4 .category-wrap,
.treesal-category-style-17.aspect-ratio-3-4 .category-wrap {
    aspect-ratio: 3/4;
}

.treesal-category-style-16.aspect-ratio-16-9 .category-wrap,
.treesal-category-style-17.aspect-ratio-16-9 .category-wrap {
    aspect-ratio: 16/9;
}

.treesal-category-style-16.aspect-ratio-4-3 .category-wrap,
.treesal-category-style-17.aspect-ratio-4-3 .category-wrap {
    aspect-ratio: 4/3;
}

.treesal-category-style-16 .category-wrap:hover,
.treesal-category-style-17 .category-wrap:hover {
    transform: translateY(-5px);
}

.treesal-category-style-16 .category-image,
.treesal-category-style-17 .category-image {
    width: 100% !important;
    height: 100% !important;
}

.treesal-category-style-16 .category-image img,
.treesal-category-style-17 .category-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

.treesal-category-style-16 .category-link,
.treesal-category-style-17 .category-link ,
.treesal-category-style-19 .category-link {
    text-decoration: none;
    display: block;
}

/* Style 16 Specific (Previously treesal-category-overlay) */
.treesal-category-style-16 .category-wrap {
    overflow: hidden;
    border-radius: 12px;
}

.treesal-category-style-16 .category-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.treesal-category-style-16 .category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--minimog-color-overlay-color, rgba(0,0,0,0.3));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.treesal-category-style-16 .category-wrap:hover .category-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.8));
}

.treesal-category-style-16 .category-name {
    color: #fff;
    font-size: 28px;
    font-weight: 600;
    text-align: center;
    padding: 20px;
    margin: 0;
}

/* Style 17 Specific (Previously treesal-category-badge-overlay) */
.treesal-category-style-17 .category-wrap {
    overflow: visible;
}

.treesal-category-style-17 .category-image {
   
    overflow: hidden;
}

.treesal-category-style-17 .category-image img {
    transition: transform 0.3s ease;
}

.treesal-category-style-17 .category-wrap:hover .category-image img {
    transform: scale(1.05);
}

.treesal-category-style-17 .category-badge {
    position: absolute;
    left: 50%;
    top: 85%;
    transform: translateX(-50%);
    background: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    z-index: 2;
    min-width: 180px;
    text-align: center;
}

.treesal-category-style-17 .category-name {
    color: var(--minimog-color-heading);
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .treesal-category-style-16 .category-name {
        font-size: 20px;
        padding: 15px;
    }

    .treesal-category-style-17 .category-badge {
        padding: 8px 16px;
        min-width: 140px;
    }
    
    .treesal-category-style-17 .category-name {
        font-size: 14px;
    }
} 

/* Style 18 - Simple Category with Zoom Effect */
.treesal-category-style-18 {
    margin-bottom: 30px;
}

.treesal-category-style-18 .category-wrap {
    position: relative;
    width: 100%;
    transition: all 0.3s ease;
}

/* Aspect Ratio Styles */
.treesal-category-style-18.aspect-ratio-1-1 .category-image {
    aspect-ratio: 1/1;
}

.treesal-category-style-18.aspect-ratio-2-3 .category-image {
    aspect-ratio: 2/3;
}

.treesal-category-style-18.aspect-ratio-3-4 .category-image {
    aspect-ratio: 3/4;
}

.treesal-category-style-18.aspect-ratio-16-9 .category-image {
    aspect-ratio: 16/9;
}

.treesal-category-style-18.aspect-ratio-4-3 .category-image {
    aspect-ratio: 4/3;
}

.treesal-category-style-18 .category-image {
    width: 100% !important;
    overflow: hidden;
    margin-bottom: 15px;
}
.treesal-category-style-18 .category-image img  {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.treesal-category-style-18 .category-image  {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.treesal-category-style-18 .category-wrap:hover .category-image  {
    transform: scale(1.1);
}

.treesal-category-style-18 .category-title {
    text-align: center;
}

.treesal-category-style-18 .category-name {
    color: var(--minimog-color-heading);
    font-size: 18px;
    font-weight: 500;
    margin: 0;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.treesal-category-style-18 .category-link {
    text-decoration: none;
    display: block;
}

.treesal-category-style-18 .category-wrap:hover .category-name {
    color: var(--minimog-color-primary);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .treesal-category-style-18 .category-image {
        margin-bottom: 10px;
    }
    
    .treesal-category-style-18 .category-name {
        font-size: 14px;
    }
}

.custom-product-title .product-link:first-of-type,
.product-info-cat .product-link:first-of-type{
  display: none;
}

.minimog-product div.price{
    margin:  0 0;
}




.treesal-category-style-19 {
    text-align: center;
    background-color: inherit;
    transition: all 0.3s ease;
}


.treesal-category-style-19 .category-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 8px;
    padding: 20px;
}

.treesal-category-style-19:hover {
    transform: scale(1.05);
}

.treesal-category-style-19 .category-image {
    width: 100%;
    height: 100%;
    padding: 15px !important;
}

.treesal-category-style-19 .category-image img {
    width: 100% !important;
    height: 100%;
    object-fit: cover;
}

.treesal-category-style-19 .category-name {
    display:flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0px 0px;
    font-weight: 600;
    min-height: 48px !important;
}

.treesal-category-style-19 .shop-now-button {
    display: inline-block;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}