/* Página catálogo de produtos por categoria — Grupo BAW */

/* Barra de categorias raiz: destaque na ativa, demais com opacidade reduzida */
.page-produtos-catalogo .baw-produtos-categorias .chooseus-block-one:not(.is-current) .inner-box {
    opacity: 0.52;
    transition:
        opacity 0.25s ease,
        background-color 0.25s ease,
        transform 0.25s ease;
}

.page-produtos-catalogo .baw-produtos-categorias .chooseus-block-one:not(.is-current) .inner-box:hover {
    opacity: 0.82;
}

.page-produtos-catalogo .baw-produtos-categorias .chooseus-block-one.is-current .inner-box {
    opacity: 1;
    background: #fff3e6;
    box-shadow: inset 0 -3px 0 0 #ff9523;
}

.page-produtos-catalogo .baw-produtos-categorias .chooseus-block-one.is-current .inner-box h3 {
    color: #ff9523;
    font-weight: 700;
}

.page-produtos-catalogo .baw-produtos-categorias .chooseus-block-one.is-current .baw-categorias-nav__bar {
    width: 48px;
    opacity: 1;
}

.baw-catalog-empty {
    margin: 24px 0 8px;
    padding: 32px 24px;
    text-align: center;
    font-size: 16px;
    line-height: 28px;
    color: #5f5b5a;
    border: 1px dashed #e2dfdc;
    background: #fafafa;
}

.shop-page-section.shop-catalog-layout {
    padding-top: 70px;
    padding-bottom: 90px;
}
.shop-catalog-layout .shop-catalog-sidebar {
    padding-right: 10px;
}
.shop-catalog-layout .shop-cat-title {
    font-size: 18px;
    font-weight: 700;
    color: #141417;
    margin: 0 0 18px;
    font-family: 'Monda', sans-serif;
}
.shop-catalog-layout .shop-cat-list {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
}
.shop-catalog-layout .shop-cat-list li {
    margin-bottom: 10px;
}
.shop-catalog-layout .shop-cat-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border: 1px solid #e2e2e2;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #141417;
    text-transform: uppercase;
    font-family: 'Monda', sans-serif;
    transition:
        color 0.25s ease,
        border-color 0.25s ease;
}
.shop-catalog-layout .shop-cat-list a:hover {
    border-color: #d0d0d0;
    color: #141417;
}
.shop-catalog-layout .shop-cat-list li.active a {
    color: #ff9523;
    border-color: #e2e2e2;
}
.shop-catalog-layout .shop-cat-list a .cat-icon {
    font-size: 14px;
    line-height: 1;
    color: #b0b0b0;
    font-weight: 400;
}
.shop-catalog-layout .shop-cat-list li.active a .cat-icon {
    color: #ff9523;
    font-size: 20px;
    font-weight: 400;
}
.shop-catalog-layout .shop-featured {
    position: relative;
    overflow: hidden;
    border: 1px solid #e8e8e8;
    container-type: inline-size;
    container-name: shop-featured;
}
.shop-catalog-layout .shop-featured img {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: middle;
}
.shop-catalog-layout .shop-featured__label {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 75%;
    box-sizing: border-box;
    background: #ff9523;
    color: #fff;
    font-size: clamp(1rem, 4cqw + 0.5rem, 1.875rem);
    font-weight: 700;
    padding: 22px 24px;
    min-height: 68px;
    display: flex;
    align-items: center;
    font-family: 'Monda', sans-serif;
    line-height: 1.25;
}
.shop-catalog-layout .baw-catalog-header {
    margin-bottom: 40px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 20px 48px;
}
.shop-catalog-layout .baw-catalog-header__left {
    flex: 1 1 260px;
    max-width: 100%;
}
.shop-catalog-layout .baw-catalog-kicker {
    font-size: 11px;
    letter-spacing: 0.14em;
    color: #827e7d;
    text-transform: uppercase;
    font-weight: 700;
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff9523;
    display: inline-block;
    font-family: 'Monda', sans-serif;
}
.shop-catalog-layout .baw-catalog-title {
    font-size: clamp(26px, 4vw, 38px);
    line-height: 1.15;
    font-weight: 700;
    color: #141417;
    margin: 0;
    font-family: 'Monda', sans-serif;
}
.shop-catalog-layout .baw-catalog-desc {
    flex: 1 1 240px;
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: #827e7d;
    padding-top: 32px;
    max-width: 100%;
}
.shop-catalog-layout .baw-product-card {
    margin-bottom: 40px;
}
.shop-catalog-layout .baw-product-card__media {
    position: relative;
    overflow: hidden;
}
.shop-catalog-layout .baw-product-card__media-link {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
    cursor: pointer;
}
.shop-catalog-layout .baw-product-card__media-link:focus-visible {
    outline: 2px solid #ff9523;
    outline-offset: -4px;
}
.shop-catalog-layout .baw-product-card__media img {
    aspect-ratio: 1 / 1;
    width: 100%;
    height: 100%;
    display: block;
    vertical-align: middle;
    object-fit: contain;
    object-position: center;
}
.shop-catalog-layout .baw-product-card__overlay-title {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    pointer-events: none;
    box-sizing: border-box;
    /* Faixa padronizada: sempre a mesma altura (2 linhas) */
    height: 62px !important;
    min-height: 62px !important;
    max-height: 62px !important;
    padding: 10px 14px 12px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.45) 55%, rgba(0, 0, 0, 0) 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    font-family: 'Monda', sans-serif;
    line-height: 1.3;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
}
.shop-catalog-layout .baw-product-card__overlay-title-text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    max-height: 2.6em; /* 2 × line-height 1.3 */
    line-height: 1.3;
}
.shop-catalog-layout .baw-product-card__body {
    padding: 18px 0 0 16px;
    margin-top: 0;
    border-left: none;
    position: relative;
}
.shop-catalog-layout .baw-product-card__body::before {
    content: '';
    position: absolute;
    left: 0;
    top: -20px;
    width: 2px;
    height: 80px;
    background: #ff9523;
    pointer-events: none;
}
.shop-catalog-layout .baw-product-card__lines {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.55;
    color: #827e7d;
}
.shop-catalog-layout .baw-product-card__more {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #141417;
    font-family: 'Monda', sans-serif;
}
.shop-catalog-layout .baw-product-card__more:hover {
    color: #ff9523;
}
.shop-catalog-layout .baw-product-card__more-icon {
    width: 36px;
    height: 36px;
    box-sizing: border-box;
    border: 2px solid #ff9523;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #ff9523;
    font-size: 11px;
    line-height: 1;
    flex-shrink: 0;
}
.shop-catalog-layout .baw-product-card__more:hover .baw-product-card__more-icon {
    background: transparent;
    border-color: #e07d0f;
    color: #e07d0f;
}
.shop-catalog-layout .pagination-wrapper {
    margin-top: 10px;
}
@media (max-width: 991px) {
    .shop-catalog-layout .shop-catalog-sidebar {
        padding-right: 0;
        margin-bottom: 45px;
    }
    .shop-catalog-layout .baw-catalog-desc {
        padding-top: 0;
    }
}

/* ==========================================================================
   Accordion sidebar de 3 nivveis � Produtos Catalogo
   ========================================================================== */

.shop-cat-tree {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
}

/* Nivel 1 ���������������������������������������������� */

.scat-l1__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e2e2e2;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #141417;
    text-transform: uppercase;
    font-family: 'Monda', sans-serif;
    background: none;
    cursor: pointer;
    text-align: left;
    margin-bottom: 6px;
    transition: color 0.25s ease, border-color 0.25s ease;
}

.scat-l1__toggle:hover {
    border-color: #d0d0d0;
}

.scat-l1.is-open > .scat-l1__toggle {
    color: #ff9523;
}

/* Lista de nivel 2 �������������������������������������� */

.scat-l2-list {
    list-style: none;
    padding: 0;
    margin: 0 0 6px;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s ease;
}

.scat-l1.is-open > .scat-l2-list {
    max-height: 1800px;
}

/* Nivel 2 com filhos ���������������������������������� */

.scat-l2__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 16px 12px 20px;
    border: 1px solid #e2e2e2;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #141417;
    text-transform: uppercase;
    font-family: 'Monda', sans-serif;
    background: none;
    cursor: pointer;
    text-align: left;
    margin-bottom: 6px;
    transition: color 0.25s ease, border-color 0.25s ease;
}

.scat-l2__toggle:hover {
    border-color: #d0d0d0;
}

.scat-l2.has-children.is-open > .scat-l2__toggle {
    color: #ff9523;
}

/* Lista de nivel 3 �������������������������������������� */

.scat-l3-list {
    list-style: none;
    padding-left: 12px;
    margin: 0 0 6px;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
}

.scat-l2.has-children.is-open > .scat-l3-list {
    max-height: 900px;
}

/* Nivel 2 sem filhos (link direto) ������������������� */

.scat-l2.no-children,
.scat-l2.has-own-products {
    margin-bottom: 6px;
}

.scat-l2.no-children > a,
.scat-l2.has-own-products > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px 12px 20px;
    border: 1px solid #e2e2e2;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #141417;
    text-transform: uppercase;
    font-family: 'Monda', sans-serif;
    transition: color 0.25s ease, border-color 0.25s ease;
}

.scat-l2.no-children > a:hover,
.scat-l2.has-own-products > a:hover {
    border-color: #d0d0d0;
}

.scat-l2.no-children.active > a,
.scat-l2.has-own-products.active > a {
    color: #ff9523;
}

/* Categoria com filhos que também tem produtos próprios: permanece clicável
   (link) e, quando ativa, revela a lista de filhos abaixo sem depender do
   toggle (que só existe quando a categoria não tem produtos diretos). */
.scat-l2.has-own-products.active > .scat-l3-list,
.scat-l3.has-own-products.active > .scat-l4-list,
.scat-l4.has-own-products.active > .scat-l5-list {
    max-height: 900px;
}

/* Nivel 3 (link direto) ����������������������������� */

.scat-l3 {
    margin-bottom: 6px;
}

.scat-l3 > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px 10px 20px;
    border: 1px solid #e2e2e2;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #141417;
    text-transform: uppercase;
    font-family: 'Monda', sans-serif;
    transition: color 0.25s ease, border-color 0.25s ease;
}

.scat-l3 > a:hover {
    border-color: #d0d0d0;
}

.scat-l3.active > a {
    color: #ff9523;
}

/* Icones de seta ������������������������������������� */

.scat-l1__toggle .cat-icon,
.scat-l2__toggle .cat-icon {
    flex-shrink: 0;
    font-size: 14px;
    color: #b0b0b0;
    font-weight: 400;
    transition: transform 0.25s ease, color 0.25s ease;
}

.scat-l1.is-open > .scat-l1__toggle .cat-icon,
.scat-l2.has-children.is-open > .scat-l2__toggle .cat-icon {
    transform: rotate(90deg);
    color: #ff9523;
}

.scat-l2.no-children .cat-icon,
.scat-l2.has-own-products .cat-icon,
.scat-l3 .cat-icon {
    flex-shrink: 0;
    font-size: 14px;
    color: #b0b0b0;
    font-weight: 400;
}

.scat-l2.no-children.active .cat-icon,
.scat-l2.has-own-products.active .cat-icon,
.scat-l3.active .cat-icon {
    color: #ff9523;
    font-size: 16px;
}

/* Nível 4 — Sublinha */

/* Botão toggle do nível 3 quando tem filhos L4 */

.scat-l3__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 16px 10px 20px;
    border: 1px solid #e2e2e2;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #141417;
    text-transform: uppercase;
    font-family: 'Monda', sans-serif;
    background: none;
    cursor: pointer;
    text-align: left;
    margin-bottom: 6px;
    transition: color 0.25s ease, border-color 0.25s ease;
}

.scat-l3__toggle:hover {
    border-color: #d0d0d0;
}

.scat-l3.has-children.is-open > .scat-l3__toggle {
    color: #ff9523;
}

/* Lista de nível 4 */

.scat-l4-list {
    list-style: none;
    padding-left: 12px;
    margin: 0 0 6px;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
}

.scat-l3.has-children.is-open > .scat-l4-list {
    max-height: 900px;
}

/* Nível 4 (link direto) */

.scat-l4 {
    margin-bottom: 6px;
}

.scat-l4 > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px 10px 20px;
    border: 1px solid #e2e2e2;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #141417;
    text-transform: uppercase;
    font-family: 'Monda', sans-serif;
    transition: color 0.25s ease, border-color 0.25s ease;
}

.scat-l4 > a:hover {
    border-color: #d0d0d0;
}

.scat-l4.active > a {
    color: #ff9523;
}

/* Ícones de seta — nível 3 toggle e nível 4 */

.scat-l3__toggle .cat-icon {
    flex-shrink: 0;
    font-size: 14px;
    color: #b0b0b0;
    font-weight: 400;
    transition: transform 0.25s ease, color 0.25s ease;
}

.scat-l3.has-children.is-open > .scat-l3__toggle .cat-icon {
    transform: rotate(90deg);
    color: #ff9523;
}

.scat-l4 .cat-icon {
    flex-shrink: 0;
    font-size: 14px;
    color: #b0b0b0;
    font-weight: 400;
}

.scat-l4.active .cat-icon {
    color: #ff9523;
    font-size: 16px;
}

/* Nível 5 — Sub-sublinha */

/* Botão toggle do nível 4 quando tem filhos L5 */

.scat-l4__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 16px 10px 20px;
    border: 1px solid #e2e2e2;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #141417;
    text-transform: uppercase;
    font-family: 'Monda', sans-serif;
    background: none;
    cursor: pointer;
    text-align: left;
    margin-bottom: 6px;
    transition: color 0.25s ease, border-color 0.25s ease;
}

.scat-l4__toggle:hover {
    border-color: #d0d0d0;
}

.scat-l4.has-children.is-open > .scat-l4__toggle {
    color: #ff9523;
}

/* Lista de nível 5 */

.scat-l5-list {
    list-style: none;
    padding-left: 12px;
    margin: 0 0 6px;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
}

.scat-l4.has-children.is-open > .scat-l5-list {
    max-height: 900px;
}

/* Nível 5 (link direto) */

.scat-l5 {
    margin-bottom: 6px;
}

.scat-l5 > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px 10px 20px;
    border: 1px solid #e2e2e2;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #141417;
    text-transform: uppercase;
    font-family: 'Monda', sans-serif;
    transition: color 0.25s ease, border-color 0.25s ease;
}

.scat-l5 > a:hover {
    border-color: #d0d0d0;
}

.scat-l5.active > a {
    color: #ff9523;
}

/* Ícones de seta — nível 4 toggle e nível 5 */

.scat-l4__toggle .cat-icon {
    flex-shrink: 0;
    font-size: 14px;
    color: #b0b0b0;
    font-weight: 400;
    transition: transform 0.25s ease, color 0.25s ease;
}

.scat-l4.has-children.is-open > .scat-l4__toggle .cat-icon {
    transform: rotate(90deg);
    color: #ff9523;
}

.scat-l5 .cat-icon {
    flex-shrink: 0;
    font-size: 14px;
    color: #b0b0b0;
    font-weight: 400;
}

.scat-l5.active .cat-icon {
    color: #ff9523;
    font-size: 16px;
}
