/* Complete frontend-style.css */
.erm-menu-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem;
    display: flex;
    gap: 2rem;
}
.elementor-kit-15 h3 {
		text-wrap: unset;
	}
/* Category Tabs */
.erm-menu-tabs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 220px;
    flex-shrink: 0;
    position: relative;
}

.erm-category-tab {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    position: relative;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    color: #333;
    text-align: left;
    font-weight: 500;
    font-size: 0.95rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
}


.erm-category-image {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

.erm-category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.erm-category-name {
    flex-grow: 1;
}

@media (max-width: 992px) {
	.erm-menu-content-v2 .erm-menu-item{
		height:auto !important;
	}
	.elementor-kit-15 h3 {
		text-wrap: unset;
	}
    .erm-category-tab {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0.75rem;
        gap: 0.5rem;
    }

    .erm-category-image {
        width: 50px;
        height: 50px;
    }
}

.erm-category-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.2));
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.erm-category-tab:hover::before {
    transform: translateX(0);
}

.erm-category-tab:hover {
    transform: translateY(-2px);
}

.erm-category-tab.active {
    background: rgba(255, 0, 0, 0.9);
    color: white;
    box-shadow: 0 8px 16px rgba(255, 0, 0, 0.2);
}

/* Menu Content Area */
.erm-menu-content {
    position: relative;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.erm-tab-content {
    display: none;
    width: 100%;
    flex-grow: 1;
}

.erm-tab-content.active {
    display: block;
}

/* Menu Grid */
.erm-items-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    width: 100%;
    margin-bottom: 80px;
}

/* Menu Item Pills */
.erm-menu-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: white;
    border-radius: 60px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 120px;
    overflow: hidden;
}

.erm-menu-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Image Styling */
.erm-item-image-wrapper {
    width: 100px;
    height: 100px;
    position: relative;
    flex-shrink: 0;
    margin-right: 1.25rem;
    border-radius: 50%;
    overflow: hidden;
    background: #f5f5f5; /* Light background for empty state */
}

.erm-item-image-inner {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.erm-item-image-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.1); /* Slightly larger to prevent white edges */
}


.erm-circular-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/circular-mask.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 2;
    pointer-events: none;
}

/* Content Styling */
.erm-item-content {
    flex: 1;
    padding-right: 1rem;
    overflow: hidden;
}

.erm-item-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 0.25rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.erm-item-description {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Pagination */
.erm-pagination {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    padding: 1rem 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.erm-page-number {
    padding: 0.5rem 1rem;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: #333;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    min-width: 35px;
    text-align: center;
}

.erm-page-number.active {
    background: rgba(255, 0, 0, 0.9);
    color: white;
}

.erm-page-number:hover:not(.active) {
    background: rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* Mobile Styles */
@media (max-width: 992px) {
	.erm-menu-content-v2 .erm-menu-item{
		height:auto !important;
	}
    .erm-menu-wrapper {
        flex-direction: column;
    }
    
    .erm-menu-tabs {
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding: 10px 5px;
        margin: -10px -5px;
        scroll-snap-type: x mandatory;
        gap: 0.75rem;
    }
    
    .erm-menu-tabs::-webkit-scrollbar {
        display: none;
    }
    
    .erm-category-tab {
        flex: 0 0 auto;
        min-width: auto;
        padding: 0.75rem 1.25rem;
        white-space: nowrap;
        scroll-snap-align: start;
    }
}

@media (max-width: 768px) {
	.erm-menu-content-v2 .erm-menu-item{
		height:auto !important;
	}
	.elementor-kit-15 h3 {
		text-wrap: unset;
	}
    .erm-items-grid {
        grid-template-columns: 1fr;
    }
    
    .erm-menu-item {
        height: 100px;
    }
    
    .erm-item-image-wrapper {
        width: 80px;
        height: 80px;
    }
}

/* Slider Indicators */
.erm-slider-dots {
    display: none;
}

@media (max-width: 992px) {
	.erm-menu-content-v2 .erm-menu-item{
		height:auto !important;
	}
    .erm-slider-dots {
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        margin-top: 0.5rem;
    }

    .erm-slider-dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease;
    }

    .erm-slider-dot.active {
        background: rgba(255, 0, 0, 0.9);
        transform: scale(1.2);
    }
}

@media (max-width: 768px) {
	.erm-menu-content-v2 .erm-menu-item{
		height:auto !important;
	}
	.elementor-kit-15 h3 {
		text-wrap: unset;
	}
    .erm-item-image-wrapper {
        width: 80px;
        height: 80px;
    }
    
    .erm-item-image-inner img {
        transform: scale(1.1);
    }
}

/* Loading State */
.erm-items-grid.loading {
    opacity: 0.5;
    pointer-events: none;
}