/* ========================================
   YOU MIGHT ALSO LIKE SECTION
   Extracted from product.css during refactor
   ======================================== */
.you-might-also-like-section {
    width: 100vw !important;
    order: 5 !important;
    margin: 60px calc(-50vw + 50%) !important;
    padding: 60px 20px !important;
    background-color: #f5f5f5 !important;
    clear: both !important;
    position: relative !important;
}

.you-might-also-like-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 50px;
    color: #333;
    letter-spacing: 0.5px;
}

.you-might-also-like-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    justify-items: center;
}

.you-might-also-like-item {
    text-align: center;
    transition: transform 0.3s ease;
}

.you-might-also-like-item:hover {
    transform: translateY(-5px);
}

.product-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-image-container {
    width: 100%;
    max-width: 280px;
    height: 280px;
    margin: 0 auto 20px;
    overflow: hidden;
    background-color: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.you-might-also-like-item:hover .product-image,
.you-might-also-like-item:hover .product-image-container img {
    transform: scale(1.05);
}

.product-name {
    font-size: 1.1rem;
    font-weight: 400;
    margin: 0;
    color: #333;
    letter-spacing: 0.5px;
    line-height: 1.4;
    text-decoration: none !important;
}

.you-might-also-like-item a,
.you-might-also-like-item .product-link,
.you-might-also-like-item .product-name {
    text-decoration: none !important;
}

.you-might-also-like-item a:hover,
.you-might-also-like-item .product-link:hover,
.you-might-also-like-item .product-name:hover {
    text-decoration: none !important;
}

/* Override accessibility.css underline rule - higher specificity selector */
.entry-content .you-might-also-like-section a,
.entry-content .you-might-also-like-section a:not(.button):not(.wp-block-button__link),
.entry-content .you-might-also-like-item a,
.entry-content .you-might-also-like-item .product-link,
.entry-content .you-might-also-like-item .product-name {
    text-decoration: none !important;
    text-decoration-line: none !important;
}

/* Large tablets - 2 columns */
@media (max-width: 1200px) {
    .you-might-also-like-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* Mobile - 2 columns */
@media (max-width: 768px) {
    .you-might-also-like-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .product-image-container {
        max-width: 200px;
        height: 200px;
    }

    .you-might-also-like-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .you-might-also-like-section {
        order: 4 !important;
        margin-top: 30px !important;
    }
}

/* Small mobile - 1 column */
@media (max-width: 480px) {
    .you-might-also-like-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-image-container {
        max-width: 250px;
        height: 250px;
    }
}
