
      * { box-sizing: border-box; margin: 0; padding: 0; }
      body { font-family: Inter, Arial, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; background: #F6F6F5; color: #1B1D21; }
      a { text-decoration: none; color: inherit; }

      /* Header */
      .hdr-root { background: #016AA9; position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 8px rgba(0,108,171,0.25); }
      .hdr-inner { max-width: 1840px; margin: 0 auto; padding: 0 24px 0 44px; display: flex; align-items: center; gap: 30px; height: 64px; }
      .hdr-burger { display: flex; flex-direction: column; gap: 4px; cursor: pointer; padding: 8px; flex-shrink: 0; }
      .hdr-burger span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; }
      .hdr-logo { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 180px; }
      .hdr-cat-wrap { position: relative; flex-shrink: 0; }
      /* Невидимий міст від кнопки "Каталог" до меню — щоб hover не зривався при перетині візуального зазору. */
      .hdr-cat-wrap::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
      .hdr-cat { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.14); color: #fff; border-radius: 10px; padding: 0 18px; height: 40px; font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; font-family: inherit; transition: all 0.15s; }
      .hdr-cat:hover, .hdr-cat-wrap:hover .hdr-cat { background: rgba(255,255,255,0.22); }
      .hdr-cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; width: 16px; height: 16px; }
      .hdr-cat-grid span { background: #fff; border-radius: 1px; }
      .hdr-search { flex: 1; display: flex; align-items: center; background: #fff; border-radius: 10px; overflow: hidden; height: 40px; }
      .hdr-search input { flex: 1; border: none; outline: none; padding: 0 14px; font-size: 14px; color: #333; font-family: inherit; height: 100%; background: transparent; }
      .hdr-search input::placeholder { color: #aaa; }
      .hdr-search-mic { background: none; border: none; padding: 0 10px; cursor: pointer; color: #999; display: flex; align-items: center; transition: color 0.15s; }
      .hdr-search-mic:hover { color: #555; }
      .hdr-search-btn { background: #FFD81F; color: #1a1a1a; border: none; padding: 0 22px; height: 32px; margin: 4px; border-radius: 8px; font-size: 14px; font-weight: 700; cursor: pointer; font-family: inherit; white-space: nowrap; transition: background 0.15s; }
      .hdr-search-btn:hover { background: #EAC400; }
      .hdr-search-wrap { flex: 1; position: relative; }
      .hdr-search-wrap .hdr-search { width: 100%; }
      .hdr-search-dd { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: #fff; border-radius: 8px; box-shadow: 0 8px 32px rgba(0,0,0,0.18); border: 1px solid #e5e7eb; z-index: 80; max-height: 70vh; overflow-y: auto; }
      .hdr-search-backdrop { display: none; }
      /* Layout сторінки /shop/search: сайдбар категорій + сітка товарів.
         На мобільному — стек 1-кол з прихованим сайдбаром. */
      .search-layout { display: grid; grid-template-columns: 240px 1fr; gap: 20px; }
      @media (max-width: 880px) {
        .search-layout { grid-template-columns: 1fr; gap: 16px; }
        .search-layout > aside { order: 2; }
      }
      @media (max-width: 900px) {
        .search-layout > aside { display: none; }
      }
      .hdr-search-empty { padding: 16px; color: #888; font-size: 13px; text-align: center; }
      .hdr-search-section { padding: 10px 14px 4px; font-size: 11px; font-weight: 700; color: #888; letter-spacing: 0.4px; text-transform: uppercase; }
      .hdr-search-cat { display: flex; align-items: baseline; gap: 6px; padding: 8px 14px; text-decoration: none; color: #1a1a1a; font-size: 14px; border-bottom: 1px solid #f3f4f6; }
      .hdr-search-cat:hover { background: #F5F6F3; }
      .hdr-search-cat-q { color: #1a1a1a; }
      .hdr-search-cat-in { color: #888; font-size: 12px; }
      .hdr-search-cat-name { color: #016AA9; font-weight: 600; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
      .hdr-search-cat-count { color: #aaa; font-size: 11px; flex-shrink: 0; }
      .hdr-search-item { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-bottom: 1px solid #f3f4f6; text-decoration: none; color: #1a1a1a; cursor: pointer; }
      .hdr-search-item:last-of-type { border-bottom: none; }
      .hdr-search-item.is-active, .hdr-search-item:hover { background: #F5F6F3; }
      .hdr-search-thumb { width: 44px; height: 44px; flex-shrink: 0; background: #f3f4f6; border-radius: 6px; display: flex; align-items: center; justify-content: center; color: #bbb; font-size: 22px; overflow: hidden; }
      .hdr-search-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 2px; }
      .hdr-search-meta { flex: 1; min-width: 0; }
      .hdr-search-title { font-size: 13px; line-height: 1.3; color: #1a1a1a; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
      .hdr-search-sub { font-size: 11px; color: #888; margin-top: 2px; }
      .hdr-search-price { font-size: 13px; font-weight: 700; color: #1a1a1a; flex-shrink: 0; padding-left: 8px; }
      .hdr-search-all { display: block; width: 100%; padding: 10px 12px; background: #F5F6F3; border: none; border-top: 1px solid #e5e7eb; color: #016AA9; font-size: 13px; font-weight: 600; cursor: pointer; text-align: center; font-family: inherit; }
      .hdr-search-all:hover { background: #eef3f8; }
      .hdr-icons { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
      .hdr-icon { display: flex; flex-direction: column; align-items: center; gap: 2px; cursor: pointer; padding: 6px 10px; border-radius: 8px; transition: background 0.15s; color: #fff; position: relative; }
      .hdr-icon:hover { background: rgba(255,255,255,0.1); }
      .hdr-icon.active { background: rgba(255,255,255,0.18); }
      .hdr-icon.active .hdr-icon-label { color: #fff; }
      .hdr-icon-label { font-size: 11.5px; color: #E4EEF8; font-weight: 500; }
      .hdr-icon-badge { position: absolute; top: 2px; right: 4px; background: #FFD81F; color: #1a1a1a; font-size: 10px; font-weight: 700; min-width: 16px; height: 16px; border-radius: 8px; display: flex; align-items: center; justify-content: center; padding: 0 4px; }
      .hdr-icon-portal { padding-left: 12px; padding-right: 12px; background: rgba(0,108,171,0.18); border: 1px solid rgba(0,108,171,0.4); }
      .hdr-staff-block { display: flex; align-items: center; gap: 4px; margin-left: 8px; padding: 4px 6px; border-radius: 10px; background: rgba(0,108,171,0.10); border: 1px solid rgba(0,108,171,0.20); }
      .hdr-icon-portal:hover { background: rgba(0,108,171,0.32); }
      .hdr-icon-portal .hdr-icon-label { color: rgba(255,255,255,0.85); }

      /* Megamenu */
      .megamenu { position: absolute; top: calc(100% + 6px); left: 0; width: 880px; max-width: calc(100vw - 40px); background: #fff; border-radius: 10px; box-shadow: 0 12px 40px rgba(0,0,0,0.18); display: none; overflow: hidden; z-index: 30; }
      .hdr-cat-wrap:hover .megamenu, .megamenu:hover { display: grid; grid-template-columns: 280px 1fr; }
      .megamenu-list { background: #F5F6F3; border-right: 1px solid #E5E4DF; padding: 10px 0; max-height: 480px; overflow-y: auto; }
      .megamenu-list a { display: flex; align-items: center; gap: 10px; padding: 10px 18px; font-size: 13px; font-weight: 600; color: #333; transition: all 0.15s; }
      .megamenu-list a:hover, .megamenu-list a.active { background: #fff; color: #016AA9; box-shadow: inset 3px 0 0 #016AA9; }
      .megamenu-list a .ico { font-size: 18px; }
      .megamenu-list a .ico.ico-img { width: 22px; height: 22px; object-fit: contain; border-radius: 3px; background: #fafafa; }
      .megamenu-subgrid a .ico.ico-img { width: 18px; height: 18px; object-fit: contain; border-radius: 3px; background: #fafafa; }
      .megamenu-panel { padding: 22px 24px; max-height: 480px; overflow-y: auto; }
      .megamenu-panel h4 { font-size: 12px; font-weight: 700; color: #999; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
      .megamenu-subgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
      .megamenu-subgrid a { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #333; padding: 7px 0; border-bottom: 1px dashed #f0f0f0; transition: color 0.15s; }
      .megamenu-subgrid a:hover { color: #016AA9; }
      .megamenu-subgrid a .ico { font-size: 14px; }
      .megamenu-allcat { display: inline-flex; margin-top: 14px; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: #016AA9; }

      /* Topnav */
      .topnav { background: #fff; border-bottom: 1px solid #E5E4DF; position: relative; z-index: 40; }
      .topnav-inner { max-width: 1840px; margin: 0 auto; padding: 0 36px; display: flex; gap: 28px; overflow-x: visible; scrollbar-width: none; }
      .topnav-inner::-webkit-scrollbar { display: none; }
      .topnav-item { position: relative; }
      .topnav-item > a { display: flex; align-items: center; gap: 8px; padding: 13px 12px; font-size: 15px; font-weight: 600; color: #2B2E33; white-space: nowrap; border-bottom: 2px solid transparent; transition: all 0.15s; }
      .topnav-item > a:hover, .topnav-item > a.active { color: #016AA9; border-bottom-color: #016AA9; }
      .topnav-item > a .ico { font-size: 16px; }
      .topnav-item::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 8px; }
      .topnav-mm {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        width: min(960px, calc(100vw - 72px));
        max-height: calc(100vh - 140px);
        overflow-y: auto;
        background: #fff;
        border: 1px solid #E5E4DF;
        border-radius: 10px;
        box-shadow: 0 12px 40px rgba(0,0,0,0.14);
        padding: 18px 22px;
        z-index: 50;
      }
      .topnav-item:hover .topnav-mm,
      .topnav-mm:hover,
      .topnav-mm:focus-within { display: block; }
      .topnav-mm-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid #f0f0f0; }
      .topnav-mm-title { font-size: 16px; font-weight: 700; color: #1a1a1a; display: flex; align-items: baseline; gap: 8px; }
      .topnav-mm-title span { font-size: 12px; color: #888; font-weight: 400; }
      .topnav-mm-all { margin-left: auto; font-size: 13px; color: #016AA9; font-weight: 600; }
      .topnav-mm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px 22px; }
      .topnav-mm-col { min-width: 0; }
      .topnav-mm-childh { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding-bottom: 6px; border-bottom: 1px dashed #eee; margin-bottom: 6px; color: #1a1a1a; font-weight: 600; font-size: 13px; }
      .topnav-mm-childh span { flex: 1; line-height: 1.3; }
      .topnav-mm-childh em { font-style: normal; color: #aaa; font-size: 11px; font-weight: 400; flex-shrink: 0; }
      .topnav-mm-col ul { list-style: none; padding: 0; margin: 0; }
      .topnav-mm-col li { padding: 3px 0; }
      .topnav-mm-col li a { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; color: #444; font-size: 12px; padding: 2px 0; }
      .topnav-mm-col li a:hover { color: #016AA9; }
      .topnav-mm-col li a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; min-width: 0; }
      .topnav-mm-col li a em { font-style: normal; color: #bbb; font-size: 11px; flex-shrink: 0; }
      .topnav-mm-col li a.more { color: #016AA9; font-weight: 600; }

      /* Layout */
      .container { max-width: 1840px; margin: 0 auto; padding: 24px 36px; }
      .pdp2-bg .container { padding-top: 10px; }
      .crumbs { font-size: 13.5px; color: #9AA0A8; margin: 6px 0; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; line-height: 1.4; }
      .crumbs a { color: #9AA0A8; text-decoration: none; display: inline-flex; align-items: center; transition: color 0.12s; }
      .crumbs a:hover { color: #016AA9; }
      .crumbs-sep { color: #C8CDD5; margin: 0 2px; font-size: 15px; }

      .section-h { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; gap: 12px; flex-wrap: wrap; }
      .section-h h2 { font-size: 20px; font-weight: 700; color: #1a1a1a; letter-spacing: -0.2px; }
      .section-h a { font-size: 13px; color: #016AA9; font-weight: 600; }
      .section-h a:hover { text-decoration: underline; }
      .section { margin-top: 28px; }

      h1.page-h1 { font-size: 28px; font-weight: 800; color: #1a1a1a; letter-spacing: -0.4px; margin-bottom: 6px; }
      .page-lead { font-size: 14px; color: #777; line-height: 1.6; max-width: 720px; }

      /* Hero */
      .hero { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; }
      @media (max-width: 880px) { .hero { grid-template-columns: 1fr; } }
      .hero-main { background: linear-gradient(135deg, #016AA9 0%, #00497a 100%); color: #fff; border-radius: 12px; padding: 36px 40px; position: relative; overflow: hidden; min-height: 240px; display: flex; flex-direction: column; justify-content: center; }
      .hero-main::after { content: ''; position: absolute; right: -40px; top: -40px; width: 320px; height: 320px; background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%); }
      .hero-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; opacity: 0.8; text-transform: uppercase; margin-bottom: 10px; }
      .hero-title { font-size: 34px; font-weight: 800; line-height: 1.15; letter-spacing: -0.5px; margin-bottom: 12px; max-width: 520px; }
      .hero-sub { font-size: 15px; opacity: 0.9; max-width: 520px; line-height: 1.5; margin-bottom: 22px; }
      .hero-cta { display: inline-flex; align-items: center; gap: 8px; background: #FFD81F; color: #1a1a1a; font-size: 14px; font-weight: 700; padding: 12px 22px; border-radius: 8px; align-self: flex-start; transition: background 0.15s; }
      .hero-cta:hover { background: #EAC400; }
      .hero-side { background: #fff; border-radius: 12px; padding: 22px; border: 1px solid #E5E4DF; display: flex; flex-direction: column; }
      .hero-side h3 { font-size: 16px; font-weight: 700; color: #1a1a1a; margin-bottom: 4px; }
      .hero-side p { font-size: 12px; color: #888; margin-bottom: 14px; }
      .calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
      .calc-item { background: #F5F6F3; border: 1px solid #E5E4DF; border-radius: 8px; padding: 10px; cursor: pointer; transition: all 0.15s; }
      .calc-item:hover { border-color: #016AA9; background: #fff; }
      .calc-item .ico { font-size: 22px; margin-bottom: 4px; }
      .calc-item .nm { font-size: 12px; font-weight: 700; color: #1a1a1a; }
      .calc-item .ds { font-size: 10px; color: #888; margin-top: 1px; }

      /* Category tiles */
      .tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
      @media (max-width: 880px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
      .tile { background: #fff; border: 1px solid #E5E4DF; border-radius: 10px; padding: 18px; display: flex; align-items: center; gap: 14px; transition: all 0.15s; cursor: pointer; }
      .tile:hover { border-color: #016AA9; box-shadow: 0 4px 16px rgba(0,108,171,0.08); transform: translateY(-1px); }
      .tile .ico { font-size: 32px; line-height: 1; flex-shrink: 0; width: 52px; height: 52px; background: #F1F4F7; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
      .tile .nm { font-size: 14px; font-weight: 700; color: #1a1a1a; line-height: 1.3; }
      .tile .ar { font-size: 11px; color: #016AA9; font-weight: 600; margin-top: 4px; }
      .tile .cnt { font-size: 11px; color: #999; margin-top: 2px; }
      .tile--soon { cursor: default; }
      .tile--soon:hover { transform: none; box-shadow: none; border-color: #E5E4DF; }
      .tile-soon { display: inline-flex; align-items: center; font-size: 10px !important; font-weight: 700 !important; color: #b45309 !important; background: #fef3c7; padding: 2px 8px; border-radius: 100px; text-transform: uppercase; letter-spacing: 0.04em; }

      .subtiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
      @media (max-width: 880px) { .subtiles { grid-template-columns: repeat(2, 1fr); } }
      .subtile { background: #fff; border: 1px solid #E5E4DF; border-radius: 8px; padding: 14px 16px; display: flex; align-items: center; gap: 12px; transition: all 0.15s; }
      .subtile:hover { border-color: #016AA9; background: #f7fbfd; }
      .subtile .ico { font-size: 22px; flex-shrink: 0; }
      .subtile .nm { font-size: 13px; font-weight: 600; color: #1a1a1a; }
      .subtile .cnt { font-size: 11px; color: #999; margin-top: 2px; }

      /* Product cards */
      .products { display: grid; gap: 16px; grid-template-columns: repeat(4, 1fr); }
      .products.products-compact { grid-template-columns: repeat(5, 1fr); gap: 12px; }
      @media (max-width: 1500px) { .products, .products.products-compact { grid-template-columns: repeat(3, 1fr); } }
      @media (max-width: 1100px) { .products, .products.products-compact { grid-template-columns: repeat(2, 1fr); } }
      @media (max-width: 600px)  { .products, .products.products-compact { grid-template-columns: 1fr; } }
      /* Картка 2026 v2: сірий фон фото, повна ширина дій */
      .pcard { background: #fff; border: 1px solid #EAEAE7; border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow 0.15s, border-color 0.15s; position: relative; cursor: pointer; }
      .pcard:hover { border-color: #DCDCD7; box-shadow: 0 10px 26px rgba(20,40,70,.08); }
      /* Фото-блок: сірий фон, position:relative для бейджів і вішліста */
      .pcard-img { position: relative; height: 210px; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; }
      .pcard-img img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
      .pcard-emoji { font-size: 64px; line-height: 1; }
      /* Бейдж знижки (SHOP_SALE червоний) або хіта/новинки (жовтий SHOP_ACCENT) */
      .pcard-badge { position: absolute; top: 12px; left: 12px; font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 7px; line-height: 1; letter-spacing: 0.2px; }
      .pcard-badge--sale { background: #B14A4A; color: #fff; }
      .pcard-badge--hit  { background: #FFD81F; color: #1B1D21; }
      /* Вішліст — кружок у правому верхньому куті фото */
      .pcard-fav { position: absolute; top: 10px; right: 10px; }
      /* Тіло картки */
      .pcard-body { padding: 12px 14px 14px; display: flex; flex-direction: column; flex: 1; }
      /* Рейтинг + артикул в один рядок */
      .pcard-meta-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; min-height: 18px; }
      .pcard-sku { font-size: 11px; color: #9AA0A8; white-space: nowrap; margin-left: 6px; }
      .pcard-rating { display: flex; align-items: center; gap: 4px; }
      .pcard-rating-stars { display: flex; gap: 1px; line-height: 0; }
      .pcard-rating-count { font-size: 11px; color: #888; }
      .pcard-title-link { color: inherit; display: block; }
      .pcard-title { font-size: 13.5px; font-weight: 600; color: #1B1D21; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 55px; margin-bottom: 8px; }
      /* Блок «ціна → дії» стопкою (column) */
      .pcard-price-buy { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }
      .pcard-prices { display: flex; flex-direction: column; gap: 2px; }
      .pcard-price-row { display: flex; align-items: baseline; gap: 6px; font-size: 12px; }
      .pcard-price-row .lbl { color: #888; font-size: 11px; }
      .pcard-price-row .val { color: #1B1D21; font-weight: 700; }
      .pcard-price-row.main .val { font-size: 22px; font-weight: 800; letter-spacing: -0.4px; color: #1B1D21; }
      /* Дії: степпер + жовта кнопка на повну ширину в одному рядку */
      .pcard-actions { display: flex; flex-direction: row; align-items: center; gap: 8px; width: 100%; }
      .pcard-qty { display: flex; align-items: center; border: 1px solid #E2E2DE; border-radius: 8px; height: 42px; background: #fff; flex: 1; }
      .pcard-qty button { background: none; border: none; width: 32px; height: 100%; cursor: pointer; color: #555; font-size: 18px; font-family: inherit; }
      .pcard-qty button:hover { color: #016AA9; }
      .pcard-qty input { flex: 1; min-width: 0; border: none; outline: none; text-align: center; font-size: 14px; font-weight: 700; color: #1a1a1a; font-family: inherit; background: transparent; }
      /* Кнопка «У кошик»: жовта, квадратна */
      .pcard-buy { flex: none !important; background: #FFD81F; color: #1a1a1a; border: none; border-radius: 10px; width: 42px; height: 42px; cursor: pointer; font-family: inherit; transition: background 0.15s; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
      .pcard-buy:hover { background: #EAC400; }
      .pcard-buy.is-incart { background: #3D9A57 !important; color: #fff !important; }
      .pcard-buy.is-incart:hover { background: #2f7a45 !important; }
      /* Іконку кошика завжди показуємо на картках, текст ховаємо */
      .pcard-buy svg { display: inline-block !important; width: 20px; height: 20px; }
      .pcard-buy .ac-cart-label { display: none !important; }
      /* Рядок наявності */
      .pcard-stock-row { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 12px; font-weight: 600; }
      .pcard-stock-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; display: inline-block; }
      /* Швидкі характеристики — видно тільки в режимі список */
      .pcard-list-specs { display: none; }
      .pcard-lspec-row { display: flex; gap: 5px; font-size: 12px; line-height: 1.45; }
      .pcard-lspec-k { color: #888; white-space: nowrap; }
      .pcard-lspec-v { color: #1B1D21; font-weight: 500; }
      /* PDP-кнопка показує і SVG і текст */
      .pdp-buy svg { display: inline !important; }
      .pdp-buy .ac-cart-label { display: inline !important; }

      /* Stores map */
      /* isolation створює окремий stacking context — щоб Leaflet (маркери
         z-index 600, попапи 700) не вилазили над хедером (z-index 50). */
      .stores-map-wrap { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; background: #fff; border: 1px solid #E5E4DF; border-radius: 12px; overflow: hidden; isolation: isolate; }
      @media (max-width: 880px) { .stores-map-wrap { grid-template-columns: 1fr; } }
      .stores-map { width: 100%; height: 420px; background: #eef2f5; position: relative; z-index: 0; }
      @media (max-width: 880px) { .stores-map { height: 300px; } }
      .stores-list { list-style: none; padding: 14px; max-height: 420px; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; }
      @media (max-width: 880px) { .stores-list { max-height: none; } }
      .stores-list li { padding: 10px 12px; border: 1px solid #E5E4DF; border-radius: 8px; border-left: 3px solid #016AA9; transition: all 0.15s; display: flex; align-items: center; gap: 10px; cursor: pointer; }
      .stores-list li:hover { background: #F5F6F3; }
      .stores-list li:focus-visible { outline: 2px solid #016AA9; outline-offset: 1px; }
      .stores-list li.is-selected { background: rgba(0,108,171,0.06); border-color: #016AA9; box-shadow: 0 2px 10px rgba(0,108,171,0.12); }
      .stores-list li.is-furniture { border-left-color: #FFD81F; }
      .stores-list li.is-furniture.is-selected { background: rgba(254,212,25,0.06); border-color: #FFD81F; box-shadow: 0 2px 10px rgba(254,212,25,0.15); }
      .stores-list-info { flex: 1; min-width: 0; }
      .stores-list-name { font-size: 13px; font-weight: 700; color: #1a1a1a; }
      .stores-list-addr { font-size: 12px; color: #777; margin-top: 2px; line-height: 1.4; }
      .stores-list-route { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: #016AA9; color: #fff; transition: all 0.15s; }
      .stores-list-route:hover { background: #015B92; transform: translateY(-1px); box-shadow: 0 4px 10px rgba(0,108,171,0.25); }
      .stores-list li.is-furniture .stores-list-route { background: #FFD81F; }
      .stores-list li.is-furniture .stores-list-route:hover { background: #EAC400; box-shadow: 0 4px 10px rgba(254,212,25,0.3); }

      /* Stores detail panel */
      .stores-detail { grid-column: 1 / -1; padding: 18px 20px 20px; border-top: 1px solid #eef0f3; background: #fafbfc; }
      .stores-detail-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 14px; flex-wrap: wrap; }
      .stores-detail-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #016AA9; margin-bottom: 4px; }
      .stores-detail.is-furniture .stores-detail-eyebrow { color: #FFD81F; }
      .stores-detail-name { font-size: 18px; font-weight: 700; color: #1a1a1a; letter-spacing: -0.2px; margin-bottom: 4px; }
      .stores-detail-addr { font-size: 13px; color: #6b7280; }
      .stores-detail-cta { display: inline-flex; align-items: center; gap: 6px; background: #016AA9; color: #fff; font-size: 13px; font-weight: 600; padding: 9px 16px; border-radius: 8px; transition: background 0.15s; flex-shrink: 0; }
      .stores-detail-cta:hover { background: #015B92; }
      .stores-detail.is-furniture .stores-detail-cta { background: #FFD81F; }
      .stores-detail.is-furniture .stores-detail-cta:hover { background: #EAC400; }
      .stores-detail-grid { display: grid; grid-template-columns: 220px 1fr; gap: 18px; }
      @media (max-width: 900px) {
        /* Тільки html — не body: overflow-x:hidden на body ламає position:fixed на iOS Safari */
        html { overflow-x: hidden; max-width: 100vw; }
        body { max-width: 100vw; }
        .container, .home-with-sidebar, .home-main {
          max-width: 100vw !important;
          padding-left: 12px !important; padding-right: 12px !important;
        }
         .stores-detail-grid { grid-template-columns: 1fr; } }
      .stores-detail-block { background: #fff; border: 1px solid #eef0f3; border-radius: 10px; padding: 14px 16px; }
      .stores-detail-label { font-size: 11px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; color: #94a3b8; margin-bottom: 8px; }
      .stores-hours { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
      .stores-hours li { font-size: 13px; color: #1a1a1a; font-variant-numeric: tabular-nums; }
      .stores-detail-phone { font-size: 14px; font-weight: 600; color: #016AA9; }
      .stores-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
      .stores-photo { display: block; position: relative; padding-top: 75%; overflow: hidden; border-radius: 8px; background: #eef2f5; }
      .stores-photo img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.2s; }
      .stores-photo:hover img { transform: scale(1.05); }
      .stores-photo-empty { position: relative; padding-top: 75%; border-radius: 8px; background: repeating-linear-gradient(45deg, #f1f5f9, #f1f5f9 10px, #e9eef3 10px, #e9eef3 20px); }
      .stores-photo-empty > svg { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: #cbd5e1; }
      .stores-photos-hint { font-size: 12px; color: #94a3b8; margin-top: 8px; }
      .stores-detail-note { margin-top: 10px; font-size: 12px; color: #94a3b8; }

      .leaflet-popup-content { margin: 10px 12px; }
      .leaflet-container { font-family: Inter, Arial, sans-serif; }

      /* USP strip */
      .usps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; background: #fff; border: 1px solid #E5E4DF; border-radius: 10px; padding: 22px; }
      @media (max-width: 880px) { .usps { grid-template-columns: repeat(2, 1fr); } }
      .usp { display: flex; gap: 12px; align-items: flex-start; }
      .usp .ico { font-size: 28px; line-height: 1; flex-shrink: 0; }
      .usp .nm { font-size: 13px; font-weight: 700; color: #1a1a1a; margin-bottom: 2px; }
      .usp .ds { font-size: 12px; color: #777; line-height: 1.45; }

      /* Quick order */
      .quickorder { background: #fff; border: 1px solid #E5E4DF; border-radius: 10px; padding: 22px; display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; }
      @media (max-width: 880px) { .quickorder { grid-template-columns: 1fr; } }
      .quickorder h3 { font-size: 18px; font-weight: 700; color: #1a1a1a; margin-bottom: 4px; }
      .quickorder p { font-size: 13px; color: #777; line-height: 1.5; }
      .quickorder .acts { display: flex; gap: 8px; }
      .qo-btn { display: inline-flex; align-items: center; gap: 6px; background: #016AA9; color: #fff; font-size: 13px; font-weight: 700; padding: 11px 20px; border-radius: 8px; border: none; cursor: pointer; font-family: inherit; transition: background 0.15s; }
      .qo-btn:hover { background: #015B92; }
      .qo-btn.ghost { background: transparent; color: #016AA9; border: 1.5px solid #016AA9; padding: 9.5px 18px; }
      .qo-btn.ghost:hover { background: #f0f7fc; }

      /* Price double-range slider (used in CategoryFilters) */
      .ps-track { position: relative; height: 32px; }
      .ps-track::before { content: ''; position: absolute; left: 0; right: 0; top: 15px; height: 3px; background: #E5E4DF; border-radius: 2px; }
      .ps-fill { position: absolute; top: 15px; height: 3px; background: #016AA9; border-radius: 2px; pointer-events: none; }
      .ps-range { position: absolute; top: 0; left: 0; right: 0; width: 100%; height: 32px; background: transparent; appearance: none; -webkit-appearance: none; pointer-events: none; }
      .ps-range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2.5px solid #016AA9; cursor: pointer; pointer-events: auto; box-shadow: 0 1px 4px rgba(0,0,0,.1); }
      .ps-range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2.5px solid #016AA9; cursor: pointer; pointer-events: auto; box-shadow: 0 1px 4px rgba(0,0,0,.1); }
      .ps-range::-webkit-slider-runnable-track { background: transparent; }
      .ps-range::-moz-range-track { background: transparent; }
      .ps-range-hi { z-index: 2; }
      .ps-range-lo { z-index: 1; }

      /* Catalog layout (sidebar + grid) */
      .catalog { display: grid; grid-template-columns: 268px 1fr; gap: 24px; align-items: start; }
      @media (max-width: 880px) { .catalog { grid-template-columns: 1fr; } }
      .sidenav { background: #fff; border: 1px solid #EAEAE7; border-radius: 16px; padding: 8px 0; position: sticky; top: 76px; }
      .sidenav h4 { font-size: 11px; color: #999; text-transform: uppercase; letter-spacing: 1px; padding: 12px 20px 8px; font-weight: 700; }
      .sidenav a { display: flex; align-items: center; gap: 10px; padding: 9px 20px; font-size: 13px; color: #333; transition: all 0.15s; }
      .sidenav a:hover { background: #F5F6F3; color: #016AA9; }
      .sidenav a.active { background: #F1F4F7; color: #016AA9; font-weight: 700; box-shadow: inset 3px 0 0 #016AA9; }
      .sidenav a .ico { font-size: 15px; flex-shrink: 0; }
      .sidenav a .cnt { margin-left: auto; font-size: 11px; color: #aaa; }

      /* Тулбар (CatalogClient) та catalog-toolbar (CatalogToolbar) однаковий стиль макета */
      .toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 16px; background: #fff; border: 1px solid #EAEAE7; border-radius: 13px; margin-bottom: 16px; flex-wrap: wrap; }
      .toolbar-left { display: flex; align-items: center; gap: 10px; }
      .toolbar-right { display: flex; align-items: center; gap: 8px; }
      .toolbar-info { font-size: 13px; color: #9AA0A8; }
      .toolbar-info b { color: #1a1a1a; }
      .toolbar-controls { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
      .toolbar select { font-family: inherit; font-size: 13px; padding: 8px 12px; border: 1px solid #ddd; border-radius: 6px; background: #fff; color: #333; cursor: pointer; }
      .toolbar-sort-label { font-size: 13px; color: #6A6F78; white-space: nowrap; }
      /* Тулбар серверного каталогу (CatalogToolbar.tsx) */
      .catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 16px; background: #fff; border: 1px solid #EAEAE7; border-radius: 13px; margin-bottom: 16px; flex-wrap: wrap; }
      .catalog-toolbar-left { display: flex; align-items: center; gap: 10px; }
      .catalog-toolbar-right { display: flex; align-items: center; gap: 8px; }
      .catalog-toolbar-count { font-size: 13px; color: #9AA0A8; white-space: nowrap; }

      /* Sort dropdown */
      .sort-dd { position: relative; display: inline-block; }
      .sort-dd-btn { display: inline-flex; align-items: center; gap: 10px; min-width: 220px; background: #fff; border: 1px solid #e0e0e0; border-radius: 10px; padding: 10px 14px; font-size: 13px; font-weight: 600; color: #1a1a1a; font-family: inherit; cursor: pointer; transition: all 0.15s; }
      .sort-dd-btn:hover { border-color: #c0c0c0; }
      .sort-dd-btn.open { border-color: #016AA9; box-shadow: 0 0 0 3px rgba(0,108,171,0.12); }
      .sort-dd-btn .sort-dd-lbl { flex: 1; text-align: left; line-height: 1.2; }
      .sort-dd-arrow { color: #999; transition: transform 0.15s; flex-shrink: 0; }
      .sort-dd-btn.open .sort-dd-arrow { transform: rotate(180deg); color: #016AA9; }
      .sort-dd-ico { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; font-size: 13px; flex-shrink: 0; color: #555; }

      .sort-dd-menu { position: absolute; top: calc(100% + 6px); right: 0; background: #fff; border: 1px solid #e0e0e0; border-radius: 10px; box-shadow: 0 12px 32px rgba(0,0,0,0.10); padding: 6px; min-width: 280px; z-index: 30; animation: sort-dd-fade 0.14s ease-out; }
      @keyframes sort-dd-fade { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
      .sort-dd-item { width: 100%; display: flex; align-items: center; gap: 12px; padding: 9px 12px; font-size: 13px; color: #333; background: none; border: none; border-radius: 7px; cursor: pointer; font-family: inherit; transition: background 0.1s; text-align: left; }
      .sort-dd-item:hover { background: #f5f7fa; }
      .sort-dd-item.active { background: rgba(0,108,171,0.08); color: #016AA9; }
      .sort-dd-item.active .sort-dd-ico { color: #016AA9; }
      .sort-dd-item .sort-dd-lbl { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
      .sort-dd-item .sort-dd-name { font-weight: 600; line-height: 1.2; }
      .sort-dd-item.active .sort-dd-name { font-weight: 700; }
      .sort-dd-sub { font-size: 11px; color: #999; font-weight: 400; line-height: 1.2; }
      .sort-dd-item.active .sort-dd-sub { color: #016AA9; opacity: 0.7; }
      .sort-dd-check { color: #016AA9; flex-shrink: 0; }

      /* View toggle */
      .view-toggle { display: inline-flex; background: #fff; border: 1px solid #E2E2DE; border-radius: 10px; padding: 4px; gap: 2px; }
      .view-toggle button { background: none; border: none; width: 34px; height: 34px; cursor: pointer; color: #999; border-radius: 7px; font-family: inherit; transition: all 0.12s; display: inline-flex; align-items: center; justify-content: center; }
      .view-toggle button:hover { color: #333; background: #F2F2EF; }
      .view-toggle button.active { background: #016AA9; color: #fff; box-shadow: 0 1px 3px rgba(0,108,171,0.25); }
      .view-toggle button.active:hover { background: #015B92; color: #fff; }

      /* Product detail */
      .pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; }
      @media (max-width: 880px) { .pdp { grid-template-columns: 1fr; } }
      .pdp-gallery { background: #fff; border: 1px solid #E5E4DF; border-radius: 12px; padding: 24px; }
      .pdp-img-main { position: relative; background: #F1F4F7; border-radius: 8px; aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; overflow: hidden; animation: pdp-img-fade 0.25s ease-out; }
      @keyframes pdp-img-fade { from { opacity: 0; transform: scale(0.97); } to { opacity: 1; transform: scale(1); } }
      .pdp-img-emoji { font-size: 180px; line-height: 1; }
      .pdp-img-tag { position: absolute; bottom: 12px; left: 12px; background: rgba(26,26,26,0.75); color: #fff; font-size: 11px; font-weight: 600; padding: 5px 10px; border-radius: 4px; backdrop-filter: blur(4px); }
      .pdp-thumbs { display: flex; gap: 8px; margin-top: 12px; }
      .pdp-thumb { position: relative; background: #F1F4F7; border: 1.5px solid transparent; border-radius: 8px; width: 80px; height: 80px; display: flex; align-items: center; justify-content: center; font-size: 40px; cursor: pointer; transition: all 0.15s; padding: 0; font-family: inherit; }
      .pdp-thumb:hover { border-color: #016AA9; opacity: 0.9; }
      .pdp-thumb.active { border-color: #016AA9; box-shadow: 0 0 0 2px #016AA933; }
      .pdp-thumb-num { position: absolute; top: 4px; right: 4px; width: 18px; height: 18px; border-radius: 50%; background: rgba(0,0,0,0.5); color: #fff; font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
      .pdp-thumb.active .pdp-thumb-num { background: #016AA9; }

      /* Side actions: wishlist + share */
      .pdp-side-actions { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
      .pdp-side-btn { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid #e0e0e0; border-radius: 6px; padding: 7px 12px; font-size: 12px; font-weight: 600; color: #555; cursor: pointer; font-family: inherit; transition: all 0.15s; }
      .pdp-side-btn:hover { border-color: #016AA9; color: #016AA9; }
      .pdp-side-btn.active { background: #fee2e2; border-color: #fca5a5; color: #dc2626; }
      .pdp-side-btn.active:hover { background: #fecaca; }

      .pdp-info h1 { font-size: 26px; font-weight: 800; color: #1a1a1a; line-height: 1.25; letter-spacing: -0.3px; margin-bottom: 10px; }
      .pdp-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12px; color: #777; margin-bottom: 16px; }
      .pdp-meta b { color: #333; }
      .pdp-stock { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 4px; }
      .pdp-stock-dot { width: 8px; height: 8px; border-radius: 50%; }

      .pdp-prices { background: #F5F6F3; border: 1px solid #E5E4DF; border-radius: 10px; padding: 18px 20px; margin: 18px 0; }
      .pdp-price-main { display: flex; align-items: baseline; gap: 12px; margin-bottom: 12px; }
      .pdp-price-main .v { font-size: 32px; font-weight: 800; color: #1a1a1a; }
      .pdp-price-main .u { font-size: 14px; color: #777; }
      .pdp-price-row { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 0; border-top: 1px dashed #e0e0e0; font-size: 13px; }
      .pdp-price-row .lbl { color: #777; }
      .pdp-price-row .val { font-weight: 700; color: #1a1a1a; }

      /* pdp-actions / pdp-buy / pdp-qty / pdp-1click — визначені в секції PDP 2026 нижче */

      /* Залишки по магазинах — live з 1С */
      .pdp-stocks { margin-top: 18px; background: #fff; border: 1px solid #E5E4DF; border-radius: 10px; padding: 14px 16px; }
      .pdp-stocks-head { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 700; color: #1a1a1a; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid #f0f0f0; }
      .pdp-stocks-live { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; color: #15803d; background: #dcfce7; padding: 2px 8px; border-radius: 10px; }
      .pdp-stocks-dot { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; animation: pdp-pulse 1.5s ease-in-out infinite; }
      @keyframes pdp-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
      .pdp-stocks-row { display: flex; justify-content: space-between; align-items: baseline; padding: 7px 0; border-bottom: 1px dashed #f0f0f0; font-size: 13px; }
      .pdp-stocks-row:last-of-type { border-bottom: none; }
      .pdp-stocks-name { color: #444; }
      .pdp-stocks-qty { font-weight: 700; }
      .pdp-stocks-qty.in { color: #15803d; }
      .pdp-stocks-qty.low { color: #b45309; }
      .pdp-stocks-qty.out { color: #b91c1c; opacity: 0.7; font-weight: 600; }
      .pdp-stocks-foot { font-size: 10px; color: #aaa; margin-top: 6px; text-align: right; }

      /* pdp-tabs / pdp-tab-h3 / pdp-list / pdp-empty — визначені в секції PDP 2026 нижче */

      /* OneClick modal */
      .oneclick-card { padding: 28px 28px 24px; }
      .oneclick-title { font-size: 18px; font-weight: 700; color: #1a1a1a; margin-bottom: 16px; padding-right: 30px; }
      .oneclick-product { display: flex; gap: 12px; padding: 12px; background: #F5F6F3; border-radius: 8px; margin-bottom: 18px; align-items: center; }
      .oneclick-emoji { width: 56px; height: 56px; background: #fff; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 32px; flex-shrink: 0; }
      .oneclick-pname { font-size: 13px; font-weight: 600; color: #1a1a1a; line-height: 1.3; }
      .oneclick-pmeta { font-size: 11px; color: #999; margin-top: 2px; }
      .oneclick-pprice { font-size: 16px; font-weight: 800; color: #1a1a1a; margin-top: 4px; }
      .oneclick-pprice span { font-size: 11px; font-weight: 500; color: #777; margin-left: 4px; }
      .oneclick-field { display: block; margin-bottom: 12px; }
      .oneclick-field span { font-size: 12px; font-weight: 600; color: #555; display: block; margin-bottom: 4px; }
      .oneclick-field span i { color: #ef4444; font-style: normal; }
      .oneclick-field input { width: 100%; border: 1px solid #ddd; border-radius: 6px; padding: 10px 12px; font-size: 14px; outline: none; font-family: inherit; transition: border-color 0.15s; }
      .oneclick-field input:focus { border-color: #016AA9; }
      .oneclick-error { font-size: 12px; color: #dc2626; background: #fee2e2; padding: 8px 12px; border-radius: 6px; margin-bottom: 12px; }
      .oneclick-submit { width: 100%; background: #FFD81F; color: #1a1a1a; border: none; border-radius: 8px; height: 46px; font-size: 14px; font-weight: 700; cursor: pointer; font-family: inherit; transition: background 0.15s; margin-top: 4px; }
      .oneclick-submit:hover { background: #EAC400; }
      .oneclick-note { font-size: 11px; color: #888; margin-top: 12px; line-height: 1.5; text-align: center; }
      .oneclick-success { text-align: center; padding: 12px 8px; }
      .oneclick-check { width: 56px; height: 56px; border-radius: 50%; background: #22c55e; color: #fff; font-size: 32px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
      .oneclick-success h3 { font-size: 20px; font-weight: 700; color: #1a1a1a; margin-bottom: 8px; }
      .oneclick-success p { font-size: 13px; color: #555; line-height: 1.6; margin-bottom: 18px; }
      .oneclick-success p b { color: #1a1a1a; }
      .oneclick-success .qo-btn { display: inline-flex; align-items: center; }
      /* pdp-tabs-body / pdp-specs — визначені в секції PDP 2026 */
      .pdp-specs .k { color: #777; }
      .pdp-specs .v { color: #1a1a1a; font-weight: 600; }

      /* Sister-subcategories pills */
      .subnav-pills { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
      .subnav-pills a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 100px; font-size: 13px; font-weight: 600; color: #555; background: #fff; border: 1px solid #E5E4DF; transition: all 0.15s; }
      .subnav-pills a:hover { border-color: #016AA9; color: #016AA9; }
      .subnav-pills a.active { background: #016AA9; color: #fff; border-color: #016AA9; }
      .subnav-pills a em { font-size: 11px; font-style: normal; opacity: 0.7; }
      .subnav-pills a.active em { opacity: 0.85; }

      /* Catalog with filters */
      .catalog-client { display: grid; grid-template-columns: 268px 1fr; gap: 24px; align-items: start; }
      @media (max-width: 880px) { .catalog-client { grid-template-columns: 1fr; } }
      .catalog-main { min-width: 0; }

      /* Filters */
      .filters { background: #fff; border: 1px solid #EAEAE7; border-radius: 16px; padding: 6px 0 18px; position: sticky; top: 76px; max-height: calc(100vh - 100px); overflow-y: auto; }
      .filters-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px 12px; }
      .filters-head h3 { font-size: 16px; font-weight: 800; color: #1B1D21; }
      .filters-reset { background: none; border: none; font-size: 12.5px; color: #9AA0A8; cursor: pointer; padding: 0; font-family: inherit; font-weight: 600; }
      .filters-reset:hover { color: #B14A4A; }
      .filters-count { font-size: 12px; color: #888; margin: 0 20px 10px; padding-bottom: 10px; border-bottom: 1px solid #F0F0EC; }
      .filters-count b { color: #1a1a1a; }
      .filters-group { border-bottom: 1px solid #F0F0EC; }
      .filters-group:last-of-type { border-bottom: none; }
      .filters-group-head { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 10px 20px; background: none; border: none; cursor: pointer; font-size: 13.5px; font-weight: 700; color: #1B1D21; font-family: inherit; }
      .filters-group-head:hover { color: #016AA9; }
      .filters-group-arrow { transition: transform 0.15s; color: #888; font-size: 11px; }
      .filters-group:not(.open) .filters-group-arrow { transform: rotate(-90deg); }
      .filters-group-body { padding: 0 20px 12px; max-height: 240px; overflow-y: auto; }
      .filters-cb { display: flex; align-items: center; gap: 10px; padding: 5px 0; cursor: pointer; font-size: 13.5px; }
      .filters-cb input { accent-color: #016AA9; cursor: pointer; flex-shrink: 0; width: 18px; height: 18px; }
      .filters-cb span { flex: 1; color: #3A3D42; line-height: 1.3; }
      .filters-cb em { font-size: 12px; color: #9AA0A8; font-style: normal; flex-shrink: 0; }
      .filters-cb:hover span { color: #016AA9; }
      .filters-price-row { display: flex; align-items: center; gap: 9px; }
      .filters-price-row input { width: 50%; min-width: 0; border: 1px solid #E2E2DE; border-radius: 9px; padding: 0 12px; height: 40px; font-size: 13.5px; outline: none; font-family: inherit; }
      .filters-price-row input:focus { border-color: #016AA9; }
      .filters-price-row span { color: #C2C6CC; flex-shrink: 0; }

      /* Empty state */
      .empty { background: #fff; border: 1px dashed #e0e0e0; border-radius: 10px; padding: 60px 20px; text-align: center; color: #888; }
      .empty .ico { font-size: 56px; margin-bottom: 12px; }
      .empty h3 { font-size: 16px; font-weight: 700; color: #444; margin-bottom: 6px; }
      .empty p { font-size: 13px; }

      /* Footer */
      .ftr { background: #1a1a1a; color: #ccc; margin-top: 40px; }
      .ftr-inner { max-width: 1840px; margin: 0 auto; padding: 36px 36px 24px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
      @media (max-width: 880px) { .ftr-inner { grid-template-columns: 1fr 1fr; } }
      .ftr h4 { font-size: 13px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
      .ftr a { display: block; font-size: 13px; color: #aaa; padding: 4px 0; transition: color 0.15s; }
      .ftr a:hover { color: #fff; }
      .ftr-brand { font-size: 13px; color: #999; line-height: 1.6; margin-top: 10px; max-width: 320px; }
      .ftr-socials { display: flex; gap: 10px; margin-top: 14px; }
      .ftr-socials a { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; padding: 0; border-radius: 8px; background: #2a2a2a; color: #ddd; transition: background 0.15s, color 0.15s; }
      .ftr-socials a:hover { background: #016AA9; color: #fff; }
      .ftr-phone { font-size: 15px !important; font-weight: 700; color: #fff !important; letter-spacing: 0.5px; }
      .ftr-bot { border-top: 1px solid #2a2a2a; padding: 16px 36px; max-width: 1840px; margin: 0 auto; font-size: 12px; color: #777; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
      /* Accordion-секції футера: на десктопі виглядають як звичайна колонка
         (open форсовано через CSS), на моб (<720px) — collapsible. */
      .ftr-acc { display: block; }
      .ftr-acc summary { list-style: none; cursor: default; display: block; }
      .ftr-acc summary::-webkit-details-marker { display: none; }
      .ftr-acc summary::marker { content: ''; }
      .ftr-acc-title {
        display: inline-block;
        font-size: 13px; font-weight: 700; color: #fff;
        text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px;
      }
      .ftr-acc-body { display: block; }
      @media (min-width: 721px) {
        .ftr-acc:not([open]) > .ftr-acc-body { display: block; }
      }
      .home-social-card:hover { border-color: #016AA9 !important; transform: translateY(-1px); }

      /* Cart */
      .cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 20px; align-items: start; }
      @media (max-width: 880px) { .cart-layout { grid-template-columns: 1fr; } }
      .cart-items { background: #fff; border: 1px solid #E5E4DF; border-radius: 16px; padding: 0 18px; }
      .cart-row { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-top: 1px solid #F0F0EC; }
      .cart-row:first-child { border-top: none; }
      @media (max-width: 660px) {
        .cart-row { display: grid; grid-template-columns: 64px 1fr; grid-template-areas: 'img info' 'qty price' 'rm rm'; gap: 10px; }
        .cart-row .cart-img { grid-area: img; width: 64px; height: 64px; font-size: 32px; }
        .cart-row .cart-info { grid-area: info; }
        .cart-row .cart-qty { grid-area: qty; }
        .cart-row .cart-price { grid-area: price; text-align: right; }
        .cart-row .cart-rm { grid-area: rm; justify-self: flex-end; }
      }
      .cart-img { width: 64px; height: 64px; background: #F5F6F3; border-radius: 11px; border: 1px solid #EEEEEA; display: flex; align-items: center; justify-content: center; font-size: 32px; flex-shrink: 0; overflow: hidden; }
      .cart-info { flex: 1; min-width: 0; }
      .cart-title { display: block; font-size: 14px; font-weight: 700; color: #1B1D21; line-height: 1.35; margin-bottom: 4px; }
      .cart-title:hover { color: #016AA9; }
      .cart-meta { font-size: 12px; color: #9AA0A8; margin-top: 2px; }
      .cart-price { font-size: 15px; font-weight: 800; color: #1B1D21; text-align: right; min-width: 96px; flex-shrink: 0; }
      .cart-rm { background: none; border: none; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; color: #C2C6CC; cursor: pointer; border-radius: 8px; transition: all 0.15s; font-family: inherit; flex-shrink: 0; }
      .cart-rm:hover { color: #B14A4A; background: #FBF1F1; }
      .cart-foot { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; gap: 12px; border-top: 1px solid #F0F0EC; }
      /* Перевизначення pcard-qty для рядків кошика */
      .cart-qty { border-radius: 10px !important; padding: 3px !important; height: auto !important; }
      .cart-qty button { width: 30px !important; height: 30px !important; border-radius: 7px !important; display: flex !important; align-items: center !important; justify-content: center !important; }
      .cart-qty input { width: 34px !important; font-size: 14px !important; }

      .cart-summary { background: #fff; border: 1px solid #E5E4DF; border-radius: 16px; padding: 22px; position: sticky; top: 76px; }
      .cart-summary h3 { font-size: 16px; font-weight: 700; color: #1B1D21; margin-bottom: 14px; }
      .cart-line { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 0; font-size: 13.5px; color: #6A6F78; border-bottom: 1px dashed #EEEEE9; }
      .cart-line b { color: #1B1D21; font-weight: 700; }
      .cart-total { display: flex; justify-content: space-between; align-items: flex-end; padding: 14px 0 18px; }
      .cart-total span { font-size: 15px; font-weight: 600; color: #3A3D42; }
      .cart-total b { font-size: 26px; font-weight: 800; color: #1B1D21; letter-spacing: -0.5px; }
      .cart-checkout-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 52px; border-radius: 12px; background: #FFD81F; color: #1B1D21; font-size: 15px; font-weight: 700; border: none; cursor: pointer; font-family: inherit; text-decoration: none; transition: background 0.15s; }
      .cart-checkout-btn:hover { background: #EAC400; }

      /* Modal: товар додано в кошик */
      .modal-overlay {
        position: fixed; inset: 0; background: rgba(20,35,58,0.55);
        z-index: 100; display: flex; align-items: center; justify-content: center;
        padding: 20px; overflow-y: auto;
        animation: modal-fade 0.15s ease-out;
      }
      @media (max-width: 660px) { .modal-overlay { padding: 16px; align-items: flex-end; } }
      @keyframes modal-fade { from { opacity: 0; } to { opacity: 1; } }
      .modal-card {
        background: #fff; border-radius: 20px;
        width: 100%; max-width: 468px; overflow: hidden;
        box-shadow: 0 24px 70px rgba(10,25,50,0.35);
        animation: modal-pop 0.22s ease-out;
      }
      @keyframes modal-pop {
        from { transform: scale(0.94); opacity: 0; }
        to { transform: scale(1); opacity: 1; }
      }
      /* Шапка: рядок зі значком успіху, заголовком і кнопкою закриття */
      .modal-head { display: flex; align-items: center; gap: 13px; padding: 22px 24px 18px; }
      .modal-head-title { flex: 1; font-weight: 800; font-size: 18px; letter-spacing: -0.2px; color: #1B1D21; }
      .modal-close {
        background: none; border: none; color: #9AA0A8; cursor: pointer;
        width: 34px; height: 34px; border-radius: 9px;
        display: flex; align-items: center; justify-content: center;
        font-family: inherit; transition: all 0.15s; flex-shrink: 0;
      }
      .modal-close:hover { color: #3A3D42; background: #F2F2EF; }
      .modal-divider { border: none; border-top: 1px solid #EFEFEC; margin: 0 24px; }
      .modal-check {
        display: inline-flex; align-items: center; justify-content: center;
        width: 40px; height: 40px; border-radius: 50%;
        background: #3D9A57; flex-shrink: 0;
      }

      .modal-product { display: flex; gap: 16px; align-items: flex-start; padding: 20px 24px; }
      .modal-img {
        width: 84px; height: 84px; background: #F5F6F3; border-radius: 12px;
        border: 1px solid #EEEEEA;
        display: flex; align-items: center; justify-content: center;
        font-size: 40px; flex-shrink: 0; overflow: hidden;
      }
      .modal-title {
        display: block; font-size: 14.5px; font-weight: 700; color: #1B1D21;
        line-height: 1.35; margin-bottom: 4px;
      }
      .modal-title:hover { color: #016AA9; }
      .modal-meta { font-size: 12px; color: #9AA0A8; margin-bottom: 10px; }
      .modal-qty { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #6A6F78; }
      .modal-qty b { font-size: 16px; color: #1B1D21; font-weight: 800; }

      .modal-summary {
        margin: 0 24px; background: #F6F8FB; border: 1px solid #E8EEF5;
        padding: 14px 18px; border-radius: 13px; margin-bottom: 20px;
      }
      .modal-summary-row { display: flex; align-items: center; justify-content: space-between; }
      .modal-summary-count { font-size: 13.5px; color: #6A6F78; }
      .modal-summary-count b { color: #1B1D21; }
      .modal-summary-total { display: flex; align-items: baseline; gap: 7px; }
      .modal-summary-total-lbl { font-size: 12.5px; color: #9AA0A8; }
      .modal-summary-total-val { font-weight: 800; font-size: 18px; color: #016AA9; }
      .modal-summary-ship { display: flex; align-items: center; gap: 9px; margin-top: 12px; padding-top: 12px; border-top: 1px solid #E5ECF4; font-size: 12.5px; color: #3A3D42; }
      .modal-summary-bar-wrap { height: 6px; border-radius: 4px; background: #E5ECF4; margin-top: 9px; overflow: hidden; }
      .modal-summary-bar { height: 100%; border-radius: 4px; background: linear-gradient(90deg,#4FB06A,#3D9A57); }

      .modal-actions { display: flex; gap: 12px; padding: 0 24px 24px; }
      .modal-actions > * {
        flex: 1; display: inline-flex; align-items: center; justify-content: center;
        text-decoration: none; height: 50px; padding: 0 18px;
        border-radius: 12px; font-size: 14.5px; font-weight: 700; cursor: pointer;
        font-family: inherit; transition: all 0.15s;
      }
      .modal-btn-secondary { background: #fff; border: 1.5px solid #D7DBE0; color: #1B1D21; }
      .modal-btn-secondary:hover { border-color: #016AA9; color: #016AA9; background: #F7FAFD; }
      .modal-btn-primary { background: #016AA9; border: none; color: #fff; gap: 9px; white-space: nowrap; font-size: 13px; }
      .modal-btn-primary:hover { background: #015B92; }

      /* Storefront sidebar (Rozetka-like) */
      .home-with-sidebar { display: grid; grid-template-columns: 280px 1fr; gap: 18px; align-items: start; }
      @media (max-width: 880px) { .home-with-sidebar { grid-template-columns: 1fr; } }
      .home-sidebar { background: #fff; border: 1px solid #E5E4DF; border-radius: 10px; padding: 8px 0; position: sticky; top: 76px; height: calc(100vh - 90px); overflow-y: auto; display: flex; flex-direction: column; }
      .home-sidebar h3 { font-size: 11px; color: #999; text-transform: uppercase; letter-spacing: 1px; padding: 10px 18px 8px; font-weight: 700; flex-shrink: 0; }
      .home-sidebar-list { flex: 1 0 auto; }
      .home-sidebar-social { padding: 12px 18px 14px; border-top: 1px solid #eef0f3; flex-shrink: 0; }
      .home-sidebar-social h4 { font-size: 11px; color: #999; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; margin: 0 0 10px; }
      .home-sidebar-social-row { display: flex; gap: 10px; }
      .home-sidebar-social .soc { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border-radius: 50%; background: #f3f4f6; color: #1a1a1a; transition: background 0.15s, color 0.15s, transform 0.12s; }
      .home-sidebar-social .soc:hover { transform: translateY(-1px); }
      .home-sidebar-social .soc-ig:hover { background: #e1306c; color: #fff; }
      .home-sidebar-social .soc-tt:hover { background: #000; color: #fff; }
      .home-sidebar-social .soc-fb:hover { background: #1877f2; color: #fff; }
      .home-sidebar a { display: flex; align-items: center; gap: 12px; padding: 7px 18px; font-size: 13px; color: #333; transition: all 0.15s; font-weight: 500; }
      .home-sidebar a:hover { background: #F5F6F3; color: #016AA9; }
      .home-sidebar a .ico { font-size: 18px; flex-shrink: 0; width: 22px; text-align: center; }
      .home-sidebar a .nm { flex: 1; line-height: 1.3; }
      .home-sidebar a .arr { opacity: 0; color: #016AA9; transition: opacity 0.15s; flex-shrink: 0; }
      .home-sidebar a:hover .arr { opacity: 1; }
      .home-sidebar a.active { background: #F5F6F3; color: #016AA9; }
      .home-sidebar a.active .arr { opacity: 1; }
      .home-sidebar a .ico-img { width: 22px; height: 22px; object-fit: contain; border-radius: 3px; background: #fafafa; }

      /* Hover-flyout панель ліворуч від home-main */
      .home-cat-nav { position: relative; align-self: stretch; }
      .home-cat-flyout {
        position: absolute; top: 0; left: calc(100% + 18px);
        width: min(960px, calc(100vw - 360px));
        max-height: calc(100vh - 90px); overflow-y: auto;
        background: #fff; border: 1px solid #E5E4DF; border-radius: 10px;
        box-shadow: 0 12px 40px rgba(0,0,0,0.14);
        padding: 18px 22px; z-index: 30;
      }
      /* Hover-bridge: невидима смуга між sidebar і flyout, щоб мишка не "провалилася" */
      .home-cat-flyout::before {
        content: ; position: absolute; left: -18px; top: 0; bottom: 0; width: 18px;
      }
      .home-cat-flyout-h { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid #f0f0f0; }
      .home-cat-flyout-title { font-size: 16px; font-weight: 700; color: #1a1a1a; display: flex; align-items: baseline; gap: 8px; }
      .home-cat-flyout-title span { font-size: 12px; color: #888; font-weight: 400; }
      .home-cat-flyout-all { margin-left: auto; font-size: 13px; color: #016AA9; font-weight: 600; }
      .home-cat-flyout-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px 22px; }
      .home-cat-flyout-col { min-width: 0; }
      .home-cat-flyout-childh { display: flex; align-items: center; gap: 8px; padding-bottom: 6px; border-bottom: 1px dashed #eee; margin-bottom: 6px; color: #1a1a1a; font-weight: 600; font-size: 13px; }
      .home-cat-flyout-childh img { width: 28px; height: 28px; object-fit: contain; border-radius: 3px; background: #fafafa; flex-shrink: 0; }
      .home-cat-flyout-childh span { flex: 1; line-height: 1.3; }
      .home-cat-flyout-childh em { font-style: normal; color: #aaa; font-size: 11px; font-weight: 400; }
      .home-cat-flyout-col ul { list-style: none; padding: 0; margin: 0; }
      .home-cat-flyout-col li { padding: 3px 0; }
      .home-cat-flyout-col li a { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; color: #444; font-size: 12px; padding: 2px 0; }
      .home-cat-flyout-col li a:hover { color: #016AA9; }
      .home-cat-flyout-col li a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; min-width: 0; }
      .home-cat-flyout-col li a em { font-style: normal; color: #bbb; font-size: 11px; flex-shrink: 0; }
      .home-cat-flyout-col li a.more { color: #016AA9; font-weight: 600; }
      @media (max-width: 1100px) { .home-cat-flyout { display: none; } }

      .home-main { min-width: 0; }

      /* Cart icon button reset */
      button.hdr-icon, button.hdr-icon-cart { background: none; border: none; font-family: inherit; }

      /* Cart drawer (modal-style) */
      .cart-dr-overlay {
        position: fixed; inset: 0; background: rgba(20,35,58,0.55); z-index: 100;
        display: flex; align-items: center; justify-content: center;
        padding: 20px; overflow-y: auto;
        animation: cart-dr-fade 0.15s ease-out;
      }
      @media (max-width: 660px) { .cart-dr-overlay { padding: 0; align-items: flex-end; } }
      @keyframes cart-dr-fade { from { opacity: 0; } to { opacity: 1; } }
      .cart-dr-card {
        background: #fff; border-radius: 20px; width: 100%; max-width: 680px;
        max-height: calc(100vh - 40px); display: flex; flex-direction: column;
        box-shadow: 0 24px 70px rgba(10,25,50,0.35); overflow: hidden;
        animation: cart-dr-pop 0.22s ease-out;
      }
      @media (max-width: 660px) { .cart-dr-card { max-height: 96vh; border-radius: 20px 20px 0 0; } }
      @keyframes cart-dr-pop { from { transform: scale(0.96); opacity: 0; } to { transform: scale(1); opacity: 1; } }

      .cart-dr-head { display: flex; align-items: center; gap: 11px; padding: 22px 26px 16px; flex-shrink: 0; }
      .cart-dr-head h2 { margin: 0; font-weight: 800; font-size: 20px; letter-spacing: -0.3px; color: #1B1D21; }
      .cart-dr-qty-tag { min-width: 24px; height: 24px; padding: 0 7px; border-radius: 12px; background: #016AA9; color: #fff; font-size: 12.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
      .cart-dr-close { margin-left: auto; background: none; border: none; color: #9AA0A8; cursor: pointer; width: 34px; height: 34px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-family: inherit; transition: all 0.15s; flex-shrink: 0; }
      .cart-dr-close:hover { color: #3A3D42; background: #F2F2EF; }
      /* Смуга прогресу безкоштовної доставки під шапкою */
      .cart-dr-shipping { margin: 0 26px 4px; display: flex; align-items: center; gap: 11px; background: #F1F8F3; border: 1px solid #DCEEE1; border-radius: 12px; padding: 11px 16px; }
      .cart-dr-shipping-text { font-size: 13px; color: #2E6B41; flex: 1; }
      .cart-dr-shipping-bar-wrap { width: 120px; height: 6px; border-radius: 4px; background: #DCEEE1; overflow: hidden; flex-shrink: 0; }
      .cart-dr-shipping-bar { height: 100%; border-radius: 4px; background: linear-gradient(90deg,#4FB06A,#3D9A57); }

      .cart-dr-body { flex: 1; overflow-y: auto; padding: 14px 26px 4px; }
      .cart-dr-empty { text-align: center; padding: 60px 20px; color: #888; }
      .cart-dr-empty-ico { font-size: 56px; margin-bottom: 12px; }
      .cart-dr-empty h3 { font-size: 16px; font-weight: 700; color: #444; margin-bottom: 6px; }
      .cart-dr-empty p { font-size: 13px; margin-bottom: 18px; }
      .cart-dr-empty .qo-btn { display: inline-flex; align-items: center; }

      .cart-dr-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; }
      .cart-dr-row { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-top: 1px solid #F0F0EC; }
      .cart-dr-row:first-child { border-top: none; }
      @media (max-width: 660px) {
        .cart-dr-row { display: grid; grid-template-columns: 56px 1fr auto; grid-template-areas: 'img info rm' 'qty qty price'; gap: 8px; }
        .cart-dr-row .cart-dr-img { grid-area: img; }
        .cart-dr-row .cart-dr-info { grid-area: info; }
        .cart-dr-row .cart-dr-qty { grid-area: qty; }
        .cart-dr-row .cart-dr-line-total { grid-area: price; text-align: right; }
        .cart-dr-row .cart-dr-rm { grid-area: rm; justify-self: end; }
      }
      .cart-dr-img { width: 64px; height: 64px; background: #F5F6F3; border-radius: 11px; border: 1px solid #EEEEEA; display: flex; align-items: center; justify-content: center; font-size: 32px; flex-shrink: 0; overflow: hidden; }
      .cart-dr-info { flex: 1; min-width: 0; }
      .cart-dr-title { display: block; font-size: 14px; font-weight: 700; color: #1B1D21; line-height: 1.35; margin-bottom: 3px; }
      .cart-dr-title:hover { color: #016AA9; }
      .cart-dr-meta { font-size: 12px; color: #9AA0A8; margin-bottom: 3px; }
      .cart-dr-price-each { font-size: 12px; color: #6A6F78; }
      .cart-dr-price-each span { color: #9AA0A8; }
      .cart-dr-line-total { font-size: 15px; font-weight: 800; color: #1B1D21; min-width: 96px; text-align: right; flex-shrink: 0; }
      .cart-dr-rm { background: none; border: none; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; color: #C2C6CC; cursor: pointer; border-radius: 8px; transition: all 0.15s; font-family: inherit; flex-shrink: 0; }
      .cart-dr-rm:hover { color: #B14A4A; background: #FBF1F1; }
      /* Перевизначення pcard-qty для рядків drawer */
      .cart-dr-qty { border-radius: 10px !important; padding: 3px !important; height: auto !important; }
      .cart-dr-qty button { width: 30px !important; height: 30px !important; border-radius: 7px !important; display: flex !important; align-items: center !important; justify-content: center !important; }
      .cart-dr-qty input { width: 34px !important; font-size: 14px !important; }

      .cart-dr-foot { padding: 18px 26px 22px; background: #fff; border-top: 1px solid #EFEFEC; flex-shrink: 0; }
      .cart-dr-foot-summary { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 16px; }
      .cart-dr-foot-count { font-size: 13.5px; color: #6A6F78; }
      .cart-dr-foot-total { display: flex; align-items: baseline; gap: 10px; }
      .cart-dr-foot-total span { font-size: 15px; font-weight: 600; color: #3A3D42; }
      .cart-dr-foot-total b { font-size: 26px; font-weight: 800; color: #1B1D21; letter-spacing: -0.5px; }
      .cart-dr-foot-actions { display: flex; gap: 12px; }
      @media (max-width: 660px) { .cart-dr-foot-actions { flex-direction: column; } }
      .cart-dr-continue { flex: 1; height: 52px; border-radius: 12px; border: 1.5px solid #D7DBE0; background: #fff; color: #1B1D21; font-size: 14.5px; font-weight: 700; cursor: pointer; font-family: inherit; transition: all 0.15s; }
      .cart-dr-continue:hover { border-color: #016AA9; color: #016AA9; background: #F7FAFD; }
      .cart-dr-checkout { flex: 1.4; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; border-radius: 12px; background: #FFD81F; color: #1B1D21; font-size: 15px; font-weight: 700; text-decoration: none; border: none; cursor: pointer; font-family: inherit; transition: background 0.15s; white-space: nowrap; }
      .cart-dr-checkout:hover { background: #EAC400; }

      /* Checkout */
      .checkout-grid { display: grid; grid-template-columns: 1fr 380px; gap: 18px; align-items: start; }
      @media (max-width: 1100px) { .checkout-grid { grid-template-columns: 1fr; } }
      .checkout-main { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
      .checkout-section { background: #fff; border: 1px solid #E5E4DF; border-radius: 12px; padding: 20px 22px; }
      .checkout-section h3 { font-size: 15px; font-weight: 700; color: #1a1a1a; margin-bottom: 14px; }
      .checkout-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
      @media (max-width: 660px) { .checkout-row-2 { grid-template-columns: 1fr; } }
      .checkout-field { display: block; }
      .checkout-field span { display: block; font-size: 12px; color: #666; font-weight: 600; margin-bottom: 4px; }
      .checkout-field input, .checkout-field textarea, .checkout-field select { width: 100%; border: 1px solid #ddd; border-radius: 8px; padding: 11px 14px; font-size: 14px; outline: none; font-family: inherit; transition: border-color 0.15s; background: #fff; color: #1a1a1a; }
      .checkout-field input:focus, .checkout-field textarea:focus, .checkout-field select:focus { border-color: #016AA9; }
      .checkout-field textarea { resize: vertical; }
      /* Кастомний chevron у <select> + однаковий вигляд між Safari/Chrome/FF.
         Стиснутий — не розтягується на всю ширину контейнера. */
      .checkout-field select {
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        padding-right: 40px;
        background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
        background-repeat: no-repeat;
        background-position: right 14px center;
        cursor: pointer;
        max-width: 100%;
      }

      .checkout-radio { display: flex; flex-direction: column; gap: 8px; }
      .checkout-radio-wrap { display: flex; flex-direction: column; }
      .checkout-radio-item { display: flex; gap: 12px; padding: 12px 14px; border: 1.5px solid #E5E4DF; border-radius: 10px; cursor: pointer; transition: all 0.15s; align-items: flex-start; }
      .checkout-radio-item:hover { border-color: #016AA9; background: #f7fbfd; }
      .checkout-radio-item.active { border-color: #016AA9; background: #f0f7fc; }
      .checkout-radio-item.expanded { border-radius: 10px 10px 0 0; border-bottom-color: transparent; }
      .checkout-radio-item input { margin-top: 3px; accent-color: #016AA9; }
      .checkout-radio-body { flex: 1; min-width: 0; }
      .checkout-radio-label { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 600; color: #1a1a1a; line-height: 1.3; }
      .checkout-radio-label em { font-size: 11px; font-weight: 600; font-style: normal; color: #888; white-space: nowrap; }
      .checkout-radio-item.active .checkout-radio-label em { color: #016AA9; }
      .checkout-radio-desc { display: block; font-size: 12px; color: #777; margin-top: 4px; line-height: 1.4; }
      .checkout-radio-expand { padding: 10px 14px 14px; border: 1.5px solid #016AA9; border-top: none; border-radius: 0 0 10px 10px; background: #f0f7fc; }

      .checkout-legal { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; background: #F5F6F3; border-radius: 8px; cursor: pointer; font-size: 13px; color: #555; line-height: 1.5; }
      .checkout-legal input { margin-top: 3px; accent-color: #016AA9; flex-shrink: 0; }
      .checkout-legal a { color: #016AA9; text-decoration: underline; }
      .checkout-error { background: #fee2e2; color: #b91c1c; padding: 10px 14px; border-radius: 8px; font-size: 13px; }

      .checkout-side { background: #fff; border: 1px solid #E5E4DF; border-radius: 12px; padding: 20px 22px; position: sticky; top: 76px; }
      .co-side-h { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: #1a1a1a; margin-bottom: 14px; }
      .co-side-badge { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: #016AA9; color: #fff; font-size: 11px; font-weight: 700; flex-shrink: 0; }
      .checkout-list { list-style: none; padding: 0; margin: 0 0 14px; max-height: 340px; overflow-y: auto; }
      .checkout-list-row { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid #f3f4f6; }
      .checkout-list-row:last-child { border-bottom: none; }
      .co-item-img { width: 44px; height: 44px; flex-shrink: 0; background: #F5F5F5; border-radius: 6px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
      .co-item-img img { width: 100%; height: 100%; object-fit: contain; }
      .checkout-list-info { flex: 1; min-width: 0; }
      .checkout-list-name { font-size: 12px; font-weight: 600; color: #1a1a1a; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 3px; }
      .checkout-list-meta { font-size: 11px; color: #9AA0A8; margin-bottom: 6px; }
      .co-item-controls { display: flex; align-items: center; gap: 5px; }
      .co-qty-btn { width: 22px; height: 22px; border: 1.5px solid #E2E2DE; border-radius: 5px; background: #fff; color: #1a1a1a; font-size: 15px; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; line-height: 1; font-family: inherit; }
      .co-qty-btn:hover { border-color: #016AA9; color: #016AA9; }
      .co-qty-val { font-size: 13px; font-weight: 600; min-width: 18px; text-align: center; }
      .co-item-total { font-size: 13px; font-weight: 700; color: #1a1a1a; margin-left: auto; white-space: nowrap; }
      .co-item-del { width: 22px; height: 22px; border: none; background: none; color: #C8CDD5; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; flex-shrink: 0; }
      .co-item-del:hover { color: #ef4444; }
      .checkout-summary { padding-top: 10px; border-top: 1px solid #eef2f5; margin-bottom: 14px; }
      .checkout-submit { width: 100%; background: #FFD81F; color: #1a1a1a; border: none; border-radius: 10px; height: 52px; font-size: 15px; font-weight: 700; cursor: pointer; font-family: inherit; transition: background 0.15s; }
      .checkout-submit:hover:not(:disabled) { background: #EAC400; }
      .checkout-submit:disabled { background: #ccc; cursor: not-allowed; }
      .co-trust { display: flex; flex-direction: column; gap: 7px; margin-top: 12px; padding-top: 12px; border-top: 1px solid #f3f4f6; }
      .co-trust-item { display: flex; align-items: center; gap: 7px; font-size: 12px; color: #9AA0A8; }
      .co-trust-item svg { flex-shrink: 0; }
      /* Section з синім кружком */
      .checkout-section-h { display: flex; align-items: center; gap: 10px; }
      .checkout-section-num { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: #016AA9; color: #fff; font-size: 13px; font-weight: 700; flex-shrink: 0; }

      /* Nova Poshta picker (typeahead) ----------------------------- */
      .np-picker { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
      .np-combo { position: relative; }
      .np-combo-dropdown { position: absolute; top: calc(100% + 4px); left: 0; right: 0; background: #fff; border: 1px solid #e1e1e1; border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,0.08); z-index: 30; max-height: 280px; overflow-y: auto; }
      .np-combo-dropdown-tall { max-height: 340px; }
      .np-combo-item { display: flex; flex-direction: column; gap: 2px; width: 100%; text-align: left; padding: 10px 14px; background: #fff; border: none; border-bottom: 1px solid #f3f3f3; cursor: pointer; font-family: inherit; transition: background 0.1s; }
      .np-combo-item:last-child { border-bottom: none; }
      .np-combo-item:hover { background: #f0f7fc; }
      .np-combo-item-name { font-size: 13px; font-weight: 600; color: #1a1a1a; }
      .np-combo-item-meta { font-size: 12px; color: #777; }
      .np-combo-empty { padding: 14px; text-align: center; font-size: 13px; color: #888; }

      .np-tabs { display: flex; gap: 8px; }
      .np-tab { flex: 1; padding: 10px 12px; border: 1.5px solid #E5E4DF; border-radius: 10px; background: #fff; cursor: pointer; font-family: inherit; font-size: 13px; font-weight: 600; color: #555; display: inline-flex; align-items: center; justify-content: center; gap: 6px; transition: all 0.15s; }
      .np-tab:hover { border-color: #016AA9; color: #016AA9; }
      .np-tab.active { border-color: #016AA9; background: #f0f7fc; color: #016AA9; }

      .np-selected { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border: 1.5px solid #016AA9; background: #f0f7fc; border-radius: 10px; }
      .np-selected-main { flex: 1; min-width: 0; }
      .np-selected-label { font-size: 11px; color: #016AA9; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; }
      .np-selected-value { font-size: 14px; font-weight: 600; color: #1a1a1a; display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline; }
      .np-selected-meta { font-size: 12px; color: #666; font-weight: 500; }
      .np-clear { background: transparent; border: none; color: #016AA9; font-size: 12px; font-weight: 600; cursor: pointer; font-family: inherit; padding: 4px 8px; }
      .np-clear:hover { text-decoration: underline; }

      .np-price { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #fafbfc; border: 1px dashed #d6dde3; border-radius: 8px; }
      .np-price-amount { font-size: 16px; font-weight: 700; color: #016AA9; }
      .np-price-eta { font-size: 12px; color: #777; }
      .np-price-loading { font-size: 13px; color: #888; }

      .checkout-success { background: #fff; border: 1px solid #E5E4DF; border-radius: 12px; padding: 60px 24px; text-align: center; max-width: 540px; margin: 0 auto; }
      .checkout-success-icon { width: 72px; height: 72px; border-radius: 50%; background: #22c55e; color: #fff; font-size: 40px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; }
      .checkout-success h2 { font-size: 22px; font-weight: 800; color: #1a1a1a; margin-bottom: 10px; }
      .checkout-success p { font-size: 14px; color: #555; line-height: 1.6; }
      .checkout-success p b { color: #1a1a1a; }

      /* На мобільних / однокол. розкладці — сайдбари не липнуть до хедера */
      @media (max-width: 880px) {
        .sidenav, .filters, .home-sidebar, .cart-summary, .checkout-side {
          position: static;
          top: auto;
          max-height: none;
          overflow-y: visible;
        }
      }

      /* ========================================================
         МОБІЛЬНА ВЕРСІЯ. За замовчуванням усе мобільне = display:none,
         вмикається у медіа-квері <=720px (з паралельним прихованням
         десктопних елементів). Інспірація: rozetka mobile, петрович mobile.
         ======================================================== */

      /* MOBILE CHROME — header, drawer, bottom-nav */
      .mob-hdr,
      .mob-hdr-search,
      .mob-bn,
      .mob-drawer-overlay,
      .mob-pdp-sticky,
      .mob-filt-trigger,
      .mob-filt-overlay { display: none; }

      /* Сітка підкатегорій: 2 колонки на мобілі, auto-fill на ширших екранах.
         Фіксовані 2 колонки запобігають розтягуванню останнього елементу
         на повний рядок коли кількість підкатегорій непарна. */
      .subcat-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
      }
      @media (min-width: 600px) {
        .subcat-grid {
          grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        }
      }

      /* Тулбар каталогу: sort chips зліва, count + view toggle справа */
      .cat-toolbar {
        display: flex; align-items: center; justify-content: space-between; gap: 10px;
        padding: 10px 16px; background: #fff; border: 1px solid #EAEAE7;
        border-radius: 13px; margin-bottom: 16px; flex-wrap: wrap;
      }
      .cat-toolbar-left { display: flex; align-items: center; gap: 8px; flex: 1; flex-wrap: wrap; }
      .cat-toolbar-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
      .cat-toolbar-count { font-size: 13px; color: #9AA0A8; white-space: nowrap; }
      .catalog-sort-label { font-size: 13px; color: #6A6F78; white-space: nowrap; flex-shrink: 0; }
      /* Чіп-кнопки сортування */
      .cat-sort-chips { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
      .cat-sort-chip { height: 36px; padding: 0 16px; border: 1.5px solid #E2E2DE; border-radius: 20px; background: #fff; color: #1B1D21; font-size: 13px; font-weight: 500; cursor: pointer; font-family: inherit; transition: border-color 0.12s, background 0.12s, color 0.12s; white-space: nowrap; }
      .cat-sort-chip:hover { border-color: #016AA9; color: #016AA9; }
      .cat-sort-chip.active { background: #016AA9; border-color: #016AA9; color: #fff; font-weight: 600; }
      /* View toggle (сітка/список) */
      .cat-view-toggle { display: flex; align-items: center; border: 1.5px solid #E2E2DE; border-radius: 8px; overflow: hidden; }
      .cat-view-btn { width: 34px; height: 34px; background: none; border: none; cursor: pointer; color: #9AA0A8; display: flex; align-items: center; justify-content: center; transition: background 0.12s, color 0.12s; }
      .cat-view-btn:hover { color: #016AA9; }
      .cat-view-btn.active { background: #016AA9; color: #fff; }
      /* Активні фільтри у сайдбарі */
      .sidenav-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px 10px; border-bottom: 1px solid #F0F0EC; }
      .sidenav-title { font-size: 15px; font-weight: 700; color: #1B1D21; }
      .sidenav-reset { font-size: 12.5px; font-weight: 600; color: #9AA0A8; text-decoration: none; transition: color 0.12s; }
      .sidenav-reset:hover { color: #e11d48; }
      .sidenav-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 20px; border-bottom: 1px solid #F0F0EC; }
      .sidenav-chip { display: inline-flex; align-items: center; gap: 4px; padding: 5px 8px 5px 11px; background: #EBF3FB; color: #016AA9; border-radius: 20px; font-size: 12px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background 0.12s; }
      .sidenav-chip:hover { background: #D6E8F7; }
      .sidenav-chip span { font-size: 15px; font-weight: 400; opacity: 0.7; line-height: 1; }
      /* Вигляд список (одна колонка) */
      .products-list { grid-template-columns: 1fr !important; }
      .products-list .pcard { flex-direction: row; }
      .products-list .pcard-img { width: 180px; height: 180px; flex-shrink: 0; }
      .products-list .pcard-body { flex: 1; }
      .products-list .pcard-list-specs { display: flex; flex-direction: column; gap: 5px; margin-bottom: 8px; }
      .products-list .pcard-title { -webkit-line-clamp: 2 !important; min-height: auto !important; }
      /* Мобільна select-сортування — ховається на десктопі */
      .cat-sort-mob { display: none; }
      /* Рядок активних мобільних чіпів — ховається на десктопі */
      .cat-mob-chips-row { display: none; }
      /* Чіпи фільтрів (sidebar, mobile row) */
      .cat-filter-chip { display: inline-flex; align-items: center; gap: 4px; padding: 5px 8px 5px 11px; background: #EBF3FB; color: #016AA9; border-radius: 20px; font-size: 12px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background 0.12s; }
      .cat-filter-chip:hover { background: #D6E8F7; }
      .cat-filter-chip-x { font-size: 15px; font-weight: 400; opacity: 0.7; line-height: 1; }
      @media (max-width: 900px) {
        .cat-toolbar { padding: 8px 12px; gap: 8px; flex-wrap: nowrap; }
        .cat-toolbar-left { gap: 8px; flex-wrap: nowrap; }
        .cat-sort-chips { display: none; }
        .cat-sort-mob {
          display: block; flex: 1; height: 42px; min-width: 0;
          border: 1.5px solid #E2E2DE; border-radius: 10px; background: #fff;
          font-size: 13px; font-family: inherit; color: #1B1D21; cursor: pointer;
          appearance: none; -webkit-appearance: none; padding: 0 10px;
        }
        .mob-filt-trigger { flex: 1; height: 42px; padding: 0 14px; }
        .cat-view-toggle { display: none; }
        .catalog-sort-label { display: none; }
        .cat-toolbar-count { display: none; }
        .cat-mob-chips-row {
          display: flex; flex-wrap: wrap; gap: 6px;
          padding: 0 12px 10px; overflow-x: auto;
        }
      }

      /* На десктопі також ховаємо мобільну категорійну форму, якщо вона
         випадково відрендерилась (двічі, поряд із CategoryFilters) */
      .cat-mobile-only { display: none; }

      @media (max-width: 900px) {
        /* Прибираємо десктопну шапку + nav */
        .hdr-root, .topnav { display: none !important; }

        /* Сховаємо ліві сайдбари каталогу/фільтрів — у мобілці drawer / bottom-sheet */
        .home-sidebar, .home-cat-flyout, .sidenav, .cat-desktop-only { display: none !important; }
        .home-with-sidebar { grid-template-columns: 1fr !important; gap: 0 !important; }
        .home-cat-nav { display: none !important; }
        .container { padding: 0 12px !important; }
        .home-main { padding: 0 !important; }

        /* Catalog grid: 2 на ряд на >=480px, 1 на <=400px */
        .products, .products.products-compact { grid-template-columns: repeat(2, 1fr) !important; gap: 8px !important; }
        @media (max-width: 400px) { .products { grid-template-columns: 1fr !important; } }
        .pcard { font-size: 13px; min-width: 0; }
        .pcard-body { padding: 10px 8px 10px !important; }
        .pcard-prices { min-width: 0; overflow: hidden; }
        .pcard-qty button { width: 26px !important; font-size: 16px !important; }
        .pcard-qty { height: 36px !important; min-width: 0 !important; }
        .pcard-price-row.main .val { font-size: 17px !important; }
        /* grid garantees cart button always has 36px regardless of border/overflow */
        .pcard-actions { display: grid !important; grid-template-columns: 1fr 36px !important; gap: 6px !important; align-items: center !important; width: auto !important; }
        .pcard-buy { width: 36px !important; height: 36px !important; border-radius: 8px !important; flex: none !important; }
        .pcard-buy:only-child { grid-column: 1 / -1 !important; width: 100% !important; }
        .pcard-buy svg { width: 17px !important; height: 17px !important; }
        .pcard-img { height: 150px !important; }
        .pcard-title { -webkit-line-clamp: 2 !important; min-height: 37px !important; font-size: 12.5px !important; }

        /* Hero — нижче, без бокової колонки */
        .hero { grid-template-columns: 1fr !important; padding: 16px !important; }
        .hero-title { font-size: 22px !important; }
        .hero-side { display: none; }
        .tiles, .subtiles { grid-template-columns: 1fr !important; }
        .usps { grid-template-columns: 1fr 1fr !important; }
        .ftr-inner { grid-template-columns: 1fr !important; }
        .quickorder { grid-template-columns: 1fr !important; }

        /* PDP — стек */
        .pdp { grid-template-columns: 1fr !important; gap: 12px !important; padding: 12px !important; }
        .pdp-specs { grid-template-columns: 1fr !important; }
        .catalog-client, .catalog { grid-template-columns: 1fr !important; }
        .catalog-main { padding: 0 !important; }
        .toolbar { flex-wrap: wrap; gap: 8px; }
        .toolbar-info { font-size: 12px; }
        .cart-layout { grid-template-columns: 1fr !important; }
        .stores-map-wrap { grid-template-columns: 1fr !important; }
        .stores-detail-grid { grid-template-columns: 1fr !important; }

        /* Кабінет 2026 — sidebar зверху на мобільному */
        .account-layout { grid-template-columns: 1fr !important; }
        .account-sidebar { position: static !important; }
        /* Кнопки в картці списку — перенос на новий рядок */
        .account-list-actions { flex-wrap: wrap !important; }
        /* Рядок товару у списку — компактніше */
        .account-list-item { font-size: 12px !important; }

        /* Padding bottom для bottom-nav (54px) + safe-area */
        body { padding-bottom: calc(54px + env(safe-area-inset-bottom, 0)); }
        /* Мобільний футер — 1 колонка замість 4-ох */
        .shop-ftr-grid { grid-template-columns: 1fr !important; gap: 20px !important; padding: 28px 16px 0 !important; }
        .shop-ftr-cities { padding: 18px 16px 0 !important; }
        .shop-ftr-copy { padding: 0 16px !important; }
        .shop-ftr-copy-inner { flex-direction: column !important; align-items: flex-start !important; gap: 10px !important; }
        .shop-ftr-pay { flex-wrap: wrap; }

        /* МОБ ХЕДЕР — один рядок: бургер + лого + пошук */
        .mob-hdr {
          display: flex;
          align-items: center;
          gap: 6px;
          background: #016AA9;
          color: #fff;
          padding: 8px 12px calc(8px + env(safe-area-inset-right, 0)) calc(8px + env(safe-area-inset-left, 0));
          position: sticky;
          top: 0;
          z-index: 60;
          box-shadow: 0 2px 8px rgba(0,0,0,0.15);
          width: 100%;
          max-width: 100vw;
          overflow: hidden;
          box-sizing: border-box;
        }
        .mob-hdr-burger {
          display: flex; flex-direction: column; gap: 4px;
          width: 36px; height: 36px; flex-shrink: 0;
          align-items: center; justify-content: center;
          background: transparent; border: 0; cursor: pointer; padding: 0;
        }
        .mob-hdr-burger span { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; }
        .mob-hdr-logo { flex-shrink: 0; display: flex; align-items: center; }
        .mob-hdr-logo img { height: 24px; width: auto; }
        .mob-hdr-staff { display: none; }
        .mob-bn-staff { border-left: 1px solid #f0f0f0; }

        /* Пошук inline — забирає увесь решту місця */
        .mob-hdr-search-inline { flex: 1; min-width: 0; }
        .mob-hdr-search-inline .hdr-search-wrap { width: 100%; }
        .mob-hdr-search-inline .hdr-search { width: 100%; height: 42px; border-radius: 999px; }
        /* font-size: 16px — інакше iOS Safari зумить сторінку при focus. */
        /* min-width: 0 + flex 1 1 0 — щоб input міг звузитись < intrinsic-width, інакше штовхає лупу за край екрана. */
        .mob-hdr-search-inline .hdr-search input { font-size: 16px; padding: 0 12px; min-width: 0; flex: 1 1 0; width: 0; }
        .mob-hdr-search-inline .hdr-search input::placeholder { color: #aaa; font-size: 14px; }
        /* Мінімалістична кнопка-іконка пошуку (стиль Розетки) */
        .mob-hdr-search-inline .hdr-search-btn {
          padding: 0; width: 40px; font-size: 0;
          background: #FFD81F; position: relative;
          flex-shrink: 0;
        }
        .mob-hdr-search-inline .hdr-search-btn::before {
          content: ""; position: absolute;
          left: 50%; top: 50%; transform: translate(-50%, -50%);
          width: 18px; height: 18px;
          background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%231a1a1a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='8'/><line x1='21' y1='21' x2='16.65' y2='16.65'/></svg>");
          background-repeat: no-repeat;
          background-position: center;
        }
        /* Випадне вікно пошуку на мобільному (стиль Розетки): top:58px нижче
           mob-hdr, висота — за контентом до max 60vh. Header НЕ затемнюємо
           (backdrop починається з top:58px). */
        .mob-hdr-search-inline .hdr-search-dd {
          position: fixed;
          left: 0; right: 0;
          top: 58px;
          bottom: auto;
          max-height: 60vh;
          border-radius: 0 0 8px 8px;
          border: 0;
          box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
          z-index: 200;
        }
        .hdr-search-backdrop {
          display: block;
          position: fixed;
          left: 0; right: 0; top: 58px; bottom: 0;
          background: rgba(0, 0, 0, 0.45);
          z-index: 150;
          animation: mobFadeIn 150ms ease-out;
        }
        /* Хлібні крихти на мобільному — менше шрифту, відступ від верху,
           і одна стрічка з горизонтальним overflow. */
        .crumbs { font-size: 12px; margin: 12px 0; overflow-x: auto; flex-wrap: nowrap; white-space: nowrap; padding-bottom: 2px; }
        .crumbs::-webkit-scrollbar { display: none; }

        /* iOS auto-zoom prevention: всі input ≥ 16px на моб */
        input, textarea, select { font-size: 16px !important; }
        /* Футер на моб — 1 колонка + accordion для секцій Каталог/Покупцям. */
        .ftr-inner { grid-template-columns: 1fr !important; gap: 0 !important; padding: 24px 20px 16px !important; }
        .ftr-acc { border-bottom: 1px solid #2a2a2a; padding: 14px 0; }
        .ftr-acc summary {
          cursor: pointer;
          display: flex; align-items: center; justify-content: space-between;
        }
        .ftr-acc summary .ftr-acc-title { margin-bottom: 0; }
        .ftr-acc summary::after {
          content: '+';
          font-size: 22px; line-height: 1; color: #fff; font-weight: 400;
        }
        .ftr-acc[open] summary::after { content: '−'; }
        .ftr-acc:not([open]) > .ftr-acc-body { display: none; }
        .ftr-acc[open] > .ftr-acc-body { padding-top: 8px; }

        /* DRAWER — каталог повноекранний */
        .mob-drawer-overlay {
          display: block;
          position: fixed; inset: 0;
          background: rgba(0,0,0,0.4);
          z-index: 100;
          animation: mobFadeIn 150ms ease-out;
        }
        .mob-drawer {
          position: absolute; left: 0; top: 0; bottom: 0;
          width: min(100vw, 420px);
          background: #fff;
          display: flex; flex-direction: column;
          animation: mobSlideRight 200ms ease-out;
        }
        @keyframes mobFadeIn { from { opacity: 0 } to { opacity: 1 } }
        @keyframes mobSlideRight { from { transform: translateX(-100%) } to { transform: translateX(0) } }
        .mob-drawer-h {
          display: flex; align-items: center; gap: 8px;
          padding: 10px 12px;
          border-bottom: 1px solid #f0f0f0;
          background: #fff;
        }
        .mob-drawer-back, .mob-drawer-close {
          width: 36px; height: 36px; border: 0; background: transparent;
          display: flex; align-items: center; justify-content: center;
          cursor: pointer; color: #1a1a1a; font-size: 24px; border-radius: 6px;
        }
        .mob-drawer-back:hover, .mob-drawer-close:hover { background: #f5f5f5; }
        .mob-drawer-back-spacer { width: 36px; }
        .mob-drawer-title {
          flex: 1; font-size: 16px; font-weight: 700;
          margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
        }
        .mob-drawer-all {
          display: block; padding: 12px 16px;
          background: #F5F6F3; color: #016AA9;
          font-size: 14px; font-weight: 600;
          border-bottom: 1px solid #e5e7eb;
        }
        .mob-drawer-list {
          flex: 1; overflow-y: auto;
          list-style: none; margin: 0; padding: 4px 0;
        }
        .mob-drawer-row {
          display: flex; align-items: center; gap: 10px;
          width: 100%; padding: 12px 14px;
          background: transparent; border: 0; border-bottom: 1px solid #f3f4f6;
          font-family: inherit; font-size: 14px; color: #1a1a1a;
          text-align: left; cursor: pointer;
        }
        .mob-drawer-row:active { background: #F5F6F3; }
        .mob-drawer-thumb {
          width: 36px; height: 36px; flex-shrink: 0;
          object-fit: contain; border-radius: 6px; background: #F5F6F3;
        }
        .mob-drawer-thumb-empty {
          display: flex; align-items: center; justify-content: center;
          font-size: 18px; color: #aaa;
        }
        .mob-drawer-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
        .mob-drawer-count { font-size: 11px; color: #888; flex-shrink: 0; }
        .mob-drawer-arr { color: #ccc; flex-shrink: 0; }

        /* НИЖНЯ НАВІГАЦІЯ */
        .mob-bn {
          display: flex;
          position: fixed; left: 0; right: 0; bottom: 0;
          /* GPU compositing — виправляє position:fixed на iOS Safari */
          -webkit-transform: translateZ(0);
          transform: translateZ(0);
          /* Висота 54px content — збігається з нативним портальним баром */
          min-height: 54px;
          padding: 4px max(8px, env(safe-area-inset-left, 0)) env(safe-area-inset-bottom, 0) max(8px, env(safe-area-inset-right, 0));
          background: #fff;
          border-top: 1px solid #e5e7eb;
          z-index: 70;
          box-shadow: 0 -2px 8px rgba(0,0,0,0.05);
        }
        .mob-bn-item {
          flex: 1;
          display: flex; flex-direction: column; align-items: center; justify-content: center;
          gap: 2px;
          background: transparent; border: 0; cursor: pointer;
          color: #6b7280; font-size: 10px; font-family: inherit; padding: 4px 0;
          text-decoration: none;
        }
        .mob-bn-item.is-active { color: #016AA9; }
        .mob-bn-item.is-active svg { stroke: #016AA9; }
        .mob-bn-icon-wrap { position: relative; }
        .mob-bn-badge {
          position: absolute; top: -4px; right: -8px;
          background: #FFD81F; color: #fff;
          font-size: 10px; font-weight: 700; min-width: 16px; height: 16px;
          border-radius: 8px; padding: 0 4px;
          display: flex; align-items: center; justify-content: center;
        }

        /* МОБ ФІЛЬТРИ — велика primary-pill кнопка (стиль Розетки) */
        .mob-filt-trigger {
          display: inline-flex; align-items: center; justify-content: center; gap: 8px;
          padding: 12px 24px;
          background: #016AA9;
          border: 0; border-radius: 10px;
          font-size: 15px; font-weight: 700; color: #fff;
          cursor: pointer; font-family: inherit;
          margin: 8px 0;
          box-shadow: 0 2px 6px rgba(0,108,171,0.25);
        }
        .mob-filt-trigger svg { stroke: #fff; }
        .mob-filt-badge {
          background: #FFD81F; color: #1a1a1a;
          font-size: 11px; min-width: 18px; height: 18px;
          border-radius: 9px; padding: 0 5px;
          display: inline-flex; align-items: center; justify-content: center;
          font-weight: 700;
        }

        /* МОБ ФІЛЬТРИ — лівий drawer (раніше bottom-sheet) */
        .mob-filt-overlay {
          display: block;
          position: fixed; inset: 0;
          background: rgba(0,0,0,0.4);
          z-index: 110;
          animation: mobFadeIn 150ms ease-out;
        }
        .mob-filt-sheet {
          position: absolute; left: 0; top: 0; bottom: 0;
          width: min(86vw, 380px);
          background: #fff;
          display: flex; flex-direction: column;
          animation: mobSlideRight 220ms ease-out;
          box-shadow: 2px 0 12px rgba(0,0,0,0.18);
        }
        .mob-filt-h {
          display: flex; align-items: center;
          padding: 14px 16px; border-bottom: 1px solid #f0f0f0;
        }
        .mob-filt-h h2 { flex: 1; font-size: 16px; font-weight: 700; margin: 0; }
        .mob-filt-close {
          width: 32px; height: 32px; border: 0; background: transparent;
          font-size: 24px; cursor: pointer; line-height: 1;
        }
        .mob-filt-body { flex: 1; overflow-y: auto; padding-bottom: 80px; }
        .mob-filt-fs { border: 0; padding: 14px 16px; border-bottom: 1px solid #f3f4f6; }
        .mob-filt-fs h4 { margin: 0 0 8px; font-size: 14px; font-weight: 700; }
        .mob-filt-stock {
          display: flex; align-items: center; gap: 8px;
          font-size: 14px; cursor: pointer;
        }
        .mob-filt-brands { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
        .mob-filt-brands label {
          display: flex; align-items: center; gap: 8px;
          font-size: 14px; cursor: pointer; padding: 4px 0;
        }
        .mob-filt-brands .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
        .mob-filt-brands .ct { font-size: 11px; color: #888; }
        .mob-filt-brands details summary {
          font-size: 13px; color: #016AA9; padding: 6px 0; cursor: pointer;
        }
        .mob-filt-brands-more { padding-top: 6px; }
        .mob-filt-info {
          padding: 10px 16px; font-size: 12px; color: #888; text-align: center;
        }
        .mob-filt-foot {
          position: absolute; left: 0; right: 0; bottom: 0;
          display: flex; gap: 8px; padding: 12px 16px;
          background: #fff; border-top: 1px solid #f0f0f0;
          padding-bottom: calc(12px + env(safe-area-inset-bottom, 0));
        }
        .mob-filt-reset {
          flex: 1; padding: 12px;
          text-align: center; background: #fff; color: #016AA9;
          border: 1px solid #016AA9; border-radius: 8px;
          font-size: 14px; font-weight: 600;
        }
        .mob-filt-apply {
          flex: 2; padding: 12px;
          background: #016AA9; color: #fff;
          border: 0; border-radius: 8px;
          font-size: 14px; font-weight: 700; cursor: pointer; font-family: inherit;
        }

        /* PDP STICKY BAR */
        .mob-pdp-sticky {
          display: flex; align-items: center; gap: 10px;
          position: fixed; left: 0; right: 0;
          bottom: calc(56px + env(safe-area-inset-bottom, 0));
          padding: 10px 12px;
          background: #fff;
          border-top: 1px solid #e5e7eb;
          z-index: 65;
          box-shadow: 0 -2px 12px rgba(0,0,0,0.08);
        }
        .mob-pdp-sticky-info { flex: 1; min-width: 0; }
        .mob-pdp-sticky-price { font-size: 16px; font-weight: 800; color: #1a1a1a; }
        .mob-pdp-sticky-title { font-size: 11px; color: #888; margin-top: 2px; }
        .mob-pdp-sticky-btn {
          display: inline-flex; align-items: center; gap: 6px;
          padding: 12px 16px;
          background: #FFD81F; color: #fff;
          border: 0; border-radius: 8px;
          font-size: 14px; font-weight: 700; cursor: pointer; font-family: inherit;
          white-space: nowrap;
        }
        .mob-pdp-sticky-btn:active { background: #e55a09; }
        .mob-pdp-sticky-btn.icon-only {
          width: 52px; height: 44px; padding: 0;
          display: flex; align-items: center; justify-content: center;
          background: #FFD81F;
        }
        .mob-pdp-sticky-btn.icon-only:active { background: #e55a09; }
        .mob-pdp-sticky-btn.in-cart { background: #016AA9; }
        .mob-pdp-sticky-btn.out { background: #ddd; color: #888; cursor: not-allowed; }
        .mob-pdp-sticky-qty-wrap { display: flex; align-items: center; gap: 8px; }
        .mob-pdp-sticky-qty {
          display: flex; align-items: center;
          border: 1px solid #d1d5db; border-radius: 8px; overflow: hidden;
        }
        .mob-pdp-sticky-qty button {
          width: 36px; height: 40px;
          border: 0; background: #fff; cursor: pointer;
          font-size: 18px; font-weight: 700;
        }
        .mob-pdp-sticky-qty button:active { background: #f5f5f5; }
        .mob-pdp-sticky-qty span {
          min-width: 30px; text-align: center;
          font-size: 14px; font-weight: 700;
        }

        /* На PDP компенсуємо висоту sticky-bar (~64px) + bottom-nav */
        body.has-mob-pdp { padding-bottom: calc(56px + 64px + env(safe-area-inset-bottom, 0)); }
      }


      /* ─── Кнопки калькуляторів у hero-side ─── */
      .hero-side-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
      .hero-side-tool {
        display: flex; align-items: flex-start; gap: 10px;
        padding: 12px;
        background: #fff; border: 1px solid #e5e7eb; border-radius: 10px;
        font-family: inherit; cursor: pointer; text-align: left;
        transition: border-color 0.15s, box-shadow 0.15s;
      }
      .hero-side-tool:hover { border-color: #016AA9; box-shadow: 0 2px 8px rgba(0, 108, 171, 0.1); }
      .hero-side-tool .ico { font-size: 22px; line-height: 1; flex-shrink: 0; }
      .hero-side-tool .t { font-size: 13px; font-weight: 700; color: #1a1a1a; line-height: 1.2; }
      .hero-side-tool .d { font-size: 11px; color: #888; margin-top: 2px; line-height: 1.3; }
      @media (max-width: 900px) { .hero-side-tools { grid-template-columns: 1fr 1fr; } }
      @media (max-width: 480px) { .hero-side-tools { grid-template-columns: 1fr; } }

      /* ─── Модалка калькуляторів ─── */
      .calc-overlay {
        position: fixed; inset: 0;
        background: rgba(0,0,0,0.55);
        z-index: 200;
        display: flex; align-items: center; justify-content: center;
        padding: 20px;
        animation: calcFadeIn 150ms ease-out;
      }
      @keyframes calcFadeIn { from { opacity: 0 } to { opacity: 1 } }
      .calc-modal {
        width: min(720px, 100%); max-height: 90vh;
        background: #fff; border-radius: 12px;
        display: flex; flex-direction: column;
        box-shadow: 0 20px 60px rgba(0,0,0,0.3);
        overflow: hidden;
      }
      .calc-h {
        display: flex; align-items: center; gap: 8px;
        padding: 14px 18px;
        border-bottom: 1px solid #f0f0f0;
      }
      .calc-h h2 { flex: 1; font-size: 16px; font-weight: 700; margin: 0; color: #1a1a1a; }
      .calc-close {
        width: 32px; height: 32px; border: 0; background: transparent;
        font-size: 22px; cursor: pointer; line-height: 1; color: #888;
      }
      .calc-close:hover { color: #1a1a1a; }
      .calc-tabs {
        display: flex; gap: 4px; padding: 8px 12px;
        overflow-x: auto;
        border-bottom: 1px solid #f0f0f0;
        scrollbar-width: thin;
      }
      .calc-tab {
        display: inline-flex; align-items: center; gap: 6px;
        padding: 8px 12px; flex-shrink: 0;
        background: #F5F6F3; border: 1px solid transparent; border-radius: 8px;
        font-family: inherit; font-size: 13px; color: #4b5563; cursor: pointer;
        transition: all 0.15s;
      }
      .calc-tab:hover { background: #eef3f8; }
      .calc-tab.is-active { background: #016AA9; color: #fff; }
      .calc-tab-ico { font-size: 16px; line-height: 1; }
      .calc-body { flex: 1; overflow-y: auto; padding: 18px; }
      .calc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 18px; }
      @media (max-width: 480px) { .calc-grid { grid-template-columns: 1fr; } }
      .calc-field { display: flex; flex-direction: column; gap: 4px; }
      .calc-lbl { font-size: 12px; font-weight: 600; color: #4b5563; }
      .calc-input-wrap {
        display: flex; align-items: center;
        background: #fff; border: 1px solid #d1d5db; border-radius: 6px;
        overflow: hidden;
      }
      .calc-field input, .calc-field select {
        flex: 1; padding: 8px 10px;
        border: 0; background: transparent;
        font-size: 14px; font-family: inherit; color: #1a1a1a;
        outline: none;
      }
      .calc-field select {
        border: 1px solid #d1d5db; border-radius: 6px;
        padding: 8px 10px; font-size: 14px;
      }
      .calc-suffix { padding-right: 10px; color: #888; font-size: 12px; }
      .calc-hint { font-size: 11px; color: #888; }
      .calc-res {
        background: #F5F6F3; border-radius: 8px;
        padding: 12px 16px;
        display: flex; flex-direction: column; gap: 6px;
      }
      .calc-res-row {
        display: flex; justify-content: space-between; align-items: baseline;
        font-size: 13px;
      }
      .calc-res-row span { color: #6b7280; }
      .calc-res-row strong { color: #1a1a1a; font-weight: 700; }
      .calc-res-row.is-big { font-size: 15px; }
      .calc-res-row.is-big strong { color: #016AA9; font-size: 18px; }
      .calc-note {
        margin-top: 12px; padding: 10px;
        background: #fffbeb; border: 1px solid #fde68a; border-radius: 6px;
        font-size: 12px; color: #92400e; line-height: 1.5;
      }

      /* На мобілці модалка майже на весь екран */
      @media (max-width: 900px) {
        .calc-overlay { padding: 0; align-items: flex-end; }
        .calc-modal { max-height: 92vh; border-radius: 16px 16px 0 0; }
      }

      /* ========================================================
         PDP 2026 — редизайн під новий стиль METR
         Фон #F6F6F5, картки 16px, aside = єдина картка,
         жовта кнопка кошика, галерея 5-col grid мініатюр.
         ======================================================== */

      .pdp2-bg { background: #F6F6F5; padding-bottom: 60px; }
      .pdp2-wrap {
        display: grid;
        grid-template-columns: minmax(0,1fr) minmax(0,1fr) 340px;
        grid-template-areas: "gallery info aside";
        gap: 24px;
        align-items: start;
        margin-top: 18px;
      }
      .pdp2-gallery-col { grid-area: gallery; min-width: 0; }
      .pdp2-info-col { grid-area: info; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
      .pdp2-info-col > div { margin-top: 0 !important; }
      @media (max-width: 1280px) {
        .pdp2-wrap {
          grid-template-columns: minmax(0,1fr) 340px;
          grid-template-areas: "gallery aside" "info aside";
        }
      }
      .pdp2-head { margin-bottom: 14px; }
      .pdp2-badge { display: inline-block; font-size: 12px; font-weight: 700; color: #14233A; background: #FFD81F; padding: 4px 9px; border-radius: 7px; margin-bottom: 6px; }
      .pdp2-h1 { margin: 4px 0 0; font-size: 27px; font-weight: 800; color: #1B1D21; line-height: 1.2; letter-spacing: -0.5px; }
      .pdp2-meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: 13px; color: #9AA0A8; align-items: center; margin-top: 9px; }
      .pdp2-meta b { color: #3A3D42; font-weight: 600; }
      .pdp2-meta .sep { color: #ddd; }
      .pdp2-meta-actions { margin-left: auto; display: flex; gap: 8px; }

      /* Галерея: main 1:1, мініатюри у 5-col grid */
      .pdp2-gallery { display: flex; flex-direction: column; gap: 12px; }
      .pdp2-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
      .pdp2-thumb { position: relative; width: 100%; height: 70px; padding: 0; border: 1.5px solid #EAEAE7; border-radius: 10px; background: #fff; cursor: pointer; overflow: hidden; transition: border-color 0.15s; }
      .pdp2-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
      .pdp2-thumb:hover { border-color: #016AA9; }
      .pdp2-thumb.is-active { border: 2px solid #016AA9; background: #F7FAFD; }

      .pdp2-main { position: relative; aspect-ratio: 1/1; background: #fff; border: 1px solid #EAEAE7; border-radius: 16px; overflow: hidden; cursor: zoom-in; display: flex; align-items: center; justify-content: center; }
      .pdp2-main img { width: 100%; height: 100%; object-fit: contain; padding: 18px; box-sizing: border-box; transition: transform 0.25s; }
      .pdp2-main:hover img { transform: scale(1.04); }
      .pdp2-main--empty { aspect-ratio: 4/3; flex-direction: column; gap: 10px; padding: 28px 32px; text-align: center; cursor: default; background: linear-gradient(180deg, #fafbfc 0%, #f3f5f8 100%); }
      .pdp2-empty-ico { font-size: 64px; opacity: 0.55; line-height: 1; }
      .pdp2-empty-title { font-size: 15px; font-weight: 700; color: #444; }
      .pdp2-empty-meta { font-size: 12px; color: #9AA0A8; }
      .pdp2-empty-meta b { color: #1B1D21; font-weight: 700; }
      .pdp2-empty-hint { font-size: 12px; color: #9AA0A8; max-width: 340px; line-height: 1.45; margin-top: 4px; }
      .pdp2-zoom { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,0.92); border: 1px solid #E2E2DE; color: #6A6F78; display: flex; align-items: center; justify-content: center; pointer-events: none; }
      .pdp2-counter { position: absolute; bottom: 12px; right: 12px; background: rgba(26,26,26,0.78); color: #fff; font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 100px; }

      /* Lightbox */
      .pdp2-lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(10,10,10,0.92); display: flex; align-items: center; justify-content: center; animation: pdp2-fade 0.18s ease-out; }
      @keyframes pdp2-fade { from { opacity: 0; } to { opacity: 1; } }
      .pdp2-lb-img { max-width: 90vw; max-height: 90vh; }
      .pdp2-lb-img img { max-width: 90vw; max-height: 90vh; object-fit: contain; }
      .pdp2-lb-close, .pdp2-lb-prev, .pdp2-lb-next { position: absolute; background: rgba(255,255,255,0.12); color: #fff; border: none; width: 48px; height: 48px; border-radius: 50%; font-size: 28px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.15s; font-family: inherit; }
      .pdp2-lb-close:hover, .pdp2-lb-prev:hover, .pdp2-lb-next:hover { background: rgba(255,255,255,0.25); }
      .pdp2-lb-close { top: 24px; right: 24px; }
      .pdp2-lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
      .pdp2-lb-next { right: 24px; top: 50%; transform: translateY(-50%); }
      .pdp2-lb-counter { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.85); font-size: 13px; font-weight: 600; background: rgba(0,0,0,0.4); padding: 6px 14px; border-radius: 100px; }

      /* Aside = єдина біла картка */
      .pdp2-side {
        grid-area: aside; position: sticky; top: 16px;
        background: #fff; border: 1px solid #EAEAE7; border-radius: 16px; padding: 22px;
        display: flex; flex-direction: column;
      }
      .pdp2-price { font-size: 34px; font-weight: 800; color: #1B1D21; letter-spacing: -1px; line-height: 1; }
      .pdp2-price-unit { font-size: 13px; color: #9AA0A8; margin-top: 4px; }
      .pdp2-stock { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 20px; margin-top: 10px; margin-bottom: 4px; }
      .pdp2-stock.in { background: #EAF4EC; color: #3D7A4E; }
      .pdp2-stock.low { background: #FFF3CD; color: #B7892B; }
      .pdp2-stock.out { background: #FBEEEE; color: #B14A4A; }
      .pdp2-stock-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
      .pdp2-goto-cat { display: block; width: 100%; margin-top: 10px; padding: 10px 16px; background: #F4F4F2; color: #3A3D42; border-radius: 10px; font-size: 13px; font-weight: 600; text-align: center; text-decoration: none; transition: background .15s; }
      .pdp2-goto-cat:hover { background: #EAEAE7; color: #1B1D21; }

      /* Секції всередині aside (border-top дає pdp3-divider) */
      .pdp2-aside-section { }
      .pdp2-aside-section-hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
      .pdp2-aside-section-title { font-size: 13.5px; font-weight: 800; color: #1B1D21; }
      .pdp2-aside-badge { font-size: 12px; font-weight: 700; color: #3D7A4E; background: #EAF4EC; padding: 3px 9px; border-radius: 20px; }

      /* Доставка */
      .pdp2-delivery { border-top: 1px solid #F0F0EC; margin-top: 18px; padding-top: 16px; }
      .pdp2-delivery-row { display: flex; align-items: flex-start; gap: 11px; padding: 11px 0; border-top: 1px solid #F2F2EF; }
      .pdp2-delivery-row:first-child { border-top: none; padding-top: 0; }
      .pdp2-delivery-ico { flex-shrink: 0; width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
      .pdp2-delivery-text { flex: 1; }
      .pdp2-delivery-text b { display: block; font-size: 13.5px; font-weight: 600; color: #1B1D21; }
      .pdp2-delivery-text span { display: block; font-size: 12px; color: #6A6F78; margin-top: 1px; }
      .pdp2-delivery-price { font-size: 13px; font-weight: 700; color: #1B1D21; flex-shrink: 0; align-self: center; }
      .pdp2-delivery-price.free { color: #3D7A4E; font-weight: 800; }

      /* Блок довіри */
      .pdp2-trust { border-top: 1px solid #F0F0EC; margin-top: 18px; padding-top: 16px; display: flex; flex-direction: column; gap: 13px; }
      .pdp2-trust-row { display: flex; gap: 11px; align-items: flex-start; }
      .pdp2-trust-ico { flex-shrink: 0; width: 34px; height: 34px; border-radius: 9px; background: #F4F5F3; display: flex; align-items: center; justify-content: center; color: #6A6F78; }
      .pdp2-trust-text b { display: block; font-size: 13.5px; font-weight: 600; color: #1B1D21; }
      .pdp2-trust-text span { display: block; font-size: 12px; color: #9AA0A8; margin-top: 1px; }

      /* Variants карточка (центральна колонка) */
      .pdp2-variants-card { background: #fff; border: 1px solid #EAEAE7; border-radius: 16px; padding: 18px 20px; }
      .pdp2-variants-label { font-size: 13.5px; font-weight: 700; color: #2B2E33; margin-bottom: 10px; display: block; }
      .pdp2-variants-label span { color: #016AA9; }
      .pdp2-variants-label + .pdp2-variants-label { margin-top: 16px; }
      .pdp2-variant-chips { display: flex; gap: 8px; flex-wrap: wrap; }
      .pdp2-variant-chip { display: flex; flex-direction: column; align-items: center; gap: 1px; border: 1px solid #E2E2DE; border-radius: 11px; padding: 8px 14px; text-decoration: none; color: #2B2E33; transition: border-color 0.15s, color 0.15s; cursor: pointer; white-space: nowrap; font-family: inherit; background: #fff; }
      .pdp2-variant-chip:hover { border-color: #016AA9; color: #016AA9; }
      .pdp2-variant-chip.is-active { border: 1.5px solid #016AA9; background: #F7FAFD; }
      .pdp2-variant-chip-name { font-weight: 700; font-size: 14px; }
      .pdp2-variant-chip-name.is-out { color: #9AA0A8; }
      .pdp2-variant-chip-price { font-size: 11px; color: #9AA0A8; }
      .pdp2-variant-chip.is-active .pdp2-variant-chip-name,
      .pdp2-variant-chip.is-active .pdp2-variant-chip-price { color: #016AA9; }

      /* Ключові характеристики */
      .pdp2-keyspecs { background: #fff; border: 1px solid #EAEAE7; border-radius: 16px; padding: 18px 20px; }
      .pdp2-keyspecs-h { margin: 0 0 4px; font-size: 16px; font-weight: 800; color: #1B1D21; }
      .pdp2-keyspecs-row { padding: 8px 0; border-top: 1px solid #F2F2EF; margin-top: 6px; }
      .pdp2-keyspecs-kv { display: flex; justify-content: space-between; gap: 10px; }
      .pdp2-keyspecs-k { font-size: 13.5px; color: #6A6F78; }
      .pdp2-keyspecs-v { font-size: 13.5px; font-weight: 700; color: #1B1D21; }
      .pdp2-keyspecs-btn { width: 100%; margin-top: 14px; height: 42px; border-radius: 11px; border: 1px solid #E2E2DE; background: #fff; color: #016AA9; font-weight: 600; font-size: 13.5px; display: flex; align-items: center; justify-content: center; gap: 7px; cursor: pointer; font-family: inherit; transition: background 0.15s, border-color 0.15s; text-decoration: none; }
      .pdp2-keyspecs-btn:hover { background: #F7FAFD; border-color: #CFE0F2; }

      /* Короткий опис + Чому варто */
      .pdp2-shortdesc { background: #fff; border: 1px solid #EAEAE7; border-radius: 16px; padding: 18px 20px; }
      .pdp2-shortdesc-h { font-size: 15px; font-weight: 800; color: #1B1D21; margin-bottom: 8px; }
      .pdp2-shortdesc p { font-size: 14px; color: #3A3D42; line-height: 1.55; margin: 0 0 8px; }
      .pdp2-shortdesc-more { font-size: 12px; color: #016AA9; font-weight: 600; }
      .pdp2-why { background: #fff; border: 1px solid #EAEAE7; border-radius: 16px; padding: 18px 20px; }
      .pdp2-why-h { font-size: 15px; font-weight: 800; color: #1B1D21; margin-bottom: 12px; }
      .pdp2-why-grid { display: flex; flex-direction: column; gap: 12px; }
      .pdp2-why-item { display: flex; align-items: flex-start; gap: 11px; }
      .pdp2-why-ico { flex-shrink: 0; width: 30px; height: 30px; border-radius: 8px; background: #EAF1FA; display: flex; align-items: center; justify-content: center; color: #016AA9; }
      .pdp2-why-item b { display: block; font-size: 13.5px; font-weight: 600; color: #1B1D21; }
      .pdp2-why-item span { display: block; font-size: 12px; color: #6A6F78; line-height: 1.4; margin-top: 1px; }

      /* Кнопки кошика — жовтий стиль 2026 */
      .pdp-actions { display: flex; gap: 12px; margin-top: 18px; }
      .pdp-qty { display: flex; align-items: center; gap: 2px; border: 1px solid #E2E2DE; border-radius: 12px; padding: 4px; flex: none; }
      .pdp-qty button { width: 38px; height: 42px; border-radius: 9px; color: #3A3D42; font-size: 20px; display: flex; align-items: center; justify-content: center; border: none; background: none; cursor: pointer; font-family: inherit; transition: background 0.15s; }
      .pdp-qty button:hover { background: #F4F4F2; }
      .pdp-qty input { width: 38px; text-align: center; font-weight: 700; font-size: 16px; border: none; outline: none; background: transparent; font-family: inherit; color: #1B1D21; }
      .pdp-buy { flex: 1; display: flex; align-items: center; justify-content: center; gap: 9px; height: 50px; border-radius: 12px; background: #FFD81F; color: #1B1D21; font-weight: 800; font-size: 15px; border: none; cursor: pointer; font-family: inherit; transition: background 0.15s; }
      .pdp-buy:hover { background: #F2C400; }
      .pdp-buy.is-incart { background: #016AA9; color: #fff; }
      .pdp-buy.is-incart:hover { background: #015B92; }
      .pdp-1click { width: 100%; margin-top: 10px; height: 42px; border-radius: 11px; border: 1.5px solid #016AA9; background: #fff; color: #016AA9; font-weight: 600; font-size: 14px; cursor: pointer; font-family: inherit; transition: background 0.15s; }
      .pdp-1click:hover { background: #F7FAFD; }

      /* Таби — стиль 2026 */
      .pdp-tabs { margin-top: 36px; }
      .pdp-sections { margin-top: 36px; display: flex; flex-direction: column; gap: 0; font-size: 15px; line-height: 1.65; color: #3A3D42; }
      .pdp-tab-card { background: #fff; border: 1px solid #EAEAE7; border-radius: 16px; padding: 26px 30px; margin-bottom: 18px; }
      .pdp-tab-h3 { font-size: 20px; font-weight: 800; color: #1B1D21; margin: 0 0 14px; }
      .pdp-specs { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
      .pdp-specs > div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid #F2F2EF; font-size: 14px; }
      .pdp-specs > div:nth-child(-n+2) { border-top: none; }
      .pdp-specs .k { color: #6A6F78; }
      .pdp-specs .v { color: #1B1D21; font-weight: 600; text-align: right; }
      .pdp-list { padding-left: 20px; color: #3A3D42; line-height: 1.9; }
      .pdp-list li { margin-bottom: 4px; }
      .pdp-list b { color: #1B1D21; }
      .pdp-empty { text-align: center; padding: 36px 16px; color: #9AA0A8; }
      .pdp-empty-icon { font-size: 48px; margin-bottom: 10px; }
      .pdp-empty p { margin-bottom: 16px; }
      .pdp-empty-btn { display: inline-flex; align-items: center; background: #016AA9; color: #fff; font-size: 13px; font-weight: 700; padding: 10px 22px; border-radius: 8px; border: none; cursor: pointer; font-family: inherit; }
      .pdp-empty-btn:hover { background: #015B92; }

      @media (max-width: 980px) {
        .pdp2-wrap { grid-template-columns: 1fr; grid-template-areas: "gallery" "aside" "info"; }
        .pdp2-side { position: static; }
      }
      @media (max-width: 900px) {
        .pdp2-main { aspect-ratio: 4/3; }
        .pdp2-thumbs { grid-template-columns: repeat(5, 1fr); }
        .pdp2-thumb { height: 60px; }
        .pdp2-h1 { font-size: 21px; }
        .pdp2-price { font-size: 26px; }
        .pdp2-meta-actions { margin-left: 0; }
        .pdp-tabs-head { gap: 16px; overflow-x: auto; }
        .pdp-tabs-head button { font-size: 14px; white-space: nowrap; }
        .pdp-tab-card { padding: 18px 16px; }
      }

      /* ========================================================
         PDP v3 — редизайн 2026: 3-колонкова сітка, нові картки,
         buy-box зі степпером і жовтою кнопкою «У кошик».
         Префікс pdp3- щоб не конфліктувати з pdp-* і pdp2-*.
         ======================================================== */

      /* H1-зона: повна ширина над сіткою */
      .pdp3-h1-zone { max-width: 1840px; margin: 0 auto; padding: 4px 24px 0; }
      .pdp3-badge-hit { display: inline-block; font-size: 12px; font-weight: 700; color: #14233A; background: #FFD81F; padding: 4px 9px; border-radius: 7px; margin-bottom: 8px; }
      .pdp3-h1 { margin: 4px 0 0; font-size: 27px; font-weight: 800; letter-spacing: -0.5px; line-height: 1.2; }
      .pdp3-meta-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
      .pdp3-stars { color: #E0A800; font-size: 14px; }
      .pdp3-stars-grey { color: #E2E2DE; }
      .pdp3-rating-text { font-size: 13px; color: #9AA0A8; }

      /* Основна сітка */
      .pdp3-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,0.6fr) 420px; gap: 24px; align-items: start; margin-top: 12px; }
      @media (max-width: 1100px) {
        .pdp3-grid { grid-template-columns: 1fr 1fr; }
        .pdp3-buy-col { grid-column: 1 / -1; position: static; }
      }
      @media (max-width: 900px) {
        .pdp3-grid { grid-template-columns: 1fr; }
        .pdp3-h1 { font-size: 20px; }
      }

      /* Колонка 1: Галерея (без власної рамки — pdp2-main вже має border-radius:16px) */
      .pdp3-gallery { min-width: 0; }

      /* Колонка 2: Середня (VariantPicker + Характеристики) */
      .pdp3-mid { display: flex; flex-direction: column; gap: 16px; }
      .pdp3-mid-card { background: #fff; border: 1px solid #EAEAE7; border-radius: 16px; padding: 18px 20px; }
      .pdp3-mid-card h2 { margin: 0 0 4px; font-size: 16px; font-weight: 800; }

      /* Сховати власну картку та заголовок PdpKeySpecs усередині pdp3-mid-card */
      .pdp3-mid-card .pdp2-keyspecs { background: transparent; border: none; border-radius: 0; padding: 0; margin-top: 8px; }
      .pdp3-mid-card .pdp2-keyspecs-h { display: none; }

      /* Рядки характеристик (для прямого рендеру в pdp3-mid-card) */
      .pdp3-spec-row { display: flex; flex-direction: column; padding: 8px 0; border-top: 1px solid #F2F2EF; }
      .pdp3-spec-row:first-of-type { border-top: none; }
      .pdp3-spec-kv { display: flex; justify-content: space-between; gap: 10px; }
      .pdp3-spec-label { font-size: 13.5px; color: #6A6F78; }
      .pdp3-spec-val { font-size: 13.5px; font-weight: 700; white-space: nowrap; }
      .pdp3-spec-hint { font-size: 11.5px; color: #A6ABB2; margin-top: 3px; }

      /* Кнопка «Повні характеристики» */
      .pdp3-full-specs-btn { width: 100%; margin-top: 14px; height: 42px; border-radius: 11px; border: 1px solid #E2E2DE; background: #fff; color: #016AA9; font-weight: 600; font-size: 13.5px; cursor: pointer; font-family: inherit; display: flex; align-items: center; justify-content: center; gap: 7px; transition: all 0.15s; text-decoration: none; }
      .pdp3-full-specs-btn:hover { background: #F7FAFD; border-color: #CFE0F2; }

      /* Колонка 3: Buy Box (sticky) */
      .pdp3-buy-col { position: sticky; top: 16px; background: #fff; border: 1px solid #EAEAE7; border-radius: 16px; padding: 22px; }
      .pdp3-price-row { display: flex; align-items: baseline; gap: 10px; }
      .pdp3-price { font-size: 34px; font-weight: 800; letter-spacing: -1px; color: #1B1D21; }
      .pdp3-price-old { font-size: 16px; color: #9AA0A8; text-decoration: line-through; }
      .pdp3-savings { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 12.5px; font-weight: 700; color: #B14A4A; background: #FBEEEE; padding: 4px 10px; border-radius: 8px; }
      .pdp3-bonuses { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13px; color: #6A6F78; }
      .pdp3-divider { border-top: 1px solid #F2F2EF; padding-top: 18px; margin-top: 18px; }

      /* Перевизначення pdp-* у контексті pdp3-buy-col: новий стиль степпера і кнопок */
      .pdp3-buy-col .pdp-actions { display: flex; align-items: center; gap: 8px; margin-top: 20px; flex-wrap: nowrap; }
      .pdp3-buy-col .pdp-qty { display: flex; align-items: center; border: 1px solid #E2E2DE; border-radius: 12px; padding: 4px; height: auto; background: #fff; }
      .pdp3-buy-col .pdp-qty button { width: 38px; height: 42px; border-radius: 9px; color: #3A3D42; font-size: 20px; display: flex; align-items: center; justify-content: center; background: none; border: none; cursor: pointer; transition: background 0.1s; }
      .pdp3-buy-col .pdp-qty button:hover { background: #F4F4F2; color: #3A3D42; }
      .pdp3-buy-col .pdp-qty input { width: 38px; border: none; outline: none; text-align: center; font-weight: 700; font-size: 16px; color: #1B1D21; font-family: inherit; background: transparent; }
      .pdp3-buy-col .pdp-buy { flex: 1; height: 50px; background: #FFD81F; color: #1B1D21; border: none; border-radius: 13px; font-size: 16px; font-weight: 800; cursor: pointer; font-family: inherit; transition: background 0.15s; min-width: unset; }
      .pdp3-buy-col .pdp-buy:hover { background: #F2C400; }
      .pdp3-buy-col .pdp-buy.is-incart { background: #016AA9 !important; color: #fff !important; }
      .pdp3-buy-col .pdp-buy.is-incart:hover { background: #015B92 !important; }
      .pdp3-buy-col .pdp-1click { width: 100%; height: 44px; border: 1.5px solid #E2E2DE; border-radius: 11px; background: #fff; color: #3A3D42; font-size: 13.5px; font-weight: 600; cursor: pointer; font-family: inherit; margin-top: 10px; transition: border-color 0.15s; min-width: unset; }
      .pdp3-buy-col .pdp-1click:hover { border-color: #016AA9; color: #016AA9; }
      @media (max-width: 900px) {
        .pdp3-price { font-size: 26px; }
        .pdp3-buy-col .pdp-buy { height: 46px; font-size: 14px; }
      }

      /* ========================================================
         МЕТР АІ — плаваюча кнопка-консультант + випливна панель.
         Контекстний помічник (на сторінці товару — «Консультант з
         товару»). Стиль: темно-синій градієнт-orb зі світінням,
         панель із синім хедером, бульбашки чату, чипи-підказки.
         ======================================================== */
      .ai-fab {
        position: fixed; right: 24px; bottom: 24px; z-index: 60;
        height: 46px; padding: 0 20px 0 7px; border-radius: 23px;
        display: flex; align-items: center; gap: 10px;
        background: linear-gradient(135deg, #0C2A4F 0%, #123E72 60%, #016AA9 100%);
        color: #fff; font-family: inherit; font-weight: 600; font-size: 14px; letter-spacing: .4px;
        border: 1px solid rgba(140,180,230,.22); cursor: pointer;
        box-shadow: 0 8px 26px rgba(12,42,79,.5), inset 0 1px 0 rgba(255,255,255,.14);
        transition: box-shadow .2s, transform .2s;
      }
      .ai-fab:hover { box-shadow: 0 12px 32px rgba(20,90,180,.6), inset 0 1px 0 rgba(255,255,255,.2); transform: translateY(-1px); }
      .ai-fab-orb { position: relative; width: 32px; height: 32px; border-radius: 50%; flex: none;
        background: radial-gradient(circle at 50% 40%, #1C5BA8, #0C2A4F); display: flex; align-items: center; justify-content: center; }
      .ai-fab-orb::before { content: ''; position: absolute; inset: -3px; border-radius: 50%;
        background: radial-gradient(circle, rgba(255,201,38,.5), transparent 68%); animation: aiglow 2.4s ease-in-out infinite; }
      .ai-fab-orb svg { position: relative; z-index: 1; }
      .ai-fab-txt { position: relative; top: -.5px; white-space: nowrap; }
      .ai-fab-txt em { font-style: normal; font-weight: 700; color: #FFD45E; }
      @keyframes aiglow { 0%, 100% { opacity: .55; transform: scale(1); } 50% { opacity: 1; transform: scale(1.14); } }
      @media (max-width: 900px) {
        .ai-fab {
          bottom: calc(60px + env(safe-area-inset-bottom, 0)); right: 14px;
          width: 52px; height: 52px; border-radius: 50%; padding: 0;
        }
        .ai-fab-txt { display: none; }
        .ai-fab-orb { width: 52px; height: 52px; border-radius: 50%; }
      }

      .ai-panel {
        position: fixed; right: 24px; bottom: 90px; z-index: 60;
        width: 380px; max-width: calc(100vw - 48px);
        background: #fff; border: 1px solid #E4E6EA; border-radius: 18px; overflow: hidden;
        box-shadow: 0 20px 60px rgba(10,25,50,.28);
        display: flex; flex-direction: column; max-height: min(620px, calc(100vh - 120px));
        animation: ai-pop .2s cubic-bezier(.2,.8,.2,1);
      }
      @keyframes ai-pop { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
      @media (max-width: 900px) { .ai-panel { right: 12px; left: 12px; width: auto; bottom: calc(110px + env(safe-area-inset-bottom, 0)); } }
      .ai-head { display: flex; align-items: center; gap: 10px; padding: 16px 18px; background: linear-gradient(120deg, #1E5191, #016AA9); flex: none; }
      .ai-head-ico { width: 32px; height: 32px; border-radius: 9px; background: rgba(255,255,255,0.18); display: flex; align-items: center; justify-content: center; flex: none; }
      .ai-head-meta { flex: 1; min-width: 0; }
      .ai-head-title { color: #fff; font-weight: 800; font-size: 15px; display: flex; align-items: center; gap: 7px; }
      .ai-head-beta { font-size: 10px; font-weight: 700; color: #14233A; background: #FFD81F; padding: 2px 6px; border-radius: 5px; }
      .ai-head-sub { color: #BFD4EC; font-size: 11.5px; margin-top: 1px; }
      .ai-head-close { width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff; background: transparent; border: none; cursor: pointer; flex: none; transition: background .15s; }
      .ai-head-close:hover { background: rgba(255,255,255,0.15); }

      .ai-body { padding: 16px 18px; overflow-y: auto; flex: 1; display: flex; flex-direction: column; gap: 14px; }
      .ai-msg { display: flex; gap: 11px; }
      .ai-msg-ava { width: 30px; height: 30px; border-radius: 8px; background: #EAF1FA; display: flex; align-items: center; justify-content: center; flex: none; }
      .ai-msg-col { display: flex; flex-direction: column; gap: 8px; min-width: 0; flex: 1; }
      .ai-msg-bubble { background: #F4F6F9; border-radius: 12px; border-top-left-radius: 3px; padding: 12px 14px; font-size: 13.5px; line-height: 1.55; color: #3A3D42; }
      .ai-msg-bubble b { color: #1B1D21; }
      .ai-msg.is-user { flex-direction: row-reverse; }
      .ai-msg.is-user .ai-msg-bubble { background: #016AA9; color: #fff; border-radius: 12px; border-top-right-radius: 3px; border-top-left-radius: 12px; }
      .ai-msg.is-user .ai-msg-ava { background: #EDEFF2; }
      .ai-cart-btn { display: flex; align-items: center; gap: 8px; background: #FFD81F; color: #1B1D21; border: none; border-radius: 10px; padding: 10px 14px; font-size: 13px; font-weight: 700; cursor: pointer; transition: background 0.15s; font-family: inherit; }
      .ai-cart-btn:hover { background: #F5C800; }
      .ai-added-msg { text-align: center; font-size: 12px; color: #3D7A4E; font-weight: 600; padding: 4px 0 6px; }
      .ai-chips { display: flex; flex-wrap: wrap; gap: 8px; }
      .ai-chip { font-size: 12.5px; font-weight: 600; color: #016AA9; border: 1px solid #CFE0F2; border-radius: 18px; padding: 7px 13px; cursor: pointer; background: #fff; font-family: inherit; transition: background .15s, border-color .15s; }
      .ai-chip:hover { background: #EAF1FA; border-color: #016AA9; }
      .ai-typing { display: inline-flex; gap: 4px; align-items: center; padding: 2px 0; }
      .ai-typing span { width: 6px; height: 6px; border-radius: 50%; background: #9AA0A8; animation: ai-blink 1.2s infinite both; }
      .ai-typing span:nth-child(2) { animation-delay: .2s; }
      .ai-typing span:nth-child(3) { animation-delay: .4s; }
      @keyframes ai-blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }

      .ai-foot { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-top: 1px solid #F0F0EC; flex: none; }
      .ai-input { flex: 1; height: 42px; border: 1px solid #E2E2DE; border-radius: 11px; padding: 0 14px; font-size: 13.5px; font-family: inherit; outline: none; color: #1B1D21; transition: border-color .15s; }
      .ai-input:focus { border-color: #016AA9; }
      .ai-send { width: 42px; height: 42px; border-radius: 11px; background: #016AA9; display: flex; align-items: center; justify-content: center; flex: none; border: none; cursor: pointer; transition: background .15s; }
      .ai-send:hover { background: #015B92; }
      .ai-send:disabled { background: #C7CDD3; cursor: not-allowed; }
      .ai-disclaimer { text-align: center; font-size: 10.5px; color: #B5B8BC; padding: 0 0 10px; flex: none; }

      /* Account cabinet 2026 */
      .account-layout { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: start; }
      .account-sidebar { position: sticky; top: 76px; display: flex; flex-direction: column; gap: 14px; }
      .account-nav-item { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px; cursor: pointer; font-size: 14px; font-weight: 600; color: #3A3D42; background: transparent; border: none; width: 100%; text-align: left; font-family: inherit; text-decoration: none; transition: background 0.12s; }
      .account-nav-item:hover { background: #F4F6F9; }
      .account-nav-item.is-active { background: #EAF1FA; color: #016AA9; font-weight: 700; }
      .account-nav-item.is-danger { color: #B14A4A; }
      .account-nav-item.is-danger:hover { background: #FBF1F1; }
      .account-nav-divider { border: none; border-top: 1px solid #F0F0EC; margin: 6px 8px; }

    