/*
Theme Name: Elessi Child
Theme URI: https://nhdistributie.ro
Template: elessi-theme
Author: ProWebIt
Version: 2.5.0
*/

/* ===================================================
   CĂUTARE HEADER
=================================================== */
button.nasa-submit-search {
    padding-left: 30px !important;
    padding-right: 30px !important;
}

button.nasa-submit-search svg,
button.nasa-submit-search svg path {
    fill: #000 !important;
    color: #000 !important;
}

/* ===================================================
   MENIU MOBIL
=================================================== */
#nasa-menu-sidebar-content #mobile-navigation li {
    visibility: visible;
    opacity: 1;
    background-color: #fff !important;
    color: #000 !important;
}

#mobile-navigation .root-item.li_accordion.active {
    background-color: #fff !important;
    color: #000 !important;
}

#mobile-navigation li.root-item {
    padding-top: 1px;
    border-bottom: 1px solid #efefef;
}

#mobile-navigation li {
    margin: 0;
    padding: 0;
    list-style: none;
    position: relative;
}

/* ===================================================
   MENIU VERTICAL — "Categorii Produse"
=================================================== */
.nasa-vertical-header .vertical-menu-wrapper {
    border-color: #ddd;
}

.nasa-vertical-header.vertical-menu .section-title {
    background-color: #21272F !important;
    color: #FFCC00 !important;
    text-transform: none !important;
    border-radius: 4px !important;
    padding: 17px 24px !important;
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
}

.nasa-vertical-header.vertical-menu .section-title svg,
.nasa-vertical-header.vertical-menu .section-title span {
    color: #FFCC00 !important;
    fill: #FFCC00 !important;
}

/* ===================================================
   BARA DE MENIU
=================================================== */
.nasa-elements-wrap-main-menu.nasa-elements-wrap-bg,
.wide-nav.nasa-bg-wrap {
    background-color: #FFCC00 !important;
}

.nasa-menus-wrapper {
    background-color: transparent !important;
}

.main-menu-warpper .header-nav.nasa-main-menu > li > a.nasa-title-menu {
    color: #21272F !important;
    font-weight: 600;
}

.main-menu-warpper .header-nav.nasa-main-menu > li > a.nasa-title-menu svg.nasa-open-child {
    display: none;
}

.main-menu-warpper .header-nav.nasa-main-menu > li > a.nasa-title-menu,
.main-menu-warpper .header-nav.nasa-main-menu > li > a.nasa-title-menu:hover,
.main-menu-warpper .header-nav.nasa-main-menu > li > a.nasa-title-menu:focus,
.main-menu-warpper .header-nav.nasa-main-menu > li > a.nasa-title-menu:active,
.main-menu-warpper .header-nav.nasa-main-menu > li > a.nasa-title-menu:visited,
.main-menu-warpper .header-nav.nasa-main-menu > li.current-menu-item > a.nasa-title-menu {
    text-decoration: none !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    background: transparent !important;
}

.main-menu-warpper .header-nav.nasa-main-menu > li > a.nasa-title-menu:hover,
.main-menu-warpper .header-nav.nasa-main-menu > li.current-menu-item > a.nasa-title-menu {
    color: #000000 !important;
    font-weight: 700;
}

.main-menu-warpper .header-nav.nasa-main-menu > li > a.nasa-title-menu::after,
.main-menu-warpper .header-nav.nasa-main-menu > li > a.nasa-title-menu::before,
.nasa-nav-style-1 .header-nav > li > a::after,
.nasa-nav-style-1 .header-nav > li > a::before {
    display: none !important;
    content: none !important;
    width: 0 !important;
    background: transparent !important;
}

/* ===================================================
   HEADER ICONS — Favorite / Cont / Coș
=================================================== */
.header-icons {
    display: flex !important;
    align-items: center;
    gap: 16px;
    font-family: 'Inter', sans-serif;
}

.header-icons li {
    display: flex;
    align-items: center;
}

.header-icons li a {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 6px;
    font-size: 17px;
    font-weight: 500;
    color: #1a1a1a;
    text-decoration: none;
}

.header-icons svg {
    width: 22px;
    height: 22px;
    stroke-width: 1.5 !important;
}

.header-icons .icon-text {
    display: inline-block;
    margin: 0;
    font-size: 17px !important;
}

.header-icons li.nasa-icon-wishlist  { order: 1 !important; }
.header-icons li.menus-account       { order: 2 !important; }
.header-icons li.nasa-icon-mini-cart { order: 3 !important; }

.nasa-icon-mini-cart a {
    display: flex !important;
    align-items: center;
    gap: 6px;
    background: #f2c200;
    padding: 8px 18px;
    border-radius: 65px;
}

.nasa-icon-mini-cart .icon-text {
    display: none !important;
}

.nasa-icon-mini-cart .nasa-mini-number {
    position: static !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    margin: 0 !important;
    width: auto !important;
    min-width: auto !important;
    height: auto !important;
    line-height: 1 !important;
    background: transparent !important;
    color: #000 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    border-radius: 0 !important;
    display: inline-flex !important;
    align-items: center;
}

/* ===================================================
   PRETURI NHD - SINGLE PRODUCT + SHOP ARCHIVE
   HTML generat din functions.php prin nhd_custom_price_html().
=================================================== */
.nhd-price-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.nhd-price-old {
    order: 1;
    color: #999;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.1;
    text-decoration: line-through;
}

.nhd-price-incl {
    order: 2;
    color: #C2185B;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.1;
}

.nhd-price-incl small {
    font-size: 13px;
    font-weight: 500;
    color: #666;
}

.nhd-price-excl {
    order: 3;
    font-size: 13px;
    line-height: 1.2;
    color: #777;
}

.nhd-price-decimal {
    font-size: 60%;
    font-weight: 500;
    vertical-align: super;
    line-height: 0;
}

/* ===================================================
   CARDURI PRODUS - SHOP ARCHIVE FINAL
   Layoutul (preț stânga + buton dreapta pe același rând)
   este identic la toate rezoluțiile; doar dimensiunile
   se micșorează pe ecrane mici (controlat din JS, cu CSS
   ca fallback pentru progressive enhancement).
=================================================== */
.woocommerce ul.products li.product {
    display: flex;
    align-items: stretch;
}

.product.product-item,
.product-item.grid {
    width: 100%;
}

body .product-item.grid {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: #fff !important;
    border: 1px solid #dcdcdc !important;
    border-radius: 10px !important;
    box-shadow: none !important;
}

/* Zona imagine */
body .product-item.grid .product-img-wrap {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 210px !important;
    margin: 0 !important;
    padding: 30px 20px 10px !important;
    overflow: hidden !important;
}

body .product-item.grid .main-img,
body .product-item.grid .product-img,
body .product-item.grid .product-img-wrap a:not(.add-to-cart-grid) {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
}

body .product-item.grid .main-img img,
body .product-item.grid img {
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    height: 150px !important;
    max-height: 150px !important;
    margin: 0 auto !important;
    object-fit: contain !important;
}

/* Badge reducere */
body .product-item.grid .nasa-badges-wrap {
    position: absolute !important;
    left: 0 !important;
    bottom: 0 !important;
    top: auto !important;
    right: auto !important;
    z-index: 7 !important;
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    margin: 0 !important;
}

body .product-item.grid .badge.sale-label,
body .product-item.grid .nhd-generated-label {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 8px 14px !important;
    color: #fff !important;
    background-color: #C2185B !important;
    border-radius: 0 6px 6px 0 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-transform: none !important;
    white-space: nowrap !important;
}

body .product-item.grid .badge.deal-label,
body .product-item.grid .quick-view,
body .product-item.grid .nasa-quickview,
body .product-item.grid [class*="quick-view"],
body .product-item.grid [title="Quick View"] {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Wishlist — mereu vizibil, sus-dreapta (marimea exacta e din JS) */
body .product-item.grid .btn-wishlist {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    left: auto !important;
    bottom: auto !important;
    z-index: 9 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 26px !important;
    height: 26px !important;
    padding: 0 !important;
    margin: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    pointer-events: auto !important;
}

body .product-item.grid:hover .btn-wishlist {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

body .product-item.grid .btn-wishlist svg {
    width: 22px !important;
    height: 22px !important;
    color: #111 !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.6 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Zona de conținut */
body .product-item.grid .product-info-wrap.info,
body .product-item.grid .product-info-wrap,
body .product-item.grid .product-info {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    padding: 14px 16px 16px !important;
    margin: 0 !important;
}

/* Titlu — afisat integral, exact cum a fost introdus in WooCommerce */
html body.woocommerce-page ul.products li.product .product-item.grid .name.woocommerce-loop-product__title,
html body.woocommerce-page ul.products li.product .product-item.grid .name.woocommerce-loop-product__title a,
html body.woocommerce-page ul.products li.product .product-item.grid .name.woocommerce-loop-product__title::first-letter,
html body.woocommerce-page ul.products li.product .product-item.grid .name.woocommerce-loop-product__title a::first-letter {
    text-transform: normal !important;
}

html body.woocommerce-page ul.products li.product .product-item.grid .name.woocommerce-loop-product__title {
    display: block !important;
    overflow: visible !important;
    margin: 0 0 8px !important;
    padding: 0 !important;
    color: #111 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
    text-align: left !important;
    white-space: normal !important;
    letter-spacing: normal !important;
}

/* Rândul creat de JS: preț + buton, mereu pe același rând */
body .product-item.grid .nhd-price-cart-row {
    position: static !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
    gap: 10px !important;
    width: 100% !important;
    margin-top: auto !important;
    padding: 0 !important;
}

/* Preț, odata mutat in rand */
body .product-item.grid .nhd-price-cart-row .price {
    position: static !important;
    display: block !important;
    width: auto !important;
    flex: 1 1 auto !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}

body .product-item.grid .price .nhd-price-wrapper {
    gap: 0 !important;
}

body .product-item.grid .price .nhd-price-old {
    display: block !important;
    margin: 0 0 2px !important;
    color: #999 !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    text-decoration: line-through !important;
}

body .product-item.grid .price .nhd-price-incl {
    display: block !important;
    color: #C2185B !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
}

body .product-item.grid .price .nhd-price-incl small,
body .product-item.grid .price .nhd-price-excl {
    display: none !important;
}

body .product-item.grid .price .nhd-price-decimal {
    font-size: 58% !important;
    font-weight: 500 !important;
    vertical-align: super !important;
}

/* Buton — pastila mica, langa pret (marimea exacta e din JS) */
body .product-item.grid .nhd-price-cart-row .add-to-cart-grid {
    position: static !important;
    display: inline-flex !important;
    flex-direction: row-reverse !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 10px 16px !important;
    margin: 0 !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    background-color: #FFCC00 !important;
    border: none !important;
    border-radius: 999px !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    overflow: visible !important;
    white-space: nowrap !important;
}

body .product-item.grid .nhd-price-cart-row .add-to-cart-grid .add_to_cart_text {
    position: static !important;
    width: auto !important;
    min-width: max-content !important;
    color: #111 !important;
    background: transparent !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 0 !important;
    overflow: visible !important;
    white-space: nowrap !important;
}

body .product-item.grid .nhd-price-cart-row .add-to-cart-grid .cart-icon,
body .product-item.grid .nhd-price-cart-row .add-to-cart-grid .cart-icon svg {
    display: inline-flex !important;
    opacity: 1 !important;
    visibility: visible !important;
}

body .product-item.grid .nhd-price-cart-row .add-to-cart-grid .cart-icon {
    position: static !important;
    width: 18px !important;
    height: 18px !important;
    background: transparent !important;
}

body .product-item.grid .nhd-price-cart-row .add-to-cart-grid svg path {
    fill: #111 !important;
}

body .product-item.grid .nhd-price-cart-row .add-to-cart-grid:hover {
    background-color: #111 !important;
}

body .product-item.grid .nhd-price-cart-row .add-to-cart-grid:hover .add_to_cart_text {
    color: #FFCC00 !important;
}

body .product-item.grid .nhd-price-cart-row .add-to-cart-grid:hover svg path {
    fill: #FFCC00 !important;
}

/* ===================================================
   RESPONSIVE - TABLETĂ (fallback CSS; JS recalculeaza oricum)
=================================================== */
@media (max-width: 1024px) {
    body .product-item.grid .product-img-wrap {
        height: 190px !important;
        padding: 24px 16px 8px !important;
    }

    body .product-item.grid .main-img img,
    body .product-item.grid img {
        height: 130px !important;
        max-height: 130px !important;
    }

    body .product-item.grid .product-info-wrap.info,
    body .product-item.grid .product-info-wrap,
    body .product-item.grid .product-info {
        padding: 12px 14px 14px !important;
    }

    body .product-item.grid .name.woocommerce-loop-product__title {
        font-size: 13px !important;
    }

    body .product-item.grid .price .nhd-price-incl {
        font-size: 14px !important;
    }
}

/* ===================================================
   RESPONSIVE - MOBIL
   Preț și buton raman pe ACELASI rand, doar mai mici,
   exact ca in referinta (card_produs.jpg).
=================================================== */
 @media (max-width: 767px) {
    body .product-item.grid {
        border-radius: 12px !important;
    }

    body .product-item.grid .product-img-wrap {
        height: 260px !important;
        padding: 20px !important;
    }

    body .product-item.grid .main-img img,
    body .product-item.grid img {
        height: 210px !important;
        max-height: 210px !important;
    }

    body .product-item.grid .badge.sale-label,
    body .product-item.grid .nhd-generated-label {
        padding: 9px 16px !important;
        font-size: 14px !important;
    }

    body .product-item.grid .btn-wishlist svg {
        width: 24px !important;
        height: 24px !important;
    }

    body .product-item.grid .product-info-wrap.info,
    body .product-item.grid .product-info-wrap,
    body .product-item.grid .product-info {
        padding: 14px 16px 16px !important;
    }

    body .product-item.grid .name.woocommerce-loop-product__title {
        margin: 0 0 10px !important;
        font-size: 18px !important;
        line-height: 1.4 !important;
    }

    body .product-item.grid .nhd-price-cart-row {
        flex-direction: row !important;
        align-items: flex-end !important;
        justify-content: space-between !important;
        gap: 8px !important;
    }

    body .product-item.grid .price .nhd-price-old {
        font-size: 14px !important;
    }

    body .product-item.grid .price .nhd-price-incl {
        font-size: 22px !important;
    }
}

/* ===================================================
   BUTON ADAUGA / PRECOMANDA - SINGLE PRODUCT
   Acelasi design ca in shop archive: pastila galbena,
   icon cos in stanga, hover invers (negru + galben).
=================================================== */
.single-product .cart .ns-single-add-btn.single_add_to_cart_button {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    padding: 14px 28px !important;
    margin: 0 !important;
    background-color: #FFCC00 !important;
    color: #111 !important;
    border: none !important;
    border-radius: 999px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    box-shadow: none !important;
    white-space: nowrap !important;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.single-product .cart .ns-single-add-btn.single_add_to_cart_button:hover,
.single-product .cart .ns-single-add-btn.single_add_to_cart_button:focus {
    background-color: #111 !important;
    color: #FFCC00 !important;
}

.single-product .cart .ns-single-add-btn.single_add_to_cart_button .nhd-btn-cart-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
}

.single-product .cart .ns-single-add-btn.single_add_to_cart_button .nhd-btn-cart-icon svg {
    width: 20px;
    height: 20px;
    display: block;
}

.single-product .cart .ns-single-add-btn.single_add_to_cart_button .nhd-btn-cart-text {
    line-height: 1;
}



/* ===================================================
   BUTON "SOLICITA OFERTA" - PAGINA DE PRODUS INDIVIDUAL
   Identic ca stil/dimensiuni cu butonul Adauga/Precomanda.
=================================================== */
.single-product .nhd-offer-btn-single {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    padding: 14px 28px !important;
    margin: 0 !important;
    background-color: #FFCC00 !important;
    border: none !important;
    border-radius: 999px !important;
    box-shadow: none !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin-bottom: 20px !important;
}

.single-product .nhd-offer-btn-single .add_to_cart_text {
    color: #111 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

.single-product .nhd-offer-btn-single:hover,
.single-product .nhd-offer-btn-single:focus {
    background-color: #111 !important;
}

.single-product .nhd-offer-btn-single:hover .add_to_cart_text {
    color: #FFCC00 !important;
}




/* ========================================
   NHD - Produse de închiriat (ribbon + badge)
======================================== */
.product-item.grid { position: relative; }

.nhd-rental-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #E53935;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    padding: 5px 10px;
    border-radius: 4px;
    z-index: 5;
    line-height: 1.2;
}
/* ===================================================
   NHD v2.3.0 - SHOP MINIMAL + SINGLE PRODUCT VOLUME
   Homepage-ul custom nu este vizat de aceste reguli.
=================================================== */

/* Archive: un singur pret, fara etichete TVA. */
.woocommerce-shop .product-item.grid .nhd-price-incl small,
.woocommerce-shop .product-item.grid .nhd-price-excl,
.tax-product_cat .product-item.grid .nhd-price-incl small,
.tax-product_cat .product-item.grid .nhd-price-excl,
.tax-product_tag .product-item.grid .nhd-price-incl small,
.tax-product_tag .product-item.grid .nhd-price-excl,
.post-type-archive-product .product-item.grid .nhd-price-incl small,
.post-type-archive-product .product-item.grid .nhd-price-excl {
    display: none !important;
}

/* Cart real in butonul de archive. */
body .product-item.grid .add-to-cart-grid .nhd-loop-cart-svg {
    display: block !important;
    width: 17px !important;
    height: 17px !important;
    color: currentColor !important;
    fill: currentColor !important;
}

/* Discount de volum - single product, stil curat inspirat din PHS. */
.single-product .nhd-volume-discount {
    width: 100%;
    max-width: 620px;
    margin: 14px 0 18px;
    padding: 0;
    color: #202a36;
}

.single-product .nhd-volume-title {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 5px;
    padding-bottom: 9px;
    border-bottom: 1px solid #e5e7eb;
    font-size: 16px;
    line-height: 1.35;
}

.single-product .nhd-volume-title strong {
    color: #1b76b8;
    font-size: 18px;
    font-weight: 800;
}

.single-product .nhd-volume-title span {
    color: #3f4650;
    font-weight: 400;
}

.single-product .nhd-volume-tiers {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-bottom: 1px solid #e5e7eb;
}

.single-product .nhd-volume-tier {
    min-width: 0;
    padding: 10px 12px 11px;
    border-right: 1px solid #eceff2;
}

.single-product .nhd-volume-tier:last-child {
    border-right: 0;
}

.single-product .nhd-volume-range {
    margin-bottom: 4px;
    color: #30363d;
    font-size: 14px;
    line-height: 1.25;
    white-space: nowrap;
}

.single-product .nhd-volume-range b {
    color: #d21519;
    font-weight: 800;
}

.single-product .nhd-volume-price {
    display: flex;
    align-items: baseline;
    gap: 2px;
    color: #20242a;
    font-size: 14px;
    white-space: nowrap;
}

.single-product .nhd-volume-price strong {
    font-size: 16px;
    font-weight: 800;
}

.single-product .nhd-volume-price span {
    font-size: 12px;
}

@media (max-width: 767px) {
    .single-product .nhd-volume-discount {
        margin: 12px 0 15px;
    }

    .single-product .nhd-volume-title {
        gap: 2px 5px;
        font-size: 14px;
    }

    .single-product .nhd-volume-title strong {
        font-size: 17px;
    }

    .single-product .nhd-volume-tier {
        padding: 9px 5px 10px;
    }

    .single-product .nhd-volume-range {
        font-size: 11.5px;
        white-space: normal;
    }

    .single-product .nhd-volume-price {
        display: block;
        font-size: 11px;
    }

    .single-product .nhd-volume-price strong {
        font-size: 13px;
    }

    .single-product .nhd-volume-price span {
        font-size: 10px;
    }
}

/* ========================================================================== 
   NHD v2.4.0 - CORECTII FINALE MAGAZIN / SINGLE / CHECKOUT
   ========================================================================== */

/* Breadcrumb WooCommerce fara imaginea de fundal generica (tricou). */
body.woocommerce #nasa-breadcrumb-site,
body.woocommerce-page #nasa-breadcrumb-site {
    background-image: none !important;
    background-color: #f5f6f8 !important;
    background-position: center !important;
}

/* Carduri: o singura imagine, complet vizibila si fara crop lateral. */
body .product-item.grid .product-img-wrap {
    box-sizing: border-box !important;
}
body .product-item.grid .main-img img,
body .product-item.grid .product-img img,
body .product-item.grid .product-img-wrap img {
    width: auto !important;
    max-width: calc(100% - 20px) !important;
    object-fit: contain !important;
    object-position: center !important;
}
body .product-item.grid .back-img {
    display: none !important;
}

/* Related products: minimal, doar pretul net principal; fara swatch-uri de culoare. */
.single-product .related-product .nhd-price-incl small,
.single-product .related-product .nhd-price-excl,
.single-product .related-product .nasa-product-content-color-image-wrap,
.single-product .related-product .nasa-product-content-nasa_label-wrap,
.single-product .related-product .nasa-product-content-select-wrap,
.single-product .related-product .nasa-sc-pdeal-countdown,
.single-product .related-product .nasa-attr-ux_wrap,
.single-product .related-product .nasa-color-small-square,
.single-product .related-product .nasa-color-small-round {
    display: none !important;
}

/* Single product: elimina spatiile verticale exagerate inainte de descriere. */
.single-product .nasa-product-details-page .focus-info,
.single-product .nasa-product-details-page .product-gallery,
.single-product .nasa-product-details-page .nasa-product-details-wrap {
    min-height: 0 !important;
}
.single-product .nasa-product-details-page .product-gallery,
.single-product .nasa-product-details-page .nasa-product-details-wrap {
    margin-bottom: 24px !important;
    padding-bottom: 0 !important;
}
.single-product .woocommerce-tabs,
.single-product .nasa-single-product-tabs {
    margin-top: 20px !important;
    padding-top: 0 !important;
}

/* Checkout: selector PF/PJ cu doua butoane clare. */
.woocommerce-checkout .nhd-customer-type-field {
    margin-bottom: 22px !important;
}
.woocommerce-checkout .nhd-customer-type-field > label:first-child {
    display: block;
    margin-bottom: 9px;
    font-weight: 700;
    color: #101c2d;
}
.woocommerce-checkout .nhd-customer-type-field .woocommerce-input-wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.woocommerce-checkout .nhd-customer-type-field input.input-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.woocommerce-checkout .nhd-customer-type-field label.radio {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin: 0 !important;
    padding: 10px 14px;
    border: 1px solid #d7dde5;
    border-radius: 9px;
    background: #fff;
    color: #172439;
    font-weight: 700;
    cursor: pointer;
    transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.woocommerce-checkout .nhd-customer-type-field label.radio:hover {
    border-color: #f2c300;
}
.woocommerce-checkout .nhd-customer-type-field label.radio.is-selected,
.woocommerce-checkout .nhd-customer-type-field input.input-radio:checked + label.radio {
    border-color: #f2c300;
    background: #fff9dc;
    box-shadow: inset 0 0 0 1px #f2c300;
}
.woocommerce-checkout .nhd-company-field {
    transition: opacity .15s ease;
}

/* Filtre shop grupate. Widgetul vechi de categorii este ascuns ca sa evitam dublarea. */
.nasa-sidebar-off-canvas > .widget_product_categories,
.nasa-sidebar-off-canvas > .widget.widget_product_categories {
    display: none !important;
}
.nhd-catalog-filter {
    margin-bottom: 28px;
    color: #202936;
}
.nhd-catalog-filter-label {
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 700;
}
.nhd-catalog-filter-group + .nhd-catalog-filter-group {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #edf0f3;
}
.nhd-catalog-filter-group h3 {
    margin: 0 0 11px;
    font-size: 15px;
    font-weight: 800;
    color: #101c2d;
}
.nhd-catalog-filter-group ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.nhd-catalog-filter-group li {
    margin: 0;
    padding: 0;
}
.nhd-catalog-filter-group a {
    display: block;
    padding: 5px 0;
    color: #4a5565;
    font-size: 13px;
    line-height: 1.35;
}
.nhd-catalog-filter-group a:hover,
.nhd-catalog-filter-group li.is-active > a {
    color: #c69f00;
    font-weight: 700;
}

/* Despre noi - aceeasi directie grafica NHD, fara page-builder. */
.nhd-about-page {
    background: #fff;
    color: #142137;
}
.nhd-about-page .nhd-container {
    width: min(calc(100% - 48px), 1280px);
    margin: 0 auto;
}
.nhd-about-hero {
    padding: 72px 0 58px;
    background: linear-gradient(135deg, #f8fafc 0%, #fff 70%);
}
.nhd-about-eyebrow {
    display: block;
    margin-bottom: 12px;
    color: #a88400;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
}
.nhd-about-hero h1 {
    margin: 0 0 20px;
    color: #101c2d;
    font-size: clamp(36px, 4vw, 58px);
    line-height: 1.04;
    letter-spacing: -.035em;
}
.nhd-about-lead {
    max-width: 820px;
    margin: 0;
    font-size: clamp(21px, 2.4vw, 32px);
    font-weight: 700;
    line-height: 1.25;
}
.nhd-about-section {
    padding: 70px 0;
}
.nhd-about-alt {
    background: #f7f8fa;
}
.nhd-about-narrow {
    max-width: 900px;
}
.nhd-about-section p {
    margin: 0 0 19px;
    color: #425066;
    font-size: 17px;
    line-height: 1.75;
}
.nhd-about-two-col {
    display: grid;
    grid-template-columns: minmax(260px, .8fr) minmax(0, 1.4fr);
    gap: 72px;
    align-items: start;
}
.nhd-about-two-col h2 {
    margin: 7px 0 0;
    color: #101c2d;
    font-size: clamp(27px, 3vw, 40px);
    line-height: 1.12;
    letter-spacing: -.025em;
}
.nhd-about-number {
    color: #d4ad00;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
}
.nhd-about-closing {
    margin-top: 26px !important;
    color: #101c2d !important;
    font-size: 22px !important;
}
.nhd-about-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}
.nhd-about-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border: 1px solid #152239;
    border-radius: 999px;
    color: #152239;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.nhd-about-btn-primary {
    border-color: #ffd21f;
    background: #ffd21f;
}

@media (max-width: 767px) {
    .woocommerce-checkout .nhd-customer-type-field .woocommerce-input-wrapper {
        grid-template-columns: 1fr;
    }
    .nhd-catalog-filter {
        margin: 8px 0 22px;
        padding: 0 4px;
    }
    .nhd-catalog-filter-label {
        display: none;
    }
    .nhd-about-page .nhd-container {
        width: min(calc(100% - 30px), 1280px);
    }
    .nhd-about-hero {
        padding: 46px 0 38px;
    }
    .nhd-about-section {
        padding: 45px 0;
    }
    .nhd-about-two-col {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .nhd-about-section p {
        font-size: 15.5px;
        line-height: 1.68;
    }
}


/* ===================================================
   NHD v2.4.3 - corectii finale catalog / cos / TVA
=================================================== */

/* Butoane Despre noi: textul ramane vizibil pe toate starile. */
.nhd-about-btn,
.nhd-about-btn:visited {
    color: #152239 !important;
    text-decoration: none !important;
}
.nhd-about-btn:hover,
.nhd-about-btn:focus,
.nhd-about-btn:active {
    background-color: #152239 !important;
    border-color: #152239 !important;
    color: #FFCC00 !important;
    text-decoration: none !important;
}
.nhd-about-btn:hover *,
.nhd-about-btn:focus *,
.nhd-about-btn:active * {
    color: #FFCC00 !important;
    fill: currentColor !important;
}

/* In orice card de catalog/slidere nu afisam selectoare de variatii.
   Variantele se aleg doar pe single product. */
body .product-item.grid .nasa-product-content-color-image-wrap,
body .product-item.grid .nasa-product-content-nasa_label-wrap,
body .product-item.grid .nasa-product-content-select-wrap,
body .product-item.grid .nasa-attr-ux_wrap,
body .product-item.grid .nasa-color-small-square,
body .product-item.grid .nasa-color-small-round,
body .product-item.grid .nasa-label-small-square,
body .product-item.grid .nasa-label-small-square-1,
body .product-item.grid .nasa-product-content-variable-warp,
body .product-item.grid .nasa-product-content-variable-wrap {
    display: none !important;
}

/* Pret variabil in catalog: un singur pret minim, fara intervale TVA. */
body .product-item.grid .nhd-price-variable {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: baseline !important;
    gap: 4px !important;
}
body .product-item.grid .nhd-variable-from {
    color: #666 !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
}

/* Fallback: Buy Now ramane ascuns chiar daca Elessi il reataseaza tarziu. */
.single-product .nasa-buy-now,
.single-product input[name="nasa_buy_now"] {
    display: none !important;
}


/* ===================================================
   NHD v2.4.3 - COS / CHECKOUT CU TVA INCLUS
=================================================== */

/* Butonul manual Actualizeaza cosul nu mai este necesar: JS actualizeaza
   automat dupa orice modificare a cantitatii. Ramane in DOM pentru WooCommerce,
   dar este ascuns vizual. */
.woocommerce-cart-form button[name="update_cart"],
.woocommerce-cart-form input[name="update_cart"] {
    display: none !important;
}

/* Eliminam spatiul lasat inutil de butonul ascuns in unele layout-uri Elessi. */
.woocommerce-cart-form td.actions,
.woocommerce-cart-form .actions {
    min-height: 0 !important;
}

/* Rand informativ explicit in dreapta: TVA este deja inclus in subtotal/total. */
.woocommerce-cart .nhd-tax-included-row th,
.woocommerce-checkout .nhd-tax-included-row th {
    font-weight: 700 !important;
}
.woocommerce-cart .nhd-tax-included-row td,
.woocommerce-checkout .nhd-tax-included-row td {
    font-weight: 600 !important;
}

/* Catalog variabil: pastram un singur pret curat, fara texte auxiliare. */
body .product-item.grid .nhd-price-variable .nhd-variable-from {
    display: none !important;
}

/* Evitam dublarea informatiei de TVA sub total: folosim randul dedicat TVA inclus. */
.woocommerce-cart .order-total .includes_tax,
.woocommerce-checkout .order-total .includes_tax {
    display: none !important;
}

/* ===================================================
   NHD v2.4.4 - produse variabile curate in archive
=================================================== */
/* Elessi poate insera preturi auxiliare cand produsul are variatii.
   Dupa normalizarea JS, pastram un singur pret vizibil in randul final. */
body .product-item.grid .nhd-price-cart-row > .price {
    display: block !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    margin: 0 !important;
}
body .product-item.grid .nhd-price-default-variation {
    display: inline-flex !important;
    align-items: baseline !important;
    gap: 0 !important;
}
body .product-item.grid .nhd-price-default-variation .nhd-price-incl {
    display: inline-block !important;
    white-space: nowrap !important;
}


/* ===================================================
   NHD v2.4.5 - eliminare dubluri pret variabil
=================================================== */
/* In archive, dupa normalizarea JS, un produs variabil are o singura zona de pret. */
body .product-item.grid .price.nhd-variable-price-clean {
    display: block !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}
body .product-item.grid .price.nhd-variable-price-clean > .nhd-price-wrapper ~ .nhd-price-wrapper {
    display: none !important;
}

/* Fallback vizual: pe single variable nu afisam pretul general/range de sus.
   Pretul variatiei selectate ramane vizibil in formularul de variatii, langa cantitate. */
.single-product .product-type-variable .summary > .price.nasa-single-product-price,
.single-product .product-type-variable .summary > p.price.nasa-single-product-price {
    display: none !important;
}


/* ===================================================
   NHD v2.4.6 - un singur pret pentru produse variabile in archive
=================================================== */
/* Elessi poate adauga un al doilea pret din datele variatiei (de regula
   valoarea cu TVA). Dupa normalizarea JS, doar containerul NHD ramane vizibil. */
body .product-item.grid.product-type-variable .product-info-wrap .woocommerce-variation-price,
body .product-item.grid.product-type-variable .product-info-wrap .variation-price,
body .product-item.grid.product-type-variable .product-info-wrap .nasa-product-content-variable-warp,
body .product-item.grid.product-type-variable .product-info-wrap .nasa-product-content-variable-wrap,
body .product-item.grid.product-type-variable .product-info-wrap .nasa-product-content-select-wrap,
body .product-item.grid.product-type-variable .product-info-wrap .nasa-attr-ux_wrap {
    display: none !important;
}

body .product-item.grid.product-type-variable .price.nhd-variable-price-clean {
    display: block !important;
}
body .product-item.grid.product-type-variable .price.nhd-variable-price-clean .nhd-price-wrapper,
body .product-item.grid.product-type-variable .price.nhd-variable-price-clean .nhd-price-incl {
    display: inline-block !important;
    white-space: nowrap !important;
}

/* ===================================================
   NHD v2.4.7 - filtru Categorii mai compact pe desktop
   Pastreaza mobilul neschimbat. Cand lista de categorii este deschisa,
   folosim mai putin spatiu pentru filtru si mai mult pentru produse.
=================================================== */
@media only screen and (min-width: 1025px) {
    body .nasa-archive-product-content .nasa-push-cat-filter:not(.ns-top-bar-side-canvas).nasa-push-cat-show:not(.ns-top-bar-side-canvas) {
        width: 21% !important;
    }

    body .nasa-archive-product-content .nasa-products-page-wrap.nasa-has-push-cat.nasa-push-cat-show {
        width: 79% !important;
    }

    body .nasa-archive-product-content .nasa-push-cat-filter:not(.ns-top-bar-side-canvas) .widget.woocommerce {
        padding: 5px 6px 40px 4px !important;
    }

    body .nasa-push-cat-filter .nasa-product-categories-widget {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body .nasa-push-cat-filter .nasa-product-categories-widget > li.nasa-tax-item {
        position: relative !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body .nasa-push-cat-filter .nasa-product-categories-widget > li.nasa-tax-item > a.nasa-filter-item {
        display: block !important;
        width: 100% !important;
        padding: 5px 30px 5px 0 !important;
        font-size: 13px !important;
        line-height: 1.35 !important;
        white-space: normal !important;
    }

    /* Butonul +/- sta aproape de denumire si nu mai ocupa o zona lata. */
    body .nasa-push-cat-filter .nasa-product-categories-widget > li.li_accordion > a.accordion {
        position: absolute !important;
        top: 0 !important;
        right: 0 !important;
        left: auto !important;
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
        margin: 0 !important;
        padding: 0 !important;
        z-index: 3 !important;
    }

    body .nasa-push-cat-filter .nasa-product-categories-widget > li > ul.children {
        margin: 0 0 3px 8px !important;
        padding: 0 0 0 8px !important;
    }

    body .nasa-push-cat-filter .nasa-product-categories-widget > li > ul.children li > a.nasa-filter-item {
        padding-top: 4px !important;
        padding-bottom: 4px !important;
        font-size: 12.5px !important;
        line-height: 1.35 !important;
       
    }
}



/* ===================================================
   NHD v2.5.0 - carduri archive mai aerisite pe desktop
   Doar Magazin / categorii / tag-uri de produs.
   Mobilul, homepage-ul si single product raman neschimbate.
=================================================== */
@media only screen and (min-width: 1025px) {

    /* Mai mult spatiu util in partea de jos a cardului */
    body.woocommerce-shop .product-item.grid .product-info-wrap.info,
    body.woocommerce-shop .product-item.grid .product-info-wrap,
    body.woocommerce-shop .product-item.grid .product-info,
    body.post-type-archive-product .product-item.grid .product-info-wrap.info,
    body.post-type-archive-product .product-item.grid .product-info-wrap,
    body.post-type-archive-product .product-item.grid .product-info,
    body.tax-product_cat .product-item.grid .product-info-wrap.info,
    body.tax-product_cat .product-item.grid .product-info-wrap,
    body.tax-product_cat .product-item.grid .product-info,
    body.tax-product_tag .product-item.grid .product-info-wrap.info,
    body.tax-product_tag .product-item.grid .product-info-wrap,
    body.tax-product_tag .product-item.grid .product-info {
        padding: 13px 12px 15px !important;
    }

    /* Titlul pastreaza putin aer fata de randul pret + buton */
    body.woocommerce-shop .product-item.grid .name.woocommerce-loop-product__title,
    body.post-type-archive-product .product-item.grid .name.woocommerce-loop-product__title,
    body.tax-product_cat .product-item.grid .name.woocommerce-loop-product__title,
    body.tax-product_tag .product-item.grid .name.woocommerce-loop-product__title {
        margin-bottom: 10px !important;
    }

    /* Rand pret + buton: doua coloane clare, fara suprapuneri */
    body.woocommerce-shop .product-item.grid .nhd-price-cart-row,
    body.post-type-archive-product .product-item.grid .nhd-price-cart-row,
    body.tax-product_cat .product-item.grid .nhd-price-cart-row,
    body.tax-product_tag .product-item.grid .nhd-price-cart-row {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        align-items: end !important;
        column-gap: 10px !important;
        width: 100% !important;
        margin-top: auto !important;
        padding: 0 !important;
    }

    /* Zona de pret poate sa se micsoreze fara sa impinga butonul */
    body.woocommerce-shop .product-item.grid .nhd-price-cart-row .price,
    body.post-type-archive-product .product-item.grid .nhd-price-cart-row .price,
    body.tax-product_cat .product-item.grid .nhd-price-cart-row .price,
    body.tax-product_tag .product-item.grid .nhd-price-cart-row .price {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: left !important;
    }

    /* Pret principal putin mai mic */
    body.woocommerce-shop .product-item.grid .price .nhd-price-incl,
    body.post-type-archive-product .product-item.grid .price .nhd-price-incl,
    body.tax-product_cat .product-item.grid .price .nhd-price-incl,
    body.tax-product_tag .product-item.grid .price .nhd-price-incl,
    body.woocommerce-shop .product-item.grid .nhd-price-default-variation .nhd-price-incl,
    body.post-type-archive-product .product-item.grid .nhd-price-default-variation .nhd-price-incl,
    body.tax-product_cat .product-item.grid .nhd-price-default-variation .nhd-price-incl,
    body.tax-product_tag .product-item.grid .nhd-price-default-variation .nhd-price-incl {
        font-size: 15px !important;
        line-height: 1.05 !important;
        white-space: nowrap !important;
    }

    /* Pret vechi mai discret */
    body.woocommerce-shop .product-item.grid .price .nhd-price-old,
    body.post-type-archive-product .product-item.grid .price .nhd-price-old,
    body.tax-product_cat .product-item.grid .price .nhd-price-old,
    body.tax-product_tag .product-item.grid .price .nhd-price-old {
        font-size: 10px !important;
        line-height: 1 !important;
        margin: 0 0 2px !important;
        white-space: nowrap !important;
    }

    body.woocommerce-shop .product-item.grid .price .nhd-price-decimal,
    body.post-type-archive-product .product-item.grid .price .nhd-price-decimal,
    body.tax-product_cat .product-item.grid .price .nhd-price-decimal,
    body.tax-product_tag .product-item.grid .price .nhd-price-decimal {
        font-size: 52% !important;
    }

    /* Buton Adauga / Precomanda mai compact */
    body.woocommerce-shop .product-item.grid .nhd-price-cart-row .add-to-cart-grid,
    body.post-type-archive-product .product-item.grid .nhd-price-cart-row .add-to-cart-grid,
    body.tax-product_cat .product-item.grid .nhd-price-cart-row .add-to-cart-grid,
    body.tax-product_tag .product-item.grid .nhd-price-cart-row .add-to-cart-grid {
        display: inline-flex !important;
        flex-direction: row-reverse !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 5px !important;
        flex: 0 0 auto !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: 100% !important;
        min-height: 30px !important;
        padding: 7px 9px !important;
        margin: 0 !important;
        border-radius: 999px !important;
        white-space: nowrap !important;
    }

    body.woocommerce-shop .product-item.grid .nhd-price-cart-row .add-to-cart-grid .add_to_cart_text,
    body.post-type-archive-product .product-item.grid .nhd-price-cart-row .add-to-cart-grid .add_to_cart_text,
    body.tax-product_cat .product-item.grid .nhd-price-cart-row .add-to-cart-grid .add_to_cart_text,
    body.tax-product_tag .product-item.grid .nhd-price-cart-row .add-to-cart-grid .add_to_cart_text {
        font-size: 11px !important;
        line-height: 1 !important;
        font-weight: 600 !important;
        letter-spacing: 0 !important;
        white-space: nowrap !important;
    }

    body.woocommerce-shop .product-item.grid .nhd-price-cart-row .add-to-cart-grid .cart-icon,
    body.woocommerce-shop .product-item.grid .nhd-price-cart-row .add-to-cart-grid .cart-icon svg,
    body.post-type-archive-product .product-item.grid .nhd-price-cart-row .add-to-cart-grid .cart-icon,
    body.post-type-archive-product .product-item.grid .nhd-price-cart-row .add-to-cart-grid .cart-icon svg,
    body.tax-product_cat .product-item.grid .nhd-price-cart-row .add-to-cart-grid .cart-icon,
    body.tax-product_cat .product-item.grid .nhd-price-cart-row .add-to-cart-grid .cart-icon svg,
    body.tax-product_tag .product-item.grid .nhd-price-cart-row .add-to-cart-grid .cart-icon,
    body.tax-product_tag .product-item.grid .nhd-price-cart-row .add-to-cart-grid .cart-icon svg,
    body.woocommerce-shop .product-item.grid .add-to-cart-grid .nhd-loop-cart-svg,
    body.post-type-archive-product .product-item.grid .add-to-cart-grid .nhd-loop-cart-svg,
    body.tax-product_cat .product-item.grid .add-to-cart-grid .nhd-loop-cart-svg,
    body.tax-product_tag .product-item.grid .add-to-cart-grid .nhd-loop-cart-svg {
        width: 14px !important;
        height: 14px !important;
        min-width: 14px !important;
    }
}

/* ===================================================
   NHD v2.5.3 - filtru catalog reorganizat
   DOAR archive WooCommerce: Categorii produse + Domeniu de activitate.
=================================================== */
body.woocommerce-shop .nhd-catalog-filter,
body.post-type-archive-product .nhd-catalog-filter,
body.tax-product_cat .nhd-catalog-filter,
body.tax-product_tag .nhd-catalog-filter {
    margin: 0 0 24px !important;
    padding: 0 !important;
    color: #172235;
}

body.woocommerce-shop .nhd-catalog-filter-label,
body.post-type-archive-product .nhd-catalog-filter-label,
body.tax-product_cat .nhd-catalog-filter-label,
body.tax-product_tag .nhd-catalog-filter-label {
    margin: 0 0 12px !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    color: #667085 !important;
}

body.woocommerce-shop .nhd-catalog-filter-group,
body.post-type-archive-product .nhd-catalog-filter-group,
body.tax-product_cat .nhd-catalog-filter-group,
body.tax-product_tag .nhd-catalog-filter-group {
    margin: 0 !important;
    padding: 14px !important;
    border: 1px solid #edf0f4 !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: 0 4px 14px rgba(20, 31, 48, .035) !important;
}

body.woocommerce-shop .nhd-catalog-filter-group + .nhd-catalog-filter-group,
body.post-type-archive-product .nhd-catalog-filter-group + .nhd-catalog-filter-group,
body.tax-product_cat .nhd-catalog-filter-group + .nhd-catalog-filter-group,
body.tax-product_tag .nhd-catalog-filter-group + .nhd-catalog-filter-group {
    margin-top: 12px !important;
    padding-top: 14px !important;
    border-top: 1px solid #edf0f4 !important;
}

body.woocommerce-shop .nhd-catalog-filter-group h3,
body.post-type-archive-product .nhd-catalog-filter-group h3,
body.tax-product_cat .nhd-catalog-filter-group h3,
body.tax-product_tag .nhd-catalog-filter-group h3 {
    position: relative;
    margin: 0 0 9px !important;
    padding: 0 0 8px !important;
    font-size: 13.5px !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
    color: #111d31 !important;
    border-bottom: 1px solid #f0f2f5 !important;
}

body.woocommerce-shop .nhd-catalog-filter-group h3::after,
body.post-type-archive-product .nhd-catalog-filter-group h3::after,
body.tax-product_cat .nhd-catalog-filter-group h3::after,
body.tax-product_tag .nhd-catalog-filter-group h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 28px;
    height: 2px;
    border-radius: 99px;
    background: #ffd21f;
}

body.woocommerce-shop .nhd-catalog-filter-group ul,
body.post-type-archive-product .nhd-catalog-filter-group ul,
body.tax-product_cat .nhd-catalog-filter-group ul,
body.tax-product_tag .nhd-catalog-filter-group ul {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.woocommerce-shop .nhd-catalog-filter-group a,
body.post-type-archive-product .nhd-catalog-filter-group a,
body.tax-product_cat .nhd-catalog-filter-group a,
body.tax-product_tag .nhd-catalog-filter-group a {
    display: flex !important;
    align-items: center !important;
    min-height: 29px !important;
    padding: 5px 7px !important;
    border-radius: 7px !important;
    color: #4d5868 !important;
    font-size: 12.5px !important;
    line-height: 1.3 !important;
    transition: background-color .15s ease, color .15s ease !important;
}

body.woocommerce-shop .nhd-catalog-filter-group a:hover,
body.woocommerce-shop .nhd-catalog-filter-group li.is-active > a,
body.post-type-archive-product .nhd-catalog-filter-group a:hover,
body.post-type-archive-product .nhd-catalog-filter-group li.is-active > a,
body.tax-product_cat .nhd-catalog-filter-group a:hover,
body.tax-product_cat .nhd-catalog-filter-group li.is-active > a,
body.tax-product_tag .nhd-catalog-filter-group a:hover,
body.tax-product_tag .nhd-catalog-filter-group li.is-active > a {
    background: #fff8d7 !important;
    color: #152239 !important;
    font-weight: 700 !important;
}

/* Ascundem lista lunga Elessi doar in panoul de categorii al arhivei. */
body.woocommerce-shop .nasa-push-cat-filter .nasa-product-categories-widget,
body.post-type-archive-product .nasa-push-cat-filter .nasa-product-categories-widget,
body.tax-product_cat .nasa-push-cat-filter .nasa-product-categories-widget,
body.tax-product_tag .nasa-push-cat-filter .nasa-product-categories-widget {
    margin: 0 !important;
}

@media only screen and (min-width: 1025px) {
    body.woocommerce-shop .nasa-push-cat-filter.nasa-push-cat-show,
    body.post-type-archive-product .nasa-push-cat-filter.nasa-push-cat-show,
    body.tax-product_cat .nasa-push-cat-filter.nasa-push-cat-show,
    body.tax-product_tag .nasa-push-cat-filter.nasa-push-cat-show {
        width: 20% !important;
        padding-right: 10px !important;
    }

    body.woocommerce-shop .nasa-products-page-wrap.nasa-has-push-cat.nasa-push-cat-show,
    body.post-type-archive-product .nasa-products-page-wrap.nasa-has-push-cat.nasa-push-cat-show,
    body.tax-product_cat .nasa-products-page-wrap.nasa-has-push-cat.nasa-push-cat-show,
    body.tax-product_tag .nasa-products-page-wrap.nasa-has-push-cat.nasa-push-cat-show {
        width: 78% !important;
    }
}

@media only screen and (max-width: 767px) {
    body.woocommerce-shop .nhd-catalog-filter,
    body.post-type-archive-product .nhd-catalog-filter,
    body.tax-product_cat .nhd-catalog-filter,
    body.tax-product_tag .nhd-catalog-filter {
        margin: 8px 0 20px !important;
        padding: 0 12px 18px !important;
    }

    body.woocommerce-shop .nhd-catalog-filter-label,
    body.post-type-archive-product .nhd-catalog-filter-label,
    body.tax-product_cat .nhd-catalog-filter-label,
    body.tax-product_tag .nhd-catalog-filter-label {
        display: block !important;
        margin-bottom: 10px !important;
        font-size: 12px !important;
    }

    body.woocommerce-shop .nhd-catalog-filter-group,
    body.post-type-archive-product .nhd-catalog-filter-group,
    body.tax-product_cat .nhd-catalog-filter-group,
    body.tax-product_tag .nhd-catalog-filter-group {
        padding: 13px !important;
    }

    body.woocommerce-shop .nhd-mobile-filter-trigger-label,
    body.post-type-archive-product .nhd-mobile-filter-trigger-label,
    body.tax-product_cat .nhd-mobile-filter-trigger-label,
    body.tax-product_tag .nhd-mobile-filter-trigger-label {
        font-weight: 700 !important;
    }
}

/* ===================================================
   NHD v2.5.4 - sidebar catalog desktop mai aerisit
   DOAR archive WooCommerce. Domeniile folosesc product_tag.
=================================================== */
@media only screen and (min-width: 1025px) {
    body.woocommerce-shop .nasa-push-cat-filter.nasa-push-cat-show,
    body.post-type-archive-product .nasa-push-cat-filter.nasa-push-cat-show,
    body.tax-product_cat .nasa-push-cat-filter.nasa-push-cat-show,
    body.tax-product_tag .nasa-push-cat-filter.nasa-push-cat-show {
        width: 24% !important;
        padding-right: 22px !important;
    }

    body.woocommerce-shop .nasa-products-page-wrap.nasa-has-push-cat.nasa-push-cat-show,
    body.post-type-archive-product .nasa-products-page-wrap.nasa-has-push-cat.nasa-push-cat-show,
    body.tax-product_cat .nasa-products-page-wrap.nasa-has-push-cat.nasa-push-cat-show,
    body.tax-product_tag .nasa-products-page-wrap.nasa-has-push-cat.nasa-push-cat-show {
        width: 74% !important;
    }

    body.woocommerce-shop .nhd-catalog-filter,
    body.post-type-archive-product .nhd-catalog-filter,
    body.tax-product_cat .nhd-catalog-filter,
    body.tax-product_tag .nhd-catalog-filter {
        margin: 2px 0 26px !important;
        padding: 0 8px 0 2px !important;
    }

    body.woocommerce-shop .nhd-catalog-filter-label,
    body.post-type-archive-product .nhd-catalog-filter-label,
    body.tax-product_cat .nhd-catalog-filter-label,
    body.tax-product_tag .nhd-catalog-filter-label {
        margin: 0 0 18px !important;
        font-size: 14px !important;
        font-weight: 800 !important;
        color: #172235 !important;
    }

    body.woocommerce-shop .nhd-catalog-filter-group,
    body.post-type-archive-product .nhd-catalog-filter-group,
    body.tax-product_cat .nhd-catalog-filter-group,
    body.tax-product_tag .nhd-catalog-filter-group {
        margin: 0 !important;
        padding: 0 4px 18px 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    body.woocommerce-shop .nhd-catalog-filter-group + .nhd-catalog-filter-group,
    body.post-type-archive-product .nhd-catalog-filter-group + .nhd-catalog-filter-group,
    body.tax-product_cat .nhd-catalog-filter-group + .nhd-catalog-filter-group,
    body.tax-product_tag .nhd-catalog-filter-group + .nhd-catalog-filter-group {
        margin-top: 18px !important;
        padding-top: 18px !important;
        border-top: 1px solid #e9edf2 !important;
    }

    body.woocommerce-shop .nhd-catalog-filter-group h3,
    body.post-type-archive-product .nhd-catalog-filter-group h3,
    body.tax-product_cat .nhd-catalog-filter-group h3,
    body.tax-product_tag .nhd-catalog-filter-group h3 {
        margin: 0 0 11px !important;
        padding: 0 0 10px !important;
        font-size: 15.5px !important;
        line-height: 1.25 !important;
        font-weight: 800 !important;
        letter-spacing: -.01em !important;
        border-bottom: 1px solid #edf0f4 !important;
    }

    body.woocommerce-shop .nhd-catalog-filter-group h3::after,
    body.post-type-archive-product .nhd-catalog-filter-group h3::after,
    body.tax-product_cat .nhd-catalog-filter-group h3::after,
    body.tax-product_tag .nhd-catalog-filter-group h3::after {
        width: 34px !important;
        height: 3px !important;
    }

    body.woocommerce-shop .nhd-catalog-filter-group ul,
    body.post-type-archive-product .nhd-catalog-filter-group ul,
    body.tax-product_cat .nhd-catalog-filter-group ul,
    body.tax-product_tag .nhd-catalog-filter-group ul {
        gap: 3px !important;
    }

    body.woocommerce-shop .nhd-catalog-filter-group a,
    body.post-type-archive-product .nhd-catalog-filter-group a,
    body.tax-product_cat .nhd-catalog-filter-group a,
    body.tax-product_tag .nhd-catalog-filter-group a {
        min-height: 34px !important;
        padding: 7px 8px !important;
        border-radius: 7px !important;
        font-size: 13.5px !important;
        line-height: 1.3 !important;
        white-space: normal !important;
       margin-left: 15px !important;
}
    }

/* ===================================================
   NHD v2.5.5 - subcategorii ierarhice in archive shop
   DOAR filtrul custom din arhivele WooCommerce.
=================================================== */
body.woocommerce-shop .nhd-product-category-filter .nhd-main-category-list,
body.post-type-archive-product .nhd-product-category-filter .nhd-main-category-list,
body.tax-product_cat .nhd-product-category-filter .nhd-main-category-list,
body.tax-product_tag .nhd-product-category-filter .nhd-main-category-list {
    display: block !important;
}

body.woocommerce-shop .nhd-product-category-filter .nhd-cat-item,
body.post-type-archive-product .nhd-product-category-filter .nhd-cat-item,
body.tax-product_cat .nhd-product-category-filter .nhd-cat-item,
body.tax-product_tag .nhd-product-category-filter .nhd-cat-item {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.woocommerce-shop .nhd-product-category-filter .nhd-cat-row,
body.post-type-archive-product .nhd-product-category-filter .nhd-cat-row,
body.tax-product_cat .nhd-product-category-filter .nhd-cat-row,
body.tax-product_tag .nhd-product-category-filter .nhd-cat-row {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    width: 100% !important;
}

body.woocommerce-shop .nhd-product-category-filter .nhd-cat-row > .nhd-cat-link,
body.post-type-archive-product .nhd-product-category-filter .nhd-cat-row > .nhd-cat-link,
body.tax-product_cat .nhd-product-category-filter .nhd-cat-row > .nhd-cat-link,
body.tax-product_tag .nhd-product-category-filter .nhd-cat-row > .nhd-cat-link {
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

body.woocommerce-shop .nhd-product-category-filter .nhd-cat-toggle,
body.post-type-archive-product .nhd-product-category-filter .nhd-cat-toggle,
body.tax-product_cat .nhd-product-category-filter .nhd-cat-toggle,
body.tax-product_tag .nhd-product-category-filter .nhd-cat-toggle {
    flex: 0 0 30px !important;
    width: 30px !important;
    height: 30px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: transparent !important;
    color: #7a8492 !important;
    font: inherit !important;
    line-height: 1 !important;
    cursor: pointer !important;
    transition: color .15s ease, background-color .15s ease !important;
}

body.woocommerce-shop .nhd-product-category-filter .nhd-cat-toggle span,
body.post-type-archive-product .nhd-product-category-filter .nhd-cat-toggle span,
body.tax-product_cat .nhd-product-category-filter .nhd-cat-toggle span,
body.tax-product_tag .nhd-product-category-filter .nhd-cat-toggle span {
    font-size: 18px !important;
    font-weight: 400 !important;
    transform: translateY(-1px);
}

body.woocommerce-shop .nhd-product-category-filter .nhd-cat-toggle:hover,
body.post-type-archive-product .nhd-product-category-filter .nhd-cat-toggle:hover,
body.tax-product_cat .nhd-product-category-filter .nhd-cat-toggle:hover,
body.tax-product_tag .nhd-product-category-filter .nhd-cat-toggle:hover {
    color: #152239 !important;
    background: #f6f7f9 !important;
}

body.woocommerce-shop .nhd-product-category-filter .nhd-subcategory-list,
body.post-type-archive-product .nhd-product-category-filter .nhd-subcategory-list,
body.tax-product_cat .nhd-product-category-filter .nhd-subcategory-list,
body.tax-product_tag .nhd-product-category-filter .nhd-subcategory-list {
    display: block !important;
    margin: 2px 0 7px 11px !important;
    padding: 1px 0 1px 10px !important;
    border-left: 1px solid #e8ebef !important;
}

body.woocommerce-shop .nhd-product-category-filter .nhd-subcategory-list[hidden],
body.post-type-archive-product .nhd-product-category-filter .nhd-subcategory-list[hidden],
body.tax-product_cat .nhd-product-category-filter .nhd-subcategory-list[hidden],
body.tax-product_tag .nhd-product-category-filter .nhd-subcategory-list[hidden] {
    display: none !important;
}

body.woocommerce-shop .nhd-product-category-filter .nhd-subcategory-list .nhd-cat-link,
body.post-type-archive-product .nhd-product-category-filter .nhd-subcategory-list .nhd-cat-link,
body.tax-product_cat .nhd-product-category-filter .nhd-subcategory-list .nhd-cat-link,
body.tax-product_tag .nhd-product-category-filter .nhd-subcategory-list .nhd-cat-link {
    min-height: 28px !important;
    padding: 5px 6px !important;
    font-size: 12.5px !important;
    font-weight: 500 !important;
    color: #667085 !important;
}

body.woocommerce-shop .nhd-product-category-filter .nhd-subcategory-list .nhd-cat-link:hover,
body.woocommerce-shop .nhd-product-category-filter .nhd-subcategory-list .is-active > .nhd-cat-row > .nhd-cat-link,
body.post-type-archive-product .nhd-product-category-filter .nhd-subcategory-list .nhd-cat-link:hover,
body.post-type-archive-product .nhd-product-category-filter .nhd-subcategory-list .is-active > .nhd-cat-row > .nhd-cat-link,
body.tax-product_cat .nhd-product-category-filter .nhd-subcategory-list .nhd-cat-link:hover,
body.tax-product_cat .nhd-product-category-filter .nhd-subcategory-list .is-active > .nhd-cat-row > .nhd-cat-link,
body.tax-product_tag .nhd-product-category-filter .nhd-subcategory-list .nhd-cat-link:hover,
body.tax-product_tag .nhd-product-category-filter .nhd-subcategory-list .is-active > .nhd-cat-row > .nhd-cat-link {
    background: #fff8d7 !important;
    color: #152239 !important;
    font-weight: 700 !important;
}

@media only screen and (min-width: 1025px) {
    body.woocommerce-shop .nhd-product-category-filter .nhd-cat-row > .nhd-cat-link,
    body.post-type-archive-product .nhd-product-category-filter .nhd-cat-row > .nhd-cat-link,
    body.tax-product_cat .nhd-product-category-filter .nhd-cat-row > .nhd-cat-link,
    body.tax-product_tag .nhd-product-category-filter .nhd-cat-row > .nhd-cat-link {
        padding-left: 8px !important;
        padding-right: 6px !important;
    }
}

.nasa-products-page-wrap.nasa-has-push-cat.nasa-push-cat-show [class*="block-grid-"] > li {
    padding: 3px 3px 3px 3px !important;
}