.live-search{z-index:999;position:relative}
.live-search__ul{position:absolute;width:100%;max-height:80vh;overflow-y:auto;list-style:none;padding:15px;background:#fff;border-radius:var(--border-radius-1);box-shadow:0 6px 12px rgba(0, 0, 0, .2)}
.live-search__ul::-webkit-scrollbar{width:8px;background:#eee;border-radius:4px}
.live-search__ul::-webkit-scrollbar-thumb{background-color:#ccc;border-radius:4px}
.live-search__section{margin:0 0 10px;font-weight:700;color:var(--body-c)}
.live-search__category{margin:0 0 20px}
.live-search__category-item{display:inline-block;padding:0 15px 5px 0;font-size:.9em;font-weight:500;cursor:pointer}
.live-search__item{display:flex;align-items:center;padding:10px 0;cursor:pointer;border-radius:var(--border-radius-1)}
.live-search__section + .live-search__item{margin-top:-5px;}
.live-search__item:hover{background:rgba(0, 0, 0, .02)}
.live-search__image{padding:0 10px;text-align:center}
.live-search__wrapper{width:100%;padding:0 10px}
.live-search__name, .live-search__name span{font-size:.9em;font-weight:700 !important;color:var(--a-c)}
.live-search__model {margin:5px 0 0;font-size:.8em;color:var(--body-c)}
.live-search__rating{min-height:0 !important;margin:10px 0 0}
.live-search__rating .rating{min-height:0 !important;margin:0 !important}
.live-search__price{flex-wrap:wrap;width:100px;padding:0 10px;white-space:nowrap}
.live-search__price span{display:block}
.live-search__price .price-new{margin:0}
.live-search__more{justify-content:center;padding:5px 0;font-weight:500;line-height:30px;border:none !important;background:#f7f7f7}
.live-search__loading{height:34px}
.live-search__loading:before{position:absolute;top:50%;left:50%;display:block;width:20px;height:20px;margin:-10px auto auto -10px;content:'';border:solid 3px;border-color:#f6846a #f6846a transparent;border-radius:100%;animation:spin 1s infinite linear}

@media (max-width:768px){
    .live-search__ul{max-height:calc(100vh - 150px)}
}

 /* Стили основного окна cookie */
        .cookies-window {
            position: fixed;
            bottom: 20px;
            left: 20px;
            right: 20px;
            background: white;
            border-radius: 12px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.2);
            z-index: 9999;
            max-width: 500px;
            margin: 0 auto;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            animation: slideUp 0.3s ease-out;
            padding: 20px;
        }

     

        @keyframes slideUp {
            from {
                transform: translateY(100%);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        .cookie-wrapper {
            padding: 20px 24px;
        }

        .cookie-descripton p {
            margin: 0 0 10px 0;
            font-size: 14px;
            line-height: 1.5;
            color: #333;
        }

        .cookie-descripton a {
            color: #0066cc;
            text-decoration: none;
        }

        .cookie-descripton a:hover {
            text-decoration: underline;
        }

        .cookies-wrapper {
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
            border-top: 1px solid #e5e5e5;
            padding-top: 16px;
            margin-top: 0;
        }

        .but {
            padding: 10px 20px;
            border-radius: 6px;
            cursor: pointer;
            font-size: 14px;
            font-weight: 500;
            transition: all 0.2s;
            text-align: center;
            flex: 1;
            min-width: 100px;
            border: none;
            font-family: inherit;
        }

        .agree2 {
            background: #28a745;
            color: white;
        }

        .agree2:hover {
            background: #218838;
        }

        .cancel {
            background: #dc3545;
            color: white;
        }

        .cancel:hover {
            background: #c82333;
        }

        .set {
            background: #6c757d;
            color: white;
        }

        .set:hover {
            background: #5a6268;
        }

        /* Стили модального окна настроек */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0,0,0,0.5);
            z-index: 10000;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
        }

        .modal-window {
            background: white;
            border-radius: 12px;
            max-width: 500px;
            width: 90%;
            max-height: 80vh;
            overflow-y: auto;
            animation: modalSlideIn 0.2s ease-out;
        }

        @keyframes modalSlideIn {
            from {
                transform: scale(0.95);
                opacity: 0;
            }
            to {
                transform: scale(1);
                opacity: 1;
            }
        }

        .modal-header {
            padding: 20px 24px;
            border-bottom: 1px solid #e5e5e5;
        }

        .modal-header h3 {
            margin: 0;
            font-size: 20px;
            font-weight: 600;
        }

        .modal-body {
            padding: 20px 24px;
        }

        .cookie-option {
            margin-bottom: 20px;
            display: flex;
            align-items: flex-start;
            gap: 12px;
        }

        .cookie-option input[type="checkbox"] {
            width: 18px;
            height: 18px;
            margin-top: 2px;
            cursor: pointer;
        }

        .cookie-option label {
            font-size: 15px;
            line-height: 1.4;
            color: #333;
            cursor: pointer;
            flex: 1;
        }

        .modal-footer {
            padding: 16px 24px;
            border-top: 1px solid #e5e5e5;
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
        }

        .modal-btn {
            padding: 10px 20px;
            border-radius: 6px;
            cursor: pointer;
            font-size: 14px;
            font-weight: 500;
            transition: all 0.2s;
            border: none;
            flex: 1;
            min-width: 120px;
            font-family: inherit;
        }

        .btn-save {
            background: #28a745;
            color: white;
        }

        .btn-save:hover {
            background: #218838;
        }

        .btn-allow-all {
            background: #007bff;
            color: white;
        }

        .btn-allow-all:hover {
            background: #0056b3;
        }

        .btn-reject-all {
            background: #6c757d;
            color: white;
        }

        .btn-reject-all:hover {
            background: #5a6268;
        }

        @media (max-width: 600px) {
            .cookies-window {
                left: 10px;
                right: 10px;
                bottom: 10px;
            }
            
            .cookie-wrapper {
                padding: 16px;
            }
            
            .cookies-wrapper {
                flex-direction: column;
            }
            
            .but {
                width: 100%;
            }
        }

#uni-notification {
    display: none
}