﻿#cssmenu,
#cssmenu ul,
#cssmenu ul li,
#cssmenu ul li a {
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
  line-height: 1;
  display: block;
  position: relative;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
   font-weight: 400 !important;
}
#cssmenu {
  width: 100%;
  color: #ffffff;
}
#cssmenu ul ul {
  display: none;

}
.align-right {
  float: right;
}
#cssmenu > ul > li.tituloMenuCategorias {
  padding:20px 15px;
  border-bottom:solid 0px #CCC;
  cursor:default;
  z-index: 2;
  font-size: 1em;
  line-height:1.2em;
  font-weight: 600;
  text-decoration: none;
  color: #CCC;
  background: #ededed;
  text-shadow:none;

}
#cssmenu > ul > li {
  border-bottom:solid 1px #BBB;
}
#cssmenu > ul > li:last-child {
  border-bottom:solid 0px #CCC;
}
#cssmenu > ul > li > a {
  padding:12px 15px;
  border-bottom:solid 0px #CCC;
  cursor: pointer;
  z-index: 2;
  font-size: .9em;
  line-height:1.2em;
  font-weight: 400;
  text-decoration: none;
  color: #111;
  background: #DDD;
  text-shadow:none;

}

#cssmenu > ul > li > a:hover,
#cssmenu > ul > li.active > a,
#cssmenu > ul > li.open > a {
  background: #DDD;
  color:#111;

}

.holder {
  width: 0;
  height: 0;
  position: absolute;
  top: 0;
  right: 0;
}
.holder::after,
.holder::before {
  display: block;
  position: absolute;
  content: "";
  width: 6px;
  height: 6px;
  right: 20px;
  z-index: 10;
  -webkit-transform: rotate(-135deg);
  -moz-transform: rotate(-135deg);
  -ms-transform: rotate(-135deg);
  -o-transform: rotate(-135deg);
  transform: rotate(-135deg);
}
.holder::after {
  top: 19px;
  border-top: 2px solid #666;
  border-left: 2px solid #666;
}
#cssmenu > ul > li > a:hover > span::after,
#cssmenu > ul > li.active > a > span::after,
#cssmenu > ul > li.open > a > span::after {
  border-color: #FFF;
}
.holder::before {
  top: 18px;
  border-top: 2px solid;
  border-left: 2px solid;
  border-top-color: inherit;
  border-left-color: inherit;
}
#cssmenu ul ul li a {
  cursor: pointer;
  border-bottom: 0px solid #FFF;
  border-left: 1px solid #FFF;
  border-right: 1px solid #FFF;
  padding: 12px 20px;
  z-index: 1;
  text-decoration: none;
  font-size: 0.9em;
  font-weight:400;
  color: #333;
  background: #FAFAFA;
}
#cssmenu ul ul li:hover > a,
#cssmenu ul ul li.open > a,
#cssmenu ul ul li.active > a {
  background: #DDD;
  color: #333;
}
#cssmenu ul ul li:first-child > a {
  box-shadow: none;
}
#cssmenu ul ul ul li a {
  padding-left: 30px;
}
#cssmenu > ul > li > ul > li:last-child > a,
#cssmenu > ul > li > ul > li.last > a {
  border-bottom: 0;
}
#cssmenu > ul > li > ul > li.open:last-child > a,
#cssmenu > ul > li > ul > li.last.open > a {
  border-bottom: 1px solid #DDD;
}
#cssmenu > ul > li > ul > li.open:last-child > ul > li:last-child > a {
  border-bottom: 0;
}
#cssmenu ul ul li.has-sub > a::after {
  display: block;
  position: absolute;
  content: "";
  width: 5px;
  height: 5px;
  right: 20px;
  z-index: 10;
  top: 11.5px;
  border-top: 2px solid #eeeeee;
  border-left: 2px solid #eeeeee;
  -webkit-transform: rotate(-135deg);
  -moz-transform: rotate(-135deg);
  -ms-transform: rotate(-135deg);
  -o-transform: rotate(-135deg);
  transform: rotate(-135deg);
}
#cssmenu ul ul li.active > a::after,
#cssmenu ul ul li.open > a::after,
#cssmenu ul ul li > a:hover::after {
  border-color: #ffffff;
}
@media only screen and ( max-width:880px ) {
#cssmenu > ul > li > a {
  padding: 15px 20px;
  border-left: 1px solid #ededed;
  border-right: 1px solid #ededed;
  border-top: 1px solid #ededed;
  cursor: pointer;
  z-index: 2;
  font-size: 1.1em;
  line-height:1.0em;
  font-weight: 300;
  text-decoration: none;
  color: #333;
  background: #ededed;
  text-shadow:none;
}
}
@media screen and (min-width: 941px) and (orientation: portrait) {
#cssmenu,
#cssmenu ul,
#cssmenu ul li,
#cssmenu ul li a {
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
  line-height: 1;
  display: block;
  position: relative;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}
#cssmenu {
  width: 100%;
  color: #ffffff;
}
#cssmenu ul ul {
  display: none;
}
.align-right {
  float: right;
}
#cssmenu > ul > li > a {
  padding: 15px 20px;
  border-left: 0.2em solid #FFF;
  border-right: 0.2em solid #FFF;
  border-top: 0.2em solid #FFF;
  cursor: pointer;
  z-index: 2;
  font-size: 2.4em;
  line-height:2.4em;
  font-weight: 300;
  text-decoration: none;
  color: #333;
  background: #F5F5F5;
  text-shadow:none;
}
#cssmenu > ul > li > a:hover,
#cssmenu > ul > li.active > a,
#cssmenu > ul > li.open > a {
  color: #333;
  background: #c2d3e0;
}



.holder {
  width: 0;
  height: 0;
  position: absolute;
  top: 10px;
  right: 0;
}
.holder::after,
.holder::before {
  display: block;
  position: absolute;
  content: "";
  width: 12px;
  height: 12px;
  right: 40px;
  z-index: 10;
  -webkit-transform: rotate(-135deg);
  -moz-transform: rotate(-135deg);
  -ms-transform: rotate(-135deg);
  -o-transform: rotate(-135deg);
  transform: rotate(-135deg);
}
.holder::after {
  top: 38x;
  border-top: 0.2em solid #666;
  border-left: 0.2em solid #666;
}
#cssmenu > ul > li > a:hover > span::after,
#cssmenu > ul > li.active > a > span::after,
#cssmenu > ul > li.open > a > span::after {
  border-color: #333;
}
.holder::before {
  top: 38px;
  border-top: 0.2em solid;
  border-left: 0.2em solid;
  border-top-color: inherit;
  border-left-color: inherit;
}
#cssmenu ul ul li a {
  cursor: pointer;
  border-bottom: 0.0em solid #EEE;
  border-left: 0.2em solid #EEE;
  border-right: 0.2em solid #EEE;
  padding: 24px 40px;
  z-index: 1;
  text-decoration: none;
  font-size: 1.8em;
  color: #333;
  background: #9ab1c3;
}
#cssmenu ul ul li:hover > a,
#cssmenu ul ul li.open > a,
#cssmenu ul ul li.active > a {
  background: #afdcb1;
  color: #3e5340;
}
#cssmenu ul ul li:first-child > a {
  box-shadow: none;
}
#cssmenu ul ul ul li a {
  padding-left: 60px;
}
#cssmenu > ul > li > ul > li:last-child > a,
#cssmenu > ul > li > ul > li.last > a {
  border-bottom: 0;
}
#cssmenu > ul > li > ul > li.open:last-child > a,
#cssmenu > ul > li > ul > li.last.open > a {
  border-bottom: 0.2em solid #32373e;
}
#cssmenu > ul > li > ul > li.open:last-child > ul > li:last-child > a {
  border-bottom: 0;
}
#cssmenu ul ul li.has-sub > a::after {
  display: block;
  position: absolute;
  content: "";
  width: 20px;
  height: 20px;
  right: 40px;
  z-index: 10;
  top: 23px;
  border-top: 0.3em solid #eeeeee;
  border-left: 0.3em solid #eeeeee;
  -webkit-transform: rotate(-135deg);
  -moz-transform: rotate(-135deg);
  -ms-transform: rotate(-135deg);
  -o-transform: rotate(-135deg);
  transform: rotate(-135deg);
}
#cssmenu a.abrirCategoria > a::after {
  display: block;
  position: absolute;
  content: "";
  width: 20px;
  height: 20px;
  right: 40px;
  z-index: 10;
  top: 23px;
  border-top: 0.3em solid #eeeeee;
  border-left: 0.3em solid #eeeeee;
  -webkit-transform: rotate(-135deg);
  -moz-transform: rotate(-135deg);
  -ms-transform: rotate(-135deg);
  -o-transform: rotate(-135deg);
  transform: rotate(-135deg);
}
#cssmenu ul ul li.active > a::after,
#cssmenu ul ul li.open > a::after,
#cssmenu ul ul li > a:hover::after {
  border-color: #ffffff;
}
}

/* =============================================
   Menu Mobile — Drawer Lateral (duas abas: Menu + Conta)
   Design CartLight: Inter, cores neutras, chevron animado.
   ============================================= */

/* ── Desktop: garantia absoluta que nada do drawer aparece ── */
#nav-drawer-overlay,
.nav-drawer-header,
.nav-drawer-tabs,
.nav-drawer-close,
.nav-drawer-panel {
    display: none !important;
}

@media only screen and (min-width: 771px) {
    #nav-drawer-overlay,
    .nav-drawer-header,
    .nav-drawer-tabs,
    .nav-drawer-close,
    .nav-drawer-panel {
        display: none !important;
    }
}

@media only screen and (max-width: 770px) {

    /* ── 1. Wrapper nav.menuPrincipal colapsa no mobile */
    nav.menuPrincipal {
        height: 0 !important;
        min-height: 0 !important;
        overflow: visible !important;
        border: none !important;
        margin: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    /* ── 2. Drawer — slide da esquerda */
    #header-nav {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 85vw !important;
        min-width: 260px !important;
        max-width: 380px !important;
        height: 100vh !important;
        height: 100dvh !important;
        border-radius: 0 !important;
        overflow: visible !important;
        background: #fff !important;
        box-shadow: 6px 0 32px rgba(0, 0, 0, 0.14) !important;
        z-index: 300000 !important;
        display: flex !important;
        flex-direction: column !important;
        transform: translateX(-100%) !important;
        visibility: hidden !important;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                    visibility 0s linear 0.3s !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
    }

    /* ── 3. Estado aberto */
    #header-nav.skip-active {
        transform: translateX(0) !important;
        visibility: visible !important;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                    visibility 0s linear 0s !important;
    }

    /* ── 4. Overlay */
    #nav-drawer-overlay {
        display: block !important;
        position: fixed !important;
        inset: 0 !important;
        background: rgba(0, 0, 0, 0.45) !important;
        z-index: 299999 !important;
        opacity: 0 !important;
        pointer-events: none !important;
        transition: opacity 0.3s ease !important;
    }
    #nav-drawer-overlay.nav-overlay-active {
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    /* ── 5. Cabeçalho com abas + botão fechar */
    .nav-drawer-header {
        display: flex !important;
        align-items: stretch !important;
        padding: 0 !important;
        border-bottom: 1.5px solid #e4e8ed !important;
        flex-shrink: 0 !important;
        background: #fff !important;
    }

    /* Container das abas */
    .nav-drawer-tabs {
        display: flex !important;
        flex: 1 !important;
    }

    /* Tab individual — estado inativo */
    .nav-drawer-tab {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 1 !important;
        padding: 16px 12px !important;
        font-size: 14px !important;
        font-weight: 400 !important;
        letter-spacing: 0.01em !important;
        color: #9ca3af !important;
        background: transparent !important;
        border: none !important;
        border-bottom: 2px solid transparent !important;
        cursor: pointer !important;
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
        transition: color 0.2s ease, border-color 0.2s ease !important;
        margin-bottom: -1.5px !important;
        line-height: 1 !important;
    }
    .nav-drawer-tab:hover {
        color: #374151 !important;
    }

    /* Tab ativa — sublinhado colorido */
    .nav-drawer-tab.active {
        color: #111827 !important;
        font-weight: 500 !important;
        border-bottom-color: var(--tc-skip-links-bg, #111827) !important;
    }

    /* Botão fechar */
    .nav-drawer-close {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
        padding: 0 14px !important;
        color: #9ca3af !important;
        background: transparent !important;
        border: none !important;
        cursor: pointer !important;
        line-height: 1 !important;
        transition: color 0.15s !important;
    }
    .nav-drawer-close:hover {
        color: #374151 !important;
    }
    .nav-drawer-close svg {
        display: block !important;
    }

    /* ── 6. Scroll lock */
    body.nav-drawer-open {
        overflow: hidden !important;
    }

    /* ── 7. Painéis de conteúdo (Menu / Conta) */
    .nav-drawer-panel {
        display: none !important;
        flex: 1 !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
    }
    .nav-drawer-panel.active {
        display: block !important;
    }

    /* ═══════════════════════════════════════════════════
       8. Painel Menu — visual moderno dos itens
       Fonte Inter, peso regular, separadores ultra-suaves.
       ═══════════════════════════════════════════════════ */

    /* .menuMobile agora rola via .nav-drawer-panel */
    #header-nav .menuMobile {
        display: block !important;
        overflow: visible !important;
    }
    #header-nav .menuMobile .nav-primary {
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
        background: #fff !important;
        border: none !important;
    }
    #header-nav .menuMobile .nav-primary li {
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
    }

    /* ── Remove borda do topo do primeiro item (herança do tema) */
    #header-nav .menuMobile .nav-primary li.level0:first-child > a {
        border-top: none !important;
    }

    /* ── Itens nível 0: sem negrito, Inter regular, separador ultra-fino */
    #header-nav .menuMobile .nav-primary li.level0 > a,
    #header-nav .menuMobile .nav-primary a.level0 {
        display: flex !important;
        align-items: center !important;
        padding: 14px 16px !important;
        font-size: 15px !important;
        font-weight: 400 !important;
        letter-spacing: 0.01em !important;
        color: #1a1a1a !important;
        background: #fff !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
        border-top: none !important;
        border-left: 3px solid transparent !important;
        border-right: none !important;
        text-transform: none !important;
        text-decoration: none !important;
        line-height: 1.4 !important;
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
        box-shadow: none !important;
        transition: background 0.15s, border-color 0.15s !important;
    }
    #header-nav .menuMobile .nav-primary li.level0:last-child > a {
        border-bottom: none !important;
    }
    #header-nav .menuMobile .nav-primary li.level0 > a:hover {
        background: #fafafa !important;
        border-left-color: #d1d5db !important;
    }

    /* ── Chevron: rotaciona de → para ↓ ao abrir */
    #header-nav .menuMobile .nav-primary li.parent > a:after {
        content: '' !important;
        display: block !important;
        flex-shrink: 0 !important;
        width: 6px !important;
        height: 6px !important;
        border: none !important;
        border-right: 1.5px solid #c0c4cc !important;
        border-bottom: 1.5px solid #c0c4cc !important;
        transform: rotate(-45deg) !important;
        margin-left: auto !important;
        position: static !important;
        top: auto !important; right: auto !important;
        left: auto !important; bottom: auto !important;
        background: transparent !important;
        transition: transform 0.22s ease, border-color 0.15s !important;
    }
    /* ── Exibir sub-menu quando ativo (classe adicionada pelo JS nativo do Magento) */
    #header-nav .menuMobile .nav-primary li.level0.sub-menu-active > ul,
    #header-nav .menuMobile .nav-primary li.level0.menu-active > ul,
    #header-nav .menuMobile .nav-primary li.level1.sub-menu-active > ul,
    #header-nav .menuMobile .nav-primary li.level1.menu-active > ul {
        display: block !important;
    }

    #header-nav .menuMobile .nav-primary li.parent.sub-menu-active > a:after,
    #header-nav .menuMobile .nav-primary li.parent.menu-active > a:after {
        transform: rotate(45deg) !important;
        border-color: #9ca3af !important;
    }

    /* ── Item aberto: acento suave na borda esquerda */
    #header-nav .menuMobile .nav-primary li.menu-active > a,
    #header-nav .menuMobile .nav-primary li.sub-menu-active > a {
        color: #1a1a1a !important;
        background: #fafafa !important;
        border-left-color: var(--tc-skip-links-bg, #555) !important;
    }

    /* ── Sub-menu nível 1: fundo suave, guia lateral discreta */
    #header-nav .menuMobile .nav-primary li.level0 ul {
        display: none;
        position: static !important;
        top: auto !important;
        left: auto !important;
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 2px 0 !important;
        background: #fafafa !important;
        border-left: 3px solid rgba(0, 0, 0, 0.08) !important;
        border-right: none !important;
        border-top: none !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
        box-shadow: none !important;
    }
    #header-nav .menuMobile .nav-primary li.level0 li.level1,
    #header-nav .menuMobile .nav-primary li.level0 li.level2 {
        padding: 0 !important;
    }

    /* ── Itens nível 1 */
    #header-nav .menuMobile .nav-primary li.level1 > a {
        display: flex !important;
        align-items: center !important;
        padding: 11px 16px 11px 22px !important;
        font-size: 13px !important;
        font-weight: 400 !important;
        letter-spacing: 0.01em !important;
        color: #555 !important;
        background: transparent !important;
        border-top: none !important;
        border-left: none !important;
        border-right: none !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
        text-decoration: none !important;
        line-height: 1.4 !important;
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
        transition: background 0.15s, color 0.15s !important;
    }
    #header-nav .menuMobile .nav-primary li.level1:last-child > a {
        border-bottom: none !important;
    }
    #header-nav .menuMobile .nav-primary li.level1 > a:before {
        display: none !important;
    }
    #header-nav .menuMobile .nav-primary li.level1 > a:hover {
        background: #f3f4f6 !important;
        color: #1a1a1a !important;
    }

    /* ── Sub-menu nível 2: container (dentro de li.level1) */
    #header-nav .menuMobile .nav-primary li.level1 ul {
        background: #f2f4f7 !important;
        border-left: 3px solid rgba(0, 0, 0, 0.05) !important;
    }
    #header-nav .menuMobile .nav-primary li.level0 li.level1 li.level2 {
        padding: 0 !important;
    }

    /* ── Itens nível 2 */
    #header-nav .menuMobile .nav-primary li.level2 > a {
        display: flex !important;
        align-items: center !important;
        padding: 10px 16px 10px 30px !important;
        font-size: 12px !important;
        font-weight: 400 !important;
        letter-spacing: 0.01em !important;
        color: #777 !important;
        background: transparent !important;
        border-top: none !important;
        border-left: none !important;
        border-right: none !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.04) !important;
        text-decoration: none !important;
        line-height: 1.4 !important;
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
        transition: background 0.15s, color 0.15s !important;
    }
    #header-nav .menuMobile .nav-primary li.level2:last-child > a {
        border-bottom: none !important;
    }
    #header-nav .menuMobile .nav-primary li.level2 > a:before {
        display: none !important;
    }
    #header-nav .menuMobile .nav-primary li.level2 > a:hover {
        background: #edf0f4 !important;
        color: #555 !important;
    }

    /* ═══════════════════════════════════════════════════
       9. Painel Conta — links no mesmo estilo do menu
       ═══════════════════════════════════════════════════ */

    /* Saudação "Olá, Visitante" / "Olá, Nome" */
    .nav-panel-conta .hello,
    .nav-panel-conta p.hello {
        display: block !important;
        padding: 14px 16px 12px !important;
        font-size: 13px !important;
        color: #555 !important;
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
        margin: 0 !important;
    }
    .nav-panel-conta .hello strong {
        font-weight: 600 !important;
        color: #1a1a1a !important;
    }

    .nav-panel-conta .links,
    .nav-panel-conta ul {
        list-style: none !important;
        margin: 0 !important;
        padding: 8px 0 !important;
    }
    .nav-panel-conta .links li,
    .nav-panel-conta ul li {
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }
    .nav-panel-conta .links li a,
    .nav-panel-conta ul li a {
        display: flex !important;
        align-items: center !important;
        padding: 14px 16px !important;
        font-size: 15px !important;
        font-weight: 400 !important;
        letter-spacing: 0.01em !important;
        color: #1a1a1a !important;
        background: #fff !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
        border-top: none !important;
        border-left: 3px solid transparent !important;
        border-right: none !important;
        text-decoration: none !important;
        line-height: 1.4 !important;
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
        transition: background 0.15s, border-color 0.15s !important;
    }
    .nav-panel-conta .links li:last-child a,
    .nav-panel-conta ul li:last-child a {
        border-bottom: none !important;
    }
    .nav-panel-conta .links li a:hover,
    .nav-panel-conta ul li a:hover {
        background: #fafafa !important;
        border-left-color: #d1d5db !important;
    }

    /* Esconde elementos do dropdown que não fazem sentido no painel */
    .nav-panel-conta .skip-link,
    .nav-panel-conta .skip-content {
        display: none !important;
    }

}
}
