/* =========================================================
   HEADER — VESTESUL ATACADO
========================================================= */

.site-header {
    position: relative;
    z-index: 1000;

    width: 100%;
    max-width: none;

    margin: 0;
    padding: 0;

    background: #FF8579;
    color: #ffffff;

    box-shadow:
        0 0 0 100vmax #FF8579;

    clip-path:
        inset(0 -100vmax);

    transition:
        background 0.25s ease,
        box-shadow 0.25s ease;
}


.site-header.scrolled {
    background: #FF8579;

    box-shadow:
        0 0 0 100vmax #FF8579,
        0 8px 30px rgba(255,133,121,0.14);
}


/* =========================================================
   CONTAINER GERAL
========================================================= */

.site-header .container {
    width: 94%;
    max-width: 1420px;

    margin-right: auto;
    margin-left: auto;
}


/* =========================================================
   FAIXA SUPERIOR
========================================================= */

.header-topbar {
    width: 100%;

    background: #FF8579;
}


.header-topbar-container {
    display: flex;

    min-height: 42px;

    align-items: center;
    justify-content: space-between;

    gap: 30px;

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.18);
}


/* =========================================================
   REDES SOCIAIS
========================================================= */

.header-socials {
    display: flex;

    align-items: center;

    gap: 19px;
}


.header-socials a {
    display: inline-flex;

    width: 25px;
    height: 25px;

    align-items: center;
    justify-content: center;

    color: #ffffff;

    text-decoration: none;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}


.header-socials a:hover {
    opacity: 0.72;

    transform: translateY(-1px);
}


.header-socials svg {
    display: block;

    width: 20px;
    height: 20px;
}


/* =========================================================
   ACOMPANHAR PEDIDO
========================================================= */

.header-track-order {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    color: #ffffff;

    font-size: 12px;
    font-weight: 900;
    line-height: 1;

    text-decoration: none;
    text-transform: uppercase;

    white-space: nowrap;

    transition:
        opacity 0.2s ease;
}


.header-track-order:hover {
    color: #ffffff;

    opacity: 0.78;
}


.header-track-icon {
    display: inline-flex;

    width: 22px;
    height: 22px;

    align-items: center;
    justify-content: center;
}


.header-track-icon svg {
    width: 20px;
    height: 20px;
}


/* =========================================================
   LINHA PRINCIPAL DESKTOP
========================================================= */

.header-main {
    width: 100%;

    background: #FF8579;
}


.header-main-container {
    display: flex;

    width: 94%;
    max-width: 1420px;

    min-height: 90px;

    align-items: center;

    gap: 22px;

    margin-right: auto;
    margin-left: auto;
}


/* =========================================================
   LOGO
========================================================= */

.logo {
    display: flex;

    width: 180px;

    flex:
        0
        0
        180px;

    align-items: center;
    justify-content: flex-start;

    text-decoration: none;
}


.logo img {
    display: block;

    width: 135px;
    max-width: 135px;

    height: auto;

    margin: 0;

    object-fit: contain;
}


/* =========================================================
   NAVEGAÇÃO DESKTOP
========================================================= */

.header-navigation-menu {
    display: flex;

    min-width: 0;

    flex:
        1
        1
        auto;

    align-items: center;
    justify-content: center;

    gap: clamp(
        22px,
        2vw,
        36px
    );
}


.header-navigation-menu a {
    position: relative;

    display: inline-flex;

    flex: 0 0 auto;

    align-items: center;

    color: #ffffff;

    font-size: 12px;
    font-weight: 900;
    line-height: 1;

    text-decoration: none;
    text-transform: uppercase;

    white-space: nowrap;

    transition:
        opacity 0.2s ease;
}


.header-navigation-menu a:hover {
    color: #ffffff;

    opacity: 0.76;
}


.header-navigation-menu a::after {
    position: absolute;

    right: 0;
    bottom: -9px;
    left: 0;

    height: 2px;

    border-radius: 999px;

    background: #ffffff;

    content: "";

    opacity: 0;

    transform: scaleX(0.5);

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}


.header-navigation-menu a:hover::after {
    opacity: 1;

    transform: scaleX(1);
}

/* =========================================================
   PERSONALIZE — DESKTOP
   MAIS COMPACTO PARA DAR RESPIRO AO "CONTATO"
========================================================= */

.header-private-label-btn {
    display: inline-flex;

    width: 205px;
    min-width: 205px;
    min-height: 64px;

    flex:
        0
        0
        205px;

    align-items: center;
    justify-content: center;

    gap: 10px;

    margin-left: 12px;

    padding:
        8px
        15px;

    border:
        1px solid
        rgba(255, 255, 255, 0.55);

    border-radius: 15px;

    background:
        rgba(255, 255, 255, 0.035);

    color: #ffffff;

    text-decoration: none;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}


.header-private-label-btn:hover {
    border-color: #ffffff;

    background:
        rgba(255, 255, 255, 0.09);

    color: #ffffff;

    transform:
        translateY(-2px);
}


.header-private-label-icon {
    display: inline-flex;

    width: 31px;
    height: 31px;

    flex:
        0
        0
        31px;

    align-items: center;
    justify-content: center;
}


.header-private-label-icon svg {
    width: 28px;
    height: 28px;
}


.header-private-label-text {
    display: flex;

    min-width: 0;

    flex-direction: column;

    align-items: flex-start;
}


.header-private-label-text strong {
    color: #ffffff;

    font-size: 12px;
    font-weight: 900;
    line-height: 1;

    text-transform: uppercase;

    white-space: nowrap;
}


.header-private-label-text small {
    margin-top: 4px;

    color:
        rgba(255, 255, 255, 0.88);

    font-size: 8px;
    font-weight: 800;
    line-height: 1;

    text-transform: uppercase;

    white-space: nowrap;
}

/* =========================================================
   CARRINHO — DESKTOP
========================================================= */

.header-cart {
    display: inline-flex;

    min-width: 205px;
    min-height: 72px;

    flex:
        0
        0
        auto;

    align-items: center;

    gap: 10px;

    padding-left: 24px;

    border-left:
        1px solid
        rgba(255, 255, 255, 0.28);

    color: #ffffff;

    font-size: 12px;
    font-weight: 900;
    line-height: 1;

    text-decoration: none;
    text-transform: uppercase;

    white-space: nowrap;
}


.header-cart:hover {
    color: #ffffff;
}


.header-cart-icon {
    display: inline-flex;

    width: 26px;
    height: 26px;

    flex:
        0
        0
        26px;

    align-items: center;
    justify-content: center;
}


.header-cart-icon svg {
    width: 24px;
    height: 24px;
}


.header-cart-label {
    color: #ffffff;

    white-space: nowrap;
}


.header-orcamento-count {
    display: inline-flex;

    min-width: 29px;
    height: 29px;

    flex:
        0
        0
        auto;

    align-items: center;
    justify-content: center;

    padding:
        0
        7px;

    border-radius: 999px;

    background: #ffffff;

    color: #FF8579;

    font-size: 11px;
    font-weight: 900;
    line-height: 1;
}


/* =========================================================
   AJUSTE PARA NOTEBOOK
========================================================= */

@media (max-width: 1250px) {

    .header-main-container {
        gap: 14px;
    }


    .logo {
        width: 145px;

        flex-basis: 145px;
    }


    .logo img {
        width: 115px;
        max-width: 115px;
    }


    .header-navigation-menu {
        gap: 17px;
    }


    .header-navigation-menu a {
        font-size: 10px;
    }


    .header-private-label-btn {
    width: 175px;
    min-width: 175px;

    flex-basis: 175px;

    min-height: 58px;

    gap: 8px;

    margin-left: 8px;

    padding:
        7px
        11px;
}


.header-private-label-icon {
    width: 26px;
    height: 26px;

    flex-basis: 26px;
}


.header-private-label-icon svg {
    width: 24px;
    height: 24px;
}


.header-private-label-text strong {
    font-size: 11px;
}


.header-private-label-text small {
    font-size: 7px;
}

/* =========================================================
   NOTEBOOK MAIS ESTREITO
========================================================= */

@media (max-width: 1050px) {

    .header-main-container {
        gap: 11px;
    }


    .logo {
        width: 125px;

        flex-basis: 125px;
    }


    .logo img {
        width: 105px;
        max-width: 105px;
    }


    .header-navigation-menu {
        gap: 13px;
    }


    .header-navigation-menu a {
        font-size: 9px;
    }


    .header-private-label-btn {
        width: 170px;
        min-width: 170px;

        flex-basis: 170px;
    }


    .header-cart {
        min-width: 150px;

        font-size: 9px;
    }

}
/* =========================================================
   MOBILE ESCONDIDO NO DESKTOP
========================================================= */

.menu-mobile,
.header-mobile-orcamento,
.mobile-menu-overlay,
.mobile-menu {
    display: none;
}


/* =========================================================
   NOTEBOOK GRANDE
========================================================= */

@media (max-width: 1320px) {

    .site-header .container {
        width: 95%;
    }


    .header-main-container {
        grid-template-columns:
            175px
            minmax(0, 1fr)
            195px
            auto;

        column-gap: 18px;
    }


    .logo {
        width: 175px;
    }


    .logo img {
        width: 135px;
        max-width: 135px;
    }


    .header-navigation-menu {
        gap: 20px;
    }


    .header-navigation-menu a {
        font-size: 11px;
    }


    .header-private-label-btn {
        min-width: 195px;
        min-height: 64px;

        padding:
            9px
            15px;
    }


    .header-private-label-icon {
        width: 31px;
        height: 31px;

        flex-basis: 31px;
    }


    .header-private-label-icon svg {
        width: 29px;
        height: 29px;
    }


    .header-private-label-text strong {
        font-size: 13px;
    }


    .header-private-label-text small {
        font-size: 9px;
    }


    .header-cart {
        gap: 7px;

        padding-left: 15px;

        font-size: 11px;
    }

}


/* =========================================================
   NOTEBOOK MENOR
========================================================= */

@media (max-width: 1100px) {

    .header-main-container {
        grid-template-columns:
            145px
            minmax(0, 1fr)
            175px
            auto;

        column-gap: 14px;
    }


    .logo {
        width: 145px;
    }


    .logo img {
        width: 118px;
        max-width: 118px;
    }


    .header-navigation-menu {
        gap: 15px;
    }


    .header-navigation-menu a {
        font-size: 10px;
    }


    .header-private-label-btn {
        min-width: 175px;

        padding:
            9px
            12px;
    }


    .header-private-label-text strong {
        font-size: 12px;
    }


    .header-private-label-text small {
        font-size: 8px;
    }


    .header-cart {
        padding-left: 12px;

        font-size: 10px;
    }


    .header-cart-icon {
        width: 23px;
        height: 23px;
    }


    .header-cart-icon svg {
        width: 22px;
        height: 22px;
    }

}


/* =========================================================
   MOBILE / TABLET
========================================================= */

@media (max-width: 900px) {


    /* =====================================================
       TOPBAR MOBILE
    ===================================================== */

    .header-topbar-container {
        min-height: 52px;

        gap: 12px;
    }


    .header-track-order {
        order: 1;

        font-size: 9px;
    }


    .header-socials {
        order: 2;

        gap: 13px;
    }


    .header-socials a {
        width: 20px;
        height: 20px;
    }


    .header-socials svg {
        width: 17px;
        height: 17px;
    }


    .header-track-icon {
        width: 18px;
        height: 18px;
    }


    .header-track-icon svg {
        width: 17px;
        height: 17px;
    }


    /* =====================================================
       HEADER PRINCIPAL MOBILE
    ===================================================== */

    .header-main-container {
        display: grid;

        grid-template-columns:
            46px
            minmax(0, 1fr)
            46px;

        min-height: 88px;

        align-items: center;

        column-gap: 10px;
    }


    /* =====================================================
       ESCONDE DESKTOP
    ===================================================== */

    .header-navigation-menu,
    .header-private-label-btn,
    .header-cart {
        display: none;
    }


    /* =====================================================
       LOGO MOBILE
    ===================================================== */

    .logo {
        width: auto;

        justify-self: center;
        justify-content: center;
    }


    .logo img {
        width: 120px;
        max-width: 120px;
    }


    /* =====================================================
       HAMBÚRGUER
    ===================================================== */

    .menu-mobile {
        display: flex;

        width: 44px;
        height: 44px;

        flex-direction: column;

        align-items: center;
        justify-content: center;

        gap: 5px;

        padding: 0;

        border: 0;

        background: transparent;

        cursor: pointer;
    }


    .menu-mobile span {
        display: block;

        width: 27px;
        height: 3px;

        border-radius: 999px;

        background: #ffffff;
    }


    /* =====================================================
       CARRINHO MOBILE
    ===================================================== */

    .header-mobile-orcamento {
        position: relative;

        display: inline-flex;

        width: 44px;
        height: 44px;

        align-items: center;
        justify-content: center;

        justify-self: end;

        color: #ffffff;

        text-decoration: none;
    }


    .header-mobile-orcamento-icon {
        display: inline-flex;

        align-items: center;
        justify-content: center;
    }


    .header-mobile-orcamento-icon svg {
        width: 25px;
        height: 25px;
    }


    .header-mobile-orcamento-count {
        position: absolute;

        top: -3px;
        right: -4px;

        display: inline-flex;

        min-width: 21px;
        height: 21px;

        align-items: center;
        justify-content: center;

        padding:
            0
            5px;

        border:
            2px solid
            #FF8579;

        border-radius: 999px;

        background: #ffffff;

        color: #FF8579;

        font-size: 9px;
        font-weight: 900;
        line-height: 1;
    }


    /* =====================================================
       OVERLAY
    ===================================================== */

    .mobile-menu-overlay {
        position: fixed;

        inset: 0;

        z-index: 1090;

        display: block;

        width: 100%;
        height: 100%;

        padding: 0;

        border: 0;

        background:
            rgba(3, 14, 32, 0.62);

        opacity: 0;
        visibility: hidden;

        pointer-events: none;

        transition:
            opacity 0.25s ease,
            visibility 0.25s ease;
    }


    /* =====================================================
       DRAWER MOBILE
    ===================================================== */

    .mobile-menu {
        position: fixed;

        top: 0;
        right: 0;

        z-index: 1100;

        display: block;

        width: min(390px, 94vw);
        height: 100dvh;

        background: #FF8579;

        color: #ffffff;

        visibility: hidden;

        transform:
            translateX(105%);

        transition:
            transform 0.3s ease,
            visibility 0.3s ease;
    }


    .mobile-menu-panel {
        display: flex;

        width: 100%;
        min-height: 100%;

        flex-direction: column;

        overflow-y: auto;

        overscroll-behavior: contain;
    }


    body.menu-open {
        overflow: hidden;
    }


    body.menu-open
    .mobile-menu-overlay {
        opacity: 1;
        visibility: visible;

        pointer-events: auto;
    }


    body.menu-open
    .mobile-menu {
        visibility: visible;

        transform: translateX(0);
    }


    /* =====================================================
       TOPO DO DRAWER
    ===================================================== */

    .mobile-menu-top {
        display: flex;

        min-height: 65px;

        align-items: center;
        justify-content: space-between;

        padding:
            0
            21px;

        border-bottom:
            1px solid
            rgba(255, 255, 255, 0.15);
    }


    .mobile-menu-title {
        color: #ffffff;

        font-size: 15px;
        font-weight: 900;

        text-transform: uppercase;
    }


    .mobile-menu-close {
        display: inline-flex;

        width: 39px;
        height: 39px;

        align-items: center;
        justify-content: center;

        padding: 0;

        border: 0;

        background: transparent;

        color: #ffffff;

        cursor: pointer;

        font-size: 29px;
        line-height: 1;
    }


    /* =====================================================
       PERSONALIZE MOBILE
    ===================================================== */

    .mobile-menu-private-label-btn {
        display: grid;

        grid-template-columns:
            45px
            minmax(0, 1fr);

        align-items: center;

        gap: 13px;

        margin:
            23px
            20px
            18px;

        padding:
            16px
            22px;

        border:
            1px solid
            rgba(255, 255, 255, 0.55);

        border-radius: 14px;

        background:
            rgba(255, 255, 255, 0.04);

        color: #ffffff;

        text-decoration: none;
    }


    .mobile-menu-private-label-icon {
        display: inline-flex;

        width: 44px;
        height: 44px;

        align-items: center;
        justify-content: center;
    }


    .mobile-menu-private-label-icon svg {
        width: 38px;
        height: 38px;
    }


    .mobile-menu-private-label-content {
        display: flex;

        flex-direction: column;
    }


    .mobile-menu-private-label-content strong {
        color: #ffffff;

        font-size: 17px;
        font-weight: 900;
        line-height: 1;

        text-transform: uppercase;
    }


    .mobile-menu-private-label-content small {
        margin-top: 5px;

        color:
            rgba(255, 255, 255, 0.85);

        font-size: 12px;
        font-weight: 800;

        text-transform: uppercase;
    }


    /* =====================================================
       LINKS MOBILE
    ===================================================== */

    .mobile-main-navigation {
        display: block;

        padding:
            0
            20px;
    }


    .mobile-main-navigation a {
        display: flex;

        min-height: 68px;

        align-items: center;

        border-bottom:
            1px solid
            rgba(255, 255, 255, 0.16);

        color: #ffffff;

        font-size: 15px;
        font-weight: 900;

        text-decoration: none;
        text-transform: uppercase;
    }


    .mobile-main-navigation a::before,
    .mobile-main-navigation a::after {
        display: none !important;

        content: none !important;
    }


    .mobile-main-navigation
    .mobile-menu-sobre {
        border-bottom: 0;
    }


    /* =====================================================
       RODAPÉ DRAWER
    ===================================================== */

    .mobile-menu-footer {
        margin-top: auto;

        padding: 20px;

        border-top:
            1px solid
            rgba(255, 255, 255, 0.15);
    }


    .mobile-menu-orcamento {
        display: flex;

        width: 100%;

        align-items: center;
        justify-content: space-between;

        gap: 14px;

        padding:
            14px
            16px;

        border:
            1px solid
            rgba(255, 255, 255, 0.3);

        border-radius: 14px;

        background:
            rgba(255, 255, 255, 0.05);

        color: #ffffff;

        text-decoration: none;
    }


    .mobile-menu-orcamento-content {
        display: flex;

        align-items: center;

        gap: 12px;
    }


    .mobile-menu-orcamento-icon {
        display: inline-flex;

        width: 40px;
        height: 40px;

        align-items: center;
        justify-content: center;

        color: #ffffff;
    }


    .mobile-menu-orcamento-icon svg {
        width: 24px;
        height: 24px;
    }


    .mobile-menu-orcamento-content
    > span:last-child {
        display: flex;

        flex-direction: column;
    }


    .mobile-menu-orcamento-content strong {
        color: #ffffff;

        font-size: 14px;
        font-weight: 900;

        text-transform: uppercase;
    }


    .mobile-menu-orcamento-content small {
        margin-top: 3px;

        color:
            rgba(255, 255, 255, 0.67);

        font-size: 10px;
    }


    .mobile-orcamento-count {
        display: inline-flex;

        min-width: 26px;
        height: 26px;

        align-items: center;
        justify-content: center;

        padding:
            0
            6px;

        border-radius: 999px;

        background: #ffffff;

        color: #FF8579;

        font-size: 10px;
        font-weight: 900;
    }

}


/* =========================================================
   CELULAR
========================================================= */

@media (max-width: 600px) {

    .site-header .container {
        width: 92%;
    }


    .header-topbar-container {
        min-height: 48px;
    }


    .header-track-order {
        gap: 6px;

        font-size: 8px;
    }


    .header-socials {
        gap: 10px;
    }


    .header-socials svg {
        width: 16px;
        height: 16px;
    }


    .header-main-container {
        min-height: 78px;
    }


    .logo img {
        width: 108px;
        max-width: 108px;
    }

}


/* =========================================================
   CELULAR PEQUENO
========================================================= */

@media (max-width: 430px) {

    .header-track-order {
        font-size: 7.5px;
    }


    .header-track-icon {
        display: none;
    }


    .header-socials {
        gap: 8px;
    }


    .header-socials a {
        width: 18px;
        height: 18px;
    }


    .header-socials svg {
        width: 15px;
        height: 15px;
    }


    .logo img {
        width: 102px;
        max-width: 102px;
    }


    .mobile-menu-private-label-content strong {
        font-size: 15px;
    }


    .mobile-menu-private-label-content small {
        font-size: 10px;
    }

}


/* =========================================================
   ACESSIBILIDADE
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .site-header,
    .header-socials a,
    .header-track-order,
    .header-navigation-menu a,
    .header-navigation-menu a::after,
    .header-private-label-btn,
    .mobile-menu,
    .mobile-menu-overlay {
        transition: none;
    }

}
/* =========================================================
   HEADER DESKTOP — AJUSTE DE ALTURA / ESPAÇAMENTOS
========================================================= */

@media (min-width: 901px) {

    /* Faixa de redes sociais / acompanhe seu pedido */
    .header-topbar-container {
        min-height: 40px;
        padding-top: 0;
        padding-bottom: 0;
    }

    /* Linha principal: logo + menu + personalize + carrinho */
    .header-main-container {
        min-height: 82px;
        padding-top: 0;
        padding-bottom: 0;
    }

    /* Garante que não exista espaço adicional no topo */
    .header-topbar {
        margin: 0;
        padding: 0;
    }

    /* Garante que não exista espaço adicional embaixo */
    .header-main {
        margin: 0;
        padding: 0;
    }

    .site-header {
        margin: 0;
        padding: 0;
    }
}
/* Vestesul: detalhes roxos na navegação */
.site-header a:hover { color: #F3D8FF; }

/* VESTESUL V5 — botão Personalize em roxo */
.header-private-label-btn, .header-private-label-btn:visited { background: #8520B5; border-color: #8520B5; color: #fff; }
.header-private-label-btn:hover, .header-private-label-btn:focus-visible { background: #6F159B; border-color: #6F159B; color: #fff; }


/* VESTESUL V6 — Botão Personalize roxo */
.header-private-label-btn,
a.header-private-label-btn,
.header-private-label-btn:visited {
  background: #8520B5 !important;
  border: 1px solid #8520B5 !important;
  color: #ffffff !important;
}
.header-private-label-btn:hover,
.header-private-label-btn:focus-visible {
  background: #6E159B !important;
  border-color: #6E159B !important;
  color: #ffffff !important;
}
.header-private-label-btn strong,
.header-private-label-btn svg {
  color: #ffffff !important;
}
