/* PSV Center Sound Laos — brand red & charcoal from the logo */

/* Self-hosted variable fonts: one file per script, ~20–30 KB each.
   Font matching is per character, so Lao glyphs always come from Noto Sans Lao. */
@font-face { font-family: "Noto Sans Lao"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(/fonts/noto-sans-lao-lao.woff2) format("woff2"); unicode-range: U+0E81-0EDF, U+200C-200D, U+25CC; }
@font-face { font-family: "Noto Sans Lao"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(/fonts/noto-sans-lao-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Saira"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(/fonts/saira-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* #d02a31 instead of the logo's #e8343a: same look, readable (≥4.5:1) on white and the grey cards */
  --red: #d02a31;
  --red-dk: #b01f26;
  --red-soft: #fff1f1;
  --ink: #231f20;
  --ink-2: #3b3638;
  --muted: #6b6668;
  --line: #e7e4e4;
  --bg: #ffffff;
  --bg-2: #f5f4f4;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(35, 31, 32, .08);
  --shadow-lg: 0 18px 50px rgba(35, 31, 32, .16);
  --ease: cubic-bezier(.2, .7, .2, 1);
  /* Latin display text uses Saira, which echoes the logo's squared letterforms */
  --f-body: "Noto Sans Lao", system-ui, sans-serif;
  --f-display: "Saira", "Noto Sans Lao", system-ui, sans-serif;
}

/* Cross-document view transitions: page changes cross-fade instead of flashing white */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .22s; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  overflow-x: clip;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.75; /* Lao stacked vowels and tone marks need extra leading */
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
ul { list-style: none; }
svg { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
svg.ic-brand { fill: currentColor; stroke: none; } /* official brand logos are filled shapes */
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

.wrap { width: min(1280px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; z-index: 99; background: var(--ink); color: #fff; padding: 6px 12px; border-radius: 8px; }
.center { text-align: center; margin-top: 28px; }
.muted { color: var(--muted); }
.small { font-size: .82rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

h1, h2, h3, .h1 { font-family: var(--f-display); line-height: 1.35; font-weight: 700; }
h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.eyebrow { font-family: var(--f-display); font-weight: 700; letter-spacing: .18em; font-size: .78rem; color: rgba(255,255,255,.7); }
.eyebrow--red { color: var(--red); }
.page-title { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.page-intro { color: var(--muted); margin: 6px 0 24px; max-width: 640px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 22px; border-radius: 999px; font-weight: 600; transition: background .2s, color .2s, transform .15s, box-shadow .2s; white-space: nowrap; border: 1.5px solid transparent; }
.btn:active { transform: scale(.97); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dk); box-shadow: 0 8px 20px rgba(232,52,58,.3); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--wa { background: #25d366; color: #fff; }
.btn--wa:hover { background: #1eb956; }
.btn--fb { background: #1877f2; color: #fff; }
.btn--block { width: 100%; }
.btn--lg { padding: 14px 26px; font-size: 1.02rem; }

/* Promo bar */
.promo { background: var(--ink); color: #fff; font-size: .82rem; }
.promo__in { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 16px; }
.promo__links { display: flex; gap: 20px; }
.promo__links a { opacity: .8; transition: .2s; }
.promo__links a:hover, .promo__links a[aria-current] { opacity: 1; color: #ff8a8e; }

/* Header */
.header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.6) blur(10px); box-shadow: 0 1px 0 var(--line); transition: box-shadow .2s; view-transition-name: header; }
.header.scrolled { box-shadow: 0 6px 20px rgba(0,0,0,.07); }
.header__in { display: flex; align-items: center; gap: 24px; height: 76px; }
.logo img { height: 54px; width: auto; }
.search { position: relative; flex: 1; display: flex; max-width: 620px; border: 2px solid var(--ink); border-radius: 999px; background: #fff; }
.search input { flex: 1; border: 0; padding: 10px 18px; outline: none; min-width: 0; background: transparent; border-radius: 999px 0 0 999px; }
.search > button { background: var(--ink); color: #fff; padding: 0 18px; border-radius: 0 999px 999px 0; transition: background .2s; }
.search > button:hover { background: var(--red); }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; z-index: 50; border: 1px solid var(--line); }
.suggest a { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 8px 14px; font-size: .9rem; line-height: 1.45; }
.suggest a:hover, .suggest a.on { background: var(--bg-2); }
.suggest img { width: 44px; height: 44px; object-fit: contain; background: var(--bg-2); border-radius: 8px; padding: 4px; }
.suggest small { display: block; color: var(--muted); font: 700 .7rem var(--f-display); letter-spacing: .06em; text-transform: uppercase; }
.suggest b { color: var(--red); font-family: var(--f-display); font-size: .88rem; }
.suggest .facet { display: flex; gap: 10px; align-items: center; grid-template-columns: none; font-weight: 600; border-bottom: 1px solid var(--line); }
.suggest .facet span { font: 700 .68rem var(--f-display); color: #fff; background: var(--ink); border-radius: 6px; padding: 0 8px; }
.suggest .facet small { display: inline; text-transform: none; letter-spacing: 0; font: 400 .8rem var(--f-body); }
.suggest .all { display: block; text-align: center; font-weight: 600; color: var(--red); border-top: 1px solid var(--line); padding: 10px; }
.suggest .none { padding: 14px; color: var(--muted); font-size: .9rem; }
.header__actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.cur { display: inline-flex; border: 1px solid var(--line); border-radius: 99px; padding: 2px; font-size: .78rem; font-weight: 600; white-space: nowrap; }
.cur a { padding: 4px 9px; border-radius: 99px; color: var(--muted); }
.cur a[aria-current] { background: var(--ink); color: #fff; }
.cur a:not([aria-current]):hover { color: var(--red); }
.hotline { display: flex; align-items: center; gap: 10px; margin-right: 10px; }
.hotline svg { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: var(--red); color: #fff; }
.hotline small { display: block; font-size: .72rem; color: var(--muted); line-height: 1.2; }
.hotline b { font-family: var(--f-display); font-size: 1.05rem; line-height: 1.2; }
.icon-btn { position: relative; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; transition: background .2s; }
.icon-btn:hover { background: var(--bg-2); }
.icon-btn svg { width: 24px; height: 24px; }
.cart-btn i { position: absolute; top: 2px; right: 0; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--red); color: #fff; font: 700 .7rem/19px var(--f-display); text-align: center; font-style: normal; }
.cart-btn.bump { animation: bump .45s var(--ease); }
@keyframes bump { 30% { transform: scale(1.25) rotate(-8deg); } 60% { transform: scale(.95); } }
.burger { display: none; width: 40px; height: 40px; flex-direction: column; justify-content: center; gap: 5px; }
.burger span { height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mega nav */
.nav { border-top: 1px solid var(--line); }
.nav__list { display: flex; flex-wrap: wrap; }
.nav__item > a { display: block; padding: 11px 12px; font-size: .9rem; font-weight: 600; border-bottom: 3px solid transparent; transition: color .15s, border-color .15s; }
.nav__item:hover > a, .nav__item:focus-within > a, .nav__item > a[aria-current] { color: var(--red); border-color: var(--red); }
.nav__item--mob { display: none; }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; box-shadow: var(--shadow); border-top: 1px solid var(--line); padding: 26px 0 30px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s var(--ease); transition-delay: .08s; }
.nav__item:hover .mega, .nav__item:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px 28px; }
.mega__grid a { padding: 6px 0; font-size: .92rem; color: var(--ink-2); border-bottom: 1px dashed var(--line); transition: color .15s, padding .15s; }
.mega__grid a:hover { color: var(--red); padding-left: 6px; }
.mega__grid .mega__title { grid-column: 1 / -1; font-family: var(--f-display); font-weight: 700; font-size: 1.1rem; margin-bottom: 6px; border: 0; color: var(--ink); }
.mega__title small { font: 500 .85rem var(--f-body); color: var(--red); margin-left: 8px; }
.mega__grid a:not(.mega__title) small { font-size: .75rem; color: var(--muted); margin-left: 4px; }
.sheet__grid small { color: var(--muted); font-weight: 400; }
.nav__item--brand > a { color: var(--red); }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--ink); }
.hero__track { display: flex; transition: transform .7s cubic-bezier(.7,0,.2,1); }
.slide { min-width: 100%; color: #fff; }
.slide--1 { background: radial-gradient(circle at 78% 50%, #4a2224 0, var(--ink) 55%); }
.slide--2 { background: radial-gradient(circle at 78% 50%, #3b3638 0, #141112 60%); }
.slide--3 { background: linear-gradient(115deg, #141112 40%, #5a1a1e); }
.slide__in { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 32px; min-height: 460px; padding: 48px 0 64px; }
.slide h1, .slide .h1 { font-size: clamp(2rem, 4.2vw, 3.3rem); margin: 10px 0 16px; }
.slide h1 span, .slide .h1 span { color: var(--red); }
.slide__txt > p:not(.eyebrow) { max-width: 520px; color: rgba(255,255,255,.78); }
.slide__cta { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.slide__art img { width: 100%; max-height: 380px; object-fit: contain; animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
.slide.is-on .slide__txt > * { animation: rise .7s var(--ease) both; }
.slide.is-on .slide__txt > :nth-child(2) { animation-delay: .08s; }
.slide.is-on .slide__txt > :nth-child(3) { animation-delay: .16s; }
.slide.is-on .slide__txt > :nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.hero__dots { position: absolute; bottom: 44px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.hero__dots button { width: 28px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.3); transition: .3s; }
.hero__dots button.on { background: var(--red); width: 44px; }

/* USP */
.usp { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: -28px; box-shadow: var(--shadow); }
.usp div { background: #fff; padding: 16px 20px; border-left: 4px solid var(--red); }
.usp b { display: block; }
.usp span { font-size: .85rem; color: var(--muted); }

/* Blocks */
.block { padding: 56px 0 8px; }
.block--top { padding-top: 28px; padding-bottom: 56px; }
.block__head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.block__head h2 { position: relative; padding-left: 16px; }
.block__head h2::before { content: ""; position: absolute; left: 0; top: .3em; bottom: .3em; width: 5px; border-radius: 3px; background: var(--red); }
.block__head p { width: 100%; color: var(--muted); }
.block__head--light { color: #fff; }
.block__head--light p { color: rgba(255,255,255,.65); }
.more { font-weight: 600; color: var(--red); }
.more:hover { text-decoration: underline; }

.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tabs button { padding: 6px 16px; border-radius: 999px; border: 1.5px solid var(--line); font-size: .88rem; font-weight: 600; transition: .2s; }
.tabs button:hover { border-color: var(--ink); }
.tabs button.on { background: var(--ink); border-color: var(--ink); color: #fff; }

.grid { display: grid; gap: 18px; }
.grid--products { grid-template-columns: repeat(5, 1fr); }
.grid--shop { grid-template-columns: repeat(4, 1fr); }
.grid--cats { grid-template-columns: repeat(6, 1fr); gap: 12px; }
.grid--venues { grid-template-columns: repeat(6, 1fr); gap: 12px; }
.grid--services { grid-template-columns: repeat(4, 1fr); }
.grid--projects { grid-template-columns: repeat(3, 1fr); }
.grid--posts { grid-template-columns: repeat(3, 1fr); }

/* Scroll reveal, CSS only: tied to the element's own scroll position, so it can
   never get stuck hidden. Browsers without scroll timelines simply show content. */
@supports (animation-timeline: view()) {
  .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 35%; }
}
@keyframes reveal { from { opacity: 0; transform: translateY(24px); } }

/* Product card */
.card { position: relative; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; background: #fff; transition: box-shadow .25s, transform .25s var(--ease), border-color .25s; }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.card[hidden] { display: none; }
.card__img { position: relative; display: block; aspect-ratio: 1; background: linear-gradient(160deg, #fafafa, #ececec); overflow: hidden; }
.card__img img { position: absolute; inset: 14%; width: 72%; height: 72%; object-fit: contain; transition: transform .5s var(--ease); }
.card:hover .card__img img { transform: scale(1.07); }
.card__badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 4px; flex-direction: column; align-items: start; z-index: 1; }
.badge { font-size: .7rem; font-weight: 700; padding: 1px 9px; border-radius: 6px; color: #fff; }
.badge--new { background: var(--ink); }
.badge--hot { background: var(--red); }
.badge--pre { background: #e89a1d; }
.badge--sale { background: #0f8a5f; }
.card__body { padding: 12px 14px 14px; display: flex; flex-direction: column; flex: 1; }
.card__brand { font: 700 .74rem var(--f-display); letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.card__name { font-family: var(--f-body); font-size: .92rem; font-weight: 600; line-height: 1.5; margin: 2px 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__name a:hover { color: var(--red); }
.card__name a::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.card__price { margin-top: auto; display: flex; align-items: baseline; gap: 6px 8px; flex-wrap: wrap; }
.card__price b { font: 800 1.08rem var(--f-display); color: var(--red); }
.card__price s { font-size: .8rem; color: var(--muted); }
.card__price em { font-style: normal; font-size: .72rem; font-weight: 700; color: #0f8a5f; }
.card__add { position: relative; z-index: 1; margin-top: 10px; padding: 8px; border-radius: 10px; background: var(--bg-2); font-weight: 600; font-size: .88rem; transition: background .15s, color .15s; display: flex; align-items: center; justify-content: center; gap: 6px; }
.card__add svg { width: 1em; height: 1em; }
.card__add:hover { background: var(--ink); color: #fff; }
.card__add.added { background: #0f8a5f; color: #fff; }
.card__add--off { color: var(--muted); cursor: default; text-align: center; }
.empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 48px 0; }
.empty .btn { margin-top: 14px; }

/* Category tiles */
.cat { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 10px 14px; text-align: center; transition: .25s var(--ease); background: #fff; }
.cat:hover { border-color: var(--red); box-shadow: var(--shadow); transform: translateY(-3px); }
.cat svg { width: 46px; height: 46px; margin: 0 auto 8px; color: var(--ink); stroke-width: 1.6; transition: color .2s, transform .3s var(--ease); }
.cat:hover svg { color: var(--red); transform: scale(1.1); }
.cat b { display: block; font-size: .9rem; line-height: 1.45; }
.cat span { font-size: .76rem; color: var(--muted); }

/* Builder */
.builder { background: var(--bg-2); padding: 56px 0; margin-top: 56px; }
.builder__in { display: grid; grid-template-columns: 320px 1fr; gap: 40px; }
.builder__head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 6px 0 14px; }
.builder__head p { color: var(--muted); }
.builder__body { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.bstep { padding: 14px 0; border-bottom: 1px solid var(--line); }
.bstep h3 { font: 600 .95rem var(--f-body); margin-bottom: 8px; display: flex; gap: 10px; align-items: center; }
.bstep h3 i { font: 700 .75rem/24px var(--f-display); width: 24px; text-align: center; border-radius: 50%; background: var(--ink); color: #fff; font-style: normal; }
.bopts { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
.bopt { display: flex; align-items: center; gap: 10px; text-align: left; border: 1.5px solid var(--line); border-radius: 10px; padding: 8px 10px; font-size: .84rem; line-height: 1.4; transition: .15s; }
.bopt img { width: 40px; height: 40px; object-fit: contain; flex: none; }
.bopt b { display: block; white-space: nowrap; font-family: var(--f-display); color: var(--red); font-size: .9rem; }
.bopt:hover { border-color: var(--ink); }
.bopt.on { border-color: var(--red); background: var(--red-soft); box-shadow: inset 0 0 0 1px var(--red); }
.builder__sum { display: flex; align-items: center; gap: 12px; padding-top: 18px; flex-wrap: wrap; }
.builder__sum span { color: var(--muted); }
.builder__sum b { font: 800 1.6rem var(--f-display); margin-right: auto; transition: color .2s; }
.builder__sum b.flash { color: var(--red); }

/* Venues */
.venues { background: var(--ink); padding: 56px 0; margin-top: 56px; }
.venue { position: relative; border-radius: var(--radius); padding: 16px; min-height: 130px; display: flex; flex-direction: column; justify-content: end; color: #fff; background: linear-gradient(150deg, #3b3638, #2a2526); overflow: hidden; transition: .3s var(--ease); }
.venue svg { position: absolute; right: 12px; top: 12px; width: 40px; height: 40px; opacity: .35; stroke-width: 1.5; transition: .3s; }
.venue:hover { background: linear-gradient(150deg, var(--red), var(--red-dk)); transform: translateY(-3px); }
.venue:hover svg { opacity: .8; transform: scale(1.1) rotate(-6deg); }
.venue b { font-size: .96rem; line-height: 1.45; }
.venue span { font-size: .76rem; opacity: .7; }

/* Brands */
.brands { display: grid; grid-template-columns: repeat(8, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.brands a { display: grid; place-items: center; height: 84px; margin: 0 -1px -1px 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font: 800 1.02rem var(--f-display); color: #8b8687; transition: .2s; text-align: center; padding: 0 8px; line-height: 1.2; }
.brands a img { max-height: 46px; max-width: 78%; width: auto; height: auto; object-fit: contain; transition: transform .25s var(--ease); }
.brands a:hover { color: var(--red); background: var(--bg-2); }
.brands a:hover img { transform: scale(1.07); }
.brands--all { grid-template-columns: repeat(6, 1fr); margin-top: 24px; }

/* Services */
.svc { border-radius: var(--radius); padding: 26px 22px; background: var(--bg-2); transition: .25s var(--ease); }
.svc:hover { background: var(--ink); color: #fff; transform: translateY(-3px); }
.svc:hover p { color: rgba(255,255,255,.7); }
.svc__n { font: 800 2.6rem var(--f-display); color: var(--red); line-height: 1; }
.svc h3 { margin: 12px 0 6px; font-size: 1.1rem; }
.svc p { font-size: .9rem; color: var(--muted); transition: color .25s; }

/* Projects */
.proj { border-radius: var(--radius); overflow: hidden; position: relative; aspect-ratio: 16 / 10; color: #fff; display: flex; align-items: end; padding: 20px; isolation: isolate; }
.proj::before { content: ""; position: absolute; inset: 0; background: var(--g); z-index: -2; }
.proj::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 35%, rgba(0,0,0,.78)); z-index: -1; }
.proj .proj__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform .6s var(--ease); }
.proj:hover .proj__img { transform: scale(1.05); }
.proj span { font-size: .78rem; background: var(--red); padding: 1px 10px; border-radius: 6px; }
.proj h3 { font-size: 1.1rem; margin-top: 6px; }
.proj > svg { position: absolute; right: 18px; top: 18px; width: 70px; height: 70px; opacity: .35; color: #fff; stroke-width: 1.3; transition: .4s var(--ease); }
.proj:hover > svg { opacity: .6; transform: rotate(-6deg) scale(1.08); }

/* Posts */
.post { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 8px; transition: .25s var(--ease); }
.post:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.post__img { margin: -22px -22px 6px; aspect-ratio: 16 / 9; overflow: hidden; }
.post__img img { width: 100%; height: 100%; object-fit: cover; }
.tag { align-self: start; display: inline-block; font-size: .74rem; font-weight: 700; color: var(--red); background: var(--red-soft); padding: 1px 10px; border-radius: 6px; }
.post h3 { font-size: 1.05rem; }
.post h3 a:hover { color: var(--red); }
.post p { font-size: .9rem; color: var(--muted); flex: 1; }
.post__more { font-weight: 600; color: var(--red); font-size: .9rem; }

/* About band + stats */
.about-band { background: var(--bg-2); margin-top: 56px; padding: 64px 0; }
.about-band__in { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.about-band h2 { margin: 6px 0 14px; }
.about-band p { color: var(--ink-2); margin-bottom: 14px; }
.stats { display: flex; gap: 36px; flex-wrap: wrap; }
.stats b { display: block; font: 800 2.6rem var(--f-display); color: var(--red); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stats span { font-size: .86rem; color: var(--muted); }
.stats--light span { color: rgba(255,255,255,.7); }

/* CTA band */
.cta { margin-top: 56px; margin-bottom: 56px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 32px 36px; border-radius: 20px; color: #fff; background: radial-gradient(circle at 90% 20%, #ff5a5f, var(--red) 40%, var(--red-dk)); }
.cta h2 { margin-bottom: 4px; }
.cta p { opacity: .9; }
.cta__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.cta__btns.center { justify-content: center; }

/* Breadcrumbs */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .84rem; color: var(--muted); padding-top: 18px; }
.crumbs a:hover { color: var(--red); }
.crumbs b { color: var(--ink); font-weight: 500; max-width: 50ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Listing */
.listing { display: grid; grid-template-columns: 250px 1fr; gap: 32px; padding: 20px 0 64px; }
.filters details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.filters summary { font: 700 1rem var(--f-display); cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.filters summary::after { content: "+"; color: var(--muted); }
.filters details[open] summary::after { content: "–"; }
.filters ul { margin-top: 8px; }
.filters li a { display: flex; justify-content: space-between; padding: 4px 10px; border-radius: 8px; font-size: .9rem; color: var(--ink-2); transition: .15s; }
.filters li a:hover { background: var(--bg-2); }
.filters li a.on { background: var(--ink); color: #fff; }
.filters small { color: var(--muted); }
.filters li a.on small { color: rgba(255,255,255,.7); }
.filters__brands { max-height: 300px; overflow: auto; }
.listing__head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.listing__head h1 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.listing__head p { color: var(--muted); }
.sortform label { display: flex; align-items: center; gap: 10px; font-size: .86rem; color: var(--muted); }
.sortform select { padding: 8px 12px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 32px; }
.pager a, .pager b, .pager span { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; border: 1.5px solid var(--line); font-family: var(--f-display); font-weight: 700; }
.pager a:hover { border-color: var(--ink); }
.pager b { background: var(--ink); color: #fff; border-color: var(--ink); }
.pager span { border: 0; }

/* Product page */
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; padding: 20px 0 40px; align-items: start; }
.gallery { position: sticky; top: 140px; }
.gallery__main { position: relative; aspect-ratio: 1; border-radius: 20px; background: linear-gradient(160deg, #fafafa, #ececec); overflow: hidden; cursor: zoom-in; }
.gallery__main img { position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: contain; transition: transform .3s ease, opacity .2s; }
.gallery__main.zoom img { transform: scale(1.8); }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery__thumbs button { width: 76px; height: 76px; border-radius: 12px; border: 2px solid var(--line); background: var(--bg-2); padding: 6px; transition: .15s; }
.gallery__thumbs button.on, .gallery__thumbs button:hover { border-color: var(--red); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pdp__brand { font: 700 .8rem var(--f-display); letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.pdp__type { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 2px; }
.pdp__type a { font-size: .8rem; padding: 3px 10px; border-radius: 99px; background: var(--bg-2); color: var(--ink); }
.pdp__type a:hover { background: var(--red); color: #fff; }
.pdp__info h1 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: 4px 0 10px; }
.pdp__summary { color: var(--ink-2); }
.pdp__price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 18px 0 6px; }
.pdp__price b { font: 800 2.2rem var(--f-display); color: var(--red); }
.pdp__price s { color: var(--muted); }
.pdp__price em { font-style: normal; font-weight: 700; color: #fff; background: #0f8a5f; padding: 0 10px; border-radius: 6px; font-size: .85rem; }
.stock { display: flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; margin-bottom: 18px; }
.stock i { width: 9px; height: 9px; border-radius: 50%; background: #0f8a5f; box-shadow: 0 0 0 4px rgba(15,138,95,.15); }
.stock--pre i { background: #e89a1d; box-shadow: 0 0 0 4px rgba(232,154,29,.15); }
.stock--out i { background: var(--muted); box-shadow: none; }
.pdp__buy { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.pdp__buy .btn { flex: 1; }
.stepper { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; }
.stepper button { width: 42px; height: 48px; font-size: 1.2rem; font-weight: 700; transition: background .15s; }
.stepper button:hover { background: var(--bg-2); }
.stepper input { width: 44px; text-align: center; border: 0; font: 700 1rem var(--f-display); -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-inner-spin-button { display: none; }
.pdp__trust { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; font-size: .86rem; color: var(--ink-2); padding: 16px; background: var(--bg-2); border-radius: var(--radius); }
.pdp-detail { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; padding: 32px 0; border-top: 1px solid var(--line); }
.pdp-detail h2 { font-size: 1.3rem; margin-bottom: 12px; }
.specs { width: 100%; border-collapse: collapse; font-size: .92rem; }
.specs th, .specs td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { width: 42%; font-weight: 600; color: var(--muted); background: var(--bg-2); }
.prose p { margin-bottom: 14px; color: var(--ink-2); }

/* Article */
.article { max-width: 820px; padding: 28px 0 40px; }
.article h1 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin: 10px 0; }
.article__date { color: var(--muted); font-size: .86rem; margin-bottom: 18px; }
.article__img { margin: 20px 0 28px; border-radius: 20px; overflow: hidden; }
.article .prose { font-size: 1.05rem; }

/* About page */
.about-hero { background: radial-gradient(circle at 80% 30%, #4a2224, var(--ink) 60%); color: #fff; padding: 72px 0; margin-top: 18px; }
.about-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 10px 0 14px; }
.about-hero p { max-width: 640px; color: rgba(255,255,255,.8); margin-bottom: 28px; }
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.why div { border-left: 4px solid var(--red); padding: 6px 0 6px 18px; }
.why h3 { font-size: 1.1rem; margin-bottom: 4px; }
.why p { color: var(--muted); font-size: .92rem; }

/* Forms / contact / checkout */
.contact-page, .checkout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.checkout { grid-template-columns: 1.2fr 1fr; }
.contact-list li { display: grid; grid-template-columns: 110px 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .94rem; }
.contact-list b { color: var(--muted); font-weight: 500; }
.contact-list a { color: var(--red); }
.contact__btns { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.formcard { background: #fff; border-radius: 20px; padding: 28px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.formcard h2 { font-size: 1.3rem; margin-bottom: 14px; }
.form label { display: block; margin-bottom: 14px; }
.form label span { display: block; font-size: .86rem; color: var(--muted); margin-bottom: 4px; }
.form input, .form textarea { width: 100%; padding: 11px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; transition: border-color .15s, box-shadow .15s; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(232,52,58,.12); }
.notice { padding: 14px 16px; border-radius: 12px; margin-bottom: 16px; font-size: .94rem; }
.notice--ok { background: #e9f8f1; color: #0b5e41; }
.notice--err { background: var(--red-soft); color: var(--red-dk); }
.summary { background: var(--bg-2); border-radius: 20px; padding: 24px; position: sticky; top: 140px; }
.summary h2 { font-size: 1.2rem; margin-bottom: 10px; }
.summary li { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .88rem; line-height: 1.45; }
.summary li img { width: 52px; height: 52px; object-fit: contain; background: #fff; border-radius: 10px; padding: 4px; }
.summary li b { font-family: var(--f-display); }
.summary li.muted { display: block; }
.summary--done { max-width: 520px; margin: 0 auto 24px; text-align: left; position: static; }
.summary--done li { grid-template-columns: 1fr auto; }
.done { text-align: center; padding-top: 56px; padding-bottom: 72px; }
.done .page-intro { margin-inline: auto; }
.done > p { margin-bottom: 14px; }
.done__icon { width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; font: 800 2.2rem var(--f-display); background: #0f8a5f; color: #fff; animation: pop .6s var(--ease); }
.done__icon--muted { background: var(--ink); font-size: 1.4rem; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }

/* Footer */
.footer { background: var(--ink); color: rgba(255,255,255,.75); padding-top: 52px; font-size: .9rem; }
.footer__in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.footer__logo { display: inline-block; background: #fff; border-radius: 10px; padding: 8px 12px; margin-bottom: 14px; }
.footer__logo img { height: 56px; width: auto; }
.footer__contact { margin-top: 12px; }
.footer__contact li { padding: 2px 0; }
.footer__h { color: #fff; font-size: 1rem; margin-bottom: 10px; }
.footer li a:hover { color: #ff8a8e; }
.footer ul li a { display: inline-block; padding: 3px 0; }
.pay { display: flex; flex-wrap: wrap; gap: 6px; }
.pay span { border: 1px solid rgba(255,255,255,.2); padding: 2px 10px; border-radius: 6px; font-size: .8rem; }
.social { display: flex; gap: 8px; margin-top: 18px; }
.social a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.08); transition: .2s; }
.social a:hover { background: var(--red); color: #fff; }
.footer__bar { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding: 16px 0; font-size: .8rem; }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 10px 26px rgba(37,211,102,.45); transition: transform .2s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ping 2.4s infinite; }
@keyframes ping { 70%, 100% { transform: scale(1.5); opacity: 0; } }

/* Cart drawer */
.drawer { position: fixed; inset: 0; z-index: 80; visibility: hidden; transition: visibility 0s .3s; }
.drawer.open { visibility: visible; transition: none; }
.drawer__bg { position: absolute; inset: 0; background: rgba(0,0,0,.45); opacity: 0; transition: .3s; }
.drawer.open .drawer__bg { opacity: 1; }
.drawer__panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(420px, 100%); background: #fff; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .35s var(--ease); }
.drawer.open .drawer__panel { transform: none; }
.drawer__panel > header { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.drawer__panel h2 { font-size: 1.2rem; }
#cartList { flex: 1; overflow: auto; padding: 8px 20px; }
#cartList li { display: grid; grid-template-columns: 60px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .88rem; line-height: 1.45; animation: rise .3s var(--ease); }
#cartList li img { width: 60px; height: 60px; object-fit: contain; background: var(--bg-2); border-radius: 10px; padding: 6px; }
#cartList li b { color: var(--red); font-family: var(--f-display); }
#cartList .cart-empty { display: block; text-align: center; color: var(--muted); border: 0; padding-top: 48px; }
.qty { display: flex; align-items: center; gap: 6px; font-family: var(--f-display); font-weight: 700; }
.qty button { width: 28px; height: 28px; border-radius: 50%; background: var(--bg-2); font-weight: 700; transition: .15s; }
.qty button:hover { background: var(--ink); color: #fff; }
.drawer__panel > footer { padding: 16px 20px; border-top: 1px solid var(--line); }
.drawer__total { display: flex; justify-content: space-between; align-items: baseline; margin: 12px 0; }
.drawer__total b { font: 800 1.4rem var(--f-display); }
.drawer__note { font-size: .78rem; color: var(--muted); text-align: center; margin-top: 8px; line-height: 1.5; }
.btn svg { width: 1.2em; height: 1.2em; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .86rem; margin: 22px 0 14px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140px); opacity: 0; background: var(--ink); color: #fff; padding: 10px 20px; border-radius: 999px; font-size: .9rem; z-index: 90; transition: transform .35s var(--ease); box-shadow: var(--shadow-lg); }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* Responsive */
@media (max-width: 1100px) {
  .grid--products { grid-template-columns: repeat(4, 1fr); }
  .grid--shop { grid-template-columns: repeat(3, 1fr); }
  .grid--cats, .grid--venues { grid-template-columns: repeat(4, 1fr); }
  .brands { grid-template-columns: repeat(4, 1fr); }
  .builder__in { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .hotline span { display: none; }
  .listing { grid-template-columns: 210px 1fr; gap: 24px; }
}
@media (max-width: 860px) {
  .promo__links { display: none; }
  .promo__in { justify-content: center; text-align: center; font-size: .78rem; }
  .burger { display: flex; }
  .header__in { flex-wrap: wrap; height: auto; padding: 10px 0; gap: 10px 14px; }
  .logo img { height: 44px; }
  .search { order: 5; flex-basis: 100%; max-width: none; }
  .nav { display: none; max-height: 72vh; overflow: auto; }
  .nav.open { display: block; animation: rise .25s var(--ease); }
  .nav__list { flex-direction: column; }
  .nav__item--mob { display: block; }
  .nav__item > a { border-bottom: 1px solid var(--line); padding: 12px 0; }
  .mega { display: none; }
  .slide__in { grid-template-columns: minmax(0, 1fr); min-height: 0; padding: 28px 0 72px; gap: 12px; }
  .slide__art { order: -1; max-width: 300px; }
  .usp { grid-template-columns: repeat(2, 1fr); }
  .grid--products, .grid--shop { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .grid--cats, .grid--venues { grid-template-columns: repeat(3, 1fr); }
  .grid--services, .grid--projects, .grid--posts, .why { grid-template-columns: 1fr; }
  .about-band__in, .footer__in, .pdp, .pdp-detail, .contact-page, .checkout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .brands, .brands--all { grid-template-columns: repeat(3, 1fr); }
  .builder__sum b { margin-right: 0; flex-basis: 100%; }
  .builder__sum .btn { flex: 1; }
  .listing { grid-template-columns: minmax(0, 1fr); }
  .filters { display: flex; flex-wrap: wrap; gap: 8px; }
  .filters details { border: 1.5px solid var(--line); border-radius: 12px; padding: 6px 12px; flex: none; position: relative; }
  /* Phones: the filter lists start folded by CSS alone (the HTML says open for
     desktop). Folding them later from JS made the product grid jump (CLS). */
  .filters details > :not(summary) { display: none; }
  .filters details.expanded { flex-basis: 100%; }
  .filters details.expanded > :not(summary) { display: block; }
  .filters details summary::after { content: "+"; }
  .filters details.expanded summary::after { content: "–"; }
  .filters ul { max-height: 260px; overflow: auto; }
  .gallery, .summary { position: static; }
  .cta { padding: 26px 22px; }
}
@media (max-width: 480px) {
  .grid--cats, .grid--venues { grid-template-columns: repeat(2, 1fr); }
  .usp { grid-template-columns: 1fr; }
  .contact-list li { grid-template-columns: 1fr; gap: 0; }
  .pdp__trust { grid-template-columns: 1fr; }
  .stats { gap: 22px; }
}
/* ---------- Mobile app feel ---------- */
.tabbar, .buybar, .sheet { display: none; }
.sheet__grid svg { stroke-width: 1.6; }

@media (max-width: 860px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .wa-float { display: none; }
  .toast { bottom: calc(80px + env(safe-area-inset-bottom)); }

  /* Bottom tab bar */
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    background: rgba(255,255,255,.96); backdrop-filter: saturate(1.6) blur(12px); border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom); view-transition-name: tabbar; }
  .tabbar a, .tabbar button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; height: 60px; font-size: .68rem; font-weight: 600; color: var(--muted); -webkit-tap-highlight-color: transparent; transition: color .15s, transform .12s; }
  .tabbar svg { width: 24px; height: 24px; }
  .tabbar .on { color: var(--red); }
  .tabbar :active { transform: scale(.9); }
  .tabbar i { position: absolute; top: 6px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--red); color: #fff; font: 700 .66rem/18px var(--f-display); font-style: normal; }
  .tabbar i:empty, .tabbar i[data-zero] { display: none; }
  .tabbar__wa { color: #1eb956 !important; }

  /* Category bottom sheet */
  .sheet { display: block; position: fixed; inset: 0; z-index: 85; visibility: hidden; transition: visibility 0s .3s; }
  .sheet.open { visibility: visible; transition: none; }
  .sheet.open .drawer__bg { opacity: 1; }
  .sheet__panel { position: absolute; left: 0; right: 0; bottom: 0; background: #fff; border-radius: 22px 22px 0 0; padding: 10px 16px calc(20px + env(safe-area-inset-bottom)); max-height: 85vh; overflow: auto; transform: translateY(100%); transition: transform .35s var(--ease); }
  .sheet.open .sheet__panel { transform: none; }
  .sheet__grip { width: 44px; height: 5px; border-radius: 3px; background: var(--line); margin: 0 auto 12px; }
  .sheet h2 { font-size: 1.15rem; margin-bottom: 12px; }
  .sheet__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
  .sheet__grid a { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 14px 6px; border-radius: 14px; background: var(--bg-2); font-size: .8rem; font-weight: 600; line-height: 1.35; transition: transform .12s, background .15s; }
  .sheet__grid a:active { transform: scale(.95); background: var(--red-soft); }
  .sheet__grid svg { width: 32px; height: 32px; color: var(--red); }

  /* Swipe rows: categories, venues, projects, posts, related products */
  .grid--swipe { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; gap: 12px;
    margin-inline: -16px; padding: 4px 16px 12px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .grid--swipe::-webkit-scrollbar { display: none; }
  .grid--swipe > * { flex: none; scroll-snap-align: start; }
  .grid--cats.grid--swipe > * { width: 30%; }
  .grid--venues.grid--swipe > * { width: 42%; }
  .grid--projects.grid--swipe > *, .grid--posts.grid--swipe > * { width: 82%; }
  .grid--products.grid--swipe > * { width: 46%; }
  .grid--services.grid--swipe > * { width: 70%; }
  .brands { grid-template-columns: repeat(4, 1fr) !important; }
  .brands a { height: 64px; font-size: .78rem; }

  /* Sticky buy bar on product pages */
  .buybar { display: flex; align-items: center; gap: 12px; position: fixed; left: 0; right: 0; bottom: calc(60px + env(safe-area-inset-bottom)); z-index: 65;
    background: #fff; border-top: 1px solid var(--line); padding: 10px 16px; box-shadow: 0 -8px 24px rgba(0,0,0,.08);
    transform: translateY(120%); transition: transform .3s var(--ease); }
  .buybar.show { transform: none; }
  .buybar div { flex: 1; min-width: 0; }
  .buybar small { display: block; font-size: .74rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .buybar b { font: 800 1.15rem var(--f-display); color: var(--red); }

  /* Gallery swipes; dots show position */
  .gallery__main { touch-action: pan-y; cursor: default; }
  .gallery__thumbs { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }

  /* Tap feedback */
  .card:active, .cat:active, .venue:active, .proj:active, .post:active, .svc:active { transform: scale(.98); }
  .btn, .card__add, .bopt, .tabs button { -webkit-tap-highlight-color: transparent; }
  .card:hover { transform: none; box-shadow: none; border-color: var(--line); }
  .card:hover .card__img img { transform: none; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; width: calc(100% + 32px); }
  .tabs button { flex: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.fallback-title { font-size: 1.2rem; margin: 8px 0 14px; }
.empty p { margin-bottom: 4px; }
.card__price b.ask, .pdp__price b.ask { color: var(--ink); font-family: var(--f-body); font-weight: 700; }
.card__price b.ask { font-size: .95rem; }
.card__add--ask { background: #e7f9ee; color: #128c4a; }
.card__add--ask:hover { background: #25d366; color: #fff; }
.pdp__askbtn { margin-bottom: 12px; }
/* Brand photos come on white; multiply blends that white into the card's grey */
.card__img img, .gallery__main img, .gallery__thumbs img, .suggest img, #cartList li img, .summary li img, .bopt img { mix-blend-mode: multiply; }
.pdp__price b.ask { font-size: 1.5rem; }

/* Product-type wall: photo + name + count */
.types { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px 18px; }
.type { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: var(--radius); transition: background .2s, transform .2s var(--ease); }
.type:hover { background: var(--bg-2); }
.type__img { flex: none; width: 84px; height: 84px; display: grid; place-items: center; }
.type__img img { width: 84px; height: 84px; object-fit: contain; mix-blend-mode: multiply; transition: transform .3s var(--ease); }
.type:hover .type__img img { transform: scale(1.08); }
.type__img svg { width: 48px; height: 48px; color: var(--ink); stroke-width: 1.5; }
.type__txt b { display: block; font-size: 1rem; line-height: 1.4; }
.type__txt small { color: var(--muted); font-size: .82rem; }
.type:hover b { color: var(--red); }
.listing__main .types { grid-template-columns: repeat(4, 1fr); margin-bottom: 22px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.listing__main .type__img, .listing__main .type__img img { width: 64px; height: 64px; }
.sheet__grid img { width: 56px; height: 56px; object-fit: contain; mix-blend-mode: multiply; }
@media (max-width: 1100px) { .types { grid-template-columns: repeat(3, 1fr); } .listing__main .types { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) {
  .types, .listing__main .types { grid-template-columns: repeat(2, 1fr); gap: 4px 8px; }
  .type { gap: 10px; padding: 8px 4px; }
  .type__img, .type__img img, .listing__main .type__img, .listing__main .type__img img { width: 56px; height: 56px; }
  .type__txt b { font-size: .88rem; }
  .type:active { background: var(--bg-2); transform: scale(.98); }
}

/* ---------- Hero product showcase ---------- */
/* One product at a time under the spotlight, details and thumbnails below.
   Nothing here may create a stacking context around the photos (no perspective,
   isolation or filters on ancestors): they multiply into the dark slide, which
   is what makes white photo backgrounds disappear. */
.show { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "stage stage" "info rail";
  align-items: center; gap: 4px 18px; width: 100%; max-width: 640px; justify-self: end; }
.show__stage { grid-area: stage; position: relative; width: 100%; aspect-ratio: 16 / 10; }
.show__light { position: absolute; inset: 0 2%; border-radius: 50%;
  background: radial-gradient(closest-side, #faf9f9 0%, #ece8e8 60%, rgba(196,34,42,.30) 84%, rgba(196,34,42,0) 100%);
  animation: breathe 7s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.03); opacity: .93; } }
.show__floor { position: absolute; left: 28%; right: 28%; bottom: 8%; height: 7%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0,0,0,.32), rgba(0,0,0,0)); }
.show__item { position: absolute; left: 22%; right: 22%; top: 8%; bottom: 10%; display: grid; place-items: center; z-index: 2;
  mix-blend-mode: multiply; opacity: 0; transform: translateY(16px) scale(.92); pointer-events: none;
  transition: opacity .28s ease, transform .3s ease; }
/* the incoming product waits until the outgoing one has gone: no overlap */
.show__item.on { opacity: 1; transform: none; pointer-events: auto;
  transition: opacity .5s var(--ease) .26s, transform .7s var(--ease) .26s; }
.show__item img { width: 100%; height: 100%; object-fit: contain; transition: transform .45s var(--ease); }
.show__stage.tilting .show__item.on img { transition: transform .12s linear; }
/* details: plain text on the dark slide */
.show__info { grid-area: info; position: relative; height: 88px; min-width: 0; align-self: center; }
.show__card { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; color: #fff;
  opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .25s, transform .3s; }
.show__card.on { opacity: 1; transform: none; pointer-events: auto; transition: opacity .45s .26s, transform .55s var(--ease) .26s; }
.show__brand { font: 700 .7rem var(--f-display); letter-spacing: .16em; color: #ff8a8e; text-transform: uppercase; }
.show__name { font-size: 1.05rem; line-height: 1.35; margin: 1px 0 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.show__price { font: 800 1.2rem var(--f-display); }
.show__go { position: absolute; right: 0; bottom: 4px; font-size: .82rem; font-weight: 600; color: #fff; border-bottom: 1px solid rgba(255,255,255,.4); }
.show__go:hover { color: #ff8a8e; border-color: #ff8a8e; }
.show__rail { grid-area: rail; display: flex; gap: 8px; max-width: 100%; overflow-x: auto; scrollbar-width: none; padding: 4px; }
.show__rail::-webkit-scrollbar { display: none; }
.show__thumb { position: relative; flex: none; width: 58px; height: 58px; border-radius: 14px; padding: 5px; overflow: hidden;
  background: #f1eeee; border: 2px solid transparent; transition: transform .2s var(--ease), border-color .2s, background .2s; }
.show__thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.show__thumb:hover { transform: translateY(-3px); background: #fff; }
.show__thumb.on { border-color: var(--red); background: #fff; }
.show__thumb i { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--red); }
.show.playing .show__thumb.on i { animation: progress var(--dur, 3.2s) linear forwards; }
@keyframes progress { to { width: 100%; } }
@media (max-width: 1100px) { .show { grid-template-columns: 1fr; grid-template-areas: "stage" "info" "rail"; justify-items: center; } .show__info { width: 100%; max-width: 420px; } }
@media (max-width: 860px) {
  .show { max-width: 420px; justify-self: center; order: -1; }
  .show__info { height: 76px; }
  .show__go { bottom: 2px; }
  .show__thumb { width: 52px; height: 52px; }
}

/* The shop's own brands, shown above the other brands */
.own-brands { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-bottom: 16px; }
.own-brand { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 22px 24px; border-radius: var(--radius); color: #fff;
  background: radial-gradient(circle at 85% 20%, #ff5a5f, var(--red) 45%, var(--red-dk)); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s; }
.own-brand::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 140px; height: 140px; border-radius: 50%; border: 18px solid rgba(255,255,255,.12); }
.own-brand:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.own-brand__tag { align-self: start; font-size: .72rem; font-weight: 700; background: rgba(0,0,0,.25); padding: 1px 10px; border-radius: 999px; }
.own-brand b { font: 800 1.7rem var(--f-display); letter-spacing: .02em; margin-top: 6px; }
.own-brand small { opacity: .85; }

/* real brand logos */
.own-brand__logo { display: inline-grid; place-items: center; align-self: start; margin: 10px 0 4px; padding: 8px 14px; background: #fff; border-radius: 12px; min-height: 56px; }
.own-brand__logo img { max-height: 40px; max-width: 170px; width: auto; height: auto; object-fit: contain; }
.listing__title { display: flex; align-items: center; gap: 16px; }
.brand-logo { display: grid; place-items: center; padding: 8px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
/* fixed box: the logo cannot move the title when it loads (no layout shift) */
.brand-logo img { width: 150px; height: 48px; object-fit: contain; }

/* ---------- share ---------- */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 14px 0 4px; }
.share__label { font-size: .85rem; color: var(--muted); margin-right: 2px; }
.share__btn { font: 600 .8rem var(--f-body); padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.share__btn[hidden] { display: none; }
/* phones: native share sheet + Messenger app link; computers: neither (decided before paint, no layout shift) */
@media (pointer: fine) { .share__btn--native, .share__btn--msg { display: none; } }
.share__btn:hover { border-color: var(--ink); }
.share__btn--wa { color: #128c4b; } .share__btn--wa:hover { background: #25d366; border-color: #25d366; color: #fff; }
.share__btn--msg { color: #0866ff; } .share__btn--msg:hover { background: #0866ff; border-color: #0866ff; color: #fff; }
.share__btn--fb { color: #1877f2; } .share__btn--fb:hover { background: #1877f2; border-color: #1877f2; color: #fff; }
.share__btn--native { background: var(--red); border-color: var(--red); color: #fff; }
.listing .share { margin: -4px 0 14px; }

.footer__social { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 0; margin: 10px 0 0; font-size: .85rem; }
.footer__social a { opacity: .8; } .footer__social a:hover { opacity: 1; }
