/* Custom woocommerce */
.product-card {
    background: #FFF;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.product-image {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f8f8f8;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 12px;
    flex-grow: 1;
}

.product-title {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 6px;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-size: 16px;
    font-weight: bold;
    color: #111;
}

.product-cta {
    padding: 12px;
}

.product-cta a.button {
    width: 100%;
    text-align: center;
    border-radius: 8px;
    background: #000;
    color: #fff;
    padding: 10px;
    font-size: 14px;
}

.product-cta a.button:hover {
    background: #333;
}

.badge-sale {
    position: absolute;
    top: 10px;
    left: 10px;
    background: red;
    color: #fff;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 6px;
}

.product-image {
    position: relative;
}

.woocommerce ul.products {
    margin: 0;
    padding: 0;
    list-style: none;
}



.shop-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 1024px) {
    .shop-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .shop-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .shop-grid {
        grid-template-columns: 1fr;
    }
}