/* МалятаМаркет — редизайн 2026-11 (мінімалізм у дусі Zara Kids / H&M).
   Шар поверх старих стилів: підключається останнім, тому використовує `html body` і !important
   там, де старі правила вже мають !important. */

html body {
  --z-ink: #000000; --z-soft: #5C5C5C; --z-line: #EBEBEB; --z-bg: #FFFFFF; --z-tile: #F5F5F3;
  font-family: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif !important;
  background: var(--z-bg) !important; color: var(--z-ink) !important;
}
html body h1, html body h2, html body h3, html body .grid-title, html body .card-price, html body .modal h2 {
  font-family: 'Inter Tight', system-ui, sans-serif !important; letter-spacing: -0.01em !important;
}
html body h1, html body h2 { font-weight: 400 !important; }

/* ---------- шапка ---------- */
html body .site-header { background: #FFFFFF !important; box-shadow: none !important; border-bottom: 1px solid var(--z-line) !important; }
html body .logo-mascot { display: none !important; }
html body .logo { font-family: 'Inter Tight', sans-serif !important; font-size: 19px !important; font-weight: 400 !important; letter-spacing: 0.5px !important; color: var(--z-ink) !important; }
html body .logo span { color: inherit !important; margin-left: .28em; }
html body .nav-icon-item { color: var(--z-ink) !important; background: transparent !important; box-shadow: none !important; border-radius: 0 !important; }
html body .nav-icon svg { stroke-width: 1.3 !important; }
html body .nav-badge { background: var(--z-ink) !important; color: #FFFFFF !important; box-shadow: none !important; }

/* ---------- старий банер: лишаємо пошук і каталог, прибираємо решту ---------- */
html body #winterBar, html body #heroCollage, html body .mm-season-band, html body .mm-season-hol,
html body canvas.mm-season-fx, html body .wg-tree, html body .wg-snow-canvas, html body .wg-toys,
html body #winterGifts, html body .hero-banner-text > h1, html body .hero-banner-text > p,
html body .hero-banner-text > .mm-eyebrow, html body .shop-perks { display: none !important; }
html body .hero-banner { background: #FFFFFF !important; box-shadow: none !important; border-radius: 0 !important; padding-top: 12px !important; padding-bottom: 12px !important; min-height: 0 !important; }
html body .search-field { border: 0 !important; border-bottom: 1px solid var(--z-ink) !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }
html body .btn-search, html body .mega-open { background: var(--z-ink) !important; color: #FFFFFF !important; border-radius: 0 !important; box-shadow: none !important; }

/* ---------- кнопки й поля ---------- */
html body #pvBuy, html body #cartGo, html body #oSend, html body #doneOk, html body .more-btn, html body #cartEmptyGo {
  background: var(--z-ink) !important; color: #FFFFFF !important; border-radius: 0 !important; box-shadow: none !important; font-weight: 500 !important; letter-spacing: 0 !important;
}
html body .st-btn, html body .card-add, html body .up-add, html body #cartCont, html body #oBack {
  border-radius: 0 !important; box-shadow: none !important;
}
html body input[type="text"], html body input[type="tel"], html body input[type="search"], html body textarea, html body select {
  border-radius: 0 !important;
}

/* ---------- категорії й картки товарів ---------- */
html body .cat-tile, html body .m-tile { border-radius: 0 !important; box-shadow: none !important; background: #FFFFFF !important; border: 0 !important; border-bottom: 1px solid var(--z-line) !important; }
html body .listing-card { border-radius: 0 !important; box-shadow: none !important; border: 0 !important; background: transparent !important; }
html body .listing-card .card-media { border-radius: 0 !important; background: var(--z-tile) !important; }
html body .listing-card .card-media img { mix-blend-mode: multiply; }
html body #grid .card-price { color: var(--z-ink) !important; font-weight: 400 !important; font-size: 15px !important; }
html body #grid .card-title { color: var(--z-ink) !important; font-weight: 400 !important; }
html body .card-type-badge { border-radius: 0 !important; background: #FFFFFF !important; color: var(--z-ink) !important; box-shadow: none !important; }
html body .mm-sale { background: transparent !important; color: #B42318 !important; padding: 0 !important; }
html body .card-heart-btn { background: transparent !important; box-shadow: none !important; }

/* ---------- вікна товару, кошика й оформлення ---------- */
html body #pvPrice { color: var(--z-ink) !important; font-weight: 400 !important; font-size: 22px !important; }
html body [role="dialog"], html body .modal { border-radius: 0 !important; }

/* ---------- святковий банер-лист (assets/letter.js) ---------- */
.mm-letter { position: relative; overflow: hidden; background: var(--l-bg); color: var(--l-ink); font-family: 'Inter Tight', system-ui, sans-serif; }
.mm-letter[hidden] { display: none; }
.mm-letter .ml-photo { display: block; width: 100%; height: 280px; object-fit: cover; }
.mm-letter .ml-inner { position: relative; max-width: 1360px; margin: 0 auto; padding: 36px 20px 32px; display: flex; flex-wrap: wrap; gap: 28px 72px; align-items: center; }
.mm-letter .ml-text { flex: 1 1 320px; min-width: 0; max-width: 560px; }
.mm-letter .ml-eyebrow { margin: 0 0 8px; font-size: 12px; letter-spacing: .5px; color: var(--l-soft); }
.mm-letter .ml-title { margin: 0; font-size: clamp(28px, 4.4vw, 56px); line-height: 1.06; font-weight: 300 !important; letter-spacing: -0.03em !important; color: inherit; }
.mm-letter .ml-sub { margin: 12px 0 0; font-size: 15px; line-height: 1.5; color: var(--l-soft); max-width: 440px; }
.mm-letter .ml-cta { margin-top: 24px; display: inline-flex; align-items: center; justify-content: space-between; gap: 36px; min-height: 52px; padding: 0 20px; border: 0; border-radius: 0; background: var(--l-btn); color: var(--l-btn-ink); font: 500 14px 'Inter Tight', sans-serif; cursor: pointer; }
.mm-letter .ml-cta:disabled { opacity: .5; cursor: default; }
.mm-letter .ml-foot { margin: 12px 0 0; font-size: 12px; color: var(--l-soft); }
.mm-letter .ml-paper { flex: 1 1 320px; min-width: 0; max-width: 480px; margin-left: auto; position: relative; background: var(--l-paper); color: #1B1B1B; padding: 22px 20px 18px; transform: rotate(-1.5deg); box-shadow: 0 18px 40px rgba(0, 0, 0, .28); }
.mm-letter .ml-paper::before { content: ''; position: absolute; top: -10px; left: 50%; margin-left: -34px; width: 68px; height: 20px; background: #D9CDB4; opacity: .9; transform: rotate(3deg); }
html body #mmLetter .ml-note, html body #mmLetter .ml-name, html body #mmLetter .ml-sign { font-family: 'Caveat', cursive !important; color: var(--l-pen); }
.mm-letter .ml-note { margin: 0 0 12px; font-size: 27px; line-height: 1.1; }
.mm-letter .ml-list { list-style: none; margin: 0; padding: 0; }
.mm-letter .ml-list li { border-bottom: 1px solid #E4DDD0; }
.mm-letter .ml-row { display: grid; grid-template-columns: 28px 56px 1fr auto; align-items: center; gap: 10px; min-height: 64px; cursor: pointer; }
.mm-letter .ml-row input { width: 22px; height: 22px; margin: 0; accent-color: var(--l-bg); }
.mm-letter .ml-row img { width: 56px; height: 56px; object-fit: contain; mix-blend-mode: multiply; }
.mm-letter .ml-name { font-size: 22px; line-height: 1.05; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mm-letter .ml-name.is-off { text-decoration: line-through; opacity: .6; }
.mm-letter .ml-price { font-size: 13px; white-space: nowrap; }
.mm-letter .ml-more { display: block; margin: -6px 0 8px 38px; padding: 6px 0; border: 0; background: none; font: 12px 'Inter Tight', sans-serif; color: #5C5C5C; text-decoration: underline; cursor: pointer; }
.mm-letter .ml-sign { margin: 12px 0 0; font-size: 22px; text-align: right; }
.mm-letter .vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mm-letter.is-night { background-image: radial-gradient(2px 2px at 9% 6%, #FFF 50%, transparent 51%), radial-gradient(2px 2px at 77% 9%, #FFF 50%, transparent 51%), radial-gradient(1.5px 1.5px at 54% 4%, #C9D3EA 50%, transparent 51%), radial-gradient(2px 2px at 91% 27%, #FFF 50%, transparent 51%), radial-gradient(1.5px 1.5px at 31% 16%, #C9D3EA 50%, transparent 51%), radial-gradient(2px 2px at 4% 66%, #FFF 50%, transparent 51%); }
.mm-letter.is-flag::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 12px; background: linear-gradient(#0057B7 50%, #FFD500 50%); }
.mm-letter :focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
html body #mmLetter .ml-eyebrow, html body #mmLetter .ml-title, html body #mmLetter .ml-sub, html body #mmLetter .ml-foot { color: var(--l-soft) !important; }
html body #mmLetter .ml-title { color: var(--l-ink) !important; }
html body #mmLetter .ml-paper, html body #mmLetter .ml-price { color: #1B1B1B !important; }
html body #mmLetter .ml-cta { background: var(--l-btn) !important; color: var(--l-btn-ink) !important; }
@media (min-width: 900px) {
  .mm-letter.has-photo .ml-photo { position: absolute; right: 0; top: 0; width: 50%; height: 100%; }
  .mm-letter .ml-inner { padding: 80px 40px 88px; }
}
@media (prefers-reduced-motion: reduce) { .mm-letter .ml-paper { transform: none; } }

/* ---------- банер cookie, пошук на телефоні ---------- */
html body .mmc-yes { background: #000000 !important; color: #FFFFFF !important; border-color: #000000 !important; border-radius: 0 !important; }
html body .mmc-no { background: #FFFFFF !important; color: #000000 !important; border-color: #000000 !important; border-radius: 0 !important; }
html body .shop-search, html body .search-form { box-shadow: none !important; border-radius: 0 !important; background: transparent !important; }

/* ================= v2: логіка розміщення (2026-11-25) ================= */
/* Шапка: ☰ · назва · обране · профіль · кошик. Нижню панель на телефоні прибрано. */
.hdr-menu { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 0; background: transparent; color: #000; padding: 0; margin-right: 2px; cursor: pointer; }
@media (max-width: 899px) {
  html body .hdr-menu { display: inline-flex; }
  html body #headerNavIcons { display: flex !important; gap: 0 !important; margin-left: auto !important; }
  html body #headerNavIcons .nav-icon-label { display: none !important; }
  html body #headerNavIcons .nav-icon-item { width: 44px !important; height: 44px !important; min-width: 0 !important; padding: 0 !important; }
  html body #mTabbar { display: none !important; }
  html body .mega-open { display: none !important; }
  html body .hero-banner { padding: 4px 16px 8px !important; }
}
@media (min-width: 900px) {
  html body .hero-banner .mega { display: none !important; }
}

/* Категорії — тонкий рядок вкладок із прокруткою вбік */
@media (max-width: 899px) { html body #mCats:not([hidden]) { display: block !important; padding: 0 16px !important; margin: 0 !important; border-bottom: 1px solid var(--z-line) !important; scrollbar-width: none; grid-template-columns: none !important; } }
html body #mCats::-webkit-scrollbar { display: none; }
html body #mCats .m-tile { flex: none !important; width: auto !important; min-height: 44px !important; height: auto !important; padding: 0 !important; margin: 0 !important; border: 0 !important; background: transparent !important; display: inline-flex !important; flex-direction: row !important; align-items: center !important; gap: 6px !important; aspect-ratio: auto !important; }
html body #mCats .m-tile .im, html body #mCats .m-tile img, html body #mCats .m-tile svg { display: none !important; }
html body #mCats .m-tile, html body #mCats .m-tile * { font-size: 12px !important; letter-spacing: .6px !important; text-transform: uppercase !important; color: #000 !important; font-weight: 400 !important; white-space: nowrap !important; }
@media (max-width: 899px) { html body .categories-section { margin: 0 !important; padding: 0 !important; background: transparent !important; } }
@media (min-width: 900px) { html body #mCats { display: none !important; } }

/* Банер-лист компактніший на телефоні */
@media (max-width: 899px) {
  html body #mmLetter .ml-inner { padding: 22px 16px 24px !important; gap: 18px !important; }
  html body #mmLetter .ml-title { font-size: 26px !important; }
  html body #mmLetter .ml-sub { font-size: 14px !important; margin-top: 8px !important; }
  html body #mmLetter .ml-cta { margin-top: 16px !important; width: 100%; }
  html body #mmLetter .ml-foot { display: none; }
  html body #mmLetter .ml-paper { padding: 16px 14px 12px !important; }
  html body #mmLetter .ml-note { font-size: 22px !important; margin-bottom: 6px !important; }
  html body #mmLetter .ml-row { min-height: 52px; grid-template-columns: 26px 44px 1fr auto; }
  html body #mmLetter .ml-row img { width: 44px; height: 44px; }
  html body #mmLetter .ml-name { font-size: 19px !important; }
}

/* Сітка товарів: фото · назва · ціна · ♡; кошик — «+» у куті фото */
html body #grid .listing-card { padding: 0 !important; border-radius: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important; transform: none !important; animation: none !important; }
html body #grid .listing-card:hover { box-shadow: none !important; transform: none !important; }
html body #grid .card-media { border-radius: 0 !important; background: var(--z-tile) !important; }
html body #grid .listing-card:hover .card-media img { transform: none !important; }
html body #grid .card-body { padding: 10px 2px 0 !important; }
html body #grid .card-title { order: 1; font-size: 14px !important; line-height: 1.35 !important; font-weight: 400 !important; color: #000 !important; min-height: 0 !important; }
html body #grid .card-price { font-size: 14px !important; font-weight: 400 !important; color: #000 !important; }
html body #grid .card-vendor { display: none !important; }
html body #grid .card-add { width: 36px !important; height: 36px !important; border-radius: 0 !important; background: #FFFFFF !important; color: #000 !important; border: 1px solid #000 !important; box-shadow: none !important; }
html body #grid .card-add.in { background: #000 !important; color: #FFF !important; }
html body #grid .card-heart-btn { background: transparent !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; box-shadow: none !important; border-radius: 0 !important; color: #000 !important; }
html body #grid .card-heart-btn.active { color: #000 !important; }
html body #grid .card-heart-btn.active svg { fill: currentColor; }
html body #grid .card-type-badge { border-radius: 0 !important; background: #FFF !important; color: #000 !important; box-shadow: none !important; font-weight: 400 !important; }
html body #grid .mm-sale { background: transparent !important; color: #B42318 !important; padding: 0 !important; font-weight: 400 !important; }

/* Сортування й фільтр — тонкий рядок */
html body .shop-tools { gap: 8px !important; }
html body .st-btn { border-radius: 0 !important; border: 1px solid #D9D9D9 !important; background: #FFF !important; box-shadow: none !important; color: #000 !important; }
html body .st-btn svg, html body .st-btn .ic { color: #000 !important; stroke: currentColor !important; }
html body .st-btn * { color: #000 !important; }
html body .grid-title { font-weight: 400 !important; font-size: 20px !important; background: none !important; }
html body .grid-title::after, html body .grid-title::before { display: none !important; }
html body .mm-feed-eyebrow { display: none !important; }

/* Чат — ліворуч унизу, щоб не перекривати кнопки кошика в правій колонці */
@media (max-width: 899px) { html body #aiFab { left: 16px !important; right: auto !important; bottom: 16px !important; width: 44px !important; height: 44px !important; background: #000 !important; color: #FFF !important; box-shadow: none !important; border-radius: 0 !important; } }
html body #shopSearchForm { border: 0 !important; border-bottom: 1px solid #000 !important; border-radius: 0 !important; box-shadow: none !important; background: transparent !important; }
html body #shopSearchForm .search-field { border: 0 !important; padding-left: 0 !important; }
html body #mCats .m-tiles { display: flex !important; flex-wrap: nowrap !important; gap: 22px !important; overflow-x: auto !important; scrollbar-width: none; }
html body #mCats .m-tiles::-webkit-scrollbar { display: none; }
html body #mCats .m-tile small { display: none !important; }
html body #mCats .m-tile b { display: inline !important; min-height: 0 !important; -webkit-line-clamp: unset !important; overflow: visible !important; text-align: left !important; }

/* Категорії на компʼютері — той самий рядок вкладок (#catRow) */
@media (min-width: 1025px) {
  html body .main-layout .categories-section { display: block !important; padding: 8px 0 0 !important; }
  html body #catRow { display: flex !important; flex-wrap: wrap !important; gap: 4px 28px !important; padding: 0 0 2px !important; margin: 0 0 8px !important; border-bottom: 1px solid var(--z-line) !important; grid-template-columns: none !important; overflow: visible !important; }
  html body #catRow .cat-tile { flex: none !important; width: auto !important; height: auto !important; min-height: 44px !important; padding: 0 !important; margin: 0 !important; border: 0 !important; border-bottom: 1.5px solid transparent !important; background: transparent !important; box-shadow: none !important; display: inline-flex !important; flex-direction: row !important; align-items: center !important; aspect-ratio: auto !important; transform: none !important; }
  html body #catRow .cat-tile .cat-tile-icon { display: none !important; }
  html body #catRow .cat-tile, html body #catRow .cat-tile * { font-size: 12px !important; letter-spacing: .6px !important; text-transform: uppercase !important; color: #000 !important; font-weight: 400 !important; white-space: nowrap !important; }
  html body #catRow .cat-tile:hover, html body #catRow .cat-tile.active, html body #catRow .cat-tile[aria-pressed="true"] { border-bottom-color: #000 !important; }
}
@media (min-width: 1025px) {
  html body #catRow { justify-content: flex-start !important; }
  html body #shopSearchForm { min-width: 460px !important; }
}
html body #qGo { border-radius: 0 !important; box-shadow: none !important; }

/* ================= v3: каталог товарів (меню ☰, розділи категорії, бічне меню) ================= */
/* Банер-лист лише на головній без обраної категорії */
html body.mm-cat-on #mmLetter { display: none !important; }

/* Меню-шухляда «Каталог товарів» (#mdrawer) */
html body #mdrawer { background: rgba(0, 0, 0, .35) !important; }
html body #mdrawer .mdrawer-box { border-radius: 0 !important; background: #FFFFFF !important; box-shadow: none !important; }
html body #mdrawer .mdrawer-head { border-bottom: 1px solid var(--z-line) !important; background: #FFFFFF !important; padding-top: 6px !important; padding-bottom: 6px !important; }
html body #mdrawer .mdrawer-head b { font-size: 12px !important; font-weight: 500 !important; letter-spacing: 1px !important; text-transform: uppercase !important; color: #000 !important; }
html body #mdrawer .mdrawer-x, html body #mdrawer .mdrawer-back { background: transparent !important; border-radius: 0 !important; color: #000 !important; box-shadow: none !important; }
html body .mega-item { border-radius: 0 !important; background: transparent !important; border: 0 !important; border-bottom: 1px solid var(--z-line) !important; box-shadow: none !important; min-height: 52px !important; padding: 10px 4px !important; }
html body .mega-item .ic { display: none !important; }
html body .mega-item .nm { font-size: 15px !important; font-weight: 300 !important; color: #000 !important; line-height: 1.3 !important; }
html body .mega-item .nm small { font-size: 12px !important; color: var(--z-soft) !important; font-weight: 400 !important; }
html body .mega-item .ar { color: #000 !important; }
html body .mega-item:hover, html body .mega-item.on, html body .mega-item[aria-expanded="true"] { background: #F7F7F7 !important; }
html body .mp-sub, html body .mp-all, html body .mp-prod { border-radius: 0 !important; box-shadow: none !important; }

/* Розділи категорії на телефоні (#mCats .m-list) */
html body #mCats .m-list { border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; padding: 0 !important; margin: 0 0 8px !important; }
html body #mCats .m-row { border-radius: 0 !important; background: transparent !important; border: 0 !important; border-bottom: 1px solid var(--z-line) !important; min-height: 48px !important; padding: 0 2px !important; color: #000 !important; font-size: 14px !important; font-weight: 300 !important; box-shadow: none !important; }
html body #mCats .m-row small { color: var(--z-soft) !important; font-size: 12px !important; font-weight: 400 !important; background: transparent !important; }
html body #mCats .m-row.on, html body #mCats .m-row.all.on { font-weight: 500 !important; background: transparent !important; color: #000 !important; box-shadow: inset 2px 0 0 #000 !important; padding-left: 10px !important; }
html body #mCats .m-row.back { font-size: 12px !important; letter-spacing: .6px !important; text-transform: uppercase !important; color: #000 !important; font-weight: 400 !important; }
html body #mCats .m-row.back span { color: #000 !important; }
html body #mCats .m-crumb { color: var(--z-soft) !important; font-size: 12px !important; }

/* Бічне меню категорій (планшет; компʼютер, коли обрано категорію) */
html body .sidebar-categories { border-radius: 0 !important; background: transparent !important; box-shadow: none !important; border: 0 !important; }
html body .sidebar-categories::before { color: #000 !important; font-weight: 500 !important; letter-spacing: 1px !important; }
html body .sidebar-cat-item { border-radius: 0 !important; background: transparent !important; box-shadow: none !important; border: 0 !important; border-bottom: 1px solid var(--z-line) !important; color: #000 !important; font-weight: 300 !important; font-size: 14px !important; min-height: 44px !important; }
html body .sidebar-cat-item .icon, html body .sidebar-cat-item svg, html body .sidebar-cat-item .cat-tile-icon { display: none !important; }
html body .sidebar-cat-item.active, html body .sidebar-cat-item[aria-current="true"], html body .sidebar-cat-item.on { background: transparent !important; color: #000 !important; font-weight: 500 !important; box-shadow: inset 2px 0 0 #000 !important; }
html body .cat-flyout { border-radius: 0 !important; box-shadow: 0 10px 30px rgba(0,0,0,.08) !important; border: 1px solid var(--z-line) !important; }
html body .sidebar-cat-item .sidebar-cat-icon { display: none !important; }
html body .sidebar-cat-item::after, html body .sidebar-cat-item.active::after { color: #000 !important; }
html body .sb-arrow { color: #000 !important; }
/* Компʼютер: на головній — рядок вкладок; у категорії — бічне меню з підрозділами, без дубля вкладок */
@media (min-width: 1025px) { html body.mm-cat-on .main-layout .categories-section { display: none !important; } }
/* Блоки під каталогом — у тому ж стилі */
html body .mm-eyebrow { color: var(--z-soft) !important; }
html body .how-head svg, html body .how-head::after, html body .faq-head svg, html body .faq-head::after { display: none !important; }
html body .how-card, html body .faq-item, html body .terms-grid > * { border-radius: 0 !important; box-shadow: none !important; background: #FFFFFF !important; border: 0 !important; border-top: 1px solid var(--z-line) !important; }

/* Чат на телефоні — у меню ☰ (кнопка «Допомога» внизу шухляди), а не поверх товарів */
@media (max-width: 899px) { html body #aiFab { display: none !important; } }
html body .md-help { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 52px; padding: 0 16px; border: 0; border-top: 1px solid var(--z-line); background: #FFFFFF; font: 400 15px 'Inter Tight', sans-serif; color: #000; cursor: pointer; }
@media (min-width: 900px) { html body .md-help { display: none; } }

/* Анімований логотип-ведмедик */
html body .logo-anim { flex: none; width: 50px; height: 42px; margin-right: 6px; overflow: hidden; background: #FFF; }
html body .logo-anim .logo-vid { display: block; width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 899px) { html body .logo-anim { width: 44px; height: 38px; margin-right: 4px; } }
@media (prefers-reduced-motion: reduce) { html body .logo-anim .logo-vid { display: none; } html body .logo-anim { background: url(/img/logo-bear.webp) center/cover no-repeat; } }
@media (max-width: 899px) {
  html body .logo { font-size: 17px !important; letter-spacing: 0 !important; white-space: nowrap !important; overflow: visible !important; text-overflow: clip !important; }
  html body #headerNavIcons .nav-icon-item { width: 40px !important; }
  html body .hdr-menu { width: 40px; margin-right: 0; }
}
/* Телефон: у шапці лише ♡ і кошик; профіль/адмінка — у меню на сторінці профілю. Назва не обрізається. */
@media (max-width: 899px) {
  html body #headerNavIcons > *:not(#favBtn):not(#cartBtn) { display: none !important; }
  html body .site-header .header-inner, html body .site-header .logo-wrap, html body #headerNavIcons { align-items: center !important; }
  html body .logo-wrap { min-width: 0; flex: 1 1 auto; display: flex !important; align-items: center !important; }
  html body .logo { flex: none; }
}
@media (max-width: 899px) {
  html body #headerNavIcons { align-self: center !important; height: 44px !important; margin-top: 0 !important; margin-bottom: 0 !important; }
  html body #headerNavIcons .nav-icon-item { display: inline-flex !important; align-items: center !important; justify-content: center !important; flex-direction: row !important; height: 44px !important; margin: 0 !important; }
  html body #headerNavIcons .nav-icon { margin: 0 !important; }
}

/* ---------- фільтр «Вік» із ШІ (assets/age.js) ---------- */
.mm-age { margin: 4px 0 14px; }
.mm-age .ma-ask { display: flex; gap: 0; border-bottom: 1px solid #000; }
.mm-age .ma-in { flex: 1; min-width: 0; height: 46px; border: 0 !important; background: transparent; font: 400 15px 'Inter Tight', sans-serif; color: #000; padding: 0; outline-offset: 2px; }
.mm-age .ma-go { flex: none; height: 46px; padding: 0 16px; border: 0; background: #000; color: #FFF; font: 500 14px 'Inter Tight', sans-serif; cursor: pointer; }
.mm-age .ma-go:disabled { opacity: .5; }
.mm-age .ma-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 12px 0 2px; }
.mm-age .ma-chips::-webkit-scrollbar { display: none; }
.mm-age .ma-chip { flex: none; height: 36px; padding: 0 14px; border: 1px solid #D9D9D9; background: #FFF; color: #000; font: 400 13px 'Inter Tight', sans-serif; cursor: pointer; border-radius: 0; }
.mm-age .ma-chip[aria-pressed="true"] { background: #000; color: #FFF; border-color: #000; }
.mm-age .ma-note { margin: 10px 0 0; font-size: 13px; color: #3D3D3D; }
.mm-age .ma-reset { border: 0; background: none; padding: 0 0 0 6px; font: inherit; text-decoration: underline; cursor: pointer; color: #000; }
.mm-age .vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 899px) { .mm-age { padding: 0 16px; } }
/* Поле «Кому подарунок?»: без синьої рамки фокусу — фокус показує товста нижня лінія (як у пошуку) */
html body .mm-age .ma-ask, html body .mm-age .ma-ask:focus-within, html body .mm-age .ma-in, html body .mm-age .ma-in:focus, html body .mm-age .ma-in:focus-visible { outline: none !important; box-shadow: none !important; border-top: 0 !important; border-left: 0 !important; border-right: 0 !important; }
html body .mm-age .ma-in, html body .mm-age .ma-in:focus { border-bottom: 0 !important; background: transparent !important; }
html body .mm-age .ma-ask { border-bottom: 1px solid #000 !important; transition: border-width .15s; }
html body .mm-age .ma-ask:focus-within { border-bottom: 2px solid #000 !important; }
/* Пошук: одна лупа, без рамки при фокусі */
html body #shopSearchForm .search-icon { background: none !important; color: #000 !important; width: 20px !important; height: 20px !important; }
html body #shopSearchForm .search-icon svg { width: 20px !important; height: 20px !important; }
html body #shopSearchForm, html body #shopSearchForm:focus-within, html body #shopSearchForm .search-field, html body #shopSearchForm .search-field:focus-within, html body #shopSearchForm #q, html body #shopSearchForm #q:focus, html body #shopSearchForm #q:focus-visible { outline: none !important; box-shadow: none !important; border-color: transparent !important; background: transparent !important; }
html body #shopSearchForm { border-bottom: 1px solid #000 !important; transition: border-width .15s; }
html body #shopSearchForm:focus-within { border-bottom: 2px solid #000 !important; }
/* Підказки пошуку */
html body #shopSearchForm { position: relative !important; overflow: visible !important; }
.mm-sug { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 60; background: #fff; border: 1px solid #e6e6e6; box-shadow: 0 8px 24px rgba(0,0,0,.06); max-height: min(70vh, 480px); overflow-y: auto; padding: 8px 0; font-family: "Inter Tight", system-ui, sans-serif; text-align: left; }
.mm-sug[hidden] { display: none; }
.mm-sug .sg-h { padding: 8px 16px 4px; font-size: 12px; color: #8a8a8a; }
.mm-sug .sg-row { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 40px; border: 0; background: none; color: #000; font: inherit; font-size: 14px; font-weight: 400; padding: 6px 16px; text-align: left; cursor: pointer; }
.mm-sug .sg-row:hover, .mm-sug .sg-row.on, .mm-sug .sg-all:hover, .mm-sug .sg-all.on { background: #f5f5f5; }
.mm-sug .sg-row > svg { width: 16px; height: 16px; flex: none; color: #8a8a8a; }
.mm-sug .sg-row span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mm-sug .sg-kw b { font-weight: 600; }
.mm-sug .sg-row small { color: #8a8a8a; font-size: 12px; }
.mm-sug .sg-sep { height: 1px; background: #eee; margin: 6px 16px; }
.mm-sug .sg-prod img, .mm-sug .sg-prod i { width: 40px; height: 40px; object-fit: contain; flex: none; background: #f5f5f5; }
.mm-sug .sg-prod b { font-weight: 500; font-size: 13px; white-space: nowrap; }
.mm-sug .sg-all { display: block; width: 100%; border: 0; background: none; color: #000; font: inherit; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; padding: 10px 16px 6px; text-align: left; cursor: pointer; }
.mm-sug .sg-empty { padding: 8px 16px; font-size: 14px; color: #555; }
.mm-sug .sg-chips { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 4px 16px 8px; }
.mm-sug .sg-chip { border: 0; background: none; padding: 4px 0; font: inherit; font-size: 14px; color: #000; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.mm-sug button:focus-visible { outline: 2px solid #000; outline-offset: -2px; }
