.productos {
    width: 100%;
    background-color: var(--light-100);
}

.productos-wrapper {
    width: 100%;
    margin: 0 auto;
    text-align: center;
    padding: 3.5rem var(--spacing-md);
    max-width: 345px;

    @media (min-width: 768px) {
        padding: 2.8rem 0 2.5rem 0;
        max-width: 690px;
    }

    @media (min-width: 1024px) {
        max-width: 1060px;
        padding: 3.8rem 1.2rem 4.5rem 1.2rem;
    }

    @media (min-width: 1280px) {
        max-width: 1090px;
    }
}

.productos__title-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 0.8rem;

    @media (min-width: 768px) {
        gap: 2rem;
    }
}

.productos__line {
    flex: 1;
    max-width: 80px;
    height: 2px;
    background: linear-gradient(
        to right,
        transparent 0%,
        var(--primary) 30%,
        var(--secondary) 70%,
        transparent 100%
    );

    @media (min-width: 768px) {
        max-width: 150px;
    }
}

.productos__pretitle {
    display: inline-block;
    color: var(--primary);
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    white-space: nowrap;

    @media (min-width: 768px) {
        font-size: 2.15rem;
    }
}

.productos__subtitle {
    color: var(--dark-700);
    font-size: 0.95rem;
    margin-top: 0rem;
    font-weight: 300;
    width: 80%;
    margin: 0 auto;
    padding: 0.4rem 0rem;

    @media (min-width: 768px) {
        font-size: 1.05rem;
        width: 70%;
    }

    @media (min-width: 1024px) {
        width: 60%;
    }
}

.productos__title .highlight {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.productos__categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;

    @media (min-width: 768px) {
        margin-bottom: 4rem;
        gap: 1.3rem;
    }

    @media (min-width: 1024px) {
        margin-bottom: 5rem;
        gap: 2.2rem;
    }

    @media (min-width: 1280px) {
        margin-bottom: 5.8rem;
    }
}

.productos__category-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.1rem 1rem;
    background: white;
    min-width: 115px;
    max-width: 115px;
    border: 2px solid var(--light-300);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--dark-700);

    @media (min-width: 768px) {
        padding: 1rem 1.2rem 0.5rem 1.2rem;
        font-size: 0.88rem;
        min-width: 120px;
        max-width: 120px;
    }

    @media (min-width: 1024px) {
        font-size: 0.95rem;
        padding: 1.2rem 1rem 1rem 1.2rem;
        min-width: 135px;
        max-width: 135px;
    }
}

.productos__category-btn i {
    font-size: 1.65rem;
    color: var(--dark-700);
    transition: all 0.3s ease;

    @media (min-width: 768px) {
        font-size: 2rem;
    }
}

.productos__category-btn:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.15);
}

.productos__category-btn:hover i {
    color: var(--primary);
    transform: scale(1.1);
}

.productos__category-btn--active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.3);
}

.productos__category-btn--active i {
    color: white;
}

.productos__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    animation: fadeIn 0.5s ease;

    @media (min-width: 768px) {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.8rem 2.4rem;
    }

    @media (min-width: 1024px) {
        grid-template-columns: repeat(3, 1fr);
        gap: 3.2rem 2.6rem;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.productos__card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    animation: slideUp 0.6s ease backwards;
    cursor: pointer;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.productos__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.productos__card-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;

    @media (min-width: 768px) {
        height: 200px
    }
}

.productos__card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.productos__card:hover .productos__card-image img {
    transform: scale(1.05);
}

.productos__card-content {
    padding: 1.6rem;
}

.productos__card-title {
    font-size: 1.10rem;
    font-weight: 600;
    color: var(--dark-900);
    margin: 0 0 0.6rem 0;

    @media (min-width: 768px) {
        font-size: 1.25rem;
    }
}

.productos__card-brand {
    font-size: 0.95rem;
    color: var(--dark-700);
    margin: 0 0 1.6rem 0;
    font-weight: 500;
}

.productos__card-actions {
    display: flex;
    gap: 0.8rem;
}

.btn-cotizar,
.btn-ficha {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 0.5rem 0.8rem;
    border: none;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cotizar {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.btn-cotizar:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
}

.btn-ficha {
    background: white;
    color: var(--dark-900);
    border: 2px solid var(--light-300);
}

.btn-ficha:hover {
    background: var(--light-200);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-cotizar i,
.btn-ficha i {
    font-size: 1.2rem;

    @media (min-width: 768px) {
        font-size: 1.3rem;
    }

    @media (min-width: 1024px) {
        font-size: 1.4rem;
    }

    @media (min-width: 1280px) {
        font-size: 1.5rem;
    }

}

.fade-enter-active, .fade-leave-active {
    transition: opacity 0.3s ease;
}

.fade-enter, .fade-leave-to {
    opacity: 0;
}