/*
Theme Name: Admarket
Description: Admarket (admarket.ge) theme: original layout and palette, refined. Built from the static design in prototype/ and wp-starter.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: admarket
*/
@font-face {
  font-family: "bpg-nino";
  src: url("assets/fonts/bpg-nino.woff2") format("woff2");
  font-display: swap;
}

:root {
  --navy: #08113a;
  --teal: #5ec4b2;
  --teal-dark: #49b09e;
  --purple: #5b38ed;
  --dark: #111518;
  --text: #24292e;
  --muted: #4d5d6d;
  --line: #e7eBee;
  --soft: #f3f5f7;
  --white: #fff;
  --radius: 15px;
  --font: "bpg-nino", "Noto Sans Georgian", "BPG Arial", system-ui, sans-serif;
  --container: 1290px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.6; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.3; color: var(--dark); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.i { width: 20px; height: 20px; flex: none; }
.i--sm { width: 16px; height: 16px; }
.i--xs { width: 13px; height: 13px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--teal); color: #fff; padding: 8px 14px; }
.skip:focus { left: 8px; }

/* ---------- topbar (teal) ---------- */
.topbar { background: var(--teal); color: #fff; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 48px; gap: 20px; }
.topbar__phones { display: flex; align-items: center; }
.topbar__phones a { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; line-height: 1; font-weight: 600; transition: opacity .2s; letter-spacing: .3px; white-space: nowrap; padding: 0 18px; position: relative; }
.topbar__phones a:first-child { padding-left: 0; }
.topbar__phones a + a::before { content: ""; position: absolute; left: 0; top: 50%; height: 16px; margin-top: -8px; border-left: 1px solid rgba(255,255,255,.35); }
.topbar__ic { display: inline-flex; flex: none; position: relative; top: -2.5px; }
.topbar__ic .i { width: 13px; height: 13px; display: block; stroke-width: 2.2; }
.topbar__phones a:hover { opacity: .8; }
.topnav { display: flex; align-items: center; gap: 4px; }
.topnav > a, .topnav__drop > a { display: inline-flex; align-items: center; gap: 5px; padding: 12px 10px; font-size: 13.5px; text-transform: uppercase; transition: opacity .2s; }
.topnav > a:hover, .topnav__drop > a:hover, .topnav a.is-active { opacity: .75; }

/* desktop language switch (top bar) */
.langsw { display: inline-flex; align-items: center; gap: 2px; margin-left: 10px; padding: 3px; border-radius: 30px; background: rgba(8, 17, 58, .14); }
.langsw__btn { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px 0 6px; border-radius: 30px; color: #fff; font: 600 12px/1 system-ui, sans-serif; letter-spacing: .4px; transition: background .2s, color .2s; }
.langsw__btn:hover { background: rgba(255, 255, 255, .18); }
.langsw__btn.is-active { background: #fff; color: var(--navy); box-shadow: 0 2px 6px rgba(8, 17, 58, .15); }
.langsw__flag { display: block; width: 20px; height: 14px; border-radius: 3px; overflow: hidden; box-shadow: 0 0 0 1px rgba(8, 17, 58, .15); }
.langsw__flag svg { display: block; width: 100%; height: 100%; }

/* "პროდუქცია" dropdown */
/* full-width panel: anchored to the whole topbar, content kept to the page container */
.topbar { position: relative; z-index: 60; }
.topnav__drop { position: static; }
.topnav__menu { position: absolute; left: 0; right: 0; top: 100%; z-index: 60; padding: 0; border-radius: 0; background: #fff; color: var(--text); border-top: 3px solid var(--teal); box-shadow: 0 28px 60px rgba(8, 17, 58, .25); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s var(--ease), visibility .2s; text-transform: uppercase; }
.topnav__drop:hover .topnav__menu, .topnav__drop:focus-within .topnav__menu { opacity: 1; visibility: visible; transform: none; }
.topnav__drop > a .i { transition: transform .25s; }
.topnav__drop:hover > a .i { transform: rotate(180deg); }
.tm__body { padding-top: 26px; padding-bottom: 14px; }
.tm__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 24px; align-items: start; }
.tm__group { margin-bottom: 8px; padding: 10px; border-radius: 14px; transition: background .2s; }
.tm__group:hover { background: var(--soft); }
.tm__title { display: flex; align-items: center; gap: 12px; }
.tm__icon { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 11px; background: #e6f6f3; color: var(--teal-dark); transition: background .2s, color .2s; }
.tm__icon .i { width: 20px; height: 20px; }
.tm__group:hover .tm__icon { background: var(--teal); color: #fff; }
.tm__name { display: flex; flex-direction: column; font-size: 14px; line-height: 1.3; color: var(--dark); }
.tm__name small { font-size: 11.5px; color: #8a96a3; }
.tm__title:hover .tm__name { color: var(--teal-dark); }
.tm__subs { display: flex; flex-direction: column; margin: 8px 0 2px 52px; padding-left: 12px; border-left: 2px solid #e3ece9; }
.tm__subs a { position: relative; padding: 4px 0; font-size: 12.5px; color: var(--muted); transition: color .15s, transform .15s; }
.tm__subs a:hover { color: var(--teal-dark); transform: translateX(3px); }
.tm__foot { border-top: 1px solid var(--line); background: #fafbfc; }
.tm__foot-in { display: flex; align-items: center; gap: 10px; padding-top: 14px; padding-bottom: 14px; }
.tm__all { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 30px; background: var(--navy); color: #fff; font-size: 13px; margin-right: auto; transition: background .2s; }
.tm__all:hover { background: var(--teal); }
.tm__all b, .tm__chip b { font-weight: 400; padding: 1px 8px; border-radius: 20px; background: rgba(255, 255, 255, .18); font-size: 12px; }
.tm__all .i { width: 16px; height: 16px; }
.tm__chip { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; border-radius: 30px; border: 1px solid var(--line); background: #fff; font-size: 12.5px; color: var(--navy); transition: border-color .2s, color .2s; }
.tm__chip .i { width: 15px; height: 15px; color: var(--teal-dark); }
.tm__chip b { background: var(--soft); color: var(--navy); }
.tm__chip:hover { border-color: var(--teal); color: var(--teal-dark); }
.tm__chip i { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--purple); color: #fff; font: 800 11px/1 system-ui, sans-serif; font-style: normal; }
.tm__chip--sale:hover { border-color: var(--purple); color: var(--purple); }

/* ---------- header (navy) ---------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--navy); transition: box-shadow .25s; }
.header.is-scrolled { box-shadow: 0 6px 24px rgba(8, 17, 58, .28); }
.header__inner { display: flex; align-items: center; gap: 30px; min-height: 72px; }
.burger { display: none; color: #fff; width: 42px; height: 42px; flex: none; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); transition: background .2s, border-color .2s, transform .15s; }
.burger:hover, .burger:focus-visible { background: rgba(94, 196, 178, .16); border-color: rgba(94, 196, 178, .55); }
.burger:active { transform: scale(.94); }
.burger .i { width: 22px; height: 22px; }
.logo { flex: none; display: inline-flex; align-items: center; height: 44px; }
.logo:hover img { filter: drop-shadow(0 0 8px rgba(94, 196, 178, .6)); }
.logo img { height: 28px; width: auto; transition: filter .25s; }
.search { position: relative; flex: 1; max-width: 690px; margin: 0 auto; display: flex; height: 44px; background: #fff; border: 2px solid var(--teal); border-radius: 30px; transition: box-shadow .2s; }
.search:focus-within { box-shadow: 0 0 0 4px rgba(94, 196, 178, .3); }
.search input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; padding: 0 8px 0 46px; font-size: 14px; border-radius: 30px 0 0 30px; }
.search input::placeholder { color: #8a96a3; }
.search input::-webkit-search-cancel-button { display: none; }
.search__icon { position: absolute; left: 17px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: #8a96a3; pointer-events: none; transition: color .2s; }
.search:focus-within .search__icon { color: var(--teal-dark); }
.search__clear { flex: none; align-self: center; width: 28px; height: 28px; margin-right: 6px; display: grid; place-items: center; border-radius: 50%; color: #8a96a3; transition: background .2s, color .2s; }
.search__clear:hover { background: var(--soft); color: var(--navy); }
.search__clear .i { width: 14px; height: 14px; }
.search__btn { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 0 22px; background: var(--teal); color: #fff; border-radius: 0 28px 28px 0; font-size: 14px; text-transform: uppercase; transition: background .2s; }
.search__btn:hover { background: var(--teal-dark); }
.search__btn .i { width: 17px; height: 17px; }

/* suggestions panel */
.search__suggest { position: absolute; top: calc(100% + 10px); left: 0; right: 0; z-index: 70; max-height: min(70vh, 620px); overflow-y: auto; padding: 8px; background: #fff; border-radius: 18px; box-shadow: 0 24px 60px rgba(8, 17, 58, .3); color: var(--text); animation: sgIn .18s var(--ease); scrollbar-width: thin; }
@keyframes sgIn { from { opacity: 0; transform: translateY(-6px); } }
.sg-sec { padding: 10px 10px 12px; }
.sg-sec + .sg-sec { border-top: 1px solid var(--line); }
.sg-sec--tight { padding-bottom: 6px; }
.sg-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 12px; text-transform: uppercase; color: #8a96a3; }
.sg-head .i { width: 15px; height: 15px; color: var(--teal-dark); }
.sg-count { padding: 1px 8px; border-radius: 20px; background: #e6f6f3; color: var(--teal-dark); }
.sg-clear { margin-left: auto; font-size: 12px; text-transform: uppercase; color: var(--purple); }
.sg-clear:hover { text-decoration: underline; }
.sg-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sg-chip { padding: 6px 14px; border-radius: 30px; background: var(--soft); font-size: 13px; text-transform: uppercase; color: var(--navy); transition: background .15s, color .15s; }
.sg-chip:hover, .sg-chip.is-active { background: var(--teal); color: #fff; }
.sg-chip--recent { background: #fff; border: 1px solid var(--line); }
.sg-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.sg-cat { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 10px; font-size: 12.5px; text-transform: uppercase; line-height: 1.25; transition: background .15s; }
.sg-cat:hover, .sg-cat.is-active { background: var(--soft); color: var(--teal-dark); }
.sg-cat__icon { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 9px; background: #e6f6f3; color: var(--teal-dark); }
.sg-cat__icon .i { width: 17px; height: 17px; }
.sg-row { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; transition: background .15s; }
.sg-row:hover, .sg-row.is-active { background: var(--soft); }
.sg-row__img { position: relative; width: 52px; height: 52px; flex: none; border-radius: 10px; background: var(--soft); overflow: hidden; }
.sg-row__img img { width: 100%; height: 100%; object-fit: contain; }
.sg-row__img i { position: absolute; left: 3px; top: 3px; padding: 1px 4px; border-radius: 3px; background: var(--purple); color: #fff; font: 700 8.5px/1.3 system-ui, sans-serif; font-style: normal; }
.sg-row__text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sg-row__name { font-size: 13.5px; line-height: 1.4; text-transform: uppercase; color: var(--dark); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sg-row__name mark { background: #d9f3ee; color: var(--teal-dark); border-radius: 3px; padding: 0 2px; }
.sg-row small { font-size: 11.5px; text-transform: uppercase; color: #8a96a3; }
.sg-row__price { flex: none; display: flex; flex-direction: column; align-items: flex-end; font-size: 15px; color: var(--navy); white-space: nowrap; }
.sg-row__price del { font-size: 11.5px; color: #9aa5b1; }
.sg-row__price.is-sale { color: var(--purple); }
.sg-row--cat .sg-row__go { width: 16px; height: 16px; color: #9aa5b1; }
.sg-all { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 6px 4px 4px; height: 46px; border-radius: 12px; background: var(--navy); color: #fff; font-size: 13.5px; text-transform: uppercase; transition: background .2s; }
.sg-all:hover, .sg-all.is-active { background: var(--teal); }
.sg-all .i { width: 16px; height: 16px; }
.sg-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 26px 16px 20px; text-align: center; }
.sg-empty__icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: var(--soft); color: #9aa5b1; margin-bottom: 6px; }
.sg-empty__icon .i { width: 24px; height: 24px; }
.sg-empty b { font-weight: 400; font-size: 16px; text-transform: uppercase; color: var(--dark); }
.sg-empty small { font-size: 12.5px; text-transform: uppercase; color: #8a96a3; margin-bottom: 10px; }
.sg-empty .sg-chips { justify-content: center; }
@media (max-width: 760px) { .search__btn span { display: none; } .search__btn { padding: 0 16px; } .sg-cats { grid-template-columns: 1fr 1fr; } }
.sale-btn { flex: none; display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px 0 5px; border-radius: 30px; border: 2px solid rgba(94, 196, 178, .55); background: rgba(94, 196, 178, .08); color: #fff; transition: background .25s, border-color .25s; }
.sale-btn__icon { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--purple); font-family: system-ui, sans-serif; font-size: 16px; font-weight: 800; box-shadow: 0 0 0 3px rgba(91, 56, 237, .25); transition: transform .3s var(--ease); }
.sale-btn__text { display: flex; flex-direction: column; line-height: 1.15; }
.sale-btn__text b { font-weight: 400; font-size: 14px; text-transform: uppercase; }
.sale-btn__text small { font-size: 11.5px; color: var(--teal); transition: color .25s; }
.sale-btn:hover { background: var(--teal); border-color: var(--teal); }
.sale-btn:hover .sale-btn__text small { color: var(--navy); }
.sale-btn:hover .sale-btn__icon { transform: rotate(-12deg) scale(1.06); }

/* ---------- search: visual polish ---------- */
.search { height: 50px; padding: 4px; border: 1.5px solid rgba(94, 196, 178, .75); background: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .18); transition: border-color .2s, box-shadow .25s; }
.search:focus-within { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(94, 196, 178, .28), 0 14px 34px rgba(0, 0, 0, .28); }
.search input { padding-left: 40px; font-size: 14.5px; }
.search__icon { left: 18px; color: var(--teal-dark); }
.search__clear { width: 30px; height: 30px; background: var(--soft); margin-right: 8px; }
.search__btn { height: 100%; border-radius: 26px; padding: 0 22px; background: linear-gradient(135deg, #72d6c4, var(--teal-dark)); box-shadow: 0 4px 12px rgba(73, 176, 158, .45); }
.search__btn:hover { background: linear-gradient(135deg, var(--teal), #3c9c8b); }
@media (min-width: 981px) { .search { height: 42px; padding: 3px; } .search__btn { padding: 0 20px; } .search__clear { width: 26px; height: 26px; } }
/* caret pointing from the field to the panel */
.search::after { content: ""; position: absolute; left: 52px; top: calc(100% + 8px); z-index: 72; width: 16px; height: 16px; background: #fff; border-radius: 3px; transform: rotate(45deg); opacity: 0; pointer-events: none; transition: opacity .15s; }
body.search-open .search::after { opacity: 1; }
/* dim the page behind the open panel */
body.search-open::before { content: ""; position: fixed; inset: 0; z-index: 45; background: rgba(5, 10, 36, .45); backdrop-filter: blur(2px); animation: fade .2s; }

.search__suggest { top: calc(100% + 14px); padding: 10px; border-radius: 22px; border: 1px solid rgba(8, 17, 58, .06); box-shadow: 0 30px 70px rgba(5, 10, 36, .4), 0 2px 8px rgba(8, 17, 58, .08); }
.sg-sec { padding: 12px 10px 14px; }
.sg-sec + .sg-sec { border-top: 1px solid #eef1f4; }
.sg-head { font-size: 11.5px; letter-spacing: .4px; color: rgba(8, 17, 58, .55); margin-bottom: 12px; }
.sg-head .i { width: 14px; height: 14px; }
.sg-chips { gap: 8px; }
.sg-chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px 7px 11px; background: #fff; border: 1px solid #e3e8ee; font-size: 12.5px; transition: background .15s, border-color .15s, color .15s, transform .15s; }
.sg-chip .i { width: 13px; height: 13px; color: var(--teal-dark); transition: color .15s; }
.sg-chip:hover, .sg-chip.is-active { background: var(--teal); border-color: var(--teal); color: #fff; transform: translateY(-1px); }
.sg-chip:hover .i, .sg-chip.is-active .i { color: #fff; }
.sg-chip--recent { background: var(--soft); border-color: transparent; }
.sg-cats { gap: 6px; }
.sg-cat { padding: 8px 10px; border: 1px solid transparent; }
.sg-cat:hover, .sg-cat.is-active { background: #f2fbf9; border-color: #d4efe9; }
.sg-cat:hover .sg-cat__icon, .sg-cat.is-active .sg-cat__icon { background: var(--teal); color: #fff; }
.sg-cat__icon { transition: background .15s, color .15s; }
.sg-row { padding: 10px; border-radius: 14px; }
.sg-row + .sg-row { margin-top: 2px; }
.sg-row:hover, .sg-row.is-active { background: #f4f8fb; }
.sg-row__img { width: 58px; height: 58px; border: 1px solid #eef1f4; background: #fff; }
.sg-row__name { font-size: 13.5px; }
.sg-row__name mark { background: rgba(94, 196, 178, .22); color: var(--navy); padding: 0 1px; border-radius: 4px; }
.sg-row__price { padding: 7px 12px; border-radius: 12px; background: var(--soft); font-size: 15px; line-height: 1.15; }
.sg-row:hover .sg-row__price, .sg-row.is-active .sg-row__price { background: #fff; }
.sg-row__price.is-sale { background: rgba(91, 56, 237, .08); }
.sg-row--cat .sg-row__go { transition: transform .2s, color .2s; }
.sg-row--cat:hover .sg-row__go { transform: translateX(3px); color: var(--teal-dark); }
.sg-all { justify-content: space-between; height: 50px; margin: 8px 4px 2px; padding: 0 18px; border-radius: 14px; background: linear-gradient(135deg, #142063, var(--navy)); }
.sg-all span { flex: 1; text-align: left; }
.sg-all b { font-weight: 400; padding: 2px 10px; border-radius: 20px; background: var(--teal); color: #fff; font-size: 12.5px; }
.sg-all:hover, .sg-all.is-active { background: linear-gradient(135deg, #6fd3c1, var(--teal-dark)); }
.sg-all:hover b, .sg-all.is-active b { background: #fff; color: var(--teal-dark); }
.sg-hint { display: flex; justify-content: center; flex-wrap: wrap; gap: 18px; margin-top: 8px; padding: 10px 0 4px; border-top: 1px solid #eef1f4; font-size: 11px; text-transform: uppercase; color: #9aa5b1; }
.sg-hint span { display: inline-flex; align-items: center; gap: 4px; }
.sg-hint kbd { min-width: 22px; padding: 1px 6px; border: 1px solid #d6dbe2; border-bottom-width: 2px; border-radius: 5px; background: #fff; color: var(--navy); font: 600 10.5px/1.6 system-ui, sans-serif; text-align: center; }
.sg-empty__icon { background: #e6f6f3; color: var(--teal-dark); }
@media (max-width: 760px) { .sg-hint { display: none; } .search::after { display: none; } }

/* ---------- drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 90; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(8, 17, 58, .55); backdrop-filter: blur(2px); animation: fade .2s; }
.drawer__panel { position: absolute; inset: 0 auto 0 0; width: min(340px, 88vw); background: var(--soft); display: flex; flex-direction: column; animation: slideIn .25s var(--ease); box-shadow: 12px 0 40px rgba(8, 17, 58, .25); }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 14px 14px 14px 18px; padding-top: max(14px, env(safe-area-inset-top)); background: var(--navy); border-bottom: 3px solid var(--teal); }
.drawer__head img { display: block; height: 26px; width: auto; }
.drawer__close { color: #fff; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: rgba(255, 255, 255, .08); }
.drawer__body { overflow-y: auto; overscroll-behavior: contain; padding: 14px 14px calc(24px + env(safe-area-inset-bottom)); }
.drawer__title { margin: 18px 4px 8px; font-size: 12px; letter-spacing: .04em; color: var(--muted); text-transform: uppercase; }
.dnav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dnav__item { display: flex; align-items: center; gap: 10px; padding: 11px 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; line-height: 1.2; color: var(--navy); }
.dnav__icon { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 9px; background: rgba(94, 196, 178, .14); color: #2f9e8b; }
.dnav__icon .i { width: 18px; height: 18px; }
.dnav__item:active { background: rgba(94, 196, 178, .1); }
.dsale { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 12px 14px; border-radius: 14px; color: #fff; background: linear-gradient(120deg, var(--navy) 0%, #2b1f8f 100%); box-shadow: 0 8px 20px rgba(91, 56, 237, .22); }
.dsale__icon { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--purple); font-family: system-ui, sans-serif; font-size: 16px; font-weight: 800; box-shadow: 0 0 0 3px rgba(91, 56, 237, .35); }
.dsale__text { flex: 1; display: flex; flex-direction: column; line-height: 1.25; }
.dsale__text b { font-weight: 400; font-size: 15px; }
.dsale__text small { font-size: 12px; color: var(--teal); }
.dcats { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.dcat + .dcat, .dcats > * + * { border-top: 1px solid var(--line); }
.dcat__row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; cursor: pointer; list-style: none; }
.dcat__row::-webkit-details-marker { display: none; }
.dcat__icon { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--soft); color: var(--navy); }
.dcat__icon .i { width: 19px; height: 19px; }
.dcat__name { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 14px; color: var(--navy); line-height: 1.3; }
.dcat__name small { font-size: 11.5px; color: var(--muted); }
.dcat__arrow { color: #9aa6b2; display: grid; transition: transform .2s var(--ease); }
.dcat[open] > .dcat__row { background: rgba(94, 196, 178, .08); }
.dcat[open] > .dcat__row .dcat__icon { background: var(--teal); color: #fff; }
.dcat[open] > .dcat__row .dcat__arrow { transform: rotate(180deg); color: var(--teal); }
.dcat__kids { padding: 4px 0 8px 58px; background: rgba(94, 196, 178, .05); }
.dcat__kids a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 14px 8px 0; font-size: 13.5px; color: var(--muted); border-top: 1px dashed var(--line); }
.dcat__kids a:first-child { border-top: 0; }
.dcat__kids a span { font-size: 11px; min-width: 24px; padding: 1px 7px; text-align: center; border-radius: 99px; background: #fff; border: 1px solid var(--line); }
.dcat__kids .dcat__all { color: #2f9e8b; }
.dcat__kids .dcat__all .i { width: 15px; height: 15px; }
.dphones { display: grid; gap: 8px; }
.dphones a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-size: 16px; color: var(--navy); letter-spacing: .02em; }
.dphones__icon { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--teal); color: #fff; }
.dphones__icon .i { width: 16px; height: 16px; }
.dfoot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 14px; padding: 0 4px; font-size: 12.5px; color: var(--muted); }
.dfoot__hours { display: inline-flex; align-items: center; gap: 6px; }
.dfoot__social { display: flex; gap: 8px; }
.dfoot__social a { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: #fff; }
.dfoot__social .i { width: 17px; height: 17px; }
@keyframes slideIn { from { transform: translateX(-100%); } }
@keyframes fade { from { opacity: 0; } }

/* ---------- common ---------- */
main { min-height: 50vh; outline: none; }
.section { padding-top: 50px; padding-bottom: 30px; }
.section__title { position: relative; font-size: 25px; text-transform: uppercase; margin-bottom: 36px; padding-bottom: 14px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.section__title::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 70px; height: 3px; border-radius: 3px; background: var(--teal); }
.section__title a:hover { color: var(--teal-dark); }
.section__more { display: inline-flex; align-items: center; height: 34px; padding: 0 16px; border: 1px solid var(--line); border-radius: 30px; font-size: 13px; color: var(--navy); text-transform: uppercase; white-space: nowrap; transition: border-color .2s, color .2s, background .2s; }
.section__more:hover { border-color: var(--teal); background: var(--teal); color: #fff; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 22px; border-radius: 5px; background: var(--navy); color: #fff; font-size: 15px; transition: background .2s, transform .2s; white-space: nowrap; }
.btn:hover { background: var(--teal); }
.btn--teal { background: var(--teal); }
.btn--teal:hover { background: var(--teal-dark); }
.btn--white { background: #fff; color: var(--dark); }
.btn--white:hover { background: var(--teal); color: #fff; }
.btn--outline { background: #fff; color: var(--navy); border: 1px solid var(--line); }
.btn--outline:hover { border-color: var(--teal); background: #fff; color: var(--teal-dark); }
/* every phone button: plain until hovered, then teal */
a.btn[href^="tel:"]:hover { background: var(--teal); border-color: var(--teal); color: #fff; }

/* ---------- hero: category list + slider ---------- */
.hero { padding-top: 30px; }
.hero__grid { display: grid; grid-template-columns: 260px 1fr; gap: 30px; align-items: stretch; }
.catlist { position: relative; z-index: 20; display: flex; flex-direction: column; border: 1px solid #d8dde3; border-radius: var(--radius); background: #fff; padding: 8px 0; margin-bottom: 30px; }
.catlist > ul { list-style: none; margin: 0; padding: 0; flex: 1; display: flex; flex-direction: column; justify-content: space-around; }
.catlist li > a { position: relative; display: flex; align-items: center; gap: 12px; padding: 6px 18px; font-size: 13.5px; text-transform: uppercase; transition: color .15s, background .15s; }
.catlist li > a::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 3px; border-radius: 0 3px 3px 0; background: var(--teal); opacity: 0; transition: opacity .15s; }
.catlist li:hover > a::before { opacity: 1; }
.catlist__icon { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 9px; background: #e6f6f3; color: var(--teal-dark); transition: background .2s, color .2s; }
.catlist li > a .catlist__icon .i { width: 20px; height: 20px; transform: none; color: inherit; }
.catlist li:hover .catlist__icon { background: var(--teal); color: #fff; }
.catlist__name { flex: 1; line-height: 1.3; }
.catlist li:hover > a { color: var(--teal-dark); background: var(--soft); }
/* soft translucent dividers between categories */
/* li must stay static so the flyout is positioned against the whole list */
.catlist > ul > li > a { margin: 0 10px; border-radius: 10px; padding-left: 10px; padding-right: 10px; }
.catlist > ul > li:not(:last-child) > a::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 1px; background: linear-gradient(90deg, rgba(8, 17, 58, 0), rgba(8, 17, 58, .09) 15%, rgba(8, 17, 58, .09) 85%, rgba(8, 17, 58, 0)); pointer-events: none; transition: opacity .15s; }
.catlist > ul > li:hover > a::after, .catlist > ul > li:has(+ li:hover) > a::after { opacity: 0; }
.catlist li > a .i { width: 14px; height: 14px; transform: rotate(-90deg); color: #9aa5b1; }
.catlist__fly { position: absolute; left: calc(100% - 4px); top: -1px; bottom: -1px; overflow-y: auto; width: 280px; background: #fff; border: 1px solid #d8dde3; border-radius: 0 var(--radius) var(--radius) 0; padding: 10px 0; box-shadow: 10px 10px 30px rgba(8, 17, 58, .08); opacity: 0; visibility: hidden; transition: opacity .15s, visibility .15s; }
.catlist li:hover .catlist__fly { opacity: 1; visibility: visible; }
.catlist__fly a { display: flex; justify-content: space-between; padding: 9px 22px; font-size: 14px; text-transform: uppercase; }
.catlist__fly a small { color: #9aa5b1; }
/* same translucent dividers inside the subcategory flyout */
.catlist__fly a { position: relative; margin: 0 10px; padding-left: 12px; padding-right: 12px; border-radius: 10px; }
.catlist__fly a:not(:last-child)::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 1px; background: linear-gradient(90deg, rgba(8, 17, 58, 0), rgba(8, 17, 58, .09) 15%, rgba(8, 17, 58, .09) 85%, rgba(8, 17, 58, 0)); pointer-events: none; transition: opacity .15s; }
.catlist__fly a:hover::after, .catlist__fly a:has(+ a:hover)::after { opacity: 0; }
.catlist__fly-title { display: block; padding: 6px 22px 10px; font-size: 12px; color: var(--muted); text-transform: uppercase; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.catlist__fly a:hover { color: var(--teal-dark); background: var(--soft); }

.slider { position: relative; min-width: 0; }
.slider__view { position: relative; overflow: hidden; border-radius: 30px; margin-bottom: 30px; }
.slider__track { display: flex; transition: transform .6s var(--ease); }
.slider__slide { flex: 0 0 100%; }
.slider__slide img { width: 100%; aspect-ratio: 1184 / 593; object-fit: cover; transform: scale(1.03); }
.slider__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 54px; display: grid; place-items: center; background: rgba(0, 0, 0, .45); color: #fff; opacity: 0; transition: background .2s, opacity .25s; }
.slider:hover .slider__nav { opacity: 1; }
.slider__nav:hover { background: rgba(0, 0, 0, .7); }
.slider__nav--prev { left: 0; } .slider__nav--next { right: 0; }
.slider__dots { position: absolute; left: 0; right: 0; bottom: 4px; display: flex; justify-content: center; gap: 8px; }
.slider__dots button { width: 8px; height: 8px; border-radius: 4px; background: #c9ced6; transition: background .2s, width .25s; }
.slider__dots button.is-active { width: 22px; border-radius: 4px; background: var(--teal); }

/* ---------- product card (as original) ---------- */
.grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 40px 24px; }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 30px; }
.card { position: relative; display: flex; flex-direction: column; padding: 10px 10px 14px; margin: -10px -10px -14px; border-radius: 18px; transition: box-shadow .25s, transform .25s var(--ease); }
.card:hover { box-shadow: 0 14px 34px rgba(8, 17, 58, .12); transform: translateY(-4px); }
.card__media { position: relative; display: block; aspect-ratio: 1; background: var(--soft); border-radius: var(--radius); overflow: hidden; margin-bottom: 18px; }
.card__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .45s var(--ease), opacity .3s; }
.card__media img + img { position: absolute; inset: 0; opacity: 0; }
.card:hover .card__media img:first-of-type:not(:only-of-type) { opacity: 0; }
.card:hover .card__media img + img { opacity: 1; }
.card:hover .card__media img:only-of-type { transform: scale(1.06); }
.badge { position: absolute; z-index: 2; top: 14px; left: 14px; padding: 5px 10px; border-radius: 3px; font-family: system-ui, sans-serif; font-size: 11.5px; font-weight: 600; line-height: 1.1; color: #fff; }
.badge--sale { background: var(--purple); }
.badge--out { background: #24292e; }
.card__title { font-size: 14.5px; line-height: 1.55; text-transform: uppercase; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 4.65em; }
.card__title a:hover { color: var(--teal-dark); }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-size: 17px; color: var(--navy); margin-bottom: 6px; }
.price.is-sale > span:first-child { color: var(--purple); }
.price del { font-size: 12.5px; color: #8a96a3; }
.card__cats { font-size: 11.5px; text-transform: uppercase; color: #8a96a3; margin-bottom: 16px; line-height: 1.5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card__cats a:hover { color: var(--teal-dark); }
.card .btn { margin-top: auto; align-self: flex-start; height: 42px; padding: 0 22px; font-size: 13.5px; text-transform: uppercase; }
.card:hover .btn { background: var(--teal); }
.card.is-out .card__media img { opacity: .6; }

/* ---------- product rail (one-row carousel) ---------- */
.rail { position: relative; --per: 6; --gap: 24px; }
.rail__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - var(--gap) * (var(--per) - 1)) / var(--per)); column-gap: var(--gap); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 14px 12px 26px; margin: -14px -12px -26px; scroll-padding-left: 12px; }
.rail__track::-webkit-scrollbar { display: none; }
.rail__track > * { scroll-snap-align: start; }
.rail .card { margin: 0; padding: 0; border-radius: var(--radius); }
.rail .card:hover { box-shadow: none; transform: translateY(-4px); }
.rail .card:hover .card__media { box-shadow: 0 12px 26px rgba(8, 17, 58, .14); }
.rail__arrow { position: absolute; z-index: 5; top: var(--arrow-top, 30%); transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--navy); box-shadow: 0 6px 20px rgba(8, 17, 58, .18); transition: background .2s, color .2s, opacity .25s, transform .2s; }
.rail__arrow:hover { background: var(--teal); color: #fff; }
.rail__arrow:disabled { opacity: 0; pointer-events: none; }
.rail__arrow--prev { left: -23px; }
.rail__arrow--next { right: -23px; }
.rail.is-static .rail__arrow { display: none; }
.rail__all { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; aspect-ratio: 1; border-radius: var(--radius); border: 2px dashed #cfe9e4; background: linear-gradient(160deg, #eefaf7, var(--soft)); text-align: center; transition: border-color .2s, background .2s, transform .25s var(--ease); }
.rail__all:hover { border-color: var(--teal); background: #e3f6f2; transform: translateY(-4px); }
.rail__all-icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: #fff; box-shadow: 0 8px 20px rgba(94, 196, 178, .45); transition: transform .25s var(--ease); }
.rail__all:hover .rail__all-icon { transform: translateX(4px); }
.rail__all-title { font-size: 16px; text-transform: uppercase; color: var(--navy); }
.rail__all-count { font-size: 12.5px; color: var(--muted); }
@media (max-width: 1200px) { .rail { --per: 4; } }
@media (max-width: 980px) { .rail { --per: 3; --gap: 18px; } .rail__arrow--prev { left: -8px; } .rail__arrow--next { right: -8px; } }
@media (max-width: 760px) { .rail { --per: 2.2; --gap: 14px; } .rail__arrow { display: none; } }

/* ---------- home rails: rich headers, bands, compact cards ---------- */
.band { position: relative; }
.band--sale { background: linear-gradient(180deg, #f4f1ff 0%, #faf9ff 70%, #fff 100%); }
.band--soft { background: linear-gradient(180deg, var(--soft) 0%, #fafbfc 70%, #fff 100%); }
.band > .section { padding-bottom: 46px; }
.section__title--rich { align-items: center; }
.section__title--rich .section__name { gap: 14px; }
.section__icon { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 13px; color: #fff; }
.section__icon .i { width: 23px; height: 23px; }
.section__icon--teal { background: var(--teal); box-shadow: 0 8px 18px rgba(94, 196, 178, .4); }
.section__icon--purple { background: var(--purple); box-shadow: 0 8px 18px rgba(91, 56, 237, .35); }
.section__icon--navy { background: var(--navy); box-shadow: 0 8px 18px rgba(8, 17, 58, .3); }
.section__pct { font-family: system-ui, sans-serif; font-size: 22px; font-weight: 800; }
.section__label { display: flex; flex-direction: column; line-height: 1.2; }
.section__label small { margin-top: 4px; font-size: 12.5px; text-transform: none; color: #8a96a3; }
.band--sale .section__title::after { background: var(--purple); }
.band--soft .section__title::after { background: var(--navy); }

.pcard { display: flex; flex-direction: column; height: 100%; padding: 10px; border: 1px solid var(--line); border-radius: 18px; background: #fff; transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.pcard:hover { border-color: transparent; box-shadow: 0 16px 34px rgba(8, 17, 58, .13); transform: translateY(-4px); }
.pcard__media { position: relative; display: block; aspect-ratio: 1; border-radius: 12px; background: var(--soft); overflow: hidden; }
.pcard__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .45s var(--ease), opacity .3s; }
.pcard__media img + img { position: absolute; inset: 0; opacity: 0; }
.pcard:hover .pcard__media img:first-of-type:not(:only-of-type) { opacity: 0; }
.pcard:hover .pcard__media img + img { opacity: 1; }
.pcard:hover .pcard__media img:only-of-type { transform: scale(1.06); }
.pcard.is-out .pcard__media img { opacity: .55; }
.pcard__badges { position: absolute; z-index: 2; top: 10px; left: 10px; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.pcard__badges .badge { position: static; }
.badge--new { background: var(--teal); }
.badge--top { display: inline-flex; align-items: center; gap: 3px; background: var(--navy); }
.badge--top .i { width: 11px; height: 11px; }
.pcard__body { display: flex; flex-direction: column; flex: 1; padding: 12px 4px 2px; }
.pcard__cat { align-self: flex-start; font-size: 11px; text-transform: uppercase; color: var(--teal-dark); margin-bottom: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.pcard__cat:hover { color: var(--navy); }
.pcard__title { font-size: 13.5px; line-height: 1.5; text-transform: uppercase; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 3em; margin-bottom: 12px; }
.pcard__title a:hover { color: var(--teal-dark); }
.pcard__foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; padding-top: 10px; border-top: 1px dashed var(--line); }
.pcard__price { display: flex; flex-direction: column; line-height: 1.2; }
.pcard__price span { font-size: 17px; color: var(--navy); }
.pcard__price del { font-size: 12px; color: #9aa5b1; }
.pcard__price.is-sale span { color: var(--purple); }
.pcard__go { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: #fff; transition: background .2s, transform .25s var(--ease); }
.pcard__go .i { width: 17px; height: 17px; }
.pcard:hover .pcard__go { background: var(--teal); transform: rotate(-30deg); }
.rail__all { aspect-ratio: auto; height: 100%; min-height: 260px; }
.band--sale .rail__all { border-color: #ddd3ff; background: linear-gradient(160deg, #f1edff, #faf9ff); }
.band--sale .rail__all-icon { background: var(--purple); box-shadow: 0 8px 20px rgba(91, 56, 237, .35); }
.band--soft .rail__all { border-color: #d6dbe2; background: linear-gradient(160deg, #eef1f5, #fff); }
.band--soft .rail__all-icon { background: var(--navy); box-shadow: 0 8px 20px rgba(8, 17, 58, .3); }

/* ---------- PVC promo banner ---------- */
.promo-pvc { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; align-items: stretch; min-height: 380px; margin: 40px 0 20px; border-radius: 30px; background: radial-gradient(120% 140% at 0% 0%, #1a2565 0%, var(--navy) 45%, #050a24 100%); color: #fff; box-shadow: 0 24px 50px rgba(8, 17, 58, .25); }
.promo-pvc::before { content: ""; position: absolute; left: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(94, 196, 178, .25), transparent 65%); pointer-events: none; }
.promo-pvc__text { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; padding: 46px 20px 46px 56px; }
.promo-pvc__kicker { align-self: flex-start; padding: 5px 12px; border-radius: 30px; background: rgba(94, 196, 178, .14); border: 1px solid rgba(94, 196, 178, .4); color: var(--teal); font-size: 12px; text-transform: uppercase; margin-bottom: 18px; }
.promo-pvc__title { color: #fff; font-size: 74px; line-height: .95; text-transform: uppercase; margin-bottom: 24px; }
.promo-pvc__title span { display: block; font-size: 38px; line-height: 1.25; margin-top: 8px; }
.promo-pvc__title em { display: block; font-style: normal; font-size: 40px; line-height: 1.2; color: var(--teal); text-shadow: 0 0 18px rgba(94, 196, 178, .55); }
.promo-pvc__row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-bottom: 28px; }
.promo-pvc__price { display: flex; align-items: baseline; gap: 6px; padding: 10px 18px; border-radius: 14px; background: #fff; color: var(--navy); }
.promo-pvc__price b { font-weight: 400; font-size: 30px; line-height: 1; }
.promo-pvc__price small { font-size: 12.5px; text-transform: uppercase; color: var(--muted); }
.promo-pvc__chips { display: flex; gap: 10px; flex-wrap: wrap; }
.promo-pvc__chips span { display: flex; flex-direction: column; justify-content: center; min-height: 52px; padding: 6px 14px; border-radius: 12px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); font-size: 11.5px; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.promo-pvc__chips b { font-weight: 400; font-size: 17px; color: #fff; line-height: 1.2; }
.promo-pvc__dots { display: flex; gap: 4px; padding: 3px 0; }
.promo-pvc__dots i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .5); }
.promo-pvc__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.promo-pvc__btns .btn { height: 48px; padding: 0 24px; border-radius: 30px; text-transform: uppercase; font-size: 14px; }
.promo-pvc__btns .btn .i { width: 17px; height: 17px; }
.promo-pvc__btns .btn--teal:hover .i { transform: translateX(3px); }
.promo-pvc__btns .btn .i { transition: transform .2s; }
.promo-pvc__media { position: relative; z-index: 1; display: flex; align-items: center; justify-content: flex-end; padding: 28px 34px 28px 0; }
/* show only the three sheet photos from the original banner (x 53.4–95.9%, y 6.4–93.3%) */
.promo-pvc__crop { position: relative; display: block; height: 100%; max-height: 440px; aspect-ratio: 503 / 515; overflow: hidden; border-radius: 16px; }
.promo-pvc__crop img { position: absolute; max-width: none; width: 235.4%; height: 115.1%; left: -125.6%; top: -7.4%; transition: transform .6s var(--ease); transform-origin: 75% 50%; }
.promo-pvc:hover .promo-pvc__crop img { transform: scale(1.04); }
/* white dibond promo: PVC promo mirrored (photo left) */
.promo-pvc--flip { grid-template-columns: minmax(0, 46%) 1fr; margin-top: 20px; }
.promo-pvc--flip::before { left: auto; right: -140px; bottom: auto; top: -170px; background: radial-gradient(circle, rgba(91, 56, 237, .3), transparent 65%); }
.promo-dib .promo-dib__title { font-size: 56px; }
.promo-dib__media { position: relative; z-index: 1; display: flex; align-items: center; padding: 28px 0 28px 34px; }
.promo-dib__frame { display: block; width: 100%; aspect-ratio: 1 / .78; overflow: hidden; border-radius: 22px; background: #fff; border: 2px solid rgba(94, 196, 178, .55); box-shadow: 0 0 0 6px rgba(94, 196, 178, .08), 0 18px 40px rgba(0, 0, 0, .35); }
.promo-dib__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; transition: transform .6s var(--ease); }
.promo-dib:hover .promo-dib__frame img { transform: scale(1.04); }
.promo-dib__sticker { position: absolute; right: -18px; top: 46px; width: 112px; height: 112px; display: grid; place-content: center; text-align: center; border-radius: 50%; background: var(--purple); color: #fff; border: 4px solid #fff; box-shadow: 0 10px 26px rgba(91, 56, 237, .5); transform: rotate(-10deg); line-height: 1; }
.promo-dib__sticker b { font-weight: 400; font-size: 32px; }
.promo-dib__sticker small { font-size: 13px; margin-top: 4px; text-transform: uppercase; opacity: .9; }
.promo-dib .promo-pvc__text { padding: 46px 56px 46px 56px; }
@media (max-width: 1200px) { .promo-dib .promo-dib__title { font-size: 44px; } .promo-dib .promo-pvc__text { padding: 40px; } }
@media (max-width: 980px) { .promo-pvc--flip { grid-template-columns: 1fr; } .promo-dib__media { padding: 26px 26px 6px; } .promo-dib__frame { aspect-ratio: 16 / 10; } .promo-dib__sticker { right: 14px; top: 14px; width: 92px; height: 92px; } .promo-dib__sticker b { font-size: 26px; } .promo-dib .promo-pvc__text { padding: 14px 28px 34px; } }
@media (max-width: 760px) { .promo-dib .promo-dib__title { font-size: 34px; } }
@media (max-width: 1200px) { .promo-pvc__title { font-size: 60px; } .promo-pvc__title span, .promo-pvc__title em { font-size: 30px; } .promo-pvc__text { padding-left: 40px; } }
@media (max-width: 980px) { .promo-pvc { grid-template-columns: 1fr; } .promo-pvc__media { order: -1; justify-content: center; padding: 26px 26px 6px; } .promo-pvc__crop { height: 280px; } .promo-pvc__text { padding: 10px 28px 34px; } }
@media (max-width: 760px) { .promo-pvc { border-radius: 20px; } .promo-pvc__title { font-size: 46px; } .promo-pvc__title span, .promo-pvc__title em { font-size: 24px; } }

/* ---------- duo promo (LED + power supplies) ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.duo__card { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 22px; padding: 32px 32px 30px; border-radius: 26px; color: #fff; background: radial-gradient(120% 120% at 100% 0%, #1a2565 0%, var(--navy) 50%, #050a24 100%); box-shadow: 0 20px 44px rgba(8, 17, 58, .22); }
.duo__card::before { content: ""; position: absolute; right: -90px; top: -90px; width: 260px; height: 260px; border-radius: 50%; pointer-events: none; }
.duo__card--teal::before { background: radial-gradient(circle, rgba(94, 196, 178, .28), transparent 65%); }
.duo__card--purple::before { background: radial-gradient(circle, rgba(91, 56, 237, .35), transparent 65%); }
.duo__text { position: relative; z-index: 1; }
.duo__kicker { display: inline-block; padding: 4px 11px; border-radius: 30px; font-size: 11.5px; text-transform: uppercase; margin-bottom: 12px; }
.duo__card--teal .duo__kicker { background: rgba(94, 196, 178, .15); color: var(--teal); border: 1px solid rgba(94, 196, 178, .4); }
.duo__card--purple .duo__kicker { background: rgba(91, 56, 237, .22); color: #b9a8ff; border: 1px solid rgba(146, 121, 255, .45); }
.duo__title { color: #fff; font-size: 28px; line-height: 1.2; text-transform: uppercase; margin-bottom: 8px; }
.duo__sub { margin: 0 0 16px; font-size: 13px; text-transform: uppercase; color: rgba(255, 255, 255, .65); }
.duo__meta { display: flex; gap: 18px; flex-wrap: wrap; font-size: 12.5px; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.duo__meta b { font-weight: 400; font-size: 16px; color: #fff; }
.duo__card--teal .duo__meta b { color: var(--teal); }
.duo__card--purple .duo__meta b { color: #b9a8ff; }
.duo__subs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.duo__subs a { padding: 4px 11px; border-radius: 30px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); font-size: 11.5px; text-transform: uppercase; transition: background .2s, border-color .2s; }
.duo__subs a:hover { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .35); }
.duo__strip { position: relative; z-index: 1; display: block; overflow: hidden; border-radius: 14px; }
.duo__strip img { position: absolute; max-width: none; transition: transform .6s var(--ease); }
.duo__card:hover .duo__strip img { transform: scale(1.03); }
.duo__btn { position: relative; z-index: 1; align-self: flex-start; margin-top: auto; height: 44px; border-radius: 30px; text-transform: uppercase; font-size: 13.5px; }
.duo__card--teal .duo__btn { background: var(--teal); }
.duo__card--teal .duo__btn:hover { background: #fff; color: var(--navy); }
.duo__card--purple .duo__btn { background: var(--purple); }
.duo__card--purple .duo__btn:hover { background: #fff; color: var(--navy); }
.duo__btn .i { width: 16px; height: 16px; transition: transform .2s; }
.duo__btn:hover .i { transform: translateX(3px); }

/* ---------- how to order ---------- */
.howto { display: grid; grid-template-columns: 400px 1fr; gap: 40px; align-items: center; padding: 40px 44px; border: 1px solid var(--line); border-radius: 26px; background: linear-gradient(135deg, #f2fbf9 0%, #fff 55%); }
.howto__head h2 { font-size: 30px; text-transform: uppercase; margin-bottom: 10px; }
.howto__head p { margin: 0 0 20px; font-size: 13.5px; text-transform: uppercase; color: var(--muted); line-height: 1.7; }
.howto__phones { display: flex; gap: 8px; flex-wrap: nowrap; }
.howto__phones .btn { height: 42px; padding: 0 13px; gap: 6px; border-radius: 30px; font-size: 13.5px; }
.howto__phones .i { width: 15px; height: 15px; }
.howto__phones .btn--outline:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.howto__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: none; }
.howto__step { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px 18px 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.howto__step:hover { transform: translateY(-4px); border-color: transparent; box-shadow: 0 14px 30px rgba(8, 17, 58, .1); }
.howto__step:not(:last-child)::after { content: ""; position: absolute; top: 44px; right: -18px; width: 18px; border-top: 2px dashed #bfe6df; }
.howto__num { position: absolute; top: 14px; right: 16px; font-size: 34px; line-height: 1; color: #e6f6f3; }
.howto__icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px; background: var(--teal); color: #fff; margin-bottom: 8px; box-shadow: 0 8px 18px rgba(94, 196, 178, .35); }
.howto__icon .i { width: 22px; height: 22px; }
.howto__step:nth-child(2) .howto__icon { background: var(--navy); box-shadow: 0 8px 18px rgba(8, 17, 58, .25); }
.howto__step:nth-child(3) .howto__icon { background: var(--purple); box-shadow: 0 8px 18px rgba(91, 56, 237, .3); }
.howto__step:nth-child(4) .howto__icon { background: var(--teal-dark); }
.howto__step b { font-weight: 400; font-size: 15px; text-transform: uppercase; color: var(--dark); }
.howto__step small { font-size: 12px; line-height: 1.5; text-transform: uppercase; color: var(--muted); }
button.section__more { cursor: pointer; background: #fff; }

@media (max-width: 1200px) { .howto { grid-template-columns: 1fr; } }
@media (max-width: 980px) { .duo { grid-template-columns: 1fr; } .howto__steps { grid-template-columns: repeat(2, 1fr); } .howto__step::after { display: none; } }
@media (max-width: 760px) { .howto__phones { flex-wrap: wrap; } .howto { padding: 26px 20px; } .howto__steps { grid-template-columns: 1fr; } .duo__card { padding: 24px 20px; } .duo__title { font-size: 22px; } }

/* ---------- banner / about / features ---------- */
.banner { display: block; border-radius: var(--radius); overflow: hidden; margin: 30px 0; }
.banner img { width: 100%; transition: transform .5s var(--ease); }
.banner:hover img { transform: scale(1.015); }
.about { border-radius: var(--radius); padding: 70px 80px; background: linear-gradient(220deg, var(--dark) 30%, var(--purple) 130%); color: #fff; margin-top: 40px; }
.about h2 { color: #fff; font-size: 44px; text-transform: uppercase; margin-bottom: 26px; }
.about p { max-width: 1060px; margin: 0 0 34px; font-size: 14.5px; line-height: 1.9; text-transform: uppercase; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 60px; padding-bottom: 70px; text-align: center; }
.feature { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 34px 24px; border-radius: var(--radius); background: var(--soft); font-size: 16px; text-transform: uppercase; color: var(--dark); transition: background .25s, box-shadow .25s; }
.feature:hover { background: #fff; box-shadow: 0 12px 30px rgba(8, 17, 58, .1); }
.feature small { font-size: 12.5px; color: var(--muted); max-width: 260px; line-height: 1.6; }
.feature img { margin-bottom: 8px; }
.feature img { width: 64px; height: 64px; object-fit: contain; transition: transform .3s var(--ease); }
.feature:hover img { transform: translateY(-4px); }

/* ---------- home: perks strip ---------- */
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 6px; }
.perks--bottom { margin-top: 50px; margin-bottom: 60px; }
.perk { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s; }
.perk:hover { border-color: var(--teal); box-shadow: 0 10px 24px rgba(8, 17, 58, .08); transform: translateY(-2px); }
.perk__icon { width: 52px; height: 52px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--soft); }
.perk__icon img { width: 32px; height: 32px; object-fit: contain; }
.perk__icon--svg { background: #e6f6f3; color: var(--teal-dark); }
.perk__icon--svg .i { width: 26px; height: 26px; }
.perk b { display: block; font-weight: 400; font-size: 14.5px; text-transform: uppercase; color: var(--dark); }
.perk small { display: block; font-size: 12px; color: var(--muted); line-height: 1.45; }


/* section title badge */
.section__name { display: inline-flex; align-items: center; gap: 12px; }
.title-pill { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 6px; background: var(--purple); color: #fff; font-family: system-ui, sans-serif; font-size: 13px; font-weight: 700; }

/* about with stats */
.about { display: grid; grid-template-columns: 1fr 360px; gap: 50px; align-items: center; }
.about p { margin-bottom: 30px; }
.about__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn--ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .35); }
.btn--ghost:hover { background: #fff; color: var(--dark); }
.about__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.about__stats div { padding: 22px 18px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(4px); }
.about__stats b { display: block; font-weight: 400; font-size: 38px; line-height: 1.1; color: var(--teal); }
.about__stats span { font-size: 12.5px; text-transform: uppercase; color: rgba(255, 255, 255, .8); }


@media (max-width: 1200px) {
  .perks { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .perks { grid-template-columns: 1fr; }
}

/* ---------- breadcrumbs / page title ---------- */
.page-top { padding-top: 30px; padding-bottom: 6px; }
.page-top--band { padding-top: 28px; padding-bottom: 26px; margin-bottom: 10px; background: var(--soft); max-width: none; }
.page-top--band > * { max-width: calc(var(--container) - 40px); margin-left: auto; margin-right: auto; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.crumbs a:hover { color: var(--teal-dark); }
.page-title { font-size: 32px; text-transform: uppercase; }
.subcats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.subcats a { padding: 7px 14px; border: 1px solid var(--line); border-radius: 30px; font-size: 13.5px; transition: border-color .15s, color .15s; }
.subcats a:hover { border-color: var(--teal); color: var(--teal-dark); }
.subcats small { color: var(--muted); margin-left: 3px; }

/* ---------- catalog ---------- */
.catalog { display: grid; grid-template-columns: 250px 1fr; gap: 50px; padding-top: 30px; padding-bottom: 60px; align-items: start; }
.filters { align-self: start; }
.filters h2 { font-size: 24px; text-transform: uppercase; margin-bottom: 18px; display: flex; justify-content: space-between; align-items: center; }
.filters__close { display: none; }
.fgroup { border-top: 1px solid var(--line); padding: 14px 0; }
.fgroup[open] { padding-bottom: 18px; }
.fgroup summary { list-style: none; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-size: 17px; text-transform: uppercase; color: var(--dark); }
.fgroup summary::-webkit-details-marker { display: none; }
.fgroup summary .i { width: 14px; height: 14px; color: #9aa5b1; transition: transform .2s; }
.fgroup[open] summary { margin-bottom: 12px; }
.fgroup[open] summary .i { transform: rotate(180deg); }
.fgroup__list:not(.is-all) .check--more { display: none; }
.fgroup__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 4px 0; font-size: 13px; color: var(--teal-dark); text-transform: uppercase; cursor: pointer; }
.fgroup__more:hover { color: var(--navy); }
.fgroup__more .i { width: 12px; height: 12px; transition: transform .2s; }
.fgroup__list.is-all + .fgroup__more .i { transform: rotate(180deg); }
.check { display: flex; align-items: center; gap: 10px; padding: 3px 0; font-size: 13.5px; text-transform: uppercase; cursor: pointer; user-select: none; }
.check input { appearance: none; width: 15px; height: 15px; margin: 0; border-radius: 3px; background: #e7ebee; flex: none; cursor: pointer; transition: background .15s; }
.check input:checked { background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12 5 5 9-10' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat; }
.check small { margin-left: auto; color: var(--muted); font-size: 12px; }
.range { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.range input { width: 100%; min-width: 0; height: 42px; border: 1px solid #cfd6dd; border-radius: 5px; padding: 0 10px; font-size: 13px; outline: none; background: #fff; }
.range input:focus { border-color: var(--teal); }
.range button { flex: none; height: 42px; padding: 0 14px; border-radius: 5px; background: var(--navy); color: #fff; font-size: 13px; transition: background .2s; }
.range button:hover { background: var(--teal); }
.clear-btn { font-size: 13px; color: var(--purple); text-transform: none; }

.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 30px; padding: 10px 10px 10px 18px; border-radius: 10px; background: var(--soft); flex-wrap: wrap; }
.toolbar__count { font-size: 14px; color: var(--muted); }
.select { height: 40px; border: 1px solid var(--line); border-radius: 3px; padding: 0 34px 0 14px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23111518' stroke-width='2'/%3E%3C/svg%3E") right 10px center/14px no-repeat; appearance: none; font-size: 13.5px; text-transform: uppercase; cursor: pointer; outline: none; }
.select:focus { border-color: var(--teal); }
.filter-btn { display: none; }
/* sort control (desktop): icon + label + select */
.sortbox { display: inline-flex; align-items: center; gap: 8px; }
.sortbox .i { width: 17px; height: 17px; color: var(--teal-dark); }
.sortbox__label { font-size: 13px; text-transform: uppercase; color: var(--muted); }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: -12px 0 24px; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 6px 4px 12px; border-radius: 30px; background: var(--soft); font-size: 13px; }
.tag button { width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; }
.tag button:hover { background: var(--line); }
.tag .i { width: 11px; height: 11px; }
.load-more { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 44px; font-size: 13.5px; color: var(--muted); }
.empty { text-align: center; padding: 60px 20px; background: var(--soft); border-radius: var(--radius); color: var(--muted); }
.empty h3 { font-size: 22px; text-transform: uppercase; margin-bottom: 8px; }
.empty .btn { margin-top: 18px; }

/* ---------- product page ---------- */
.gallery__main { position: relative; background: var(--soft); border-radius: var(--radius); overflow: hidden; cursor: zoom-in; }
.gallery__main img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; transition: transform .4s var(--ease); }
.gallery__main:hover img { transform: scale(1.03); }
.gallery__main .badge { top: 20px; left: 20px; font-size: 12.5px; padding: 6px 12px; }
.gallery__zoom { position: absolute; top: 20px; right: 20px; width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--dark); box-shadow: 0 2px 8px rgba(0,0,0,.1); }
.gallery__thumbs { display: flex; gap: 15px; margin-top: 15px; flex-wrap: wrap; }
.gallery__thumb { width: 96px; height: 96px; background: var(--soft); border: 2px solid transparent; border-radius: 10px; overflow: hidden; opacity: .7; transition: opacity .2s, border-color .2s; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb:hover { opacity: 1; }
.gallery__thumb.is-active { opacity: 1; border-color: var(--teal); }
.pinfo__short { font-size: 15px; text-transform: uppercase; padding-bottom: 22px; }
.pinfo__short p { margin: 0; }
.order__phones { display: flex; flex-wrap: wrap; gap: 10px; }
.pinfo__meta { padding-top: 22px; font-size: 13px; text-transform: uppercase; color: var(--dark); }
.pinfo__meta a { color: var(--muted); }
.pinfo__meta a:hover { color: var(--teal-dark); }

.tabs__nav { display: flex; justify-content: center; gap: 10px; border-bottom: 1px solid var(--line); }
.tabs__nav button { padding: 14px 18px; font-size: 13px; text-transform: uppercase; border-bottom: 3px solid transparent; margin-bottom: -1px; color: var(--dark); }
.tabs__nav button.is-active { border-color: var(--purple); }
.tabs__panel { padding: 34px 0 10px; font-size: 15px; line-height: 1.9; }
.prose p { margin: 0 0 18px; text-transform: uppercase; }
.prose ul, .prose ol { padding-left: 22px; text-transform: uppercase; }
.prose img { height: auto; margin: 10px 0; }

.lightbox__close { top: 14px; right: 14px; }
.lightbox__prev { left: 14px; top: 50%; } .lightbox__next { right: 14px; top: 50%; }

/* ---------- product page ---------- */
/* gallery height follows the info column (price, short text, order box) */
/* left: gallery + specs + description; right: info panel pinned while scrolling */
.pd { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; padding-top: 22px; align-items: start; }
.pd-left { min-width: 0; }
.pd-info { position: sticky; top: 96px; }
/* thumbnails in a vertical strip on the left of the main photo */
.pd-gallery { display: flex; flex-direction: row; gap: 14px; min-height: 0; }
.pd-main { position: relative; flex: 1 1 auto; min-height: 380px; border-radius: 22px; background: var(--soft); overflow: hidden; cursor: zoom-in; }
.pd-main img { position: absolute; inset: 0; }
/* photo fills the frame edge to edge: top = title, bottom = order box (full image stays available in the lightbox) */
.pd-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease, opacity .15s; }
.pd-main img.is-fading { opacity: 0; }
.pd-main.is-zoom img { transform: scale(1.9); }
/* photo as a card, like the specs card: white, thin border, the whole photo visible */
.pd-main { background: #fff; border: 1px solid var(--line); }
.pd-main img { inset: 22px; width: calc(100% - 44px); height: calc(100% - 44px); object-fit: contain; }
.pd-gallery .pd-thumb { background: #fff; border: 1px solid var(--line); }
.pd-gallery .pd-thumb img { object-fit: contain; padding: 4px; }
.pd-gallery .pd-thumb.is-active { border: 2px solid var(--teal); }
.pd-main__badges { position: absolute; z-index: 3; top: 18px; left: 18px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.pd-main__badges .badge { position: static; font-size: 12.5px; padding: 6px 11px; }
.pd-main__expand { position: absolute; z-index: 3; top: 16px; right: 16px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--navy); box-shadow: 0 6px 16px rgba(8, 17, 58, .15); transition: background .2s, color .2s, transform .2s; }
.pd-main__expand:hover { background: var(--teal); color: #fff; transform: scale(1.06); }
.pd-main__expand .i { width: 18px; height: 18px; }
.pd-main__nav { position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--navy); box-shadow: 0 6px 16px rgba(8, 17, 58, .15); opacity: 0; transition: opacity .2s, background .2s, color .2s; }
.pd-main:hover .pd-main__nav { opacity: 1; }
.pd-main__nav:hover { background: var(--teal); color: #fff; }
.pd-main__nav--prev { left: 16px; } .pd-main__nav--next { right: 16px; }
.pd-main__count { position: absolute; z-index: 3; bottom: 16px; left: 50%; transform: translateX(-50%); padding: 4px 12px; border-radius: 20px; background: rgba(8, 17, 58, .7); color: #fff; font-size: 12.5px; letter-spacing: .5px; }
.pd-thumbs { order: -1; flex: none; display: flex; flex-direction: column; gap: 12px; width: 86px; overflow-y: auto; scrollbar-width: none; padding: 2px; }
.pd-thumbs::-webkit-scrollbar { display: none; }
.pd-thumb { flex: none; width: 80px; height: 80px; border-radius: 14px; background: var(--soft); border: 2px solid transparent; overflow: hidden; opacity: .65; transition: opacity .2s, border-color .2s, transform .2s; }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumb:hover { opacity: 1; transform: translateX(2px); }
.pd-thumb.is-active { opacity: 1; border-color: var(--teal); box-shadow: 0 6px 14px rgba(94, 196, 178, .3); }

.pd-info { display: flex; flex-direction: column; }
.pd-title { font-size: 32px; line-height: 1.25; text-transform: uppercase; color: var(--dark); }

.pd-sku { margin-top: 6px; font-size: 12.5px; color: #8a96a3; text-transform: uppercase; }
.pd-price { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin: 22px 0; padding: 18px 22px; border-radius: 18px; background: linear-gradient(135deg, #f5f7fa, #fff); border: 1px solid var(--line); }
.pd-price__main { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pd-price__now { font-size: 38px; line-height: 1; color: var(--navy); }
.pd-price__now.is-sale { color: var(--purple); }
.pd-price del { font-size: 17px; color: #9aa5b1; }
.pd-price__off { padding: 4px 10px; border-radius: 8px; background: var(--purple); color: #fff; font: 700 13px/1.3 system-ui, sans-serif; align-self: center; }
.pd-stock { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 30px; font-size: 12.5px; text-transform: uppercase; }
.pd-stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.pd-stock.is-in { background: #e3f7ec; color: #1f9d6b; }
.pd-stock.is-out { background: #fdecec; color: #d33; }

.pd-points { list-style: none; margin: 0 0 20px; padding: 0; border-radius: 16px; border: 1px solid var(--line); overflow: hidden; }
.pd-points li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 18px; font-size: 14px; text-transform: uppercase; }
.pd-points li + li { border-top: 1px dashed var(--line); }
.pd-points li:nth-child(odd) { background: #fafbfc; }
.pd-points span { color: var(--muted); }
.pd-points b { font-weight: 400; color: var(--dark); text-align: right; }
.pd-short { margin-bottom: 20px; font-size: 14.5px; line-height: 1.8; text-transform: uppercase; }
.pd-short p { margin: 0; }

.swatch { display: inline-block; width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(8, 17, 58, .2); vertical-align: -2px; margin-right: 4px; }

.pd-order { padding: 20px 22px; border-radius: 18px; background: linear-gradient(220deg, var(--dark) 30%, var(--purple) 170%); color: #fff; }
.pd-order__head { display: flex; flex-direction: column; margin-bottom: 14px; }
.pd-order__head b { font-weight: 400; font-size: 17px; text-transform: uppercase; }
.pd-order__head span { font-size: 12.5px; text-transform: uppercase; color: rgba(255, 255, 255, .65); }
.pd-order__phones { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-order__phones .btn { height: 42px; padding: 0 14px; border-radius: 30px; font-size: 13.5px; }
.pd-order__phones .btn--outline { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .2); }
.pd-order__phones .btn--outline:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.pd-order__phones .i { width: 15px; height: 15px; }
.pd-order__perks { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 12px; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.pd-order__perks > * { display: inline-flex; align-items: center; gap: 6px; }
.pd-order__perks .i { width: 15px; height: 15px; color: var(--teal); }
.pd-order__perks a:hover, .pd-order__perks button:hover { color: var(--teal); }
.pd-order__perks button { margin-left: auto; color: inherit; font: inherit; text-transform: uppercase; }

/* specs first, description below — both full width */
.pd-details { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 28px; }
.pd:last-child { padding-bottom: 56px; } /* no "similar products" rail after it: keep the last card off the footer */
.pd-card { padding: 30px 32px; border-radius: 22px; border: 1px solid var(--line); background: #fff; }
.pd-card h2 { display: flex; align-items: center; gap: 10px; font-size: 20px; text-transform: uppercase; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.pd-card h2 .i { width: 22px; height: 22px; padding: 4px; box-sizing: content-box; border-radius: 9px; background: #e6f6f3; color: var(--teal-dark); }
.pd-desc .prose { max-width: 1040px; font-size: 14.5px; line-height: 1.95; }
.pd-desc .prose p { margin: 0 0 14px; text-transform: uppercase; }
.pd-desc .prose ul, .pd-desc .prose ol { padding-left: 20px; text-transform: uppercase; }
.pd-desc .prose li { margin-bottom: 6px; }


.pd-specs dl { margin: 0; }
.pd-specs dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 14px; text-transform: uppercase; }
.pd-specs dl > div:last-child { border-bottom: 0; }
.pd-specs dt { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.pd-specs dt .i { width: 28px; height: 28px; padding: 5px; flex: none; border-radius: 8px; background: #e6f6f3; color: var(--teal-dark); }
.pd-specs dl > div { align-items: center; }
.pd-specs dd { margin: 0; text-align: right; color: var(--dark); }
.pd-specs dd a { color: var(--teal-dark); }
.swatch-val { display: inline-flex; align-items: center; gap: 7px; }
.swatch-val .swatch { width: 15px; height: 15px; margin: 0; flex: none; position: relative; top: -2px; }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 120; display: flex; flex-direction: column; background: rgba(5, 10, 36, .94); backdrop-filter: blur(6px); color: #fff; animation: fade .2s; }
.lb.is-closing { opacity: 0; transition: opacity .18s; }
.lb__top { display: flex; align-items: center; gap: 16px; padding: 16px 20px; }
.lb__count { min-width: 56px; font-size: 14px; letter-spacing: 1px; color: rgba(255, 255, 255, .75); }
.lb__title { flex: 1; text-align: center; font-size: 15px; text-transform: uppercase; color: rgba(255, 255, 255, .9); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb__btn { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; transition: background .2s, transform .2s; }
.lb__btn:hover { background: var(--teal); transform: scale(1.06); }
.lb__stage { position: relative; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; gap: 20px; padding: 0 20px; }
.lb__frame { position: relative; height: 100%; max-width: min(1100px, 100%); display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 16px; }
.lb__frame img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 16px; background: #fff; cursor: zoom-in; transition: transform .3s ease; user-select: none; }
.lb__frame.is-zoom img { transform: scale(2.2); cursor: zoom-out; }
.lb__bottom { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px 20px 20px; }
.lb__thumbs { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.lb__thumbs button { width: 64px; height: 64px; border-radius: 12px; overflow: hidden; border: 2px solid transparent; opacity: .5; background: #fff; transition: opacity .2s, border-color .2s; }
.lb__thumbs button:hover { opacity: .85; }
.lb__thumbs button.is-active { opacity: 1; border-color: var(--teal); }
.lb__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.lb__hint { font-size: 11.5px; text-transform: uppercase; color: rgba(255, 255, 255, .45); }


@media (max-width: 980px) { .pd { grid-template-columns: minmax(0, 1fr); gap: 28px; } .pd > *, .pd-left > * { min-width: 0; } .pd-left { display: contents; } .pd-gallery { order: 1; } .pd-info { order: 2; position: static; } .pd-details { order: 3; margin-top: 0; } .pd-gallery { flex-direction: column; } .pd-thumbs { order: 0; flex-direction: row; width: auto; overflow-x: auto; } .pd-main { flex: none; min-height: 0; aspect-ratio: 1 / 1; } .pd-order { margin-top: 0; } }
@media (max-width: 760px) {
  .pd-title { font-size: 23px; } .pd-price__now { font-size: 30px; } .pd-card { padding: 22px 18px; }
  .pd-thumb { width: 64px; height: 64px; } .pd-main__nav { opacity: 1; width: 40px; height: 40px; }
  .lb__nav { position: absolute; bottom: -64px; } .lb__nav--prev { left: 20px; } .lb__nav--next { right: 20px; } .lb__hint { display: none; }
  .pd-order__perks button { margin-left: 0; }
}

/* ---------- contact / about pages ---------- */
.branches { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; padding-bottom: 30px; }
.branch { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: #fff; transition: box-shadow .25s, border-color .25s, transform .25s var(--ease); }
.branch:hover { border-color: transparent; box-shadow: 0 18px 38px rgba(8, 17, 58, .12); transform: translateY(-3px); }
.branch__body { padding: 26px 28px 24px; display: grid; gap: 10px; }
.branch__top { display: flex; justify-content: space-between; align-items: center; }
.branch__city-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: #e6f6f3; color: var(--teal-dark); }
.branch__city-icon .i { width: 21px; height: 21px; color: inherit !important; }
.branch__btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.branch__btns .btn { height: 42px; border-radius: 30px; font-size: 13px; text-transform: uppercase; }
.branch__btns .i { width: 16px; height: 16px; }
.branch__label { padding: 4px 11px; border-radius: 30px; background: var(--soft); font-size: 12px; text-transform: uppercase; color: var(--navy); }
.branch h3 { font-size: 28px; text-transform: uppercase; margin-bottom: 4px; }
.branch__row { display: flex; align-items: center; gap: 10px; font-size: 14.5px; }
.branch__row .i { width: 17px; height: 17px; color: var(--teal); }
.branch__row a:hover { color: var(--teal-dark); }
.branch iframe { display: block; width: 100%; height: 290px; border: 0; margin-top: auto; border-top: 1px solid var(--line); filter: saturate(.9); }
.page-body { padding-top: 30px; padding-bottom: 60px; max-width: 1000px; }
.page-body .prose { font-size: 15px; line-height: 1.9; }

/* ---------- about page ---------- */
.ab-hero { position: relative; overflow: hidden; padding: 30px 0 60px; background: linear-gradient(220deg, var(--dark) 30%, var(--purple) 160%); color: #fff; }
.ab-hero::after { content: ""; position: absolute; right: -140px; top: -140px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(94, 196, 178, .22), transparent 65%); pointer-events: none; }
.ab-hero .crumbs { color: rgba(255, 255, 255, .6); }
.ab-hero .crumbs a:hover { color: var(--teal); }
.ab-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; margin-top: 26px; }
.ab-kicker { display: inline-block; padding: 5px 12px; border-radius: 30px; background: rgba(94, 196, 178, .14); border: 1px solid rgba(94, 196, 178, .4); color: var(--teal); font-size: 12px; text-transform: uppercase; margin-bottom: 16px; }
.ab-kicker--light { background: #e6f6f3; border-color: #c6ebe4; color: var(--teal-dark); }
.ab-hero h1 { color: #fff; font-size: 54px; text-transform: uppercase; margin-bottom: 16px; }
.ab-hero__lead { margin: 0 0 28px; font-size: 17px; line-height: 1.7; text-transform: uppercase; color: rgba(255, 255, 255, .85); max-width: 600px; }
.ab-hero__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.ab-hero__btns .btn, .ab-cta__phones .btn { height: 46px; border-radius: 30px; text-transform: uppercase; font-size: 13.5px; }
.ab-hero__btns .i, .ab-cta__phones .i { width: 16px; height: 16px; }
.ab-hero__btns .btn--ghost:hover, .ab-cta__phones .btn--ghost:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.ab-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ab-stats div { padding: 24px 20px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.ab-stats b { display: block; font-weight: 400; font-size: 42px; line-height: 1.1; color: var(--teal); }
.ab-stats span { font-size: 12.5px; text-transform: uppercase; color: rgba(255, 255, 255, .8); }

.ab-who { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding-top: 70px; }
.ab-who h2 { font-size: 32px; text-transform: uppercase; margin-bottom: 18px; }
.ab-who p { margin: 0 0 16px; font-size: 15px; line-height: 1.85; text-transform: uppercase; color: var(--text); }
.ab-collage { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ab-collage__item { position: relative; display: block; aspect-ratio: 1; border-radius: 18px; background: var(--soft); overflow: hidden; }
.ab-collage__item:nth-child(2), .ab-collage__item:nth-child(4) { transform: translateY(26px); }
.ab-collage__item img { width: 100%; height: 100%; object-fit: contain; padding: 16px; mix-blend-mode: multiply; transition: transform .45s var(--ease); }
.ab-collage__item:hover img { transform: scale(1.06); }
.ab-collage__item:nth-child(-n+2) span { top: 10px; bottom: auto; }
.ab-collage__item span { position: absolute; left: 10px; bottom: 10px; padding: 4px 10px; border-radius: 30px; background: #fff; font-size: 11.5px; text-transform: uppercase; box-shadow: 0 4px 12px rgba(8, 17, 58, .1); }
.ab-collage__badge { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; width: 140px; height: 140px; padding: 0 18px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: var(--navy); color: #fff; font-size: 10.5px; line-height: 1.35; text-transform: uppercase; border: 6px solid #fff; box-shadow: 0 14px 30px rgba(8, 17, 58, .25); }
.ab-collage__badge b { font-weight: 400; font-size: 36px; line-height: 1; color: var(--teal); }

.ab-benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ab-benefit { padding: 28px 24px; border: 1px solid var(--line); border-radius: 20px; background: #fff; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.ab-benefit:hover { transform: translateY(-4px); border-color: transparent; box-shadow: 0 16px 34px rgba(8, 17, 58, .1); }
.ab-benefit__icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 15px; color: #fff; margin-bottom: 18px; }
.ab-benefit__icon .i { width: 26px; height: 26px; }
.ab-benefit__icon--0 { background: var(--teal); box-shadow: 0 8px 18px rgba(94, 196, 178, .4); }
.ab-benefit__icon--1 { background: var(--navy); box-shadow: 0 8px 18px rgba(8, 17, 58, .3); }
.ab-benefit__icon--2 { background: var(--purple); box-shadow: 0 8px 18px rgba(91, 56, 237, .35); }
.ab-benefit__icon--3 { background: var(--teal-dark); box-shadow: 0 8px 18px rgba(73, 176, 158, .4); }
.ab-benefit b { display: block; font-weight: 400; font-size: 17px; text-transform: uppercase; color: var(--dark); margin-bottom: 8px; }
.ab-benefit p { margin: 0; font-size: 13px; line-height: 1.7; text-transform: uppercase; color: var(--muted); }

.ab-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ab-cats a { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.ab-cats a:hover { border-color: var(--teal); box-shadow: 0 10px 24px rgba(8, 17, 58, .08); transform: translateY(-2px); }
.ab-cats__icon { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 12px; background: #e6f6f3; color: var(--teal-dark); transition: background .2s, color .2s; }
.ab-cats a:hover .ab-cats__icon { background: var(--teal); color: #fff; }
.ab-cats__icon .i { width: 22px; height: 22px; }
.ab-cats a > span:last-child { font-size: 14.5px; text-transform: uppercase; color: var(--dark); line-height: 1.3; }
.ab-cats small { display: block; font-size: 12px; color: #8a96a3; }

.ab-cta { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; margin: 50px 0 70px; padding: 40px 46px; border-radius: 26px; background: linear-gradient(220deg, var(--dark) 30%, var(--purple) 160%); color: #fff; }
.ab-cta h2 { color: #fff; font-size: 30px; text-transform: uppercase; margin-bottom: 8px; }
.ab-cta p { margin: 0; max-width: 560px; font-size: 13.5px; line-height: 1.7; text-transform: uppercase; color: rgba(255, 255, 255, .75); }
.ab-cta__phones { display: flex; gap: 10px; flex-wrap: wrap; }

@media (max-width: 1200px) { .ab-benefits { grid-template-columns: repeat(2, 1fr); } .ab-cats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 980px) { .ab-hero__grid, .ab-who { grid-template-columns: 1fr; gap: 36px; } .ab-hero h1 { font-size: 40px; } }
@media (max-width: 760px) { .ab-benefits, .ab-cats { grid-template-columns: 1fr; } .ab-cta { padding: 28px 22px; } .ab-collage__badge { width: 100px; height: 100px; } .ab-collage__badge b { font-size: 28px; } }

/* ---------- contact page ---------- */
.ct-hero { padding-bottom: 110px; }
.ct-hero__body { position: relative; z-index: 1; max-width: 760px; margin-top: 26px; }
.ct-quick { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: -70px; }
.ct-card { display: flex; gap: 16px; align-items: flex-start; padding: 24px; border-radius: 20px; background: #fff; box-shadow: 0 18px 40px rgba(8, 17, 58, .12); }
.ct-card__icon { width: 52px; height: 52px; flex: none; display: grid; place-items: center; border-radius: 14px; color: #fff; }
.ct-card__icon .i { width: 24px; height: 24px; }
.ct-card__icon--0 { background: var(--teal); box-shadow: 0 8px 18px rgba(94, 196, 178, .4); }
.ct-card__icon--1 { background: var(--navy); box-shadow: 0 8px 18px rgba(8, 17, 58, .3); }
.ct-card__icon--2 { background: var(--purple); box-shadow: 0 8px 18px rgba(91, 56, 237, .35); }
.ct-card div { display: flex; flex-direction: column; gap: 3px; }
.ct-card b { font-weight: 400; font-size: 16px; text-transform: uppercase; color: var(--dark); margin-bottom: 4px; }
.ct-card a, .ct-card span { font-size: 14px; color: var(--text); text-transform: uppercase; }
.ct-card a:hover { color: var(--teal-dark); }
.ct-card .ct-card__icon { color: #fff; }
.ct-card__social { display: flex; gap: 8px; margin-top: 8px; }
.ct-social { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--soft); color: var(--navy) !important; transition: background .2s, color .2s; }
.ct-social:hover { background: var(--teal); color: #fff !important; }
.ct-social .i { width: 17px; height: 17px; }
@media (max-width: 980px) { .ct-quick { grid-template-columns: 1fr; margin-top: -60px; } .branches { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.footer { background: var(--navy); color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.2fr 1.3fr 1fr 1.2fr; gap: 40px; padding-top: 60px; padding-bottom: 40px; }
.footer__brand img { width: 200px; margin-bottom: 20px; }
.footer__brand p { margin: 0 0 22px; font-size: 13.5px; line-height: 1.7; text-transform: uppercase; }
.footer h4 { position: relative; color: #fff; font-size: 20px; text-transform: uppercase; margin-bottom: 24px; padding-bottom: 12px; }
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 2px; background: var(--teal); }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 13.5px; text-transform: uppercase; }
.footer__list li { display: flex; gap: 10px; align-items: flex-start; }
.footer__list .i { width: 16px; height: 16px; color: var(--teal); margin-top: 2px; }
@media (min-width: 981px) { [data-footer-branches] li, [data-footer-phones] li { white-space: nowrap; } }
.footer__list a:hover { color: var(--teal); }
.social { display: flex; gap: 8px; }
.social a { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); transition: background .2s, border-color .2s; }
.social a:hover { background: var(--teal); border-color: var(--teal); }
.social .i { width: 16px; height: 16px; }
.footer__places { display: none; }
.fplaces { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fplace { padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); display: grid; gap: 8px; align-content: start; }
.fplace__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.fplace__top b { font-weight: 400; font-size: 16px; text-transform: uppercase; }
.fplace__top span { font-size: 11px; padding: 2px 8px; border-radius: 99px; color: var(--teal); border: 1px solid rgba(94, 196, 178, .4); }
.fplace__addr { display: flex; gap: 6px; font-size: 13px; color: rgba(255, 255, 255, .8); line-height: 1.4; }
.fplace__addr .i { width: 14px; height: 14px; flex: none; margin-top: 2px; color: var(--teal); }
.fplace__phones { display: flex; flex-wrap: wrap; gap: 6px; }
.fplace__phones a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 99px; background: var(--teal); color: var(--navy); font-size: 14px; letter-spacing: .02em; }
.fplace__phones .i { width: 14px; height: 14px; }
@media (max-width: 980px) {
  .footer__col--branches, .footer__col--phones { display: none; }
  .footer__places { display: block; grid-column: 1 / -1; }
}
@media (max-width: 560px) { .fplaces { grid-template-columns: 1fr; } }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 16px 0; font-size: 13px; color: rgba(255, 255, 255, .7); }


/* ---------- responsive ---------- */
@media (max-width: 1200px) {
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .topnav { display: none; }
  .burger { display: inline-grid; }
  .header__inner { gap: 16px; }
  .sale-btn { height: 42px; }
  .hero__grid { grid-template-columns: 1fr; }
  .catlist { display: none; }
  .grid, .grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 18px; }
  .catalog { grid-template-columns: 1fr; }
  .filters { align-self: auto; position: fixed; inset: 0 auto 0 0; z-index: 95; width: min(330px, 88vw); background: #fff; padding: 20px; overflow-y: auto; transform: translateX(-105%); transition: transform .3s var(--ease); box-shadow: 0 0 40px rgba(0,0,0,.2); }
  .filters.is-open { transform: none; }
  .filters__close { display: grid; place-items: center; width: 36px; height: 36px; }
  .filter-btn { display: inline-flex; }
  .about { padding: 44px 30px; }
  .about h2 { font-size: 32px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  /* all three Tbilisi numbers on one compact line */
  .topbar__phones { width: 100%; justify-content: space-between; }
  .topbar__phones a { flex: 1; justify-content: center; gap: 4px; font-size: 12px; letter-spacing: 0; padding: 0; }
  .topbar__phones a + a::before { height: 12px; margin-top: -8px; }
  .topbar__ic { top: -2px; }
  .topbar__ic .i { width: 11px; height: 11px; }
  .topbar__inner { min-height: 38px; justify-content: center; }
  .header__inner { flex-wrap: wrap; gap: 10px; padding-top: 10px; padding-bottom: 12px; min-height: 0; }
  .logo { margin-right: auto; }
  .logo { height: 38px; }
  .logo img { height: 26px; }
  .search { order: 3; flex-basis: 100%; max-width: none; height: 42px; }
  .sale-btn { height: 38px; padding: 0 12px 0 4px; gap: 8px; }
  .sale-btn__icon { width: 28px; height: 28px; font-size: 14px; }
  .sale-btn__text small { display: none; }
  .slider__view { border-radius: 16px; }
  .section { padding-top: 34px; }
  .section__title { font-size: 20px; margin-bottom: 24px; }
  .grid, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
  .card__title { font-size: 13.5px; }
  .card .btn { height: 38px; padding: 0 14px; font-size: 13px; }
  .about { padding: 34px 22px; }
  .about h2 { font-size: 26px; }
  .about p { font-size: 13px; }
  .features { grid-template-columns: 1fr; gap: 34px; padding-top: 44px; padding-bottom: 44px; }
  .gallery__thumb { width: 80px; height: 80px; }
  .tabs__nav { justify-content: flex-start; overflow-x: auto; }
  .branches { grid-template-columns: 1fr; }
  .page-title { font-size: 24px; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- mobile bottom bar ---------- */
.mbar { display: none; }
.sheet[hidden] { display: none; }
@media (max-width: 980px) {
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  /* plain fixed bar (no transforms / transitions / JS) — stays put while the browser toolbar shows or hides */
  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 85; display: grid; grid-template-columns: repeat(5, 1fr); height: calc(66px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(8, 17, 58, .08); }
  .mbar > a, .mbar > button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; font-size: 10.5px; text-transform: uppercase; color: var(--navy); }
  .mbar .i { width: 23px; height: 23px; color: #4d5d6d; transition: color .2s; }
  .mbar > .is-active { color: var(--teal-dark); }
  .mbar > .is-active .i { color: var(--teal-dark); }
  .mbar > .is-active::before { content: ""; position: absolute; top: 0; left: 30%; right: 30%; height: 3px; border-radius: 0 0 3px 3px; background: var(--teal); }
  .mbar__flag { display: block; width: 30px; height: 20px; border-radius: 4px; overflow: hidden; box-shadow: 0 0 0 1px rgba(8, 17, 58, .12); }
  .mbar__flag svg { display: block; width: 100%; height: 100%; }
  .mbar__pct { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: var(--purple); color: #fff; font: 800 13px/1 system-ui, sans-serif; font-style: normal; box-shadow: 0 4px 10px rgba(91, 56, 237, .35); }

  /* categories bottom sheet */
  .sheet { position: fixed; inset: 0; z-index: 95; }
  .sheet__backdrop { position: absolute; inset: 0; background: rgba(5, 10, 36, .5); animation: fade .2s; }
  .sheet__panel { position: absolute; left: 0; right: 0; bottom: 0; max-height: 82vh; display: flex; flex-direction: column; background: #fff; border-radius: 24px 24px 0 0; padding-bottom: env(safe-area-inset-bottom); animation: sheetUp .28s var(--ease); }
  @keyframes sheetUp { from { transform: translateY(100%); } }
  .sheet__grip { width: 44px; height: 5px; margin: 10px auto 2px; border-radius: 5px; background: #d6dbe2; }
  .sheet__head { display: flex; justify-content: space-between; align-items: center; padding: 8px 18px 12px; border-bottom: 1px solid var(--line); }
  .sheet__head b { font-weight: 400; font-size: 18px; text-transform: uppercase; color: var(--dark); }
  .sheet__close { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--soft); }
  .sheet__close .i { width: 18px; height: 18px; }
  .sheet__body { overflow-y: auto; padding: 8px 12px 16px; }
  .sheet__item { display: block; border-bottom: 1px dashed var(--line); }
  .sheet__item summary, .sheet__link { list-style: none; display: flex; align-items: center; gap: 12px; padding: 11px 6px; cursor: pointer; }
  .sheet__item summary::-webkit-details-marker { display: none; }
  .sheet__icon { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 11px; background: #e6f6f3; color: var(--teal-dark); }
  .sheet__icon .i { width: 20px; height: 20px; }
  .sheet__name { flex: 1; display: flex; flex-direction: column; font-size: 14px; line-height: 1.3; text-transform: uppercase; color: var(--dark); }
  .sheet__name small { font-size: 11.5px; color: #8a96a3; }
  .sheet__chev { width: 16px; height: 16px; color: #9aa5b1; transition: transform .2s; }
  .sheet__item[open] .sheet__chev { transform: rotate(180deg); }
  .sheet__item[open] .sheet__icon { background: var(--teal); color: #fff; }
  .sheet__subs { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px 6px 14px 58px; }
  .sheet__subs a { padding: 6px 12px; border-radius: 30px; background: var(--soft); font-size: 12px; text-transform: uppercase; color: var(--navy); }
  .sheet__subs a:first-child { background: var(--teal); color: #fff; }
  .sheet__foot { display: flex; gap: 10px; padding: 16px 6px 4px; }
  .sheet__foot a { flex: 1; display: grid; place-items: center; height: 44px; border-radius: 30px; background: var(--navy); color: #fff; font-size: 12.5px; text-transform: uppercase; text-align: center; }
  .sheet__foot a + a { background: var(--soft); color: var(--navy); }
}

/* Google Translate: hide its toolbar/banner (language is switched from the bottom bar) */
.goog-te-banner-frame, .skiptranslate iframe, #goog-gt-tt, .goog-te-balloon-frame { display: none !important; }
body { top: 0 !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }

/* ---------- mobile: no horizontal overflow (it made Samsung Internet zoom/shift and lose the bottom bar) ---------- */
html, body { overflow-x: clip; max-width: 100%; }
@media (max-width: 760px) {
  .section__title { flex-wrap: wrap; gap: 10px 12px; font-size: 19px; }
  .section__title--rich .section__name { flex: 1 1 auto; min-width: 0; gap: 10px; flex-wrap: wrap; }
  .section__icon { width: 40px; height: 40px; border-radius: 11px; }
  .section__icon .i { width: 20px; height: 20px; }
  .section__label { min-width: 0; flex: 1 1 160px; }
  .section__label small { font-size: 11.5px; }
  .title-pill { height: 22px; font-size: 11.5px; padding: 0 8px; }
  .section__more { height: 32px; padding: 0 12px; font-size: 11.5px; }
}

/* ---------- mobile catalog toolbar: filters + sort side by side, count underneath ---------- */
@media (max-width: 760px) {
  .toolbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px; }
  .toolbar .filter-btn { order: 1; width: 100%; height: 44px; padding: 0 10px; justify-content: center; border-radius: 10px; font-size: 13px; }
  .sortbox { order: 2; position: relative; width: 100%; min-width: 0; }
  .sortbox .i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); pointer-events: none; }
  .sortbox__label { display: none; }
  .toolbar .select { width: 100%; min-width: 0; height: 44px; padding: 0 26px 0 36px; border-radius: 10px; font-size: 12.5px; background-position: right 8px center; text-overflow: ellipsis; }
  .toolbar__count { order: 3; grid-column: 1 / -1; text-align: center; font-size: 12px; }
}

/* ---------- WordPress specifics ---------- */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
.admin-bar .header { top: 32px; }
@media (max-width: 782px) { .admin-bar .header { top: 0; } }
/* chips in the catalogue remove a filter with a link (no JS needed) */
.tag a { width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; }
.tag a:hover { background: var(--line); }
.tag a .i { width: 11px; height: 11px; }
/* the sort select sits in its own GET form; on mobile the form must not break the toolbar grid */
.sortbox-form { display: contents; }
.load-more .btn { min-width: 200px; }
.load-more.is-loading .btn { opacity: .6; pointer-events: none; }
/* WooCommerce notices / generic pages */
.page-body .woocommerce-message, .page-body .woocommerce-info { padding: 14px 18px; border-radius: 12px; background: var(--soft); list-style: none; }
.page-body.prose { font-size: 15px; line-height: 1.8; }
/* catalogue grid uses the home-page product card (pcard) */
.grid--cards { gap: 22px 20px; }
@media (max-width: 980px) { .grid--cards { gap: 16px 14px; } }
@media (max-width: 760px) { .grid--cards { gap: 12px 10px; } }
