/* ==========================================================================
   Distrisur — tema de marca
   Rojo de marca #EC1C24 (logo y sitio institucional). Con texto blanco da
   4.4:1, así que --dst-primary usa un rojo apenas más oscuro (5.2:1, AA).
   El "navy" del tema original pasa a ser un grafito casi negro.
   ========================================================================== */
:root {
    --dst-brand: #EC1C24;
    --dst-primary: #D7141C;
    --dst-primary-hover: #B30F16;
    --dst-primary-soft: #FDECEC;
    --dst-navy: #1C1C21;
    --dst-navy-2: #2A2A31;
    --dst-ink: #18181B;
    --dst-muted: #5F6470;
    --dst-bg: #F6F6F7;
    --dst-border: #E6E6E9;
    --dst-success: #0E8A5F;
    --dst-warning: #B7791F;
    --dst-danger: #C53030;
    --dst-radius: 12px;
    --dst-radius-sm: 8px;
    --dst-shadow: 0 1px 2px rgba(24, 24, 28, .06), 0 4px 16px rgba(24, 24, 28, .06);
    --dst-shadow-lg: 0 12px 32px rgba(24, 24, 28, .14);
    --dst-header-h: 122px;
}

html {
    overflow-x: hidden;
}

body {
    background: #fff;
    color: var(--dst-ink);
}

.distriHome a:focus-visible,
.distriHome button:focus-visible {
    /* ct-styles.css anula el outline con !important; se restituye solo para teclado */
    outline: 3px solid rgba(236, 28, 36, .45) !important;
    outline-offset: 2px;
}

.dstInicio h1,
.dstInicio h2,
.dstInicio h3,
.dstFooter h3 {
    font-family: "Poppins", sans-serif;
}

.dstContainer {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.dstSkip {
    position: absolute;
    left: -9999px;
    top: 8px;
    z-index: 100;
    background: #fff;
    color: var(--dst-navy);
    padding: 8px 16px;
    border-radius: var(--dst-radius-sm);
}

    .dstSkip:focus {
        left: 8px;
    }

/* ---------- Barra superior ---------- */
.dstTopbar {
    background: var(--dst-navy);
    color: rgba(255, 255, 255, .85);
    font-size: 13px;
}

    .dstTopbar .dstContainer {
        display: flex;
        align-items: center;
        gap: 24px;
        min-height: 36px;
    }

    .dstTopbar a,
    .dstTopbar span {
        color: inherit;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        white-space: nowrap;
    }

        .dstTopbar a:hover {
            color: #fff;
            text-decoration: none;
        }

    .dstTopbar .dstTopbar__aviso + * {
        border-left: 1px solid rgba(255, 255, 255, .25);
        padding-left: 24px;
    }

    .dstTopbar .dstTopbar__cliente {
        margin-left: auto;
        color: #fff;
        font-weight: 500;
        max-width: 40ch;
        overflow: hidden;
        text-overflow: ellipsis;
    }

/* ---------- Header ---------- */
.dstHeader {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #fff;
    border-bottom: 1px solid var(--dst-border);
}

.dstHeader__main {
    display: flex;
    align-items: center;
    gap: 24px;
    height: 76px;
}

.dstBrand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    color: var(--dst-navy);
    cursor: pointer;
}

    .dstBrand:hover {
        text-decoration: none;
        color: var(--dst-navy);
    }

    .dstBrand img {
        height: 44px;
        width: auto;
    }

    .dstBrand span {
        display: flex;
        flex-direction: column;
        line-height: 1.15;
        font-weight: 600;
        font-size: 15px;
    }

    .dstBrand small {
        color: var(--dst-muted);
        font-weight: 400;
        font-size: 12px;
    }

.dstSearch {
    flex: 1;
    display: flex;
    max-width: 640px;
    margin: 0 auto;
    background: var(--dst-bg);
    border: 1px solid var(--dst-border);
    border-radius: 999px;
    transition: border-color .2s, box-shadow .2s, background .2s;
}

    .dstSearch:focus-within {
        background: #fff;
        border-color: var(--dst-brand);
        box-shadow: 0 0 0 4px rgba(236, 28, 36, .15);
    }

    .dstSearch input {
        flex: 1;
        min-width: 0;
        height: 46px;
        border: 0;
        background: transparent;
        padding: 0 20px;
        font-size: 15px;
        color: var(--dst-ink);
        outline: none;
    }

        .dstSearch input::placeholder {
            color: #8A8A93;
        }

    .dstSearch button {
        width: 46px;
        height: 46px;
        border: 0;
        border-radius: 999px;
        background: var(--dst-primary);
        color: #fff;
        font-size: 16px;
        margin: -1px -1px -1px 0;
        transition: background .2s;
    }

        .dstSearch button:hover {
            background: var(--dst-primary-hover);
        }

.dstActions {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.dstIconBtn {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 48px;
    padding: 0 8px;
    border: 0;
    border-radius: var(--dst-radius-sm);
    background: transparent;
    color: var(--dst-navy);
    font-size: 20px;
    cursor: pointer;
    transition: background .2s, color .2s;
}

    .dstIconBtn:hover,
    .dstIconBtn:focus {
        background: var(--dst-primary-soft);
        color: var(--dst-primary);
        text-decoration: none;
    }

    .dstIconBtn .dstIconBtn__label {
        font-size: 11px;
        font-weight: 500;
        margin-top: 2px;
        line-height: 1;
    }

    .dstIconBtn .dstBadge {
        position: absolute;
        top: 4px;
        right: 4px;
        min-width: 18px;
        height: 18px;
        padding: 0 5px;
        border-radius: 999px;
        background: var(--dst-primary);
        color: #fff;
        font-size: 11px;
        font-weight: 600;
        line-height: 18px;
        text-align: center;
    }

.dstHeader__menu {
    display: none;
}

.dstBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s, color .2s, border-color .2s, transform .2s;
}

    .dstBtn:hover {
        text-decoration: none;
    }

    .dstBtn:active {
        transform: translateY(1px);
    }

.dstBtn--primary {
    background: var(--dst-primary);
    color: #fff;
}

    .dstBtn--primary:hover,
    .dstBtn--primary:focus {
        background: var(--dst-primary-hover);
        color: #fff;
    }

.dstBtn--ghost {
    background: transparent;
    border-color: var(--dst-border);
    color: var(--dst-navy);
}

    .dstBtn--ghost:hover,
    .dstBtn--ghost:focus {
        border-color: var(--dst-primary);
        color: var(--dst-primary);
    }

.dstBtn--light {
    background: #fff;
    color: var(--dst-navy);
}

    .dstBtn--light:hover,
    .dstBtn--light:focus {
        background: var(--dst-primary-soft);
        color: var(--dst-navy);
    }

.dstBtn--outlineLight {
    background: transparent;
    border-color: rgba(255, 255, 255, .6);
    color: #fff;
}

    .dstBtn--outlineLight:hover,
    .dstBtn--outlineLight:focus {
        background: rgba(255, 255, 255, .12);
        color: #fff;
    }

/* Menú de usuario */
.dstUser {
    position: relative;
}

    .dstUser .dstUser__name {
        max-width: 110px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .dstUser .dropdown-menu {
        right: 0;
        left: auto;
        min-width: 220px;
        padding: 8px;
        margin-top: 6px;
        border: 1px solid var(--dst-border);
        border-radius: var(--dst-radius);
        box-shadow: var(--dst-shadow-lg);
    }

        .dstUser .dropdown-menu > li > a {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 12px;
            border-radius: var(--dst-radius-sm);
            color: var(--dst-ink);
            cursor: pointer;
        }

            .dstUser .dropdown-menu > li > a:hover {
                background: var(--dst-primary-soft);
                color: var(--dst-primary);
            }

        .dstUser .dropdown-menu i {
            width: 18px;
            text-align: center;
        }

/* Navegación principal */
.dstNav {
    border-top: 1px solid var(--dst-border);
}

    .dstNav .dstContainer {
        display: flex;
        align-items: center;
        gap: 4px;
        height: 46px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .dstNav a {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        height: 100%;
        padding: 0 14px;
        color: var(--dst-navy);
        font-size: 14px;
        font-weight: 500;
        white-space: nowrap;
        border-bottom: 2px solid transparent;
        cursor: pointer;
        transition: color .2s, border-color .2s;
    }

        .dstNav a:hover,
        .dstNav a.activo {
            color: var(--dst-primary);
            border-bottom-color: var(--dst-primary);
            text-decoration: none;
        }

    .dstNav .dstNav__sep {
        width: 1px;
        height: 20px;
        background: var(--dst-border);
        margin: 0 8px;
    }

    .dstNav .dstNav__destacado {
        margin-left: auto;
        color: var(--dst-primary);
    }

/* Sidebar / drawer: estilos de marca sobre la estructura existente */
.distriSidebar {
    background: var(--dst-navy);
}

    .distriSidebar .itemSidebar {
        cursor: pointer;
    }

        .distriSidebar .itemSidebar:hover {
            background-color: rgba(255, 255, 255, .1);
            color: #fff;
            text-decoration: none;
        }

    .distriSidebar .sidebarTitulo {
        color: rgba(255, 255, 255, .55);
        font-size: 11px;
        font-weight: 600;
        letter-spacing: .08em;
        text-transform: uppercase;
        margin: 12px 0 6px 8px;
    }

    .distriSidebar .seccionItemsSidebar {
        overflow-y: auto;
    }

.overlayModal {
    z-index: 20;
}

/* ---------- Landing (home.inicio) ---------- */
.dstInicio {
    background: #fff;
}

.dstSection {
    padding: 72px 0;
    scroll-margin-top: var(--dst-header-h);
}

.dstSection--alt {
    background: var(--dst-bg);
}

.dstEyebrow {
    display: inline-block;
    color: var(--dst-primary);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.dstSectionHead {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
}

    .dstSectionHead h2 {
        margin: 0;
        font-size: clamp(24px, 3vw, 34px);
        font-weight: 700;
        color: var(--dst-navy);
        letter-spacing: -.01em;
    }

    .dstSectionHead p {
        margin: 8px 0 0;
        color: var(--dst-muted);
        max-width: 60ch;
    }

.dstLink {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--dst-primary);
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}

    .dstLink:hover {
        color: var(--dst-primary-hover);
        text-decoration: none;
    }

        .dstLink:hover i {
            transform: translateX(3px);
        }

    .dstLink i {
        transition: transform .2s;
    }

/* Hero */
.dstHero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(900px 480px at 85% 20%, rgba(236, 28, 36, .55), transparent 60%),
        linear-gradient(135deg, var(--dst-navy) 0%, var(--dst-navy-2) 55%, #8E0B11 100%);
}

    .dstHero::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image:
            linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
        background-size: 48px 48px;
        mask-image: linear-gradient(to right, transparent, #000 40%, #000);
        -webkit-mask-image: linear-gradient(to right, transparent, #000 40%, #000);
    }

    .dstHero .dstContainer {
        position: relative;
        display: grid;
        grid-template-columns: 1.15fr .85fr;
        gap: 48px;
        align-items: center;
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .dstHero .dstEyebrow {
        color: #FF9EA2;
    }

    .dstHero h1 {
        color: #fff;
        margin: 0 0 20px;
        font-size: clamp(32px, 4.6vw, 54px);
        line-height: 1.08;
        font-weight: 700;
        letter-spacing: -.02em;
    }

        .dstHero h1 em {
            font-style: normal;
            color: #FF9EA2;
        }

    .dstHero .dstHero__lead {
        font-size: 18px;
        line-height: 1.6;
        color: rgba(255, 255, 255, .82);
        max-width: 52ch;
        margin: 0 0 32px;
    }

.dstHero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.dstHero__search {
    display: flex;
    max-width: 520px;
    margin-bottom: 20px;
    background: #fff;
    border-radius: 999px;
    padding: 6px;
    box-shadow: var(--dst-shadow-lg);
}

    .dstHero__search:focus-within {
        box-shadow: var(--dst-shadow-lg), 0 0 0 4px rgba(255, 158, 162, .45);
    }

    .dstHero__search input {
        flex: 1;
        min-width: 0;
        border: 0;
        outline: none;
        padding: 0 18px;
        font-size: 16px;
        color: var(--dst-ink);
        background: transparent;
    }

.dstHero__panel {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 20px;
    padding: 28px;
    backdrop-filter: blur(6px);
}

    .dstHero__panel h2 {
        color: rgba(255, 255, 255, .8);
        font-size: 15px;
        font-weight: 600;
        margin: 0 0 16px;
    }

.dstHero__lineas {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
}

    .dstHero__lineas a {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 18px;
        border-radius: var(--dst-radius);
        background: rgba(255, 255, 255, .95);
        color: var(--dst-navy);
        font-weight: 600;
        font-size: 15px;
        cursor: pointer;
        transition: transform .2s, box-shadow .2s;
    }

        .dstHero__lineas a:hover {
            transform: translateY(-2px);
            box-shadow: var(--dst-shadow-lg);
            text-decoration: none;
        }

        .dstHero__lineas a i {
            width: 40px;
            height: 40px;
            display: grid;
            place-items: center;
            border-radius: 10px;
            background: var(--dst-primary-soft);
            color: var(--dst-primary);
            font-size: 18px;
        }

        .dstHero__lineas a small {
            color: var(--dst-muted);
            font-weight: 400;
            font-size: 12px;
        }

/* Cifras */
.dstStats {
    border-bottom: 1px solid var(--dst-border);
}

    .dstStats .dstContainer {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
    }

.dstStat {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 28px 24px;
}

    .dstStat + .dstStat {
        border-left: 1px solid var(--dst-border);
    }

    .dstStat i {
        font-size: 26px;
        color: var(--dst-brand);
    }

    .dstStat strong {
        display: block;
        font-size: 22px;
        font-weight: 700;
        color: var(--dst-navy);
        line-height: 1.2;
    }

    .dstStat span {
        color: var(--dst-muted);
        font-size: 14px;
    }

/* Grilla de productos destacados */
.dstGrid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.dstCard {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--dst-border);
    border-radius: var(--dst-radius);
    overflow: hidden;
    cursor: pointer;
    transition: box-shadow .2s, transform .2s, border-color .2s;
}

    .dstCard:hover {
        box-shadow: var(--dst-shadow-lg);
        transform: translateY(-2px);
        border-color: transparent;
        text-decoration: none;
    }

.dstCard__img {
    position: relative;
    aspect-ratio: 4 / 3;
    background: #fff;
    display: grid;
    place-items: center;
    padding: 16px;
    border-bottom: 1px solid var(--dst-border);
}

    .dstCard__img img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

.dstCard__body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px;
    flex: 1;
}

.dstCard__marca {
    color: var(--dst-muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.dstCard__titulo {
    color: var(--dst-ink);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;
}

.dstCard__cod {
    color: var(--dst-muted);
    font-size: 13px;
}

.dstCard__precio {
    margin-top: auto;
    padding-top: 8px;
    color: var(--dst-navy);
    font-size: 18px;
    font-weight: 700;
}

.dstCard__login {
    margin-top: auto;
    padding-top: 8px;
    color: var(--dst-primary);
    font-size: 13px;
    font-weight: 500;
}

.dstTag {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.dstTag--oferta {
    background: #FDECEC;
    color: var(--dst-danger);
}

.dstTag--stock {
    background: #E7F6EF;
    color: var(--dst-success);
}

.dstSkeleton {
    background: linear-gradient(90deg, #F1F1F3 25%, #F8F8F9 50%, #F1F1F3 75%);
    background-size: 200% 100%;
    animation: dstShimmer 1.2s infinite;
    border-radius: 6px;
}

@keyframes dstShimmer {
    to {
        background-position: -200% 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dstSkeleton {
        animation: none;
    }

    .dstCard,
    .dstHero__lineas a,
    .dstLink i {
        transition: none;
    }
}

/* Empresa */
.dstEmpresa {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

    .dstEmpresa p {
        color: var(--dst-muted);
        font-size: 16px;
        line-height: 1.7;
    }

.dstChecks {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
    display: grid;
    gap: 12px;
}

    .dstChecks li {
        display: flex;
        gap: 12px;
        align-items: flex-start;
        color: var(--dst-ink);
        font-weight: 500;
    }

        .dstChecks li i {
            color: var(--dst-primary);
            margin-top: 3px;
        }

.dstPilares {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.dstEnvios {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.dstEnviosSection {
    position: relative;
    overflow: hidden;
    background-image: url('../images/dst/envios-mapa.webp');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain;
}

.dstPilar {
    background: #fff;
    border: 1px solid var(--dst-border);
    border-radius: var(--dst-radius);
    padding: 24px;
}

    .dstPilar i {
        font-size: 24px;
        color: var(--dst-brand);
        margin-bottom: 12px;
        display: block;
    }

    .dstPilar h3 {
        font-size: 16px;
        font-weight: 600;
        color: var(--dst-navy);
        margin: 0 0 6px;
    }

    .dstPilar p {
        font-size: 14px;
        line-height: 1.55;
        margin: 0;
    }

/* Banda CTA */
.dstCta {
    background: var(--dst-primary);
    color: #fff;
    border-radius: 20px;
    padding: 40px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

    .dstCta h2 {
        color: #fff;
        margin: 0 0 6px;
        font-size: 26px;
        font-weight: 700;
    }

    .dstCta p {
        margin: 0;
        color: rgba(255, 255, 255, .85);
    }

/* Contacto */
.dstContacto {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

    .dstContacto a,
    .dstContacto div {
        display: flex;
        flex-direction: column;
        gap: 6px;
        padding: 24px;
        border: 1px solid var(--dst-border);
        border-radius: var(--dst-radius);
        background: #fff;
        color: var(--dst-ink);
    }

    .dstContacto a:hover {
        border-color: var(--dst-primary);
        text-decoration: none;
    }

    .dstContacto i {
        font-size: 22px;
        color: var(--dst-primary);
        margin-bottom: 6px;
    }

    .dstContacto strong {
        color: var(--dst-navy);
    }

    .dstContacto span {
        color: var(--dst-muted);
        font-size: 14px;
    }

/* ---------- Footer ---------- */
.dstFooter {
    background: var(--dst-navy);
    color: rgba(255, 255, 255, .75);
    font-size: 14px;
}

    .dstFooter .dstFooter__top {
        display: grid;
        grid-template-columns: 1.4fr 1fr 1fr 1fr;
        gap: 40px;
        padding-top: 56px;
        padding-bottom: 40px;
    }

    .dstFooter h3 {
        color: #fff;
        font-size: 14px;
        font-weight: 600;
        margin: 0 0 16px;
    }

    .dstFooter ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: grid;
        gap: 10px;
    }

    .dstFooter a {
        color: inherit;
        cursor: pointer;
    }

        .dstFooter a:hover {
            color: #fff;
            text-decoration: none;
        }

    .dstFooter li i {
        width: 18px;
        color: #FF9EA2;
        margin-right: 6px;
    }

    .dstFooter .dstFooter__brand img {
        height: 40px;
        margin-bottom: 16px;
    }

    .dstFooter .dstFooter__brand p {
        line-height: 1.6;
        max-width: 36ch;
    }

    .dstFooter .dstFooter__bottom {
        border-top: 1px solid rgba(255, 255, 255, .12);
        padding-top: 20px;
        padding-bottom: 20px;
        display: flex;
        justify-content: space-between;
        gap: 16px;
        flex-wrap: wrap;
        font-size: 13px;
    }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .dstGrid {
        grid-template-columns: repeat(3, 1fr);
    }

    .dstIconBtn .dstIconBtn__label {
        display: none;
    }
}

@media (max-width: 991px) {
    :root {
        --dst-header-h: 116px;
    }

    .distriHome.sinBuscador {
        --dst-header-h: 64px;
    }

    .dstTopbar .dstTopbar__aviso {
        display: none;
    }

    .dstTopbar .dstTopbar__cliente {
        max-width: 55vw;
    }

    .dstHeader .dstHeader__main {
        height: auto;
        padding-top: 8px;
        padding-bottom: 8px;
        gap: 8px;
        flex-wrap: wrap;
    }

    .dstHeader__menu {
        display: inline-flex;
        order: -1;
    }

    .dstBrand img {
        height: 36px;
    }

    .dstBrand span {
        display: none;
    }

    .dstSearch {
        order: 10;
        flex-basis: 100%;
        max-width: none;
        margin: 0;
    }

        .dstSearch input,
        .dstSearch button {
            height: 44px;
        }

    .dstNav {
        display: none;
    }

    .dstUser .dstUser__name {
        display: none;
    }

    .dstHero .dstContainer {
        grid-template-columns: minmax(0, 1fr);
        padding-top: 48px;
        padding-bottom: 48px;
        gap: 32px;
    }

    .dstStats .dstContainer {
        grid-template-columns: repeat(2, 1fr);
    }

    .dstStat:nth-child(3) {
        border-left: 0;
    }

    .dstStat:nth-child(n+3) {
        border-top: 1px solid var(--dst-border);
    }

    .dstEmpresa {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .dstEnvios {
        grid-template-columns: 1fr 1fr;
    }

    .dstContacto {
        grid-template-columns: repeat(2, 1fr);
    }

    .dstFooter .dstFooter__top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .dstContainer {
        padding: 0 16px;
    }

    .dstSection {
        padding: 48px 0;
    }

    .dstSectionHead {
        flex-direction: column;
        align-items: flex-start;
    }

    .dstGrid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .dstCard__body {
        padding: 12px;
    }

    .dstCard__precio {
        font-size: 16px;
    }

    .dstHero__lineas a {
        padding: 14px;
        font-size: 14px;
    }

    .dstHero__panel {
        padding: 20px;
    }

    .dstStat {
        padding: 20px 12px;
        gap: 12px;
    }

        .dstStat strong {
            font-size: 18px;
        }

    .dstPilares,
    .dstEnvios,
    .dstContacto,
    .dstFooter .dstFooter__top {
        grid-template-columns: 1fr;
    }

    .dstSection.dstEnviosSection,
    .dstSection.dstSection--marcas {
        background-image: none;
    }

    .dstCta {
        padding: 28px 24px;
    }

    .dstIconBtn {
        min-width: 44px;
        padding: 0 4px;
    }

    .dstActions .dstBtn {
        height: 40px;
        padding: 0 16px;
        font-size: 14px;
    }

    .dstActions .dstBtn .dstBtn__largo,
    .dstHero__ctas .dstBtn--outlineLight {
        display: none;
    }
}

/* ---------- Catálogo: ajustes de marca sobre el markup existente ---------- */
.btnToggleMenu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #fff;
    color: var(--dst-navy);
    border-bottom: 1px solid var(--dst-border);
    font-size: 15px;
    font-weight: 600;
}

    .btnToggleMenu i {
        font-size: 18px;
        color: var(--dst-primary);
    }

.distriCatalogo .seccionProductos .listaProductos .producto {
    box-shadow: none;
    border: 1px solid var(--dst-border);
    transition: box-shadow .2s, transform .2s;
}

    .distriCatalogo .seccionProductos .listaProductos .producto:hover {
        box-shadow: var(--dst-shadow-lg);
        transform: translateY(-2px);
    }

    .distriCatalogo .seccionProductos .listaProductos .producto .stock {
        display: inline-flex;
        width: auto;
        height: 24px;
        margin: 4px 16px 0;
        padding: 0 10px;
        border-radius: 999px;
        font-size: 12px;
        font-weight: 600;
    }

        .distriCatalogo .seccionProductos .listaProductos .producto .stock.enStock {
            background-color: #E7F6EF;
            color: var(--dst-success);
        }

        .distriCatalogo .seccionProductos .listaProductos .producto .stock.consultar {
            background-color: #FEF6E0;
            color: #8A5A00;
        }

        .distriCatalogo .seccionProductos .listaProductos .producto .stock.sinStock {
            background-color: #FDEEE6;
            color: #B4461A;
        }

    .distriCatalogo .seccionProductos .listaProductos .producto .descripcionProducto p {
        color: var(--dst-muted);
        font-size: 13px;
    }

    .distriCatalogo .seccionProductos .listaProductos .producto .descripcionProducto .descripcion {
        color: var(--dst-ink);
        font-size: 13px;
    }

@media (prefers-reduced-motion: reduce) {
    .distriCatalogo .seccionProductos .listaProductos .producto {
        transition: none;
    }
}

/* Drawer lateral a pantalla completa (no depende del alto del header) */
.distriHome .distriSidebar {
    top: 0;
    height: 100%;
    z-index: 30;
    width: min(320px, 86vw);
    box-shadow: var(--dst-shadow-lg);
}

.dstDrawerHead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

    .dstDrawerHead img {
        height: 36px;
    }

    .dstDrawerHead .dstIconBtn {
        color: #fff;
    }

        .dstDrawerHead .dstIconBtn:hover {
            background: rgba(255, 255, 255, .1);
            color: #fff;
        }

.dstBackdrop {
    position: fixed;
    inset: 0;
    z-index: 29;
    background: rgba(24, 24, 28, .45);
}

/* ct-styles.css pinta de gris (#F8F8F8, con !important) todo input con foco;
   en los buscadores redondeados eso asoma como un rectángulo. El foco ya se
   marca en el contenedor (:focus-within). */
.dstSearch input:focus,
.dstHero__search input:focus {
    background-color: transparent !important;
}

/* ==========================================================================
   Modales (login, cerrar sesión, selección de cliente, confirmar pedido)
   ========================================================================== */
.overlayModal {
    padding: 16px;
    overflow-y: auto;
    background-color: rgba(24, 24, 28, .55);
}

.dstModal {
    box-sizing: border-box;
    position: relative;
    width: min(420px, 100%);
    margin: auto;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 24px 64px rgba(24, 24, 28, .3);
    padding: 36px 32px 28px;
    color: var(--dst-ink);
    font-family: "Poppins", sans-serif;
}

.dstModal--sm {
    width: min(380px, 100%);
}

.dstModal--lg {
    width: min(640px, 100%);
}

.dstModal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--dst-muted);
    font-size: 18px;
    transition: background .2s, color .2s;
}

    .dstModal__close:hover {
        background: var(--dst-bg);
        color: var(--dst-ink);
    }

.dstModal__head {
    text-align: center;
    margin-bottom: 24px;
}

.dstModal__head--left {
    text-align: left;
    padding-right: 32px;
}

.dstModal__head h2 {
    font-family: "Poppins", sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--dst-navy);
    margin: 0 0 6px;
}

.dstModal__head p {
    margin: 0;
    color: var(--dst-muted);
    font-size: 14px;
    line-height: 1.5;
}

.dstModal__logo {
    height: 40px;
    margin-bottom: 16px;
}

.dstModal__icon {
    display: inline-grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: var(--dst-primary-soft);
    color: var(--dst-primary);
    font-size: 22px;
}

.dstModal__actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 8px;
}

.dstModal--sm .dstModal__actions .dstBtn {
    flex: 1;
}

.dstModal__foot {
    margin: 20px 0 0;
    padding-top: 16px;
    border-top: 1px solid var(--dst-border);
    text-align: center;
    color: var(--dst-muted);
    font-size: 13px;
    line-height: 1.6;
}

    .dstModal__foot a {
        color: var(--dst-primary);
        font-weight: 500;
        white-space: nowrap;
    }

/* Formularios */
.dstForm {
    display: grid;
    gap: 16px;
}

.dstForm__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.dstField {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    margin: 0;
    min-width: 0;
}

    .dstField label {
        margin: 0;
        font-size: 13px;
        font-weight: 600;
        color: var(--dst-navy);
        font-family: "Poppins", sans-serif;
    }

        .dstField label small {
            font-weight: 400;
            color: var(--dst-muted);
        }

.dstField__ctrl {
    position: relative;
    display: flex;
    align-items: center;
    height: 48px;
    background: #fff;
    border: 1px solid #D4D4D8;
    border-radius: 10px;
    transition: border-color .2s, box-shadow .2s;
}

    .dstField__ctrl:focus-within,
    .dstSelect:focus,
    .dstTextarea:focus {
        border-color: var(--dst-brand) !important;
        box-shadow: 0 0 0 4px rgba(236, 28, 36, .15) !important;
        outline: none;
    }

    .dstField__ctrl > i {
        width: 44px;
        text-align: center;
        color: var(--dst-muted);
        flex-shrink: 0;
    }

    .dstField__ctrl input {
        flex: 1;
        min-width: 0;
        width: 100%;
        height: 100%;
        border: 0;
        padding: 0 12px 0 0;
        background: transparent;
        /* 16px evita el zoom automático de iOS al enfocar el campo */
        font-size: 16px;
        color: var(--dst-ink);
        outline: none;
    }

        .dstField__ctrl input:focus {
            background-color: transparent !important;
        }

.dstField__btn {
    width: 44px;
    height: 100%;
    border: 0;
    background: transparent;
    color: var(--dst-muted);
}

    .dstField__btn:hover {
        color: var(--dst-primary);
    }

.dstSelect,
.dstTextarea {
    width: 100%;
    max-width: 100%;
    border: 1px solid #D4D4D8;
    border-radius: 10px;
    background-color: #fff;
    font-size: 16px;
    color: var(--dst-ink);
    transition: border-color .2s, box-shadow .2s;
}

.dstSelect {
    height: 48px;
    padding: 0 12px;
}

.dstTextarea {
    min-height: 96px;
    padding: 12px;
    resize: vertical;
}

    .dstSelect:focus,
    .dstTextarea:focus {
        background-color: #fff !important;
    }

.dstAlert {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;
}

.dstAlert--error {
    background: #FDECEC;
    color: var(--dst-danger);
}

.dstBtn--block {
    width: 100%;
    height: 48px;
}

.dstBtn--sm {
    height: 36px;
    padding: 0 14px;
    font-size: 13px;
}

.dstBtn[disabled] {
    opacity: .55;
    cursor: not-allowed;
}

/* uib-typeahead envuelve el input en un div: que ocupe todo el campo (sin
   quitarle el position: relative, del que depende el hint) y que el
   desplegable cubra el ancho completo del campo, ícono incluido */
.dstModal .dstField__ctrl > div {
    flex: 1;
    min-width: 0;
    height: 100%;
}

.dstModal .dstField__ctrl > div > .dropdown-menu {
    top: calc(100% + 6px) !important;
    left: -44px !important;
    right: 0;
    width: auto;
    margin: 0;
}

/* Selección de cliente: opciones del typeahead */
.dstModal .dropdown-menu {
    width: 100%;
    max-height: 320px;
    overflow-y: auto;
    padding: 6px;
    border-radius: 12px;
    border: 1px solid var(--dst-border);
    box-shadow: var(--dst-shadow-lg);
}

    .dstModal .dropdown-menu > li > a.dstClienteOpcion {
        display: grid;
        grid-template-columns: 90px minmax(0, 1fr) auto;
        gap: 2px 12px;
        padding: 10px 12px;
        border-radius: 8px;
        white-space: normal;
    }

    .dstModal .dropdown-menu > .active > a.dstClienteOpcion,
    .dstModal .dropdown-menu > li > a.dstClienteOpcion:hover {
        background: var(--dst-primary-soft);
        color: var(--dst-ink);
    }

.dstClienteOpcion strong {
    grid-row: span 2;
    color: var(--dst-primary);
}

.dstClienteOpcion small {
    color: var(--dst-muted);
}

/* El CUIT va a la derecha, centrado entre nombre y domicilio */
.dstClienteOpcion small:last-of-type {
    grid-column: 3;
    grid-row: 1 / span 2;
    align-self: center;
    white-space: nowrap;
}

@media (max-width: 520px) {
    .dstModal .dropdown-menu > li > a.dstClienteOpcion {
        grid-template-columns: 90px minmax(0, 1fr);
    }

    .dstClienteOpcion small:last-of-type {
        grid-column: 2;
        grid-row: auto;
    }
}

/* ==========================================================================
   Encabezado de página (panel, carrito)
   ========================================================================== */
.dstPageHead {
    color: #fff;
    background:
        radial-gradient(700px 300px at 90% 0%, rgba(236, 28, 36, .5), transparent 60%),
        linear-gradient(135deg, var(--dst-navy) 0%, var(--dst-navy-2) 100%);
}

.dstPageHead__inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    padding-top: 40px;
    padding-bottom: 88px;
}

.dstPageHead--compact .dstPageHead__inner {
    padding-bottom: 16px;
}

.dstPageHead .dstEyebrow {
    color: #FF9EA2;
    margin-bottom: 6px;
}

.dstPageHead h1 {
    font-family: "Poppins", sans-serif;
    color: #fff;
    font-size: clamp(24px, 3.2vw, 34px);
    font-weight: 700;
    margin: 0;
}

.dstPageHead p {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, .78);
}

.dstPageHead__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Pestañas */
.dstTabs {
    display: flex;
    gap: 4px;
}

    .dstTabs a {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 12px 18px;
        border-radius: 12px 12px 0 0;
        color: rgba(255, 255, 255, .8);
        font-weight: 500;
        font-size: 14px;
        cursor: pointer;
    }

        .dstTabs a:hover {
            color: #fff;
            text-decoration: none;
            background: rgba(255, 255, 255, .08);
        }

        .dstTabs a.activo {
            background: var(--dst-bg);
            color: var(--dst-navy);
        }

.dstTabs__count {
    min-width: 22px;
    padding: 0 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
    font-size: 12px;
    line-height: 20px;
    text-align: center;
}

.dstTabs a.activo .dstTabs__count {
    background: var(--dst-primary);
    color: #fff;
}

/* ==========================================================================
   Panel
   ========================================================================== */
.dstPanel,
.dstCarrito {
    background: var(--dst-bg);
    min-height: calc(100vh - var(--dst-header-h));
}

.dstPanel__body {
    margin-top: -64px;
    padding-bottom: 64px;
}

.dstKpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.dstKpi {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--dst-border);
    border-radius: 16px;
    box-shadow: var(--dst-shadow);
    color: var(--dst-ink);
    transition: box-shadow .2s, transform .2s;
}

a.dstKpi:hover {
    box-shadow: var(--dst-shadow-lg);
    transform: translateY(-2px);
    text-decoration: none;
    color: var(--dst-ink);
}

.dstKpi__icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 12px;
    border-radius: 12px;
    background: var(--dst-primary-soft);
    color: var(--dst-primary);
    font-size: 18px;
}

.dstKpi__label {
    color: var(--dst-muted);
    font-size: 14px;
}

.dstKpi__valor {
    font-size: 28px;
    font-weight: 700;
    color: var(--dst-navy);
    min-height: 40px;
    display: flex;
    align-items: center;
}

.dstKpi__skeleton {
    display: block;
    width: 120px;
    height: 28px;
}

.dstKpi__link,
.dstKpi__hint {
    margin-top: 8px;
    font-size: 13px;
    font-weight: 500;
}

.dstKpi__link {
    color: var(--dst-primary);
}

.dstKpi__hint {
    color: var(--dst-muted);
    font-weight: 400;
}

.dstPanel__titulo {
    font-family: "Poppins", sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--dst-navy);
    margin: 40px 0 16px;
}

.dstAccesos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
}

.dstAcceso {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--dst-border);
    border-radius: 14px;
    color: var(--dst-ink);
    transition: border-color .2s, box-shadow .2s;
}

    .dstAcceso:hover {
        border-color: var(--dst-primary);
        box-shadow: var(--dst-shadow);
        text-decoration: none;
        color: var(--dst-ink);
    }

    .dstAcceso > span:nth-child(2) {
        display: flex;
        flex-direction: column;
        flex: 1;
        min-width: 0;
    }

    .dstAcceso strong {
        font-weight: 600;
        color: var(--dst-navy);
    }

    .dstAcceso small {
        color: var(--dst-muted);
        font-size: 13px;
    }

.dstAcceso__icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 12px;
    background: var(--dst-primary-soft);
    color: var(--dst-primary);
    font-size: 18px;
}

.dstAcceso__arrow {
    color: #A1A1AA;
    font-size: 13px;
    transition: transform .2s, color .2s;
}

.dstAcceso:hover .dstAcceso__arrow {
    color: var(--dst-primary);
    transform: translateX(3px);
}

/* ==========================================================================
   Carrito
   ========================================================================== */
.dstCarrito__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    align-items: start;
    padding-top: 24px;
    padding-bottom: 64px;
}

.dstCarrito__layout--solo {
    grid-template-columns: 1fr;
}

.dstToolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.dstToolbar__acciones {
    display: flex;
    gap: 8px;
}

.dstSearch--sm {
    flex: 1;
    max-width: 360px;
    margin: 0;
    background: #fff;
    align-items: center;
}

    .dstSearch--sm input {
        height: 40px;
        font-size: 14px;
        padding: 0 16px;
    }

        .dstSearch--sm input:focus {
            background-color: transparent !important;
        }

    .dstSearch--sm > i {
        padding: 0 16px;
        color: var(--dst-muted);
    }

.dstItems {
    display: grid;
    gap: 10px;
}

.dstItem {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr) auto 120px auto;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid var(--dst-border);
    border-radius: 14px;
    transition: opacity .2s, border-color .2s;
}

.dstItem--fuera {
    background: #FCFCFC;
}

    .dstItem--fuera .dstItem__img,
    .dstItem--fuera .dstItem__info,
    .dstItem--fuera .dstItem__subtotal {
        opacity: .6;
    }

.dstItem__img {
    display: grid;
    place-items: center;
    width: 80px;
    height: 80px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid var(--dst-border);
    overflow: hidden;
}

    .dstItem__img img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

.dstItem__info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.dstItem__titulo {
    color: var(--dst-ink);
    font-weight: 600;
    font-size: 14px;
    line-height: 1.35;
    cursor: pointer;
}

    .dstItem__titulo:hover {
        color: var(--dst-primary);
    }

.dstItem__meta,
.dstItem__unit {
    color: var(--dst-muted);
    font-size: 13px;
}

.dstItem__tags {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin: 2px 0;
}

    .dstItem__tags .fa-heart {
        color: var(--dst-primary);
        cursor: pointer;
        font-size: 15px;
        margin-left: 2px;
    }

.dstChip {
    padding: 2px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
}

.dstChip--stock {
    background: #E7F6EF;
    color: var(--dst-success);
}

.dstChip--consultar {
    background: #FEF6E0;
    color: #8A5A00;
}

.dstChip--sin {
    background: #FDEEE6;
    color: #B4461A;
}

.dstChip--oferta {
    background: #FDECEC;
    color: var(--dst-danger);
}

.dstItem__subtotal {
    text-align: right;
    font-weight: 700;
    color: var(--dst-navy);
    font-size: 16px;
    white-space: nowrap;
}

.dstItem__acciones {
    display: flex;
    align-items: center;
    gap: 2px;
}

/* Selector de cantidad (directiva sdt-cantidad) */
.dstItem__cant .cantWrapper {
    display: inline-flex;
    align-items: center;
    height: 40px;
    border: 1px solid #D4D4D8;
    border-radius: 999px;
    overflow: hidden;
    background: #fff;
}

    .dstItem__cant .cantWrapper .plusminus {
        width: 36px;
        height: 100%;
        border: 0;
        background: transparent;
        color: var(--dst-primary);
        font-size: 18px;
        font-weight: 600;
    }

        .dstItem__cant .cantWrapper .plusminus:hover {
            background: var(--dst-primary-soft);
        }

    .dstItem__cant .cantWrapper .spn {
        width: 36px;
        text-align: center;
        color: var(--dst-primary);
    }

    .dstItem__cant .cantWrapper .num {
        width: 48px;
        height: 100%;
        border: 0;
        text-align: center;
        font-weight: 600;
        color: var(--dst-ink);
        -moz-appearance: textfield;
    }

        .dstItem__cant .cantWrapper .num:focus {
            background-color: var(--dst-bg) !important;
            outline: none;
        }

        .dstItem__cant .cantWrapper .num::-webkit-inner-spin-button,
        .dstItem__cant .cantWrapper .num::-webkit-outer-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }

.dstCheck {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 8px 0 0;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--dst-navy);
    cursor: pointer;
    user-select: none;
}

    .dstCheck:hover {
        background: var(--dst-primary-soft);
    }

    .dstCheck input {
        width: 18px;
        height: 18px;
        margin: 0;
        accent-color: var(--dst-primary);
        cursor: pointer;
    }

.dstIconBtn--sm {
    min-width: 36px;
    height: 36px;
    font-size: 15px;
    color: var(--dst-muted);
}

.dstIconBtn--danger:hover,
.dstIconBtn--danger:focus {
    background: #FDECEC;
    color: var(--dst-danger);
}

.dstItems__sinResultados {
    padding: 24px;
    text-align: center;
    color: var(--dst-muted);
}

/* Resumen */
.dstResumen {
    position: sticky;
    top: calc(var(--dst-header-h) + 16px);
    padding: 24px;
    background: #fff;
    border: 1px solid var(--dst-border);
    border-radius: 16px;
    box-shadow: var(--dst-shadow);
}

    .dstResumen h2 {
        font-family: "Poppins", sans-serif;
        font-size: 18px;
        font-weight: 600;
        color: var(--dst-navy);
        margin: 0 0 16px;
    }

    .dstResumen dl {
        display: grid;
        gap: 8px;
        margin: 0 0 16px;
        font-size: 14px;
    }

        .dstResumen dl > div {
            display: flex;
            justify-content: space-between;
            gap: 12px;
        }

    .dstResumen dt {
        font-weight: 400;
        color: var(--dst-muted);
    }

    .dstResumen dd {
        color: var(--dst-ink);
        font-weight: 500;
    }

.dstResumen__pedido {
    padding-top: 16px;
    border-top: 1px dashed var(--dst-border);
}

.dstResumen .dstResumen__total {
    margin-top: 4px;
    font-size: 16px;
}

    .dstResumen .dstResumen__total dt {
        color: var(--dst-navy);
        font-weight: 600;
    }

    .dstResumen .dstResumen__total dd {
        color: var(--dst-navy);
        font-weight: 700;
        font-size: 20px;
    }

.dstResumen__nota {
    margin: 12px 0 0;
    font-size: 12px;
    color: var(--dst-muted);
    text-align: center;
}

/* Estado vacío */
.dstVacio {
    grid-column: 1 / -1;
    padding: 56px 24px;
    text-align: center;
    background: #fff;
    border: 1px dashed #D4D4D8;
    border-radius: 16px;
}

    .dstVacio h2 {
        font-family: "Poppins", sans-serif;
        font-size: 20px;
        font-weight: 600;
        color: var(--dst-navy);
        margin: 0 0 6px;
    }

    .dstVacio p {
        color: var(--dst-muted);
        margin: 0 0 20px;
    }

.dstVacio__icon {
    display: inline-grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: var(--dst-primary-soft);
    color: var(--dst-primary);
    font-size: 24px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

@media (max-width: 991px) {
    .dstCarrito__layout {
        grid-template-columns: 1fr;
    }

    .dstResumen {
        position: static;
        order: -1;
    }

    .dstKpis {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .dstModal {
        padding: 32px 20px 20px;
    }

    .dstForm__row {
        grid-template-columns: 1fr;
    }

    .dstKpi {
        padding: 16px 20px;
    }

    .dstKpi__icon {
        display: none;
    }

    .dstKpi__valor {
        font-size: 24px;
        min-height: 34px;
    }

    .dstPageHead__inner {
        padding-top: 28px;
        padding-bottom: 80px;
    }

    .dstItem {
        grid-template-columns: 64px minmax(0, 1fr);
        grid-template-areas:
            "img info"
            "cant subtotal"
            "acciones acciones";
        gap: 12px;
        padding: 12px;
    }

    .dstItem__img {
        grid-area: img;
        width: 64px;
        height: 64px;
    }

    .dstItem__info {
        grid-area: info;
    }

    .dstItem__cant {
        grid-area: cant;
    }

    .dstItem__subtotal {
        grid-area: subtotal;
    }

    .dstItem__acciones {
        grid-area: acciones;
        justify-content: flex-end;
        border-top: 1px solid var(--dst-border);
        padding-top: 8px;
    }

    .dstCheck {
        margin-right: auto;
    }

    .dstSearch--sm {
        max-width: none;
        flex-basis: 100%;
    }

    .dstTabs a {
        padding: 10px 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dstKpi,
    .dstAcceso__arrow,
    .dstItem {
        transition: none;
    }
}

/* ==========================================================================
   Mi cuenta: Mis datos, Mis pedidos, detalle de pedido
   ========================================================================== */
.dstCuenta {
    background: var(--dst-bg);
    min-height: calc(100vh - var(--dst-header-h));
}

.dstCuenta__body {
    padding-top: 24px;
    padding-bottom: 64px;
}

.dstCuenta__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 24px;
    align-items: start;
    padding-top: 24px;
    padding-bottom: 64px;
}

.dstPageHead__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: #FF9EA2;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

    .dstPageHead__back:hover,
    .dstPageHead__back:focus {
        color: #fff;
        text-decoration: none;
    }

.dstCard2 {
    background: #fff;
    border: 1px solid var(--dst-border);
    border-radius: 16px;
    padding: 28px;
    box-shadow: var(--dst-shadow);
}

    .dstCard2 h2 {
        font-family: "Poppins", sans-serif;
        font-size: 18px;
        font-weight: 600;
        color: var(--dst-navy);
        margin: 0 0 16px;
    }

.dstCard2 .dstCard2__desc {
    margin: -8px 0 20px;
    color: var(--dst-muted);
    font-size: 14px;
    line-height: 1.55;
}

.dstCard2 .dstCard2__nota {
    display: flex;
    gap: 10px;
    margin: 20px 0 0;
    padding: 12px 14px;
    border-radius: 10px;
    background: var(--dst-bg);
    color: var(--dst-muted);
    font-size: 13px;
    line-height: 1.5;
}

    .dstCard2__nota i {
        color: var(--dst-primary);
        margin-top: 3px;
    }

    .dstCard2__nota a {
        color: var(--dst-primary);
        font-weight: 500;
    }

.dstDatos {
    display: grid;
    gap: 0;
    margin: 0;
}

    .dstDatos > div {
        display: grid;
        grid-template-columns: 140px minmax(0, 1fr);
        gap: 12px;
        padding: 12px 0;
        border-bottom: 1px solid var(--dst-border);
    }

        .dstDatos > div:last-child {
            border-bottom: 0;
        }

    .dstDatos dt {
        color: var(--dst-muted);
        font-weight: 400;
        font-size: 14px;
    }

    .dstDatos dd {
        color: var(--dst-ink);
        font-weight: 500;
        overflow-wrap: anywhere;
    }

.dstField__ayuda {
    min-height: 18px;
    color: var(--dst-muted);
    font-size: 12px;
}

.dstField__ayuda--error {
    color: var(--dst-danger);
}

.dstField__ayuda--ok {
    color: var(--dst-success);
}

.dstField__ctrl--error {
    border-color: var(--dst-danger);
}

.dstField__ctrl--ok {
    border-color: var(--dst-success);
}

.dstField__ctrl--sm {
    height: 40px;
}

    .dstField__ctrl--sm input {
        padding-left: 12px;
    }

.dstForm__acciones {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 4px;
}

/* Mis pedidos */
.dstFechas {
    display: flex;
    gap: 12px;
}

    .dstFechas .dstField {
        width: 170px;
    }

.dstCuenta .dstToolbar__info {
    margin: 0;
    color: var(--dst-muted);
    font-size: 14px;
}

.dstExport {
    margin-left: auto;
}

    .dstExport .sdt-reporte {
        margin: 0;
    }

        .dstExport .sdt-reporte > .btn {
            height: 40px;
            border-color: var(--dst-border);
            background: #fff;
            color: var(--dst-navy);
            font-weight: 500;
        }

            .dstExport .sdt-reporte > .btn:first-child {
                border-radius: 999px 0 0 999px;
                padding-left: 16px;
            }

            .dstExport .sdt-reporte > .btn:last-child {
                border-radius: 0 999px 999px 0;
                padding-right: 14px;
            }

            .dstExport .sdt-reporte > .btn:hover {
                background: var(--dst-primary-soft);
                color: var(--dst-primary);
            }

        .dstExport .sdt-reporte .dropdown-menu {
            border-radius: 12px;
            border: 1px solid var(--dst-border);
            box-shadow: var(--dst-shadow-lg);
            padding: 6px;
        }

            .dstExport .sdt-reporte .dropdown-menu > li > a {
                border-radius: 8px;
                padding: 8px 12px;
            }

.dstNum {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.dstPedidos {
    display: grid;
    gap: 8px;
}

.dstPedidos__head,
.dstPedido {
    display: grid;
    grid-template-columns: 110px 140px minmax(0, 1fr) 90px 150px 20px;
    align-items: center;
    gap: 16px;
    padding: 0 20px;
}

.dstPedidos__head {
    color: var(--dst-muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding-bottom: 4px;
}

.dstPedido {
    min-height: 72px;
    padding-top: 14px;
    padding-bottom: 14px;
    background: #fff;
    border: 1px solid var(--dst-border);
    border-radius: 14px;
    color: var(--dst-ink);
    cursor: pointer;
    transition: border-color .2s, box-shadow .2s;
}

a.dstPedido:hover,
a.dstPedido:focus {
    border-color: var(--dst-primary);
    box-shadow: var(--dst-shadow);
    color: var(--dst-ink);
    text-decoration: none;
}

.dstPedido small {
    display: block;
    color: var(--dst-muted);
    font-size: 12px;
}

.dstPedido__num {
    font-weight: 700;
    color: var(--dst-primary);
}

.dstPedido__fecha {
    font-weight: 500;
}

.dstPedido__entrega {
    min-width: 0;
    font-size: 14px;
}

.dstPedido__obs {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-style: italic;
}

.dstPedido__items small {
    display: inline;
}

.dstPedido__importe {
    font-weight: 700;
    color: var(--dst-navy);
    font-size: 16px;
}

.dstPedido__arrow {
    color: #A1A1AA;
    font-size: 13px;
}

a.dstPedido:hover .dstPedido__arrow {
    color: var(--dst-primary);
}

/* Detalle de pedido: renglón sin acciones */
.dstItem--lectura {
    grid-template-columns: 80px minmax(0, 1fr) auto 140px;
}

.dstCantidad {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--dst-bg);
    font-weight: 600;
    color: var(--dst-navy);
    white-space: nowrap;
}

@media (max-width: 991px) {
    .dstCuenta__layout {
        grid-template-columns: 1fr;
    }

    .dstPedidos__head {
        display: none;
    }

    .dstPedido {
        grid-template-columns: auto minmax(0, 1fr) auto;
        grid-template-areas:
            "num fecha importe"
            "entrega entrega items";
        gap: 6px 12px;
        padding: 14px 16px;
    }

    .dstPedido__num {
        grid-area: num;
    }

    .dstPedido__fecha {
        grid-area: fecha;
    }

        .dstPedido__fecha small {
            display: inline;
        }

    .dstPedido__importe {
        grid-area: importe;
    }

    .dstPedido__entrega {
        grid-area: entrega;
    }

    .dstPedido__items {
        grid-area: items;
        align-self: end;
        color: var(--dst-muted);
        font-size: 13px;
    }

    .dstPedido .dstPedido__arrow {
        display: none;
    }
}

@media (max-width: 640px) {
    .dstCard2 {
        padding: 20px;
    }

    .dstDatos > div {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .dstFechas {
        width: 100%;
    }

        .dstFechas .dstField {
            flex: 1;
            width: auto;
            min-width: 0;
        }

    .dstExport {
        margin-left: 0;
    }

    .dstForm__acciones .dstBtn {
        flex: 1;
    }

    .dstItem--lectura {
        grid-template-columns: 64px minmax(0, 1fr);
        grid-template-areas:
            "img info"
            "cant subtotal";
    }
}

/* ==========================================================================
   Distrisur: secciones institucionales del inicio
   (categorías, marcas, novedades, historia, sucursales, contacto)
   ========================================================================== */

/* Marca en header y drawer: isotipo + nombre */
.dstBrand span {
    font-family: "Poppins", sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--dst-brand);
    letter-spacing: -.01em;
}

    .dstBrand span small {
        font-size: 11px;
        letter-spacing: .02em;
        margin-top: 2px;
    }

.dstBrand img {
    height: 42px;
}

.dstDrawerHead span {
    flex: 1;
    margin-left: 10px;
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-size: 20px;
    font-weight: 700;
}

.dstTopbar .dstTopbar__sucursales {
    margin-left: auto;
}

.dstNav .dstNav__destacado + .dstNav__destacado {
    margin-left: 0;
}

/* Hero: diagonal roja como en el sitio anterior */
.dstHero {
    background:
        linear-gradient(115deg, transparent 0 58%, rgba(236, 28, 36, .9) 58% 100%),
        radial-gradient(700px 420px at 20% 10%, rgba(236, 28, 36, .25), transparent 60%),
        linear-gradient(135deg, var(--dst-navy) 0%, var(--dst-navy-2) 100%);
}

    .dstHero::after {
        content: "";
        position: absolute;
        right: -120px;
        bottom: -160px;
        width: 520px;
        height: 520px;
        background: url("../images/logo/distrisur_blanco.svg") no-repeat center / contain;
        opacity: .07;
        pointer-events: none;
    }

.dstHero__panel {
    background: rgba(24, 24, 28, .35);
}

.dstHero__todas {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
}

    .dstHero__todas:hover {
        color: #fff;
        text-decoration: underline;
    }

/* Carruseles con scroll-snap (categorías, historia) */
.dstCarrusel__nav {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.dstCarrusel__btn {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid var(--dst-border);
    border-radius: 999px;
    background: #fff;
    color: var(--dst-navy);
    transition: background .2s, color .2s, border-color .2s;
}

    .dstCarrusel__btn:hover,
    .dstCarrusel__btn:focus-visible {
        border-color: var(--dst-primary);
        background: var(--dst-primary);
        color: #fff;
    }

.dstCarrusel,
.dstTimeline {
    display: grid;
    grid-auto-flow: column;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 2px;
    padding: 4px 2px 16px;
    scrollbar-width: thin;
    overscroll-behavior-x: contain;
}

    .dstCarrusel:focus-visible,
    .dstTimeline:focus-visible {
        outline: 3px solid rgba(236, 28, 36, .45);
        outline-offset: 4px;
        border-radius: var(--dst-radius);
    }

.dstCarrusel {
    grid-auto-columns: calc((100% - 3 * 16px) / 4);
}

.dstCategoria {
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 24px;
    min-height: 220px;
    border: 1px solid var(--dst-border);
    border-radius: 16px;
    background: #fff;
    color: var(--dst-ink);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}

    .dstCategoria::after {
        content: "";
        position: absolute;
        right: -40px;
        bottom: -40px;
        width: 120px;
        height: 120px;
        border-radius: 50%;
        background: var(--dst-primary-soft);
        transition: transform .3s;
    }

    .dstCategoria:hover {
        border-color: transparent;
        box-shadow: var(--dst-shadow-lg);
        transform: translateY(-2px);
        text-decoration: none;
        color: var(--dst-ink);
    }

        .dstCategoria:hover::after {
            transform: scale(1.4);
        }

    .dstCategoria strong {
        font-family: "Poppins", sans-serif;
        font-size: 18px;
        color: var(--dst-navy);
        margin-top: 8px;
    }

    .dstCategoria small {
        color: var(--dst-muted);
        font-size: 14px;
        line-height: 1.45;
    }

.dstCategoria__icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--dst-primary);
    color: #fff;
    font-size: 26px;
}

.dstCategoria__ver {
    position: relative;
    z-index: 1;
    margin-top: auto;
    padding-top: 12px;
    color: var(--dst-primary);
    font-weight: 600;
    font-size: 14px;
}

/* Marcas: cinta continua, monocromática hasta pasar el mouse */
.dstSection--marcas {
    padding-bottom: 56px;
    background-image: url('../images/dst/marcas-fondo.webp');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain;
}

.dstLink--btn {
    border: 0;
    background: transparent;
    padding: 8px 0;
    font-size: 14px;
}

.dstMarcas {
    display: flex;
    overflow: hidden;
    padding-left: 48px;
    mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.dstMarcas__pista {
    display: flex;
    flex-shrink: 0;
    gap: 16px;
    padding: 8px 8px 8px 0;
    margin: 0;
    list-style: none;
    animation: dstMarquesina 50s linear infinite;
}

.dstMarcas:hover .dstMarcas__pista,
.dstMarcas:focus-within .dstMarcas__pista,
.dstMarcas--pausado .dstMarcas__pista,
.dstMarcas--espera .dstMarcas__pista {
    animation-play-state: paused;
}

.dstMarcas__pista a {
    display: grid;
    grid-template: minmax(0, 1fr) / minmax(0, 1fr);
    place-items: center;
    width: 168px;
    height: 88px;
    padding: 12px 16px;
    border: 1px solid var(--dst-border);
    border-radius: var(--dst-radius);
    background: #fff;
    cursor: pointer;
    transition: border-color .2s, box-shadow .2s;
}

    .dstMarcas__pista a img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        filter: grayscale(1);
        opacity: .55;
        transition: filter .25s, opacity .25s, transform .25s;
    }

    .dstMarcas__pista a:hover,
    .dstMarcas__pista a:focus-visible {
        border-color: var(--dst-brand);
        box-shadow: var(--dst-shadow);
    }

        .dstMarcas__pista a:hover img,
        .dstMarcas__pista a:focus-visible img {
            filter: none;
            opacity: 1;
            transform: scale(1.06);
        }

@keyframes dstMarquesina {
    to {
        transform: translateX(-100%);
    }
}

/* Novedades: una diapositiva por vez */
.dstSlides {
    /* Los banners del sitio anterior miden 1038 px de ancho: más grandes se ven borrosos */
    max-width: 1040px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: var(--dst-shadow);
    background: #fff;
}

.dstSlides__pista {
    display: flex;
    transition: transform .6s cubic-bezier(.4, 0, .2, 1);
}

.dstSlide {
    flex: 0 0 100%;
    display: block;
    aspect-ratio: 2000 / 860;
    background: #fff;
    cursor: pointer;
}

    .dstSlide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.dstSlides__dots {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 12px;
}

    .dstSlides__dots button {
        width: 32px;
        height: 32px;
        border: 0;
        background: transparent;
        display: grid;
        place-items: center;
    }

        .dstSlides__dots button::before {
            content: "";
            width: 10px;
            height: 10px;
            border-radius: 999px;
            background: #D4D4D8;
            transition: width .2s, background .2s;
        }

        .dstSlides__dots button.activo::before {
            width: 26px;
            background: var(--dst-primary);
        }

/* Nosotros */
.dstPilares {
    grid-template-columns: 1fr;
}

.dstPilar--destacado {
    background: var(--dst-primary);
    border-color: var(--dst-primary);
}

    .dstPilar--destacado i,
    .dstPilar--destacado h3,
    .dstPilar--destacado p {
        color: #fff;
    }

    .dstPilar--destacado p {
        color: rgba(255, 255, 255, .88);
    }

/* Historia: línea de tiempo horizontal */
.dstSection--oscura {
    background: var(--dst-navy);
}

    .dstSection--oscura .dstSectionHead h2 {
        color: #fff;
    }

    .dstSection--oscura .dstEyebrow {
        color: #FF9EA2;
    }

    .dstSection--oscura .dstCarrusel__btn {
        background: transparent;
        border-color: rgba(255, 255, 255, .3);
        color: #fff;
    }

        .dstSection--oscura .dstCarrusel__btn:hover {
            background: var(--dst-primary);
            border-color: var(--dst-primary);
        }

.dstTimeline {
    grid-auto-columns: minmax(220px, calc((100% - 3 * 16px) / 4));
    list-style: none;
    margin: 0;
    position: relative;
}

.dstHito {
    scroll-snap-align: start;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 4px;
    color: rgba(255, 255, 255, .75);
}

    /* Tramo de línea por hito, así la línea acompaña el scroll */
    .dstHito::before {
        content: "";
        position: absolute;
        top: 62px;
        left: 0;
        right: -16px;
        height: 2px;
        background: rgba(255, 255, 255, .2);
    }

    .dstHito:last-child::before {
        right: 0;
    }

.dstHito__anio {
    font-family: "Poppins", sans-serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
}

.dstHito__punto {
    position: relative;
    width: 16px;
    height: 16px;
    margin: 6px 0 10px;
    border-radius: 50%;
    background: var(--dst-brand);
    box-shadow: 0 0 0 5px rgba(236, 28, 36, .3);
}

.dstHito strong {
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-size: 17px;
}

.dstHito p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    max-width: 28ch;
}

/* Sucursales: mapa + ficha */
.dstSucursales {
    display: grid;
    grid-template-columns: minmax(240px, .7fr) 1.3fr;
    gap: 40px;
    align-items: center;
}

.dstMapa svg {
    width: 100%;
    max-height: 560px;
    display: block;
    overflow: visible;
}

.dstMapa__pais {
    fill: var(--dst-bg);
    stroke: #C9C9CF;
    stroke-width: 1;
    stroke-linejoin: round;
}

.dstMapa__rotulo {
    font-family: "Poppins", sans-serif;
    font-size: 6px;
    fill: var(--dst-muted);
}

.dstMapa__cobertura {
    fill: rgba(236, 28, 36, .08);
    stroke: rgba(236, 28, 36, .35);
    stroke-dasharray: 3 3;
    stroke-width: .8;
}

.dstMapa__pin {
    cursor: pointer;
    fill: var(--dst-primary);
}

    .dstMapa__pin .dstMapa__halo {
        fill: rgba(236, 28, 36, .18);
        transition: r .2s;
    }

    .dstMapa__pin text {
        font-family: "Poppins", sans-serif;
        font-size: 8px;
        font-weight: 600;
        fill: var(--dst-navy);
    }

    .dstMapa__pin.activo .dstMapa__halo {
        fill: rgba(236, 28, 36, .35);
        animation: dstPulso 1.8s ease-out infinite;
    }

    .dstMapa__pin.activo text {
        fill: var(--dst-primary);
    }

@keyframes dstPulso {
    0% { r: 6px; opacity: 1; }
    100% { r: 16px; opacity: 0; }
}

.dstSegmented {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: var(--dst-bg);
}

    .dstSegmented button {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        height: 40px;
        padding: 0 20px;
        border: 0;
        border-radius: 999px;
        background: transparent;
        color: var(--dst-muted);
        font-weight: 600;
        transition: background .2s, color .2s;
    }

        .dstSegmented button.activo {
            background: #fff;
            color: var(--dst-primary);
            box-shadow: var(--dst-shadow);
        }

.dstSucursal__card {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    border: 1px solid var(--dst-border);
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--dst-shadow);
}

.dstSucursal__mapa {
    width: 100%;
    height: 100%;
    min-height: 320px;
    border: 0;
    display: block;
    background: var(--dst-bg);
}

.dstSucursal__info {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

    .dstSucursal__info h3 {
        margin: 0;
        font-size: 22px;
        font-weight: 700;
        color: var(--dst-navy);
    }

.dstSucursal__dir {
    margin: 0;
    color: var(--dst-ink);
    font-weight: 500;
}

    .dstSucursal__dir i,
    .dstSucursal__horarios i {
        color: var(--dst-primary);
        width: 18px;
    }

    .dstSucursal__dir small {
        color: var(--dst-muted);
        margin-left: 22px;
    }

.dstSucursal__horarios {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 6px;
    color: var(--dst-muted);
    font-size: 14px;
}

.dstSucursal__acciones {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

/* CTA */
.dstSection--sinPadTop {
    padding-top: 0;
}

.dstCta__acciones {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Contacto: formulario + datos por sucursal */
.dstContactoLayout {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 32px;
    align-items: start;
}

.dstContactoForm {
    background: #fff;
    border: 1px solid var(--dst-border);
    border-radius: 16px;
    padding: 28px;
}

.dstInput {
    width: 100%;
    height: 48px;
    padding: 0 12px;
    border: 1px solid #D4D4D8;
    border-radius: 10px;
    background: #fff;
    font-size: 16px;
    color: var(--dst-ink);
    transition: border-color .2s, box-shadow .2s;
}

    .dstInput:focus {
        border-color: var(--dst-brand) !important;
        box-shadow: 0 0 0 4px rgba(236, 28, 36, .15) !important;
        background-color: #fff !important;
        outline: none;
    }

.dstField--error .dstInput,
.dstField--error .dstTextarea {
    border-color: var(--dst-danger);
}

.dstContactoForm__acciones {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.dstContactoForm__nota {
    margin: 0;
    color: var(--dst-muted);
    font-size: 13px;
}

.dstBtn--whatsapp {
    background: #128C4A;
    color: #fff;
}

    .dstBtn--whatsapp:hover,
    .dstBtn--whatsapp:focus {
        background: #0E7038;
        color: #fff;
    }

.dstContactoSucursales {
    display: grid;
    gap: 16px;
}

.dstContactoSuc {
    background: #fff;
    border: 1px solid var(--dst-border);
    border-radius: 16px;
    padding: 24px;
}

    .dstContactoSuc h3 {
        margin: 0 0 4px;
        font-size: 18px;
        font-weight: 700;
        color: var(--dst-navy);
    }

        .dstContactoSuc h3 i {
            color: var(--dst-primary);
        }

.dstContactoSuc__dir {
    color: var(--dst-muted);
    font-size: 14px;
    margin: 0 0 12px;
}

.dstContactoSuc dl {
    display: grid;
    gap: 10px;
    margin: 0 0 12px;
}

.dstContactoSuc dt {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--dst-muted);
}

.dstContactoSuc dd {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
    margin: 2px 0 0;
}

    .dstContactoSuc dd a {
        color: var(--dst-ink);
        font-weight: 600;
    }

        .dstContactoSuc dd a:hover {
            color: var(--dst-primary);
        }

.dstContactoSuc__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    padding-top: 12px;
    border-top: 1px solid var(--dst-border);
    font-size: 14px;
}

    .dstContactoSuc__links a {
        color: var(--dst-primary);
        font-weight: 600;
    }

.dstContactoSuc--link {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--dst-ink);
}

    .dstContactoSuc--link:hover {
        border-color: var(--dst-primary);
        text-decoration: none;
        color: var(--dst-ink);
    }

    .dstContactoSuc--link > i {
        font-size: 28px;
        color: var(--dst-primary);
    }

    .dstContactoSuc--link span {
        display: flex;
        flex-direction: column;
    }

    .dstContactoSuc--link small {
        color: var(--dst-muted);
    }

/* Footer */
.dstFooter__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

    .dstFooter .dstFooter__logo img {
        height: 40px;
        margin: 0;
    }

    .dstFooter__logo span {
        color: #fff;
        font-family: "Poppins", sans-serif;
        font-size: 24px;
        font-weight: 700;
    }

.dstFooter .dstFooter__wa {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    color: #fff;
    font-weight: 600;
}

.dstFooter__sucursales li {
    display: grid;
    gap: 4px;
}

    .dstFooter__sucursales li strong {
        color: #fff;
    }

/* Chat flotante (formulario simulado con opción de pasar a WhatsApp) */
.dstChat {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 15;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.dstChatBubble {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 56px;
    padding: 0 22px 0 18px;
    border: 0;
    border-radius: 999px;
    background: #128C4A;
    color: #fff;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(18, 140, 74, .35);
    transition: transform .2s, background .2s;
}

    .dstChatBubble i {
        font-size: 26px;
    }

    .dstChatBubble:hover,
    .dstChatBubble:focus {
        background: #0E7038;
        color: #fff;
        text-decoration: none;
        transform: translateY(-2px);
    }

.dstChatPanel {
    width: 340px;
    max-width: calc(100vw - 40px);
    max-height: calc(100vh - 140px);
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--dst-shadow-lg);
    overflow: hidden;
}

.dstChatPanel__header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: var(--dst-navy);
    color: #fff;
}

.dstChatPanel__avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #128C4A;
    font-size: 16px;
}

.dstChatPanel__header strong {
    display: block;
    font-size: 14px;
}

.dstChatPanel__header small {
    color: rgba(255, 255, 255, .7);
    font-size: 12px;
}

.dstChatPanel__close {
    margin-left: auto;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 16px;
    opacity: .8;
    cursor: pointer;
}

    .dstChatPanel__close:hover {
        opacity: 1;
    }

.dstChatPanel__body {
    padding: 16px;
    overflow-y: auto;
    display: grid;
    gap: 12px;
    background: var(--dst-bg);
}

.dstChatBurbuja {
    margin: 0;
    max-width: 90%;
    padding: 10px 14px;
    background: #fff;
    border: 1px solid var(--dst-border);
    border-radius: 14px 14px 14px 4px;
    font-size: 14px;
    color: var(--dst-ink);
}

.dstChatPanel__form {
    display: grid;
    gap: 12px;
}

.dstChatPanel__acciones {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

@media (prefers-reduced-motion: reduce) {
    .dstMarcas__pista {
        animation: none;
    }

    .dstMarcas {
        mask-image: none;
        -webkit-mask-image: none;
    }

        .dstMarcas .dstMarcas__pista {
            flex-wrap: wrap;
            justify-content: center;
            flex-shrink: 1;
        }

            .dstMarcas .dstMarcas__pista[aria-hidden="true"] {
                display: none;
            }

    .dstSlides__pista,
    .dstCategoria,
    .dstCategoria::after,
    .dstChatBubble {
        transition: none;
    }

    .dstMapa__pin.activo .dstMapa__halo {
        animation: none;
    }
}

@media (max-width: 1100px) {
    .dstCarrusel {
        grid-auto-columns: calc((100% - 2 * 16px) / 3);
    }

    .dstSucursal__card {
        grid-template-columns: 1fr;
    }

    .dstSucursal__mapa {
        min-height: 240px;
    }
}

@media (max-width: 991px) {
    .dstHero {
        background:
            linear-gradient(160deg, transparent 0 70%, rgba(236, 28, 36, .9) 70% 100%),
            linear-gradient(135deg, var(--dst-navy) 0%, var(--dst-navy-2) 100%);
    }

    .dstHero__panel {
        background: rgba(24, 24, 28, .92);
    }

    .dstTopbar .dstTopbar__sucursales {
        display: none;
    }

    .dstHeader .dstBrand span {
        display: flex;
        font-size: 20px;
    }

        .dstHeader .dstBrand span small {
            display: none;
        }

    .dstSucursales,
    .dstContactoLayout {
        grid-template-columns: 1fr;
    }

    .dstMapa {
        max-width: 320px;
        margin: 0 auto;
    }

    .dstChatBubble span {
        display: none;
    }

    .dstChatBubble {
        width: 56px;
        padding: 0;
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .dstCarrusel {
        grid-auto-columns: 78%;
    }

    .dstTimeline {
        grid-auto-columns: 70%;
    }

    .dstSectionHead .dstCarrusel__nav {
        display: none;
    }

    .dstContactoForm,
    .dstSucursal__info,
    .dstContactoSuc {
        padding: 20px;
    }

    .dstForm__row {
        grid-template-columns: 1fr;
    }

    .dstMapa {
        max-width: 200px;
    }

    /* El tema base lo oculta en móvil; acá es el CTA para nuevos clientes */
    .dstHero__ctas .dstBtn--outlineLight {
        display: inline-flex;
    }

    .dstMarcas__pista a {
        width: 132px;
        height: 72px;
    }

    .dstSlides__dots button {
        width: 28px;
    }
}

/* Volver arriba del catálogo: queda sobre el botón de chat (56px + 20px de margen) */
.btn-scroll-top {
    right: 23px;
    bottom: 92px;
    z-index: 14;
}

/* ---------- Lista de precios ---------- */
.dstPrecios__card {
    background: #fff;
    border: 1px solid var(--dst-border);
    border-radius: var(--dst-radius);
    box-shadow: var(--dst-shadow);
    padding: 24px;
}

    .dstPrecios__card + .dstPrecios__card {
        margin-top: 20px;
    }

.dstPrecios__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

    .dstPrecios__head h2 {
        font-family: "Poppins", sans-serif;
        font-size: 18px;
        font-weight: 600;
        color: var(--dst-navy);
        margin: 0;
    }

    .dstPrecios__head p {
        margin: 4px 0 0;
        color: var(--dst-muted);
        font-size: 14px;
    }

.dstPrecios__filtros {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 20px;
}

.dstPrecios__mas {
    margin-top: 20px;
}

#preciosCriterios {
    margin-top: 16px;
}

.dstPrecios__formatos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}

.dstFormato {
    display: grid;
    justify-items: start;
    gap: 2px;
    padding: 16px;
    text-align: left;
    font-family: inherit;
    background: #fff;
    border: 1px solid var(--dst-border);
    border-radius: var(--dst-radius);
    cursor: pointer;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}

    .dstFormato i {
        font-size: 26px;
        margin-bottom: 8px;
        color: var(--dst-muted);
    }

    .dstFormato strong {
        font-family: "Poppins", sans-serif;
        font-size: 15px;
        color: var(--dst-navy);
    }

    .dstFormato small {
        color: var(--dst-muted);
        font-size: 12px;
    }

    .dstFormato:hover:not([disabled]),
    .dstFormato:focus-visible {
        border-color: var(--dst-brand);
        box-shadow: var(--dst-shadow);
        transform: translateY(-2px);
    }

    .dstFormato[disabled] {
        opacity: .5;
        cursor: progress;
    }

.dstFormato--pdf i { color: #D7141C; }
.dstFormato--excel i,
.dstFormato--csv i { color: var(--dst-success); }
.dstFormato--word i { color: #2B5797; }

@media (max-width: 640px) {
    .dstPrecios__card {
        padding: 16px;
    }

    .dstPrecios__filtros {
        grid-template-columns: minmax(0, 1fr);
    }

    .dstPrecios__formatos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ui-select (select2) con el aspecto de los campos del tema */
.dstPrecios .select2-container {
    width: 100%;
}

    .dstPrecios .select2-container .select2-choice {
        height: 48px;
        line-height: 46px;
        padding-left: 14px;
        font-size: 15px;
        color: var(--dst-ink);
        background: #fff;
        border: 1px solid #D4D4D8;
        border-radius: 10px;
        box-shadow: none;
    }

        .dstPrecios .select2-container .select2-choice .select2-chosen {
            margin-right: 40px;
        }

        .dstPrecios .select2-container .select2-choice .select2-arrow {
            width: 40px;
            background: transparent;
            border-left: 0;
            border-radius: 0 10px 10px 0;
        }

    .dstPrecios .select2-container.select2-dropdown-open .select2-choice,
    .dstPrecios .select2-container.select2-container-active .select2-choice {
        border-color: var(--dst-primary);
        box-shadow: 0 0 0 3px rgba(236, 28, 36, .18);
    }

.dstPrecios .dstInput {
    /* ct-styles.css fuerza border-radius: 0 !important en todos los inputs */
    border-radius: 10px !important;
    font-size: 15px;
    padding: 0 14px;
}

/* Detalle de producto (escritorio): stock a todo el ancho y avisos al pie */
.distriDetalleItem .detalleItem .stockAncho {
    padding: 0 10px;
    margin-top: 10px;
}

.distriDetalleItem .detalleItem .avisos {
    display: flex;
    gap: 16px;
    padding: 0 10px;
    margin-top: 20px;
}

    .distriDetalleItem .detalleItem .avisos .disclaimer {
        flex: 1;
        width: auto;
        margin-top: 0;
    }

/* Favoritos: botón de compra dentro de la fila (mismo patrón que Guardados) */
.dstItem__cant .sdtBtnCompra {
    display: flex;
    gap: 6px;
    width: 200px;
    height: 40px;
}

    .dstItem__cant .sdtBtnCompra .cantidadStepper {
        flex: 0 0 112px;
        width: 112px;
        height: 40px;
    }

        .dstItem__cant .sdtBtnCompra .cantidadStepper input {
            text-align: right;
            padding-right: 8px;
            font-size: 16px;
        }

    .dstItem__cant .sdtBtnCompra button:not(.plusminus) {
        flex: 1 1 auto;
        min-width: 0;
        width: auto;
        height: 100%;
        border: 0;
        border-radius: 8px;
        background-color: var(--dst-primary);
    }

        .dstItem__cant .sdtBtnCompra button:not(.plusminus) i {
            font-size: 18px;
            color: #fff;
        }

@media (max-width: 767px) {
    .dstItem__cant .sdtBtnCompra {
        width: auto;
    }

        .dstItem__cant .sdtBtnCompra button:not(.plusminus) {
            flex: 0 0 52px;
        }
}

/* Con tres pestañas (Favoritos, Guardados, Pedido) no entran en celular: se desplazan */
@media (max-width: 767px) {
    .dstTabs {
        overflow-x: auto;
        scrollbar-width: none;
    }

        .dstTabs::-webkit-scrollbar {
            display: none;
        }

        .dstTabs a {
            flex: 0 0 auto;
            white-space: nowrap;
        }
}

/* ---------- Correcciones del cliente (2) ---------- */

/* Topbar y footer: punta roja suave (izquierda en inicio y catálogo, derecha en mi panel) */
.distriHome.enInicio .dstTopbar,
.distriHome.enCatalogo .dstTopbar {
    background: radial-gradient(min(560px, 60vw) 80px at 0% 50%, rgba(236, 28, 36, .7), transparent 100%), var(--dst-navy);
}

.distriHome.enInicio .dstFooter {
    background: radial-gradient(640px 360px at 0% 0%, rgba(236, 28, 36, .28), transparent 70%), var(--dst-navy);
}

.distriHome.enPanel .dstTopbar {
    background: radial-gradient(min(560px, 60vw) 80px at 100% 50%, rgba(236, 28, 36, .7), transparent 100%), var(--dst-navy);
}

.distriHome.enPanel .dstFooter {
    background: radial-gradient(640px 360px at 100% 100%, rgba(236, 28, 36, .28), transparent 70%), var(--dst-navy);
}

/* Familias con ícono propio (imagen) */
.dstHero__lineas a img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
}

.dstCategoria__icon:has(img) {
    background: transparent;
}

.dstCategoria__icon img {
    width: 100%;
    height: 100%;
    border-radius: 14px;
    object-fit: cover;
}

/* Footer: enlaces a redes debajo de WhatsApp, uno por línea */
.dstFooter .dstFooter__wa {
    display: flex;
    width: fit-content;
}

/* Contacto: el formulario ocupa todo el alto de la columna de sucursales */
.dstContactoLayout {
    align-items: stretch;
}

.dstContactoForm {
    display: flex;
    flex-direction: column;
}

    .dstContactoForm .dstField:has(.dstTextarea) {
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .dstContactoForm .dstTextarea {
        flex: 1;
        min-height: 96px;
    }

/* Encabezado móvil con sesión iniciada: menú, marca e iconos en una sola fila */
@media (max-width: 480px) {
    .dstHeader .dstHeader__main {
        gap: 4px;
    }

    .dstHeader .dstHeader__main:has(.dstUser) .dstBrand span {
        display: none;
    }

    .dstHeader .dstHeader__main:has(.dstUser) .dstActions {
        gap: 0;
    }

    .dstHeader .dstHeader__main:has(.dstUser) .dstIconBtn {
        min-width: 40px;
    }
}

/* Correcciones del cliente (3): carteles de stock en la ficha,
/* Correcciones del cliente (3): carteles de stock en la ficha,
sin hueco con "Oferta" */
.distriDetalleItem .detalleItem .cartaYAtributos .atributosProducto .fav,
sin hueco con "Oferta" */
.distriDetalleItem .detalleItem2 .cartaYAtributos .atributosYmarca_modelo .atributosProducto .fav {
    justify-content: flex-start;
    gap: 8px;
}

.distriDetalleItem .detalleItem .cartaYAtributos .atributosProducto .fav > sdt-corazon,
.distriDetalleItem .detalleItem2 .cartaYAtributos .atributosYmarca_modelo .atributosProducto .fav > sdt-corazon,
.distriDetalleItem .detalleItem .cartaYAtributos .atributosProducto .fav > .fa-heart,
.distriDetalleItem .detalleItem2 .cartaYAtributos .atributosYmarca_modelo .atributosProducto .fav > .fa-heart {
        margin-left: auto;
    }

.distriDetalleItem .detalleItem .cartaYAtributos .atributosProducto .stockItem,
.distriDetalleItem .detalleItem2 .cartaYAtributos .atributosYmarca_modelo .atributosProducto .stockItem {
    height: auto;
}

.distriDetalleItem .detalleItem .cartaYAtributos .atributosProducto .stockItem .hayStock,
.distriDetalleItem .detalleItem2 .cartaYAtributos .atributosYmarca_modelo .atributosProducto .stockItem .hayStock,
.distriDetalleItem .detalleItem .cartaYAtributos .atributosProducto .stockItem .consultar,
.distriDetalleItem .detalleItem2 .cartaYAtributos .atributosYmarca_modelo .atributosProducto .stockItem .consultar,
.distriDetalleItem .detalleItem .cartaYAtributos .atributosProducto .stockItem .sinStock,
.distriDetalleItem .detalleItem2 .cartaYAtributos .atributosYmarca_modelo .atributosProducto .stockItem .sinStock {
        padding: 5px 14px;
        border-radius: 999px;
        font-weight: 700;
    }

.distriDetalleItem .detalleItem .cartaYAtributos .atributosProducto .stockItem .hayStock,
.distriDetalleItem .detalleItem2 .cartaYAtributos .atributosYmarca_modelo .atributosProducto .stockItem .hayStock {
        background-color: #e7f6ef;
        color: #0e8a5f;
    }

.distriDetalleItem .detalleItem .cartaYAtributos .atributosProducto .stockItem .consultar,
.distriDetalleItem .detalleItem2 .cartaYAtributos .atributosYmarca_modelo .atributosProducto .stockItem .consultar {
        background-color: #fef6e0;
        color: #8a5a00;
    }

.distriDetalleItem .detalleItem .cartaYAtributos .atributosProducto .stockItem .sinStock,
.distriDetalleItem .detalleItem2 .cartaYAtributos .atributosYmarca_modelo .atributosProducto .stockItem .sinStock {
        background-color: #fdeee6;
        color: #b4461a;
    }

.distriDetalleItem .detalleItem .cartaYAtributos .atributosProducto .stockItem .oferta,
.distriDetalleItem .detalleItem2 .cartaYAtributos .atributosYmarca_modelo .atributosProducto .stockItem .oferta {
        padding: 5px 14px;
        border-radius: 999px;
    }

/* Código Distrisur destacado en el detalle del producto */
.distriDetalleItem .atributosProducto h4.codDistrisur strong {
    font-size: 1.25em;
    font-weight: 700;
    letter-spacing: .02em;
}

/* iOS hace zoom al enfocar campos con fuente menor a 16px */
@media (max-width: 991px) {
    input:not([type="checkbox"]):not([type="radio"]),
    select,
    textarea {
        font-size: 16px !important;
    }
}

/* Cliente seleccionado en Cobranzas */
.dstClienteSel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
}

    .dstClienteSel h5 {
        margin: 0;
        font-weight: 700;
    }

    .dstClienteSel span {
        display: block;
        margin-top: 4px;
        color: var(--dst-muted);
    }
