/**
 * Shop the Look - Frontend Styles
 */

/* Container */
.stl-shop-the-look {
    margin: 40px 0;
    padding: 0;
    clear: both;
}

/* Title */
.stl-title {
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 25px 0;
    padding: 0;
    color: #1a1a1a;
}

/* Products Grid */
.stl-products-grid {
    display: grid;
    gap: 20px;
}

.stl-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.stl-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.stl-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Responsive */
@media (max-width: 991px) {
    .stl-columns-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .stl-columns-3,
    .stl-columns-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .stl-title {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .stl-products-grid {
        gap: 12px;
    }
}

/* Product Card */
.stl-product-card {
    position: relative;
    background: #fff;
}

/* Sale Badge */
.stl-sale-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #c9443e;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 5px 10px;
    z-index: 10;
    text-transform: uppercase;
    line-height: 1;
}

/* Wishlist Button */
.stl-wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    background: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: transform 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    padding: 0;
}

.stl-wishlist-btn:hover {
    transform: scale(1.1);
}

.stl-wishlist-btn svg {
    width: 18px;
    height: 18px;
    color: #666;
    transition: color 0.2s ease;
}

.stl-wishlist-btn:hover svg {
    color: #c9443e;
}

.stl-wishlist-btn.active svg {
    fill: #c9443e;
    color: #c9443e;
}

/* Product Image */
.stl-product-link {
    display: block;
    text-decoration: none;
}

.stl-product-image {
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
    aspect-ratio: 3 / 4;
}

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

.stl-product-card:hover .stl-product-image img {
    transform: scale(1.03);
}

/* Product Details */
.stl-product-details {
    padding: 12px 0;
}

/* Product Title */
.stl-product-title {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    margin: 0 0 6px 0;
    padding: 0;
    color: #1a1a1a;
}

.stl-product-title a {
    color: inherit;
    text-decoration: none;
}

.stl-product-title a:hover {
    color: #666;
}

/* Product Price */
.stl-product-price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    line-height: 1;
}

.stl-price-regular {
    color: #999;
    text-decoration: line-through;
}

.stl-price-sale {
    color: #1a1a1a;
    font-weight: 500;
}

.stl-price-current {
    color: #1a1a1a;
    font-weight: 500;
}

.stl-discount-badge {
    background: #f5f5f5;
    color: #c9443e;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 6px;
    border-radius: 2px;
}

/* WooCommerce price overrides */
.stl-product-price .woocommerce-Price-amount {
    font-size: inherit;
}

.stl-product-price del {
    opacity: 1;
    color: #999;
}

.stl-product-price ins {
    text-decoration: none;
}
