html[lang^="en"] .bbp-price-line,
html[lang^="ar"] .bbp-price-line,
html[lang^="en"] .bbp-related .woocommerce-Price-amount,
html[lang^="ar"] .bbp-related .woocommerce-Price-amount,
html[lang^="en"] .woocommerce ul.products li.product .price,
html[lang^="ar"] .woocommerce ul.products li.product .price,
html[lang^="en"] li.product-card .price,
html[lang^="ar"] li.product-card .price,
html[lang^="en"] .woocommerce div.product p.price,
html[lang^="ar"] .woocommerce div.product p.price,
html[lang^="en"] .bgl-table th:nth-child(4),
html[lang^="en"] .bgl-table td:nth-child(4),
html[lang^="ar"] .bgl-table th:nth-child(4),
html[lang^="ar"] .bgl-table td:nth-child(4),
html[lang^="en"] .bgl-wrap #bgl-calculators,
html[lang^="ar"] .bgl-wrap #bgl-calculators,
html[lang^="en"] .bgl-wrap a[href="#bgl-calculators"],
html[lang^="ar"] .bgl-wrap a[href="#bgl-calculators"] {
    display: none !important;
}

.behta-catalog-contact {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: .7rem 1rem;
    margin-top: .75rem;
    border-radius: .6rem;
    background: #315c43;
    color: #fff !important;
    font-weight: 700;
    text-decoration: none;
}

.elementor-18531 .mobile-category-menu[hidden],
.elementor-18531 .btn-switcher[hidden] { display: none !important; }

.behta-archive-header {
    position: relative;
    z-index: 20;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #e1e9e2;
    box-shadow: 0 4px 18px rgba(22, 62, 35, .08);
}
body.admin-bar .behta-archive-header { padding-top: 32px; }
.behta-archive-header-inner {
    max-width: 1200px;
    min-height: 76px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.behta-archive-brand {
    color: #245b34 !important;
    font-size: 1.35rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}
.behta-archive-nav { display: flex; align-items: center; gap: 26px; }
.behta-archive-nav a,
.behta-archive-mobile a {
    color: #24342a !important;
    font-weight: 700;
    text-decoration: none;
}
.behta-archive-nav a:hover,
.behta-archive-mobile a:hover { color: #287441 !important; }
.behta-archive-mobile { display: none; }

/* The theme reserves an empty sidebar column even though no sidebar is rendered. */
.woocommerce-shop .nader-div-container,
.post-type-archive-product .nader-div-container {
    flex-direction: column !important;
    align-items: stretch !important;
}
.woocommerce-shop .nader-div-container > .product-content-section,
.post-type-archive-product .nader-div-container > .product-content-section {
    box-sizing: border-box;
    flex: 0 1 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
}

.woocommerce-shop .nader-div-container .shop-sidebar-opener,
.post-type-archive-product .nader-div-container .shop-sidebar-opener {
    position: relative !important;
    inset: auto !important;
    transform: none !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: max-content !important;
    min-height: 42px;
    align-self: flex-start !important;
    margin: 16px 0 20px !important;
    padding: 8px 16px !important;
    border-radius: 8px;
    background: #315c43 !important;
    color: #fff !important;
    cursor: pointer;
}
.woocommerce-shop .shop-sidebar-opener svg,
.post-type-archive-product .shop-sidebar-opener svg { fill: currentColor !important; }
.behta-filter-hidden { display: none !important; }
.behta-filter-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(16, 35, 23, .46);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s, visibility .2s;
}
.behta-filter-backdrop.is-open { opacity: 1; visibility: visible; }
.behta-filter-panel {
    position: fixed;
    inset-block: 0;
    inset-inline-end: 0;
    z-index: 9999;
    box-sizing: border-box;
    width: min(360px, 92vw);
    padding: 32px 24px;
    overflow-y: auto;
    background: #fff;
    box-shadow: 0 0 30px rgba(0, 0, 0, .16);
    visibility: hidden;
    transform: translateX(110%);
    transition: transform .25s, visibility .25s;
}
.behta-filter-panel[dir="rtl"] { transform: translateX(-110%); }
.behta-filter-panel.is-open { visibility: visible; transform: translateX(0); }
body.admin-bar .behta-filter-panel { padding-top: 64px; }
.behta-filter-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 26px; }
.behta-filter-heading h2 { margin: 0; font-size: 1.35rem; color: #203d2a; }
.behta-filter-close { border: 0; background: #edf4ee; border-radius: 50%; width: 36px; height: 36px; font-size: 25px; cursor: pointer; }
.behta-filter-label, .behta-filter-origins legend { display: block; margin-bottom: 10px; font-weight: 700; color: #233a2b; }
.behta-filter-search { box-sizing: border-box; display: block; width: 100%; min-height: 44px; margin-bottom: 26px; padding: 10px 13px; border: 1px solid #cddccf; border-radius: 8px; background: #fff; color: #203d2a; }
.behta-filter-origins { display: grid; gap: 10px; margin: 0 0 24px; padding: 0; border: 0; }
.behta-filter-option { display: flex; align-items: center; gap: 9px; cursor: pointer; }
.behta-filter-option input { accent-color: #315c43; }
.behta-filter-count { margin: 0 0 10px; color: #315c43; font-weight: 700; }
.behta-filter-empty { margin: 0 0 16px; }
.behta-filter-empty[hidden] { display: none !important; }
.behta-filter-clear { width: 100%; min-height: 43px; padding: 10px; border: 1px solid #315c43; border-radius: 8px; background: #fff; color: #315c43; font-weight: 700; cursor: pointer; }
.behta-filter-clear:hover { background: #edf4ee; }
body.behta-filter-open { overflow: hidden; }

li.product-card .behta-archive-cta,
ul.products li.product .behta-archive-cta,
li.product-card .behta-catalog-contact,
ul.products li.product .behta-catalog-contact {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: calc(100% - 24px);
    min-height: 44px;
    margin: 14px 12px 16px !important;
    padding: 10px 14px !important;
    border: 1px solid #246838 !important;
    border-radius: 8px !important;
    background: #246838 !important;
    color: #fff !important;
    box-shadow: 0 3px 10px rgba(36, 104, 56, .18);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    text-decoration: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}
li.product-card .behta-archive-cta:hover,
ul.products li.product .behta-archive-cta:hover,
li.product-card .behta-catalog-contact:hover,
ul.products li.product .behta-catalog-contact:hover {
    background: #194d29 !important;
    border-color: #194d29 !important;
    color: #fff !important;
}

@media (max-width: 767px) {
    body.admin-bar .behta-archive-header { padding-top: 46px; }
    .behta-archive-header-inner { min-height: 62px; padding: 10px 16px; }
    .behta-archive-brand { font-size: 1.1rem; }
    .behta-archive-nav { display: none; }
    .behta-archive-mobile { display: block; position: relative; }
    .behta-archive-mobile summary { color: #245b34; font-weight: 700; cursor: pointer; }
    .behta-archive-mobile nav {
        position: absolute;
        top: calc(100% + 14px);
        inset-inline-end: 0;
        width: 190px;
        padding: 10px;
        display: grid;
        gap: 4px;
        border: 1px solid #e1e9e2;
        border-radius: 10px;
        background: #fff;
        box-shadow: 0 12px 28px rgba(22, 62, 35, .15);
    }
    .behta-archive-mobile a { padding: 8px; }
}

html[lang^="ar"] .bbp-single,
html[lang^="ar"] .bgl-wrap {
    direction: rtl;
}

html[lang^="en"] .bbp-single,
html[lang^="en"] .bgl-wrap {
    direction: ltr;
}

@media print {
    html[lang^="en"] .bgl-table th:nth-child(4),
    html[lang^="en"] .bgl-table td:nth-child(4),
    html[lang^="ar"] .bgl-table th:nth-child(4),
    html[lang^="ar"] .bgl-table td:nth-child(4) {
        display: none !important;
    }
}
