/* Site footer — Nasad Store */

.site-footer {
    background: #f4f2fb;
    border-top: 0 !important;
    color: #475467;
    padding: 0 !important;
}

.site-footer__newsletter {
    background: linear-gradient(135deg, #443297 0%, #352678 58%, #2a1f62 100%);
    padding: 2.5rem 0;
    position: relative;
}

.site-footer__newsletter::before {
    background: radial-gradient(circle at top right, rgba(245, 195, 75, 0.16), transparent 55%);
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
}

.site-footer__subscribe {
    align-items: center;
    display: grid;
    gap: 1.25rem;
    position: relative;
    z-index: 1;
}

.site-footer__subscribe-copy {
    color: #fff;
    text-align: center;
}

.site-footer__subscribe-action {
    margin: 0 auto;
    max-width: 560px;
    width: 100%;
}

.site-footer__subscribe-badge {
    align-items: center;
    background: rgba(245, 195, 75, 0.16);
    border: 1px solid rgba(245, 195, 75, 0.35);
    border-radius: 999px;
    color: #f5c34b;
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 700;
    gap: 0.4rem;
    letter-spacing: 0.04em;
    margin-bottom: 0.75rem;
    padding: 0.35rem 0.75rem;
    text-transform: uppercase;
}

.site-footer__subscribe-title {
    color: #fff !important;
    font-size: clamp(1.35rem, 2.4vw, 1.85rem) !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em;
    line-height: 1.25 !important;
    margin: 0 0 0.5rem !important;
}

.site-footer__subscribe-text {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.92rem;
    line-height: 1.55;
    margin: 0 auto;
    max-width: 520px;
}

.site-footer__subscribe-form {
    margin: 0;
    width: 100%;
}

/* Override legacy footer_mailchimp_form rules from style.css / responsive.css */
.site-footer .footer_mailchimp_form {
    margin: 0 !important;
    position: static;
}

.site-footer .footer_mailchimp_form button {
    height: auto !important;
    line-height: 1.2 !important;
    margin-left: 0 !important;
    width: auto !important;
}

.site-footer__subscribe-field {
    align-items: stretch;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(16, 24, 40, 0.16);
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    overflow: hidden;
    padding: 0.45rem;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.site-footer__subscribe-field:focus-within {
    border-color: rgba(245, 195, 75, 0.55);
    box-shadow: 0 12px 32px rgba(16, 24, 40, 0.2), 0 0 0 3px rgba(245, 195, 75, 0.18);
}

.site-footer__subscribe-field.is-invalid {
    border-color: rgba(220, 38, 38, 0.55);
    box-shadow: 0 12px 32px rgba(16, 24, 40, 0.2), 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.site-footer__subscribe-field.is-invalid .site-footer__subscribe-input-wrap {
    background: #fff;
    border-color: rgba(220, 38, 38, 0.28);
}

.site-footer__subscribe-input-wrap {
    align-items: center;
    background: #f9fafb;
    border: 1px solid #eef2f6;
    border-radius: 10px;
    display: flex;
    flex: 1;
    gap: 0.55rem;
    min-height: 48px;
    min-width: 0;
    padding: 0 0.85rem;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.site-footer__subscribe-field:focus-within .site-footer__subscribe-input-wrap {
    background: #fff;
    border-color: rgba(68, 50, 151, 0.18);
}

.site-footer__subscribe-field-icon {
    align-items: center;
    color: #98a2b3;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 0.88rem;
    justify-content: center;
    width: 1rem;
}

.site-footer__subscribe-input,
.site-footer .footer_mailchimp_form .col-auto input.form-control {
    appearance: none;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #101828 !important;
    flex: 1;
    font-size: 0.9rem !important;
    height: auto !important;
    line-height: 1.35 !important;
    min-height: 46px;
    min-width: 0;
    outline: none !important;
    padding: 0 !important;
    width: 100%;
}

.site-footer__subscribe-input::placeholder {
    color: #98a2b3;
}

.site-footer__subscribe-btn {
    align-items: center;
    background: #f5c34b !important;
    border: 0;
    border-radius: 10px !important;
    color: #443297 !important;
    cursor: pointer;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 0.875rem;
    font-weight: 700;
    gap: 0.45rem;
    justify-content: center;
    min-height: 48px;
    padding: 0 1.15rem !important;
    transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
    white-space: nowrap;
    width: 100%;
}

.site-footer__subscribe-btn:hover,
.site-footer__subscribe-btn:focus-visible {
    background: #e8b440 !important;
    box-shadow: 0 8px 18px rgba(245, 195, 75, 0.28);
    color: #352678 !important;
    outline: none;
    transform: translateY(-1px);
}

.site-footer__subscribe-btn.is-loading {
    opacity: 0.88;
    pointer-events: none;
    transform: none;
}

.site-footer__subscribe-btn-spinner {
    animation: siteFooterSubscribeSpin 0.7s linear infinite;
    border: 2px solid rgba(68, 50, 151, 0.18);
    border-radius: 999px;
    border-top-color: #443297;
    display: none;
    height: 1rem;
    width: 1rem;
}

.site-footer__subscribe-btn.is-loading .site-footer__subscribe-btn-spinner {
    display: inline-block;
}

.site-footer__subscribe-btn.is-loading .site-footer__subscribe-btn-icon {
    display: none;
}

.site-footer__subscribe-field-error {
    color: #fecaca;
    font-size: 0.78rem;
    font-weight: 600;
    margin: 0.35rem 0 0;
}

.site-footer__subscribe-feedback {
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 600;
    margin: 0.55rem 0 0;
    padding: 0.55rem 0.75rem;
}

.site-footer__subscribe-feedback.is-success {
    background: rgba(34, 197, 94, 0.14);
    color: #bbf7d0;
}

.site-footer__subscribe-feedback.is-warning {
    background: rgba(245, 195, 75, 0.16);
    color: #fde68a;
}

.site-footer__subscribe-feedback.is-error {
    background: rgba(220, 38, 38, 0.14);
    color: #fecaca;
}

@keyframes siteFooterSubscribeSpin {
    to {
        transform: rotate(360deg);
    }
}

.site-footer__subscribe-note {
    align-items: center;
    color: rgba(255, 255, 255, 0.68);
    display: flex;
    font-size: 0.78rem;
    gap: 0.4rem;
    justify-content: center;
    line-height: 1.45;
    margin: 0.65rem 0 0;
    text-align: center;
}

.site-footer__subscribe-note i {
    color: rgba(245, 195, 75, 0.85);
    flex-shrink: 0;
    font-size: 0.72rem;
}

.site-footer__main {
    background:
        radial-gradient(circle at top left, rgba(68, 50, 151, 0.08), transparent 42%),
        linear-gradient(180deg, #f4f2fb 0%, #f8f7fc 48%, #f3f1fa 100%);
    border-top: 1px solid rgba(68, 50, 151, 0.08);
    padding: 3rem 0 2.5rem;
    position: relative;
}

.site-footer__main::before {
    background: linear-gradient(90deg, rgba(68, 50, 151, 0.55), rgba(68, 50, 151, 0.08), transparent);
    content: "";
    height: 3px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.site-footer__grid {
    --bs-gutter-y: 2rem;
}

.site-footer__links-row {
    --bs-gutter-x: 1.25rem;
    --bs-gutter-y: 1.5rem;
}

.site-footer__heading {
    color: #443297 !important;
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.01em;
    line-height: 1.3 !important;
    margin: 0 0 1.1rem !important;
    padding-bottom: 0.65rem;
    position: relative;
}

.site-footer__heading::after {
    background: linear-gradient(90deg, #443297, rgba(68, 50, 151, 0.15));
    border-radius: 999px;
    bottom: 0;
    content: "";
    height: 3px;
    left: 0;
    position: absolute;
    width: 2.4rem;
}

.site-footer__contact-list {
    display: grid;
    gap: 0.85rem;
}

.site-footer__contact-item {
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(68, 50, 151, 0.1);
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(68, 50, 151, 0.05);
    display: flex;
    gap: 0.85rem;
    margin: 0 !important;
    padding: 0.95rem 1rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.site-footer__contact-item:hover {
    border-color: rgba(68, 50, 151, 0.28);
    box-shadow: 0 12px 28px rgba(68, 50, 151, 0.1);
    transform: translateY(-1px);
}

.site-footer__contact-icon {
    align-items: center;
    background: linear-gradient(145deg, rgba(68, 50, 151, 0.14), rgba(68, 50, 151, 0.08));
    border: 1px solid rgba(68, 50, 151, 0.12);
    border-radius: 12px;
    color: #443297 !important;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 0.95rem !important;
    height: 42px;
    justify-content: center;
    transform: none !important;
    width: 42px;
}

.site-footer__contact-icon span {
    display: none;
}

.site-footer__contact-body {
    min-width: 0;
}

.site-footer__contact-label {
    color: #667085 !important;
    display: block;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em;
    line-height: 1.35 !important;
    margin-bottom: 0.25rem !important;
    text-transform: uppercase;
}

.site-footer__contact-value,
.site-footer__contact-value a {
    color: #2d3648 !important;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.55;
    text-decoration: none;
    word-break: break-word;
}

.site-footer__contact-value a:hover {
    color: #443297 !important;
}

.site-footer__contact-sep {
    color: #98a2b3;
    margin: 0 0.2rem;
}

.site-footer__link-group {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(68, 50, 151, 0.1);
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(68, 50, 151, 0.05);
    height: 100%;
    padding: 1.15rem 1.1rem 1.05rem;
}

.site-footer__links li {
    margin: 0 !important;
}

.site-footer__links li a,
.site-footer .footer_qlink_widget li a {
    color: #475467 !important;
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.5;
    padding: 0.32rem 0;
    text-decoration: none;
    transition: color 0.15s ease, transform 0.15s ease;
    white-space: normal;
}

.site-footer__links li a::before,
.site-footer .footer_qlink_widget li a::before {
    display: none !important;
}

.site-footer__links li a:hover,
.site-footer .footer_qlink_widget li a:hover {
    color: #443297 !important;
    transform: translateX(3px);
}

.site-footer__aside {
    display: grid;
    gap: 1.15rem;
}

.site-footer__social,
.site-footer__payments {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(68, 50, 151, 0.1);
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(68, 50, 151, 0.05);
    padding: 1.15rem 1.1rem 1.05rem;
}

.site-footer__social-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0rem;
    list-style: none;
    padding: 0;
}

.site-footer__social-list li {
    margin: 0 !important;
}

.site-footer__social-list a {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(68, 50, 151, 0.12);
    border-radius: 12px;
    color: #443297 !important;
    display: inline-flex;
    font-size: 0.95rem;
    height: 42px;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
    width: 42px;
}

.site-footer__social-list a:hover {
    background: #443297;
    border-color: #443297;
    color: #fff !important;
    transform: translateY(-2px);
}

.site-footer__payments-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    list-style: none;
    padding: 0;
}

.site-footer__payments-list li {
    margin: 0 !important;
}

.site-footer__payments-list a {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(68, 50, 151, 0.12);
    border-radius: 12px;
    display: inline-flex;
    height: 46px;
    justify-content: center;
    min-width: 58px;
    padding: 0.35rem 0.55rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.site-footer__payments-list a:hover {
    border-color: rgba(68, 50, 151, 0.35);
    box-shadow: 0 8px 20px rgba(68, 50, 151, 0.1);
    transform: translateY(-1px);
}

.site-footer__payments-list img {
    display: block;
    height: 28px;
    max-width: 72px;
    object-fit: contain;
    width: auto;
}

.site-footer__payments-empty {
    color: #667085;
    font-size: 0.84rem;
}

.site-footer__bottom {
    background: linear-gradient(135deg, #443297 0%, #352678 55%, #2d2168 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    padding: 1.15rem 0;
    position: relative;
}

.site-footer__bottom::before {
    background: radial-gradient(circle at right center, rgba(245, 195, 75, 0.16), transparent 48%);
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
}

.site-footer__bottom-inner {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.site-footer__copyright p,
.site-footer .copyright-widget p {
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: 0.84rem !important;
    font-weight: 500;
    line-height: 1.5 !important;
    margin: 0 !important;
}

.site-footer__locale-list {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: center;
    list-style: none;
    padding: 0;
}

.site-footer__locale-list .list-inline-item {
    margin: 0 !important;
}

.site-footer__switcher {
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    display: inline-flex;
    gap: 0.65rem;
    margin: 0;
    padding: 0.45rem 0.75rem;
    transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.site-footer__switcher:hover,
.site-footer__switcher:focus-within {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 0 8px 20px rgba(16, 24, 40, 0.16);
}

.site-footer__switcher-label {
    align-items: center;
    color: rgba(255, 255, 255, 0.78);
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 700;
    gap: 0.35rem;
    letter-spacing: 0.03em;
    margin: 0;
    text-transform: uppercase;
    white-space: nowrap;
}

.site-footer__switcher-label i {
    color: #f5c34b;
    font-size: 0.75rem;
}

.site-footer__switcher-field {
    position: relative;
}

.site-footer__switcher-select,
.site-footer .bootstrap-select {
    appearance: none;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 8px;
    color: #443297;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 700;
    min-height: 34px;
    min-width: 88px;
    outline: none;
    padding: 0.35rem 1.75rem 0.35rem 0.65rem;
}

.site-footer__switcher-select:hover,
.site-footer__switcher-select:focus {
    border-color: #f5c34b;
    box-shadow: 0 0 0 3px rgba(245, 195, 75, 0.22);
}

.site-footer__switcher-chevron {
    color: #443297;
    font-size: 0.65rem;
    pointer-events: none;
    position: absolute;
    right: 0.65rem;
    top: 50%;
    transform: translateY(-50%);
}

@media (min-width: 576px) {
    .site-footer__subscribe-field {
        flex-direction: row;
        gap: 0.45rem;
        padding: 0.4rem;
    }

    .site-footer__subscribe-input-wrap {
        flex: 1;
        min-height: 50px;
        padding: 0 0.95rem;
    }

    .site-footer__subscribe-btn {
        min-height: 50px;
        width: auto;
        min-width: 148px;
    }

    .site-footer__subscribe-note {
        justify-content: flex-start;
        text-align: left;
    }
}

@media (min-width: 768px) {
    .site-footer__subscribe {
        gap: 1.5rem;
    }

    .site-footer__subscribe-copy {
        text-align: left;
    }

    .site-footer__subscribe-action {
        margin: 0;
        max-width: none;
    }

    .site-footer__subscribe-field {
        padding: 0.45rem;
    }

    .site-footer__subscribe-btn {
        min-width: 156px;
        padding: 0 1.25rem !important;
    }
}

@media (min-width: 992px) {
    .site-footer__newsletter {
        padding: 3rem 0;
    }

    .site-footer__subscribe {
        align-items: center;
        gap: 2rem;
        grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
    }

    .site-footer__main {
        padding: 3.5rem 0 2.75rem;
    }

    .site-footer__bottom-inner {
        flex-wrap: nowrap;
    }

    .site-footer__locale-list {
        justify-content: flex-end;
    }
}

@media (max-width: 767.98px) {
    .site-footer__newsletter {
        padding: 1.75rem 0;
    }

    .site-footer__newsletter .container {
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }

    .site-footer__subscribe {
        gap: 1rem;
    }

    .site-footer__subscribe-title {
        font-size: 1.25rem !important;
    }

    .site-footer__subscribe-text {
        font-size: 0.875rem;
    }

    .site-footer__subscribe-action {
        max-width: none;
    }

    .site-footer__subscribe-field {
        border-radius: 12px;
        gap: 0.4rem;
        padding: 0.4rem;
    }

    .site-footer__subscribe-input-wrap {
        min-height: 46px;
        padding: 0 0.75rem;
    }

    .site-footer__subscribe-input {
        font-size: 16px !important;
        min-height: 44px;
    }

    .site-footer__subscribe-btn {
        min-height: 46px;
    }

    .site-footer__subscribe-note {
        font-size: 0.75rem;
        margin-top: 0.55rem;
    }

    .site-footer__main {
        padding: 2rem 0 1.75rem;
    }

    .site-footer__bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    .site-footer__locale {
        width: 100%;
    }

    .site-footer__locale-list {
        justify-content: center;
    }

    .site-footer__switcher {
        justify-content: space-between;
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .site-footer__subscribe-copy {
        text-align: left;
    }

    .site-footer__subscribe-note {
        justify-content: flex-start;
        text-align: left;
    }

    .site-footer__links-row > [class*="col-"] {
        width: 100%;
    }
}
