/* LE BRANT | correcoes mobile V3 - carregado depois dos outros CSS */

:root,html { color-scheme: light !important; }

html { background:#F8F2DA !important; }

body:not(.admin-body) { color-scheme:light !important; }

body.lb-product-page { background:#F8F2DA !important; color:#251d18 !important; }

body.lb-product-page .lb-pdp-breadcrumb,body.lb-product-page .lb-pdp-layout,body.lb-product-page .lb-pdp-info {background:#F8F2DA !important;color:#251d18 !important}

body.lb-product-page .lb-pdp-price strong,body.lb-product-page .lb-pdp-sticky h1 {color:#251d18 !important}

body.lb-product-page .lb-pdp-buy {background:#241c17 !important;color:#fff !important}

body:not(.admin-body) input,body:not(.admin-body) select,body:not(.admin-body) textarea,body:not(.admin-body) button,body:not(.admin-body) dialog {color-scheme:light !important}





/* ============================================================*

*   LE BRANT MOBILE V5 | CABECALHO + BANNER + PRODUTO*

*   Desktop permanece com as regras originais.*

*   ============================================================ */

@media screen and (max-width: 850px) {

  html, body { color-scheme: only light !important; }

  html body .header.lb-smart-header,

  html body .header.lb-smart-header.lb-compact,

  html body.lb-product-page .header.lb-smart-header,

  html body.lb-product-page .header.lb-smart-header.lb-compact {

    display: grid !important;

    grid-template-columns: minmax(0,1fr) 108px minmax(0,1fr) !important;

    grid-template-rows: 68px 35px !important;

    height: 103px !important;

    min-height: 103px !important;

    padding: 0 12px !important;

    column-gap: 6px !important;

    row-gap: 0 !important;

    align-items: center !important;

    overflow: visible !important;

    background: #F8F2DA !important;

    color: #4A3520 !important;

    box-sizing: border-box !important;

  }

  html body .header.lb-smart-header .brand,

  html body .header.lb-smart-header.lb-compact .brand {

    display: grid !important;

    grid-column: 2 !important;

    grid-row: 1 !important;

    place-items: center !important;

    justify-self: center !important;

    align-self: center !important;

    width: 108px !important;

    height: 65px !important;

    min-width: 0 !important;

    margin: 0 !important;

  }

  html body .header.lb-smart-header .brand .lb-logo-hero,

  html body .header.lb-smart-header.lb-compact .brand .lb-logo-hero {

    display: block !important;

    width: 100px !important;

    height: auto !important;

    max-width: 100px !important;

    max-height: 61px !important;

    object-fit: contain !important;

    filter: none !important;

    opacity: 1 !important;

  }

  html body .header.lb-smart-header .nav-left,

  html body.lb-product-page .header.lb-smart-header .nav-left {

    grid-column: 1 / -1 !important;

    grid-row: 2 !important;

    display: flex !important;

    flex-direction: row !important;

    justify-content: center !important;

    align-items: center !important;

    gap: clamp(12px, 4vw, 28px) !important;

    width: 100% !important;

    min-width: 0 !important;

    padding: 0 !important;

    margin: 0 !important;

    overflow: visible !important;

    white-space: nowrap !important;

  }

  /* Anula explicitamente a regra antiga que escondia tudo apos SHOP. */

  html body .header.lb-smart-header .nav-left > a:not(.lb-admin-mark),

  html body.lb-product-page .header.lb-smart-header .nav-left > a:not(.lb-admin-mark) {

    display: inline-flex !important;

    align-items: center !important;

    flex: 0 0 auto !important;

    font-size: 10px !important;

    letter-spacing: .6px !important;

    color: #4A3520 !important;

    visibility: visible !important;

    opacity: 1 !important;

  }

  html body .header.lb-smart-header .nav-left > .lb-admin-mark { display: none !important; }

  html body .header.lb-smart-header .nav-right,

  html body.lb-product-page .header.lb-smart-header .nav-right {

    grid-column: 3 !important;

    grid-row: 1 !important;

    display: flex !important;

    justify-self: end !important;

    align-items: center !important;

    justify-content: flex-end !important;

    gap: 12px !important;

    min-width: 0 !important;

    padding: 0 !important;

    margin: 0 !important;

  }

  html body .header.lb-smart-header .nav-right .lb-customer-access { display: none !important; }

  html body .header.lb-smart-header .nav-right .nav-search,

  html body .header.lb-smart-header .nav-right .nav-cart {

    display: inline-flex !important;

    color: #4A3520 !important;

    flex: 0 0 auto !important;

  }

  html body .header.lb-smart-header .nav-right svg { width: 20px !important; height: 20px !important; }

  html body:not(.lb-product-page) main { padding-top: 103px !important; }

  html body.lb-product-page { padding-top: 103px !important; }



  /* HOME: usa a imagem INTEIRA, sem ampliar para preencher o celular.*

*     O fundo nas laterais preserva a proporcao da foto original. */

  html body:not(.lb-product-page) .hero {

    height: min(700px, calc(100svh - 103px)) !important;

    min-height: 480px !important;

    max-height: 700px !important;

    overflow: hidden !important;

    background: #30231c !important;

  }

  html body:not(.lb-product-page) .hero .slides,

  html body:not(.lb-product-page) .hero .slide { height: 100% !important; }

  html body:not(.lb-product-page) .hero .slide {

    background-size: contain !important;

    background-position: center center !important;

    background-repeat: no-repeat !important;

    background-color: #30231c !important;

  }

  html body:not(.lb-product-page) .hero-copy {

    left: 6% !important;

    right: 6% !important;

    bottom: 7% !important;

    top: auto !important;

    max-width: 88% !important;

  }

  html body:not(.lb-product-page) .hero h1 {

    font-size: clamp(32px, 8vw, 48px) !important;

    line-height: 1.04 !important;

  }

  html body:not(.lb-product-page) .hero p {

    font-size: 13px !important;

    line-height: 1.5 !important;

  }



  /* PDP: carrossel de fotos somente no celular. */

  html body.lb-product-page .lb-pdp-layout {

    display: flex !important;

    flex-direction: column !important;

    gap: 0 !important;

    min-width: 0 !important;

  }

  html body.lb-product-page .lb-pdp-gallery-wrap {

    width: 100% !important;

    min-width: 0 !important;

    overflow: hidden !important;

  }

  html body.lb-product-page .lb-pdp-gallery {

    display: flex !important;

    flex-flow: row nowrap !important;

    gap: 0 !important;

    overflow-x: auto !important;

    overflow-y: hidden !important;

    scroll-snap-type: x mandatory !important;

  }

  html body.lb-product-page .lb-pdp-gallery > .lb-pdp-photo {

    display: flex !important;

    flex: 0 0 100% !important;

    min-width: 100% !important;

    max-width: 100% !important;

    align-items: center !important;

    justify-content: center !important;

    scroll-snap-align: start !important;

    background: #fff !important;

  }

  html body.lb-product-page .lb-pdp-gallery > .lb-pdp-photo img {

    width: 100% !important;

    height: auto !important;

    max-height: 65svh !important;

    object-fit: contain !important;

  }

  html body.lb-product-page .lb-pdp-info { width: 100% !important; }

}

@media screen and (max-width: 370px) {

  html body .header.lb-smart-header .nav-left { gap: 12px !important; }

  html body .header.lb-smart-header .nav-left > a:not(.lb-admin-mark) { font-size: 9px !important; }

  html body .header.lb-smart-header .nav-right { gap: 8px !important; }

}



/* ============================================================*

*   LE BRANT | MOBILE V6 - HERO COM FOTO E CONTEUDO SEPARADOS*

*   Somente telas ate 850px. Desktop preservado.*

*   ============================================================ */

@media screen and (max-width: 850px) {

  /* O cabecalho permanece visivel, sem deixar espaco vazio. */

  html body .header.lb-smart-header,

  html body .header.lb-smart-header.lb-compact,

  html body .header.lb-smart-header.lb-hidden,

  html body.lb-product-page .header.lb-smart-header.lb-hidden {

    position: fixed !important;

    top: 0 !important;

    left: 0 !important;

    right: 0 !important;

    transform: none !important;

    visibility: visible !important;

    opacity: 1 !important;

    pointer-events: auto !important;

    background: #F8F2DA !important;

    z-index: 9999 !important;

  }

  html body:not(.lb-product-page) main { padding-top: 103px !important; }



  /* Foto inteira na primeira parte; texto nao sobrepoe o rosto. */

  html body:not(.lb-product-page) .hero {

    display: flex !important;

    flex-direction: column !important;

    height: auto !important;

    min-height: 0 !important;

    max-height: none !important;

    overflow: visible !important;

    background: #F8F2DA !important;

    color: #251d18 !important;

  }

  html body:not(.lb-product-page) .hero .slides {

    display: block !important;

    position: relative !important;

    flex: 0 0 auto !important;

    width: 100% !important;

    height: clamp(235px, 67vw, 350px) !important;

    min-height: 0 !important;

    max-height: none !important;

    overflow: hidden !important;

    background: #F8F2DA !important;

  }

  html body:not(.lb-product-page) .hero .slide {

    position: absolute !important;

    inset: 0 !important;

    width: 100% !important;

    height: 100% !important;

    background-size: contain !important;

    background-position: center center !important;

    background-repeat: no-repeat !important;

    background-color: #F8F2DA !important;

  }

  html body:not(.lb-product-page) .hero .hero-shade {

    display: none !important;

  }

  html body:not(.lb-product-page) .hero .hero-copy {

    display: flex !important;

    flex-direction: column !important;

    align-items: flex-start !important;

    position: relative !important;

    inset: auto !important;

    left: auto !important;

    right: auto !important;

    top: auto !important;

    bottom: auto !important;

    width: 100% !important;

    max-width: none !important;

    min-height: 0 !important;

    margin: 0 !important;

    padding: 12px 6% 18px !important;

    box-sizing: border-box !important;

    background: #F8F2DA !important;

    color: #251d18 !important;

    text-align: left !important;

    transform: none !important;

  }

  html body:not(.lb-product-page) .hero .hero-copy .eyebrow,

  html body:not(.lb-product-page) .hero .hero-copy h1,

  html body:not(.lb-product-page) .hero .hero-copy p {

    color: #4A3520 !important;

    text-shadow: none !important;

  }

  html body:not(.lb-product-page) .hero .hero-copy .eyebrow {

    font-size: 10px !important;

    letter-spacing: 3px !important;

    margin-bottom: 9px !important;

  }

  html body:not(.lb-product-page) .hero .hero-copy h1 {

    font-size: clamp(33px, 8.5vw, 48px) !important;

    line-height: 1.08 !important;

    margin: 0 0 12px !important;

  }

  html body:not(.lb-product-page) .hero .hero-copy p {

    font-size: 14px !important;

    line-height: 1.65 !important;

    margin: 0 0 16px !important;

  }

  html body:not(.lb-product-page) .hero .hero-copy .outline.light {

    display: inline-flex !important;

    align-items: center !important;

    justify-content: space-between !important;

    width: 100% !important;

    max-width: 330px !important;

    min-height: 52px !important;

    margin: 0 !important;

    padding: 13px 18px !important;

    border: 1px solid #8C765F !important;

    background: transparent !important;

    color: #4A3520 !important;

    box-sizing: border-box !important;

    font-size: 11px !important;

    letter-spacing: 1.5px !important;

  }

  html body:not(.lb-product-page) .hero .slide-controls {

    position: static !important;

    display: flex !important;

    align-items: center !important;

    justify-content: flex-start !important;

    gap: 16px !important;

    margin: 25px 0 0 !important;

    padding: 0 !important;

    color: #4A3520 !important;

  }

  html body:not(.lb-product-page) .hero .slide-dot {

    color: #4A3520 !important;

  }

  html body:not(.lb-product-page) .hero .control-line {

    background: #A18A70 !important;

  }

}



/* V7: Ocultar somente no mobile a numeracao 01/02/03 e linha do banner. */

@media screen and (max-width: 850px) {

  html body:not(.lb-product-page) .hero .slide-controls,

  html body:not(.lb-product-page) .hero .slide-dot,

  html body:not(.lb-product-page) .hero .control-line {

    display: none !important;

  }

}





/* =============================================================*

*   LE BRANT MOBILE V8 — MENU NA MESMA BARRA DA LOGO*

*   Mantem desktop, fotos, textos, filtros e checkout originais.*

*   ============================================================= */

.lb-mobile-menu-toggle, .lb-mobile-menu-panel { display:none; }

@media screen and (max-width:850px) {

  html body:not(.lb-product-page) .header.lb-smart-header,

  html body:not(.lb-product-page) .header.lb-smart-header.lb-compact,

  html body:not(.lb-product-page) .header.lb-smart-header.lb-hidden {

    display:grid !important;

    grid-template-columns:minmax(0,1fr) minmax(90px,112px) minmax(0,1fr) !important;

    grid-template-rows:82px !important;

    height:82px !important;

    min-height:82px !important;

    padding:0 15px !important;

    gap:4px !important;

    background:#F8F2DA !important;

    color:#4A3520 !important;

    overflow:visible !important;

    box-sizing:border-box !important;

  }

  html body:not(.lb-product-page) .header.lb-smart-header .nav-left { display:none !important; }

  html body:not(.lb-product-page) .header.lb-smart-header .lb-mobile-menu-toggle {

    grid-column:1 !important;grid-row:1 !important;

    justify-self:start !important;align-self:center !important;

    display:flex !important;flex-direction:column !important;

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

    gap:5px !important;width:42px !important;height:44px !important;

    padding:7px !important;margin:0 !important;

    border:0 !important;border-radius:0 !important;

    background:transparent !important;color:#4A3520 !important;

    cursor:pointer !important;z-index:2 !important;

  }

  html body:not(.lb-product-page) .lb-mobile-menu-toggle span {

    display:block !important;width:25px !important;height:2px !important;

    border-radius:1px !important;background:currentColor !important;

    transition:transform .2s ease,opacity .2s ease;

  }

  html body:not(.lb-product-page) .lb-mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {transform:translateY(7px) rotate(45deg)}

  html body:not(.lb-product-page) .lb-mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {opacity:0}

  html body:not(.lb-product-page) .lb-mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {transform:translateY(-7px) rotate(-45deg)}

  html body:not(.lb-product-page) .header.lb-smart-header .brand,

  html body:not(.lb-product-page) .header.lb-smart-header.lb-compact .brand {

    grid-column:2 !important;grid-row:1 !important;

    justify-self:center !important;align-self:center !important;

    width:112px !important;height:76px !important;margin:0 !important;

  }

  html body:not(.lb-product-page) .header.lb-smart-header .brand .lb-logo-hero,

  html body:not(.lb-product-page) .header.lb-smart-header.lb-compact .brand .lb-logo-hero {

    width:108px !important;max-width:108px !important;

    max-height:72px !important;height:auto !important;object-fit:contain !important;

  }

  html body:not(.lb-product-page) .header.lb-smart-header .nav-right {

    grid-column:3 !important;grid-row:1 !important;

    display:flex !important;justify-self:end !important;align-self:center !important;

    align-items:center !important;justify-content:flex-end !important;

    gap:clamp(8px,2.5vw,15px) !important;

    margin:0 !important;padding:0 !important;min-width:0 !important;

  }

  html body:not(.lb-product-page) .header.lb-smart-header .nav-right .lb-customer-access {display:none !important}

  html body:not(.lb-product-page) .header.lb-smart-header .nav-right .nav-search,

  html body:not(.lb-product-page) .header.lb-smart-header .nav-right .nav-cart {display:inline-flex !important;flex:0 0 auto !important;color:#4A3520 !important}

  html body:not(.lb-product-page) .header.lb-smart-header .nav-right svg {width:23px !important;height:23px !important}

  html body:not(.lb-product-page) main {padding-top:82px !important}

  html body:not(.lb-product-page) .lb-mobile-menu-panel:not([hidden]) {

    display:flex !important;flex-direction:column !important;

    position:fixed !important;top:82px !important;left:0 !important;right:0 !important;

    z-index:1002 !important;background:#F8F2DA !important;

    border-top:1px solid #e4d8c4 !important;

    box-shadow:0 12px 22px rgba(35,24,14,.12) !important;

    padding:12px 6% 22px !important;

  }

  html body:not(.lb-product-page) .lb-mobile-menu-panel[hidden] {display:none !important}

  html body:not(.lb-product-page) .lb-mobile-menu-panel a {

    display:block !important;color:#4A3520 !important;

    font:500 12px 'DM Sans',sans-serif !important;letter-spacing:1.6px !important;

    padding:15px 4px !important;border-bottom:1px solid #e8dfd1 !important;

    text-decoration:none !important;

  }

}

@media screen and (max-width:370px) {

  html body:not(.lb-product-page) .header.lb-smart-header,

  html body:not(.lb-product-page) .header.lb-smart-header.lb-compact {padding:0 9px !important}

  html body:not(.lb-product-page) .header.lb-smart-header .nav-right {gap:6px !important}

  html body:not(.lb-product-page) .header.lb-smart-header .nav-right svg {width:20px !important;height:20px !important}

}



/* V9: elimina o espaco duplicado entre o cabecalho fixo e a foto.*

*   O deslocamento fica apenas no body; main nao acrescenta outra faixa. */

@media screen and (max-width:850px) {

  html body:not(.lb-product-page) {

    padding-top:82px !important;

  }

  html body:not(.lb-product-page) > main {

    padding-top:0 !important;

    margin-top:0 !important;

  }

  html body:not(.lb-product-page) > main > .hero:first-child {

    margin-top:0 !important;

  }

}



/* ============================================================*

*   V10 - UMA UNICA RESERVA PARA O CABECALHO FIXO (MOBILE)*

*   A pagina inicial usa somente o padding do MAIN.*

*   Evita espaco duplicado entre logo e fotografia.*

*   ============================================================ */

@media screen and (max-width:850px) {

  html body:not(.lb-product-page) {

    padding-top:0 !important;

    margin-top:0 !important;

  }

  html body:not(.lb-product-page) > .header.lb-smart-header {

    top:0 !important;

    bottom:auto !important;

    height:82px !important;

    min-height:82px !important;

    margin:0 !important;

  }

  html body:not(.lb-product-page) > main {

    display:block !important;

    padding:82px 0 0 !important;

    margin:0 !important;

    border:0 !important;

    transform:none !important;

  }

  html body:not(.lb-product-page) > main > section.hero#inicio {

    margin:0 !important;

    padding:0 !important;

    border:0 !important;

    top:auto !important;

  }

}


/* ================================================================
   LE BRANT V11 | CORRECAO UNIFICADA DA FAIXA ENTRE LOGO E BANNER
   Somente HOME no mobile. Desktop e paginas de produto preservados.
   Uma unica reserva de 82px, no BODY. MAIN com padding ZERO.
   ================================================================ */
@media screen and (max-width: 850px) {
  html body:not(.lb-product-page) {
    padding: 82px 0 0 !important;
    margin: 0 !important;
  }
  html body:not(.lb-product-page) > header.header.lb-smart-header,
  html body:not(.lb-product-page) > header.header.lb-smart-header.lb-compact,
  html body:not(.lb-product-page) > header.header.lb-smart-header.lb-hidden {
    position: fixed !important;
    inset: 0 0 auto 0 !important;
    height: 82px !important;
    min-height: 82px !important;
    max-height: 82px !important;
    padding: 0 15px !important;
    margin: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    background: #F8F2DA !important;
    box-sizing: border-box !important;
  }
  html body:not(.lb-product-page) > main {
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    min-height: 0 !important;
    transform: none !important;
  }
  html body:not(.lb-product-page) > main > section.hero#inicio {
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    background: #F8F2DA !important;
  }
  html body:not(.lb-product-page) > main > section.hero#inicio > .slides {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    width: 100% !important;
    height: clamp(235px, 67vw, 350px) !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    flex: 0 0 auto !important;
    line-height: 0 !important;
    overflow: hidden !important;
  }
  html body:not(.lb-product-page) > main > section.hero#inicio > .slides > .slide {
    inset: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background-size: contain !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-color: #F8F2DA !important;
  }
  html body:not(.lb-product-page) > .lb-mobile-menu-panel:not([hidden]) {
    top: 82px !important;
  }
}

/* V12 | CABECALHO MAIS COMPACTO - SOMENTE HOME MOBILE */
@media screen and (max-width:850px) {
  html body:not(.lb-product-page) { padding-top:64px !important; }
  html body:not(.lb-product-page) > header.header.lb-smart-header,
  html body:not(.lb-product-page) > header.header.lb-smart-header.lb-compact,
  html body:not(.lb-product-page) > header.header.lb-smart-header.lb-hidden {
    height:64px !important; min-height:64px !important; max-height:64px !important;
    grid-template-rows:64px !important;
    grid-template-columns:minmax(0,1fr) 92px minmax(0,1fr) !important;
    padding:0 12px !important;
  }
  html body:not(.lb-product-page) .header.lb-smart-header .brand,
  html body:not(.lb-product-page) .header.lb-smart-header.lb-compact .brand {
    width:92px !important; height:62px !important;
  }
  html body:not(.lb-product-page) .header.lb-smart-header .brand .lb-logo-hero,
  html body:not(.lb-product-page) .header.lb-smart-header.lb-compact .brand .lb-logo-hero {
    width:88px !important; max-width:88px !important; max-height:59px !important;
  }
  html body:not(.lb-product-page) .header.lb-smart-header .lb-mobile-menu-toggle {
    width:38px !important; height:40px !important;
  }
  html body:not(.lb-product-page) > .lb-mobile-menu-panel:not([hidden]) { top:64px !important; }
}
