/* TapTasty — meniu mobil (mov site #5E30B0 / #674BD2) */

@media (max-width: 782px) {
    .background-nabar nav {
        width: calc(100% - 2rem) !important;
        max-width: 100%;
        min-height: 4.6rem;
        display: flex;
        align-items: center;
        position: relative;
        margin-left: auto;
        margin-right: auto;
    }

    .background-nabar .header-titles-wrapper {
        margin-right: 4.8rem;
        padding: 0 1rem;
    }

    .background-nabar .header-navigation-wrapper,
    .background-nabar .header-navigation-login {
        display: none !important;
    }

    .background-nabar .mobile-nav-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: 0;
        cursor: pointer;
        z-index: 100;
        right: 0.4rem !important;
        width: 4.5rem !important;
    }

    .background-nabar .mobile-nav-toggle .toggle-inner {
        height: auto;
        justify-content: center;
    }

    .background-nabar .nav-toggle .toggle-icon,
    .background-nabar .toggle-icon {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 3.85rem !important;
        height: 3.85rem !important;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.14);
        transition: background 0.2s ease, transform 0.25s ease;
        overflow: visible;
    }

    .background-nabar .nav-toggle .toggle-icon img,
    .background-nabar .toggle-icon img {
        width: 1.9rem !important;
        height: 1.9rem !important;
        object-fit: contain;
        filter: brightness(0) invert(1);
    }

    .background-nabar .mobile-nav-toggle:hover .toggle-icon,
    .background-nabar .mobile-nav-toggle:focus-visible .toggle-icon {
        background: rgba(255, 255, 255, 0.24);
    }

    body.tt-nav-open .background-nabar .toggle-icon {
        background: rgba(255, 255, 255, 0.22);
        transform: rotate(90deg);
    }
}

.tt-mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(50, 0, 102, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s ease, visibility 0.28s ease;
    z-index: 99998;
}

.tt-mobile-nav-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.tt-mobile-nav#ttMobileNav {
    position: fixed;
    inset: 0;
    left: auto;
    width: min(22rem, 92vw);
    max-width: 100%;
    display: flex;
    justify-content: flex-end;
    background: transparent;
    opacity: 1;
    visibility: hidden;
    pointer-events: none;
    transition: visibility 0.3s ease;
    z-index: 99999;
    overflow: hidden;
}

.tt-mobile-nav#ttMobileNav.is-open {
    visibility: visible;
    pointer-events: auto;
}

.tt-mobile-nav#ttMobileNav .menu-modal-inner.tt-mobile-nav__panel {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    opacity: 1 !important;
    transform: translateX(100%);
    box-shadow: none;
}

.tt-mobile-nav#ttMobileNav.is-open .menu-modal-inner.tt-mobile-nav__panel {
    transform: translateX(0);
}

.tt-mobile-nav__panel {
    width: 100%;
    height: 100%;
    background: linear-gradient(165deg, #5e30b0 0%, #4b1d9b 42%, #320066 100%);
    box-shadow: -12px 0 40px rgba(50, 0, 102, 0.45);
    transform: translateX(100%);
    transition: transform 0.34s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.tt-mobile-nav#ttMobileNav.is-open .tt-mobile-nav__panel {
    transform: translateX(0);
}

.tt-mobile-nav__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.tt-mobile-nav__logo {
    flex: 1;
    min-width: 0;
}

.tt-mobile-nav#ttMobileNav .tt-mobile-nav__close {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 2.5rem !important;
    height: 2.5rem !important;
    min-width: 2.5rem !important;
    max-width: 2.5rem !important;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 !important;
    margin: 0;
    flex-shrink: 0;
    transition: background 0.2s ease;
}

.tt-mobile-nav#ttMobileNav .tt-mobile-nav__close:hover,
.tt-mobile-nav#ttMobileNav .tt-mobile-nav__close:focus-visible {
    background: rgba(255, 255, 255, 0.25);
}

/* Fără buline / markers din tema WP */
.tt-mobile-nav__content,
.tt-mobile-nav__content ul,
.tt-mobile-nav__content ol,
.tt-mobile-nav__content li,
.tt-mobile-nav__main,
.tt-mobile-nav__main li,
.tt-mobile-nav__group ul,
.tt-mobile-nav__group li {
    list-style: none !important;
    list-style-type: none !important;
    margin: 0;
    padding: 0;
}

.tt-mobile-nav__content li::marker,
.tt-mobile-nav__main li::marker,
.tt-mobile-nav__group li::marker,
.tt-mobile-nav__summary::marker {
    content: none !important;
    display: none !important;
    font-size: 0 !important;
}

.tt-mobile-nav__content {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0.35rem 0 1.25rem;
}

.tt-mobile-nav__accordion {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tt-mobile-nav__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    list-style: none !important;
    user-select: none;
}

.tt-mobile-nav__summary::-webkit-details-marker,
.tt-mobile-nav__accordion summary::marker {
    display: none !important;
    content: none !important;
}

.tt-mobile-nav__chevron {
    flex-shrink: 0;
    width: 0.45rem;
    height: 0.45rem;
    border-right: 2px solid rgba(255, 255, 255, 0.85);
    border-bottom: 2px solid rgba(255, 255, 255, 0.85);
    transform: rotate(45deg);
    transition: transform 0.22s ease;
    margin-right: 0.15rem;
}

.tt-mobile-nav__accordion[open] .tt-mobile-nav__chevron {
    transform: rotate(-135deg);
}

.tt-mobile-nav__groups {
    padding: 0 0.85rem 0.85rem;
}

.tt-mobile-nav__group {
    margin-bottom: 0.65rem;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 0.5rem 0.35rem 0.35rem;
}

.tt-mobile-nav__group-title {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #20c598;
    margin: 0 0 0.35rem 0.65rem;
    padding: 0;
}

.tt-mobile-nav__content a::before,
.tt-mobile-nav__content a::after {
    content: none !important;
    display: none !important;
}

.tt-mobile-nav__group a {
    display: block;
    padding: 0.6rem 0.75rem;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.05rem;
    font-weight: 500;
    text-decoration: none !important;
    transition: background 0.15s ease;
}

.tt-mobile-nav__group a:hover,
.tt-mobile-nav__group a:focus-visible {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.tt-mobile-nav__group a.is-active {
    background: rgba(32, 197, 152, 0.15);
    color: #20c598 !important;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.tt-mobile-nav__accordion.is-active > .tt-mobile-nav__summary {
    color: #20c598;
    font-weight: 700;
}

.tt-mobile-nav__main a {
    display: block;
    padding: 1rem 1.25rem;
    color: #fff;
    font-size: 1.12rem;
    font-weight: 500;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.15s ease, color 0.15s ease;
}

.tt-mobile-nav__main a:hover,
.tt-mobile-nav__main a:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.tt-mobile-nav__main a.is-active {
    background: rgba(32, 197, 152, 0.12);
    color: #20c598 !important;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.tt-mobile-nav__footer {
    padding: 1rem 1.25rem 1.35rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
}

.tt-mobile-nav__langs {
    display: flex;
    gap: 0.6rem;
    margin-bottom: 0.85rem;
}

.tt-mobile-nav__lang {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none !important;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.tt-mobile-nav__lang.is-active {
    border-color: rgba(255, 255, 255, 0.25);
    background: transparent;
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.tt-mobile-nav__lang:hover {
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.tt-mobile-nav__cta {
    display: block;
    text-align: center;
    padding: 1rem 1rem;
    border-radius: 50px;
    background: #e68d03;
    color: #fff !important;
    font-weight: 600;
    font-size: 1.08rem;
    text-decoration: none !important;
    box-shadow: 0 4px 18px rgba(230, 141, 3, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.tt-mobile-nav__cta:hover,
.tt-mobile-nav__cta:focus-visible {
    background: #f59e0b;
    transform: translateY(-1px);
    box-shadow: 0 6px 22px rgba(230, 141, 3, 0.45);
    color: #fff !important;
}

/* Anulează stiluri WP pe meniul mobil */
.tt-mobile-nav#ttMobileNav .modal-menu li,
.tt-mobile-nav#ttMobileNav nav li {
    border: 0 !important;
    display: block !important;
    flex-wrap: nowrap !important;
}

body.tt-nav-open {
    overflow: hidden;
}

@media (min-width: 783px) {
    .tt-mobile-nav-overlay,
    .tt-mobile-nav#ttMobileNav {
        display: none !important;
    }
}

.screen-reader-response,
.wpcf7-response-output:empty {
    display: none !important;
}

.tt-field-invalid,
.tt-field-invalid:focus,
.tt-field-invalid:focus-visible {
    border-color: #e11d48 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.14) !important;
}

.tt-field-error-msg {
    display: block;
    color: #e11d48;
    font-size: 13px;
    line-height: 1.45;
    margin-top: 8px;
    font-weight: 500;
}

.checkbox-approve .tt-field-error-msg {
    margin-top: 10px;
}

.tt-form-invalid .wpcf7-submit {
    animation: ttFormShake 0.35s ease;
}

@keyframes ttFormShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}
