.you-may-also-like-section {
    margin-top: 40px;
    padding: 20px 0;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.you-may-also-like-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;/* Internet Explorer 10+ */
}

.carousel-track::-webkit-scrollbar { 
    display: none;/* Safari and Chrome */
}

.carousel-card {
    flex: 0 0 auto;
    width: 250px;
    margin: 0 10px;
    scroll-snap-align: start;
}

.you-may-also-like-product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.you-may-also-like-product-card {
    background-image: url('/assets/images/backgrounds/cardboard-background.webp');
    background-size: cover;
    background-position: center;
    border-radius: 0;
    padding: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2), 0 6px 6px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.you-may-also-like-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

.you-may-also-like-product-info {
    width: 100%;
    margin-bottom: 15px;
}

.you-may-also-like-product-title {
    font-family: 'Courier New', Courier, monospace;
    font-size: 16px;
    color: #4B4B4B;
    margin: 0;
    font-weight: bold;
}

.you-may-also-like-image-wrapper {
    position: relative;
    width: 80%;
}

.you-may-also-like-product-image {
    width: 100%;
    height: auto;
    border: 5px solid white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    background-color: white;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

.you-may-also-like-tape {
    position: absolute;
    width: 50px;
    height: 25px;
    background-image: url('/assets/images/backgrounds/stickytape.webp');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.8;
}

.you-may-also-like-tape.top-left {
    top: -10px;
    left: -15px;
    transform: rotate(-45deg);
}

.you-may-also-like-tape.top-right {
    top: -10px;
    right: -15px;
    transform: rotate(45deg);
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.7);
    border: 1px solid #ccc;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s, color 0.3s;
}

.carousel-button:hover {
    background-color: white;
    color: black;
}

.carousel-button.prev {
    left: 10px;
}

.carousel-button.next {
    right: 10px;
}

@media (max-width: 768px) {
    .carousel-card {
        width: 200px;
    }
}

@media (max-width: 480px) {
    .carousel-card {
        width: 150px;
    }
}
