/* 
Theme Name: Elia Cosmetics
Theme URI: https://github.com/elementor/hello-theme-child/
Description: 
Author: Inobox Team
Author URI: https://inobox.ro/
Template: hello-elementor
Version: 2.0.50
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
#wpdcom .wpd-form .wpd-avatar img, #wpdcom .wpd-form .wpd-avatar img.avatar,
#wpdcom .wpd-comment .wpd-avatar img, #wpdcom .wpd-comment .wpd-avatar img.avatar {
    border: 0 !important;
    background-color: inherit !important;
}
.bg_blue{
    background: transparent radial-gradient(closest-side at 50% 50%, #304699 0%, #2A3273 46%, #252860 100%) 0% 0% no-repeat padding-box;
}
.bg_blue i{
    color: #D6C169;
}
.wpd-cf-rating .wpd-cf-label {
    display: none;
}
.elementor-location-footer a {
    color: #fff;
}

.wpd-cf-rating .wpd-cf-value {
    padding-left: 0 !important;!i;!;
}
.wpd-thread-list .wpd-comment {
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 1px solid #7777772b;
}
.elementor-location-footer .elementor-field-group.e-form__buttons {
    padding-top: 20px;
}
/* Inițializează counterul pe containerul principal */
.elementor-widget-container {
    counter-reset: count-number; /* Inițializează counterul */
}

/* Aplica contorul pe fiecare element .count_number */
.count_number::before {
    display: flex;
    justify-content: center;
    border-radius: 50%;
    align-items: center;
    counter-increment: count-number;
    content: counter(count-number);
    /* font-weight: bold; */
    color: #163D8A;
    margin-right: 5px;
    background: #D6C169;
    /* opacity: 0.13; */
    font-family: 'dolly-new';
}
.single.single-produs header {
    background: transparent radial-gradient(closest-side at 50% 50%, #304699 0%, #2A3273 46%, #252860 100%) 0% 0% no-repeat padding-box;
}
.bg_mobile a:hover span{
    color: #D6C169 !important;
}
#wpdcom .wpd-comment-date{
    ccolor: #163d8a94;
}
#wpdcom .wpd-comment-footer .wpd-reply-button, .wpd-reply-button svg, #wpdcom .wpd-comment-footer .wpd-reply-button svg,
#wpdcom .wpd-comment-footer .wpd-vote-up svg, #wpdcom .wpd-comment-footer .wpd-vote-down svg{
    color: #163D8A;
    fill: #163D8A;
}
#wpdcom .ql-editor::before{
    color: #163d8abd;
}
.wpd-form-row input::placeholder {
    color: #163d8abd;
}
#wpdcom .wpd-thread-filter .wpdf-sorting,
#wpdcom .wpd-thread-head .wpd-thread-info, 
#wpdcom .wpd-auth .wpd-login, .wpd-field-group-title,
.wpd-sbs-toggle i, .wpd-sbs-toggle span {
    color: #163D8A;
}
#wpdcom .wpd-form-row .wpdiscuz-item .wpd-field-icon,
#wpdcom .wpd-thread-head .wpdiscuz-user-settings, 
.wpd-rating .wpd-rating-wrap .wpd-rating-left,
.wpd-rating .wpd-rating-wrap .wpd-rating-right,
.wpd-rating .wpd-rating-wrap .wpd-rating-title,
.wpd-rating .wpd-rating-wrap .wpd-rating-value{
    border-color: #163D8A !important;
    color: #163D8A !important;
}
@media screen and (min-width: 600px) and (max-width: 1024px) {

    .custom_button_zone > div{
        width: auto !important;
        height: 43px;
        border-radius: 31px;
        opacity: 1;
        display: flex;
        justify-content: center;
        align-items: center;
    }

}
@media (min-width: 588px){
    li.menu-item.menu-item-1847 {
        display: none;
    }
    .count_number::before {
        width: 42px;
        height: 42px;
        padding-bottom: 3px;
        font-size: 20px;
        margin-bottom: 20px;
    }
    .custom_button_zone{
        justify-content: center;
        align-items: center;
        position: absolute;
        bottom: 45px;
    }
    .custom_button_zone > div{
        width: 241px;
        height: 43px;
        border-radius: 31px;
        opacity: 1;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    /* Setarea grilei cu 6 coloane și un spațiu între elemente */
    .grid_custom .elementor-loop-container {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        grid-gap: 20px;
    }
    
    /* Fiecare item ocupă două coloane */
    .grid_custom .e-loop-item {
        grid-column: span 2;
    }
    
    /* Centrare pentru cazul cu 2 elemente rămase */
    .grid_custom .e-loop-item:nth-last-child(2):nth-child(odd) {
        grid-column-end: -4;
    }
    
    .grid_custom .e-loop-item:last-child:nth-child(odd) {
        grid-column-end: -1;
    }
  
  
}
@media (max-width: 587px){
    .single.single-afectiune header > div{
        background: transparent radial-gradient(closest-side at 50% 50%, #304699 0%, #2A3273 46%, #252860 100%) 0% 0% no-repeat padding-box;
    }
    nav > .e-n-menu-wrapper > ul{
        margin: 30px 0 !important;
        padding: 20px 0 !important;
    }
 
    .count_number::before {
        width: 65px;
        height: 65px;
        padding-bottom: 3px;
        font-size: 45px;
        margin-bottom: 20px;
        margin: 0 auto 20px;
    }
    a.elementor-item {
        justify-content: center;
    }
    .custom_button_zone{
        justify-content: center;
        align-items: center;
        position: absolute;
        bottom: 24px;
    }
    .custom_button_zone > div{
        width: 155px;
        border-radius: 31px;
        opacity: 1;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .bg_blue_mobil {
        background: transparent radial-gradient(closest-side at 50% 50%, #304699 0%, #2A3273 46%, #252860 100%) 0% 0% no-repeat padding-box !important;
    }
    .elementor-form-fields-wrapper.elementor-labels- input {
        text-align: center;
    }
    li.e-n-menu-item ul.elementor-icon-list-items.elementor-inline-items {
        flex-direction: column;
    }
    .bg_mobile {
        background-color: #ffff !important;
    }
    .elementor-widget-n-menu .e-n-menu-heading{
        background-color: #F6ECE4 !important;
        box-shadow: 0 2px 11px -2px rgba(0, 0, 0, 0.2);
    }
}