/* front2 — inner pages: page hero, catalogue, product, colours, brands, about, news, contact, terms */

/* ---------- Page hero (themed living header) ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; margin: 12px var(--gutter) 0; border-radius: var(--r-lg); min-height: clamp(260px, 34vw, 400px); display: flex; align-items: flex-end; color: #fff; background: #15171A; }
.page-hero__fx { position: absolute; inset: 0; z-index: -2; }
.page-hero__veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15,17,20,.10) 0%, rgba(15,17,20,.55) 55%, rgba(15,17,20,.82) 100%); }
.page-hero__inner { padding-top: 48px; padding-bottom: clamp(28px, 4vw, 48px); }
.page-hero__title { margin-top: 10px; max-width: 22ch; color: #fff; }
.page-hero .lead { color: rgba(255,255,255,.82); }
.page-hero .eyebrow { color: var(--yellow); }
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.crumbs a { opacity: .75; transition: opacity .2s; }
.crumbs a:hover { opacity: 1; }
.crumbs .icon { opacity: .5; width: 14px; height: 14px; }
.crumbs--page { color: var(--ink-2); margin: 20px 0 8px; }
@media (max-width: 640px) { .page-hero { margin: 8px 8px 0; } }

/* ---------- Catalogue ---------- */
.catalog { padding: 32px 0 var(--section); }
.catalog__grid { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 28px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 16px); max-height: calc(100vh - var(--header-h) - 32px); overflow-y: auto; padding: 20px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-1); scrollbar-width: thin; }
.filters__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.filters__close { display: none; }
.filters__search { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 14px; border-radius: var(--r-pill); background: var(--bg); margin-bottom: 18px; }
.filters__search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 14px; }
.filters__group { padding: 14px 0; border-top: 1px solid var(--line); }
.filters__group h3 { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.dir-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.dir-pill { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--ink-2); transition: background-color .2s, color .2s; }
.dir-pill i { width: 10px; height: 10px; border-radius: 50%; background: var(--t); flex: none; transition: transform .3s var(--ease-out); }
.dir-pill:hover, .dir-pill.is-on { background: var(--bg); color: var(--ink); }
.dir-pill:hover i, .dir-pill.is-on i { transform: scale(1.5); }
.dir-pill--auto { --t: #E4472B; } .dir-pill--home { --t: #2E7D6B; } .dir-pill--polish { --t: #F2B33D; } .dir-pill--cleaning { --t: #2B4C9B; }
.dir-pill--wood { --t: #A56E3F; } .dir-pill--resin { --t: #E9A12A; } .dir-pill--insulation { --t: #D9922A; } .dir-pill--tools { --t: #C9472F; } .dir-pill--equipment { --t: #5A6B8C; }
.cat-tree, .cat-tree ul { list-style: none; margin: 0; padding: 0; }
.cat-tree summary { display: flex; align-items: center; gap: 8px; padding: 7px 4px; cursor: pointer; list-style: none; font-size: 14px; font-weight: 700; }
.cat-tree summary::-webkit-details-marker { display: none; }
.cat-tree summary a { flex: 1; }
.cat-tree summary .icon { transition: transform .25s var(--ease-out); color: var(--ink-3); }
.cat-tree details[open] > summary .icon { transform: rotate(180deg); }
.cat-tree ul { padding: 0 0 8px 10px; border-left: 2px solid var(--line); margin-left: 6px; }
.cat-tree ul a { display: flex; justify-content: space-between; gap: 8px; padding: 5px 8px; font-size: 13px; color: var(--ink-2); border-radius: 8px; }
.cat-tree ul a:hover { background: var(--bg); color: var(--ink); }
.cat-tree a.is-on { color: var(--accent); }
.cat-tree small, .brand-chips small { color: var(--ink-3); font-weight: 600; }
.brand-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.brand-chips .chip:hover { background: var(--line); }
.chip--on { background: var(--ink) !important; color: #fff !important; }
.chip--on small { color: rgba(255,255,255,.6); }
.filters-scrim { display: none; }

.results__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.results__count { margin: 0; color: var(--ink-2); }
.results__count strong { color: var(--ink); font-size: 20px; }
.results__filters { display: none; }
.sort { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.sort select { height: 40px; padding: 0 14px; border-radius: var(--r-pill); border: 1.5px solid var(--line); background: var(--surface); font-weight: 600; }
.p-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.pager { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 36px; flex-wrap: wrap; }
.pager__num, .pager__btn { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px; border-radius: var(--r-pill); font-weight: 700; background: var(--surface); box-shadow: var(--shadow-1); transition: background-color .2s, color .2s, transform .2s var(--ease-out); }
.pager__num:hover, .pager__btn:hover { transform: translateY(-2px); }
.pager__num.is-on { background: var(--ink); color: #fff; }
.pager__btn.is-off { opacity: .35; box-shadow: none; }

@media (max-width: 980px) {
  .catalog__grid { grid-template-columns: minmax(0, 1fr); }
  .results__filters { display: inline-flex; }
  .filters { position: fixed; left: 0; top: 0; bottom: 0; z-index: 160; width: min(380px, 92vw); max-height: none; border-radius: 0 var(--r-lg) var(--r-lg) 0; transform: translateX(-105%); transition: transform .4s var(--ease-out-3); }
  .filters.is-open { transform: none; }
  .filters__close { display: inline-grid; }
  .filters-scrim { display: block; position: fixed; inset: 0; z-index: 155; background: rgba(21,23,26,.4); opacity: 0; pointer-events: none; transition: opacity .3s; }
  .catalog.filters-open .filters-scrim { opacity: 1; pointer-events: auto; }
}
/* phones: always two products per row, compact cards */
@media (max-width: 700px) {
  .p-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .p-card { border-radius: 16px; }
  .p-card__media { padding: 10px; }
  .p-card__body { padding: 10px 12px 12px; gap: 4px; }
  .p-card__brand { font-size: 10.5px; }
  .p-card__title { font-size: 13px; line-height: 1.3; }
  .p-card__price { font-size: 14.5px; }
  .p-card__foot { padding-top: 4px; font-size: 12px; }
}

/* Empty state with dripping paint */
.empty { text-align: center; padding: 56px 16px; }
.empty .lead { margin: 12px auto 24px; }
.empty__drop { display: flex; justify-content: center; gap: 14px; height: 90px; margin-bottom: 18px; }
.empty__drop span { width: 22px; border-radius: 0 0 14px 14px; background: var(--accent); animation: drip 2.4s var(--ease-out) infinite; transform-origin: top; }
.empty__drop span:nth-child(2) { background: var(--blue); animation-delay: .3s; }
.empty__drop span:nth-child(3) { background: var(--yellow); animation-delay: .6s; }
@keyframes drip { 0% { transform: scaleY(.2); } 60% { transform: scaleY(1); } 100% { transform: scaleY(.2); } }

/* ---------- Product page ---------- */
.pdp { padding: 8px 0 24px; }
.pdp__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 960px) { .pdp__grid { grid-template-columns: minmax(0, 1fr); } }
.pdp__grid > * { min-width: 0; }
.gallery { position: sticky; top: calc(var(--header-h) + 16px); }
@media (max-width: 960px) { .gallery { position: static; } }
.gallery__main { position: relative; isolation: isolate; aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow-2); display: grid; place-items: center; }
.gallery__fx { position: absolute; inset: 0; z-index: -2; }
.gallery__glow { position: absolute; inset: 10%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.55), rgba(255,255,255,.25) 60%, rgba(255,255,255,0)); }
.gallery__main img { position: relative; z-index: 1; width: 78%; height: 78%; object-fit: contain; will-change: transform; transition: opacity .3s; }
.gallery__main::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: 9%; height: 7%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.28), rgba(0,0,0,0)); z-index: 0; }
.gallery__main .ph { width: 70%; height: 70%; border-radius: var(--r-md); }
/* Photos with their own background (not cut out): framed as a print, not floating */
.gallery__main img.is-photo { width: 74%; height: auto; max-height: 80%; object-fit: cover; border-radius: var(--r-md); background: #fff; padding: 10px; box-shadow: 0 24px 50px rgba(0,0,0,.28); }
.gallery__main:has(img.is-photo)::after { display: none; }
.p-card__media img.is-photo { border-radius: 12px; object-fit: cover; }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding: 4px; }
.gallery__thumb { width: 76px; height: 76px; flex: none; border-radius: 14px; background: #fff; padding: 6px; box-shadow: var(--shadow-1); opacity: .6; transition: opacity .2s, box-shadow .2s, transform .2s var(--ease-out); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }
.gallery__thumb:hover { transform: translateY(-2px); opacity: 1; }
.gallery__thumb.is-on { opacity: 1; box-shadow: 0 0 0 2px var(--ink); }

.buy__brand { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--t, var(--accent)); }
.buy__title { margin: 8px 0 6px; }
.buy__variant { color: var(--ink-2); margin: 0 0 14px; min-height: 1.4em; }
.buy__meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 16px; }
.buy__meta .status { padding: 6px 12px; border-radius: var(--r-pill); background: var(--surface); box-shadow: var(--shadow-1); }
.buy__price { font-size: clamp(32px, 3.6vw, 44px); font-weight: 800; line-height: 1.1; display: inline-block; }
.buy__ask { font-size: 22px; color: var(--ink-2); font-weight: 700; }
.buy__note { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--warn); margin: 8px 0 0; }
.picker { margin-top: 22px; padding: 18px; border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-1); }
.picker__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; gap: 10px; }
.picker__head h2 { font-size: 15px; font-weight: 800; }
.picker__search { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border-radius: var(--r-pill); background: var(--bg); margin-bottom: 12px; }
.picker__search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 15px; font-weight: 600; }
.codes { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; max-height: 260px; overflow-y: auto; padding: 2px; overscroll-behavior: contain; }
.code { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 10px; border-radius: 12px; background: var(--bg); font-size: 13px; font-weight: 800; text-align: left; transition: background-color .2s, box-shadow .2s, transform .3s var(--ease-out); }
.code i { width: 18px; height: 18px; border-radius: 50%; flex: none; background: var(--tone, #fff); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.code:hover { transform: scale(1.04); }
.code[aria-selected="true"] { background: var(--ink); color: #fff; }
.code[aria-selected="true"] i { box-shadow: 0 0 0 2px #fff; }
.small { font-size: 13px; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.size { min-width: 64px; min-height: 48px; padding: 4px 16px; border-radius: var(--r-pill); background: var(--bg); font-weight: 700; font-size: 14px; border: 1.5px solid transparent; transition: background-color .2s, border-color .2s, transform .25s var(--ease-out); }
.size small { display: block; font-size: 11px; color: var(--ink-3); font-weight: 600; }
.size:hover { transform: translateY(-2px); }
.size[aria-checked="true"] { border-color: var(--ink); background: #fff; }
.buy__actions { display: flex; gap: 10px; margin-top: 24px; }
.qty--lg { height: 56px; }
.qty--lg button { width: 44px; height: 56px; }
.qty--lg input { width: 44px; font-size: 17px; }
.buy__add { flex: 1; min-height: 56px; font-size: 16px; }
.buy__ask-btn { width: 100%; margin-top: 10px; }
.perks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; color: var(--ink-2); font-size: 14px; }
.perks li { display: flex; align-items: center; gap: 10px; }
.perks .icon { color: var(--green); }

.tabs { background: var(--surface); border-radius: var(--r-lg); padding: clamp(18px, 3vw, 32px); box-shadow: var(--shadow-1); }
.tabs__bar { position: relative; display: flex; gap: 24px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.tabs__bar button { padding: 0 0 14px; font-weight: 800; color: var(--ink-3); transition: color .2s; }
.tabs__bar button[aria-selected="true"] { color: var(--ink); }
.tabs__ink { position: absolute; left: 0; bottom: -1px; height: 3px; width: 0; border-radius: 3px; background: var(--t, var(--accent)); transition: transform .35s var(--ease-out), width .35s var(--ease-out); }
.rich { line-height: 1.75; color: var(--ink-2); overflow-wrap: anywhere; }
.rich h1, .rich h2, .rich h3, .rich h4 { color: var(--ink); margin: 1.2em 0 .5em; font-size: 1.15em; }
.rich img { border-radius: var(--r-sm); margin: 1em 0; height: auto !important; }
.rich table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 14px; display: block; overflow-x: auto; }
.rich td, .rich th { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.rich ul { padding-left: 1.2em; }

.rail-nav { display: flex; gap: 6px; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 260px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 4px 20px; scrollbar-width: none; cursor: grab; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail.is-drag { cursor: grabbing; scroll-snap-type: none; }

/* ---------- Colours page ---------- */
.colors-hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(56px, 8vw, 110px) 0 clamp(40px, 6vw, 80px); }
.colors-hero__ribbons { position: absolute; inset: -10% -5%; z-index: -1; display: grid; align-content: center; gap: 10px; transform: rotate(-8deg); opacity: .55; }
.ribbon { display: flex; width: max-content; animation: marquee var(--dur, 70s) linear infinite; animation-direction: var(--dir, normal); }
.ribbon__set { display: flex; }
.ribbon i { width: 64px; height: 46px; flex: none; }
.colors-hero__inner { position: relative; }
.colors-hero__inner::before { content: ""; position: absolute; inset: -40px -60px; z-index: -1; background: radial-gradient(60% 70% at 30% 50%, var(--bg) 40%, rgba(246,244,239,0)); }
.col-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.col-card { display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-1); text-align: left; transition: transform .3s var(--ease-out), box-shadow .3s; }
.col-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.col-card__strip { display: grid; grid-template-columns: repeat(4, 14px); grid-template-rows: repeat(3, 14px); gap: 2px; flex: none; border-radius: 10px; overflow: hidden; }
.col-card__strip i { display: block; }
.col-card__body { flex: 1; display: grid; }
.col-card__body small { color: var(--ink-3); }
@media (prefers-reduced-motion: reduce) { .ribbon { animation: none; } }

/* ---------- Brands page ---------- */
.brands-hero { padding: clamp(48px, 7vw, 96px) 0 24px; overflow: hidden; }
.brands-rows { display: grid; gap: 14px; margin-top: 40px; }
.brand-chip--lg { width: 200px; height: 92px; }
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; perspective: 900px; }
.brand-card { display: flex; flex-direction: column; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-1); overflow: hidden; transform-style: preserve-3d; transition: box-shadow .3s; will-change: transform; }
.brand-card:hover { box-shadow: var(--shadow-2); }
.brand-card__logo { display: grid; place-items: center; height: 150px; padding: 24px; background: #fff; }
.brand-card__logo img { max-height: 76px; width: auto; object-fit: contain; transition: transform .5s var(--ease-out); }
.brand-card:hover .brand-card__logo img { transform: scale(1.06); }
.brand-card__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 18px; font-weight: 800; border-top: 1px solid var(--line); }
.brand-card__foot small { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-3); font-weight: 600; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.about__years { position: sticky; top: calc(var(--header-h) + 32px); }
.about__years strong { display: block; font-size: clamp(96px, 14vw, 200px); font-weight: 800; line-height: .9; background: linear-gradient(135deg, var(--accent), var(--yellow)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about__years span { font-size: 18px; font-weight: 700; }
.about__since { margin-top: 10px; color: var(--ink-3); font-weight: 700; letter-spacing: .1em; }
.about__text { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.7; color: var(--ink); }
.scrub-w { opacity: .18; transition: opacity .25s linear; }
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.value { padding: 26px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-1); transition: transform .4s var(--ease-out), box-shadow .4s; }
.value:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.value__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: var(--bg); color: var(--accent); margin-bottom: 16px; }
.value:nth-child(2) .value__icon { color: var(--blue); } .value:nth-child(3) .value__icon { color: var(--green); } .value:nth-child(4) .value__icon { color: var(--yellow); }
.value p { margin: 8px 0 0; color: var(--ink-2); }
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: clamp(24px, 4vw, 48px); border-radius: var(--r-lg); background: var(--ink); color: #fff; }
.stat-band strong { display: block; font-size: clamp(32px, 4vw, 56px); font-weight: 800; line-height: 1; }
.stat-band span { color: rgba(255,255,255,.6); font-size: 14px; }
@media (max-width: 860px) { .about__grid { grid-template-columns: 1fr; } .about__years { position: static; } .stat-band { grid-template-columns: repeat(2, 1fr); } }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.news-card { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-1); transition: transform .4s var(--ease-out), box-shadow .4s; }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.news-card__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.news-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.news-card:hover .news-card__img img { transform: scale(1.06); }
.news-card__body { display: grid; gap: 8px; padding: 18px 20px 22px; }
.news-card time { font-size: 13px; color: var(--ink-3); font-weight: 700; }
.article { max-width: 820px; display: grid; gap: 14px; }
.article time { color: var(--ink-3); font-weight: 700; }
.article__img { border-radius: var(--r-lg); width: 100%; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 960px) { .contact__grid { grid-template-columns: 1fr; } }
.branches { display: grid; gap: 16px; }
.branch { display: grid; grid-template-columns: 220px minmax(0, 1fr); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-1); }
@media (max-width: 560px) { .branch { grid-template-columns: 1fr; } }
.branch__map { position: relative; min-height: 180px; background: var(--surface-2); }
.branch__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }
.branch__pin { position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; pointer-events: none; }
.branch__pin i, .branch__pin::before { position: absolute; inset: 0; border-radius: 50%; background: var(--accent); }
.branch__pin::before { content: ""; animation: ping 1.8s var(--ease-out) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(3.4); opacity: 0; } }
.branch__body { padding: 20px 22px; display: grid; gap: 8px; align-content: center; }
.branch__body p { display: flex; gap: 8px; align-items: center; margin: 0; color: var(--ink-2); }
.branch__actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.quick { padding: 22px; border-radius: var(--r-lg); background: var(--ink); color: #fff; }
.quick__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin-top: 14px; }
.quick__item { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--r-md); background: rgba(255,255,255,.08); font-weight: 600; font-size: 14px; overflow: hidden; transition: background-color .25s, transform .25s var(--ease-out); }
.quick__item span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.quick__item:hover { transform: translateY(-3px); background: rgba(255,255,255,.16); }
.quick__item--wa:hover { background: #25D366; }
.quick__item--ms:hover { background: #0084FF; }
.contact-form { display: grid; gap: 14px; }
.topics { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.topics legend { margin-bottom: 8px; padding: 0; }
.topic input { position: absolute; opacity: 0; }
.topic span { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: var(--r-pill); background: var(--bg); font-weight: 700; font-size: 14px; cursor: pointer; border: 1.5px solid transparent; transition: background-color .2s, border-color .2s; }
.topic input:checked + span { background: #fff; border-color: var(--ink); }
.topic input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.alert--ok { background: #E3F2EC; color: #1E5E4F; }

/* ---------- Terms ---------- */
.terms { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 40px; align-items: start; }
.terms__toc { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 4px; }
.terms__toc a { display: flex; gap: 10px; padding: 8px 12px; border-radius: 10px; font-weight: 600; font-size: 14px; color: var(--ink-2); }
.terms__toc a:hover { background: var(--surface); color: var(--ink); }
.terms__toc span { color: var(--accent); font-weight: 800; }
.terms__body { display: grid; gap: 14px; }
.terms__item { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 24px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-1); scroll-margin-top: calc(var(--header-h) + 20px); }
.terms__item p { margin: 8px 0 0; color: var(--ink-2); }
.terms__num { font-size: 28px; font-weight: 800; color: var(--accent); line-height: 1; }
@media (max-width: 860px) { .terms { grid-template-columns: 1fr; } .terms__toc { position: static; } }

/* ---------- Home directions: extra tiles ---------- */

/* ---------- Brand cover (per-brand colours + themed animation) ---------- */
.bcover { position: relative; overflow: hidden; isolation: isolate; margin: 12px var(--gutter) 0; border-radius: var(--r-lg); min-height: clamp(440px, 52vw, 620px); display: flex; align-items: center; color: #fff; background: var(--b1); }
.bcover__fx { position: absolute; inset: 0; z-index: -3; opacity: .55; }
.bcover__tint { position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(70% 90% at 85% 40%, color-mix(in srgb, var(--b2) 40%, transparent), transparent 70%),
  linear-gradient(115deg, color-mix(in srgb, var(--b1) 96%, #000) 0%, color-mix(in srgb, var(--b1) 80%, transparent) 45%, color-mix(in srgb, var(--b1) 35%, transparent) 100%); }
.bcover__word { position: absolute; left: 0; right: 0; bottom: -2vw; z-index: -1; overflow: hidden; pointer-events: none; }
.bcover__word-row { display: flex; width: max-content; will-change: transform; contain: layout paint; animation: marquee 40s linear infinite; font-size: clamp(110px, 18vw, 280px); font-weight: 800; line-height: 1; letter-spacing: -.03em; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.18); white-space: nowrap; }
.bcover__word-row span { padding-right: .35em; }
.bcover__inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding-top: 48px; padding-bottom: 56px; }
.bcover__title { color: #fff; margin: 10px 0 0; }
.bcover .lead { color: rgba(255,255,255,.86); }
.bcover .eyebrow { color: #fff; opacity: .8; }
.bcover .crumbs { color: #fff; }
.bcover__ghost { --btn-fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); }
.bcover__ghost:hover { --btn-bg: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1.5px #fff; }
.bcover__logo { position: relative; display: grid; place-items: center; perspective: 900px; }
.bcover__logo-card { position: relative; z-index: 1; display: grid; place-items: center; width: min(380px, 100%); aspect-ratio: 1.45; padding: 34px; border-radius: 28px; background: #fff; box-shadow: 0 40px 80px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.4); animation: floaty 6s ease-in-out infinite; }
.bcover__logo-card img { max-width: 100%; max-height: 140px; object-fit: contain; }
.bcover__halo { position: absolute; width: 120%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--b2) 55%, transparent), transparent); animation: pulse 5s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-14px) rotate(1.5deg); } }
@keyframes pulse { 0%, 100% { transform: scale(.9); opacity: .6; } 50% { transform: scale(1.05); opacity: 1; } }
@media (max-width: 860px) { .bcover__inner { grid-template-columns: 1fr; } .bcover__logo { order: -1; } .bcover__logo-card { width: 240px; padding: 24px; } }
@media (prefers-reduced-motion: reduce) { .bcover__word-row, .bcover__logo-card, .bcover__halo { animation: none; } }
.p-grid--wide { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.brand-rail { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 12px; scrollbar-width: thin; }
.brand-rail .brand-chip { width: 150px; height: 70px; }

/* ---------- Home: colour catalogues rail ---------- */
.cc__tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.cc__tabs button { height: 44px; padding: 0 20px; border-radius: var(--r-pill); background: var(--surface); box-shadow: var(--shadow-1); font-weight: 800; transition: background-color .2s, color .2s, transform .2s var(--ease-out); }
.cc__tabs button:hover { transform: translateY(-2px); }
.cc__tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.cc__cols { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.cc__cols .chip { flex: none; cursor: pointer; }
.cc__rail { overflow-x: auto; padding: 22px 0 26px; scrollbar-width: none; cursor: grab; }
.cc__rail::-webkit-scrollbar { display: none; }
.cc__rail.is-drag { cursor: grabbing; }
.cc__track { display: flex; gap: 12px; width: max-content; padding: 0 var(--gutter); }
.cc-chip { position: relative; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 2px; width: 150px; height: 210px; flex: none; padding: 14px; border-radius: var(--r-md); background: var(--c); color: #fff; text-align: left; box-shadow: var(--shadow-1), inset 0 0 0 1px rgba(0,0,0,.06); transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out); }
.cc-chip.is-light { color: var(--ink); }
.cc-chip:hover { transform: translateY(-8px) rotate(-1deg); box-shadow: var(--shadow-2); }
.cc-chip.is-on { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--ink); }
.cc-chip__code { font-weight: 800; font-size: 15px; }
.cc-chip__name { font-size: 12px; opacity: .85; line-height: 1.3; max-height: 2.6em; overflow: hidden; }
.cc-chip__hex { font-size: 11px; opacity: .6; font-weight: 700; letter-spacing: .04em; }
.cc__auto { position: relative; overflow: hidden; isolation: isolate; margin-top: 18px; border-radius: var(--r-lg); color: #fff; background: #15171A; }
.cc__auto-fx { position: absolute; inset: 0; z-index: -2; opacity: .6; }
.cc__auto::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15,17,20,.92) 30%, rgba(15,17,20,.3)); }
.cc__auto-body { max-width: 640px; padding: clamp(28px, 5vw, 56px); }
.cc__auto-body p { color: rgba(255,255,255,.8); margin: 14px 0 0; }

/* ---------- Colour-code locations ---------- */
.ccode__bar { display: grid; gap: 14px; margin-bottom: 22px; }
.ccode__search { max-width: 420px; background: var(--surface); box-shadow: var(--shadow-1); }
.ccode__letters { display: flex; flex-wrap: wrap; gap: 4px; }
.ccode__letters button { min-width: 38px; height: 38px; padding: 0 10px; border-radius: 10px; font-weight: 800; color: var(--blue); transition: background-color .2s, color .2s; }
.ccode__letters button:hover:not([disabled]) { background: var(--surface); }
.ccode__letters button.is-on { background: var(--ink); color: #fff; }
.ccode__letters button[disabled] { opacity: .25; cursor: default; }
.ccode__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.ccode-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-1); text-align: left; transition: transform .35s var(--ease-out), box-shadow .35s; }
.ccode-card[hidden] { display: none; }
.ccode-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.ccode-card__img { display: block; padding: 14px 14px 0; background: #fff; }
.ccode-card__img img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; transition: transform .5s var(--ease-out); }
.ccode-card:hover .ccode-card__img img { transform: scale(1.05); }
.ccode-card__name { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; background: #0B2F6E; color: #fff; font-size: 18px; font-weight: 800; }
.ccode-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; }
.ccode-modal__scrim { position: absolute; inset: 0; background: rgba(15,17,20,.6); opacity: 0; transition: opacity .25s; }
.ccode-modal__panel { position: relative; width: min(860px, 100%); max-height: 92vh; overflow-y: auto; padding: clamp(18px, 3vw, 32px); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-2); transform: translateY(20px) scale(.97); opacity: 0; transition: transform .3s var(--ease-out), opacity .25s; display: grid; gap: 14px; }
.ccode-modal.is-open .ccode-modal__scrim { opacity: 1; }
.ccode-modal.is-open .ccode-modal__panel { transform: none; opacity: 1; }
.ccode-modal__close { position: absolute; right: 12px; top: 12px; }
.ccode-modal__img { background: #fff; border-radius: var(--r-md); padding: 10px; }
.ccode-modal__img img { width: 100%; height: auto; }
.ccode-modal__tip { display: flex; gap: 8px; align-items: flex-start; margin: 0; color: var(--ink-2); }
.ccode-modal .btn { justify-self: start; }
.ccode__search { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 18px; border-radius: var(--r-pill); }
.ccode__search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 15px; }
.ccode-card { align-items: stretch; width: 100%; }
.ccode-card__img, .ccode-card__name { width: 100%; }
.ribbon { will-change: transform; }

/* Light brand colours (Dynacoat, Meguiar's yellow): dark text on the cover instead of white */
.is-branded .bcover, .is-branded .bcover__title, .is-branded .bcover .eyebrow, .is-branded .bcover .crumbs { color: var(--brand-ink, #fff); }
.is-branded .bcover .lead { color: color-mix(in srgb, var(--brand-ink, #fff) 86%, transparent); }
.is-branded .bcover__ghost { --btn-fg: var(--brand-ink, #fff); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--brand-ink, #fff) 50%, transparent); }
.is-branded .bcover__word-row { -webkit-text-stroke-color: color-mix(in srgb, var(--brand-ink, #fff) 18%, transparent); }

/* Page header with a real photo (About: the store) — slow "Ken Burns" zoom */
.page-hero__photo { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.page-hero__photo picture { display: block; width: 100%; height: 100%; }
.page-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transform-origin: 70% 50%; animation: heroKenBurns 26s ease-in-out infinite alternate; }
@keyframes heroKenBurns { from { transform: scale(1); } to { transform: scale(1.045); } }
.page-hero--photo .page-hero__veil { background: linear-gradient(90deg, rgba(15,17,20,.78) 0%, rgba(15,17,20,.45) 45%, rgba(15,17,20,.08) 100%), linear-gradient(180deg, transparent 50%, rgba(15,17,20,.5)); }
@media (prefers-reduced-motion: reduce) { .page-hero__photo img { animation: none; } }

/* light scenes (fan deck, map, invoice): darken only behind the text on the left, keep the scene bright */
.page-hero--light .page-hero__veil { background: linear-gradient(90deg, rgba(15,17,20,.86) 0%, rgba(15,17,20,.62) 34%, rgba(15,17,20,0) 62%); }
@media (max-width: 760px) { .page-hero--light .page-hero__veil { background: linear-gradient(180deg, rgba(15,17,20,.15) 0%, rgba(15,17,20,.8) 75%); } }

/* real product photos in catalog headers */
.page-hero__shots { position: absolute; right: 4%; bottom: 0; top: 10%; width: min(44%, 560px); z-index: -1; pointer-events: none; }
.page-hero__shots img { position: absolute; bottom: 8%; height: 74%; width: auto; max-width: 40%; object-fit: contain; filter: drop-shadow(0 18px 18px rgba(0,0,0,.45)); animation: shotFloat 6s ease-in-out infinite; animation-delay: calc(var(--i) * -2s); }
.page-hero__shots img:nth-child(1) { left: 50%; translate: -50% 0; height: 84%; z-index: 2; }
.page-hero__shots img:nth-child(2) { left: 4%; height: 62%; rotate: -6deg; }
.page-hero__shots img:nth-child(3) { right: 4%; height: 62%; rotate: 6deg; }
@keyframes shotFloat { 50% { transform: translateY(-6px); } }
@media (max-width: 760px) { .page-hero__shots { display: none; } }
@media (prefers-reduced-motion: reduce) { .page-hero__shots img { animation: none; } }

/* ---------- Product gallery: still studio backdrop (replaces the animated stages) ---------- */
.gallery__main { background:
    radial-gradient(70% 55% at 50% 18%, #FFFFFF 0%, rgba(255,255,255,0) 70%),
    linear-gradient(180deg, #F4F2EE 0%, #ECE9E3 62%, #E2DED6 100%);
  box-shadow: var(--shadow-1), inset 0 0 0 1px rgba(21,23,26,.04); }
.gallery__main::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.035)); pointer-events: none; }
.gallery__main::after { left: 24%; right: 24%; bottom: 15%; height: 4%; z-index: 0; background: radial-gradient(closest-side, rgba(40,30,20,.26), rgba(40,30,20,0)); }
/* absolutely placed so the % sizes refer to the square box (a grid item's % height would not) */
.gallery__main img { position: absolute; z-index: 1; left: 15%; top: 10%; width: 70%; height: 72%; object-fit: contain; filter: drop-shadow(0 18px 22px rgba(40,30,20,.12)); }
/* photos that come with their own background: plain white, no floating card */
.gallery__main:has(img.is-photo) { background: #fff; }
.gallery__main:has(img.is-photo)::before { display: none; }
.gallery__main img.is-photo { left: 6%; top: 6%; width: 88%; height: 88%; max-height: none; object-fit: contain; padding: 0; border-radius: 0; box-shadow: none; filter: none; background: transparent; }

/* ================================================================ Catalog filters (refined) */
.fgroup { padding: 12px 0; border-top: 1px solid var(--line); }
.fgroup > summary { display: flex; align-items: center; justify-content: space-between; cursor: pointer; list-style: none; padding: 2px 0 8px; }
.fgroup > summary::-webkit-details-marker { display: none; }
.fgroup > summary h3 { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.fgroup > summary .icon { color: var(--ink-3); transition: transform .25s var(--ease-out); }
.fgroup:not([open]) > summary .icon { transform: rotate(-90deg); }
/* category tree, 3 levels */
.ftree { list-style: none; margin: 0; padding: 0; }
.ftree--d1, .ftree--d2 { margin: 2px 0 6px 10px; padding-left: 10px; border-left: 1.5px solid var(--line); }
.ftree li { margin: 0; }
.ftree summary { display: flex; align-items: center; gap: 6px; list-style: none; cursor: pointer; border-radius: 10px; padding: 0 6px 0 0; }
.ftree summary::-webkit-details-marker { display: none; }
.ftree summary > a, .ftree__leaf, .ftree__all { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 10px; border-radius: 10px; font-size: 14px; color: var(--ink-2); line-height: 1.3; }
.ftree--d0 > li > details > summary > a, .ftree--d0 > li > .ftree__leaf { font-weight: 700; color: var(--ink); }
.ftree summary > small, .ftree__leaf small, .ftree__all small { font-size: 11.5px; font-weight: 700; color: var(--ink-3); background: var(--bg); padding: 1px 7px; border-radius: 999px; }
.ftree summary .icon { flex: none; color: var(--ink-3); transition: transform .25s var(--ease-out); }
.ftree details[open] > summary .icon { transform: rotate(180deg); }
.ftree a:hover, .ftree__all:hover { background: var(--bg); color: var(--ink); }
.ftree a.is-on, .ftree__all.is-on { background: var(--ink); color: #fff; }
.ftree a.is-on small, .ftree__all.is-on small { background: rgba(255,255,255,.18); color: #fff; }
.ftree li.is-empty > a, .ftree li.is-empty > details > summary > a { opacity: .45; }
.ftree__all { margin-bottom: 4px; font-weight: 700; color: var(--ink); }
/* radio-like options (availability, brands) */
.fopts { display: flex; flex-direction: column; gap: 2px; }
.fopt { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 10px; font-size: 14px; color: var(--ink-2); }
.fopt i { width: 16px; height: 16px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-2, #CFC9BD); transition: box-shadow .2s; }
.fopt small { margin-left: auto; font-size: 11.5px; font-weight: 700; color: var(--ink-3); }
.fopt:hover { background: var(--bg); color: var(--ink); }
.fopt.is-on { color: var(--ink); font-weight: 700; }
.fopt.is-on i { box-shadow: inset 0 0 0 5px var(--accent); }
.fbrand-search { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; margin-bottom: 8px; border-radius: 999px; background: var(--bg); color: var(--ink-3); }
.fbrand-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 13.5px; }
.fmore { margin: 6px 0 0 10px; font-size: 13px; font-weight: 700; color: var(--accent); }
/* direction pills above the results */
.dir-row { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 12px; margin-bottom: 4px; scrollbar-width: none; }
.dir-row::-webkit-scrollbar { display: none; }
.dir-row .dir-pill { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-1); font-size: 13.5px; font-weight: 700; color: var(--ink-2); white-space: nowrap; transition: background-color .2s, color .2s; }
.dir-row .dir-pill:hover { color: var(--ink); }
.dir-row .dir-pill.is-on { background: var(--ink); color: #fff; }
/* active filter chips */
.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 13px; color: var(--ink-3); }
.af-chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 8px 0 14px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; }
.af-chip .icon { opacity: .7; }
.af-chip:hover .icon { opacity: 1; }
.af-clear { font-weight: 700; color: var(--accent); margin-left: 4px; }

/* ================================================================ Install-the-app bar (phones) */
.app-install { position: fixed; z-index: 90; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; gap: 12px; padding: 12px 10px 12px 12px; border-radius: 20px; background: rgba(255,255,255,.96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 18px 50px -12px rgba(20,22,26,.35), 0 0 0 1px rgba(20,22,26,.06); transform: translateY(140%); opacity: 0; transition: transform .45s var(--ease-out, ease), opacity .3s; }
.app-install.is-in { transform: none; opacity: 1; }
.app-install[hidden] { display: none; }
.app-install__icon { width: 48px; height: 48px; flex: none; border-radius: 12px; box-shadow: 0 0 0 1px rgba(20,22,26,.08); }
.app-install__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; font-size: 13px; line-height: 1.35; color: var(--ink-2, #3A3D42); }
.app-install__text b { font-size: 14px; color: var(--ink, #15171A); }
.app-install__share { width: 16px; height: 16px; vertical-align: -3px; color: #0A84FF; }
.app-install__close { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: var(--ink-3, #6B6F76); }
.app-install__mode { display: none; }
.app-install[data-mode="install"] .app-install__mode--install, .app-install[data-mode="ios"] .app-install__mode--ios { display: initial; }
.app-install[data-mode="install"] .btn.app-install__mode--install { display: inline-flex; flex: none; }

/* ================================================================ Polisan Club entry points: mobile menu card + brand page button */
.m-club { display: flex; align-items: center; gap: 12px; margin: 18px 0 6px; padding: 14px; border-radius: 18px; color: #fff; text-decoration: none;
  background: radial-gradient(120% 120% at 100% 0%, #E3203B 0%, #C8102E 45%, #8E0B20 100%); box-shadow: 0 14px 30px -16px rgba(142, 11, 32, .8); }
.m-club__logo { flex: none; width: 46px; height: 46px; border-radius: 12px; background: #fff; display: grid; place-items: center; overflow: hidden; }
.m-club__logo img { width: 40px; height: auto; }
.m-club__txt { flex: 1; min-width: 0; display: grid; gap: 2px; }
.m-club__txt b { font-size: 15px; }
.m-club__txt small { font-size: 12.5px; opacity: .85; line-height: 1.35; }
.m-club__go { flex: none; display: inline-flex; align-items: center; gap: 4px; height: 34px; padding: 0 12px; border-radius: 999px; background: #fff; color: #C8102E; font-size: 13px; font-weight: 800; }
.bcover__club { --btn-bg: #fff; --btn-fg: #C8102E; }

/* layout safety: grid/flex children may shrink; nothing can make the page wider than the screen */
.results, .catalog__grid > *, .hero__grid > *, .room__grid > * { min-width: 0; }
html, body { overflow-x: clip; }

@media (max-width: 700px) { .p-grid, .p-grid--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }

/* phones: a clearly visible menu button; compact active-filter row */
.burger .icon { width: 26px; height: 26px; stroke-width: 2.2; }
.burger { margin-left: -8px; }
.site-header__bar .tool-btn, .site-header__bar .burger { flex: none; }
/* logo + "Geo" — fixed height; slightly smaller on narrow phones so the menu button always fits */
.site-logo { gap: 1px; }
.site-logo img { height: 22px; width: auto; max-width: none; }
.site-logo__text { font-family: Arial, Helvetica, sans-serif; font-weight: 900; font-size: 30px; line-height: 1; letter-spacing: .04em;
  background: linear-gradient(90deg, #00468C, #0089C4); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 420px) { .site-logo__text { font-size: 25px; } }
.site-logo__geo { font-family: Arial, Helvetica, sans-serif; font-weight: 700; font-size: 25px; line-height: 1; letter-spacing: -.02em; color: #0089C4; transform: translateY(1px); }
@media (max-width: 420px) { .site-logo img { height: 18px; } .site-logo__geo { font-size: 20.5px; } }
@media (max-width: 350px) { .site-logo img { height: 15px; } .site-logo__geo { font-size: 17px; } }
@media (max-width: 700px) {
  .active-filters > span:first-child { display: none; }
  .active-filters { margin-bottom: 10px; }
}

/* narrow phones: language button shows only the globe, so logo + menu + search + language + cart always fit */
@media (max-width: 420px) {
  .lang__code { display: none; }
  .site-header__bar .lang__btn { padding: 0 10px; }
  .site-header__bar { gap: 2px; }
}
@media (max-width: 350px) { .site-header__bar .tool-btn { width: 38px; height: 38px; } .site-header__bar .lang__btn { padding: 0 6px; } }

/* Polisan Club card in the phone menu: text gets the full width, the sign-in button sits on its own row */
.m-club { flex-wrap: wrap; }
.m-club__txt { flex: 1 1 0; }
.m-club__go { flex: 1 0 100%; justify-content: center; height: 42px; font-size: 14px; }

/* Polisan Club: product page strip + checkout note */
.club-strip, .co-club { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; margin: 14px 0; padding: 12px 14px; border-radius: 16px; background: linear-gradient(135deg, #C8102E, #8E0B20); color: #fff; font-size: 13.5px; line-height: 1.45; }
.club-strip[hidden], .co-club[hidden] { display: none; }
.club-strip p, .co-club p { flex: 1 1 200px; margin: 0; }
.club-strip__logo { flex: none; padding: 4px 10px; border-radius: 999px; background: #fff; color: #C8102E; font-size: 12px; font-weight: 700; }
.club-strip__btn, .co-club__btn { flex: none; display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px; background: #fff; color: #C8102E !important; font-weight: 800; font-size: 13px; }
.club-strip.is-in, .co-club.is-in { background: linear-gradient(135deg, #1F7A55, #145A3E); }
.co-club__dot { width: 10px; height: 10px; flex: none; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.25); }

/* Polisan banner: sign-in note; signed-in look of the club entry points */
.bcover__clubnote { display: inline-flex; align-items: center; gap: 8px; margin: 4px 0 18px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.14); color: #fff; font-size: 14px; font-weight: 600; }
.bcover__club.is-in { --btn-bg: #1F7A55; --btn-fg: #fff; background: #1F7A55; color: #fff; }
.m-club.is-in { background: radial-gradient(120% 120% at 100% 0%, #2E9A6C 0%, #1F7A55 45%, #145A3E 100%); box-shadow: 0 14px 30px -16px rgba(20, 90, 62, .8); }
.m-club.is-in .m-club__go { color: #1F7A55; }

.m-club__logo--card { width: 72px; height: auto; aspect-ratio: 1.63; background: none; border-radius: 8px; box-shadow: 0 6px 14px -6px rgba(0,0,0,.5); }
.m-club__logo--card img { width: 100%; height: 100%; object-fit: cover; }

/* news cover slider (several photos) */
.nslide { position: relative; margin: 22px 0 28px; border-radius: var(--r-lg); overflow: hidden; background: #E9E5DD; aspect-ratio: 16 / 9; }
.nslide__track, .nslide__img { position: absolute; inset: 0; }
.nslide__img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s var(--ease-out, ease); }
.nslide__img.is-on { opacity: 1; }
.nslide__nav { position: absolute; top: 50%; z-index: 2; width: 44px; height: 44px; margin-top: -22px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--ink); box-shadow: var(--shadow-1); }
.nslide__nav--prev { left: 14px; } .nslide__nav--next { right: 14px; }
.nslide__dots { position: absolute; left: 0; right: 0; bottom: 14px; z-index: 2; display: flex; justify-content: center; gap: 8px; }
.nslide__dots button { width: 9px; height: 9px; padding: 0; border-radius: 50%; background: rgba(255,255,255,.55); box-shadow: 0 0 0 1px rgba(0,0,0,.15); }
.nslide__dots button.is-on { background: #fff; width: 22px; border-radius: 999px; }
@media (max-width: 640px) { .nslide__nav { width: 36px; height: 36px; margin-top: -18px; } }

/* mega menu: products by brand */
.mega__group--brands { grid-column: 1 / -1; column-span: all; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 4px 0 14px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.mega__group--brands .mega__title { padding-left: 10px; }
.mega__list--brands { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.mega__list--brands a { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 999px; background: var(--bg); font-size: 13px; font-weight: 700; }
.mega__list--brands a:hover { background: var(--ink); color: #fff; }

/* brand page: category chips + group headings */
.bcats { margin: 0 0 18px; }
.bcats .dir-pill small { font-size: 11.5px; opacity: .7; margin-left: 2px; }
.p-grid__head { grid-column: 1 / -1; margin: 18px 0 2px; font-size: 18px; display: flex; align-items: baseline; gap: 8px; }
.p-grid__head small { font-size: 13px; color: var(--ink-3); font-weight: 600; }
.p-grid__head:first-child { margin-top: 0; }

/* "Brands" dropdown: products by brand */
.mega--brands { display: block !important; columns: auto !important; min-width: min(760px, calc(100vw - 48px)); }
.mega__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 6px 12px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.mega__head b { font-size: 15px; }
.mega__head a { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--accent); }
.mbrands { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.mbrand { display: grid; gap: 6px; padding: 8px; border-radius: 14px; text-align: center; transition: background-color .2s; }
.mbrand:hover { background: var(--bg); }
.mbrand__logo { height: 46px; display: grid; place-items: center; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); padding: 6px 10px; }
.mbrand__logo img { max-width: 100%; max-height: 32px; object-fit: contain; }
.mbrand__name { font-size: 12.5px; font-weight: 700; color: var(--ink-2); }

/* category / direction chips: on computers they wrap onto more lines (a mouse can't scroll sideways) */
@media (min-width: 901px) { .dir-row { flex-wrap: wrap; overflow: visible; } }

/* "New" badge on product cards (added in the last 30 days) */
.p-card__media { position: relative; }
.p-card__new { position: absolute; top: 10px; left: 10px; z-index: 2; height: 24px; padding: 0 10px; display: inline-flex; align-items: center; border-radius: 999px; background: var(--accent); color: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: .02em; }

/* product page: crossed-out price before the discount */
.buy__price-row { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 16px; }
.buy__was { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; color: var(--ink-3); }
.buy__was[hidden] { display: none; }
.buy__was s { font-weight: 600; }
.buy__was b { background: #FFD400; color: #15171A; font-weight: 800; font-size: 14px; padding: 4px 9px; border-radius: 999px; transform: rotate(-4deg); }

/* products: newest arrivals row above the full catalogue */
.fresh { margin: 0 0 22px; }
.fresh__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 10px; }
.fresh__head h2 { margin: 0; font-size: 19px; display: flex; align-items: center; gap: 8px; }
.fresh__head h2 i { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
.fresh__head a { font-size: 14px; font-weight: 700; color: var(--accent); white-space: nowrap; }
.fresh-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 23%); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 10px; scrollbar-width: thin; }
.fresh-row > * { scroll-snap-align: start; min-width: 0; }
@media (max-width: 700px) { .fresh-row { grid-auto-columns: 46%; gap: 10px; } }
/* phone: the add-to-cart button shrinks instead of pushing past the screen */
.buy__add { min-width: 0; white-space: normal; }
.qty--lg { flex: none; }
@media (max-width: 420px) { .buy__add { font-size: 14.5px; padding-left: 12px; padding-right: 12px; } .qty--lg button { width: 38px; } .qty--lg input { width: 34px; } }

/* product card: discount sticker (set in admin → home band) */
.p-card__off { position: absolute; top: 8px; right: 8px; z-index: 2; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center;
  background: #FFD400; color: #15171A; font-weight: 900; font-size: 14px; transform: rotate(-10deg); box-shadow: 0 0 0 3px #15171A, 0 8px 16px -6px rgba(0,0,0,.4); }
.p-card__price--sale { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; color: #C62828; }
.p-card__price--sale s { color: var(--ink-3); font-weight: 600; font-size: .82em; }
@media (max-width: 700px) { .p-card__off { width: 42px; height: 42px; font-size: 12px; } }

/* ---------- "added to cart" panel ---------- */
.added { position: fixed; z-index: 210; right: 20px; top: 88px; width: min(380px, calc(100vw - 24px)); background: var(--surface, #fff); border-radius: 20px; overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(20,22,26,.45), 0 0 0 1px rgba(20,22,26,.06); opacity: 0; transform: translateY(-14px) scale(.98); pointer-events: none; transition: opacity .3s var(--ease-out), transform .35s var(--ease-out); }
.added.is-on { opacity: 1; transform: none; pointer-events: auto; }
.added__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px 12px 18px; background: #2B6CB0; color: #fff; font-weight: 800; font-size: 14.5px; }
.added__head span { display: inline-flex; align-items: center; gap: 8px; }
.added__head button { color: #fff; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; }
.added__item { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 14px 18px; align-items: center; }
.added__item img, .added__item .ph { width: 64px; height: 64px; object-fit: contain; border-radius: 12px; background: #F2EFEA; }
.added__item b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; line-height: 1.3; }
.added__item small { display: block; margin-top: 4px; color: var(--ink-3); font-size: 13px; }
.added__sum { display: flex; justify-content: space-between; gap: 10px; padding: 10px 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
.added__sum b { color: var(--ink); font-size: 15px; }
.added__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 4px 18px 18px; }
.added__btns .btn { justify-content: center; }
@media (max-width: 700px) {
  .added { left: 0; right: 0; top: auto; bottom: 0; width: 100%; border-radius: 20px 20px 0 0; transform: translateY(100%); padding-bottom: env(safe-area-inset-bottom); }
  .added.is-on { transform: none; }
}

/* ---------- wishlist ---------- */
.p-card__wish { position: absolute; left: 10px; bottom: 10px; z-index: 3; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.92);
  color: var(--ink-3); box-shadow: 0 4px 12px -6px rgba(0,0,0,.35); transition: color .2s, transform .2s; }
.p-card__wish:hover { color: #E0245E; transform: scale(1.08); }
.p-card__wish .icon { width: 18px; height: 18px; }
.p-card__wish.is-on { color: #E0245E; }
.p-card__wish.is-on .icon path { fill: currentColor; }
.wish-btn { position: relative; }
.wish-badge { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #E0245E; color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.wish-badge:empty { display: none; }
@media (max-width: 560px) { .header-tools > .wish-btn { display: none; } }
.wish-empty { display: grid; gap: 14px; justify-items: start; padding: 26px; border-radius: 20px; background: var(--surface, #fff); }
.wish-empty p { margin: 0; }
.recent-sec .h-2 { margin: 0 0 14px; }

/* ---------- cookie consent ---------- */
.cc-consent { position: fixed; z-index: 220; left: 20px; bottom: 20px; width: min(460px, calc(100vw - 24px)); padding: 18px; border-radius: 20px; background: var(--surface, #fff);
  box-shadow: 0 30px 60px -20px rgba(20,22,26,.5), 0 0 0 1px rgba(20,22,26,.06); display: grid; gap: 14px; opacity: 0; transform: translateY(20px); transition: opacity .35s var(--ease-out), transform .35s var(--ease-out); }
.cc-consent.is-on { opacity: 1; transform: none; }
.cc-consent[hidden] { display: none; }
.cc-consent__title { font-size: 16px; }
.cc-consent p { margin: 6px 0 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }
.cc-consent a { color: var(--accent); font-weight: 700; }
.cc-consent__opts { display: grid; gap: 4px; margin-top: 10px; }
.cc-consent__opts[hidden] { display: none; }
.cc-opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); cursor: pointer; }
.cc-opt > span:first-child { display: grid; gap: 2px; }
.cc-opt small { font-size: 12px; color: var(--ink-3); }
.cc-opt em { font-style: normal; font-size: 12px; font-weight: 700; color: #1E7B45; white-space: nowrap; }
.cc-sw { position: relative; flex: none; width: 42px; height: 24px; }
.cc-sw input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.cc-sw i { position: absolute; inset: 0; border-radius: 999px; background: #CFCAC0; transition: background-color .2s; pointer-events: none; }
.cc-sw i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s; }
.cc-sw input:checked + i { background: #2E9D5B; }
.cc-sw input:checked + i::after { transform: translateX(18px); }
.cc-consent__btns { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cc-consent__btns [hidden] { display: none; }
.cc-link { font-weight: 800; font-size: 13.5px; color: var(--ink-2); text-decoration: underline; padding: 0 6px; }
.footer-link-btn { color: inherit; font: inherit; padding: 0; opacity: .85; }
.footer-link-btn:hover { opacity: 1; text-decoration: underline; }
@media (max-width: 560px) { .cc-consent { left: 12px; right: 12px; bottom: 12px; width: auto; } .cc-consent__btns .btn { flex: 1; justify-content: center; } }

/* ---------- AI assistant "Lasha" ---------- */
.ai { position: fixed; z-index: 205; right: 20px; bottom: 20px; }
.ai__fab { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 999px; background: var(--ink, #15171A); color: #fff;
  box-shadow: 0 16px 34px -14px rgba(20,22,26,.6); transition: transform .25s var(--ease-out); }
.ai__fab:hover { transform: translateY(-2px); }
.ai__fab-txt { display: grid; line-height: 1.1; text-align: left; }
.ai__fab-txt b { font-size: 14px; } .ai__fab-txt small { font-size: 11.5px; opacity: .75; }
.ai.is-open .ai__fab { transform: scale(.9); opacity: .0; pointer-events: none; }
.ai__ava { position: relative; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; font-weight: 800; font-size: 18px; color: #fff;
  background: conic-gradient(from 200deg, #E4472B, #F2B33D, #2E7D6B, #2B4C9B, #E4472B); box-shadow: inset 0 0 0 3px rgba(255,255,255,.25); }
.ai__ava i { position: absolute; right: 0; bottom: 1px; width: 11px; height: 11px; border-radius: 50%; background: #2DB55D; box-shadow: 0 0 0 2px var(--ink, #15171A); }
.ai__panel { position: absolute; right: 0; bottom: 0; width: min(390px, calc(100vw - 24px)); height: min(600px, calc(100vh - 110px)); display: flex; flex-direction: column;
  background: var(--surface, #fff); border-radius: 22px; overflow: hidden; box-shadow: 0 30px 70px -20px rgba(20,22,26,.55), 0 0 0 1px rgba(20,22,26,.06);
  opacity: 0; transform: translateY(16px) scale(.98); transform-origin: bottom right; transition: opacity .25s var(--ease-out), transform .3s var(--ease-out); }
.ai.is-open .ai__panel { opacity: 1; transform: none; }
.ai__panel[hidden] { display: none; }
.ai__head { display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 14px; background: linear-gradient(120deg, #15171A, #2A2D33); color: #fff; }
.ai__head .ai__ava i { box-shadow: 0 0 0 2px #1D2025; }
.ai__who { display: grid; line-height: 1.2; flex: 1; min-width: 0; }
.ai__who b { font-size: 15px; } .ai__who small { font-size: 11.5px; opacity: .7; }
.ai__icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; opacity: .85; }
.ai__icon:hover { background: rgba(255,255,255,.1); opacity: 1; }
.ai__log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: var(--bg, #F6F4EF); }
.ai__msg { max-width: 86%; padding: 10px 13px; border-radius: 16px; font-size: 14px; line-height: 1.5; word-wrap: break-word; animation: aiIn .25s var(--ease-out); }
@keyframes aiIn { from { opacity: 0; transform: translateY(6px); } }
.ai__msg--assistant { align-self: flex-start; background: #fff; border-bottom-left-radius: 6px; box-shadow: 0 4px 12px -8px rgba(20,22,26,.35); }
.ai__msg--user { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 6px; }
.ai__msg a { color: var(--accent); font-weight: 700; text-decoration: underline; }
.ai__msg .ai__li { display: block; padding-left: 14px; position: relative; } .ai__msg .ai__li::before { content: "•"; position: absolute; left: 2px; }
.ai__msg.is-err { background: #FDECEA; color: #8E2A1E; }
.ai__msg.is-typing { display: inline-flex; gap: 5px; padding: 14px 16px; }
.ai__msg.is-typing i { width: 7px; height: 7px; border-radius: 50%; background: #B9BCC2; animation: aiDot 1s infinite ease-in-out; }
.ai__msg.is-typing i:nth-child(2) { animation-delay: .15s; } .ai__msg.is-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes aiDot { 40% { transform: translateY(-5px); background: var(--accent); } }
.ai__chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 8px; background: var(--bg, #F6F4EF); }
.ai__chips:empty { display: none; }
.ai__chips button { padding: 7px 12px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line, #E6E1D8); font-size: 12.5px; font-weight: 700; color: var(--ink-2); text-align: left; }
.ai__chips button:hover { box-shadow: inset 0 0 0 1.5px var(--accent); color: var(--accent); }
.ai__form { display: flex; gap: 8px; align-items: flex-end; padding: 10px 12px; border-top: 1px solid var(--line, #E6E1D8); background: #fff; }
.ai__form textarea { flex: 1; resize: none; border: 0; outline: 0; padding: 10px 12px; border-radius: 14px; background: var(--bg, #F6F4EF); font: inherit; font-size: 16px; max-height: 120px; }
.ai__send { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; flex: none; }
.ai__note { margin: 0; padding: 0 14px 10px; font-size: 11px; color: var(--ink-3); background: #fff; display: flex; gap: 5px; align-items: center; }
@media (max-width: 700px) {
  .ai { right: 12px; bottom: 12px; }
  .ai__fab-txt { display: none; } .ai__fab { padding: 5px; }
  .ai.is-open { left: 0; right: 0; bottom: 0; top: 0; }
  .ai__panel { position: fixed; inset: 0; width: 100%; height: 100%; border-radius: 0; }
}
body:has(.added.is-on) .ai__fab { opacity: 0; pointer-events: none; }

.ai__ava img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.ai__ava:has(img) { background: #fff; }

/* catalogue cover: official brand logos floating over the photo */
.page-hero__logos { position: absolute; right: clamp(16px, 5vw, 80px); bottom: clamp(16px, 4vw, 44px); z-index: 1; display: grid; grid-template-columns: repeat(3, auto); gap: 10px; pointer-events: none; }
.page-hero__logos span { display: grid; place-items: center; width: clamp(92px, 9vw, 132px); height: clamp(48px, 4.6vw, 64px); padding: 8px 12px; border-radius: 14px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 16px 34px -18px rgba(0,0,0,.6);
  animation: coverLogo 6s ease-in-out infinite, coverIn .7s var(--ease-out) both; animation-delay: calc(var(--i) * -0.9s), calc(var(--i) * 90ms + .2s); }
.page-hero__logos img { max-width: 100%; max-height: 100%; object-fit: contain; }
@keyframes coverLogo { 50% { transform: translateY(-8px); } }
@keyframes coverIn { from { opacity: 0; transform: translateY(18px) scale(.94); } }
@media (max-width: 760px) { .page-hero__logos { display: none; } }
@media (prefers-reduced-motion: reduce) { .page-hero__logos span { animation: none; } }
