main {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}


.slider-section {
    width: 100%;
    display: flex;
    align-items: center;
}

.slider-container {
    width: 100%;
    height: 100%;
    display: flex;
    margin-bottom: 50px;
}

.empty-space {
    width: 18%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.empty-space::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.slider-wrapper {
    width: 82%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    
}

.slider {
    width: 100%;
    max-width: 800px;
    height: 430px;
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.slider-track {
    width: 400%;
    height: 100%;
    display: flex;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
    width: 25%;
    height: 100%;
    position: relative;
}

.slide-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.slide-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
}

.slider-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
}

.control-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #2b2b2b;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.control-dot.active {
    background: #0080FF;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.control-dot:hover {
    background: #0080FF;
    transform: scale(1.1);
}

/* Indicador de progreso */
.progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: #2b2b2b;
    width: 100%;
}

.progress-fill {
    height: 100%;
    background: #0080FF;
    width: 0;
    transition: width 0.1s linear;
}


.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px;
}

.section {
    margin-bottom: 60px;
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    color: #2196F3;
    margin-bottom: 20px;
    border-left: 4px solid #2196F3;
    padding-left: 15px;
}

.section-parrafo {
    font-size: 16px;
    color: #2b2b2b;
    margin-bottom: 30px;
    line-height: 1.6;
    font-weight: 700;
}

.grid {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
}

.categories-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.products-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.category-card {
    text-align: center;
    cursor: pointer;
}

.img-cat {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 180px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 48px;
    color: #ddd;
}

.img-cat img {
    width: 160px;
    height: 160px;
    object-fit: contain;
    margin-bottom: 15px;
}

.category-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.category-subtitle {
    font-size: 14px;
    color: #666;
    font-weight: 700;
}

.grid-2 {
    display: flex;
}

.product-card {
    text-align: center;
    position: relative;
}

.product-image {
    width: 100%;
    height: 180px;
    border-radius: 8px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #ddd;
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    color: #0080FF;
    margin-bottom: 10px;
    font-weight: 700;
    text-align: left;
}

.product-prices {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.current-price {
    font-size: 18px;
    font-weight: 700;
    color: #2b2b2b;
}

.original-price {
    font-size: 14px;
    color: #999;
    font-weight: 700;
}

.grid-2 {
    display: grid;
    grid-template-columns: 25% 1fr;
    /* izquierda Starlink, derecha productos */
    gap: 20px;
    align-items: stretch;
}

/* Featured Starlink ocupa todo el alto */
.featured-section {
    background-image: url('../img/prod-dest.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 10px;
    color: #2b2b2b;
    text-align: center;
    padding: 40px;
    display: flex;
    flex-direction: column;
    height: 95%;
}

.grid-2-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 columnas desktop */
    gap: 20px;
}

.featured-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.featured-subtitle {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 20px;
    font-weight: 600;
}

.btn {
    background: #0080FF;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .section-title {
        font-size: 20px;
    }

    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }

    .grid-2 {
        grid-template-columns: 1fr;
        /* stack: primero Starlink, luego productos */
    }

    .featured-section {
        height: auto;
        /* ya no necesita ocupar alto fijo */
        padding: 25px;
    }

    .grid-2-row {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columnas en móvil */
    }

    .card {
        padding: 20px;
    }

    .featured-title {
        font-size: 24px;
    }

    .featured-section {
        padding: 25px;
    }
}

@media (max-width: 480px) {

    .categories-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .grid-2-row {
        grid-template-columns: 1fr; /* 1 columna en móviles pequeños */
    }

    .card {
        padding: 15px;
    }

    .section-title {
        font-size: 18px;
    }

    .featured-title {
        font-size: 20px;
    }
}





@media (max-width: 1280px) {
    .empty-space {
        width: 30%;
        height: auto;
    }

    .slider-wrapper {
        width: 70%;
        height: auto;
        padding: 20px;
    }

    .slider {
        height: 370px;
    }
}

@media (max-width: 1025px) {
    .empty-space {
        display: none;
    }

    .slider-wrapper {
        width: 100%;
        height: auto;
        padding: 40px 10px 10px 10px;
    }

    .slider {
        height: 450px;
    }

    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    }
}

@media (max-width: 540px) {
    .slider-wrapper {
        padding: 10px;
    }

    .slider {
        height: 200px;
    }

    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .featured-section {
        display: none;
    }
}