/* Брендовые цвета: primary #004358, secondary #3D8BA0, light #E8F1F4 */

.site-logo {
    display: block;
    line-height: 0;
}

.site-logo img {
    display: block;
    height: auto;
    width: auto;
    max-width: 100%;
    max-height: 52px;
    margin: 0;
}

.header .main-header .header-logo {
    max-width: none;
    min-width: 0;
    width: auto;
    flex-shrink: 0;
}

.footer-bottom .site-logo img,
.logo-menu img {
    max-height: 40px;
}

.site-logo img:hover {
  transform: scale(1) !important;
}

.cardProduct .imageMain.product-image-placeholder,
.cardProduct .imageHover.product-image-placeholder {
    object-fit: contain;
    padding: 18px;
    background: #f7f7f8;
    /*transform: scale(0.5);*/
}

.product-gallery-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
    background: #f7f7f8;
    border-radius: 10px;
    padding: 24px;
}

.product-gallery-placeholder img {
    max-width: 180px;
    max-height: 220px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.kiosk-page-section {
    padding-bottom: 120px;
}

.kiosk-page-section .top-head-blog {
    padding-top: 40px;
    margin-bottom: 50px;
}

.kiosk-page-section .box-table-cart {
    margin-top: 0;
}

.kiosk-block {
    margin-bottom: 40px;
}

.kiosk-block:last-child {
    margin-bottom: 0;
}

.kiosk-info-list .item-total {
    display: flex;
    width: 100%;
    border-bottom: 1px solid #DBE2E5;
    padding-bottom: 16px;
    margin-bottom: 16px;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.kiosk-info-list .item-total:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.kiosk-info-list .item-total .info-label {
    flex: 0 0 40%;
    font-size: 16px;
    line-height: 24px;
    color: #6B7280;
}

.kiosk-info-list .item-total .info-value {
    flex: 1;
    font-size: 18px;
    line-height: 28px;
    font-weight: 600;
    color: #1C1D1D;
    text-align: right;
}

.kiosk-sidebar-stack > .box-cart-total {
    margin-bottom: 30px;
}

.kiosk-sidebar-stack > .box-cart-total:last-child {
    margin-bottom: 0;
}

.kiosk-actions-stack form {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #DBE2E5;
}

.kiosk-actions-stack form:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.kiosk-actions-stack .form-control {
    margin-bottom: 12px;
}

.kiosk-alert {
    max-width: 946px;
    margin: 0 auto 30px auto;
    padding: 18px 24px;
    border-radius: 4px;
    font-size: 18px;
    line-height: 28px;
    border: 1px solid #DBE2E5;
    background: #E8F1F4;
    color: #1C1D1D;
}

.kiosk-alert-success {
    background: #F0FFF4;
    border-color: #3a7d34;
}

.kiosk-alert-error,
.kiosk-alert-danger {
    background: #FFF5F2;
    border-color: #E35946;
}

.kiosk-alert-warning {
    background: #FFF8E6;
    border-color: #E3A046;
}

.kiosk-chat-panel {
    padding: 35px 30px 30px;
}

.kiosk-chat-messages {
    min-height: 420px;
    max-height: 520px;
    overflow-y: auto;
    padding: 10px 5px 25px;
    margin-bottom: 10px;
}

.kiosk-chat-row {
    margin-bottom: 22px;
}

.kiosk-chat-row.is-mine {
    text-align: right;
}

.kiosk-chat-bubble {
    display: inline-block;
    max-width: 70%;
    padding: 16px 20px;
    border-radius: 12px;
    text-align: left;
}

.kiosk-chat-bubble-mine {
    background: #004358;
    color: #fff;
}

.kiosk-chat-bubble-other {
    background: #E8F1F4;
    color: #1C1D1D;
}

.kiosk-chat-meta {
    font-size: 14px;
    line-height: 20px;
    opacity: 0.85;
    margin-bottom: 8px;
}

.kiosk-chat-text {
    font-size: 18px;
    line-height: 28px;
}

.kiosk-chat-form .form-group {
    margin-bottom: 20px;
}

.kiosk-chat-form .form-control {
    height: 52px;
    font-size: 18px;
}

.kiosk-search-block {
    margin-bottom: 50px;
}

.kiosk-search-block .form-control {
    height: 52px;
    font-size: 18px;
}

.header-search-inline {
    position: relative;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}

.header .main-header .header-account {
    overflow: visible;
}

.header-search-inline .header-search-form {
    position: absolute;
    right: calc(100% + 8px);
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transition: width 0.25s ease, opacity 0.2s ease;
    z-index: 100;
}

.header-search-inline.active .header-search-form {
    width: 280px;
    opacity: 1;
    pointer-events: auto;
}

.header-search-inline .header-search-input {
    width: 100%;
    height: 40px;
    padding: 8px 16px;
    font-size: 15px;
    line-height: 24px;
    border: 1px solid #DBE2E5;
    border-radius: 50px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(28, 29, 29, 0.12);
    color: #1C1D1D;
}

.header-search-inline .header-search-input::placeholder {
    color: #8E9599;
}

.header-search-inline .header-search-input:focus {
    border-color: #004358;
    outline: none;
    box-shadow: 0 4px 16px rgba(0, 67, 88, 0.2);
}

.header-search-inline .account-icon.search {
    position: relative;
    z-index: 101;
}

.kiosk-results-section {
    margin-bottom: 55px;
}

.kiosk-results-section:last-child {
    margin-bottom: 0;
}

.kiosk-result-card {
    border: 1px solid #DBE2E5;
    border-radius: 4px;
    padding: 25px;
    background: #fff;
    height: 100%;
}

.kiosk-result-card h6 {
    font-size: 20px;
    line-height: 28px;
    font-weight: 700;
    color: #1C1D1D;
    margin-bottom: 12px;
}

.kiosk-result-card .price-main {
    font-size: 22px;
    line-height: 30px;
    font-weight: 700;
    color: #004358;
    margin-bottom: 18px;
}

.kiosk-result-list li {
    padding: 20px 0;
    border-bottom: 1px solid #DBE2E5;
}

.kiosk-result-list li:last-child {
    border-bottom: 0;
}

.kiosk-result-list a {
    font-size: 20px;
    line-height: 28px;
    font-weight: 700;
    color: #1C1D1D;
    text-decoration: none;
}

.kiosk-result-list a:hover {
    color: #004358;
}

.kiosk-result-list p {
    font-size: 18px;
    line-height: 28px;
    color: #6B7280;
    margin-top: 8px;
    margin-bottom: 0;
}

.content-detail h5 {
    font-size: 24px;
    line-height: 34px;
    font-weight: 700;
    margin: 40px 0 20px;
    color: #1C1D1D;
}

.content-detail h5:first-child {
    margin-top: 0;
}

.content-detail ul,
.content-detail ol {
    font-size: 20px;
    line-height: 28px;
    margin-bottom: 28px;
    padding-left: 24px;
    color: #1C1D1D;
}

.content-detail li {
    margin-bottom: 10px;
}

.content-detail a {
    color: #004358;
}

.content-detail strong {
    font-weight: 700;
}

.content-detail code {
    font-size: 16px;
    padding: 2px 8px;
    background: #E8F1F4;
    border-radius: 4px;
}

.brand-warning-text {
    color: #E35946;
    font-weight: 600;
}

.text-muted-theme {
    color: #6B7280 !important;
}

.account-page-wrap {
    padding-bottom: 120px;
}

.account-page-wrap .top-head-blog {
    padding-top: 40px;
    margin-bottom: 40px;
}

.account-page-wrap .card-body p,
.account-page-wrap .card-body li {
    font-size: 18px;
    line-height: 28px;
}

.account-page-wrap .card-body h5 {
    font-size: 20px;
    line-height: 30px;
    font-weight: 700;
    margin-bottom: 20px;
}

.account-page-wrap .table {
    font-size: 16px;
}

/*.account-page-wrap .table td a {*/
/*    color: inherit;*/
/*    text-decoration: none;*/
/*}*/

/*.account-page-wrap .table td a:hover {*/
/*    color: #004358;*/
/*    text-decoration: underline;*/
/*}*/

.product-form-modal {
    padding: 0 !important;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.product-form-modal .modal-dialog {
    max-width: 760px;
    margin: 1.25rem auto;
    max-height: calc(100vh - 2.5rem);
    max-height: calc(100dvh - 2.5rem);
}

.product-form-modal .modal-dialog.modal-dialog-scrollable {
    height: calc(100vh - 2.5rem);
    height: calc(100dvh - 2.5rem);
}

.product-form-modal .modal-content {
    height: 100%;
    max-height: 100%;
    border: 1px solid #DBE2E5;
    border-radius: 8px;
    box-shadow: 0 16px 40px rgba(0, 67, 88, 0.18);
    overflow: hidden;
}

.product-form-modal #product-form-modal-form {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}

.product-form-modal .modal-header {
    flex-shrink: 0;
    align-items: center;
    padding: 18px 22px;
    border-bottom: 1px solid #E8F1F4;
}

.product-form-modal .modal-title {
    color: #004358;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

.product-form-modal-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    margin: 0;
    border: 1px solid #DBE2E5;
    border-radius: 50%;
    background: #fff;
    color: #004358;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.product-form-modal-close:hover {
    background: #E8F1F4;
    border-color: #3D8BA0;
}

.product-form-modal .modal-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 20px 22px;
}

.product-form-modal .modal-footer {
    flex-shrink: 0;
    justify-content: flex-end;
    gap: 8px;
    padding: 16px 22px;
    border-top: 1px solid #E8F1F4;
    background: #fff;
}

.product-form-modal .form-group {
    margin-bottom: 16px;
}

@media (max-width: 991.98px) {
    .product-form-modal .modal-dialog,
    .product-form-modal .modal-dialog.modal-dialog-scrollable {
        width: calc(100% - 1rem);
        max-width: calc(100% - 1rem);
        height: calc(100vh - 1rem);
        height: calc(100dvh - 1rem);
        max-height: calc(100vh - 1rem);
        max-height: calc(100dvh - 1rem);
        margin: 0.5rem auto;
    }

    .product-form-modal .modal-header,
    .product-form-modal .modal-body,
    .product-form-modal .modal-footer {
        padding-left: 16px;
        padding-right: 16px;
    }

    .product-form-modal .modal-title {
        font-size: 18px;
    }
}

.account-page-wrap .btn-small {
    font-size: 14px;
    font-weight: 600;
    color: #004358;
}

.account-page-wrap .products-filter-form .form-control {
    height: 48px;
    margin-bottom: 0;
}

.account-page-wrap .products-filter-form__btn-label {
    display: block;
    line-height: 1.2;
}

.account-page-wrap .products-filter-form__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: 0;
    line-height: 1;
}

.account-page-wrap .product-table-thumb-link {
    display: inline-block;
    line-height: 0;
}

.account-page-wrap tr.product-row-zero-stock > td {
    background: #FFF4E5;
    color: #D35400;
}

.account-page-wrap tr.product-row-zero-stock > td a {
    color: #D35400;
}

.account-page-wrap tr.product-row-inactive > td {
    background: #F2F3F4;
    color: #7F8C8D;
}

.account-page-wrap tr.product-row-inactive > td a {
    color: #7F8C8D;
}

/* Неактивный + нет в наличии: серый фон и оранжевая метка слева */
.account-page-wrap tr.product-row-inactive.product-row-zero-stock > td {
    background: #F2F3F4;
    color: #7F8C8D;
}

.account-page-wrap tr.product-row-inactive.product-row-zero-stock > td a {
    color: #7F8C8D;
}

.account-page-wrap tr.product-row-inactive > td:first-child,
.account-page-wrap tr.product-row-zero-stock > td:first-child {
    border-left: 4px solid transparent;
}

.account-page-wrap tr.product-row-inactive > td:first-child {
    border-left-color: #95A5A6;
}

.account-page-wrap tr.product-row-zero-stock:not(.product-row-inactive) > td:first-child {
    border-left-color: #E67E22;
}

.account-page-wrap tr.product-row-inactive.product-row-zero-stock > td:first-child {
    border-left: 4px solid #95A5A6;
    box-shadow: inset 4px 0 0 #E67E22;
}

.account-page-wrap td{
    vertical-align: middle;
}

.account-page-wrap .product-table-thumb {
    width: 50px;
    height: 50px;
    /*object-fit: cover;*/
    border-radius: 3px;
    border: 1px solid #DBE2E5;
    /*cursor: zoom-in;*/
}

.account-page-wrap .product-images-grid,
.product-form-modal .product-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 80px));
    gap: 10px;
}

.account-page-wrap .product-image-item,
.product-form-modal .product-image-item {
    position: relative;
    width: 80px;
    height: 80px;
}

.account-page-wrap .product-image-preview,
.product-form-modal .product-image-preview {
    display: block;
    width: 80px;
    height: 80px;
    line-height: 0;
}

.account-page-wrap .product-image-item img,
.product-form-modal .product-image-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #DBE2E5;
    cursor: zoom-in;
}

.account-page-wrap .product-image-item.is-deleted img,
.product-form-modal .product-image-item.is-deleted img {
    opacity: 0.35;
}

.account-page-wrap .product-image-remove,
.product-form-modal .product-image-remove {
    position: absolute;
    top: -7px;
    right: -7px;
    width: 18px;
    height: 18px;
    margin: 0;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #DBE2E5;
    color: #646667;
    font-size: 14px;
    line-height: 16px;
    text-align: center;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.account-page-wrap .product-image-remove:hover,
.product-form-modal .product-image-remove:hover {
    color: #c0392b;
    border-color: #c0392b;
}

.account-page-wrap .product-image-remove-input,
.product-form-modal .product-image-remove-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Загрузка фото профиля и логотипа */
.account-page-wrap .profile-image-upload {
    margin-bottom: 10px;
    width: 100%;
}

.account-page-wrap .profile-image-upload__label {
    display: block;
    font-weight: 600;
    color: #253D4E;
}

.account-page-wrap .profile-image-upload__dropzone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
    min-height: 180px;
    padding: 28px 24px;
    border: 2px dashed #B8C9D0;
    border-radius: 12px;
    background: #fafbfc;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.account-page-wrap .profile-image-upload__dropzone:hover,
.account-page-wrap .profile-image-upload__dropzone:focus {
    border-color: #3D8BA0;
    background: #f0f7f9;
    outline: none;
    box-shadow: 0 0 0 3px rgba(61, 139, 160, 0.12);
}

.account-page-wrap .profile-image-upload__dropzone.is-dragover {
    border-color: #004358;
    border-style: dashed;
    background: #e8f1f4;
    box-shadow: 0 0 0 4px rgba(0, 67, 88, 0.1);
}

.account-page-wrap .profile-image-upload.has-image .profile-image-upload__dropzone {
    border-color: #3D8BA0;
    border-style: dashed;
}

.account-page-wrap .profile-image-upload.is-changed .profile-image-upload__dropzone {
    border-color: #3D8BA0;
    background: #f0f7f9;
}

.account-page-wrap .profile-image-upload__preview {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #DBE2E5;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.account-page-wrap .profile-image-upload--avatar .profile-image-upload__preview {
    border-radius: 50%;
}

.account-page-wrap .profile-image-upload.has-image .profile-image-upload__preview {
    border-color: #3D8BA0;
    box-shadow: 0 4px 12px rgba(0, 67, 88, 0.1);
}

.account-page-wrap .profile-image-upload__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.account-page-wrap .profile-image-upload--logo .profile-image-upload__img {
    object-fit: contain;
    padding: 8px;
    background: #fff;
}

.account-page-wrap .profile-image-upload__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #9aa8b0;
}

.account-page-wrap .profile-image-upload__placeholder i {
    font-size: 32px;
    line-height: 1;
}

.account-page-wrap .profile-image-upload__dropzone-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.account-page-wrap .profile-image-upload__dropzone-icon {
    font-size: 28px;
    color: #3D8BA0;
    line-height: 1;
}

.account-page-wrap .profile-image-upload__dropzone-title {
    font-size: 15px;
    font-weight: 600;
    color: #253D4E;
}

.account-page-wrap .profile-image-upload__dropzone-hint {
    font-size: 13px;
    color: #7E7E7E;
    line-height: 1.4;
    max-width: 320px;
}

.account-page-wrap .profile-image-upload__file-info {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 10px;
    font-size: 13px;
    color: #646667;
}

.account-page-wrap .profile-image-upload__filename {
    font-weight: 600;
    color: #253D4E;
    word-break: break-all;
}

.account-page-wrap .profile-image-upload__actions {
    margin-top: 8px;
}

.account-page-wrap .profile-image-upload__input {
    display: none !important;
}

.account-page-wrap .profile-image-upload__error {
    margin-top: 8px;
}

.kiosk-seller-box {
    border: 1px solid #DBE2E5;
    border-radius: 4px;
    padding: 25px;
    margin-top: 25px;
}

.kiosk-panel-warning {
    border-color: #E35946;
}

/* Хлебные крошки — единая базовая линия */
.breadcrumbs ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumbs ul li {
    display: inline-flex;
    align-items: center;
    padding: 0 34px 0 0;
    position: relative;
    font-size: 16px;
    line-height: 24px;
}

.breadcrumbs ul li::before {
    top: 50%;
    transform: translateY(-50%);
}

.breadcrumbs ul li a,
.breadcrumbs ul li.breadcrumb-current span {
    display: inline-block;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    vertical-align: middle;
}

.breadcrumbs ul li.breadcrumb-current span {
    color: #646667;
}

.block-shop-head-2.block-breadcrumb-type-1 .breadcrumbs {
    margin-top: 0;
    padding: 10px 0;
}

/* Ровная сетка товаров: единая высота фото (обрезка, без сжатия) */
.content-products #products-container > [class*="col-"] {
    display: flex;
}

.content-products .cardProduct {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.content-products .cardProduct .cardImage {
    aspect-ratio: 3 / 4;
    min-height: unset !important;
    flex-shrink: 0;
}

.content-products .cardProduct .cardImage > a {
    display: block;
    width: 100%;
    height: 100%;
}

.content-products .cardProduct .cardImage .imageMain,
.content-products .cardProduct .cardImage .imageHover {
    width: 100%;
    height: 100%;
    min-height: unset !important;
    /*object-fit: cover;*/
}

.content-products .cardProduct .cardImage .imageHover {
    position: absolute;
    inset: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    margin: 0;
}

/* --- Мобильная адаптация --- */
@media (max-width: 991.98px) {
    .kiosk-page-section,
    .account-page-wrap {
        padding-bottom: 60px;
    }

    .kiosk-page-section .top-head-blog,
    .account-page-wrap .top-head-blog {
        padding-top: 20px;
        margin-bottom: 24px;
    }

    .kiosk-alert {
        font-size: 16px;
        line-height: 24px;
        padding: 14px 16px;
        margin-bottom: 20px;
    }

    .kiosk-info-list .item-total {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .kiosk-info-list .item-total .info-label {
        flex: none;
        width: 100%;
        font-size: 14px;
    }

    .kiosk-info-list .item-total .info-value {
        text-align: left;
        font-size: 16px;
        line-height: 24px;
        word-break: break-word;
    }

    .kiosk-chat-panel {
        padding: 20px 16px 16px;
    }

    .kiosk-chat-messages {
        min-height: 280px;
        max-height: 360px;
    }

    .kiosk-chat-bubble {
        max-width: 88%;
        padding: 12px 14px;
    }

    .kiosk-chat-text {
        font-size: 16px;
        line-height: 24px;
    }

    .account-page-wrap .dashboard-content.pl-50 {
        padding-left: 0 !important;
        margin-top: 20px;
    }

    .account-page-wrap .dashboard-menu .nav {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        overflow: visible;
        padding-bottom: 0;
        margin-bottom: 4px;
    }

    .account-page-wrap .dashboard-menu .nav-item {
        min-width: 0;
        width: 100%;
    }

    .account-page-wrap .dashboard-menu .nav-item a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 42px;
        white-space: normal;
        text-align: center;
        font-size: 14px;
        line-height: 18px;
        padding: 10px 8px;
        border: 1px solid #DBE2E5;
        border-radius: 4px;
        background: #fff;
        word-break: break-word;
    }

    .account-page-wrap .dashboard-menu .nav-item a.active {
        background: #E8F1F4;
        border-color: #004358;
    }

    .account-page-wrap .dashboard-menu .nav-item a i {
        display: none;
    }

    .box-table-cart {
        margin-top: 24px;
    }

    .box-filter-top {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 12px;
    }

    .box-filter-top .box-sort {
        width: 100%;
    }

    .breadcrumbs ul li {
        padding-right: 20px;
        font-size: 14px;
    }

    .box-popup-account .box-account-wrapper,
    .box-popup-cart .box-cart-wrapper {
        width: 100%;
        max-width: 100%;
        padding: 24px 20px;
    }
}

@media (max-width: 575.98px) {
    .header-search-inline.active .header-search-form {
        width: min(220px, calc(100vw - 120px));
    }

    .kiosk-result-card {
        padding: 16px;
    }

    .kiosk-result-card h6,
    .kiosk-result-list a {
        font-size: 17px;
        line-height: 24px;
    }

    .account-page-wrap .card-header h3 {
        font-size: 20px;
        line-height: 28px;
    }

    .account-page-wrap .table {
        font-size: 14px;
    }

    .box-total-checkout {
        margin-left: 0;
        padding: 16px;
    }
}

.mobile-menu-divider {
    height: 1px;
    background: #DBE2E5;
    margin: 12px 0;
    list-style: none;
}

/* Выезжающая панель фильтров (главная) */
.wrapper-overlay.kiosk-filters-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(17, 17, 17, 0.45);
    z-index: 12340;
}

body.filter-panel-open {
    overflow: hidden;
}

.kiosk-btn-filters {
    margin-right: 12px;
    white-space: nowrap;
}

.kiosk-filters-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 16px;
    border-bottom: 1px solid #DBE2E5;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 2;
}

.kiosk-filters-panel-head .btn-close-filters {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 4px;
}

.kiosk-filters-panel-head .btn-close-filters:hover {
    background: #E8F1F4;
}

#category-filter .category-filter-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

#category-filter .category-filter-row .cb-container {
    flex: 1;
    min-width: 0;
}

#category-filter .category-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    padding: 0;
    border: 1px solid #D5E4EA;
    background: #F4F9FB;
    color: #004358;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 1px 2px rgba(0, 67, 88, 0.06);
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

#category-filter .category-toggle-icon {
    display: block;
    transition: transform 0.25s ease;
}

#category-filter .category-toggle:hover {
    background: #E8F1F4;
    border-color: #3D8BA0;
    color: #004358;
    box-shadow: 0 2px 6px rgba(0, 67, 88, 0.12);
}

#category-filter .category-toggle:active {
    transform: scale(0.94);
}

#category-filter .has-children.is-open > .category-filter-row > .category-toggle {
    background: #004358;
    border-color: #004358;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 67, 88, 0.22);
}

#category-filter .has-children.is-open > .category-filter-row > .category-toggle .category-toggle-icon {
    transform: rotate(180deg);
}

#category-filter .category-children {
    margin-top: 8px;
}

#category-filter .category-children[hidden] {
    display: none !important;
}

@media (min-width: 992px) {
    .catalog-filters-column .block-filter-middle {
        position: static;
        left: auto;
        width: auto;
        max-width: none;
        height: auto;
        overflow: visible;
        background: transparent;
        box-shadow: none;
        padding: 0;
    }
}

@media (max-width: 991.98px) {
    .catalog-filters-column {
        flex: 0 0 0;
        width: 0;
        max-width: 0;
        padding: 0 !important;
        overflow: visible;
    }

    .catalog-filters-column .block-filter-middle {
        position: fixed;
        top: 0;
        left: -100%;
        width: min(320px, 88vw);
        max-width: 320px;
        height: 100%;
        overflow-x: hidden;
        overflow-y: auto;
        z-index: 12350;
        background: #fff;
        padding: 0;
        transition: left 0.3s ease-in-out;
        box-shadow: 4px 0 24px rgba(0, 0, 0, 0.12);
    }

    .catalog-filters-column .block-filter-middle.active {
        left: 0;
    }

    .catalog-filters-column .block-filter-middle .box-filters-sidebar {
        padding: 16px;
    }

    .catalog-filters-column .sidebar-left {
        padding: 0;
    }

    .box-filter-top .box-sort {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 10px;
        width: 100%;
    }

    .kiosk-btn-filters {
        order: -1;
        width: 100%;
        text-align: center;
    }
}

/* In-app notifications bell */
.header-notifications {
    display: inline-block;
    position: relative;
    vertical-align: middle;
}

.header .main-header .header-account .account-icon.notifications .number-tag.is-hidden {
    display: none;
}

.notifications-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: min(360px, calc(100vw - 24px));
    max-height: 420px;
    background: #fff;
    border: 1px solid #e5eef1;
    box-shadow: 0 12px 32px rgba(0, 67, 88, 0.14);
    border-radius: 12px;
    z-index: 1200;
    text-align: left;
    overflow: hidden;
}

.notifications-dropdown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid #e8f1f4;
    background: #f7fbfc;
}

.notifications-dropdown-header strong {
    font-size: 15px;
    color: #004358;
}

.notifications-mark-all {
    border: 0;
    background: transparent;
    color: #3d8ba0;
    font-size: 13px;
    padding: 0;
    cursor: pointer;
}

.notifications-mark-all:hover {
    color: #004358;
    text-decoration: underline;
}

.notifications-dropdown-list {
    max-height: 360px;
    overflow-y: auto;
}

.notifications-empty {
    padding: 28px 16px;
    color: #6b7c82;
    font-size: 14px;
    text-align: center;
}

.notifications-item-link {
    display: block;
    padding: 12px 16px;
    border-bottom: 1px solid #eef4f6;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.15s ease;
}

.notifications-item-link:last-child {
    border-bottom: 0;
}

.notifications-item-link:hover {
    background: #f3f8fa;
}

.notifications-item-type {
    display: block;
    font-size: 12px;
    color: #3d8ba0;
    margin-bottom: 2px;
}

.notifications-item-title {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1c1d1d;
    line-height: 1.35;
}

.notifications-item-body {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    color: #5a6a70;
    line-height: 1.35;
}

.notifications-item-time {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #8a9aa0;
}