/*social login in login/register modal*/
.mo-openid-app-icons {
    display: flex;
    flex-direction: column;
    row-gap: 12px;
    margin-top: -32px;
}

.mo-openid-app-icons a.login-button {
    display: flex !important;
    color: #111;
    font-weight: bold !important;
    align-items: center;
}

.mo-openid-app-icons a.login-button:hover {
    cursor: pointer;
}

.mo-openid-app-icons a.login-button i {
    margin-left: 0;
    color: #fff !important;
    /*padding: 0 8px 0 0 !important;*/
    padding: 0 !important;
    margin-right: 4px;
    /**/
    width: 50px;
    font-size: 32px;
}

.cuco-social-login span {
    display: block !important;
    margin-bottom: 6px !important;
    font-weight: 600 !important;
    color: #AAB2C3;
    font-size: 13px;
    line-height: 20px;
}

/*change checkbo to togle for keep signed in, also loginregister modal*/
/* Hide checkbox but keep it accessible */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.cuco-toggle-checkbox {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.toggle-visual {
    display: flex;
    align-items: center;
    gap: 10px;
}

.toggle-track {
    width: 50px;
    height: 24px;
    background-color: #ddd;
    border-radius: 12px;
    position: relative;
    transition: background-color 0.3s ease;
}

.toggle-thumb {
    width: 20px;
    height: 20px;
    background-color: white;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.toggle-label {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

/* When checkbox is checked, style the next sibling .toggle-visual */
.visually-hidden:checked + .toggle-visual .toggle-track {
    background-color: #4CAF50;
}

.visually-hidden:checked + .toggle-visual .toggle-thumb {
    transform: translateX(26px);
}

/* Optional: Hover effects */
.cuco-toggle-checkbox:hover .toggle-track {
    background-color: #ccc;
}

.visually-hidden:checked + .toggle-visual .toggle-track:hover {
    background-color: #3d8b40;
}

/*VISUAL FIXES*/
/*fix sageata dubla toTop*/
button.reg-top.show {
    display: none;
}

/*fix sectiune cta footer dupa eliminare buton cta :) */
.ft-cta .cta-grid{
    display: grid;
    gap: 12px;
}

.ft-cta h2{
    line-height: 1.75;
}

.ft-cta .chips {
    margin-top:0 !important;
}

@media (min-width:980px) {
    .ft-cta .cta-grid {
        /*grid-template-columns: 1fr 1fr;*/
        grid-template-columns: 1fr;
        align-items: center;
        column-gap: 14px;
        align-items: center;
    }
}

/*adaugare text in panoul de control la miosiuni externe*/
span.me-glow{
    display: inline-block;
    margin: 0 0.25em 0 1em;
    animation: meGlowPulse 2.8s ease-in-out infinite;
}

@keyframes meGlowPulse{
    0%{
        opacity: 0.85;
        text-shadow: 0 0 0 rgba(255,255,255,0);
        transform: scale(1);
    }
    50%{
        opacity: 1;
        text-shadow: 0 0 8px rgba(255,255,255,0.35);
        transform: scale(1.02);
    }
    100%{
        opacity: 0.85;
        text-shadow: 0 0 0 rgba(255,255,255,0);
        transform: scale(1);
    }
}
@media (max-width:768px) {
    span.me-glow {
        display: block;
        margin: 0;
    }
}


@media (max-width:1024px){
    .hdr-menu-mobile .elementor-menu-toggle{
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 60px !important;
        height: 60px !important;
        background: transparent !important;
        border: none !important;
        border-radius: 8px !important;
        z-index: 10;
        padding: 0 !important;
        transition: background 0.25s ease !important;
        position: relative !important;
        transform: none !important;
        rotate: none !important;
        animation: none !important;
    }

    /* BLOCHEZ orice rotații când e activ */
    .hdr-menu-mobile .elementor-menu-toggle.elementor-active{
        transform: none !important;
        rotate: none !important;
        animation: none !important;
        background: transparent !important;
    }

    /* Ascundem iconițele default Elementor */
    .hdr-menu-mobile .elementor-menu-toggle i,
    .hdr-menu-mobile .elementor-menu-toggle svg,
    .hdr-menu-mobile .elementor-menu-toggle .eicon,
    .hdr-menu-mobile .elementor-menu-toggle [class*="icon"] {
        display: none !important;
        transform: none !important;
        rotate: none !important;
    }

    /* SVG custom ca background - HAMBURGER */
    .hdr-menu-mobile .elementor-menu-toggle::before{
        content: '';
        display: block;
        width: 60px;
        height: 60px;
        background-image: url('data:image/svg+xml;utf8,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g><rect x="15" y="15" width="30" height="3" rx="1.5" fill="%23D4AF37"/><rect x="15" y="23.5" width="30" height="3" rx="1.5" fill="%23D4AF37"/><rect x="15" y="32" width="30" height="3" rx="1.5" fill="%23D4AF37"/></g><text x="30" y="48" font-family="Inter, sans-serif" font-size="11" font-weight="600" fill="%23D4AF37" text-anchor="middle">Meniu</text></svg>');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        transform: none !important;
        rotate: none !important;
        animation: none !important;
    }

    /* SVG custom când e ACTIV - X */
    .hdr-menu-mobile .elementor-menu-toggle.elementor-active::before{
        background-image: url('data:image/svg+xml;utf8,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g><line x1="18" y1="15" x2="42" y2="35" stroke="%23D4AF37" stroke-width="3" stroke-linecap="round"/><line x1="42" y1="15" x2="18" y2="35" stroke="%23D4AF37" stroke-width="3" stroke-linecap="round"/></g><text x="30" y="48" font-family="Inter, sans-serif" font-size="11" font-weight="600" fill="%23D4AF37" text-anchor="middle">Meniu</text></svg>');
        transform: none !important;
        rotate: none !important;
    }

    /* HOVER */
    .hdr-menu-mobile .elementor-menu-toggle:hover{
        background: rgba(212, 175, 55, 0.15) !important;
    }

    .hdr-menu-mobile .elementor-menu-toggle:hover::before{
        background-image: url('data:image/svg+xml;utf8,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g><rect x="15" y="15" width="30" height="3" rx="1.5" fill="%23F6D773"/><rect x="15" y="23.5" width="30" height="3" rx="1.5" fill="%23F6D773"/><rect x="15" y="32" width="30" height="3" rx="1.5" fill="%23F6D773"/></g><text x="30" y="48" font-family="Inter, sans-serif" font-size="11" font-weight="600" fill="%23F6D773" text-anchor="middle">Meniu</text></svg>');
    }

    .hdr-menu-mobile .elementor-menu-toggle.elementor-active:hover::before{
        background-image: url('data:image/svg+xml;utf8,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g><line x1="18" y1="15" x2="42" y2="35" stroke="%23F6D773" stroke-width="3" stroke-linecap="round"/><line x1="42" y1="15" x2="18" y2="35" stroke="%23F6D773" stroke-width="3" stroke-linecap="round"/></g><text x="30" y="48" font-family="Inter, sans-serif" font-size="11" font-weight="600" fill="%23F6D773" text-anchor="middle">Meniu</text></svg>');
    }

    /* Ascundem textul ::after dacă exista */
    .hdr-menu-mobile .elementor-menu-toggle::after{
        display: none !important;
    }
}

.elementor-983 .elementor-element.elementor-element-5a3941d img {
    padding: 3px;
    border-width: 2px;
}


/* tweak product images carousel from product page */

.product_images .elementor-swiper-button.elementor-swiper-button-next {
    right: 0 !important;
}

.product_images .elementor-swiper-button.elementor-swiper-button-prev {
    left: 0 !important;
}

.product_images .elementor-element.elementor-pagination-position-outside .swiper .elementor-swiper-button {
    top: calc(50% - 30px / 2) !important;
    opacity: 1 !important;
}
.product_images .elementor-swiper-button {
    opacity: 1 !important;
}


.product_images .swiper-pagination-horizontal {
    margin-bottom: -16px !important;
}

/*fix hero home*/
/*@media (min-width: 768px) {*/
/*    .cgr-hero-title > h2 span {*/
/*        font-size: 60px !important;*/
/*    }*/
/*    .cgr-hero-lead > p {*/
/*        font-size: 20px !important;*/
/*    }*/
/*}*/
.cgr-hero .elementor-widget-image img {
    max-height: 420px !important;
}

/*//fix for header logo on stickuy*/
.elementor-983 .elementor-element.elementor-element-d2c6f7b img {
    min-width: 60px !important;
    transition: all 0.4s ease-in-out !important;
}

.elementor-983 .elementor-element.elementor-element-5a3941d img {
    min-width: 36px !important;
    max-width: 36px !important;
}

/*fix butone social login in coloana pe mobil*/
/*cucu-social-buttons--vertical*/
@media (max-width: 768px) {
    .custom.mo-openid-app-icons {
        flex-direction: column !important;
    }

    .custom.mo-openid-app-icons a {
        max-width: unset !important;
    }
}