/* Custom CSS */

/* Ascunde blocul newsletter si footer-top-bar pe pagina de checkout/comanda */
body#checkout .footer-top-bar,
body#checkout #blockEmailSubscription_displayFooterBefore,
body#checkout .block_newsletter {
    display: none !important;
}

/* Homepage: blocul de text "De ce sa alegeti produsele Upex?" / "Care sunt produsele noastre?"
   - mai mult aer intre paragrafe si intre cele doua coloane
   - buline vizibile la lista
   - spatiu inainte de footer */
body#index .elementor-element-e4f66c3 {
    padding-top: 30px;
    padding-bottom: 90px;
}

body#index .elementor-element-e4f66c3 .elementor-column:first-child .elementor-widget-wrap {
    padding-right: 40px;
}

body#index .elementor-element-e4f66c3 .elementor-column:last-child .elementor-widget-wrap {
    padding-left: 40px;
}

body#index .coloana .elementor-text-editor {
    font-size: 15px;
    line-height: 1.75;
}

body#index .coloana .elementor-text-editor h2,
body#index .coloana .elementor-text-editor h3 {
    margin: 0 0 20px;
    font-size: 30px;
    line-height: 1.25;
}

body#index .coloana .elementor-text-editor p {
    margin: 0 0 14px;
}

body#index .coloana .elementor-text-editor ul {
    margin: 4px 0 20px;
    padding-left: 22px;
    list-style: disc outside;
}

body#index .coloana .elementor-text-editor ul li {
    display: list-item;
    margin: 0 0 10px;
    padding-left: 4px;
    list-style: disc outside;
}

body#index .coloana .elementor-text-editor ul li::marker {
    color: #00006d;
}

@media (max-width: 767px) {
    body#index .elementor-element-e4f66c3 {
        padding-bottom: 50px;
    }

    body#index .elementor-element-e4f66c3 .elementor-column:first-child .elementor-widget-wrap,
    body#index .elementor-element-e4f66c3 .elementor-column:last-child .elementor-widget-wrap {
        padding-left: 0;
        padding-right: 0;
    }

    body#index .elementor-element-e4f66c3 .elementor-column:last-child {
        margin-top: 24px;
    }
}

/* Filtrele din coloana stângă: etichetele lungi se rup pe rânduri în loc să iasă din chenar,
   iar textul rămâne aliniat lângă căsuța de bifat */
#search_filters .facet .facet-label {
    display: flex;
    align-items: flex-start;
    width: 100%;
    margin: 0 0 8px;
}

#search_filters .facet .facet-label .custom-checkbox,
#search_filters .facet .facet-label .custom-radio {
    flex: 0 0 auto;
    margin: 2px 10px 0 0;
    top: 0;
}

#search_filters .facet .facet-label a {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    margin: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.35;
}

#search_filters .facet .facet-label a .magnitude {
    white-space: nowrap;
}
