/* Carousel Styles for Deals and Recommended Sections */
.hot-deals-section, .recommended-section {
    margin-top: -20px !important;
    position: relative;
}

.hot-deals-section {
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
}

.section-header {
    text-align: left;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #d32f2f, #ff6b6b);
    border-radius: 2px;
}

.section-header p {
    color: #666;
    font-size: 1rem;
    margin-top: 15px;
}

.view-all-btn-wrapper {
    text-align: center;
    margin-top: 40px;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: transparent;
    border: 2px solid #d32f2f;
    color: #d32f2f;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.view-all-btn:hover {
    background: #d32f2f;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(211, 47, 47, 0.3);
}

/* Product Carousel Container */
.product-carousel-container {
    position: relative;
    padding: 0 40px;
}

.product-carousel {
    overflow: hidden;
    position: relative;
}

.product-carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 25px;
}

/* Carousel Items */
.deal-item, .product-item {
    flex-shrink: 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.deal-item {
    width: calc(16.666% - 21px); /* 6 items per row */
}

.product-item {
    width: calc(20% - 20px); /* 5 items per row */
}

.deal-item:hover, .product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

/* Carousel Navigation Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.carousel-arrow:hover {
    background: #d32f2f;
    border-color: #d32f2f;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-arrow.prev {
    left: 0;
}

.carousel-arrow.next {
    right: 0;
}

.carousel-arrow.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Deal Item Specific Styles */
.deal-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #d32f2f;
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    z-index: 2;
}

.deal-image, .product-image {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
    background: #f8f9fa;
}

.deal-image img, .product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.deal-item:hover .deal-image img,
.product-item:hover .product-image img {
    transform: scale(1.05);
}

.deal-content, .product-info {
    padding: 15px;
}

.deal-category, .product-brand {
    font-size: 12px;
    color: #d32f2f;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.deal-title, .product-name {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.4;
    min-height: 40px;
}

.deal-price, .product-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.current-price {
    font-size: 18px;
    font-weight: 800;
    color: #d32f2f;
}

.original-price {
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
}

.discount-badge {
    background: #ffebee;
    color: #d32f2f;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 8px;
}

.product-rating i {
    color: #ffc107;
    font-size: 12px;
}

.rating-count {
    font-size: 12px;
    color: #666;
}

.product-wishlist {
    position: absolute;
    top: 10px;
    right: 10px;
    background: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.product-wishlist:hover {
    background: #d32f2f;
    color: white;
}

.add-to-cart-btn, .shop-deal-btn {
    width: 100%;
    padding: 10px;
    background: #f0f0f0;
    color: #1a1a1a;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.add-to-cart-btn:hover, .shop-deal-btn:hover {
    background: #d32f2f;
    color: white;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .deal-item {
        width: calc(25% - 19px); /* 4 items per row */
    }
    .product-item {
        width: calc(25% - 19px); /* 4 items per row */
    }
}

@media (max-width: 992px) {
    .deal-item {
        width: calc(33.333% - 17px); /* 3 items per row */
    }
    .product-item {
        width: calc(33.333% - 17px); /* 3 items per row */
    }
}

@media (max-width: 768px) {
    .hot-deals-section, .recommended-section {
        padding: 40px 0;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .product-carousel-container {
        padding: 0 30px;
    }
    
    .deal-item, .product-item {
        width: calc(50% - 13px); /* 2 items per row */
    }
    
    .carousel-arrow {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .deal-item, .product-item {
        width: 100%; /* 1 item per row */
    }
    
    .product-carousel-container {
        padding: 0 20px;
    }
}



/* testimonial page */

/* Testimonials Section Styles */
.testimonials-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #d32f2f, #ff6b6b, #d32f2f);
}

.testimonials-header {
    text-align: center;
    margin-bottom: 50px;
}

.testimonials-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.testimonials-title:after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #d32f2f, #ff6b6b);
    border-radius: 2px;
}

.testimonials-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-top: 20px;
}

/* Testimonials Carousel */
.testimonials-carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.testimonials-carousel {
    overflow: hidden;
    flex: 1;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 30px;
}

/* Testimonial Card */
.testimonial-card {
    flex-shrink: 0;
    width: calc(33.333% - 20px);
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.testimonial-content {
    position: relative;
    margin-bottom: 25px;
}

.testimonial-quote-icon {
    position: absolute;
    top: -10px;
    left: -5px;
    font-size: 40px;
    color: #d32f2f;
    opacity: 0.15;
    z-index: 1;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    font-style: italic;
}

.testimonial-rating {
    display: flex;
    gap: 5px;
    margin-top: 15px;
}

.testimonial-rating i {
    color: #ffc107;
    font-size: 14px;
}

/* Testimonial Author */
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #d32f2f, #ff6b6b);
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    flex: 1;
}

.author-name {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.author-title {
    font-size: 13px;
    color: #d32f2f;
    margin: 0;
    font-weight: 500;
}

/* Carousel Navigation Arrows */
.testimonial-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.testimonial-arrow:hover {
    background: #d32f2f;
    border-color: #d32f2f;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.testimonial-arrow-prev {
    left: 0;
}

.testimonial-arrow-next {
    right: 0;
}

.testimonial-arrow.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

/* Carousel Dots/Indicators */
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.testimonial-dot.active {
    width: 30px;
    border-radius: 10px;
    background: #d32f2f;
}

.testimonial-dot:hover {
    background: #d32f2f;
    transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .testimonial-card {
        width: calc(50% - 15px);
    }
    
    .testimonials-carousel-container {
        padding: 0 50px;
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 60px 0;
    }
    
    .testimonials-title {
        font-size: 2rem;
    }
    
    .testimonials-subtitle {
        font-size: 1rem;
    }
    
    .testimonial-card {
        width: 100%;
        padding: 25px;
    }
    
    .testimonials-carousel-container {
        padding: 0 40px;
    }
    
    .testimonial-arrow {
        width: 35px;
        height: 35px;
    }
    
    .testimonial-text {
        font-size: 14px;
    }
    
    .author-avatar {
        width: 50px;
        height: 50px;
    }
    
    .author-name {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .testimonials-carousel-container {
        padding: 0 30px;
    }
    
    .testimonial-arrow {
        width: 30px;
        height: 30px;
    }
    
    .testimonial-card {
        padding: 20px;
    }
}