.bamdad-th-footer-buttons {
    --th-footer-transition: 220ms;
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}

.bamdad-th-footer-buttons,
.bamdad-th-footer-buttons *,
.bamdad-th-footer-buttons *::before,
.bamdad-th-footer-buttons *::after {
    box-sizing: border-box;
}

.bamdad-th-footer-buttons__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 8px;
    width: 100%;
    margin: 0;
    padding: 0;
}

.bamdad-th-footer-buttons__button {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 76px;
    margin: 0;
    padding: 10px 8px 9px;
    overflow: hidden;
    border: 0;
    border-radius: 9px;
    background: var(--th-footer-bg, #171d48);
    color: var(--th-footer-text, #fff);
    text-align: center;
    text-decoration: none !important;
    transition: background-color var(--th-footer-transition) ease, color var(--th-footer-transition) ease, border-color var(--th-footer-transition) ease, box-shadow var(--th-footer-transition) ease, transform var(--th-footer-transition) ease;
    -webkit-tap-highlight-color: transparent;
}

.bamdad-th-footer-buttons__button:hover,
.bamdad-th-footer-buttons__button:focus-visible {
    background: var(--th-footer-hover-bg, var(--th-footer-bg, #171d48));
    color: var(--th-footer-hover-text, var(--th-footer-text, #fff));
    text-decoration: none !important;
}

.bamdad-th-footer-buttons__button:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.bamdad-th-footer-buttons__button::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--th-footer-transition) ease;
}

.bamdad-th-footer-buttons[data-hover-overlay="yes"] .bamdad-th-footer-buttons__button:hover::after,
.bamdad-th-footer-buttons[data-hover-overlay="yes"] .bamdad-th-footer-buttons__button:focus-visible::after {
    opacity: 1;
}

.bamdad-th-footer-buttons__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    margin: 0 0 5px;
    border-radius: 50%;
    background: var(--th-footer-icon-bg, rgba(255, 255, 255, 0.16));
    color: var(--th-footer-icon, #fff);
    line-height: 1;
}

.bamdad-th-footer-buttons__icon i {
    display: block;
    font-size: 16px;
    line-height: 1;
}

.bamdad-th-footer-buttons__icon svg {
    display: block;
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.bamdad-th-footer-buttons__label {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    color: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.bamdad-th-footer-buttons[data-animation="fade-up"] .bamdad-th-footer-buttons__button {
    animation: bamdad-th-footer-buttons-fade-up 500ms ease-out backwards;
    animation-delay: calc(var(--th-footer-index) * 70ms);
}

.bamdad-th-footer-buttons[data-animation="fade-in"] .bamdad-th-footer-buttons__button {
    animation: bamdad-th-footer-buttons-fade-in 500ms ease-out backwards;
    animation-delay: calc(var(--th-footer-index) * 70ms);
}

.bamdad-th-footer-buttons[data-animation="scale-in"] .bamdad-th-footer-buttons__button {
    animation: bamdad-th-footer-buttons-scale-in 500ms ease-out backwards;
    animation-delay: calc(var(--th-footer-index) * 70ms);
}

@keyframes bamdad-th-footer-buttons-fade-up {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bamdad-th-footer-buttons-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes bamdad-th-footer-buttons-scale-in {
    from {
        opacity: 0;
        transform: scale(0.96);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 1024px) {
    .bamdad-th-footer-buttons__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .bamdad-th-footer-buttons__button {
        min-height: 74px;
    }

    .bamdad-th-footer-buttons__icon {
        width: 31px;
        height: 31px;
    }
}

@media (max-width: 767px) {
    .bamdad-th-footer-buttons__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }

    .bamdad-th-footer-buttons__button {
        min-height: 72px;
        padding: 9px 5px 8px;
    }

    .bamdad-th-footer-buttons__icon {
        width: 30px;
        height: 30px;
    }

    .bamdad-th-footer-buttons__icon i {
        font-size: 15px;
    }

    .bamdad-th-footer-buttons__icon svg {
        width: 15px;
        height: 15px;
    }

    .bamdad-th-footer-buttons__label {
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bamdad-th-footer-buttons__button,
    .bamdad-th-footer-buttons__button::after {
        animation: none !important;
        transition: none !important;
    }

    .bamdad-th-footer-buttons__button[class*="elementor-animation-"]:hover {
        transform: none !important;
    }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .bamdad-th-footer-buttons[data-glass="yes"] .bamdad-th-footer-buttons__button {
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
    }
}
