.brand-mark,
.admin-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.brand-mark span,
.admin-brand span {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    color: #fff;
    background: var(--color-primary);
    font-weight: 800;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font-weight: 700;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button svg {
    width: 18px;
    height: 18px;
}

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

.button-primary:hover {
    background: var(--color-primary-soft);
}

.button-outline {
    color: var(--color-primary);
    border-color: rgba(45, 19, 118, 0.18);
    background: #fff;
}

.button-outline:hover {
    border-color: rgba(45, 19, 118, 0.34);
    background: #f5f2ff;
}

.button-soft {
    color: var(--color-text);
    border-color: var(--color-border);
    background: rgba(255, 255, 255, 0.06);
}

.button-light {
    color: var(--color-primary);
    background: #fff;
}

.button-light:hover {
    background: #f5f2ff;
}

.icon-button {
    position: relative;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.04);
    transition: background 0.18s ease, border-color 0.18s ease;
}

.icon-button:hover {
    border-color: rgba(110, 86, 201, 0.55);
    background: rgba(110, 86, 201, 0.12);
}

.icon-button svg {
    width: 19px;
    height: 19px;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--color-cyan);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
}

.badge-muted {
    color: var(--color-muted);
    border-color: var(--color-border);
    background: rgba(255, 255, 255, 0.04);
}

.toast-stack {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 80;
    display: grid;
    gap: 10px;
}

.toast {
    min-width: 240px;
    padding: 14px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-text);
    background: var(--color-card);
    box-shadow: var(--shadow-panel);
}

/* =====================================================
   FOOTER - CHAMOY SPORT
   Recomendado: pegar al final de assets/css/components.css
===================================================== */

.site-footer-full{
    margin-top:52px;
    padding:46px 0 22px;
    color:var(--theme-text-soft);
    background:#05080d;
    border-top:1px solid rgba(255,255,255,.06);
}

.footer-shell{
    width:min(1580px,calc(100% - 40px));
    margin:0 auto;
}

.footer-main{
    display:grid;
    grid-template-columns:minmax(280px,1.45fr) repeat(3,minmax(150px,.55fr));
    gap:48px;
    align-items:start;
}

/* MARCA */
.footer-brand-column{
    max-width:390px;
}

.footer-brand{
    display:inline-flex;
    align-items:center;
    gap:10px;
    color:#fff;
}

.footer-brand>span{
    display:grid;
    place-items:center;
    width:40px;
    height:40px;
    border-radius:11px;
    color:#fff;
    background:linear-gradient(135deg,#6d28d9,#312e81);
    font-weight:900;
}

.footer-brand strong{
    color:#fff;
    font-size:1rem;
}

.footer-brand-column>p{
    max-width:380px;
    margin:14px 0 0;
    color:#94a3b8;
    font-size:.88rem;
    line-height:1.65;
}

/* REDES */
.footer-socials{
    display:flex;
    align-items:center;
    gap:9px;
    margin-top:18px;
}

.footer-socials a{
    display:grid;
    place-items:center;
    width:38px;
    height:38px;
    border:1px solid rgba(255,255,255,.10);
    border-radius:10px;
    color:#cbd5e1;
    background:rgba(255,255,255,.025);
    transition:
        transform .18s ease,
        color .18s ease,
        border-color .18s ease,
        background .18s ease;
}

.footer-socials a:hover{
    transform:translateY(-2px);
    color:#fff;
    border-color:rgba(139,92,246,.55);
    background:rgba(124,58,237,.16);
}

.footer-socials svg{
    width:18px;
    height:18px;
}

/* COLUMNAS */
.footer-column{
    display:grid;
    align-content:start;
    gap:9px;
}

.footer-column h3{
    margin:0 0 7px;
    color:#fff;
    font-size:.76rem;
    font-weight:900;
    letter-spacing:.07em;
    text-transform:uppercase;
}

.footer-column a,
.footer-column span{
    width:max-content;
    max-width:100%;
    color:#cbd5e1;
    font-size:.86rem;
    line-height:1.45;
}

.footer-column a{
    transition:color .18s ease,transform .18s ease;
}

.footer-column a:hover{
    color:#a78bfa;
    transform:translateX(2px);
}

.footer-column span{
    color:#7f8a9b;
}

/* INFERIOR */
.footer-divider{
    height:1px;
    margin:30px 0 18px;
    background:rgba(255,255,255,.08);
}

.footer-bottom{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    color:#94a3b8;
    font-size:.78rem;
}

.footer-bottom-links{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    justify-content:flex-end;
    gap:16px;
}

.footer-bottom-links span{
    display:inline-flex;
    align-items:center;
    gap:5px;
    color:#7f8a9b;
}

.footer-bottom-links svg{
    width:14px;
    height:14px;
    color:#a78bfa;
}

/* FOOTER COMPACTO DEL ÁREA CLIENTE */
.site-footer-compact{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    width:min(1580px,calc(100% - 40px));
    margin:18px auto 0;
    padding:20px 0 26px;
    color:var(--theme-text-muted);
    border-top:1px solid var(--theme-border);
    background:transparent;
    font-size:.78rem;
}

/* MODO CLARO
   El footer completo se mantiene oscuro para dar cierre visual a la web.
   El compacto sí sigue el tema.
*/
html[data-theme="light"] .site-footer-compact{
    color:#94a3b8;
}

/* RESPONSIVE */
@media(max-width:1000px){
    .footer-main{
        grid-template-columns:1.3fr repeat(3,1fr);
        gap:28px;
    }
}

@media(max-width:820px){
    .footer-shell,
    .site-footer-compact{
        width:min(100% - 24px,1580px);
    }

    .footer-main{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:30px;
    }

    .footer-brand-column{
        grid-column:1 / -1;
        max-width:none;
    }

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

    .footer-bottom-links{
        justify-content:flex-start;
    }
}

@media(max-width:520px){
    .site-footer-full{
        margin-top:38px;
        padding:34px 0 18px;
    }

    .footer-shell,
    .site-footer-compact{
        width:min(100% - 20px,1580px);
    }

    .footer-main{
        grid-template-columns:1fr 1fr;
        gap:26px 20px;
    }

    .footer-brand-column{
        grid-column:1 / -1;
    }

    .footer-brand-column>p{
        font-size:.82rem;
    }

    .footer-column h3{
        font-size:.72rem;
    }

    .footer-column a,
    .footer-column span{
        font-size:.8rem;
    }

    .footer-bottom-links{
        display:grid;
        gap:7px;
    }

    .site-footer-compact{
        align-items:flex-start;
        flex-direction:column;
        gap:6px;
    }
}


.brand-mark .brand-logo {
    overflow: hidden;
    background: transparent;
}

.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.footer-brand>.brand-logo {
    overflow: hidden;
    background: transparent;
}