

.treesal-product-style-15.product-card {
    background: var(--minimog-color-box-bg, #fff);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08); 
    display: flex;
    flex-direction: column;
 
    height: 100%; /* Make each card take full height of container */
}


.treesal-product-style-15.product-card {
   
    border-radius: 0px;
    box-shadow: unset;
}





.treesal-product-style-15.product-card .product-variable-label {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    color: #333;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    z-index: 2;
    
    direction: rtl;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: auto;
    min-width: 160px;
    text-align: center;
    font-weight: 500;
}


.treesal-product-style-15.product-card .product-variable-label .label-text {
    display: flex;
    flex-direction: row;
    align-items: center;
    line-height: 1.2;
    white-space: nowrap;
}


.treesal-product-style-15.product-card .product-variable-label .label-text span {
    margin: 0 1px;
}


.treesal-product-style-15.product-card .product-variable-label .grid-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
}

.treesal-product-style-15.product-card .product-variable-label .grid-icon svg {
    width: 16px;
    height: 16px;
}


.treesal-product-style-15.product-card .product-image-wrapper {
    position: relative;
    overflow: hidden;
    background-color: var(--minimog-color-box-bg-secondary, #f8f8f8);
    flex-shrink: 0;
    margin-bottom: 10px;
}



.treesal-product-style-15.product-card .product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;

}
.product-image-wrapper {
    position: relative;
}
.inner-border-effect {
    position: absolute;
    top: 12px;
    right: 12px;
    bottom: 12px;
    left: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    pointer-events: none;
    z-index: 1;
    border-radius: 4px;
}
.product-image-main,
.product-image-hover {
    border-radius: 4px;
}

@media (max-width: 768px) {
    .inner-border-effect {
        top: 8px;
        right: 8px;
        bottom: 8px;
        left: 8px;
    }
}

.treesal-product-style-15.product-card .product-image:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 5px;
    border: 2px solid #ccc;
  }


/* Default aspect ratio if none specified */

.treesal-product-style-15.product-card .product-image-wrapper,
.treesal-product-style-15.product-card .product-image {
    aspect-ratio: 1/1;
}

/* Custom aspect ratios */

.treesal-product-style-15.product-card.aspect-ratio-2-3 .product-image-wrapper,
.treesal-product-style-15.product-card.aspect-ratio-2-3 .product-image {
    aspect-ratio: 2/3;
}

.treesal-product-style-15.product-card.aspect-ratio-3-4 .product-image-wrapper,
.treesal-product-style-15.product-card.aspect-ratio-3-4 .product-image {
    aspect-ratio: 3/4;
}


.treesal-product-style-15.product-card.aspect-ratio-16-9 .product-image-wrapper,
.treesal-product-style-15.product-card.aspect-ratio-16-9 .product-image {
    aspect-ratio: 16/9;
}


.treesal-product-style-15.product-card.aspect-ratio-1-1 .product-image-wrapper,
.treesal-product-style-15.product-card.aspect-ratio-1-1 .product-image {
    aspect-ratio: 1/1;
}


.treesal-product-style-15.product-card .product-image-main {
    opacity: 1;
}


.treesal-product-style-15.product-card .product-image-hover {
    opacity: 0;
}

/* Placeholder for products without images */

.treesal-product-style-15.product-card .product-image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    color: #888;
    padding: 15px;
    text-align: center;
}


.treesal-product-style-15.product-card .product-image-placeholder svg {
    opacity: 0.6;
}


.treesal-product-style-15.product-card:hover .product-image-main {
    opacity: 0;
}


.treesal-product-style-15.product-card:hover .product-image-hover {
    opacity: 1;
}

/* If there's no second image, keep the main image visible */

.treesal-product-style-15.product-card:hover .product-image-main:only-of-type {
    opacity: 1;
}


.treesal-product-style-15.product-card .product-title .woocommerce-loop-product__title {
    padding: 0px 12px;
    font-weight: 500;
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limit to 2 lines */
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

.treesal-product-style-15.product-card .product-info-cat {
    padding: 0px 12px;
  
}

.treesal-product-style-15.product-card .product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px 12px;
    margin-top: auto;
    flex-shrink: 0; /* Prevent footer from shrinking */
}


.treesal-product-style-15.product-card .product-footer
{
    padding: 0px;
    margin: 10px;
    border: 1px solid var(--minimog-color-box-border, rgba(0,0,0,0.05));

}
.treesal-product-style-15.product-card .product-footer .product-info {
    padding: 0px 9px;
    width: 100%;
  
}



.treesal-product-style-15.product-card .product-price {
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    min-height: 32px;
    max-width: calc(100% - 40px);
}

.treesal-product-style-15.product-card .add-to-cart-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 7px;
    color: var(--minimog-color-button-text, #fff);
    transition: all 0.3s ease;
    flex-shrink: 0;
    background-color: var(--minimog-color-button-background, #000);
}
.treesal-product-style-15.product-card .add-to-cart-icon a {

    color: var(--minimog-color-button-text, #fff);

}

/* Hide icon in desktop view for style 15 */
.treesal-product-style-15.product-card .treesal-add-to-cart-icon svg {
    display: none;
}

/* Show text in desktop view for style 15 */
.treesal-product-style-15.product-card .add-to-cart-text {
    display: block;
}


.treesal-product-style-15.product-card .treesal-add-to-cart-icon {
    display: flex;
    align-items: center;
}

.treesal-product-style-15.product-card .add-to-cart-icon:hover {
  
    background-color: var(--minimog-color-primary-hover, #555);
}


.treesal-product-style-15.product-card .add-to-cart-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;

}


.treesal-product-style-15.product-card .product-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
    flex: 1;
}

.product-title.custom-product-title{
    height: 100%;
    min-height: 36px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  
    .treesal-product-style-15.product-card .product-footer {
        padding: 0;
        margin: 5px;

    }
    
  
    .treesal-product-style-15.product-card .product-footer .product-info {
        padding: 0px 5px 0px 0;
     
    }

   
    .treesal-product-style-15.product-card .product-title .woocommerce-loop-product__title {
        padding: 0px 5px;
    }
    
    .treesal-product-style-13.product-card .product-price,
    .treesal-product-style-14.product-card .product-price,
    .treesal-product-style-15.product-card .product-price {
        font-size: 14px;
        
    }
     .minimog-product .price {
        --font-size: 15px !important;
      
        
    }
    
    



    .treesal-product-style-15.product-card .add-to-cart-icon {
        padding-top: 17px;
        padding-bottom: 17px;

        height: 14px;
        
        
    }
    
   
    .treesal-product-style-15.product-card .add-to-cart-icon svg {
        width: 25px;
        height: 25px;
    }
    
   
    .treesal-product-style-15.product-card .product-variable-label {
        font-size: 10px;
        padding: 5px 10px;
        bottom: 8px;
        min-width: 140px;
        gap: 5px;
    }
    
  
    .treesal-product-style-15.product-card .product-variable-label .grid-icon svg {
        width: 16px;
        height: 16px;
    }
    
   
    .treesal-product-style-15.product-card .product-variable-label .label-text {
        line-height: 1.2;
    }
    
    /* Responsive badge styles */
  
    
 
    .treesal-product-style-15.product-card .product-image-placeholder {
        padding: 10px;
    }
    
   
    .treesal-product-style-15.product-card .product-image-placeholder svg {
        width: 40px;
        height: 40px;
    }

    /* Show icon and hide text in mobile view for style 15 */
    .treesal-product-style-15.product-card .treesal-add-to-cart-icon svg {
        display: block; 
        width: 25px;
        height: 25px;
    }
    
    .treesal-product-style-15.product-card .add-to-cart-text {
        display: none;
    }
} 
