/* ============================================================
   «Литстор 2026» — новый дизайн витрины (черновик, вариант «Маркетплейс»)
   Файл подключается из head.html ПОСЛЕ default.css / default.shop.css,
   поэтому работает «поверх» движка: переопределение CSS-переменных темы
   и точечное оформление собственных классов .ls-*.
   Логику движка (корзина, поиск, скрипты, формы) не затрагивает.
   ============================================================ */

/* ---------- 1. Палитра и переменные ---------- */
:root {
    color-scheme: light !important;

    --ls-ink:     #0f1728;
    --ls-mut:     #5b6b84;
    --ls-line:    #e6eaf2;
    --ls-bg:      #f6f8fc;
    --ls-blue:    #2557d6;
    --ls-blue-d:  #1d46b8;
    --ls-blue-l:  #eef3ff;
    --ls-green:   #16a34a;
    --ls-orange:  #f97316;
    --ls-red:     #ef4444;
    --ls-r:       12px;
    --ls-r-lg:    16px;

    /* переопределяем переменные темы «Дефолт» (перебиваем inline-настройки) */
    --accent-color:           #2557d6 !important;
    --element-border-radius:  12px !important;
    --bg-color-light:         #f6f8fc !important;
    --bg-color-dark:          #f6f8fc !important;
    --font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

body {
    background: var(--ls-bg);
    color: var(--ls-ink);
}

.container {
    --container-max-width: 1280px;
    --container-min-width: 0;
}

main.maincontent {
    background: var(--ls-bg);
}

main.maincontent > .container {
    padding-top: 8px;
    padding-bottom: 44px;
}

/* ---------- 2. Шапка ---------- */
header.globalheader {
    --globalheader-mb: 0;
    background: #fff;
    box-shadow: 0 1px 0 var(--ls-line) !important;
    margin-bottom: 0;
    padding: 0 0 4px 0;
    position: sticky;
    top: 0;
    z-index: 900;
}

#globalnav {
    background: #fff;
}

#globalnav > .container,
#header-container {
    padding-top: 12px;
}

/* логотип: знак + название */
#globalnav h2 a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 20px;
    letter-spacing: .2px;
    color: var(--ls-ink) !important;
    text-decoration: none;
}

#globalnav h2 a::before {
    content: "";
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: #2557d6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z'/%3E%3Cpath d='m3.3 7 8.7 5 8.7-5'/%3E%3Cpath d='M12 22V12'/%3E%3C/svg%3E") center/20px 20px no-repeat;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z'/%3E%3Cpath d='m3.3 7 8.7 5 8.7-5'/%3E%3Cpath d='M12 22V12'/%3E%3C/svg%3E"), linear-gradient(135deg, #4f8ef7, #2557d6);
    background-position: center, center;
    background-size: 20px 20px, cover;
    background-repeat: no-repeat;
}

/* меню приложений/страниц — компактные ссылки */
#globalnav ul.apps {
    gap: 2px;
}

#globalnav ul.apps li a {
    display: inline-block;
    padding: 7px 10px;
    border-radius: 9px;
    font-size: 13px;
    color: var(--ls-mut) !important;
    text-decoration: none;
}

#globalnav ul.apps li a:hover {
    background: var(--ls-blue-l);
    color: var(--ls-blue) !important;
}

#globalnav ul.apps li.selected a {
    color: var(--ls-blue) !important;
    font-weight: 600;
}

/* телефон и график в основной строке */
#globalnav .globalnav-bar > .justify-content-center {
    color: var(--ls-ink);
    font-weight: 600;
}

#globalnav .globalnav-bar > .justify-content-center a {
    color: var(--ls-ink) !important;
    font-weight: 700;
}

/* корзина — синяя кнопка */
#cart .cart-summary {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--ls-blue);
    color: #fff !important;
    border-radius: var(--ls-r);
    padding: 9px 16px;
    font-weight: 700;
    font-size: 13.5px;
    text-decoration: none;
    transition: background-color .15s;
}

#cart .cart-summary:hover {
    background: var(--ls-blue-d);
}

#cart .cart-summary svg {
    width: 20px;
    height: 20px;
}

#cart .cart-total {
    background: rgba(255, 255, 255, .2);
    border-radius: 8px;
    padding: 1px 7px;
    font-size: 12.5px;
}

#cart.empty .cart-total {
    display: none;
}

/* вход / кабинет */
#globalnav .auth li a {
    color: var(--ls-ink) !important;
    font-size: 13px;
    font-weight: 600;
}

#globalnav .auth svg {
    color: var(--ls-mut);
}

/* ---------- верхняя полоса контактов ---------- */
.ls-topbar {
    background: #fff;
    border-bottom: 1px solid var(--ls-line);
    font-size: 12.5px;
    color: var(--ls-mut);
}

.ls-topbar-in {
    max-width: 1280px;
    margin: 0 auto;
    padding: 7px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.ls-topbar-l,
.ls-topbar-r {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.ls-topbar a {
    color: var(--ls-mut);
    text-decoration: none;
}

.ls-topbar a:hover {
    color: var(--ls-blue);
}

.ls-tb-phone b {
    color: var(--ls-ink);
}

.ls-tb-hours {
    color: #93a2ba;
}

/* ---------- строка поиска + быстрые ссылки ---------- */
header.globalheader #header-container {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding-bottom: 10px;
}

.ls-search {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.ls-search .search-wrapper {
    display: flex;
    flex: 1;
    align-items: stretch;
    max-width: 720px;
    border: 2px solid var(--ls-blue);
    border-radius: var(--ls-r);
    overflow: hidden;
    background: #fff;
}

.ls-search .search-wrapper input[type="search"] {
    flex: 1;
    width: auto;
    border: 0 !important;
    background: transparent !important;
    padding: 11px 14px;
    font-size: 14px;
    outline: 0;
}

.ls-search .search-wrapper button {
    position: static !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: var(--ls-blue);
    color: #fff;
    padding: 0 22px;
    cursor: pointer;
}

.ls-search .search-wrapper button:hover {
    background: var(--ls-blue-d);
}

.ls-search-cat {
    border: 0;
    outline: 0;
    background: #f4f7ff;
    padding: 0 10px;
    font-size: 12.5px;
    color: var(--ls-mut);
    border-right: 1px solid var(--ls-line);
    max-width: 190px;
}

.ls-hicons {
    display: flex;
    gap: 6px;
    align-items: center;
}

.ls-hicon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 6px 10px;
    border-radius: 10px;
    font-size: 11px;
    color: var(--ls-mut);
    text-decoration: none;
}

.ls-hicon:hover {
    background: #f2f6ff;
    color: var(--ls-blue);
}

/* ---------- меню категорий ---------- */
.ls-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    font-size: 13.5px;
    position: relative;
}

.ls-mcat {
    display: flex;
    align-items: center;
    gap: 7px;
    background: var(--ls-blue);
    color: #fff;
    padding: 9px 16px;
    border: 0;
    border-radius: 11px;
    font-weight: 700;
    font-size: 13.5px;
    white-space: nowrap;
    cursor: pointer;
}

.ls-mcat:hover {
    background: var(--ls-blue-d);
}

.ls-mitem {
    padding: 9px 13px;
    border-radius: 10px;
    color: #31405c;
    white-space: nowrap;
    text-decoration: none;
}

.ls-mitem:hover {
    background: var(--ls-blue-l);
    color: var(--ls-blue);
}

.ls-mitem.acs {
    color: var(--ls-red);
    font-weight: 600;
}

/* выпадающая панель «Каталог товаров» */
.ls-cat-panel {
    display: none;
    position: absolute;
    left: 0;
    top: calc(100% + 8px);
    z-index: 60;
    background: #fff;
    border: 1px solid var(--ls-line);
    border-radius: 14px;
    box-shadow: 0 18px 44px rgba(15, 23, 40, .14);
    max-height: 70vh;
    overflow: auto;
    padding: 18px 20px;
    min-width: 320px;
    max-width: 920px;
}

.ls-menu.ls-open .ls-cat-panel {
    display: block;
}

.ls-cat-panel .departments > .menu-v {
    column-width: 220px;
    column-gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ls-cat-panel .menu-v a {
    color: var(--ls-ink);
}

.ls-cat-panel .menu-v a:hover {
    color: var(--ls-blue);
}

.ls-cat-extra {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    border-top: 1px solid var(--ls-line);
    margin-top: 14px;
    padding-top: 12px;
}

.ls-cat-h {
    font-weight: 700;
    font-size: 12.5px;
    color: var(--ls-mut);
    margin-bottom: 6px;
}

.ls-cat-pages {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    border-top: 1px solid var(--ls-line);
    margin-top: 14px;
    padding-top: 12px;
}

.ls-cat-pages a {
    color: var(--ls-mut);
    font-size: 13px;
    text-decoration: none;
}

.ls-cat-pages a:hover {
    color: var(--ls-blue);
}

.ls-cat-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    border-top: 1px solid var(--ls-line);
    margin-top: 14px;
    padding-top: 12px;
}

.ls-cat-tags a {
    background: #f4f7ff;
    border-radius: 8px;
    padding: 3px 9px;
    font-size: 12px;
    color: var(--ls-mut);
    text-decoration: none;
}

.ls-cat-tags a:hover {
    color: var(--ls-blue);
}

/* ---------- 3. Главная страница ---------- */

/* полоса преимуществ */
.ls-trust {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    background: #fff;
    border: 1px solid var(--ls-line);
    border-radius: var(--ls-r-lg);
    padding: 14px 10px;
    margin: 16px 0;
}

.ls-tr {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 4px 12px;
    font-size: 12.5px;
    color: #31405c;
}

.ls-tr .em {
    font-size: 20px;
}

.ls-tr b {
    display: block;
    font-size: 13px;
    color: var(--ls-ink);
}

.ls-tr small {
    color: var(--ls-mut);
}

/* hero-баннер + боковые карточки */
.ls-hero {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 12px;
    margin: 16px 0;
}

.ls-hero-main {
    border-radius: 18px;
    background: linear-gradient(115deg, #123a8f 0%, #2557d6 55%, #4f8ef7 100%);
    color: #fff;
    padding: 38px 34px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 230px;
}

.ls-hero-main::after {
    content: "📦";
    position: absolute;
    right: 28px;
    bottom: -16px;
    font-size: 150px;
    opacity: .16;
    transform: rotate(-8deg);
    pointer-events: none;
}

.ls-hero-main .ls-tag {
    display: inline-block;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 8px;
    padding: 4px 10px;
    font-size: 12px;
    margin-bottom: 14px;
    align-self: flex-start;
}

.ls-hero-main h1 {
    font-size: 30px;
    line-height: 1.2;
    margin: 0 0 10px;
    letter-spacing: -.3px;
    color: #fff;
}

.ls-hero-main p {
    opacity: .9;
    max-width: 430px;
    margin: 0 0 20px;
    font-size: 14px;
}

.ls-hero-side {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ls-hcard {
    border-radius: 18px;
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-decoration: none;
    color: var(--ls-ink);
}

.ls-hcard.a {
    background: linear-gradient(135deg, #fff3e6, #ffe4c8);
}

.ls-hcard.b {
    background: linear-gradient(135deg, #e8f7ee, #d3f0de);
}

.ls-hcard .em {
    font-size: 26px;
    margin-bottom: 6px;
}

.ls-hcard b {
    font-size: 15px;
    display: block;
    margin-bottom: 3px;
}

.ls-hcard small {
    color: #4b5a72;
}

/* промо-баннеры (штатный блок акций) */
.ls-hero .ls-slide {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: 18px;
    padding: 26px 28px;
    min-height: 145px;
    background: linear-gradient(115deg, #123a8f, #4f8ef7);
    background-size: cover !important;
    background-position: center !important;
    color: #fff;
    text-decoration: none;
    overflow: hidden;
}

.ls-hero .ls-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(9, 20, 46, .78), rgba(9, 20, 46, .28));
}

.ls-hero .ls-slide > * {
    position: relative;
    z-index: 1;
}

.ls-hero .ls-slide:first-child {
    grid-row: span 2;
    min-height: 230px;
}

.ls-hero .ls-slide h3 {
    font-size: 20px;
    line-height: 1.25;
    margin: 0 0 8px;
    color: #fff;
}

.ls-hero .ls-slide:first-child h3 {
    font-size: 28px;
}

.ls-hero .ls-slide p {
    margin: 0;
    opacity: .92;
    font-size: 13.5px;
    max-width: 520px;
}

/* заголовки секций */
.ls-sec {
    margin: 26px 0;
}

.ls-sechead {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin: 0 0 12px;
}

.ls-sechead h2 {
    font-size: 19px;
    letter-spacing: -.2px;
    margin: 0;
}

.ls-sechead a {
    color: var(--ls-blue);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

/* категории плиткой */
.ls-cats {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 10px;
}

.ls-cat-tile {
    background: #fff;
    border: 1px solid var(--ls-line);
    border-radius: 14px;
    padding: 14px 8px 12px;
    text-align: center;
    text-decoration: none;
    display: block;
    transition: border-color .15s, box-shadow .15s, transform .15s;
}

.ls-cat-tile:hover {
    border-color: #bcd0f5;
    box-shadow: 0 6px 18px rgba(37, 87, 214, .1);
    transform: translateY(-2px);
}

.ls-cat-em {
    width: 46px;
    height: 46px;
    margin: 0 auto 8px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    font-weight: 800;
    background: var(--ls-blue-l);
    color: var(--ls-blue);
    text-transform: uppercase;
}

.ls-cat-tile:nth-child(8n+2) .ls-cat-em { background: #fff3e6; color: #c2570c; }
.ls-cat-tile:nth-child(8n+3) .ls-cat-em { background: #e8f7ee; color: #14803c; }
.ls-cat-tile:nth-child(8n+4) .ls-cat-em { background: #fdeaea; color: #c02b2b; }
.ls-cat-tile:nth-child(8n+5) .ls-cat-em { background: #efeafd; color: #6d3fd6; }
.ls-cat-tile:nth-child(8n+6) .ls-cat-em { background: #e6f6fa; color: #0e7d99; }
.ls-cat-tile:nth-child(8n+7) .ls-cat-em { background: #fdf3e0; color: #a8730a; }
.ls-cat-tile:nth-child(8n+8) .ls-cat-em { background: #eaf0f9; color: #234b7d; }

.ls-cat-nm {
    font-size: 12px;
    color: #31405c;
    line-height: 1.25;
    display: block;
}

.ls-cat-tile small {
    display: block;
    color: #93a2ba;
    font-size: 10.5px;
    margin-top: 3px;
}

/* карточки товаров (оформление штатного списка list-thumbs.html) */
.ls-goods-sec ul.thumbs {
    --gap: 12px;
    gap: 14px 12px;
    margin-bottom: 0;
}

.ls-goods-sec ul.thumbs li {
    background: #fff;
    border: 1px solid var(--ls-line);
    border-radius: 16px;
    padding: 12px 12px 14px;
    transition: box-shadow .15s, transform .15s;
}

.ls-goods-sec ul.thumbs li:hover {
    box-shadow: 0 10px 26px rgba(15, 23, 40, .1);
    transform: translateY(-2px);
}

.ls-goods-sec ul.thumbs li .image {
    min-height: 140px;
    border-radius: 10px;
    background: #f7f9fd;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ls-goods-sec ul.thumbs li h5 {
    font-weight: 600;
    font-size: 13px;
    line-height: 1.35;
    margin: 8px 0 4px;
}

.ls-goods-sec ul.thumbs li .pricing .price {
    font-size: 16.5px;
    font-weight: 800;
}

.ls-goods-sec ul.thumbs li .compare-at-price {
    color: var(--ls-mut);
    text-decoration: line-through;
    font-size: 12px;
}

.ls-goods-sec ul.thumbs li .addtocart-btn,
.ls-goods-sec ul.thumbs li .gotocart-btn {
    background: var(--ls-blue);
    color: #fff;
    border-radius: 10px;
    font-weight: 700;
    font-size: 13px;
    padding: 10px;
}

.ls-goods-sec ul.thumbs li .addtocart-btn:hover,
.ls-goods-sec ul.thumbs li .gotocart-btn:hover {
    background: var(--ls-blue-d);
}

/* синяя CTA-полоса «Оптовикам» */
.ls-opt-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    border-radius: 18px;
    background: linear-gradient(115deg, #0e2a66, #1c4cae);
    color: #fff;
    padding: 24px 30px;
    margin: 26px 0;
}

.ls-opt-strip h3 {
    font-size: 19px;
    margin: 0 0 5px;
    color: #fff;
}

.ls-opt-strip p {
    opacity: .85;
    font-size: 13.5px;
    margin: 0;
}

.ls-btn {
    display: inline-block;
    background: #fff;
    color: var(--ls-blue) !important;
    font-weight: 800;
    padding: 12px 24px;
    border-radius: 11px;
    font-size: 14px;
    text-decoration: none;
    align-self: flex-start;
}

.ls-btn:hover {
    background: #e8efff;
}

.ls-opt-strip .ls-btn {
    background: var(--ls-orange);
    color: #fff !important;
    white-space: nowrap;
}

.ls-opt-strip .ls-btn:hover {
    background: #e5660c;
}

/* блог на главной */
.ls-sec .blog-posts {
    list-style: none;
    padding: 0;
}

/* приветственный блок (когда витрина ещё не наполнена) */
.ls-welcome {
    background: #fff;
    border: 1px dashed var(--ls-line);
    border-radius: var(--ls-r-lg);
    padding: 28px;
    text-align: center;
    color: var(--ls-mut);
    margin: 24px 0;
}

/* ---------- 4. Подвал ---------- */
footer.globalfooter {
    background: #0d1526;
    box-shadow: none;
    padding-top: 0;
    margin-top: 10px;
}

footer.globalfooter > .container {
    padding-top: 30px;
    padding-bottom: 0;
}

footer .appfooter {
    display: block;
    text-align: left;
    border-top: 0;
    margin-top: 0;
    padding: 0;
    color: #7d8aa3;
}

footer .appfooter .row {
    display: block;
}

footer .appfooter .poweredby {
    font-size: 11.5px;
    opacity: .55;
    margin: 6px 0 0;
    text-align: left;
    color: #7d8aa3;
}

footer .appfooter .poweredby a {
    color: #9fb0cc;
}

.ls-footer {
    color: #aebbd2;
    font-size: 13px;
}

.ls-footer-cols {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 26px;
    padding-bottom: 24px;
}

.ls-footer h4 {
    color: #fff;
    font-size: 13.5px;
    margin: 0 0 11px;
}

.ls-footer a {
    display: block;
    color: #aebbd2 !important;
    margin-bottom: 7px;
    text-decoration: none;
}

.ls-footer a:hover {
    color: #fff !important;
}

.ls-footer .ls-tel {
    color: #fff;
    font-weight: 800;
    font-size: 16px;
    display: block;
    margin-bottom: 4px;
}

.ls-footer .ls-fnote {
    color: #7d8aa3;
}

.ls-footer .ls-fcol-about p {
    margin: 0 0 10px;
    color: #aebbd2;
}

.ls-fbot {
    border-top: 1px solid rgba(255, 255, 255, .09);
    padding: 16px 0 22px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #7d8aa3;
    font-size: 12px;
    flex-wrap: wrap;
}

.ls-fbot a {
    display: inline;
    margin: 0;
    color: #aebbd2 !important;
}

.ls-fbot .copyright {
    font-size: 12px;
    color: #7d8aa3;
}

.ls-fbot .copyright a {
    color: #aebbd2 !important;
}

.ls-fbot .currency-toggle {
    display: none;
}

/* ---------- 5. Адаптив ---------- */
@media (max-width: 1100px) {
    .ls-cats { grid-template-columns: repeat(4, 1fr); }
    .ls-footer-cols { grid-template-columns: 1fr 1fr; }
    #globalnav ul.apps { display: none; }
}

@media (max-width: 820px) {
    .ls-hero { grid-template-columns: 1fr; }
    .ls-hero .ls-slide:first-child { grid-row: auto; }
    .ls-trust { grid-template-columns: repeat(2, 1fr); }
    .ls-search .search-wrapper { max-width: none; }
}

@media (max-width: 640px) {
    .ls-cats { grid-template-columns: repeat(2, 1fr); }
    .ls-menu {
        overflow-x: auto;
        flex-wrap: nowrap;
        scrollbar-width: none;
        padding-bottom: 8px;
    }
    .ls-menu::-webkit-scrollbar { display: none; }
    .ls-footer-cols { grid-template-columns: 1fr; }
    .ls-hero-main { padding: 26px 20px; }
    .ls-hero-main h1 { font-size: 24px; }
}

/* ============================================================
   ПРАВКИ после первого ревью (01.10)
   ============================================================ */

/* 1. Меню приложений сайта («Shop-Script | Блог») в шапке не нужно */
#globalnav ul.apps { display: none !important; }

/* 2. Куки-плашка: аккуратная карточка по центру внизу */
#cookie-agreement {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%);
    width: auto !important;
    max-width: min(640px, calc(100% - 32px)) !important;
    background: #fff;
    border: 1px solid var(--ls-line);
    border-radius: 14px;
    box-shadow: 0 12px 34px rgba(15, 23, 40, .16);
    overflow: hidden;
    bottom: 16px !important;
}
#cookie-agreement .text-gray { color: var(--ls-mut); font-size: 12.5px; line-height: 1.45; }
#cookie-agreement .text-gray a { color: var(--ls-blue); }
#cookie-agreement button.button {
    border: 0;
    background: var(--ls-blue);
    color: #fff;
    border-radius: 9px;
    font-weight: 700;
    font-size: 12.5px;
    padding: 8px 16px;
    cursor: pointer;
}
#cookie-agreement button.button:hover { background: var(--ls-blue-d); }

/* 3. Футер: запас снизу, чтобы плашка не закрывала копирайт */
.ls-footer { padding-bottom: 96px; }

/* 4. Иконки в шапке и поиске */
.ls-hicon svg,
.ls-search .search-wrapper button svg { display: block; }
