/* Sticky Footer Menu Variables */
:root {
    --sfm-color-1: #40458E;
    --sfm-color-2: #7B7FBD;
    --sfm-color-3: white;
    --sfm-color-4: black;


    --sfm-shadow-color: rgba(0, 0, 0, 0.2);
    --sfm-border-color: rgba(255, 255, 255, 0.2);
    --sfm-item-bg: rgba(255, 255, 255, 0.15);
    --sfm-item-hover-bg: rgba(255, 255, 255, 0.25);
    --sfm-item-hover-shadow: rgba(0, 0, 0, 0.15);
    --sfm-item-active-bg: rgba(255, 255, 255, 0.3);
    --sfm-item-active-border: rgba(255, 255, 255, 0.5);
}


@media only screen and (min-width: 1024.95px) {
    .sticky-footer-menu {
        display: none;
    }
}

@media only screen and (max-width: 1024px) {

    /* Sticky Footer Menu Styles */
    .sticky-footer-menu {
        background: var(--sfm-color-1);
        color: var(--sfm-color-3);
        border-radius: 0 0 40px 40px;
        box-shadow: 0px 38px 0px #FFF;
    }

    /* Status Bar (Opening Hours and Status) */
    .footer-status-bar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 20px;
        background: var(--sfm-color-1);
    }

    .status-info {
        display: flex;
        align-items: center;
        gap: 10px;
        border-bottom: 1px solid var(--sfm-item-active-border);
    }

    .status-icon {
        width: 20px;
        height: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .status-icon svg {
        width: 20px;
        height: 20px;
        color: var(--sfm-color-3);
    }

    .status-text {
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 130%;
    }

    .opening-hours {
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 130%;
    }

    /* Menu Items */
    .footer-menu-items {
        background: transparent;
        display: flex;
        justify-content: space-around;
        align-items: stretch;
        padding: 0 20px;
        gap: 10px;
    }

    .footer-item-wrap {
        display: flex;
        width: 100%;
        padding: 10px 0 20px 0;
        gap: 1px;
    }

    .footer-menu-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        padding: 10px 10px;
        border-radius: 12px;
        text-decoration: none;
        color: var(--sfm-color-3);
        transition: all 0.3s ease;
        backdrop-filter: blur(10px);
        min-height: 71px;
    }

    .footer-menu-item:hover {
        color: var(--sfm-color-3);
        background: var(--sfm-item-hover-bg);
        transform: translateY(0px);
        box-shadow: 0 4px 12px var(--sfm-item-hover-shadow);
    }

    .footer-menu-item.active,
    .footer-menu-item:first-child {
        background: var(--sfm-item-active-bg);

    }

    .menu-icon {
        width: auto;
        max-height: 25px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        margin: 0;
        flex-shrink: 0;
    }

    .menu-icon img,
    .menu-icon svg {
        max-width: 100%;
        max-height: 100%;
        height: 100%;
        width: 100%;
        flex-shrink: 0;
    }

    .menu-title {
        font-size: 15px;
        font-weight: 600;
        text-align: center;
        line-height: 1.2;
    }


}


/* Responsive Design */

/* iPad Mini and smaller - Fixed to bottom */
@media (max-width: 1024px) {
    .sticky-footer-menu {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1000;
    }

    /* Add padding to body to prevent content from being hidden under fixed footer */
    body {
        padding-bottom: 100px;
    }
}

/* Tablet and Mobile adjustments */
@media (max-width: 768px) {
    .footer-status-bar {
        flex-direction: row;
        align-items: flex-start;
        gap: 10px;
        padding: 10px 20px;
    }

    .footer-menu-items {
        flex-wrap: wrap;
        padding: 0 20px;
    }

    .footer-menu-item {
        min-width: calc(33.33% - 8px);
        padding: 10px 8px;
        min-height: 71px;
    }

    .menu-icon {
        /* width: 25px; */
        height: 25px;
        max-height: 25px;
    }

    .menu-title {
        font-size: 16px;
        line-height: 130%;
    }

    .status-text,
    .opening-hours {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .footer-menu-item {
        min-width: calc(33.33% - 8px);
    }

    .menu-title {
        font-size: 14px;
        line-height: 110%;
    }
}