/**
 * Footer Styles — Utkonos Style
 *
 * @package EB_Store
 */

/* ==========================================================================
   Site Footer
   ========================================================================== */

.site-footer {
    background-color: #fff;
    margin-top: auto;
}

/* ==========================================================================
   Footer Main
   ========================================================================== */

.footer-main {
    padding: 48px 0 32px;
    border-top: 1px solid #E6E9E6;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* Footer Columns */
.footer-column {
    min-width: 0;
}

.footer-title {
    font-size: 16px;
    font-weight: 700;
    color: #040507;
    margin-bottom: 16px;
}

.footer-menu {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-menu li a {
    font-size: 14px;
    color: #95999B;
    text-decoration: none;
    transition: color 0.15s;
}

.footer-menu li a:hover {
    color: #0DB14B;
}

/* Footer Contact */
.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-phone a {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #040507;
    text-decoration: none;
}

.footer-phone a:hover {
    color: #0DB14B;
}

.footer-phone-note {
    display: block;
    font-size: 12px;
    color: #95999B;
    margin-top: 2px;
}

.footer-email a {
    font-size: 14px;
    color: #0DB14B;
    text-decoration: none;
}

.footer-email a:hover {
    text-decoration: underline;
}

.footer-schedule {
    font-size: 14px;
    color: #95999B;
}

/* Support Button */
.footer-support-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    color: #040507;
    background: none;
    border: 1px solid #E6E9E6;
    border-radius: 8px;
    text-decoration: none;
    transition: border-color 0.15s, color 0.15s;
    margin-top: 4px;
}

.footer-support-btn:hover {
    border-color: #0DB14B;
    color: #0DB14B;
}

/* ==========================================================================
   Social Media Section
   ========================================================================== */

.footer-social-section {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #E6E9E6;
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-social-label {
    font-size: 14px;
    font-weight: 600;
    color: #040507;
}

.footer-social {
    display: flex;
    gap: 8px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: opacity 0.15s;
    text-decoration: none;
}

.social-link:hover {
    opacity: 0.8;
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* Colored social icons like Utkonos */
.social-telegram {
    background-color: #229ED9;
    color: #fff;
}

.social-vk {
    background-color: #0077FF;
    color: #fff;
}

.social-youtube {
    background-color: #FF0000;
    color: #fff;
}

/* ==========================================================================
   Footer Bottom
   ========================================================================== */

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid #E6E9E6;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

@media (max-width: 576px) {
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
}

.footer-copyright {
    font-size: 13px;
    color: #95999B;
}

/* Footer Payments */
.footer-payments {
    display: flex;
    align-items: center;
    gap: 12px;
}

.payment-icons {
    display: flex;
    gap: 8px;
}

.payment-icon {
    display: block;
}

.payment-icon svg {
    display: block;
}

/* ==========================================================================
   Mobile Bottom Navigation
   ========================================================================== */

.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: stretch;
    justify-content: space-around;
    height: var(--mobile-nav-height);
    background-color: #fff;
    border-top: 1px solid #E6E9E6;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    z-index: var(--z-fixed);
    padding-bottom: env(safe-area-inset-bottom);
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex: 1;
    padding: 8px 4px;
    color: #95999B;
    text-decoration: none;
    transition: color 0.15s;
    -webkit-tap-highlight-color: transparent;
}

.mobile-nav-item:active {
    color: #0DB14B;
}

.mobile-nav-item.active {
    color: #0DB14B;
}

.mobile-nav-item.active .mobile-nav-icon svg {
    stroke-width: 2.5;
}

/* Nav Icon */
.mobile-nav-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.mobile-nav-icon svg {
    width: 24px;
    height: 24px;
    transition: transform 0.15s;
}

.mobile-nav-item:active .mobile-nav-icon svg {
    transform: scale(0.9);
}

/* Nav Label */
.mobile-nav-label {
    font-size: 10px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
}

.mobile-nav-item.active .mobile-nav-label {
    font-weight: 600;
}

/* Nav Badge */
.mobile-nav-badge {
    position: absolute;
    top: -4px;
    right: -8px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    background-color: #0DB14B;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(13, 177, 75, 0.3);
}

.mobile-nav-badge:empty {
    min-width: 8px;
    height: 8px;
    padding: 0;
    top: 0;
    right: 0;
}

.mobile-nav-badge[data-count="0"] {
    display: none;
}
