.sas-lineas-wrapper,
.sas-lineas-wrapper *,
.sas-categorias-wrapper,
.sas-categorias-wrapper *,
.sas-destacados-novedades,
.sas-destacados-novedades *,
.sas-porque-elegir,
.sas-porque-elegir *,
.sas-marcas-strip,
.sas-marcas-strip * {
    box-sizing: border-box;
}

/* Aviso de exclusividad B2B */
.sas-exclusividad {
    background: #ffffff;
    padding: 0.25rem;
    text-align: center;
}

.sas-exclusividad-texto {
    color: #cc0000;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

/* Hero */
.sas-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 460px;
    background-color: #000000;
    padding: 0 1.5rem;
    gap: 2rem;
    overflow: hidden;
}

.sas-hero-contenido {
    position: relative;
    z-index: 1;
    flex: 0 0 45%;
    max-width: 560px;
}

.sas-hero-imagen {
    flex: 1;
    height: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.sas-hero-imagen img {
    width: 100%;
    height: auto;
    max-height: 460px;
    object-fit: contain;
    object-position: center;
}

.sas-hero-eyebrow {
    display: block;
    color: #e5e3da;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.sas-hero-titulo {
    color: #ffffff;
    font-size: 42px;
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
    margin: 0 0 16px;
    position: relative;
    padding-bottom: 16px;
}

.sas-hero-titulo::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 4px;
    background: #cc0000;
}

.sas-hero-texto {
    color: #b4b2a9;
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 28px;
}

.sas-hero-texto strong {
    color: #cc0000;
}

.sas-hero-botones {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.sas-hero-btn {
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.sas-hero-botones .sas-hero-btn--primario {
    background: #cc0000;
    color: #ffffff;
    border: 1px solid #cc0000;
}

.sas-hero-botones .sas-hero-btn--primario:hover {
    background: transparent;
    border-color: #ffffff;
}

.sas-hero-botones .sas-hero-btn--secundario {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.35);
}

.sas-hero-botones .sas-hero-btn--secundario:hover {
    border-color: #ffffff;
    background: rgba(255,255,255,0.08);
}

/* Líneas: Agro, Pesada, Vial */
.sas-lineas-wrapper {
    padding: 2rem 0;
}

.sas-lineas-header {
    padding: 0 1.5rem;
    margin-bottom: 1rem;
}

.sas-lineas-titulo {
    display: block;
    position: relative;
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    padding: 0 0 8px;
    margin: 0;
}

.sas-lineas-titulo::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: #cc0000;
}

.sas-lineas {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 0 1.5rem;
}

.sas-linea-card {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 280px;
    border-radius: 12px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    text-decoration: none;
}

.sas-linea-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,10,10,0.1) 0%, rgba(10,10,10,0.85) 100%);
    transition: background 0.25s ease;
}

.sas-linea-card:hover .sas-linea-overlay {
    background: linear-gradient(180deg, rgba(204,0,0,0.15) 0%, rgba(10,10,10,0.9) 100%);
}

.sas-linea-contenido {
    position: relative;
    z-index: 1;
    padding: 1.5rem;
    width: 100%;
}

.sas-linea-titulo {
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 6px;
}

.sas-linea-descripcion {
    color: #d3d1c7;
    font-size: 13px;
    line-height: 1.4;
    margin: 0 0 12px;
}

.sas-linea-cta {
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.4);
    padding: 6px 14px;
    border-radius: 20px;
    display: inline-block;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.sas-linea-card:hover .sas-linea-cta {
    border-color: #cc0000;
    background: #cc0000;
}

/* Categorías principales */
.sas-categorias-wrapper {
    padding: 2rem 1.5rem;
}

.sas-categorias-header {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding-bottom: 8px;
    margin-bottom: 1.25rem;
}

.sas-ver-catalogo-btn {
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.4);
    padding: 6px 14px;
    border-radius: 20px;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
}

.sas-ver-catalogo-btn:hover {
    background: #cc0000;
    color: #ffffff;
    border-color: #cc0000;
}

.sas-categorias-titulo {
    display: block;
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.sas-categorias-header::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: #cc0000;
}

.sas-categorias-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.sas-categoria-card {
    width: 100%;
    background: #ffffff;
    border-radius: 10px;
    padding: 1.25rem 1rem;
    text-align: center;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sas-categoria-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 25px rgba(204,0,0,0.5);
}

.sas-categoria-imagen {
    width: 100%;
    max-width: 200px;
    aspect-ratio: 1 / 1;
    margin: 0 auto 12px;
    border-radius: 8px;
    overflow: hidden;
}

.sas-categoria-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sas-categoria-nombre {
    display: block;
    color: #000000;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
}

.sas-categoria-link {
    display: block;
    color: #cc0000;
    font-size: 14px;
    font-weight: 600;
}

/* Destacados y Novedades */
.sas-destacados-novedades {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    gap: 2rem;
    padding: 2rem 1.5rem;
    overflow: hidden;
}

.sas-dn-columna {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.sas-dn-header {
    margin-bottom: 1rem;
}

.sas-dn-titulo {
    display: block;
    position: relative;
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    padding: 0 1.5rem 8px;
    margin: 0;
}

.sas-dn-titulo::after {
    content: '';
    position: absolute;
    left: 1.5rem;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: #cc0000;
}

.sas-dn-carousel {
    display: flex;
    align-items: stretch;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    flex: 1;
    min-width: 0;
}

.sas-dn-track-viewport {
    overflow: hidden;
    flex: 1;
    min-width: 0;
}

.sas-dn-track {
    display: flex;
    align-items: stretch;
    gap: 12px;
    height: 100%;
    transition: transform 0.5s ease;
}

.sas-dn-slide {
    flex: 0 0 calc((100% - 24px) / 3);
    max-width: calc((100% - 24px) / 3);
    min-width: 0;
    box-sizing: border-box;
    display: flex;
}

/* Override puntual de .sas-card SOLO dentro de este carrusel, para uniformarlas */
.sas-destacados-novedades .sas-card {
    box-sizing: border-box;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.sas-destacados-novedades .sas-card-image {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    flex-shrink: 0;
}

.sas-destacados-novedades .sas-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sas-destacados-novedades .sas-card-category{
    font-size: 16px;
}

.sas-destacados-novedades .sas-card-label {
    font-size: 16px;
}

.sas-destacados-novedades .sas-card-title {
    font-size: 20px;
    line-height: 1.3;
}

.sas-destacados-novedades .sas-card-description {
    font-size: 14px;
    flex: 1;
}

.sas-destacados-novedades .sas-dn-arrow {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    align-self: center;
    justify-content: center;
    transition: color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.sas-destacados-novedades .sas-dn-arrow:hover:not(:disabled) {
    color: #cc0000;
    background: transparent;
}

.sas-destacados-novedades .sas-dn-arrow:active,
.sas-destacados-novedades .sas-dn-arrow:focus,
.sas-destacados-novedades .sas-dn-arrow:focus-visible {
    background: transparent;
    outline: none;
}

.sas-destacados-novedades .sas-dn-arrow:disabled {
    opacity: 0.3;
    cursor: default;
    background: transparent;
}

.sas-destacados-novedades .sas-dn-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1rem;
}

.sas-destacados-novedades .sas-dn-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: #444;
    padding: 0;
    cursor: pointer;
    transition: background 0.2s ease;
}

.sas-destacados-novedades .sas-dn-dot.is-active {
    background: #cc0000;
}

/* ¿Por qué elegir SAS? */
.sas-porque-elegir {
    background: #000000;
    padding: 0.25rem 0rem;
}

.sas-porque-elegir .sas-porque-elegir-titulo {
    display: block;
    position: relative;
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    padding: 0 1.5rem 8px;
    margin-bottom: 10px;
}

.sas-porque-elegir .sas-porque-elegir-titulo::after {
    content: '';
    position: absolute;
    left: 1.5rem;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: #cc0000;
}

.sas-porque-elegir-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    width: 100%;
    margin: 0 auto;
}

.sas-porque-elegir-item {
    width: 100%;
    min-width: 0;
    text-align: center;
    padding: 0 1.5rem;
    position: relative;
}

.sas-porque-elegir-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    height: 85%;
    width: 1px;
    background: #555;
}

.sas-porque-elegir-icono {
    width: 55px;
    height: 55px;
    margin: 0 auto 5px;
}

.sas-porque-elegir-icono svg {
    width: 100%;
    height: 100%;
}

.sas-porque-elegir-item-titulo {
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 6px;
    overflow-wrap: break-word;
}

.sas-porque-elegir-item-texto {
    color: #7A7A7A;
    font-size: 14px;
    margin-bottom: 5px;
}

/* Evitar que las imagenes sean arrastables*/
.sas-marca-logo {
    -webkit-user-drag: none;
    user-select: none;
}

/* Listado de marcas distribuidas */
.sas-marcas-track--corta {
    display: flex;
    align-items: center;
    gap: 4rem;
    width: max-content;
    animation: sas-marquee 90s linear infinite;
}

.sas-marcas-track--corta .sas-marca-logo--distribuidas {
    height: 50px;
    width: auto;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

/* Listado de vehiculos compatibles */
.sas-marcas-strip {
    padding: 1.5rem 0;
    overflow: hidden;
}

.sas-marcas-titulo {
    display: block;
    position: relative;
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    padding: 0 1.5rem 8px;
    margin-bottom: 10px;
}

.sas-marcas-titulo::after {
    content: '';
    position: absolute;
    left: 1.5rem;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: #cc0000;
}

.sas-marcas-track {
    display: flex;
    align-items: center;
    gap: 4rem;
    width: max-content;
    animation: sas-marquee 120s linear infinite;
}

.sas-marcas-track .sas-marca-logo {
    height: 100px;
    width: auto;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.sas-marca-logo:hover {
    opacity: 1;
}

.sas-marca-logo {
    transition: opacity 0.3s ease;
}

@keyframes sas-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Responsive */
@media (max-width: 1024px) {
    .sas-destacados-novedades {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .sas-hero {
        flex-direction: column;
        align-items: flex-start;
        min-height: auto;
    }
    .sas-hero-contenido {
        flex: 1 1 auto;
        max-width: 100%;
        margin-top: 1.25rem;
    }
    .sas-hero-imagen {
        width: 100%;
        min-height: 240px;
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .sas-hero-titulo {
        font-size: 30px;
    }

    .sas-lineas {
        grid-template-columns: 1fr;
    }
    .sas-categorias-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .sas-categorias-header {
        flex-wrap: wrap;
        gap: 8px;
    }
    .sas-ver-catalogo-btn {
        font-size: 11px;
        padding: 4px 10px;
    }

    .sas-dn-slide {
        flex: 0 0 calc((100% - 16px) / 2);
        max-width: calc((100% - 16px) / 2);
    }

    .sas-porque-elegir-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem 0;
    }
    .sas-porque-elegir-item::after {
        display: none;
    }
    .sas-porque-elegir-item:nth-child(5) {
        grid-column: 1 / -1;
        max-width: 200px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .sas-dn-slide {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sas-marcas-track {
        animation: none;
        overflow-x: auto;
    }
}