/* Header & Banner & Promo Slider */

.menu-header {
    position: relative;
    background: var(--menu-bg);
}

/* Header Banner (from business info) */
.header-banner {
    position: relative;
    width: 100%;
    height: 100px;
    overflow: hidden;
}

.header-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 50%, transparent 100%);
    pointer-events: none;
}

.header-banner-name {
    position: absolute;
    bottom: 10px;
    left: 14px;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    z-index: 5;
}

.header-simple {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Promo Slider (banners) */
.promo-slider-wrapper {
    position: relative;
    padding: 12px;
    padding-bottom: 0;
}

.promo-slider {
    position: relative;
    width: 100%;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
}

.promo-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

.promo-slide.active {
    opacity: 1;
}

.promo-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-slide-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 14px 12px 14px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.promo-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 10px 0;
}

.promo-dot {
    width: 6px;
    height: 6px;
    background: color-mix(in srgb, var(--title-color) 30%, transparent);
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.promo-dot.active {
    background: var(--title-color);
    width: 18px;
}

/* Header Bar - only for category pages */
.header-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--menu-bg);
}

.back-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s;
}

.back-btn:hover {
    opacity: 0.7;
}

.back-btn i {
    width: 22px;
    height: 22px;
}

.header-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

/* Search Button */
.header-search-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: all 0.2s;
}

.header-search-btn:active {
    transform: scale(0.92);
    background: rgba(0, 0, 0, 0.6);
}

.header-search-btn i {
    width: 18px;
    height: 18px;
}

.header-simple .header-search-btn {
    position: static;
    background: color-mix(in srgb, var(--title-color) 10%, transparent);
    color: var(--title-color);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
