/* ==========================================================================
   Hosturm — тема магазину. Власний код, база: стандартна тема OpenCart (GPL).
   Кольори магазину приходять з «Вигляд сайту» як --hb-accent, --hb-accent-2,
   --hb-header-bg, --hb-footer-bg, --hb-page (інлайн у <head>).
   ========================================================================== */

/* ---------- 1. Токени ---------- */
:root{
  --hb-accent:#5B8A4E; --hb-accent-2:#C9A45C; --hb-header-bg:#FFFFFF; --hb-footer-bg:#221C15; --hb-page:#FBF9F5;

  --hb-bg:var(--hb-page);
  --hb-surface:#FFFFFF;
  --hb-surface-2:#F5F1EA;
  --hb-surface-3:#EFE9DE;
  --hb-line:#E7DFD1;
  --hb-line-2:#F0EBE2;
  --hb-ink:#2B251C;
  --hb-mut:#6B6252;
  --hb-dim:#8B816F;
  --hb-on-accent:#FFFFFF;
  --hb-accent-h:color-mix(in srgb, var(--hb-accent) 86%, #000);
  --hb-accent-soft:color-mix(in srgb, var(--hb-accent) 10%, var(--hb-surface));
  --hb-accent-line:color-mix(in srgb, var(--hb-accent) 28%, var(--hb-surface));
  --hb-accent-t:color-mix(in srgb, var(--hb-accent) 88%, #000);
  --hb-gold-soft:color-mix(in srgb, var(--hb-accent-2) 16%, var(--hb-surface));
  --hb-gold-t:color-mix(in srgb, var(--hb-accent-2) 70%, #3a2a0a);
  --hb-danger:#B6452C; --hb-danger-soft:#FBEDE8;
  --hb-ok:#3F7A34; --hb-ok-soft:#EAF3E6;
  --hb-header-ink:#2B251C;
  --hb-footer-ink:#E9E1D2; --hb-footer-mut:#B3A792; --hb-footer-line:rgba(255,245,225,.12);

  --hb-font:"Onest",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  --hb-display:"Lora",Georgia,"Times New Roman",serif;
  --hb-radius:16px; --hb-radius-sm:10px; --hb-radius-xs:7px; --hb-pill:999px;
  --hb-shadow:0 1px 2px rgba(43,37,28,.05),0 10px 30px rgba(43,37,28,.07);
  --hb-shadow-lg:0 20px 60px rgba(30,24,16,.22);
  --hb-wrap:1260px;
  --hb-gutter:clamp(16px,3vw,28px);
  --hb-ease:cubic-bezier(.2,.7,.2,1);
}
:root[data-theme="dark"]{
  --hb-bg:#14110C;
  --hb-surface:#1C1811;
  --hb-surface-2:#241F16;
  --hb-surface-3:#2B251B;
  --hb-line:#352D21;
  --hb-line-2:#2C261C;
  --hb-ink:#EFE8DA;
  --hb-mut:#BBAE97;
  --hb-dim:#A2957E;
  --hb-on-accent:#10190C;
  --hb-accent:color-mix(in srgb, var(--hb-accent-base, #5B8A4E) 72%, #fff);
  --hb-accent-h:color-mix(in srgb, var(--hb-accent) 88%, #fff);
  --hb-accent-soft:color-mix(in srgb, var(--hb-accent) 14%, var(--hb-surface));
  --hb-accent-line:color-mix(in srgb, var(--hb-accent) 34%, var(--hb-surface));
  --hb-accent-t:var(--hb-accent);
  --hb-gold-soft:color-mix(in srgb, var(--hb-accent-2) 16%, var(--hb-surface));
  --hb-gold-t:color-mix(in srgb, var(--hb-accent-2) 80%, #fff);
  --hb-danger:#E88A72; --hb-danger-soft:#33201A;
  --hb-ok:#8FBE7E; --hb-ok-soft:#1E2A19;
  --hb-header-bg:#1A1610; --hb-header-ink:#EFE8DA;
  --hb-footer-bg:#0F0D09;
  --hb-shadow:0 1px 2px rgba(0,0,0,.3),0 10px 30px rgba(0,0,0,.35);
  color-scheme:dark;
}
/* пресети оформлення: форма й типографіка */
:root[data-preset="strict"]{ --hb-radius:6px; --hb-radius-sm:5px; --hb-radius-xs:4px; --hb-pill:6px; --hb-display:var(--hb-font); }
:root[data-preset="bright"]{ --hb-radius:24px; --hb-radius-sm:16px; --hb-radius-xs:12px; }

/* ---------- 2. База (перекриває Bootstrap 3) ---------- */
html{font-size:16px;-webkit-text-size-adjust:100%;scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
body{margin:0;background:var(--hb-bg);color:var(--hb-ink);font-family:var(--hb-font);font-size:15px;line-height:1.6;-webkit-font-smoothing:antialiased}
a{color:var(--hb-accent-t);text-decoration:none}
a:hover,a:focus{color:var(--hb-accent-h);text-decoration:none}
:focus-visible{outline:2px solid var(--hb-accent);outline-offset:2px}
h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4{font-family:var(--hb-font);color:var(--hb-ink);font-weight:650;line-height:1.2;letter-spacing:-.01em;margin:0 0 .6em;text-wrap:balance}
h1,.h1{font-size:clamp(26px,3.2vw,36px)}
h2,.h2{font-size:clamp(22px,2.4vw,28px)}
h3,.h3{font-size:19px}
h4,.h4{font-size:16px}
p{margin:0 0 1em}
img{max-width:100%;height:auto}
svg{width:1em;height:1em;flex:none}
hr{border-color:var(--hb-line)}
label{font-weight:500;color:var(--hb-ink)}
small,.small{font-size:13px}
.hb-muted{color:var(--hb-mut)}
.hb-skip{position:absolute;left:-9999px;top:8px;z-index:9999;background:var(--hb-ink);color:var(--hb-bg);padding:8px 14px;border-radius:8px}
.hb-skip:focus{left:8px}
.hb-wrap,.container{width:auto;max-width:var(--hb-wrap);margin-inline:auto;padding-inline:var(--hb-gutter)}
.container::before,.container::after{display:none}
.row{margin-inline:-10px}
.row>[class*="col-"]{padding-inline:10px}
[hidden]{display:none!important}
::selection{background:var(--hb-accent-soft)}

/* ---------- 3. Кнопки й поля ---------- */
.hb-btn,.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 20px;border-radius:var(--hb-pill);border:1px solid var(--hb-line);background:var(--hb-surface);color:var(--hb-ink);font:600 14.5px/1.2 var(--hb-font);letter-spacing:0;text-shadow:none;box-shadow:none;cursor:pointer;transition:background .18s var(--hb-ease),border-color .18s,color .18s,transform .18s;white-space:nowrap}
.hb-btn:hover,.btn:hover,.btn:focus{border-color:var(--hb-accent-line);color:var(--hb-accent-t);background:var(--hb-surface)}
.hb-btn:active,.btn:active{transform:translateY(1px)}
.hb-btn svg,.btn svg{font-size:18px}
.hb-btn--accent,.btn-primary{background:var(--hb-accent);border-color:var(--hb-accent);color:var(--hb-on-accent)}
.hb-btn--accent:hover,.btn-primary:hover,.btn-primary:focus,.btn-primary:active,.btn-primary.active{background:var(--hb-accent-h);border-color:var(--hb-accent-h);color:var(--hb-on-accent)}
.hb-btn--gold{background:var(--hb-accent-2);border-color:var(--hb-accent-2);color:#231A08}
.hb-btn--gold:hover{background:color-mix(in srgb,var(--hb-accent-2) 88%,#000);color:#231A08;border-color:transparent}
.hb-btn--ghost{background:transparent}
.hb-btn--block{width:100%}
.hb-btn--sm,.btn-sm,.btn-xs{min-height:34px;padding:6px 14px;font-size:13px}
.hb-btn--lg,.btn-lg{min-height:52px;padding:12px 26px;font-size:15.5px}
.btn-danger{background:var(--hb-danger);border-color:var(--hb-danger);color:#fff}
.btn-danger:hover{background:color-mix(in srgb,var(--hb-danger) 86%,#000);color:#fff}
.btn-default,.btn-info,.btn-success,.btn-warning,.btn-link{background:var(--hb-surface);color:var(--hb-ink);border-color:var(--hb-line)}
.btn-link{border-color:transparent;background:transparent;color:var(--hb-accent-t)}
.btn-group>.btn{border-radius:var(--hb-radius-sm)}
.btn[disabled],.btn.disabled,.hb-btn[disabled]{opacity:.55;cursor:not-allowed}
.hb-iconbtn{position:relative;display:inline-grid;place-items:center;width:44px;height:44px;border-radius:var(--hb-pill);border:0;background:transparent;color:inherit;cursor:pointer;transition:background .18s}
.hb-iconbtn svg{font-size:22px}
.hb-iconbtn:hover{background:var(--hb-surface-2);color:inherit}
.hb-count{position:absolute;top:3px;right:1px;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--hb-accent);color:var(--hb-on-accent);font:700 11px/18px var(--hb-font);text-align:center;font-variant-numeric:tabular-nums}

.form-control,input[type="text"],input[type="email"],input[type="tel"],input[type="password"],input[type="search"],input[type="number"],input[type="date"],select,textarea{background:var(--hb-surface);color:var(--hb-ink);border:1px solid var(--hb-line);border-radius:var(--hb-radius-sm);font:15px/1.4 var(--hb-font);box-shadow:none}
.form-control{height:46px;padding:10px 14px}
textarea.form-control{height:auto;min-height:110px}
.form-control:focus,input:focus,select:focus,textarea:focus{border-color:var(--hb-accent);box-shadow:0 0 0 3px var(--hb-accent-soft);outline:0}
.form-control::placeholder{color:var(--hb-dim)}
.form-group{margin-bottom:16px}
.control-label{font-weight:500;padding-top:0!important;margin-bottom:6px}
.required .control-label::after,.required>label::after{content:" *";color:var(--hb-danger)}
.has-error .form-control{border-color:var(--hb-danger)}
.text-danger,.has-error .help-block{color:var(--hb-danger)}
.input-group .form-control{border-radius:var(--hb-radius-sm) 0 0 var(--hb-radius-sm)}
.input-group-btn .btn{border-radius:0 var(--hb-radius-sm) var(--hb-radius-sm) 0;min-height:46px}
.checkbox label,.radio label{font-weight:400}
input[type="checkbox"],input[type="radio"]{accent-color:var(--hb-accent);width:17px;height:17px;vertical-align:-3px}
legend{border:0;font-size:18px;font-weight:650;color:var(--hb-ink);margin-bottom:14px}
fieldset{margin-bottom:22px}

.alert{border-radius:var(--hb-radius-sm);border:1px solid var(--hb-line);background:var(--hb-surface);color:var(--hb-ink);padding:13px 16px}
.alert-success{background:var(--hb-ok-soft);border-color:color-mix(in srgb,var(--hb-ok) 30%,transparent);color:var(--hb-ok)}
.alert-danger,.alert-warning{background:var(--hb-danger-soft);border-color:color-mix(in srgb,var(--hb-danger) 30%,transparent);color:var(--hb-danger)}
.alert-info{background:var(--hb-gold-soft);border-color:transparent;color:var(--hb-gold-t)}
.alert .close{color:inherit;opacity:.6;text-shadow:none}
.table{color:var(--hb-ink)}
.table>thead>tr>td,.table>thead>tr>th,.table>tbody>tr>td{border-color:var(--hb-line)!important;vertical-align:middle}
.table-bordered,.table-bordered td,.table-bordered th{border-color:var(--hb-line)!important}
.table-striped>tbody>tr:nth-of-type(odd){background:var(--hb-surface-2)}
.table>thead>tr>td{background:var(--hb-surface-2);font-weight:600}
.table-responsive{border:0}
.panel{background:var(--hb-surface);border:1px solid var(--hb-line);border-radius:var(--hb-radius);box-shadow:none;overflow:hidden}
.panel-default>.panel-heading{background:var(--hb-surface-2);color:var(--hb-ink);border-color:var(--hb-line)}
.panel-title{font-size:16px;font-weight:600}
.panel-title a{color:var(--hb-ink)}
.well{background:var(--hb-surface);border:1px solid var(--hb-line);border-radius:var(--hb-radius);box-shadow:none}
.list-group-item{background:var(--hb-surface);border-color:var(--hb-line);color:var(--hb-ink)}
.list-group-item.active,.list-group-item.active:hover{background:var(--hb-accent);border-color:var(--hb-accent);color:var(--hb-on-accent)}
a.list-group-item:hover{background:var(--hb-surface-2);color:var(--hb-ink)}
.dropdown-menu{background:var(--hb-surface);border:1px solid var(--hb-line);border-radius:var(--hb-radius-sm);box-shadow:var(--hb-shadow)}
.dropdown-menu>li>a{color:var(--hb-ink)}
.dropdown-menu>li>a:hover{background:var(--hb-surface-2);color:var(--hb-ink)}
.pagination>li>a,.pagination>li>span{background:var(--hb-surface);border-color:var(--hb-line);color:var(--hb-ink);min-width:40px;text-align:center}
.pagination>.active>a,.pagination>.active>span,.pagination>.active>a:hover{background:var(--hb-accent);border-color:var(--hb-accent);color:var(--hb-on-accent)}
.pagination>li>a:hover{background:var(--hb-surface-2);color:var(--hb-ink)}
.pagination>li:first-child>a,.pagination>li:first-child>span{border-radius:var(--hb-radius-xs) 0 0 var(--hb-radius-xs)}
.pagination>li:last-child>a,.pagination>li:last-child>span{border-radius:0 var(--hb-radius-xs) var(--hb-radius-xs) 0}
.tooltip-inner{background:var(--hb-ink);color:var(--hb-bg);border-radius:6px;font-family:var(--hb-font)}
.img-thumbnail{background:var(--hb-surface);border-color:var(--hb-line);border-radius:var(--hb-radius-sm)}
.nav-tabs{border-color:var(--hb-line)}
.nav-tabs>li>a{color:var(--hb-mut);border-radius:0;border:0;border-bottom:2px solid transparent;font-weight:600}
.nav-tabs>li>a:hover{background:transparent;color:var(--hb-ink);border-color:transparent}
.nav-tabs>li.active>a,.nav-tabs>li.active>a:hover,.nav-tabs>li.active>a:focus{background:transparent;color:var(--hb-ink);border:0;border-bottom:2px solid var(--hb-accent)}

/* ---------- 4. Бігуча смужка ---------- */
.hb-topbar{background:#221C15;color:#E9E1D2;font-size:13px;overflow:hidden;white-space:nowrap}
:root[data-theme="dark"] .hb-topbar{background:#0F0D09}
.hb-topbar__track{display:flex;width:max-content;animation:hb-marquee 46s linear infinite}
.hb-topbar:hover .hb-topbar__track{animation-play-state:paused}
.hb-topbar__list{display:flex;margin:0;padding:0;list-style:none}
.hb-topbar__list li{padding:8px 26px;position:relative}
.hb-topbar__list li::after{content:"";position:absolute;right:-2px;top:50%;width:4px;height:4px;border-radius:50%;background:var(--hb-accent-2);opacity:.8;transform:translateY(-50%)}
.hb-topbar b{color:var(--hb-accent-2);font-weight:600}
@keyframes hb-marquee{to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){.hb-topbar__track{animation:none}}

/* ---------- 5. Шапка ---------- */
.hb-header{position:sticky;top:0;z-index:60;background:var(--hb-header-bg);color:var(--hb-header-ink);border-bottom:1px solid var(--hb-line);transition:box-shadow .2s}
.hb-header.is-stuck{box-shadow:0 6px 24px rgba(30,24,16,.08)}
.hb-header__row{display:flex;align-items:center;gap:16px;min-height:76px}
.hb-header__burger{display:none;margin-left:-8px}
.hb-logo{display:flex;align-items:center;flex:none;color:var(--hb-header-ink);max-width:190px}
.hb-logo img{max-height:52px;width:auto;display:block}
:root[data-theme="dark"] .hb-logo img{filter:brightness(1.05)}
.hb-logo__text{font:600 22px/1.1 var(--hb-display);letter-spacing:-.01em}
.hb-catalog{position:relative;flex:none}
.hb-catalog__btn{min-height:46px;padding-inline:18px 22px}
.hb-catalog__panel{position:absolute;left:0;top:calc(100% + 12px);width:min(880px,calc(100vw - 48px));background:var(--hb-surface);border:1px solid var(--hb-line);border-radius:var(--hb-radius);box-shadow:var(--hb-shadow-lg);padding:22px;z-index:70}
.hb-catalog__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:18px 22px}
.hb-catalog__top{display:flex;align-items:center;gap:10px;color:var(--hb-ink);font-weight:600}
.hb-catalog__top img{width:44px;height:44px;border-radius:12px;object-fit:cover;background:var(--hb-surface-2)}
.hb-catalog__top:hover{color:var(--hb-accent-t)}
.hb-catalog__col ul{list-style:none;margin:8px 0 0 54px;padding:0;font-size:14px}
.hb-catalog__col li a{color:var(--hb-mut);display:block;padding:3px 0}
.hb-catalog__col li a:hover{color:var(--hb-accent-t)}

.hb-search{position:relative;flex:1;display:flex;max-width:560px;margin:0 auto}
.hb-search__field{position:relative;flex:1;margin:0}
.hb-search__icon{position:absolute;left:16px;top:50%;transform:translateY(-50%);font-size:19px;color:var(--hb-dim);pointer-events:none}
.hb-search input[type="search"]{width:100%;height:48px;padding:0 54px 0 46px;border-radius:var(--hb-pill);background:var(--hb-surface-2);border-color:transparent;font-size:15px}
.hb-search input[type="search"]:focus{background:var(--hb-surface);border-color:var(--hb-accent)}
.hb-search input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none}
.hb-search__btn{position:absolute;right:4px;top:4px;width:40px;height:40px;border:0;border-radius:50%;background:var(--hb-accent);color:var(--hb-on-accent);display:grid;place-items:center;cursor:pointer}
.hb-search__btn svg{font-size:18px}
.hb-search__drop{position:absolute;left:0;right:0;top:calc(100% + 8px);background:var(--hb-surface);border:1px solid var(--hb-line);border-radius:var(--hb-radius);box-shadow:var(--hb-shadow-lg);padding:8px;z-index:70;max-height:70vh;overflow:auto}
.hb-sr{display:flex;align-items:center;gap:12px;padding:8px;border-radius:var(--hb-radius-sm);color:var(--hb-ink)}
.hb-sr:hover,.hb-sr.is-active{background:var(--hb-surface-2);color:var(--hb-ink)}
.hb-sr img{width:48px;height:48px;border-radius:9px;object-fit:cover;background:var(--hb-surface-2)}
.hb-sr__name{flex:1;font-size:14px;line-height:1.3}
.hb-sr__name small{display:block;color:var(--hb-dim);font-size:12px}
.hb-sr__price{font-weight:650;white-space:nowrap;font-variant-numeric:tabular-nums}
.hb-sr__price s{display:block;color:var(--hb-dim);font-weight:400;font-size:12px}
.hb-sr-all{display:block;text-align:center;padding:10px;font-weight:600;border-top:1px solid var(--hb-line);margin-top:4px}
.hb-sr-empty{padding:14px;color:var(--hb-mut);text-align:center}

.hb-actions{display:flex;align-items:center;gap:2px;flex:none;margin-left:auto}
.hb-phone{display:flex;flex-direction:column;align-items:flex-end;margin-right:10px;line-height:1.25}
.hb-phone__main{display:flex;align-items:center;gap:6px;color:var(--hb-header-ink);font-weight:650;font-size:15px;white-space:nowrap}
.hb-phone__main svg{font-size:16px;color:var(--hb-accent)}
.hb-phone small{color:var(--hb-dim);font-size:12px}
.hb-cartbtn{display:flex;align-items:center;gap:10px;margin-left:6px;padding:6px 14px 6px 6px;border-radius:var(--hb-pill);background:var(--hb-surface-2);color:var(--hb-header-ink);min-height:48px}
.hb-cartbtn:hover{background:var(--hb-surface-3);color:var(--hb-header-ink)}
.hb-cartbtn__icon{position:relative;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:var(--hb-accent);color:var(--hb-on-accent)}
.hb-cartbtn__icon svg{font-size:20px}
.hb-cartbtn__icon .hb-count{top:-4px;right:-6px;background:var(--hb-accent-2);color:#231A08;box-shadow:0 0 0 2px var(--hb-surface-2)}
.hb-cartbtn__sum{font-weight:650;font-size:14.5px;white-space:nowrap;font-variant-numeric:tabular-nums}
.hb-cartbtn__sum:empty{display:none}

.hb-nav{border-top:1px solid var(--hb-line-2)}
.hb-nav__row{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:46px}
.hb-nav ul{list-style:none;margin:0;padding:0}
.hb-nav__cats{display:flex;align-items:center;gap:4px;flex-wrap:wrap}
.hb-nav__cats>li{position:relative}
.hb-nav__cats>li>a{display:flex;align-items:center;gap:4px;padding:11px 12px;color:var(--hb-header-ink);font-weight:500;font-size:14.5px;border-radius:8px}
.hb-nav__cats>li>a svg{font-size:14px;color:var(--hb-dim)}
.hb-nav__cats>li>a:hover{color:var(--hb-accent-t)}
.hb-nav__sub{position:absolute;top:100%;left:0;min-width:220px;background:var(--hb-surface);border:1px solid var(--hb-line);border-radius:var(--hb-radius-sm);box-shadow:var(--hb-shadow);padding:8px;opacity:0;visibility:hidden;transform:translateY(6px);transition:.18s var(--hb-ease);z-index:65}
.hb-nav__cats>li:hover .hb-nav__sub,.hb-nav__cats>li:focus-within .hb-nav__sub{opacity:1;visibility:visible;transform:none}
.hb-nav__sub a{display:block;padding:8px 10px;border-radius:7px;color:var(--hb-ink);font-size:14px}
.hb-nav__sub a:hover{background:var(--hb-surface-2);color:var(--hb-ink)}
.hb-nav__links{display:flex;align-items:center;gap:18px;font-size:14px}
.hb-nav__links a{color:var(--hb-mut)}
.hb-nav__links a:hover{color:var(--hb-ink)}
.hb-switch{display:inline-flex;gap:2px;margin:0;padding:2px;border-radius:var(--hb-pill);background:var(--hb-surface-2)}
.hb-switch button,.hb-switch a{text-decoration:none;display:inline-block;border:0;background:transparent;color:var(--hb-mut);font:600 12px/1 var(--hb-font);padding:6px 9px;border-radius:var(--hb-pill);cursor:pointer}
.hb-switch button[aria-current],.hb-switch a[aria-current]{background:var(--hb-surface);color:var(--hb-ink);box-shadow:0 1px 2px rgba(0,0,0,.08)}
.hb-nav__switch:empty{display:none}

/* ---------- 6. Мобільна панель ---------- */
.hb-drawer{position:fixed;inset:0;z-index:200}
.hb-drawer__shade{position:absolute;inset:0;background:rgba(20,16,10,.5);animation:hb-fade .2s}
.hb-drawer__panel{position:absolute;left:0;top:0;bottom:0;width:min(360px,88vw);background:var(--hb-surface);color:var(--hb-ink);display:flex;flex-direction:column;animation:hb-slide .26s var(--hb-ease);box-shadow:var(--hb-shadow-lg)}
.hb-drawer__head{display:flex;align-items:center;justify-content:space-between;padding:10px 10px 10px 20px;border-bottom:1px solid var(--hb-line)}
.hb-drawer__title{font-weight:650;font-size:17px}
.hb-drawer__body{overflow:auto;padding:14px 20px 28px;display:flex;flex-direction:column;gap:18px}
.hb-drawer__label{margin:0;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--hb-dim)}
.hb-drawer ul{list-style:none;margin:0;padding:0}
.hb-drawer__cats{margin-top:-8px!important}
.hb-drawer__cats>li>a,.hb-drawer__cats summary{display:flex;align-items:center;gap:12px;padding:10px 0;color:var(--hb-ink);font-weight:550;cursor:pointer;list-style:none;border-bottom:1px solid var(--hb-line-2)}
.hb-drawer__cats summary::-webkit-details-marker{display:none}
.hb-drawer__cats summary svg{margin-left:auto;font-size:18px;color:var(--hb-dim);transition:transform .2s}
.hb-drawer__cats details[open] summary svg{transform:rotate(180deg)}
.hb-drawer__cats img{width:32px;height:32px;border-radius:8px;object-fit:cover;background:var(--hb-surface-2)}
.hb-drawer__cats details ul{padding:4px 0 8px 44px}
.hb-drawer__cats details li a{display:block;padding:7px 0;color:var(--hb-mut)}
.hb-drawer__links a{display:flex;align-items:center;gap:12px;padding:9px 0;color:var(--hb-ink)}
.hb-drawer__links svg{font-size:20px;color:var(--hb-dim)}
.hb-drawer__contacts{display:flex;flex-direction:column;gap:8px;padding:16px;border-radius:var(--hb-radius);background:var(--hb-surface-2)}
.hb-drawer__contacts p{margin:0;display:flex;align-items:center;gap:8px;font-size:14px}
.hb-drawer__phone{display:flex;align-items:center;gap:8px;font-weight:650;font-size:17px;color:var(--hb-ink)}
.hb-drawer__phone svg{color:var(--hb-accent)}
.hb-drawer__switches{display:flex;gap:10px}
.hb-social{display:flex;flex-wrap:wrap;gap:8px}
.hb-social a{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--hb-surface);color:var(--hb-ink);border:1px solid var(--hb-line)}
.hb-social a:hover{background:var(--hb-accent);border-color:var(--hb-accent);color:var(--hb-on-accent)}
.hb-social svg{font-size:20px}
@keyframes hb-fade{from{opacity:0}}
@keyframes hb-slide{from{transform:translateX(-100%)}}
@keyframes hb-rise{from{opacity:0;transform:translateY(12px)}}

/* ---------- 7. Підвал ---------- */
.hb-footer{margin-top:72px;background:var(--hb-footer-bg);color:var(--hb-footer-ink);font-size:14.5px}
.hb-footer a{color:var(--hb-footer-mut)}
.hb-footer a:hover{color:#fff}
.hb-footer__grid{display:grid;grid-template-columns:1.3fr repeat(4,1fr);gap:32px;padding-block:52px 40px}
.hb-footer__logo{display:inline-block;margin-bottom:18px;color:#fff}
.hb-footer__logo img{max-height:46px;width:auto}
.hb-footer__logo span{font:600 22px/1 var(--hb-display);color:#fff}
.hb-footer__title{margin:0 0 14px;font-weight:650;color:#fff;font-size:15px}
.hb-footer__label{margin:20px 0 8px;font-size:12px;letter-spacing:.07em;text-transform:uppercase;color:var(--hb-footer-mut)}
.hb-footer ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.hb-footer__contacts a,.hb-footer__contacts span{display:inline-flex;align-items:center;gap:8px}
.hb-footer__contacts svg{font-size:16px;color:var(--hb-accent-2)}
.hb-footer__phone{font-size:17px;font-weight:650;color:#fff!important}
.hb-social--footer a{background:transparent;border-color:var(--hb-footer-line);color:var(--hb-footer-ink)}
.hb-pay{flex-direction:row!important;flex-wrap:wrap;gap:6px!important}
.hb-pay li{padding:4px 9px;border:1px solid var(--hb-footer-line);border-radius:6px;font-size:12px;font-weight:600;color:var(--hb-footer-ink)}
.hb-footer__bottom{border-top:1px solid var(--hb-footer-line)}
.hb-footer__bar{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-block:18px;font-size:13px;color:var(--hb-footer-mut)}

/* ---------- 8. Спливаючі елементи ---------- */
.hb-up{position:fixed;right:18px;bottom:18px;z-index:80;width:46px;height:46px;border-radius:50%;border:1px solid var(--hb-line);background:var(--hb-surface);color:var(--hb-ink);display:grid;place-items:center;box-shadow:var(--hb-shadow);cursor:pointer}
.hb-up svg{font-size:20px}
.hb-cookie{position:fixed;left:18px;bottom:18px;z-index:90;max-width:420px;display:flex;gap:14px;align-items:center;padding:14px 14px 14px 18px;border-radius:var(--hb-radius);background:var(--hb-surface);color:var(--hb-ink);border:1px solid var(--hb-line);box-shadow:var(--hb-shadow-lg);font-size:13.5px;line-height:1.45;animation:hb-rise .3s var(--hb-ease)}
.hb-cookie p{margin:0}
.hb-cookie .hb-btn{min-height:38px;padding:8px 16px}
.hb-modal{position:fixed;inset:0;z-index:210;display:grid;place-items:center;padding:16px}
.hb-modal__shade{position:absolute;inset:0;background:rgba(20,16,10,.55);animation:hb-fade .2s}
.hb-modal__box{position:relative;width:min(560px,100%);max-height:calc(100vh - 32px);overflow:auto;background:var(--hb-surface);color:var(--hb-ink);border-radius:calc(var(--hb-radius) + 4px);box-shadow:var(--hb-shadow-lg);padding:28px;animation:hb-rise .25s var(--hb-ease)}
.hb-modal__x{position:absolute;right:10px;top:10px}
.hb-modal h2,.hb-modal__title{font-size:22px;margin:0 36px 14px 0}
.hb-toasts{position:fixed;top:92px;right:18px;z-index:220;display:flex;flex-direction:column;gap:10px;pointer-events:none}
.hb-toast{pointer-events:auto;display:flex;align-items:center;gap:10px;min-width:260px;max-width:360px;padding:12px 16px;border-radius:var(--hb-radius-sm);background:var(--hb-ink);color:var(--hb-bg);box-shadow:var(--hb-shadow-lg);font-size:14px;animation:hb-rise .25s var(--hb-ease)}
.hb-toast a{color:var(--hb-accent-2);font-weight:600}
.hb-toast svg{font-size:18px;color:var(--hb-accent-2)}
.hb-toast.is-error{background:var(--hb-danger);color:#fff}
#alert{display:none}

/* ---------- 9. Сторінки: заголовки, крихти, колонки ---------- */
.hb-page{padding-top:22px}
.breadcrumb{display:flex;flex-wrap:wrap;gap:4px 0;margin:0 0 14px;padding:0;background:transparent;border:0;font-size:13px}
.breadcrumb>li{display:inline-flex;align-items:center;text-shadow:none;padding:0}
.breadcrumb>li+li::before{content:"";width:5px;height:5px;margin:0 10px;border-right:1.5px solid var(--hb-dim);border-top:1.5px solid var(--hb-dim);transform:rotate(45deg);padding:0}
.breadcrumb>li:after{display:none}
.breadcrumb a{color:var(--hb-mut)}
.breadcrumb>li:last-child a{color:var(--hb-ink);pointer-events:none}
.breadcrumb .fa-home{font-size:15px}
.hb-title{font-family:var(--hb-display);font-weight:600;letter-spacing:-.015em}
#column-left,#column-right{margin-bottom:24px}
#content{min-height:300px}
.hb-card{background:var(--hb-surface);border:1px solid var(--hb-line);border-radius:var(--hb-radius)}
.hb-section{margin-top:56px}
.hb-section__head{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:20px}
.hb-section__head h2{margin:0;font-family:var(--hb-display);font-weight:600}
.hb-section__head a{font-weight:600;white-space:nowrap}
.hb-eyebrow{display:block;margin-bottom:6px;font-size:12px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--hb-gold-t)}

/* ---------- 10. Картка товару в списках ---------- */
.hb-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.hb-grid--5{grid-template-columns:repeat(5,minmax(0,1fr))}
#column-left~#content .hb-grid,#column-right~#content .hb-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.hb-pc{position:relative;display:flex;flex-direction:column;background:var(--hb-surface);border:1px solid var(--hb-line);border-radius:var(--hb-radius);overflow:hidden;transition:border-color .2s,box-shadow .2s,transform .2s var(--hb-ease)}
.hb-pc:hover{border-color:var(--hb-accent-line);box-shadow:var(--hb-shadow);transform:translateY(-2px)}
.hb-pc__media{position:relative;display:block;aspect-ratio:1/1;background:var(--hb-surface-2);overflow:hidden}
.hb-pc__media img{width:100%;height:100%;object-fit:cover;transition:transform .5s var(--hb-ease)}
.hb-pc:hover .hb-pc__media img{transform:scale(1.04)}
.hb-stickers{position:absolute;left:10px;top:10px;display:flex;flex-direction:column;align-items:flex-start;gap:5px;z-index:2}
.hb-sticker{padding:3px 9px;border-radius:var(--hb-pill);font-size:11.5px;font-weight:650;letter-spacing:.02em;line-height:1.5;background:var(--hb-ink);color:var(--hb-bg)}
.hb-sticker--special{background:var(--hb-danger);color:#fff}
.hb-sticker--new{background:var(--hb-accent);color:var(--hb-on-accent)}
.hb-sticker--bestseller{background:var(--hb-accent-2);color:#231A08}
.hb-pc__tools{position:absolute;right:10px;top:10px;display:flex;flex-direction:column;gap:6px;z-index:2}
.hb-pc__tool{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;border:0;background:color-mix(in srgb,var(--hb-surface) 92%,transparent);color:var(--hb-ink);box-shadow:0 2px 8px rgba(0,0,0,.08);cursor:pointer;transition:background .15s,color .15s}
.hb-pc__tool svg{font-size:18px}
.hb-pc__tool:hover{background:var(--hb-accent);color:var(--hb-on-accent)}
.hb-pc__body{display:flex;flex-direction:column;gap:6px;flex:1;padding:14px 16px 16px}
.hb-pc__name{margin:0;font-size:15px;font-weight:550;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.7em}
.hb-pc__name a{color:var(--hb-ink)}
.hb-pc__name a:hover{color:var(--hb-accent-t)}
.hb-pc__attrs{list-style:none;margin:0;padding:0;font-size:12.5px;color:var(--hb-mut);line-height:1.45}
.hb-pc__attrs li{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hb-pc__attrs span{color:var(--hb-dim)}
.hb-pc__rating{display:flex;gap:1px;color:var(--hb-accent-2);font-size:14px}
.hb-pc__rating .off{color:var(--hb-line)}
.hb-pc__foot{display:flex;align-items:end;justify-content:space-between;gap:10px;margin-top:auto;padding-top:8px}
.hb-price{display:flex;flex-direction:column;line-height:1.15;font-variant-numeric:tabular-nums}
.hb-price b{font-size:19px;font-weight:700;color:var(--hb-ink)}
.hb-price s{font-size:13px;color:var(--hb-dim)}
.hb-price--special b{color:var(--hb-danger)}
.hb-price small{font-size:11.5px;color:var(--hb-dim)}
.hb-pc__buy{min-height:42px;padding:8px 16px}
.hb-pc__buy span{display:inline}
.hb-pc__qo{align-self:flex-start;border:0;background:none;padding:0;color:var(--hb-mut);font-size:13px;text-decoration:underline;text-decoration-color:var(--hb-line);text-underline-offset:3px;cursor:pointer}
.hb-pc__qo:hover{color:var(--hb-accent-t)}
.hb-list .hb-pc{flex-direction:row}
.hb-list .hb-pc__media{width:220px;flex:none}
.hb-list .hb-grid{grid-template-columns:1fr!important}
.hb-list .hb-pc__name{-webkit-line-clamp:3;min-height:0;font-size:17px}
.hb-list .hb-pc__desc{display:block}
.hb-pc__desc{display:none;color:var(--hb-mut);font-size:14px;margin:0}

/* ---------- 11. Адаптив ---------- */
@media (max-width:1180px){
  .hb-phone{display:none}
  .hb-grid--5{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media (max-width:991px){
  .hb-header__burger{display:inline-grid}
  .hb-catalog,.hb-nav{display:none}
  .hb-header__row{flex-wrap:wrap;gap:6px 8px;min-height:64px;padding-block:8px}
  .hb-logo{margin-right:auto;max-width:150px}
  .hb-logo img{max-height:42px}
  .hb-search{order:5;flex-basis:100%;max-width:none;margin:0 0 4px}
  .hb-search input[type="search"]{height:44px}
  .hb-search__btn{width:36px;height:36px}
  .hb-hide-sm{display:none}
  .hb-cartbtn{padding:4px;background:transparent;margin-left:0}
  .hb-cartbtn__sum{display:none}
  .hb-grid,.hb-grid--5,#column-left~#content .hb-grid,#column-right~#content .hb-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .hb-footer__grid{grid-template-columns:1fr 1fr;gap:28px}
  .hb-footer__brand{grid-column:1/-1}
  .hb-toasts{top:auto;bottom:18px;left:16px;right:16px}
  .hb-toast{max-width:none}
}
@media (max-width:640px){
  body{font-size:14.5px}
  .hb-grid,.hb-grid--5,#column-left~#content .hb-grid,#column-right~#content .hb-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .hb-pc__body{padding:10px 11px 12px}
  .hb-pc__name{font-size:13.5px}
  .hb-pc__foot{flex-direction:column;align-items:stretch}
  .hb-pc__buy{width:100%}
  .hb-price b{font-size:17px}
  .hb-pc__tools{right:6px;top:6px}
  .hb-pc__tool{width:32px;height:32px}
  .hb-stickers{left:6px;top:6px}
  .hb-list .hb-pc__media{width:120px}
  .hb-cookie{left:10px;right:10px;bottom:10px;max-width:none;flex-direction:column;align-items:stretch}
  .hb-modal__box{padding:22px 18px}
  .hb-up{right:12px;bottom:12px;width:42px;height:42px}
  .hb-footer__grid{grid-template-columns:1fr 1fr;padding-block:40px 28px}
}

/* ---------- 12. Каталог: розкладка, панель, пагінація ---------- */
.hb-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:28px}
.hb-layout.has-left{grid-template-columns:260px minmax(0,1fr)}
.hb-layout.has-right{grid-template-columns:minmax(0,1fr) 260px}
.hb-layout.has-left.has-right{grid-template-columns:240px minmax(0,1fr) 240px}
.hb-layout__side .list-group{border-radius:var(--hb-radius);overflow:hidden;border:1px solid var(--hb-line)}
.hb-layout__side .list-group-item{border-width:0 0 1px;margin:0}
.hb-listhead{margin-bottom:18px}
.hb-listhead h1{margin-bottom:12px}
.hb-listhead__desc{color:var(--hb-mut);max-width:72ch}
.hb-chips{display:flex;flex-wrap:wrap;gap:8px}
.hb-chip{display:inline-flex;align-items:center;min-height:36px;padding:6px 14px;border-radius:var(--hb-pill);background:var(--hb-surface);border:1px solid var(--hb-line);color:var(--hb-ink);font-size:14px;font-weight:500}
.hb-chip:hover{border-color:var(--hb-accent);color:var(--hb-accent-t)}
.hb-toolbar{display:flex;align-items:center;gap:10px;margin-bottom:16px;flex-wrap:wrap}
.hb-select{position:relative;margin:0}
.hb-select select{appearance:none;-webkit-appearance:none;height:42px;padding:0 38px 0 14px;border-radius:var(--hb-pill);background:var(--hb-surface);font-size:14px;cursor:pointer}
.hb-select::after{content:"";position:absolute;right:15px;top:50%;width:7px;height:7px;border-right:1.6px solid var(--hb-mut);border-bottom:1.6px solid var(--hb-mut);transform:translateY(-70%) rotate(45deg);pointer-events:none}
.hb-view{display:flex;gap:2px;margin-left:auto;padding:2px;border-radius:var(--hb-pill);background:var(--hb-surface-2)}
.hb-view .hb-iconbtn{width:38px;height:38px;color:var(--hb-dim)}
.hb-view .hb-iconbtn svg{font-size:19px}
.hb-view [aria-pressed="true"]{background:var(--hb-surface);color:var(--hb-ink);box-shadow:0 1px 2px rgba(0,0,0,.08)}
.hb-pagination{display:flex;flex-direction:column;align-items:center;gap:12px;margin-top:28px}
.hb-pagination .pagination{margin:0}
.hb-pagination__info{margin:0;font-size:13px;color:var(--hb-dim)}
.hb-more{min-width:220px}
.hb-more.is-loading{opacity:.6;pointer-events:none}
.hb-empty{padding:48px 20px;text-align:center;background:var(--hb-surface);border:1px dashed var(--hb-line);border-radius:var(--hb-radius);color:var(--hb-mut)}
.hb-seo{display:flex;gap:24px;align-items:flex-start;margin-top:48px;padding:28px;border-radius:var(--hb-radius);background:var(--hb-surface);border:1px solid var(--hb-line)}
.hb-seo__img{width:140px;border-radius:var(--hb-radius-sm)}
.hb-prose{color:var(--hb-mut);font-size:15px;line-height:1.7;max-width:78ch}
.hb-prose h2,.hb-prose h3{color:var(--hb-ink);margin-top:1.2em}
.hb-prose h2:first-child,.hb-prose h3:first-child{margin-top:0}
.hb-prose strong,.hb-prose b{color:var(--hb-ink)}
.hb-prose ul,.hb-prose ol{padding-left:1.2em}
.hb-prose img{border-radius:var(--hb-radius-sm)}
.hb-prose table{width:100%;border-collapse:collapse;margin:1em 0}
.hb-prose td,.hb-prose th{border:1px solid var(--hb-line);padding:8px 10px}
.hb-searchbox{padding:16px;margin-bottom:20px}
.hb-searchbox__row{display:grid;grid-template-columns:1fr 240px auto;gap:10px}
.hb-searchbox__opts{display:flex;gap:18px;margin-top:10px;font-size:14px;color:var(--hb-mut)}
.hb-searchbox__opts .checkbox-inline{padding-left:0;margin:0}
.hb-alpha{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:20px}
.hb-alpha a{display:grid;place-items:center;min-width:36px;height:36px;border-radius:8px;background:var(--hb-surface);border:1px solid var(--hb-line);font-weight:600;color:var(--hb-ink)}
.hb-brands{margin-bottom:24px}
.hb-brands h2{font-size:20px}
.hb-module .hb-section__head h2{font-size:clamp(22px,2.4vw,30px)}
@media (max-width:991px){
  .hb-layout.has-left,.hb-layout.has-right,.hb-layout.has-left.has-right{grid-template-columns:minmax(0,1fr)}
  .hb-layout__side{order:2}
  .hb-searchbox__row{grid-template-columns:1fr}
}
@media (max-width:640px){
  .hb-hide-xs{display:none}
  .hb-toolbar .hb-select{flex:1}
  .hb-toolbar .hb-select select{width:100%}
  .hb-grid--rail{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;margin-inline:calc(var(--hb-gutter) * -1);padding:4px var(--hb-gutter) 10px;scrollbar-width:none}
  .hb-grid--rail::-webkit-scrollbar{display:none}
  .hb-grid--rail>.hb-pc{flex:0 0 62%;scroll-snap-align:start}
  .hb-seo{flex-direction:column;padding:20px}
}

/* ---------- 13. Сторінка товару ---------- */
.hb-product{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:clamp(24px,4vw,56px);align-items:start}
.hb-product__gallery{position:sticky;top:140px}
.hb-gallery{position:relative;display:grid;grid-template-columns:76px minmax(0,1fr);gap:14px}
.hb-gallery .hb-stickers{left:104px;top:14px}
.hb-gallery__main{grid-column:2;grid-row:1;display:block;aspect-ratio:1/1;border-radius:var(--hb-radius);overflow:hidden;background:var(--hb-surface-2);cursor:zoom-in}
.hb-gallery__main img{width:100%;height:100%;object-fit:cover}
.hb-gallery__thumbs{grid-column:1;grid-row:1;display:flex;flex-direction:column;gap:10px;max-height:100%;overflow:auto;scrollbar-width:none}
.hb-gallery__thumb{display:block;width:76px;height:76px;flex:none;border-radius:var(--hb-radius-sm);overflow:hidden;border:2px solid transparent;background:var(--hb-surface-2)}
.hb-gallery__thumb img{width:100%;height:100%;object-fit:cover}
.hb-gallery__thumb.is-active,.hb-gallery__thumb:hover{border-color:var(--hb-accent)}
.hb-gallery:not(:has(.hb-gallery__thumbs)){grid-template-columns:1fr}
.hb-gallery:not(:has(.hb-gallery__thumbs)) .hb-gallery__main{grid-column:1}
.hb-gallery:not(:has(.hb-gallery__thumbs)) .hb-stickers{left:14px}
.hb-product__title{font-family:var(--hb-display);font-weight:600;font-size:clamp(26px,3vw,38px);margin-bottom:12px}
.hb-product__meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin-bottom:18px}
.hb-rating{display:inline-flex;align-items:center;gap:2px;color:var(--hb-accent-2);font-size:16px}
.hb-rating .off{color:var(--hb-line)}
.hb-rating span{margin-left:6px;font-size:13.5px;color:var(--hb-mut)}
.hb-tag{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:var(--hb-pill);background:var(--hb-surface-2);font-size:13px;color:var(--hb-mut)}
.hb-tag b{color:var(--hb-ink);font-weight:600}
.hb-tag i{width:7px;height:7px;border-radius:50%;background:currentColor}
.hb-tag--ok{background:var(--hb-ok-soft);color:var(--hb-ok);font-weight:600}
.hb-tag--no{background:var(--hb-danger-soft);color:var(--hb-danger);font-weight:600}
.hb-product__price{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 14px;margin-bottom:18px;font-variant-numeric:tabular-nums}
.hb-product__price b{font-size:clamp(30px,3.4vw,40px);font-weight:700;letter-spacing:-.02em;color:var(--hb-ink)}
.hb-product__price.is-special b{color:var(--hb-danger)}
.hb-product__price s{font-size:18px;color:var(--hb-dim)}
.hb-product__price small{flex-basis:100%;color:var(--hb-dim);font-size:13px}
.hb-discounts{list-style:none;margin:-6px 0 18px;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.hb-discounts li{padding:5px 10px;border-radius:8px;background:var(--hb-gold-soft);color:var(--hb-gold-t);font-size:13px}
.hb-buy{padding:18px;border-radius:var(--hb-radius);background:var(--hb-surface);border:1px solid var(--hb-line);margin-bottom:18px}
.hb-options{margin-bottom:6px}
.hb-swatches{display:flex;flex-wrap:wrap;gap:8px}
.hb-swatch{margin:0;cursor:pointer;font-weight:400}
.hb-swatch input{position:absolute;opacity:0;pointer-events:none}
.hb-swatch span{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:6px 14px;border-radius:var(--hb-pill);border:1px solid var(--hb-line);background:var(--hb-surface);font-size:14px}
.hb-swatch span img{border-radius:50%}
.hb-swatch em{font-style:normal;color:var(--hb-dim);font-size:12.5px}
.hb-swatch input:checked+span{border-color:var(--hb-accent);box-shadow:inset 0 0 0 1px var(--hb-accent);background:var(--hb-accent-soft)}
.hb-swatch input:focus-visible+span{outline:2px solid var(--hb-accent);outline-offset:2px}
.hb-buy__row{display:flex;align-items:center;gap:10px}
.hb-qty{display:inline-flex;align-items:center;height:52px;border:1px solid var(--hb-line);border-radius:var(--hb-pill);background:var(--hb-surface);flex:none}
.hb-qty button{width:44px;height:100%;border:0;background:transparent;color:var(--hb-ink);display:grid;place-items:center;cursor:pointer;border-radius:var(--hb-pill)}
.hb-qty button:hover{color:var(--hb-accent-t)}
.hb-qty input{width:44px;height:100%;border:0!important;box-shadow:none!important;background:transparent;text-align:center;font-weight:650;font-size:16px;padding:0;-moz-appearance:textfield}
.hb-qty input::-webkit-outer-spin-button,.hb-qty input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.hb-buy__cart{flex:1}
.hb-buy__icon{border:1px solid var(--hb-line);width:52px;height:52px}
.hb-buy__qo{margin-top:10px}
.hb-note{margin:10px 0 0;font-size:13px;color:var(--hb-gold-t)}
.hb-specs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:18px}
.hb-spec{display:flex;flex-direction:column;gap:2px;padding:10px 14px;border-radius:var(--hb-radius-sm);background:var(--hb-surface-2)}
.hb-spec span{font-size:12px;color:var(--hb-dim)}
.hb-spec b{font-weight:600;font-size:14.5px;color:var(--hb-ink)}
.hb-spec--scale{grid-column:1/-1;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px}
.hb-scale{display:flex;gap:4px}
.hb-scale i{flex:1;height:7px;border-radius:4px;background:var(--hb-line)}
.hb-scale i.on{background:var(--hb-accent-2)}
.hb-adv{list-style:none;margin:0 0 18px;padding:0;display:grid;gap:10px}
.hb-adv li{display:flex;gap:12px;align-items:flex-start}
.hb-adv svg{font-size:22px;color:var(--hb-accent);margin-top:1px}
.hb-adv div{display:flex;flex-direction:column;line-height:1.35}
.hb-adv a,.hb-adv b{font-weight:600;color:var(--hb-ink)}
.hb-adv span{font-size:13.5px;color:var(--hb-mut)}
.hb-brandline{font-size:14px;color:var(--hb-mut)}
.hb-tabs{margin-top:56px}
.hb-tabs__bar{display:flex;gap:4px;overflow-x:auto;border-bottom:1px solid var(--hb-line);margin-bottom:24px;scrollbar-width:none}
.hb-tabs__bar button{flex:none;border:0;background:none;padding:12px 18px;font:600 15.5px var(--hb-font);color:var(--hb-mut);border-bottom:2px solid transparent;margin-bottom:-1px;cursor:pointer}
.hb-tabs__bar button[aria-selected="true"]{color:var(--hb-ink);border-bottom-color:var(--hb-accent)}
.hb-tabs__panel{animation:hb-fade .25s}
.hb-prose--wide{max-width:none}
.hb-specs-table__group{font-size:15px;margin:18px 0 8px;color:var(--hb-dim);text-transform:uppercase;letter-spacing:.06em}
.hb-specs-table{margin:0;max-width:760px}
.hb-specs-table div{display:grid;grid-template-columns:minmax(140px,1fr) 2fr;gap:16px;padding:10px 0;border-bottom:1px dashed var(--hb-line)}
.hb-specs-table dt{font-weight:400;color:var(--hb-mut)}
.hb-specs-table dd{margin:0;color:var(--hb-ink);font-weight:500}
.hb-reviews{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:32px;align-items:start}
.hb-review-form{padding:22px}
.hb-review-form h3{margin-bottom:14px}
#review table{width:100%;margin-bottom:16px;background:var(--hb-surface);border:1px solid var(--hb-line)!important;border-radius:var(--hb-radius-sm)}
#review td{padding:12px 14px!important;border:0!important}
.hb-stars-input{display:inline-flex;flex-direction:row-reverse;gap:2px}
.hb-stars-input input{position:absolute;opacity:0}
.hb-stars-input label{margin:0;font-size:28px;color:var(--hb-line);cursor:pointer}
.hb-stars-input label:hover,.hb-stars-input label:hover~label,.hb-stars-input input:checked~label{color:var(--hb-accent-2)}
.hb-tags{margin-top:28px;display:flex;flex-wrap:wrap;gap:8px;align-items:center;color:var(--hb-mut)}
.hb-qo-done{text-align:center;padding:10px 0}
.hb-qo-done>svg{font-size:54px;color:var(--hb-ok);background:var(--hb-ok-soft);border-radius:50%;padding:12px;margin-bottom:10px}
@media (max-width:991px){
  .hb-product{grid-template-columns:minmax(0,1fr)}
  .hb-product__gallery{position:static}
  .hb-reviews{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:640px){
  .hb-gallery{grid-template-columns:minmax(0,1fr)}
  .hb-gallery__main{grid-column:1;border-radius:var(--hb-radius-sm)}
  .hb-gallery__thumbs{grid-column:1;grid-row:2;flex-direction:row;overflow-x:auto}
  .hb-gallery__thumb{width:62px;height:62px}
  .hb-gallery .hb-stickers{left:10px;top:10px}
  .hb-buy{padding:14px}
  .hb-buy__row{flex-wrap:wrap}
  .hb-buy__cart{order:3;flex-basis:100%}
  .hb-qty{flex:1;justify-content:space-between}
  .hb-specs{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .hb-specs-table div{grid-template-columns:1fr 1fr}
}

/* ---------- 14. Модулі головної ---------- */
.hb-hero{position:relative;margin-top:22px;border-radius:calc(var(--hb-radius) + 6px);overflow:hidden;background:#1d1812;isolation:isolate}
.hb-hero__track{display:grid}
.hb-hero__slide{grid-area:1/1;position:relative;display:flex;align-items:center;min-height:clamp(320px,34vw,460px);padding:clamp(28px,5vw,72px);opacity:0;visibility:hidden;transition:opacity .6s var(--hb-ease),visibility .6s}
.hb-hero--low .hb-hero__slide{min-height:clamp(260px,26vw,360px)}
.hb-hero--high .hb-hero__slide{min-height:clamp(380px,42vw,560px)}
.hb-hero__slide.is-active{opacity:1;visibility:visible;z-index:1}
.hb-hero__bg{position:absolute;inset:0;z-index:-1}
.hb-hero__bg img{width:100%;height:100%;object-fit:cover}
.hb-hero__slide--light .hb-hero__bg::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(18,14,9,.78) 0%,rgba(18,14,9,.45) 45%,rgba(18,14,9,0) 75%)}
.hb-hero__slide--dark .hb-hero__bg::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(250,246,238,.82) 0%,rgba(250,246,238,.35) 50%,rgba(250,246,238,0) 75%)}
.hb-hero__slide--center{justify-content:center;text-align:center}
.hb-hero__slide--center .hb-hero__bg::after{background:rgba(18,14,9,.45)}
.hb-hero__slide--center.hb-hero__slide--dark .hb-hero__bg::after{background:rgba(250,246,238,.55)}
.hb-hero__content{position:relative;z-index:2;max-width:560px}
.hb-hero__slide--light .hb-hero__content{color:#F5EFE3}
.hb-hero__slide--dark .hb-hero__content{color:#2B251C}
.hb-hero__eyebrow{margin:0 0 12px;font-size:13px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--hb-accent-2)}
.hb-hero__slide--dark .hb-hero__eyebrow{color:var(--hb-gold-t)}
.hb-hero__title{margin:0 0 14px;font-family:var(--hb-display);font-weight:600;font-size:clamp(30px,4.4vw,54px);line-height:1.06;letter-spacing:-.02em;color:inherit;text-wrap:balance}
.hb-hero__text{margin:0 0 26px;font-size:clamp(15px,1.5vw,18px);line-height:1.55;opacity:.92;max-width:46ch}
.hb-hero__slide--center .hb-hero__text{margin-inline:auto}
.hb-hero__link{position:absolute;inset:0;z-index:3}
.hb-hero__nav{position:absolute;top:50%;z-index:5;width:46px;height:46px;margin-top:-23px;border:0;border-radius:50%;background:rgba(255,255,255,.88);color:#2B251C;display:grid;place-items:center;cursor:pointer;opacity:0;transition:opacity .2s}
.hb-hero:hover .hb-hero__nav,.hb-hero__nav:focus-visible{opacity:1}
.hb-hero__nav svg{font-size:20px}
.hb-hero__nav--prev{left:16px}
.hb-hero__nav--prev svg{transform:scaleX(-1)}
.hb-hero__nav--next{right:16px}
.hb-hero__dots{position:absolute;left:clamp(28px,5vw,72px);bottom:22px;z-index:5;display:flex;gap:8px}
.hb-hero__dots button{width:9px;height:9px;padding:0;border:0;border-radius:5px;background:rgba(255,255,255,.45);cursor:pointer;transition:width .3s,background .3s}
.hb-hero__dots button[aria-current]{width:28px;background:var(--hb-accent-2)}

.hb-catwall__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:14px}
.hb-catwall__card{display:flex;align-items:center;gap:14px;padding:12px 14px 12px 12px;border-radius:var(--hb-radius);background:var(--hb-surface);border:1px solid var(--hb-line);color:var(--hb-ink);transition:border-color .2s,transform .2s var(--hb-ease),box-shadow .2s}
.hb-catwall__card:hover{border-color:var(--hb-accent-line);color:var(--hb-ink);transform:translateY(-2px);box-shadow:var(--hb-shadow)}
.hb-catwall__img{width:68px;height:68px;flex:none;border-radius:calc(var(--hb-radius) - 4px);overflow:hidden;background:var(--hb-surface-2)}
.hb-catwall__img img{width:100%;height:100%;object-fit:cover}
.hb-catwall__name{flex:1;font-weight:600;font-size:16px;line-height:1.25}
.hb-catwall__name small{display:block;font-weight:400;font-size:12.5px;color:var(--hb-dim);margin-top:2px}
.hb-catwall__arrow{font-size:18px;color:var(--hb-dim);transition:transform .2s,color .2s}
.hb-catwall__card:hover .hb-catwall__arrow{transform:translateX(3px);color:var(--hb-accent)}
.hb-catwall__sub{list-style:none;margin:8px 0 0;padding:0 6px;display:flex;flex-wrap:wrap;gap:4px 12px;font-size:13.5px}
.hb-catwall__sub a{color:var(--hb-mut)}

.hb-benefits__list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}
.hb-benefit{display:flex;gap:14px;align-items:flex-start;padding:20px;border-radius:var(--hb-radius);background:var(--hb-surface);border:1px solid var(--hb-line)}
.hb-benefit__icon{display:grid;place-items:center;width:46px;height:46px;flex:none;border-radius:14px;background:var(--hb-accent-soft);color:var(--hb-accent-t)}
.hb-benefit__icon svg{font-size:23px}
.hb-benefit__title{display:block;margin:0 0 4px;font-weight:650;font-size:15.5px;color:var(--hb-ink);line-height:1.3}
a.hb-benefit__title:hover{color:var(--hb-accent-t)}
.hb-benefit__text{margin:0;font-size:14px;color:var(--hb-mut);line-height:1.5}
.hb-benefits--row .hb-benefit{background:transparent;border:0;padding:6px 0}
.hb-benefits--row .hb-benefits__list{padding:22px 26px;border-radius:var(--hb-radius);background:var(--hb-surface);border:1px solid var(--hb-line)}

.hb-banners__grid{display:grid;gap:14px}
.hb-banners__grid--2{grid-template-columns:repeat(2,minmax(0,1fr))}
.hb-banners__grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.hb-banners__grid--4{grid-template-columns:repeat(4,minmax(0,1fr))}
.hb-banner{position:relative;display:block;border-radius:var(--hb-radius);overflow:hidden;background:var(--hb-surface-2);isolation:isolate}
.hb-banner img{width:100%;height:100%;object-fit:cover;transition:transform .5s var(--hb-ease)}
a.hb-banner:hover img{transform:scale(1.04)}
.hb-banner__body{position:absolute;inset:auto 0 0 0;display:flex;flex-direction:column;gap:2px;padding:18px 20px;z-index:1}
.hb-banner--light .hb-banner__body{color:#fff;background:linear-gradient(0deg,rgba(18,14,9,.72),rgba(18,14,9,0))}
.hb-banner--dark .hb-banner__body{color:#2B251C;background:linear-gradient(0deg,rgba(250,246,238,.9),rgba(250,246,238,0))}
.hb-banner__body small{font-size:12px;letter-spacing:.1em;text-transform:uppercase;opacity:.85}
.hb-banner__body b{font-size:19px;font-weight:650;line-height:1.2}
.hb-banner__body span{font-size:14px;opacity:.9}

.hb-html__body{padding:clamp(20px,3vw,36px)}
.hb-logos__row{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:18px 36px;padding:20px;border-radius:var(--hb-radius);background:var(--hb-surface);border:1px solid var(--hb-line)}
.hb-logos__row img{max-height:56px;width:auto;filter:grayscale(1);opacity:.75;transition:filter .2s,opacity .2s}
.hb-logos__row a:hover img{filter:none;opacity:1}
.hb-logos__row:not(:has(img)){display:none}
@media (max-width:991px){
  .hb-banners__grid--3,.hb-banners__grid--4{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:640px){
  .hb-hero{margin-top:12px;border-radius:var(--hb-radius)}
  .hb-hero__slide{min-height:420px;align-items:flex-end;padding:26px 22px 54px}
  .hb-hero__slide--light .hb-hero__bg::after{background:linear-gradient(0deg,rgba(18,14,9,.85) 0%,rgba(18,14,9,.4) 55%,rgba(18,14,9,.1) 100%)}
  .hb-hero__slide--dark .hb-hero__bg::after{background:linear-gradient(0deg,rgba(250,246,238,.92) 0%,rgba(250,246,238,.55) 55%,rgba(250,246,238,.1) 100%)}
  .hb-hero__bg img{object-position:70% 50%}
  .hb-hero__nav{display:none}
  .hb-hero__dots{left:22px;bottom:20px}
  .hb-hero .hb-btn--lg{min-height:48px;padding:10px 20px}
  .hb-catwall__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .hb-catwall__card{flex-direction:column;align-items:flex-start;gap:10px;padding:10px}
  .hb-catwall__img{width:100%;height:auto;aspect-ratio:1/1}
  .hb-catwall__arrow{display:none}
  .hb-catwall__name{font-size:14.5px}
  .hb-banners__grid--2,.hb-banners__grid--3,.hb-banners__grid--4{grid-template-columns:minmax(0,1fr)}
  .hb-benefit{padding:16px}
}

/* ---------- 15. Блог ---------- */
.hb-posts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
#column-left~#content .hb-posts,#column-right~#content .hb-posts{grid-template-columns:repeat(2,minmax(0,1fr))}
.hb-post{display:flex;flex-direction:column;background:var(--hb-surface);border:1px solid var(--hb-line);border-radius:var(--hb-radius);overflow:hidden;transition:border-color .2s,box-shadow .2s}
.hb-post:hover{border-color:var(--hb-accent-line);box-shadow:var(--hb-shadow)}
.hb-post__img{display:block;aspect-ratio:16/10;background:var(--hb-surface-2);overflow:hidden}
.hb-post__img img{width:100%;height:100%;object-fit:cover;transition:transform .5s var(--hb-ease)}
.hb-post:hover .hb-post__img img{transform:scale(1.04)}
.hb-post__body{display:flex;flex-direction:column;gap:8px;flex:1;padding:18px 20px 20px}
.hb-post__meta{display:flex;gap:12px;margin:0;font-size:12.5px;color:var(--hb-dim)}
.hb-post__title{margin:0;font-size:18px;line-height:1.3;font-weight:650}
.hb-post__title a{color:var(--hb-ink)}
.hb-post__title a:hover{color:var(--hb-accent-t)}
.hb-post__text{margin:0;color:var(--hb-mut);font-size:14.5px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.hb-post__more{display:inline-flex;align-items:center;gap:6px;margin-top:auto;padding-top:6px;font-weight:600;font-size:14px}
.hb-post__more svg{font-size:16px;transition:transform .2s}
.hb-post__more:hover svg{transform:translateX(3px)}
.hb-section__head a{display:inline-flex;align-items:center;gap:6px}
.hb-section__head a svg{font-size:16px}
.hb-article{max-width:820px;margin:0 auto}
.hb-article__head{margin-bottom:20px}
.hb-article__head h1{font-size:clamp(28px,3.6vw,44px)}
.hb-article__cover{margin:0 0 28px;border-radius:var(--hb-radius);overflow:hidden;background:var(--hb-surface-2)}
.hb-article__cover img{width:100%;display:block}
.hb-article__body{font-size:17px;line-height:1.75;max-width:none}
.hb-article__gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:10px;margin-top:24px}
.hb-article__gallery img{border-radius:var(--hb-radius-sm)}
.hb-downloads{margin-top:20px}
@media (max-width:991px){.hb-posts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){
  .hb-posts,#column-left~#content .hb-posts{grid-template-columns:minmax(0,1fr)}
  .hb-news .hb-posts{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;margin-inline:calc(var(--hb-gutter) * -1);padding:4px var(--hb-gutter) 10px;scrollbar-width:none}
  .hb-news .hb-post{flex:0 0 82%;scroll-snap-align:start}
  .hb-article__body{font-size:16px}
}

/* ---------- 16. Спливаючий кошик і швидке замовлення ---------- */
.hb-modal__title{display:flex;align-items:center;gap:10px;font-weight:650;font-size:21px;margin:0 36px 16px 0;color:var(--hb-ink)}
.hb-modal__title svg{font-size:26px;color:var(--hb-ok);background:var(--hb-ok-soft);border-radius:50%;padding:4px}
.hb-cp__added{display:flex;gap:14px;align-items:center;padding:12px;border-radius:var(--hb-radius-sm);background:var(--hb-surface-2);margin-bottom:14px}
.hb-cp__added img{width:72px;height:72px;border-radius:10px;object-fit:cover;background:var(--hb-surface)}
.hb-cp__added div{display:flex;flex-direction:column;gap:2px;line-height:1.35}
.hb-cp__added a,.hb-cp__added b{font-weight:600;color:var(--hb-ink)}
.hb-cp__added small{color:var(--hb-dim)}
.hb-cp__added span{color:var(--hb-mut);font-size:14px}
.hb-cp__list{list-style:none;margin:0 0 12px;padding:0;max-height:220px;overflow:auto}
.hb-cp__list li{display:grid;grid-template-columns:44px 1fr auto auto 30px;gap:10px;align-items:center;padding:8px 0;border-bottom:1px solid var(--hb-line-2);font-size:14px}
.hb-cp__list img{width:44px;height:44px;border-radius:8px;object-fit:cover}
.hb-cp__list a{color:var(--hb-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hb-cp__list span{color:var(--hb-dim)}
.hb-cp__list b{font-variant-numeric:tabular-nums}
.hb-cp__rm{border:0;background:none;color:var(--hb-dim);cursor:pointer;display:grid;place-items:center;width:30px;height:30px;border-radius:50%}
.hb-cp__rm:hover{background:var(--hb-danger-soft);color:var(--hb-danger)}
.hb-cp__totals{margin:0 0 18px}
.hb-cp__totals div{display:flex;justify-content:space-between;padding:4px 0;color:var(--hb-mut);font-size:14px}
.hb-cp__totals dt{font-weight:400}
.hb-cp__totals dd{margin:0;font-variant-numeric:tabular-nums}
.hb-cp__totals .is-total{color:var(--hb-ink);font-size:17px;font-weight:700;border-top:1px solid var(--hb-line);margin-top:6px;padding-top:10px}
.hb-cp__actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.hb-cp__links{display:flex;justify-content:space-between;gap:10px;margin-top:14px;flex-wrap:wrap}
.hb-linkbtn{display:inline-flex;align-items:center;gap:6px;border:0;background:none;padding:4px 0;color:var(--hb-mut);font:500 14px var(--hb-font);cursor:pointer;text-decoration:underline;text-decoration-color:var(--hb-line);text-underline-offset:3px}
.hb-linkbtn:hover{color:var(--hb-accent-t)}
.hb-linkbtn svg{font-size:16px}
.hb-qo .hb-muted{font-size:14px;margin-bottom:14px}
.hb-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;opacity:0}
@media (max-width:640px){.hb-cp__actions{grid-template-columns:1fr}.hb-cp__list li{grid-template-columns:40px 1fr auto 28px}.hb-cp__list span{display:none}}

/* ---------- 17. Кошик, кабінет, сторінки ---------- */
.hb-cartpage{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:24px;align-items:start}
.hb-cartpage__items{display:flex;flex-direction:column;gap:10px}
.hb-ci{display:grid;grid-template-columns:96px minmax(0,1fr) auto auto 40px;gap:16px;align-items:center;padding:14px;background:var(--hb-surface);border:1px solid var(--hb-line);border-radius:var(--hb-radius)}
.hb-ci__img{width:96px;height:96px;border-radius:var(--hb-radius-sm);overflow:hidden;background:var(--hb-surface-2)}
.hb-ci__img img{width:100%;height:100%;object-fit:cover}
.hb-ci__main{display:flex;flex-direction:column;gap:4px;min-width:0}
.hb-ci__name{font-weight:600;font-size:16px;color:var(--hb-ink)}
.hb-ci__meta{margin:0;font-size:13px;color:var(--hb-dim);display:flex;flex-wrap:wrap;gap:4px 12px}
.hb-ci__qty{display:flex;flex-direction:column;align-items:center;gap:6px}
.hb-ci__qty .hb-qty{height:44px}
.hb-ci__update{font-size:12.5px}
.hb-ci__price{text-align:right;display:flex;flex-direction:column;gap:2px;font-variant-numeric:tabular-nums}
.hb-ci__price b{font-size:18px;font-weight:700}
.hb-ci__price small{color:var(--hb-dim);font-size:12.5px}
.hb-ci__rm{width:40px;height:40px;color:var(--hb-dim)}
.hb-ci__rm:hover{background:var(--hb-danger-soft);color:var(--hb-danger)}
.hb-summary{position:sticky;top:130px;padding:20px;background:var(--hb-surface);border:1px solid var(--hb-line);border-radius:var(--hb-radius)}
.hb-summary .hb-cp__totals{margin-bottom:16px}
.hb-summary__qo{margin-top:10px}
.hb-summary__back{display:inline-block;margin-top:14px}
.hb-summary__weight{margin:10px 0 0;font-size:12.5px}
.hb-cartmods{margin-top:14px}
.hb-cartmods .panel{border-radius:var(--hb-radius)}
.hb-auth{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;max-width:900px}
.hb-auth__box{padding:28px}
.hb-auth__box--muted{background:var(--hb-surface-2)}
.hb-auth__title{font-size:22px;margin-bottom:8px}
.hb-auth__forgot{display:inline-block;margin-top:8px;font-size:13.5px}
.hb-doc{max-width:820px}
.hb-doc__body{font-size:16.5px;line-height:1.75;max-width:none}
.hb-404{max-width:620px;text-align:center;margin:0 auto;padding:40px 0}
.hb-404__code{font-family:var(--hb-display);font-size:96px;line-height:1;color:var(--hb-accent);margin:0 0 6px;opacity:.5}
.hb-404 .hb-prose{margin-inline:auto}
.hb-404__search{display:flex;gap:10px;margin:22px 0 14px}
.hb-404__search .form-control{flex:1}
.hb-contact{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:24px;align-items:start}
.hb-contact__card{padding:24px;display:flex;flex-direction:column;gap:10px}
.hb-contact__card p{display:flex;gap:10px;align-items:flex-start;margin:0}
.hb-contact__card svg{font-size:19px;color:var(--hb-accent);margin-top:2px}
.hb-contact__store{font-weight:650;font-size:18px}
.hb-contact__map{margin-top:14px;border-radius:var(--hb-radius);overflow:hidden;aspect-ratio:16/10;background:var(--hb-surface-2)}
.hb-contact__map iframe{width:100%;height:100%;border:0;display:block}
.hb-contact__form{padding:24px}
.hb-contact__form h2{font-size:20px;margin-bottom:16px}
.hb-locations{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px}
.hb-location{display:flex;gap:14px;padding:16px}
.hb-location img{width:96px;border-radius:var(--hb-radius-sm);object-fit:cover}
.hb-compare{overflow-x:auto;border:1px solid var(--hb-line);border-radius:var(--hb-radius);background:var(--hb-surface)}
.hb-compare table{width:100%;min-width:720px;border-collapse:collapse;font-size:14.5px}
.hb-compare td,.hb-compare th{padding:12px 16px;border-bottom:1px solid var(--hb-line);vertical-align:top;text-align:left}
.hb-compare__label{width:180px;color:var(--hb-mut);font-weight:400}
.hb-compare__img{display:block;width:120px;height:120px;border-radius:var(--hb-radius-sm);overflow:hidden;background:var(--hb-surface-2);margin-bottom:8px}
.hb-compare__img img{width:100%;height:100%;object-fit:cover}
.hb-compare__name{font-weight:600;color:var(--hb-ink)}
.hb-compare__group td{background:var(--hb-surface-2);font-weight:650;color:var(--hb-ink)}
.hb-compare__desc{max-width:280px;color:var(--hb-mut)}
.hb-compare__actions{display:flex;flex-direction:column;gap:8px;align-items:flex-start}
@media (max-width:991px){
  .hb-cartpage,.hb-contact,.hb-auth{grid-template-columns:minmax(0,1fr)}
  .hb-summary{position:static}
}
@media (max-width:640px){
  .hb-ci{grid-template-columns:72px minmax(0,1fr) 36px;grid-template-areas:"img main rm" "img price price" "qty qty qty";gap:10px 12px;padding:12px}
  .hb-ci__img{grid-area:img;width:72px;height:72px}
  .hb-ci__main{grid-area:main}
  .hb-ci__price{grid-area:price;text-align:left;flex-direction:row;align-items:baseline;gap:8px}
  .hb-ci__qty{grid-area:qty;flex-direction:row;justify-content:space-between;width:100%}
  .hb-ci__rm{grid-area:rm;width:36px;height:36px}
  .hb-404__code{font-size:64px}
  .hb-404__search{flex-direction:column}
}

/* ---------- 18. Оформлення замовлення і кабінет ---------- */
.hb-checkout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:24px;align-items:start}
.hb-checkout__steps .panel-group{margin:0;display:flex;flex-direction:column;gap:12px}
.hb-checkout__steps .panel{border-radius:var(--hb-radius);overflow:visible;counter-increment:hbstep}
.hb-checkout__steps .panel-heading{background:var(--hb-surface);border-bottom:0;padding:16px 20px}
.hb-checkout__steps .panel-title{display:flex;align-items:center;gap:12px;font-size:16.5px;font-weight:650;color:var(--hb-ink)}
.hb-checkout__steps .panel-title::before{content:counter(hbstep);display:grid;place-items:center;width:28px;height:28px;flex:none;border-radius:50%;background:var(--hb-accent-soft);color:var(--hb-accent-t);font:700 14px var(--hb-font)}
.hb-checkout__steps .panel-title a{color:var(--hb-ink);display:flex;align-items:center;gap:8px;width:100%}
.hb-checkout__steps .panel-title .fa-caret-down{margin-left:auto;color:var(--hb-dim)}
.hb-checkout__steps .panel-body{padding:4px 20px 20px;border-top:1px solid var(--hb-line)}
.hb-checkout__steps .panel-body:empty{display:none}
.hb-checkout__steps legend{font-size:15px;margin:14px 0 10px}
.hb-checkout__steps .buttons{display:flex;justify-content:flex-end;gap:10px;margin-top:16px}
.hb-checkout__steps .pull-right{float:none!important}
.hb-checkout__steps .radio,.hb-checkout__steps .checkbox{padding:6px 0}
.hb-checkout__steps table{width:100%}
.hb-checkout__side .hb-summary{position:sticky;top:130px}
.hb-summary__title{margin:0 0 14px;font-weight:650;font-size:16px}
.hb-summary__list{list-style:none;margin:0 0 14px;padding:0;display:flex;flex-direction:column;gap:10px;max-height:320px;overflow:auto}
.hb-summary__list li{display:grid;grid-template-columns:44px minmax(0,1fr) auto auto;gap:10px;align-items:center;font-size:14px}
.hb-summary__list img{width:44px;height:44px;border-radius:8px;object-fit:cover;background:var(--hb-surface-2)}
.hb-summary__list a{color:var(--hb-ink);display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hb-summary__list small{display:block;color:var(--hb-dim);font-size:12px}
.hb-summary__q{color:var(--hb-dim)}
.hb-summary__list b{font-variant-numeric:tabular-nums}
.hb-checkout__adv{margin-top:16px;padding:18px;border-radius:var(--hb-radius);background:var(--hb-surface-2)}
.hb-checkout__adv svg{font-size:19px}
.hb-checkout__adv b{font-size:14px}
.hb-checkout__adv span{font-size:13px}
.hb-done{max-width:620px;margin:0 auto;text-align:center;padding:40px 0}
.hb-done__icon{display:inline-grid;place-items:center;width:78px;height:78px;border-radius:50%;background:var(--hb-ok-soft);color:var(--hb-ok);margin-bottom:18px}
.hb-done__icon svg{font-size:40px}
.hb-done .hb-prose{margin:0 auto 26px;max-width:52ch}
.hb-acc{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}
.hb-acc__group{padding:22px}
.hb-acc__group h2{font-size:17px;margin-bottom:12px}
.hb-acc__group ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}
.hb-acc__group a{display:flex;align-items:center;gap:10px;padding:9px 10px;margin-inline:-10px;border-radius:var(--hb-radius-sm);color:var(--hb-ink);font-size:15px}
.hb-acc__group a:hover{background:var(--hb-surface-2);color:var(--hb-ink)}
.hb-acc__group svg{font-size:19px;color:var(--hb-dim)}
.hb-orders{display:flex;flex-direction:column;gap:12px}
.hb-order{padding:18px 20px;border:1px solid var(--hb-line);border-radius:var(--hb-radius);background:var(--hb-surface)}
.hb-order__head{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:6px}
.hb-order__head b{font-size:16px}
.hb-order__head time{color:var(--hb-dim);font-size:13px;margin-left:auto}
.hb-order__meta{margin:0;color:var(--hb-mut);font-size:14px}
.hb-order__foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px}
.hb-order__total{font-size:18px;font-variant-numeric:tabular-nums}
.hb-orderinfo{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px;margin-bottom:16px}
.hb-orderinfo__box{padding:20px;font-size:14.5px;color:var(--hb-mut)}
.hb-orderinfo__box p{margin:0 0 6px}
.hb-orderinfo__box b{color:var(--hb-ink)}
.hb-orderinfo__title{font-weight:650;color:var(--hb-ink)!important;margin-bottom:10px!important}
.hb-orderinfo__comment{padding:20px;margin-bottom:16px}
.hb-orderinfo__h{font-size:20px;margin:26px 0 12px}
.hb-tablebox{padding:4px 6px;overflow-x:auto}
.hb-tablebox .table{margin:0}
.hb-tablebox .text-right{text-align:right}
.hb-form{padding:26px;max-width:620px}
.hb-form__actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}
.hb-addresses{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px;margin-bottom:18px}
.hb-address{padding:20px;display:flex;flex-direction:column;gap:12px}
.hb-address p{margin:0;color:var(--hb-mut)}
.hb-address__actions{display:flex;gap:8px;margin-top:auto}
@media (max-width:991px){
  .hb-checkout{grid-template-columns:minmax(0,1fr)}
  .hb-checkout__side .hb-summary{position:static}
  .hb-checkout__side{order:-1}
}
@media (max-width:640px){
  .hb-form,.hb-acc__group,.hb-orderinfo__box{padding:18px}
  .hb-order__head time{margin-left:0;flex-basis:100%}
}

/* Фільтр за характеристиками (штатний модуль filter) */
.hb-filter{font-size:14px}
.hb-filter__head{font:700 15px/1.2 var(--hb-font);margin:0 0 10px;color:var(--hb-ink)}
.hb-filter__group{border:0;margin:0 0 12px;padding:0}
.hb-filter__group legend{font:600 13px/1.3 var(--hb-font);color:var(--hb-mut);border:0;margin:0 0 6px;padding:0;width:auto}
.hb-filter__opt{display:flex;align-items:center;gap:8px;margin:0;padding:5px 0;font-weight:400;cursor:pointer;color:var(--hb-ink)}
.hb-filter__opt input{margin:0;width:16px;height:16px;accent-color:var(--hb-accent)}
.hb-filter__btns{display:flex;align-items:center;gap:12px;margin-top:6px}
.hb-filter__apply{border:0;border-radius:var(--hb-pill);background:var(--hb-accent);color:var(--hb-on-accent,#fff);font:600 13px/1 var(--hb-font);padding:9px 16px;cursor:pointer}
.hb-filter__reset{font-size:13px;color:var(--hb-mut);text-decoration:underline}
