/* BurgerLux Menu Catalog — стили изолированы префиксом blmc- */
.blmc-wrapper {
    --blmc-bg: #0b0b0b;
    --blmc-card: #151515;
    --blmc-card-2: #1d1d1d;
    --blmc-gold: #d7a84a;
    --blmc-gold-light: #f1cf7a;
    --blmc-text: #ffffff;
    --blmc-muted: #b9b9b9;
    --blmc-border: rgba(215, 168, 74, 0.32);
    box-sizing: border-box;
    color: var(--blmc-text);
    font-family: inherit;
}

.blmc-wrapper *,
.blmc-wrapper *::before,
.blmc-wrapper *::after {
    box-sizing: border-box;
}

.blmc-menu-section {
    padding: 28px 0;
    scroll-margin-top: 90px;
    background-repeat: repeat;
    background-size: auto;
}

.blmc-section-title {
    margin: 0 0 24px;
    color: var(--blmc-gold-light);
    font-size: clamp(26px, 3vw, 42px);
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: .02em;
}

.blmc-grid {
    display: grid;
    gap: 24px;
}

.blmc-grid--cols-1 { grid-template-columns: 1fr; }
.blmc-grid--cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.blmc-grid--cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.blmc-grid--cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.blmc-product-card {
    overflow: hidden;
    border: 1px solid var(--blmc-border);
    border-radius: 18px;
    background: linear-gradient(180deg, var(--blmc-card-2), var(--blmc-card));
    box-shadow: 0 18px 44px rgba(0,0,0,.25);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.blmc-product-card:hover {
    transform: translateY(-3px);
    border-color: rgba(241,207,122,.7);
    box-shadow: 0 22px 60px rgba(0,0,0,.38);
}

.blmc-product-card__image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #080808;
    border-bottom: 1px solid var(--blmc-border);
}

.blmc-product-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blmc-product-card__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    padding: 7px 11px;
    border-radius: 999px;
    background: var(--blmc-gold);
    color: #14100a;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.blmc-badge-spicy { background: #d94a32; color: #fff; }
.blmc-badge-sale { background: #f0be55; color: #14100a; }
.blmc-badge-new { background: #fff3c8; color: #14100a; }

.blmc-product-card__body {
    padding: 20px;
}

.blmc-product-card__title {
    margin: 0 0 10px;
    color: var(--blmc-text);
    font-size: 22px;
    line-height: 1.15;
    font-weight: 800;
}

.blmc-product-card__desc,
.blmc-product-card__composition {
    margin: 0 0 12px;
    color: var(--blmc-muted);
    font-size: 14px;
    line-height: 1.55;
}

.blmc-product-card__desc p {
    margin: 0;
}

.blmc-product-card__composition strong {
    color: var(--blmc-gold-light);
}

.blmc-product-card__bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    margin-top: 16px;
}

.blmc-product-card__weight {
    color: var(--blmc-muted);
    font-size: 13px;
    white-space: nowrap;
}

.blmc-product-card__prices {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    margin-left: auto;
}

.blmc-product-card__old-price {
    color: #8c8c8c;
    font-size: 14px;
}

.blmc-product-card__price {
    color: var(--blmc-gold-light);
    font-size: 23px;
    line-height: 1;
}

.blmc-button,
.blmc-product-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin-top: 18px;
    padding: 11px 18px;
    border: 1px solid var(--blmc-gold);
    border-radius: 999px;
    background: linear-gradient(180deg, var(--blmc-gold-light), var(--blmc-gold));
    color: #14100a !important;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none !important;
    transition: transform .2s ease, filter .2s ease;
}

.blmc-button:hover,
.blmc-product-card__button:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.blmc-tabs {
    padding: 24px 0;
}

.blmc-tabs__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.blmc-tabs__button {
    cursor: pointer;
    border: 1px solid var(--blmc-border);
    border-radius: 999px;
    background: #111;
    color: var(--blmc-gold-light);
    padding: 11px 18px;
    font-weight: 700;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.blmc-tabs__button.is-active,
.blmc-tabs__button:hover {
    border-color: var(--blmc-gold);
    background: var(--blmc-gold);
    color: #14100a;
}

.blmc-tabs__panel {
    display: none;
}

.blmc-tabs__panel.is-active {
    display: block;
}

.blmc-category-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 18px 34px;
    padding: 8px 0;
    background: transparent;
}

.blmc-category-nav__item {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 34px;
    padding: 4px 0 7px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--blmc-text) !important;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.15;
    text-decoration: none !important;
    white-space: nowrap;
    transition: color .2s ease, transform .2s ease;
}

.blmc-category-nav__item::after {
    content: "";
    position: absolute;
    left: 30px;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--blmc-gold-light), var(--blmc-gold));
    opacity: 0;
    transform: translateY(5px) scaleX(.72);
    transform-origin: center;
    transition: opacity .2s ease, transform .2s ease;
}

.blmc-category-nav__item:hover,
.blmc-category-nav__item:focus-visible,
.blmc-category-nav__item.is-active {
    color: var(--blmc-gold-light) !important;
    transform: translateY(-2px);
}

.blmc-category-nav__item:hover::after,
.blmc-category-nav__item:focus-visible::after,
.blmc-category-nav__item.is-active::after {
    opacity: 1;
    transform: translateY(0) scaleX(1);
}

.blmc-category-nav__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 25px;
    width: 25px;
    height: 25px;
    color: var(--blmc-gold-light);
    transition: color .2s ease, transform .2s ease, filter .2s ease;
}

.blmc-category-nav__item:hover .blmc-category-nav__icon,
.blmc-category-nav__item:focus-visible .blmc-category-nav__icon,
.blmc-category-nav__item.is-active .blmc-category-nav__icon {
    color: var(--blmc-gold);
    transform: scale(1.08) rotate(-3deg);
    filter: drop-shadow(0 0 8px rgba(215,168,74,.28));
}

.blmc-category-nav__icon svg,
.blmc-category-nav__icon img {
    display: block;
    width: 25px;
    height: 25px;
}

.blmc-category-nav__icon svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.blmc-category-nav__icon img {
    object-fit: contain;
    filter: sepia(1) saturate(2.1) hue-rotate(350deg) brightness(1.06);
}

.blmc-category-nav__text {
    color: inherit;
}

.blmc-empty {
    margin: 0;
    color: var(--blmc-muted);
}

@media (max-width: 1024px) {
    .blmc-grid--cols-3,
    .blmc-grid--cols-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .blmc-grid,
    .blmc-grid--cols-2,
    .blmc-grid--cols-3,
    .blmc-grid--cols-4 {
        grid-template-columns: 1fr;
    }

    .blmc-product-card__body {
        padding: 17px;
    }

    .blmc-tabs__nav,
    .blmc-category-nav {
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 18px;
        padding-bottom: 10px;
    }

    .blmc-tabs__button,
    .blmc-category-nav__item {
        flex: 0 0 auto;
    }

    .blmc-category-nav__item {
        font-size: 15px;
    }

    .blmc-category-nav__icon,
    .blmc-category-nav__icon svg,
    .blmc-category-nav__icon img {
        width: 26px;
        height: 26px;
    }
}

/* Страница каталога меню без видеобаннера */
.blmc-catalog-page {
    background: #050505;
    color: #fff;
    min-height: 70vh;
    padding: 54px 0 70px;
}

.blmc-catalog-page__inner {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
}

.blmc-catalog-page__header {
    text-align: center;
    margin: 0 0 34px;
}

.blmc-catalog-page__title {
    margin: 0;
    color: #fff;
    font-size: clamp(32px, 4vw, 56px);
    line-height: 1.05;
    font-weight: 800;
}

.blmc-catalog-page__title::after {
    content: "";
    display: block;
    width: 86px;
    height: 3px;
    margin: 18px auto 0;
    background: #d6a84f;
}

.blmc-catalog-page .blmc-category-nav {
    margin-bottom: 34px;
}

/* v1.0.5 — каталог: меню под заголовком выравниваем по левому краю */
.blmc-catalog-page .blmc-category-nav {
    justify-content: flex-start;
    gap: 16px 32px;
    margin-bottom: 14px;
}

.blmc-catalog-page__content {
    scroll-margin-top: 96px;
}

/* Сортировка под фуд-меню */
.blmc-sort-panel {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin: 0 0 18px;
    color: var(--blmc-muted);
    font-size: 15px;
}

.blmc-sort-panel__label {
    color: var(--blmc-muted);
}

.blmc-sort-panel__link {
    color: var(--blmc-text) !important;
    font-weight: 800;
    text-decoration: none !important;
    border-bottom: 1px dashed var(--blmc-gold-light);
    padding-bottom: 3px;
    transition: color .2s ease, border-color .2s ease;
}

.blmc-sort-panel__link:hover,
.blmc-sort-panel__link:focus-visible,
.blmc-sort-panel__link.is-active {
    color: var(--blmc-gold-light) !important;
    border-bottom-color: var(--blmc-gold);
}

@media (max-width: 640px) {
    .blmc-catalog-page .blmc-category-nav {
        justify-content: flex-start;
    }

    .blmc-sort-panel {
        margin-top: 2px;
        font-size: 14px;
    }
}
