.productos-section {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.volver-link {
    margin-bottom: 1.5rem;
}

#marca-titulo {
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    line-height: 1.1;
    max-width: min(100%, 1100px);
    white-space: normal;
    overflow-wrap: anywhere;
}

.volver-link a {
    color: #8B0000;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.3s ease;
}

.volver-link a:hover {
    color: #5c0000;
    text-decoration: underline;
}

.productos-grid,
.productos-categoria-grid {
    display: grid;
    gap: 2rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
}

.productos-secciones {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    width: 100%;
    min-width: 0;
}

.productos-categoria {
    width: 100%;
    min-width: 0;
}

.productos-categoria-titulo {
    color: #111;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    line-height: 1.15;
    margin: 0 0 1.5rem;
    padding-bottom: 0.7rem;
    position: relative;
}

.productos-categoria-titulo::after {
    background: #b20c05;
    bottom: 0;
    content: "";
    height: 4px;
    left: 0;
    position: absolute;
    width: 72px;
}

.producto-card,
.producto-item {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 1.5rem 1rem;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: none;
    min-width: 0;
    overflow: hidden;
}

.producto-card:hover,
.producto-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.producto-card img,
.producto-item img {
    max-width: 100%;
    height: 160px;
    object-fit: contain;
    margin-bottom: 1rem;
    transition: transform 0.45s cubic-bezier(.25, .8, .25, 1), filter 0.45s ease;
    will-change: transform, filter;
}

.producto-card:hover img,
.producto-item:hover img {
    transform: scale(1.20) rotate(-2.5deg);
}

.producto-card:active img,
.producto-item:active img {
    transform: scale(0.97);
}

.producto-card h2,
.producto-item h2 {
    font-size: 1.25rem;
    color: #333;
    margin: 0.75rem 0 0.5rem;
    font-weight: 600;
    text-transform: none;
    line-height: 1.3;
    overflow-wrap: anywhere;
    white-space: normal;
}

.producto-card p,
.producto-item p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.4;
    overflow-wrap: anywhere;
    white-space: normal;
}

.productos-actions {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.productos-show-more {
    background: linear-gradient(135deg, #b20c05, #d32721);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 0.9rem 2.8rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 16px rgba(178, 12, 5, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.productos-show-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 22px rgba(178, 12, 5, 0.28);
}

.productos-show-more:active {
    transform: translateY(1px);
    box-shadow: 0 6px 12px rgba(178, 12, 5, 0.25);
}

.productos-show-more:focus-visible {
    outline: 3px solid rgba(211, 39, 33, 0.35);
    outline-offset: 3px;
}

@media (min-width: 1024px) {
    .productos-grid,
    .productos-categoria-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
}

@media (max-width: 768px) {
    #marca-titulo {
        font-size: clamp(1.65rem, 6vw, 2rem) !important;
        line-height: 1.1;
        max-width: calc(100vw - 48px);
        overflow-wrap: anywhere;
        white-space: normal;
    }

    .productos-section,
    .productos-grid {
        min-width: 0;
    }

    .site-wrapper {
        padding-left: 24px;
        padding-right: 24px;
    }

    .productos-grid,
    .productos-categoria-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.5rem;
    }

    .productos-secciones {
        gap: 2.25rem;
    }

    .productos-categoria-titulo {
        font-size: 1.65rem;
        margin-bottom: 1.1rem;
    }

    .producto-card,
    .producto-item {
        width: 100%;
        max-width: 100%;
        padding: 1.25rem 1rem;
    }

    .producto-card h2,
    .producto-item h2 {
        font-size: 1.1rem;
    }

    .producto-card h2,
    .producto-item h2,
    .producto-card p,
    .producto-item p {
        max-width: 100%;
        width: 100%;
        word-break: normal;
    }
}

.brand-idolo .producto-item img {
    height: 300px;
    max-height: 300px;
    width: auto;
    margin: 0 auto 1rem;
    display: block;
}
