/* Holiday Special Section */
.holiday-special {
    padding: 2rem;
    text-align: center;
    background-color: #fff;
}

.section-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

/* Products Grid */
.products-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

/* Product Card */
.product-card {
    width: 300px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    overflow: hidden;
    background-color: #fff;
    text-align: center;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-decoration: none;
}

.product-image {
    width: 100%;
    height: auto;
}

/* Product Image Container */
.product-image-container {
   position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    max-height: 400px;
    object-fit: cover;
}

/* Default Image */
.product-image-default {
    display: block;
    width: 100%;
    height: auto;
    transition: opacity 0.5s ease;
}

/* Hover Image */
.product-image-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    /* Initially hidden */
    transition: opacity 0.5s ease;
}

/* Hover Effect */
.product-image-container:hover .product-image-hover {
    opacity: 1;
    /* Show hover image */
}

.product-image-container:hover .product-image-default {
    opacity: 0;
    /* Hide default image */
}


.product-title {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 1rem;
    color: #333;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 1rem 1rem 2rem 1rem;
    color: #333;
    text-align: center;
}

/* Product Link */
.product-link {
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
    display: block;
}

.add-to-cart {
    background-color: #555;
    color: white;
    border-radius: 4px;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    cursor: pointer;
    margin-bottom: 2rem;
    gap: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.add-to-cart:hover {
    background-color: #000;
    /* Turn fully black on hover */
    color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    /* Add slight shadow for depth */
    transform: scale(1.03);
    /* Subtle scale effect */
}


.date {
    text-align: center;
    background: #fde2e469;
    border-radius: 0.5rem;
    margin: 1rem 1rem 0 1rem;
    padding: 0.5rem 0;
}


/* Responsive */
@media (max-width: 768px) {
    .products-grid {
        flex-direction: row;
        align-items: start;
    }

    .product-card {
        width: 150px;
    }

    .carousel {
        width: 150px !important;
        height: 250px !important;
    }

    .product-title {
        height: 70px;
    }

    .carousel__control {
        height: 40px !important;
        width: 40px !important;
    }

    .carousel__control--prev {
        left: 2px !important;
    }

    .carousel__control--next {
        right: 2px !important;
    }

    .product-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .product-name {
        font-size: 1.125rem;
    }

    .product-price {
        font-size: 1.125rem;
    }

    .product-button {
        font-size: 0.875rem;
    }
}

.carousel {
    position: relative;
    width: 300px;
    height: 400px;
    overflow: hidden;
    margin: 0 auto 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.carousel__track {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}
.carousel__slide {
    min-width: 100%;
    height: 100%;
}
.carousel__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



.carousel__control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 1.5rem;
}


/* Arrow Icons - Thinner, more modern */
.carousel__control::before {
    content: "";
    display: block;
    width: 12px;
    height: 12px;
    border-top: 2px solid white;
    border-right: 2px solid white;
    transform: rotate(220deg);
}

/* Right arrow rotation */
.carousel__control--next::before {
    transform: rotate(45deg);
}

/* On hover, make them more visible */
.carousel__control:hover {
    background: rgbargb(0 0 0 / 71%);
    opacity: 1;
}




.carousel__control--prev {
    left: 10px;
}
.carousel__control--next {
    right: 10px;
}
.carousel__indicators {
    position: absolute;
    bottom: 10px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
}
.carousel__indicator {
    width: 10px;
    height: 10px;
    background-color: #bbb;
    border-radius: 50%;
    cursor: pointer;
}
.carousel__indicator--active {
    background-color: #333;
}