@charset "utf-8";
 
      

        /* ===== PRIMER CARRUSEL - BESTSELLERS ===== */
        .bestsellers-section {
			background: url("../img/fondo_prod.jpg");
            /*background-color: #f8f8f8;*/
            padding: 72px 0 92px;
        }

        .bestsellers-container {
            width: 100%;
            max-width: none;
            margin: 0 auto;
        }

        .section-header {
            text-align: center;
            margin-bottom: 58px;
        }

        .section-header h2 {
            font-size: 21px;
            font-weight: 400;
            letter-spacing: 0px;
            color: #2D2D2D;
            margin-bottom: 34px;
            text-transform: uppercase;
			font-family: Poppins;
        }

        .category-tabs {
            display: flex;
            justify-content: center;
            gap: 78px;
        }

        .tab-button {
            background: none;
            border: none;
            font-size: 42px;
            font-weight: 300;
            letter-spacing: 6px;
            color: #2D2D2D;
            cursor: pointer;
            padding: 0;
            transition: color 0.3s ease;
            text-transform: uppercase;
            position: relative;
			font-family: 'Sitka Text', Georgia, serif;
        }

        .tab-button.active {
            color: #333;
        }

        .tab-button.active::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 0;
            right: 0;
            height: 1px;
            background-color: #2D2D2D;
        }

        .tab-button:hover {
            color: #333;
        }

        .bestsellers-carousel-wrapper {
            position: relative;
            margin-top: 0;
            min-height: 0;
            padding: 0 24px;
        }

        .tab-content-wrapper {
            position: relative;
            min-height: 0;
        }

        .bestsellers-carousel-container {
            overflow-x: auto;
            overflow-y: hidden;
            scrollbar-width: none;
            -ms-overflow-style: none;
            scroll-behavior: smooth;
            padding-bottom: 6px;
            -webkit-overflow-scrolling: touch;
        }

        .bestsellers-carousel-container::-webkit-scrollbar {
            display: none;
        }

        .bestsellers-products-grid {
            display: flex;
            gap: 26px;
            padding: 0;
        }

        .tab-content {
            opacity: 0;
            position: absolute;
            width: 100%;
            visibility: hidden;
            transition: opacity 0.4s ease-in-out, visibility 0.4s;
        }

        .tab-content.active {
            opacity: 1;
            position: relative;
            visibility: visible;
        }

        .bestsellers-product-card {
            background-color: none;
            position: relative;
            transition: transform 0.3s ease;
            flex: 0 0 calc((100vw - 126px) / 4);
            width: calc((100vw - 126px) / 4);
            min-width: 0;
        }

        .bestsellers-product-card:hover {
            transform: translateY(-5px);
        }

        .bestsellers-product-image-container {
            position: relative;
            width: 100%;
            padding-top: 125%;
            background-color: #f0f0f0;
            overflow: hidden;
        }

        .bestsellers-product-image {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .bestsellers-product-card:hover .bestsellers-product-image {
            transform: scale(1.03);
        }

        .bestsellers-product-icons {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s ease;
            background-color: rgba(0, 0, 0, 0.1);
            pointer-events: none;
        }

        .bestsellers-product-icons .bestsellers-cart-btn {
            pointer-events: auto;
        }

        .bestsellers-product-image-container:hover .bestsellers-product-icons {
            opacity: 1;
        }

        .bestsellers-wishlist-btn {
            position: absolute;
            top: 15px;
            right: 15px;
            width: 40px;
            height: 40px;
			color: #2D2D2D;
            background-color: white;
            border: none;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            z-index: 2;
        }

        .bestsellers-wishlist-btn:hover {
            background-color: #2D2D2D;
            color: white;
        }

        .bestsellers-wishlist-btn.active {
            background-color: #e74c3c;
            color: white;
        }

        .bestsellers-wishlist-btn i {
            font-size: 17px;
        }

        .bestsellers-cart-btn {
            width: 50px;
            height: 50px;
            background-color: white;
            color: #2D2D2D;
            border: 1px solid #2D2D2D;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .bestsellers-cart-btn:hover {
            background-color: #2D2D2D;
            color: white;
            transform: scale(1.1);
        }

        .bestsellers-cart-btn i {
            font-size: 17px;
        }

        .bestsellers-product-info {
            padding: 28px 10px 0;
            text-align: center;
        }

        .bestsellers-product-name {
            font-size: 21px;
            font-weight: 400;
            letter-spacing: 1.5px;
            color: #2D2D2D;
            margin-bottom: 10px;
            text-transform: uppercase;
            line-height: 1;
			font-family: Poppins;
        }

        .bestsellers-product-price {
            font-size: 15px;
            font-weight: 400;
            color: #666;
            letter-spacing: 1px;
        }

        .bestsellers-carousel-nav {
            position: absolute;
            top: 41%;
            transform: translateY(-50%);
            left: 0;
            right: 0;
            display: flex;
            justify-content: space-between;
            pointer-events: none;
            z-index: 10;
            padding: 0 16px;
        }

        .bestsellers-carousel-btn {
            width: 55px;
            height: 55px;
            background-color: rgba(255, 255, 255, 0.95);
            border: 1px solid #e0e0e0;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            pointer-events: all;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }

        .bestsellers-carousel-btn:hover:not(:disabled) {
            background-color: #333;
            border-color: #333;
            color: white;
            transform: scale(1.05);
        }

        .bestsellers-carousel-btn i {
            font-size: 18px;
        }

        .bestsellers-carousel-btn:disabled {
            opacity: 0.3;
            cursor: not-allowed;
        }

        .cta-container {
            text-align: center;
            margin-top: 64px;
        }

        .cta-button {
            display: inline-block;
            padding: 18px 50px;
            background-color: #C0C0C0;
            color: #2D2D2D;
            text-decoration: none;
            font-size: 21px;
            font-weight: 400;
            letter-spacing: 0px;
            text-transform: uppercase;
            border: none;
            cursor: pointer;
            transition: all 0.3s ease;
            opacity: 1;
			font-family: Poppins;
        }

        .cta-button:hover {
            background-color: #2D2D2D;
			color: #C0C0C0;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        }

        /* ===== SEGUNDO CARRUSEL - SALES ===== */
        .sales-section {
            padding: 80px 20px;
            max-width: 1400px;
            margin: 0 auto;
            background: #fafafa;
        }

        .sales-title {
            text-align: center;
            font-size: 36px;
            font-weight: 300;
            letter-spacing: 8px;
            color: #2d2d2d;
            margin-bottom: 60px;
        }

        .sales-carousel-container {
            position: relative;
            overflow: hidden;
            padding: 0 60px;
        }

        .sales-carousel-wrapper {
            overflow: hidden;
        }

        .sales-carousel-track {
            display: flex;
            transition: transform 0.5s ease-in-out;
            gap: 30px;
        }

        .sales-product-card {
            flex: 0 0 320px;
            flex-shrink: 0;
        }

        .sales-product-image-container {
             height: 320px;
    padding: 0; /* quita padding grande */
    display: flex;
    align-items: center;
    justify-content: center;
            background: #f0f0f0;
         
            margin-bottom: 25px;
            overflow: hidden;
            transition: all 0.3s ease;
        }

        .sales-product-image-container:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }

        .sales-product-image {
            width: 100%;
            height: auto;
            display: block;
        }

        .sales-add-to-cart {
            position: absolute;
            bottom: 20px;
            right: 20px;
            width: 50px;
            height: 50px;
            background: #2d2d2d;
            border: none;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            opacity: 0;
            transform: translateY(10px);
        }

        .sales-product-image-container:hover .sales-add-to-cart {
            opacity: 1;
            transform: translateY(0);
        }

        .sales-add-to-cart:hover {
            background: #1a1a1a;
            transform: scale(1.1);
        }

        .sales-add-to-cart svg {
            width: 24px;
            height: 24px;
            fill: white;
        }

        .sales-product-info {
            text-align: center;
        }

        .sales-product-name {
            font-size: 13px;
            letter-spacing: 2px;
            color: #555;
            margin-bottom: 10px;
            line-height: 1.5;
            min-height: 40px;
        }

        .sales-product-price {
            font-size: 16px;
            color: #2d2d2d;
            font-weight: 400;
        }

        .sales-carousel-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 45px;
            height: 45px;
            background: white;
            border: 1px solid #ddd;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            z-index: 10;
        }

        .sales-carousel-nav:hover {
            background: #2d2d2d;
            border-color: #2d2d2d;
        }

        .sales-carousel-nav:hover svg {
            fill: white;
        }

        .sales-carousel-nav.prev {
            left: 0;
        }

        .sales-carousel-nav.next {
            right: 0;
        }

        .sales-carousel-nav svg {
            width: 20px;
            height: 20px;
            fill: #2d2d2d;
            transition: fill 0.3s ease;
        }

        .sales-carousel-nav:disabled {
            opacity: 0.3;
            cursor: not-allowed;
        }

        .sales-carousel-nav:disabled:hover {
            background: white;
            border-color: #ddd;
        }

        .sales-carousel-nav:disabled:hover svg {
            fill: #2d2d2d;
        }

        .sales-carousel-dots {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-top: 40px;
        }

        .sales-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: #ddd;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .sales-dot.active {
            background: #2d2d2d;
            width: 30px;
            border-radius: 5px;
        }

        /* ===== RESPONSIVE ===== */
        @media (max-width: 1024px) {
            .bestsellers-product-card {
                flex: 0 0 calc((100vw - 88px) / 3);
                width: calc((100vw - 88px) / 3);
            }

            .sales-product-card {
                min-width: calc(33.333% - 20px);
            }
        }

        @media (max-width: 768px) {
            .bestsellers-section {
                padding: 50px 0 70px;
            }

            .section-header h2 {
                font-size: 11px;
                letter-spacing: 2px;
                margin-bottom: 25px;
            }

            .category-tabs {
                gap: 25px;
            }

            .tab-button {
                font-size: 26px;
                letter-spacing: 3px;
            }

            .bestsellers-carousel-wrapper {
                margin-top: 0;
                min-height: auto;
                padding: 0 18px;
            }

            .bestsellers-product-card {
                flex: 0 0 calc((100vw - 66px) / 2);
                width: calc((100vw - 66px) / 2);
            }

            .bestsellers-products-grid {
                gap: 15px;
                padding: 0;
            }

            .bestsellers-carousel-btn {
                width: 45px;
                height: 45px;
            }

            .bestsellers-product-icons {
                opacity: 1;
                background-color: rgba(0, 0, 0, 0.03);
            }

            .sales-section {
                padding: 60px 15px;
            }

            .sales-title {
                font-size: 28px;
                letter-spacing: 5px;
                margin-bottom: 40px;
            }

            .sales-product-card {
                min-width: calc(50% - 15px);
            }

            .sales-carousel-container {
                padding: 0 45px;
            }

            .sales-add-to-cart {
                opacity: 1;
            }
        }

        @media (max-width: 480px) {
            .bestsellers-section {
                padding: 40px 0 60px;
            }

            .section-header h2 {
                font-size: 10px;
                letter-spacing: 1.5px;
                margin-bottom: 20px;
            }

            .category-tabs {
                gap: 20px;
            }

            .tab-button {
                font-size: 22px;
                letter-spacing: 2px;
            }

            .bestsellers-product-card {
                flex: 0 0 calc(100vw - 44px);
                width: calc(100vw - 44px);
            }

            .sales-title {
                font-size: 24px;
                letter-spacing: 4px;
            }

            .sales-product-card {
                min-width: 100%;
            }

            .sales-carousel-track {
                gap: 20px;
            }
        }
