/* Lekko Aesthetics Product Widget Styles */

.lekkoaesthetics-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
}

.lekkoaesthetics-product-widget {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.lekkoaesthetics-product-image-link {
    display: block;
    text-decoration: none;
    margin-bottom: 20px;
}

.lekkoaesthetics-product-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
}

.lekkoaesthetics-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.lekkoaesthetics-product-image-link:hover .lekkoaesthetics-product-image img {
    transform: scale(1.05);
}

.lekkoaesthetics-product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.lekkoaesthetics-product-title-link {
    text-decoration: none;
    flex: 1;
}

.lekkoaesthetics-product-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    transition: color 0.3s ease;
}

.lekkoaesthetics-product-title-link:hover .lekkoaesthetics-product-title {
    color: #000;
}

.lekkoaesthetics-product-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.lekkoaesthetics-product-button.lekkoaesthetics-icon-left {
    flex-direction: row;
}

.lekkoaesthetics-product-button.lekkoaesthetics-icon-right {
    flex-direction: row;
}

.lekkoaesthetics-product-button:hover {
    background-color: #333;
    transform: translateX(2px);
}

.lekkoaesthetics-product-button svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.lekkoaesthetics-product-button img.lekkoaesthetics-custom-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.lekkoaesthetics-product-button.lekkoaesthetics-icon-right:hover svg,
.lekkoaesthetics-product-button.lekkoaesthetics-icon-right:hover img.lekkoaesthetics-custom-icon {
    transform: translateX(4px);
}

.lekkoaesthetics-product-button.lekkoaesthetics-icon-left:hover svg,
.lekkoaesthetics-product-button.lekkoaesthetics-icon-left:hover img.lekkoaesthetics-custom-icon {
    transform: translateX(-4px);
}

/* Responsive */
@media (max-width: 1024px) {
    .lekkoaesthetics-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .lekkoaesthetics-products-grid {
        grid-template-columns: 1fr;
    }
    
    .lekkoaesthetics-product-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .lekkoaesthetics-product-button {
        width: 100%;
        justify-content: center;
    }
}