/* AESTHERA desktop (≥1024px). Same tokens and base components as r1.css; only layouts differ.
   Loaded with media="(min-width: 1024px)" — nothing here touches the phone. */
:root { --wrap: 1440px; --gx: 32px; }
body { padding-bottom: 0; }
.tabbar, .top, .sbar, .buybar--m, .ph--search { display: none !important; }
main { max-width: none; margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gx); }
.skip { display: block; position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }
.d-h1 { font-size: 34px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.d-h1 small { font-size: 16px; color: var(--mut); font-weight: 500; margin-left: 8px; }
.d-h2 { font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.d-sec { padding-top: 48px; }
.d-sh { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 18px; }
.d-sh h2 { font-size: 26px; font-weight: 600; letter-spacing: -.02em; }
.d-sh > a { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; color: var(--blue); min-height: 40px; }
.d-sh > a svg, .d-sh > a:hover { width: 16px; height: 16px; }
.d-sh > a:hover { text-decoration: underline; }
.d-grid { display: grid; gap: 14px; }
.d-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.d-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.d-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.d-crumbs { display: flex; flex-wrap: wrap; gap: 6px; padding: 18px 0 14px; font-size: 13px; color: var(--mut); }
.d-crumbs a { color: var(--mut); } .d-crumbs a:hover { color: var(--ink); text-decoration: underline; }
.d-crumbs > *:not(:last-child)::after { content: "/"; margin-left: 6px; color: #b9c6d3; }
.d-crumbs span { color: var(--ink); font-weight: 500; }
.d-cath { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding-bottom: 18px; }
.d-cath .muted { max-width: 720px; font-size: 14px; margin-top: 8px; }
.d-cath__a { display: flex; gap: 8px; }
.d-cath .back { min-height: 40px; }
a:hover .d-card__name, .d-card__name:hover, .d-row__name:hover { color: var(--blue); }
.add:hover, .btn:hover { filter: brightness(1.05); }
.btn--soft:hover { background: #e7f3fc; }
.chip:hover { background: #e7f3fc; color: var(--ink); }
.ok-t { color: #167556; font-weight: 600; }
.empty { padding: 70px 28px 40px; }
.rev { width: auto; }
.edu { width: auto; }
.toast { left: auto; right: 24px; bottom: 24px; max-width: 420px; }
.offline { left: auto; right: 24px; max-width: 420px; }
.sheet__p { left: 50%; right: auto; bottom: auto; top: 50%; width: 520px; transform: translate(-50%, -50%); border-radius: 26px; max-height: 80vh; padding: 14px 24px 24px; }
.oc--full { width: 100%; justify-content: center; margin-top: 8px; }

/* ---------- header ---------- */
.dh { display: block; position: sticky; top: 0; z-index: 45; background: var(--bg); border-bottom: 1px solid var(--line); }
.dh__strip { background: var(--ink); color: rgba(255,255,255,.78); font-size: 12.5px; }
.dh__strip .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; height: 36px; }
.dh__strip svg { width: 14px; height: 14px; flex: none; opacity: .8; }
.dh__strip a { color: #fff; } .dh__strip b { font-weight: 700; }
.dh__sl { display: flex; align-items: center; gap: 18px; white-space: nowrap; }
.dh__sl > * { display: inline-flex; align-items: center; gap: 6px; }
.dh__sl a:hover b { text-decoration: underline; text-underline-offset: 3px; }
.dh__usp { list-style: none; display: flex; align-items: center; gap: 0; white-space: nowrap; }
.dh__usp li { display: inline-flex; align-items: center; gap: 7px; padding: 0 16px; }
.dh__usp li + li { border-left: 1px solid rgba(255,255,255,.14); }
.dh__usp svg { color: var(--g2); opacity: 1; }
.dh__msgs { display: flex; justify-content: flex-end; gap: 6px; }
.dh__msgs a { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 8px; font-weight: 600; }
.dh__msgs a:hover { background: rgba(255,255,255,.1); }
.dh__main { display: grid; grid-template-columns: 1fr minmax(420px, 620px) 1fr; align-items: center; gap: 28px; padding-top: 14px; padding-bottom: 14px; }
.dh .logo { font-size: 20px; flex: none; justify-self: start; border-radius: 12px; }
.dh .logo:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.dh__search { position: relative; display: flex; align-items: center; height: 50px; background: var(--card); border-radius: 16px; border: 1.5px solid var(--line); padding: 0 6px 0 16px; transition: border-color .15s, box-shadow .15s; }
.dh__search:hover { border-color: #cdd8e2; }
.dh__search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(46,143,216,.12); }
.dh__search > svg { width: 20px; height: 20px; color: var(--ink-2); flex: none; }
.dh__search input { flex: 1; min-width: 0; height: 44px; border: 0; background: none; font: inherit; font-size: 15px; color: var(--ink); padding: 0 12px; outline: none; }
.dh__search input::placeholder { color: var(--mut); }
.dh__search input::-webkit-search-cancel-button { display: none; }
.dh__search button[type=submit] { height: 38px; padding: 0 18px; border-radius: 12px; background: var(--grad); color: #fff; font-weight: 600; font-size: 13.5px; transition: filter .15s, transform .15s; }
.dh__search button[type=submit]:hover { filter: brightness(1.05); }
.dh__search button[type=submit]:active { transform: scale(.97); }
.dh__sug { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: #fff; border-radius: 20px; box-shadow: 0 24px 60px -20px rgba(19,32,46,.35); padding: 8px; z-index: 50; }
.dh__sug ul { list-style: none; }
.dh__sug li { display: flex; align-items: center; gap: 10px; border-radius: 14px; padding: 4px 8px 4px 4px; }
.dh__sug li:hover { background: var(--soft); }
.dh__sug li > a { flex: 1; display: flex; align-items: center; gap: 12px; min-height: 48px; min-width: 0; }
.dh__sug img { width: 40px; height: 40px; object-fit: contain; border-radius: 10px; background: var(--soft); }
.dh__sug span { flex: 1; min-width: 0; } .dh__sug b { display: block; font-size: 14px; font-weight: 600; } .dh__sug small { display: block; font-size: 12px; color: var(--mut); }
.dh__sug em { font-style: normal; font-weight: 700; white-space: nowrap; }
.dh__sug .add { width: 36px; min-width: 36px; height: 36px; border-radius: 10px; }
.dh__all { display: flex; align-items: center; gap: 4px; padding: 10px 12px; font-size: 13.5px; font-weight: 600; color: var(--blue); }
.dh__all svg { width: 16px; height: 16px; }
.dh__nores { padding: 14px; font-size: 13.5px; color: var(--mut); }
.dh__acts { display: flex; align-items: center; gap: 4px; justify-self: end; }
.dh__acts a { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 76px; height: 50px; justify-content: center; padding: 0 8px; border-radius: 14px; font-size: 11.5px; font-weight: 600; color: var(--ink-2); transition: background .15s, color .15s; }
.dh__acts a { white-space: nowrap; }
.dh__acts a:hover { background: var(--card); color: var(--ink); }
.dh__acts a:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.dh__acts a.is-on { color: var(--blue); }
.dh__acts i { position: relative; width: 24px; height: 24px; display: grid; place-items: center; }
.dh__acts svg { width: 22px; height: 22px; }
.dh__acts .badge { top: -6px; right: -8px; }
.dh__cart { flex-direction: row !important; gap: 10px !important; margin-left: 6px; background: var(--card); border: 1.5px solid var(--line); padding: 0 16px 0 14px !important; }
.dh__cart:hover { border-color: #cdd8e2; }
.dh__cart.is-on { border-color: var(--blue); }
.dh__cart span { text-align: left; line-height: 1.15; } .dh__cart small { display: block; font-size: 11px; color: var(--mut); font-weight: 500; margin-top: 1px; }
.dh__menu { border-top: 1px solid var(--line); }
.dh__menu .wrap { position: relative; display: flex; align-items: center; gap: 12px; height: 50px; }
.dh__links { display: flex; align-items: center; gap: 2px; margin: 0 auto 0 0; }
.dh__links .dh__catbtn { margin-right: 14px; }
.dh__links a { position: relative; display: flex; align-items: center; height: 36px; padding: 0 12px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--ink-2); white-space: nowrap; transition: background .15s, color .15s; }
.dh__links a:hover { background: var(--card); color: var(--ink); }
.dh__links a:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
.dh__links a[aria-current] { color: var(--blue); }
.dh__links a[aria-current]::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: -8px; height: 2px; border-radius: 2px; background: var(--grad); }
.dh__catbtn { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px 0 14px; border-radius: 11px; background: var(--grad); color: #fff; font-size: 14px; font-weight: 600; transition: filter .15s; }
.dh__catbtn:hover { filter: brightness(1.05); }
.dh__catbtn svg { width: 18px; height: 18px; }
.dh__catbtn .dh__chev { width: 15px; height: 15px; margin-left: -2px; opacity: .85; transition: transform .2s; }
.dh__catbtn[aria-expanded="true"] { background: var(--ink); }
.dh__catbtn[aria-expanded="true"] .dh__chev { transform: rotate(180deg); }
.dh__quick { display: flex; flex: none; align-items: center; gap: 2px; }
.dh__quick a:not(.dh__sets) { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 11px; border-radius: 10px; font-size: 13px; font-weight: 600; color: var(--mut); white-space: nowrap; transition: background .15s, color .15s; }
.dh__quick a:not(.dh__sets):hover { background: var(--card); color: var(--ink); }
.dh__quick a:not(.dh__sets)[aria-current] { color: var(--blue); }
.dh__quick a:not(.dh__sets) svg { width: 15px; height: 15px; }
.dh__sets { margin-left: 6px; display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 13px; border-radius: 10px; font-size: 13.5px; font-weight: 600; color: #167556; background: rgba(63,211,162,.12); white-space: nowrap; transition: background .15s; }
.dh__sets:hover { background: rgba(63,211,162,.22); }
.dh__sets svg { width: 16px; height: 16px; }
.mega { position: absolute; left: var(--gx); right: var(--gx); top: calc(100% + 2px); z-index: 50; background: #fff; border-radius: 22px; box-shadow: 0 30px 70px -24px rgba(19,32,46,.4); padding: 22px 26px; }
.mega__in { display: grid; grid-template-columns: 1.1fr 1fr 1fr 220px; gap: 24px; }
.mega h3 { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--mut); margin: 0 0 8px; }
.mega h3 + ul + h3 { margin-top: 18px; }
.mega ul { list-style: none; }
.mega li a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 7px 10px; margin: 0 -10px; border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--ink); }
.mega li a:hover { background: var(--soft); color: var(--blue); }
.mega li a small { font-size: 12px; color: var(--mut); }
.mega__brands { columns: 2; column-gap: 12px; }
.mega__promo { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 18px; border-radius: 18px; background: var(--soft); }
.mega__promo img { width: 120px; height: 120px; object-fit: contain; }
.mega__promo b { font-size: 15px; } .mega__promo span { font-size: 12.5px; color: var(--mut); }
.mega__promo em { display: inline-flex; align-items: center; gap: 4px; font-style: normal; font-size: 13px; font-weight: 600; color: var(--blue); margin-top: 6px; } .mega__promo em svg { width: 14px; height: 14px; }


/* ---------- cards ---------- */
.d-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 14px; border-radius: 20px; background: var(--card); transition: box-shadow .15s, transform .15s; }
.d-card:hover { box-shadow: 0 18px 40px -22px rgba(19,32,46,.4); transform: translateY(-2px); }
.d-card__top { display: flex; justify-content: space-between; align-items: center; min-height: 28px; }
.d-fav { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #9fb0c0; }
.d-fav:hover { background: var(--soft); color: #e0557a; }
.d-fav.is-on { color: #e0557a; } .d-fav.is-on svg { fill: #e0557a; stroke: #e0557a; }
.d-fav svg { width: 20px; height: 20px; }
.d-card__img { display: grid; place-items: center; height: 170px; border-radius: 14px; }
.d-card__img img { width: 150px; height: 150px; object-fit: contain; filter: drop-shadow(0 12px 14px rgba(19,32,46,.16)); transition: transform .2s; }
.d-card:hover .d-card__img img { transform: scale(1.04); }
.d-card__brand { font-size: 12px; color: var(--mut); margin-top: 4px; }
.d-card__name { font-size: 15px; font-weight: 600; line-height: 1.3; min-height: 2.6em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.d-card__prm { list-style: none; display: flex; flex-wrap: wrap; align-content: flex-start; gap: 4px; min-height: 26px; flex: 1 0 auto; }   /* тягнеться: наявність і ціна в усіх картках ряду на одній лінії */
.d-card__prm li { font-size: 11.5px; font-weight: 600; padding: 4px 7px; border-radius: 8px; background: var(--soft); }
.d-card__prm small { color: var(--mut); font-weight: 500; margin-right: 4px; }
.d-card .st { font-size: 11px; }
.d-card__buy { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 4px; }
.d-card__buy em { font-style: normal; font-size: 18px; font-weight: 700; } .d-card__buy em small { display: block; font-size: 11px; color: #167556; font-weight: 700; }
.d-card .stp { height: 40px; } .d-card .stp button { height: 40px; width: 36px; } .d-card .add { height: 40px; min-width: 40px; }
.d-card.is-out .d-card__img img { opacity: .5; }
.d-list { display: grid; gap: 10px; }
.d-row { display: grid; grid-template-columns: 112px minmax(0, 1.4fr) minmax(0, 1fr) 220px; gap: 20px; align-items: center; padding: 16px; border-radius: 20px; background: var(--card); }
.d-row:hover { box-shadow: 0 18px 40px -22px rgba(19,32,46,.4); }
.d-row__img { display: grid; place-items: center; width: 112px; height: 112px; border-radius: 14px; background: var(--soft); }
.d-row__img img { width: 96px; height: 96px; object-fit: contain; }
.d-row__b small { font-size: 12px; color: var(--mut); }
.d-row__name { display: block; font-size: 17px; font-weight: 600; margin: 2px 0 4px; }
.d-row__b p { font-size: 13px; color: var(--ink-2); line-height: 1.45; }
.d-row__meta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 8px; font-size: 12px; color: var(--mut); }
.d-row__meta span { display: inline-flex; align-items: center; gap: 4px; } .d-row__meta svg { width: 14px; height: 14px; }
.d-row__specs { font-size: 12.5px; border-collapse: collapse; }
.d-row__specs th { text-align: left; font-weight: 500; color: var(--mut); padding: 3px 12px 3px 0; white-space: nowrap; }
.d-row__specs td { padding: 3px 0; font-weight: 600; }
.d-row__buy { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.d-row__buy em { font-style: normal; font-size: 22px; font-weight: 700; } .d-row__buy small { font-size: 12px; color: #167556; font-weight: 600; margin-top: -6px; }
.d-row__buy .add--big { width: 100%; justify-content: center; }
.d-row.is-out .d-row__img img { opacity: .5; }

/* ---------- home ---------- */
.d-herow { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; padding-top: 20px; }
.d-hero { position: relative; display: grid; grid-template-columns: 1fr 1fr; border-radius: 30px; background: var(--card); overflow: hidden; min-height: 520px; }
.d-hero__c { padding: 40px 44px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; justify-content: center; }
.d-hero__c .new { align-self: flex-start; }
.d-hero__c h1 { font-size: 48px; line-height: 1; letter-spacing: -.03em; font-weight: 600; text-wrap: balance; }
.d-hero__c p { font-size: 15px; color: var(--ink-2); line-height: 1.5; max-width: 480px; }
.d-hero__c .seg { width: 360px; }
.d-hero__prm { list-style: none; display: flex; gap: 6px; }
.d-hero__prm li { font-size: 13px; font-weight: 600; padding: 8px 12px; border-radius: 10px; background: var(--soft); line-height: 1.1; }
.d-hero__prm small { display: block; font-size: 10.5px; color: var(--mut); font-weight: 500; margin-bottom: 2px; }
.d-hero__buy { display: flex; align-items: center; gap: 14px; margin-top: 4px; }
.d-hero__buy em { font-style: normal; display: block; white-space: nowrap; font-size: 34px; font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.d-hero__buy small { display: block; font-size: 12px; color: var(--mut); margin-top: 4px; }
.d-hero__buy .btn { margin: 0; }
.d-hero__v { position: relative; }
.d-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; opacity: .95; }
.d-hero__v::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--card) 0%, rgba(255,255,255,0) 35%); z-index: 1; }
.d-hero__p { position: absolute; z-index: 2; right: 44px; bottom: 36px; width: 300px; height: 300px; object-fit: contain; filter: drop-shadow(0 30px 30px rgba(19,32,46,.35)); }
.d-side { display: grid; grid-template-rows: 1fr auto; gap: 16px; }
.d-sidecard { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: 26px; background: var(--card); }
.d-sidecard .hit { align-self: flex-start; }
.d-sidecard > a img { width: 150px; height: 150px; object-fit: contain; margin: 0 auto; display: block; filter: drop-shadow(0 16px 18px rgba(19,32,46,.2)); }
.d-sidecard__n { font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.d-sidecard p { font-size: 13px; color: var(--mut); line-height: 1.45; }
.d-sidecard__b { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; }
.d-sidecard__b em { font-style: normal; font-size: 24px; font-weight: 700; }
.d-sidecard--set { flex-direction: row; align-items: center; gap: 14px; padding: 14px; }
.d-sidecard--set img { width: 80px; height: 80px; object-fit: contain; border-radius: 14px; background: var(--soft); }
.d-sidecard--set .new { display: inline-block; }
.d-sidecard--set b { display: block; font-size: 15px; margin-top: 6px; } .d-sidecard--set small { display: block; font-size: 12px; color: var(--mut); margin-top: 3px; } .d-sidecard--set s { margin-left: 4px; }
.d-sidecard:hover { box-shadow: 0 18px 40px -22px rgba(19,32,46,.4); }
.d-usp { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 16px; }
.d-usp li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 18px; background: var(--card); }
.d-usp svg { width: 24px; height: 24px; color: var(--blue); flex: none; margin-top: 2px; }
.d-usp b { display: block; font-size: 14.5px; } .d-usp span { font-size: 12.5px; color: var(--mut); line-height: 1.4; }
.d-cats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.d-cat { position: relative; display: block; border-radius: 20px; overflow: hidden; background: var(--card); aspect-ratio: 4 / 3; }
.d-cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.d-cat:hover img { transform: scale(1.05); }
.d-cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19,32,46,0) 40%, rgba(19,32,46,.75)); }
.d-cat b, .d-cat span { position: absolute; left: 16px; right: 16px; z-index: 1; color: #fff; }
.d-cat b { bottom: 30px; font-size: 16px; font-weight: 600; } .d-cat span { bottom: 12px; font-size: 12px; opacity: .85; }
.d-cats--big .d-cat { aspect-ratio: 16 / 10; }
.d-dirs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.d-dir { position: relative; display: flex; flex-direction: column; height: 196px; padding: 18px; border-radius: 20px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.d-dir:hover { box-shadow: inset 0 0 0 1px var(--line), 0 22px 44px -26px rgba(19,32,46,.45); transform: translateY(-2px); }
.d-dir b { font-size: 17px; font-weight: 600; letter-spacing: -.01em; line-height: 1.2; }
.d-dir small { font-size: 12.5px; color: var(--mut); margin-top: 4px; }
.d-dir__fan { position: absolute; right: -4px; bottom: -8px; width: 160px; height: 136px; }
.d-dir__fan img { position: absolute; object-fit: contain; filter: drop-shadow(0 12px 12px rgba(19,32,46,.18)); transition: transform .3s; }
.d-dir__fan img:nth-child(1) { right: 0; bottom: 0; width: 116px; height: 116px; z-index: 2; }
.d-dir__fan img:nth-child(2) { right: 70px; bottom: 4px; width: 80px; height: 80px; z-index: 1; transform: rotate(-8deg); }
.d-dir__fan img:nth-child(3) { right: 42px; bottom: 62px; width: 64px; height: 64px; transform: rotate(6deg); opacity: .9; }
.d-dir:hover .d-dir__fan img:nth-child(1) { transform: scale(1.06); }
.d-dir:hover .d-dir__fan img:nth-child(2) { transform: rotate(-14deg) translate(-8px, -2px); }
.d-dir:hover .d-dir__fan img:nth-child(3) { transform: rotate(12deg) translate(-2px, -8px); }
.d-proto { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 20px; background: var(--card); }
.d-proto:hover { box-shadow: 0 18px 40px -22px rgba(19,32,46,.4); }
.d-proto i { font-style: normal; font-size: 12px; color: #9fb0c0; }
.d-proto b { font-size: 16px; font-weight: 600; } .d-proto span { font-size: 13px; color: var(--mut); line-height: 1.45; flex: 1; }
.d-proto em { display: inline-flex; align-items: center; gap: 4px; font-style: normal; font-size: 13px; font-weight: 600; color: var(--blue); margin-top: 8px; } .d-proto em svg { width: 14px; height: 14px; }
.d-set { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 20px; background: var(--card); }
.d-set:hover { box-shadow: 0 18px 40px -22px rgba(19,32,46,.4); }
.d-set img { width: 120px; height: 120px; object-fit: contain; align-self: center; }
.d-set .new { align-self: flex-start; }
.d-set b { font-size: 15px; font-weight: 600; } .d-set small { font-size: 12px; color: var(--mut); }
.d-set em { font-style: normal; font-size: 17px; font-weight: 700; margin-top: 4px; } .d-set s { font-size: 12px; color: var(--mut); font-weight: 400; margin-left: 6px; }
.d-brands { display: flex; flex-wrap: wrap; gap: 8px; }
.d-brands a { display: flex; flex-direction: column; padding: 10px 16px; border-radius: 14px; background: var(--card); font-size: 14px; font-weight: 600; }
.d-brands a small { font-size: 11px; color: var(--mut); font-weight: 500; }
.d-brands a:hover { background: #e7f3fc; }
.d-band { display: grid; grid-template-columns: 1fr 320px auto; gap: 24px; align-items: end; padding: 32px 36px; border-radius: 26px; background: linear-gradient(120deg, #6cc3f3, #49d3a9); color: #fff; }
.d-band h2 { font-size: 24px; font-weight: 600; letter-spacing: -.01em; } .d-band p { font-size: 14px; opacity: .92; margin-top: 6px; max-width: 560px; line-height: 1.5; }
.d-band .fld > span { color: rgba(255,255,255,.85); } .d-band .inp { border-color: transparent; }
.d-band .btn { background: var(--ink); height: 48px; margin: 0; }
.d-band .err { color: #fff; }
.d-band .ok { grid-column: 1 / -1; padding: 0; } .d-band .ok i { background: rgba(255,255,255,.25); } .d-band .ok p { color: #fff; }
.d-band--s { grid-template-columns: 320px auto; margin-top: 20px; }
.d-foot { margin-top: 64px; background: var(--card); border-top: 1px solid var(--line); }
.d-foot .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-top: 40px; padding-bottom: 40px; }
.d-foot h3 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--mut); margin-bottom: 12px; }
.d-foot ul { list-style: none; } .d-foot li { padding: 4px 0; font-size: 14px; } .d-foot li a:hover { color: var(--blue); }
.d-foot p { font-size: 13.5px; color: var(--ink-2); line-height: 1.5; margin-top: 12px; }
.d-foot__ph { display: block; font-size: 22px; font-weight: 700; margin-top: 10px; }
.d-foot .muted { font-size: 12px; margin-top: 16px; }

/* ---------- catalogue ---------- */
.d-subs { padding: 0 0 14px; flex-wrap: wrap; overflow: visible; } .d-subs .chip { cursor: pointer; }
.d-catl { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: start; }
.d-filt { position: sticky; top: 150px; max-height: calc(100vh - 170px); overflow: auto; padding: 18px; border-radius: 20px; background: var(--card); scrollbar-width: thin; }
.d-filt__h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; } .d-filt__h b { font-size: 16px; }
.d-filt__h .back { margin: 0; min-height: 32px; }
.d-fstock { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; padding: 8px 0 12px; border-bottom: 1px solid var(--line); cursor: pointer; }
.d-fg { border-bottom: 1px solid var(--line); padding: 4px 0; }
.d-fg summary { list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 40px; font-size: 14px; font-weight: 600; cursor: pointer; }
.d-fg summary::-webkit-details-marker { display: none; }
.d-fg summary::after { content: "›"; transform: rotate(90deg); color: var(--mut); font-size: 18px; transition: .15s; }
.d-fg[open] summary::after { transform: rotate(-90deg); }
.d-fg summary i { font-style: normal; font-size: 11px; background: var(--blue); color: #fff; border-radius: 8px; padding: 1px 6px; margin-left: auto; margin-right: 8px; }
.d-fg > div { padding: 0 0 10px; display: flex; flex-direction: column; gap: 2px; }
.d-fg label { display: flex; align-items: center; gap: 8px; min-height: 32px; font-size: 13.5px; cursor: pointer; border-radius: 8px; padding: 0 4px; }
.d-fg label:hover { background: var(--soft); }
.d-fg label input { width: 16px; height: 16px; accent-color: var(--blue); flex: none; }
.d-fg label span { flex: 1; } .d-fg label small { font-size: 12px; color: var(--mut); }
.d-fg__more { align-self: flex-start; font-size: 13px; font-weight: 600; color: var(--blue); padding: 6px 4px; }
.d-fprice { flex-direction: row !important; gap: 8px !important; }
.d-fprice .inp { margin: 0; height: 40px; font-size: 14px; }
.d-tool { display: flex; align-items: center; gap: 14px; padding: 0 0 16px; }
.d-tool__n { font-size: 14px; color: var(--mut); margin-right: auto; }
.d-tool__f { display: none; }
.d-tool__s { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--mut); }
.d-tool__s select { font: inherit; font-size: 13.5px; font-weight: 600; color: var(--ink); height: 40px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); cursor: pointer; }
.d-tool__v { display: flex; gap: 2px; padding: 3px; border-radius: 12px; background: var(--card); }
.d-tool__v button { width: 38px; height: 34px; border-radius: 9px; display: grid; place-items: center; color: var(--mut); }
.d-tool__v button.is-on { background: var(--ink); color: #fff; }
.d-tool__v svg { width: 18px; height: 18px; }
/* верхня смуга: на вужчих екранах прибираємо переваги по одній, щоб сторінка не їздила вбік */
@media (max-width: 1439px) { .dh__usp li:nth-child(2) { display: none; } .dh__usp li:nth-child(3) { border-left: 1px solid rgba(255,255,255,.14); } }
@media (max-width: 1239px) { .dh__usp li:nth-child(1) { display: none; } .dh__usp li:nth-child(3) { border-left: 0; } .dh__strip .wrap { gap: 12px; } }
@media (max-width: 1099px) { .dh__usp { display: none; } .dh__strip .wrap { grid-template-columns: 1fr auto; } }
@media (max-width: 1279px) {
  .d-grid--5, .d-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .d-cats { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .d-catl { grid-template-columns: minmax(0, 1fr); }
  .d-filt { display: none; position: static; max-height: none; margin-bottom: 16px; }
  .d-filt.is-open { display: block; columns: 2; column-gap: 24px; } .d-filt.is-open .d-filt__h, .d-filt.is-open .d-fstock { column-span: all; }
  .d-tool__f { display: inline-flex; }
  .d-catl .d-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .d-row { grid-template-columns: 96px minmax(0, 1.4fr) minmax(0, 1fr) 190px; gap: 14px; }
  .d-hero__c { padding: 32px; } .d-hero__c h1 { font-size: 40px; } .d-hero__c .seg { width: 100%; } .d-hero__p { width: 240px; height: 240px; right: 24px; }
  .d-herow { grid-template-columns: minmax(0, 1fr) 300px; }
  .mega__in { grid-template-columns: 1fr 1fr 1fr; } .mega__promo { display: none; }
  .dh__acts a { min-width: 64px; } .dh__strip span:nth-child(3) { display: none; }
  .dh__menu a:nth-of-type(4), .dh__menu a:nth-of-type(5), .dh__menu a:nth-of-type(6) { display: none; }
  .dh__search { max-width: 420px; }
  .d-cmpbar li { max-width: 180px; }
  .d-prod { grid-template-columns: 300px minmax(0, 1fr) 320px !important; gap: 24px !important; }
  .d-prod__img { height: 320px !important; } .d-prod__img img { width: 280px !important; height: 280px !important; }
  .d-cartw, .d-co { grid-template-columns: minmax(0, 1fr) 320px !important; }
}
@media (min-width: 1700px) { .d-grid--5 { grid-template-columns: repeat(6, minmax(0, 1fr)); } .d-catl .d-grid--4 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* ---------- product ---------- */
.d-prod { display: grid; grid-template-columns: 440px minmax(0, 1fr) 360px; gap: 36px; align-items: start; }
.d-prod__g { position: sticky; top: 150px; }
.d-prod__img { position: relative; display: grid; place-items: center; height: 460px; border-radius: 26px; background: var(--card); }
.d-prod__img img { width: 400px; height: 400px; object-fit: contain; filter: drop-shadow(0 28px 30px rgba(19,32,46,.22)); }
.d-prod__img .hit { position: absolute; left: 16px; top: 16px; font-size: 11px; padding: 5px 10px; }
.d-prod__img--set { height: 360px; } .d-prod__img--set img { width: 300px; height: 300px; }
.d-auth { list-style: none; margin-top: 14px; display: grid; gap: 6px; }
.d-auth li { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--card); }
.d-auth svg { width: 22px; height: 22px; color: var(--blue); flex: none; }
.d-auth b { display: block; font-size: 13.5px; } .d-auth span { font-size: 12px; color: var(--mut); }
.d-prod__brand { font-size: 13px; font-weight: 600; color: var(--mut); }
.d-prod__i h1 { font-size: 36px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; margin-top: 6px; }
.d-prod__sub { font-size: 15px; color: var(--ink-2); line-height: 1.5; margin-top: 8px; }
.d-prod__meta { display: flex; align-items: center; gap: 16px; margin-top: 14px; font-size: 13px; color: var(--mut); }
.d-prod__meta .ib { margin-left: auto; background: var(--card); }
.d-prod__seg { margin: 16px 0 0; max-width: 420px; }
.d-specs { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 14px; }
.d-specs th { text-align: left; font-weight: 500; color: var(--mut); padding: 9px 12px 9px 0; width: 40%; border-bottom: 1px dashed var(--line); vertical-align: top; }
.d-specs td { padding: 9px 0; font-weight: 600; border-bottom: 1px dashed var(--line); }
.d-buy { position: sticky; top: 150px; display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: 26px; background: var(--card); box-shadow: 0 24px 60px -30px rgba(19,32,46,.35); }
.d-buy__p em { font-style: normal; font-size: 36px; font-weight: 700; letter-spacing: -.02em; line-height: 1; } .d-buy__p small { display: block; font-size: 12.5px; color: var(--mut); margin-top: 4px; }
.d-tiers { width: 100%; border-collapse: collapse; font-size: 13px; }
.d-tiers td { padding: 6px 0; border-bottom: 1px dashed var(--line); color: var(--ink-2); }
.d-tiers td:nth-child(2) { color: #167556; font-weight: 700; } .d-tiers td:last-child { text-align: right; font-weight: 600; }
.d-tiers tr.is-on td { color: var(--ink); background: #e5f7ef; }
.d-buy__a { display: flex; gap: 10px; align-items: center; } .d-buy__a .btn { flex: 1; margin: 0; }
.d-buy__hint { font-size: 12.5px; color: #167556; font-weight: 600; }
.d-buy__f { list-style: none; display: grid; gap: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
.d-buy__f li { display: flex; gap: 8px; font-size: 12.5px; color: var(--mut); line-height: 1.4; } .d-buy__f svg { width: 16px; height: 16px; flex: none; color: var(--blue); margin-top: 1px; }
.d-tabs { background: var(--card); border-radius: 24px; padding: 8px 28px 28px; margin-top: 48px; }
.d-tabs__h { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 20px; overflow-x: auto; }
.d-tabs__h button { padding: 16px 14px; font-size: 15px; font-weight: 600; color: var(--mut); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.d-tabs__h button:hover { color: var(--ink); } .d-tabs__h button.is-on { color: var(--ink); border-color: var(--blue); }
.d-tabs__p { font-size: 15px; line-height: 1.6; color: var(--ink-2); max-width: 860px; }
.d-tabs__p p + p, .d-tabs__p p + ul { margin-top: 10px; }
.d-protow { display: grid; gap: 36px; }
.d-setw { display: grid; grid-template-columns: 380px minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.d-setw .d-table { margin-top: 20px; }

/* ---------- tables ---------- */
.d-table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: 20px; overflow: hidden; }
.d-table th { text-align: left; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--mut); padding: 14px 16px; border-bottom: 1px solid var(--line); }
.d-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; font-size: 14px; }
.d-table tr:last-child td { border-bottom: 0; }
.d-table td img { width: 56px; height: 56px; object-fit: contain; border-radius: 12px; background: var(--soft); }
.d-table td small { font-size: 12px; color: var(--mut); }
.d-table td em { font-style: normal; font-weight: 700; white-space: nowrap; }
.d-table td a:hover b { color: var(--blue); }
.d-table__x { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 12px; background: var(--soft); color: var(--mut); font-size: 22px; }
.d-table tr.is-note td { color: var(--ink-2); }
.d-table tr.is-total td { font-size: 16px; }
.d-table__rm { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #9fb0c0; } .d-table__rm:hover { background: var(--soft); color: var(--ink); } .d-table__rm svg { width: 18px; height: 18px; }
.d-table__btn { height: 38px; padding: 0 14px; font-size: 13px; }
.d-table--cart td:first-child { width: 72px; padding-right: 0; }
.d-table--cart td:nth-child(2) { width: 42%; }
.d-table--cart td:nth-child(2) b { font-size: 15px; }
.d-table--cart .stp { height: 40px; } .d-table--cart .stp button { height: 40px; width: 36px; }
.d-table--cart s { font-size: 12px; color: var(--mut); }

/* ---------- cart / checkout ---------- */
.d-cartw, .d-co { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.d-sum { position: sticky; top: 150px; display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 24px; background: var(--card); }
.d-sum h2 { font-size: 20px; font-weight: 600; margin-bottom: 4px; }
.d-sum__r { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--ink-2); }
.d-sum__r em { font-style: normal; color: #167556; font-weight: 600; }
.d-sum__r span:last-child { text-align: right; }
.d-sum__ship { display: flex; flex-direction: column; gap: 4px; padding: 8px 0; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); }
.d-sum__ship > span { font-size: 12px; font-weight: 600; color: var(--mut); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.d-sum__ship label { display: grid; grid-template-columns: 18px 1fr auto; gap: 8px; align-items: center; min-height: 34px; font-size: 13px; cursor: pointer; border-radius: 8px; padding: 0 4px; }
.d-sum__ship label:hover { background: var(--soft); }
.d-sum__ship input { accent-color: var(--blue); width: 16px; height: 16px; } .d-sum__ship small { color: var(--mut); font-weight: 600; }
.d-sum .free { position: relative; display: flex; flex-direction: column; gap: 6px; }
.d-sum__t { display: flex; justify-content: space-between; align-items: baseline; padding-top: 10px; border-top: 1px solid var(--line); font-weight: 600; }
.d-sum__t b { font-size: 26px; letter-spacing: -.02em; }
.d-sum .btn { margin: 0; }
.d-sum .back { text-align: center; min-height: 36px; display: block; padding-top: 10px; }
.d-sum__items { list-style: none; display: grid; gap: 8px; max-height: 320px; overflow: auto; padding-bottom: 8px; border-bottom: 1px dashed var(--line); }
.d-sum__items li { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.d-sum__items img { width: 44px; height: 44px; object-fit: contain; border-radius: 10px; background: var(--soft); flex: none; }
.d-sum__items span { flex: 1; min-width: 0; } .d-sum__items b { display: block; font-weight: 600; line-height: 1.3; } .d-sum__items small { color: var(--mut); }
.d-sum__items em { font-style: normal; font-weight: 700; white-space: nowrap; }
.d-quick { margin-top: 28px; padding: 22px; border-radius: 20px; background: var(--card); }
.d-quick .muted { margin: 6px 0 12px; font-size: 13.5px; }
.d-quick__f { position: relative; max-width: 620px; } .d-quick__f .inp { margin: 0; }
.d-quick__s { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20; background: #fff; border-radius: 16px; box-shadow: 0 20px 50px -20px rgba(19,32,46,.4); padding: 6px; }
.d-quick__s ul { list-style: none; } .d-quick__s li { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 10px; } .d-quick__s li:hover { background: var(--soft); }
.d-quick__s img { width: 36px; height: 36px; object-fit: contain; border-radius: 8px; background: var(--soft); }
.d-quick__s span { flex: 1; min-width: 0; } .d-quick__s b { display: block; font-size: 13.5px; } .d-quick__s small { font-size: 12px; color: var(--mut); }
.d-quick__s .add { width: 36px; min-width: 36px; height: 36px; border-radius: 10px; }
.d-quick__s .muted { padding: 10px; margin: 0; }
.d-co__l { display: grid; gap: 12px; }
.d-co__s { padding: 24px 26px; border-radius: 24px; background: var(--card); }
.d-co__s h2 { font-size: 18px; font-weight: 600; margin-bottom: 12px; }
.d-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.d-fields .fld { margin-top: 8px; }
.d-radios { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.d-radios button { position: relative; display: flex; flex-direction: column; gap: 2px; align-items: flex-start; text-align: left; min-height: 64px; padding: 12px 40px 12px 14px; border-radius: 14px; background: var(--soft); color: var(--ink); }
.d-radios button::after { content: ""; position: absolute; right: 12px; top: 12px; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #b9c6d3; background: #fff; }
.d-radios button.is-on { background: #e7f3fc; box-shadow: inset 0 0 0 1.5px var(--blue); } .d-radios button.is-on::after { border: 5.5px solid var(--blue); }
.d-radios b { font-size: 13.5px; font-weight: 600; line-height: 1.25; } .d-radios small { font-size: 11.5px; color: var(--mut); line-height: 1.3; }
.d-radios button:hover:not(.is-on) { background: #e6edf3; }
.d-co__sub { display: flex; align-items: center; gap: 20px; padding: 8px 4px; }
.d-co__sub .btn { margin: 0; height: 52px; padding-left: 28px; padding-right: 28px; flex: none; } .d-co__sub .muted { font-size: 12.5px; }
.d-done { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 32px; align-items: start; padding-top: 24px; }
.d-done .ok--page { text-align: left; padding: 30px 36px; background: var(--card); border-radius: 26px; }
.d-done .ok i { margin: 0 0 16px; } .d-done .ok b { font-size: 26px; }
.d-done .acts { padding: 20px 0 0; grid-template-columns: 1fr 1fr; } .d-done .acts .btn { height: 46px; } .d-done .acts .back { grid-column: 1 / -1; }
.d-done .d-sum { position: static; }

/* ---------- profile / order ---------- */
.d-me { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px; align-items: start; }
.d-menav { position: sticky; top: 150px; display: flex; flex-direction: column; gap: 4px; padding: 10px; border-radius: 20px; background: var(--card); }
.d-menav a { display: flex; justify-content: space-between; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 12px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.d-menav a:hover { background: var(--soft); color: var(--ink); } .d-menav a.is-on { background: var(--ink); color: #fff; }
.d-menav small { font-size: 12px; opacity: .7; }
.d-me__b .muted { margin: 8px 0 18px; font-size: 14px; } .d-me__b .muted svg { width: 14px; height: 14px; vertical-align: -2px; }
.d-me__b .d-sh { padding-bottom: 12px; }
.d-contact { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: 20px; background: var(--card); }
.d-contact i { width: 44px; height: 44px; border-radius: 12px; background: var(--soft); display: grid; place-items: center; color: var(--blue); margin-bottom: 6px; } .d-contact i svg { width: 22px; height: 22px; }
.d-contact b { font-size: 17px; } .d-contact span { font-size: 13px; color: var(--mut); }
.d-contact:hover { box-shadow: 0 18px 40px -22px rgba(19,32,46,.4); }
.d-me__b .acc { max-width: 860px; }
.d-orderw { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 28px; align-items: start; }
.d-orderw .tl { margin: 0; } .d-orderw .d-sum { position: static; margin-top: 16px; }

/* ---------- delivery page ---------- */
.d-dlv em { font-style: normal; font-size: 15px; font-weight: 700; color: var(--blue); }
.d-dlv__two { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
.d-dlv__p { font-size: 14.5px; line-height: 1.6; color: var(--ink-2); padding: 22px; border-radius: 20px; background: var(--card); }
.d-dlv__msg { display: flex; gap: 8px; margin-top: 8px; } .d-dlv__msg a { font-size: 13.5px; font-weight: 600; color: var(--blue); }

/* акції: стара ціна і знижка */
.d-card__buy em .was { font-size: 12px; }
.d-row__buy .was { font-size: 13px; margin-top: -6px; }
.d-buy__p em .was { font-size: 15px; letter-spacing: 0; margin-top: 6px; }
.d-buy__hint--off { color: #d9434e; font-weight: 600; }
.d-subs a.chip { text-decoration: none; }

/* пагінація і бренди */
.d-more { display: flex; margin: 22px auto 0; min-width: 280px; justify-content: center; }
.d-brandsx { columns: 4; column-gap: 28px; } .d-brandsx section { break-inside: avoid; margin-bottom: 22px; }
.d-brandsx h2 { font-size: 20px; margin-bottom: 8px; } .d-brandsx ul { list-style: none; padding: 0; margin: 0; }
.d-brandsx a { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; font-size: 14px; } .d-brandsx a:hover { color: var(--blue); } .d-brandsx small { color: var(--mut); }
.d-prod__brand a { color: inherit; text-decoration: underline; text-decoration-color: var(--line2, #cfd8e1); text-underline-offset: 3px; }
