 /* Кнопки открытия */
 .panel-trigger {
    padding: 10px 20px;
    background: #1e87f0;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    margin: 10px;
}

/* Затемнение фона */
.panel-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: none;
    z-index: 100;
}

/* Сама панель */
.bottom-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 1010;
    max-height: 88vh;
    overflow: hidden;
    display: none;
}

/* Контейнер контента с всегда видимым скроллбаром для iOS */
.panel-scroll-container {
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    max-height: calc(88vh - 10px);
    padding: 20px;
    overscroll-behavior: contain;
    /* Всегда показывать скроллбар в WebKit (iOS Safari) */
    &::-webkit-scrollbar {
        -webkit-appearance: none;
        width: 8px;
    }

    &::-webkit-scrollbar-thumb {
        background-color: rgba(0,0,0,0.3);
        border-radius: 4px;
    }
}

/* Полоска для свайпа */
.swipe-handle {
    width: 50px;
    height: 4px;
    background: #ddd;
    border-radius: 2px;
    margin: 10px auto;
    cursor: pointer;
}

/* Класс для блокировки скролла страницы */
.body-no-scroll {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

.product-cart__dialog-head_product{
    padding: 30px;
background: var(--vv-cream2);
margin-top: 20px;
border-radius: 15px;
margin-bottom: 1rem;
}
.product-cart__dialog-head_product .__modile__head{
    font-weight: bolder;
}
.product-cart__dialog-head_product .__modile__text, .product-cart__dialog-head_product .__modile__sostav, .product-cart__dialog-head_product .__modile__kkal{
    padding-bottom: 15px;
}
.bottom-panel .product-tile__image img{
    width: 100%;
}
.d-block__offcanvas{
    display: block;
}
.d-none__offcanvas{
    display: none;
}
body:has(.mfp-wrap), body:has(.d-block__offcanvas) {
    overflow: hidden;
}
.products-panel-trigger{
    color: var(--vv-orange) !important;
    transition: border-bottom-color .2s ease-in-out;
    line-height: 1;
    display: inline-block;
    font-size: 14px !important;
    padding: 0 0 0 10px !important;
    margin: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    text-transform: none;
    letter-spacing: 0;
    height: auto;
}
.products-panel-trigger span{
    border-bottom: 1px dotted !important;
}