/* Common Styles for Both Sliders */
.trending-section,
.sale-section {
    padding: 4rem 0;
    background-color: white;
    max-width: 1440px;
    margin: 0 auto;
}

/* Header */
.trending-header,
.sale-header {
    margin-bottom: 2.5rem;

}

.trending-title,
.sale-title {
    font-size: 1.875rem;
    color: #2E1500;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.trending-subtitle,
.sale-subtitle {
    font-size: 1rem;
    color: rgba(46, 21, 0, 0.6);
}

/* Slider Container */
.slider-container {
    position: relative;
}

/* Product Card Container */
.product-card-wrapper {
    max-width: 30rem;
    width: 100%;
    margin: 0 auto;
}

.product-card {
    transition: box-shadow 0.3s ease;
    border-radius: 8px;
    position: relative;
    padding: 0 10px;
}

.product-card:hover {
    box-shadow: 0 8px 30px rgba(46, 21, 0, 0.12);
}

/* Product Image */
.product-image-container {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    margin-bottom: 1rem;
    background-color: #f3f4f6;
}

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

.product-card:hover .product-image {
    transform: scale(1.05);
}

/* Sale Badge */
.sale-badge-slider {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: linear-gradient(135deg, #F56200, #FF8C00);
    color: white;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    z-index: 2;
}

/* Favorite Button */
.favorite-button-container {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    /* opacity: 0;*/
     transition: opacity 0.3s ease;
 }


 .product-card:hover .favorite-button-container {
   /*  opacity: 1;*/
}

.favorite-button {
    padding: 0.5rem;
    background-color: white;
    color: #2E1500;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-radius: 0;
}

.favorite-button:hover {
    background-color: #C9A961;
    color: white;
}

.favorite-button.active {
    background-color: #C9A961;
    color: white;
}

.favorite-icon {
    width: 1.25rem;
    height: 1.25rem;
    display: block;
    transition: all 0.3s ease;
}

.favorite-button.active .favorite-icon {
    fill: currentColor;
}

/* Product Info */
.product-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Price */
.product-price-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-price,
.sale-price {
    font-size: 1.125rem;
    font-weight: 600;
    color: #F56200;
}

.product-old-price,
.sale-old-price {
    font-size: 0.875rem;
    color: #9ca3af;
    text-decoration: line-through;
}

/* Product Name */
.product-name {
    color: #2E1500;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
    transition: color 0.3s ease;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card:hover .product-name {
    color: #F56200;
}

/* Sizes */
.product-sizes {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.size-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border: 1px solid rgba(46, 21, 0, 0.2);
    border-radius: 4px;
    color: rgba(46, 21, 0, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: transparent;
}

.size-badge:hover {
    border-color: #F56200;
    color: #F56200;
}

/* Colors */
.product-colors {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.color-button {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    border: 2px solid #d1d5db;
    cursor: pointer;
    transition: border-color 0.3s ease;
    background-color: transparent;
    padding: 0;
}

.color-button:hover {
    border-color: #F56200;
}

/* Cart Button */
.product-cart-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-top: 0.5rem;
    margin-bottom: 1rem;
}

.cart-button {

    padding: 0.75rem;
    background-color: #C9A961;
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    border-radius: 0;
}

.product-card:hover .cart-button {
    opacity: 1;
}

.cart-button:hover {
    background-color: #A88B4D;
}

.cart-icon {
    width: 1.25rem;
    height: 1.25rem;
    display: block;
}

/* Icons - Simple SVG replacements */
.icon {
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icon.fill {
    fill: currentColor;
}

.slick-prev,
.slick-next {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1;
    transition: all 0.3s ease;
       color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
}

.slick-prev:hover,
.slick-next:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.slick-prev:before {

    content: '\276E';
    font-size: 18px;
    opacity: 1;
}

.slick-next:before {

    content: '\276F';
    font-size: 18px;
    opacity: 1;
}


/*.slick-prev {*/
/*    left: -50px;*/
/*}*/

/*.slick-next {*/
/*    right: -50px;*/
/*}*/

/* Dots Styling */
.slick-dots {
    bottom: -40px;
    display: flex !important;
    justify-content: center;
    align-items: center;
}

.slick-dots li {
    margin: 0 4px;
    width: auto;
    height: auto;
}

.slick-dots li button {
    width: 20px;
    height: 7px;
    padding: 0;
    background: #E5E7EB;
     transition: all 0.3s ease;
}

.slick-dots li button:before {
    display: none;
}

.slick-dots li.slick-active button {
    width: 40px;
    background: #C9A961;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .slick-prev {
        left: -30px;
    }

    /*.slick-next {*/
    /*    right: -30px;*/
    /*}*/
}

@media (max-width: 767px) {
    .trending-section,
    .sale-section {
        padding: 2rem 0;
    }

    .trending-title,
    .sale-title {
        font-size: 1.5rem;
    }

    .slider-container {
        padding: 0 1rem;
    }

    .slick-prev,
    .slick-next {
        display: none !important;
    }
}
