.ananda-donation-button-wrap {
    display: inline-flex;
}
.ananda-donation-align-left { justify-content: flex-start; width: 100%; }
.ananda-donation-align-center { justify-content: center; width: 100%; }
.ananda-donation-align-right { justify-content: flex-end; width: 100%; }
.ananda-donation-align-justify { display: flex; width: 100%; }
.ananda-donation-align-justify .ananda-donation-button { width: 100%; justify-content: center; }
.ananda-donation-button {
    cursor: pointer;
    border: none;
    line-height: 1;
    transition: all .25s ease;
}
.ananda-donation-button .elementor-button-content-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.ananda-donation-button-icon svg {
    width: 1em;
    height: 1em;
    display: block;
}

.ananda-donation-modal,
.ananda-donation-modal * {
    box-sizing: border-box;
}
.ananda-donation-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: #1e1e1e;
    font-family: inherit;
}
.ananda-donation-modal.is-open {
    display: flex;
}
.ananda-donation-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 17, 20, .62);
    backdrop-filter: blur(6px);
}
.ananda-donation-dialog {
    position: relative;
    z-index: 2;
    width: min(620px, 100%);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 25px 80px rgba(0,0,0,.25);
    padding: 28px;
    animation: anandaDonationIn .26s ease both;
}
@keyframes anandaDonationIn {
    from { opacity: 0; transform: translateY(18px) scale(.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.ananda-donation-close {
    position: absolute;
    right: 16px;
    top: 14px;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: #f4f4f4;
    color: #222;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}
.ananda-donation-stage {
    display: none;
}
.ananda-donation-stage.is-active {
    display: block;
}
.ananda-donation-popup-head {
    text-align: center;
    padding: 4px 20px 14px;
}
.ananda-donation-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--ananda-donation-accent, #f28c28) 14%, #fff);
    color: var(--ananda-donation-accent, #f28c28);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.ananda-donation-popup-head h3,
.ananda-donation-stage-thank h3,
.ananda-donation-stage-loader h3 {
    margin: 0 0 10px;
    font-size: clamp(24px, 4vw, 34px);
    line-height: 1.15;
    color: #151515;
}
.ananda-donation-popup-head p,
.ananda-donation-stage-thank p,
.ananda-donation-stage-loader p {
    margin: 0;
    color: #666;
    font-size: 15px;
    line-height: 1.65;
}
.ananda-donation-qr-box {
    margin: 10px auto 22px;
    width: min(360px, 100%);
    background: linear-gradient(180deg, #fff, #fafafa);
    border: 1px solid #ececec;
    border-radius: 20px;
    padding: 18px;
    text-align: center;
}
.ananda-donation-qr-img {
    display: block;
    width: 100%;
    max-width: 290px;
    height: auto;
    margin: 0 auto;
    border-radius: 12px;
}
.ananda-donation-no-qr {
    min-height: 230px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #d6d6d6;
    border-radius: 14px;
    color: #777;
    padding: 20px;
}
.ananda-donation-qr-caption {
    margin-top: 12px;
    font-size: 14px;
    color: #555;
    font-weight: 600;
}
.ananda-donation-primary,
.ananda-donation-secondary {
    width: 100%;
    min-height: 52px;
    border: 0;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all .22s ease;
}
.ananda-donation-primary {
    background: var(--ananda-donation-accent, #f28c28);
    color: #fff;
    box-shadow: 0 12px 26px color-mix(in srgb, var(--ananda-donation-accent, #f28c28) 30%, transparent);
}
.ananda-donation-primary:hover,
.ananda-donation-primary:focus {
    transform: translateY(-1px);
    filter: brightness(.96);
}
.ananda-donation-secondary {
    margin-top: 18px;
    background: #f2f2f2;
    color: #222;
}
.ananda-donation-stage-loader,
.ananda-donation-stage-thank {
    text-align: center;
    padding: 34px 18px;
}
.ananda-donation-loader-ring {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    margin: 0 auto 22px;
    border: 6px solid #f2f2f2;
    border-top-color: var(--ananda-donation-accent, #f28c28);
    animation: anandaDonationSpin .8s linear infinite;
}
@keyframes anandaDonationSpin { to { transform: rotate(360deg); } }
.ananda-donation-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.ananda-donation-form label,
.ananda-donation-wide {
    display: block;
    margin-bottom: 14px;
}
.ananda-donation-form label span,
.ananda-donation-wide span {
    display: block;
    margin-bottom: 7px;
    font-size: 14px;
    font-weight: 700;
    color: #2a2a2a;
}
.ananda-donation-form em {
    color: #d93025;
    font-style: normal;
}
.ananda-donation-form input,
.ananda-donation-form textarea {
    width: 100%;
    min-height: 46px;
    border: 1px solid #dedede;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 15px;
    color: #222;
    background: #fff;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.ananda-donation-form textarea {
    min-height: 80px;
    resize: vertical;
}
.ananda-donation-form input:focus,
.ananda-donation-form textarea:focus {
    border-color: var(--ananda-donation-accent, #f28c28);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--ananda-donation-accent, #f28c28) 16%, transparent);
}
.ananda-donation-error {
    display: none;
    margin: 8px 0 14px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #fff1f0;
    color: #c3261f;
    font-size: 14px;
    font-weight: 600;
}
.ananda-donation-error.is-visible { display: block; }
.ananda-donation-submit.is-loading {
    opacity: .75;
    pointer-events: none;
}
.ananda-donation-success-icon {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    background: #ecfff4;
    color: #14833b;
    font-size: 38px;
    font-weight: 800;
}
.ananda-donation-id-box {
    margin: 22px auto 0;
    padding: 15px 18px;
    border-radius: 14px;
    background: #fafafa;
    border: 1px solid #ececec;
    max-width: 340px;
}
.ananda-donation-id-box span {
    display: block;
    color: #777;
    font-size: 13px;
    margin-bottom: 5px;
}
.ananda-donation-id-box strong {
    color: #111;
    font-size: 22px;
    letter-spacing: .02em;
}
body.ananda-donation-lock {
    overflow: hidden;
}
@media (max-width: 640px) {
    .ananda-donation-modal {
        padding: 12px;
        align-items: flex-start;
        overflow-y: auto;
    }
    .ananda-donation-dialog {
        padding: 22px 16px;
        border-radius: 18px;
        max-height: none;
        margin: 10px 0;
    }
    .ananda-donation-popup-head {
        padding-left: 8px;
        padding-right: 8px;
    }
    .ananda-donation-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .ananda-donation-qr-box {
        padding: 12px;
    }
}

/* Ananda Donation Header Widget */
.ananda-donation-header-widget,
.ananda-donation-header-widget * {
    box-sizing: border-box;
}
.ananda-donation-header-widget {
    position: relative;
    width: 100%;
    background: #fff;
    border-bottom: 0 solid transparent;
    z-index: 50;
}
.ananda-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    margin: 0 auto;
    padding: 14px 20px;
}
.ananda-header-brand {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    min-width: 0;
}
.ananda-header-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 1;
    color: inherit;
    max-width: 100%;
}
.ananda-header-logo img {
    display: block;
    width: 170px;
    max-width: 100%;
    height: auto;
}
.ananda-header-logo-text {
    display: inline-block;
    color: #1f1f1f;
    font-size: 22px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.02em;
    white-space: nowrap;
}
.ananda-header-desktop-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    min-width: 0;
}
.ananda-header-menu-list,
.ananda-header-menu-list ul,
.ananda-header-mobile-menu-list,
.ananda-header-mobile-menu-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.ananda-header-menu-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}
.ananda-header-menu-list > li {
    position: relative;
    margin: 0;
    padding: 0;
}
.ananda-header-menu-list > li > a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    color: #202020;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    transition: color .2s ease;
}
.ananda-header-menu-list > li > a:hover,
.ananda-header-menu-list > li > a:focus,
.ananda-header-menu-list > li.current-menu-item > a,
.ananda-header-menu-list > li.current-menu-ancestor > a {
    color: var(--ananda-donation-accent, #f28c28);
}
.ananda-header-menu-list .sub-menu {
    position: absolute;
    left: 0;
    top: 100%;
    z-index: 99;
    width: 220px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 14px 45px rgba(0,0,0,.12);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}
.ananda-header-menu-list li:hover > .sub-menu,
.ananda-header-menu-list li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.ananda-header-menu-list .sub-menu li {
    position: relative;
    margin: 0;
}
.ananda-header-menu-list .sub-menu a {
    display: block;
    padding: 10px 16px;
    color: #222;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.35;
    transition: color .2s ease, background-color .2s ease;
}
.ananda-header-menu-list .sub-menu a:hover,
.ananda-header-menu-list .sub-menu a:focus {
    color: var(--ananda-donation-accent, #f28c28);
    background: rgba(0,0,0,.035);
}
.ananda-header-menu-list .sub-menu .sub-menu {
    left: 100%;
    top: -10px;
}
.ananda-header-action {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
}
.ananda-header-action .ananda-donation-button-wrap {
    display: inline-flex;
    width: auto;
}
.ananda-header-action .ananda-donation-button {
    white-space: nowrap;
}
.ananda-header-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    flex-direction: column;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: #f5f5f5;
    color: #1f1f1f;
    cursor: pointer;
    gap: 5px;
}
.ananda-header-toggle span {
    display: block;
    width: 21px;
    height: 2px;
    border-radius: 3px;
    background: currentColor;
}
.ananda-header-mobile-overlay {
    position: fixed;
    inset: 0;
    z-index: 999990;
    display: none;
    background: rgba(0,0,0,.48);
    opacity: 0;
    transition: opacity .25s ease;
}
.ananda-header-mobile-panel {
    position: fixed;
    z-index: 999991;
    left: 0;
    top: 0;
    bottom: 0;
    width: 330px;
    max-width: 90vw;
    background: #fff;
    box-shadow: 18px 0 50px rgba(0,0,0,.18);
    transform: translateX(-105%);
    transition: transform .28s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 18px;
}
.ananda-donation-header-widget.is-mobile-open .ananda-header-mobile-overlay {
    display: block;
    opacity: 1;
}
.ananda-donation-header-widget.is-mobile-open .ananda-header-mobile-panel {
    transform: translateX(0);
}
body.ananda-header-menu-lock {
    overflow: hidden;
}
.ananda-header-mobile-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(0,0,0,.08);
}
.ananda-header-mobile-top .ananda-header-logo img {
    width: 150px;
}
.ananda-header-mobile-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: #f3f3f3;
    color: #222;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}
.ananda-header-mobile-menu {
    padding: 18px 0;
}
.ananda-header-mobile-menu-list li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgba(0,0,0,.07);
}
.ananda-header-mobile-menu-list a {
    display: block;
    padding: 13px 4px;
    color: #202020;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
}
.ananda-header-mobile-menu-list .sub-menu {
    margin: 0 0 8px 14px;
    border-left: 2px solid rgba(0,0,0,.08);
}
.ananda-header-mobile-menu-list .sub-menu li {
    border-bottom: 0;
}
.ananda-header-mobile-menu-list .sub-menu a {
    padding: 9px 0 9px 12px;
    font-size: 14px;
    font-weight: 500;
}
.ananda-header-no-menu {
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    background: #fff8e5;
    color: #7a4d00;
    font-size: 13px;
}

@media (max-width: 767px) {
    .ananda-header-inner {
        gap: 10px;
    }
    .ananda-header-desktop-menu {
        display: none;
    }
    .ananda-header-toggle {
        display: inline-flex;
    }
    .ananda-header-brand {
        flex: 1 1 auto;
    }
    .ananda-header-logo img {
        width: 145px;
    }
    .ananda-header-logo-text {
        font-size: 18px;
        white-space: normal;
    }
    .ananda-mobile-button- .ananda-header-action,
    .ananda-mobile-button-no .ananda-header-action {
        display: none;
    }
    .ananda-header-action .ananda-donation-button {
        padding: 10px 14px;
        font-size: 13px;
    }
}
