/*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;
}

@media (min-width: 1600px) {
    .cgr-hero .elementor-widget-image img {
        max-height: 504px !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;
    }
}

/* Unified mobile menu trigger cleanup — neutralize old pseudo-icon system */
@media (max-width:1024px){
    .hdr-menu-mobile .elementor-menu-toggle::before,
    .hdr-menu-mobile .elementor-menu-toggle::after{
        content:none !important;
        display:none !important;
        background-image:none !important;
        background:none !important;
    }

    .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"],
    .hdr-menu-mobile .elementor-menu-toggle__icon--open,
    .hdr-menu-mobile .elementor-menu-toggle__icon--close{
        display:block !important;
    }

    .hdr-menu-mobile .elementor-menu-toggle__icon--close{
        display:none !important;
    }

    .hdr-menu-mobile .elementor-menu-toggle.elementor-active .elementor-menu-toggle__icon--open{
        display:none !important;
    }

    .hdr-menu-mobile .elementor-menu-toggle.elementor-active .elementor-menu-toggle__icon--close{
        display:block !important;
    }
}

/* Mobile header final safety pass — keep one trigger, one icon state */
@media (max-width:1024px){
    .elementor-location-header .mobile-account-btn,
    .elementor-location-header .cacc,
    .elementor-location-header .cacc-in,
    .elementor-location-header .cacc-dd{
        display:none !important;
        visibility:hidden !important;
        opacity:0 !important;
        pointer-events:none !important;
    }

    .elementor-location-header .hdr-menu-mobile .elementor-menu-toggle::before,
    .elementor-location-header .hdr-menu-mobile .elementor-menu-toggle::after{
        content:none !important;
        display:none !important;
        background-image:none !important;
        background:none !important;
    }

    .elementor-location-header .hdr-menu-mobile .elementor-menu-toggle{
        position:relative !important;
    }

    .elementor-location-header .hdr-menu-mobile .elementor-menu-toggle > .elementor-menu-toggle__icon--open,
    .elementor-location-header .hdr-menu-mobile .elementor-menu-toggle > .elementor-menu-toggle__icon--close{
        position:absolute !important;
        inset:0 !important;
        margin:auto !important;
        width:18px !important;
        height:18px !important;
    }

    .elementor-location-header .hdr-menu-mobile .elementor-menu-toggle > .elementor-menu-toggle__icon--open{
        display:block !important;
        visibility:visible !important;
        opacity:1 !important;
    }

    .elementor-location-header .hdr-menu-mobile .elementor-menu-toggle > .elementor-menu-toggle__icon--close{
        display:none !important;
        visibility:hidden !important;
        opacity:0 !important;
    }

    .elementor-location-header .hdr-menu-mobile .elementor-menu-toggle.elementor-active > .elementor-menu-toggle__icon--open{
        display:none !important;
        visibility:hidden !important;
        opacity:0 !important;
    }

    .elementor-location-header .hdr-menu-mobile .elementor-menu-toggle.elementor-active > .elementor-menu-toggle__icon--close{
        display:block !important;
        visibility:visible !important;
        opacity:1 !important;
    }
}

/* Product page responsive polish */
.single-product .first-order-notice {
    margin-top: 2px !important;
}

@media (max-width: 374px) {
    .single-product .cuco-lottery-summary .product_title {
        font-size: 24px !important;
        line-height: 1.24 !important;
        text-wrap: balance;
    }
}

@media (min-width: 768px) and (max-width: 1100px) {
    .single-product .cuco-lottery-wrapper > .e-con-inner {
        display: flex !important;
        flex-direction: column !important;
        gap: 24px !important;
    }

    .single-product .cuco-lottery-gallery,
    .single-product .cuco-lottery-summary {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        margin: 0 !important;
    }

    .single-product .cuco-lottery-summary .product_title {
        max-width: none !important;
        font-size: 32px !important;
        line-height: 1.2 !important;
    }
}

@media (min-width: 1200px) {
    .single-product .cuco-lottery-wrapper,
    .single-product .cuco-lottery-wrapper > .e-con-inner {
        max-width: 1280px !important;
    }

    .single-product .cuco-lottery-wrapper > .e-con-inner {
        gap: 32px !important;
    }

    .single-product .cuco-lottery-gallery {
        width: calc(55% - 16px) !important;
        flex: 0 0 calc(55% - 16px) !important;
    }

    .single-product .cuco-lottery-summary {
        width: calc(45% - 16px) !important;
        flex: 0 0 calc(45% - 16px) !important;
    }
}

@media (max-width: 767px) {
    .single-product .cuco-live-activity-shell {
        right: 12px !important;
        bottom: 88px !important;
    }

    .single-product .cuco-live-activity-bubble {
        width: min(240px, calc(100vw - 32px)) !important;
        max-width: min(240px, calc(100vw - 32px)) !important;
        padding: 11px 13px !important;
        font-size: 12px !important;
    }
}

.single-product:is(.cuco-activation-preview, .cuco-lp2-funnel) .cuco-single-product-activation {
    margin: 0 0 20px;
}

.single-product:is(.cuco-activation-preview, .cuco-lp2-funnel) .cuco-single-product-activation__card {
    padding: 20px 20px 18px;
    border-radius: 18px;
    border: 1px solid rgba(246, 215, 115, 0.16);
    background: linear-gradient(180deg, rgba(23, 30, 45, 0.96) 0%, rgba(17, 23, 38, 0.98) 100%);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.single-product:is(.cuco-activation-preview, .cuco-lp2-funnel) .cuco-activation-kicker {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.single-product:is(.cuco-activation-preview, .cuco-lp2-funnel) .cuco-activation-step,
.single-product:is(.cuco-activation-preview, .cuco-lp2-funnel) .cuco-activation-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.single-product:is(.cuco-activation-preview, .cuco-lp2-funnel) .cuco-activation-step {
    background: rgba(246, 215, 115, 0.18);
    color: #F6D773;
}

.single-product:is(.cuco-activation-preview, .cuco-lp2-funnel) .cuco-activation-eyebrow {
    background: rgba(255, 255, 255, 0.05);
    color: #D8DEEA;
}

.single-product:is(.cuco-activation-preview, .cuco-lp2-funnel) .cuco-activation-title {
    margin: 0 0 10px;
    color: #FFFFFF;
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.14;
}

.single-product:is(.cuco-activation-preview, .cuco-lp2-funnel) .cuco-activation-body {
    margin: 0;
    color: #D5DCE9;
    font-size: 16px;
    line-height: 1.65;
}

.single-product:is(.cuco-activation-preview, .cuco-lp2-funnel) .cuco-activation-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.single-product:is(.cuco-activation-preview, .cuco-lp2-funnel) .cuco-activation-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 18px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.single-product:is(.cuco-activation-preview, .cuco-lp2-funnel) .cuco-activation-btn:hover {
    transform: translateY(-1px);
}

.single-product:is(.cuco-activation-preview, .cuco-lp2-funnel) .cuco-activation-btn-primary {
    background: linear-gradient(135deg, #F6D773 0%, #D6B46C 100%);
    color: #111726;
    box-shadow: 0 14px 28px rgba(214, 180, 108, 0.22);
}

.single-product:is(.cuco-activation-preview, .cuco-lp2-funnel) .cuco-activation-btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.10);
    color: #E9ECF4;
}

.single-product:is(.cuco-activation-preview, .cuco-lp2-funnel) .cuco-activation-btn.is-loading {
    opacity: 0.75;
    pointer-events: none;
}

.single-product:is(.cuco-activation-preview, .cuco-lp2-funnel) .cuco-activation-helper {
    margin-top: 14px;
    padding: 13px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    color: #C9D2E3;
    font-size: 14px;
    line-height: 1.6;
}

.single-product:is(.cuco-activation-preview, .cuco-lp2-funnel) .cuco-activation-helper p {
    margin: 0;
}

.single-product.cuco-activation-preview.cuco-activation-focus .related,
.single-product.cuco-activation-preview.cuco-activation-focus .upsells {
    display: none !important;
}

@media (max-width: 767px) {
    .single-product:is(.cuco-activation-preview, .cuco-lp2-funnel) .cuco-single-product-activation__card {
        padding: 18px 16px 16px;
        border-radius: 16px;
    }

    .single-product:is(.cuco-activation-preview, .cuco-lp2-funnel) .cuco-activation-actions {
        flex-direction: column;
    }

    .single-product:is(.cuco-activation-preview, .cuco-lp2-funnel) .cuco-activation-btn {
        width: 100%;
    }
}
