/* The template's look, approved on 2026-10-26 (docs/demo). Every colour, the font and the corners come from /identity.css
   (the company's tokens); the three home layouts are html[data-layout="split|full|gallery"]. No colour is written here. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f); font-size: 1rem; line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: var(--p-text); }
h1, h2, h3 { font-weight: 600; line-height: 1.2; text-wrap: balance; margin: 0; }
p { margin: 0; }
table { border-collapse: collapse; }
:focus-visible { outline: 2px solid var(--p-text); outline-offset: 2px; }
.wrap { max-width: 1240px; margin-inline: auto; padding-inline: max(20px, env(safe-area-inset-left, 0px)) max(20px, env(safe-area-inset-right, 0px)); }
.num { font-variant-numeric: tabular-nums; }
a.num, .num a { direction: ltr; unicode-bidi: isolate; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 20; background: var(--p); color: var(--onp); padding: 8px 14px; border-radius: var(--r); }
.skip:focus { top: 12px; }
.eyebrow { font-size: .8rem; letter-spacing: .08em; color: var(--p-text); font-weight: 600; }
html[lang="en"] .eyebrow { text-transform: uppercase; }
.h3 { font-size: 1.05rem; margin-top: 8px; }

/* pictures: a placeholder in the company's tones when a picture is missing */
.ph { display: block; background: linear-gradient(135deg, var(--ln), var(--sf)); }
img, .ph { border-radius: var(--r); object-fit: cover; background-color: var(--ln); }

/* buttons */
.btns { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 20px; border-radius: var(--r-btn); font-size: .95rem; font-weight: 600; text-decoration: none; border: 1px solid transparent; line-height: 1.3; }
.btn-p { background: var(--p); color: var(--onp); }
.btn-o { border-color: var(--ln); color: var(--ink); }
.btn:hover { filter: brightness(1.06); }
.more { font-size: .92rem; white-space: nowrap; text-decoration: none; }
.more:hover { text-decoration: underline; }

/* header */
.top { background: var(--sf); border-bottom: 1px solid var(--ln); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; }
.top-in { display: flex; align-items: center; gap: 22px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.15rem; white-space: nowrap; }
.logo img { width: auto; height: 36px; border-radius: 0; background: none; object-fit: contain; }
.links { display: flex; align-items: center; gap: 20px; margin-inline-start: auto; font-size: .93rem; }
.links a { color: var(--mut); text-decoration: none; }
.links a:hover, .links a[aria-current] { color: var(--ink); }
.links a[aria-current] { font-weight: 600; }
.links .lang { padding-inline-start: 14px; border-inline-start: 1px solid var(--ln); }
.top-wa { padding: 8px 16px; }
.menu-btn { display: none; margin-inline-start: auto; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--ink); }
.bars, .bars::before, .bars::after { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.bars { position: relative; }
.bars::before, .bars::after { content: ""; position: absolute; inset-inline: 0; }
.bars::before { top: -7px; }
.bars::after { top: 7px; }

/* sections */
.sec { padding-block: 44px; display: grid; gap: 22px; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.sec-head h2 { font-size: 1.65rem; }
.page-head { padding-block: 44px 8px; gap: 10px; }
.page-head h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.page-head p { color: var(--mut); max-width: 60ch; font-size: 1.05rem; }
.card { color: inherit; text-decoration: none; }

/* hero, three layouts */
.hero { display: grid; gap: 28px; padding-block: 48px; }
.hero-text { display: grid; gap: 16px; align-content: center; }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
.hero-text > p { color: var(--mut); max-width: 46ch; font-size: 1.08rem; }
.hero-media { display: grid; gap: 10px; }
.hero-media img, .hero-media .ph { width: 100%; height: 100%; aspect-ratio: 4 / 3; }
.hero-media .alt { display: none; }
.hero-text-only { padding-block: 72px; }

html[data-layout="split"] .hero:not(.hero-text-only) { grid-template-columns: 1fr 1.15fr; align-items: center; }

html[data-layout="full"] .hero:not(.hero-text-only) { max-width: none; padding: 0; position: relative; }
html[data-layout="full"] .hero-media img { aspect-ratio: 21 / 9; border-radius: 0; }
html[data-layout="full"] .hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(10 12 14 / .78), rgb(10 12 14 / .05) 65%); pointer-events: none; }
html[data-layout="full"] .hero:not(.hero-text-only) .hero-text { position: absolute; inset-block-end: 0; inset-inline-start: max(20px, calc((100% - 1240px) / 2 + 20px)); z-index: 1; padding-block: 40px; max-width: 36rem; color: #fff; }
html[data-layout="full"] .hero:not(.hero-text-only) .hero-text > p { color: rgb(255 255 255 / .85); }
html[data-layout="full"] .hero:not(.hero-text-only) .eyebrow { color: var(--s); }
html[data-layout="full"] .hero:not(.hero-text-only) .btn-o { border-color: rgb(255 255 255 / .55); color: #fff; }

html[data-layout="gallery"] .hero h1 { font-size: clamp(2.3rem, 6.2vw, 4.8rem); max-width: 16ch; }
html[data-layout="gallery"] .hero-text { grid-template-columns: 1fr auto; align-items: end; column-gap: 32px; }
html[data-layout="gallery"] .hero-text > :not(h1, .btns) { grid-column: 1 / -1; }
html[data-layout="gallery"] .hero-text .btns { grid-row: 2; grid-column: 2; }
html[data-layout="gallery"] .hero-media:has(.alt) { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 16 / 7.5; }
html[data-layout="gallery"] .hero-media:has(.alt) img { aspect-ratio: auto; }
html[data-layout="gallery"] .hero-media .main:has(~ .alt) { grid-row: span 2; }
html[data-layout="gallery"] .hero-media .alt { display: block; }
html[data-layout="gallery"] .hero-media:not(:has(.alt)) img { aspect-ratio: 21 / 9; }

/* categories */
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.cat { display: grid; gap: 8px; }
.cat img, .cat .ph { width: 100%; aspect-ratio: 1; }
.cat-t { display: grid; gap: 1px; }
.cat-t b { font-weight: 600; font-size: 1.05rem; }
.cat-t span { font-size: .86rem; color: var(--mut); }
html[data-layout="full"] .cat { position: relative; }
html[data-layout="full"] .cat img, html[data-layout="full"] .cat .ph { aspect-ratio: 3 / 4; }
html[data-layout="full"] .cat::after { content: ""; position: absolute; inset: 0; border-radius: var(--r); background: linear-gradient(to top, rgb(10 12 14 / .72), transparent 55%); }
html[data-layout="full"] .cat-t { position: absolute; inset-inline: 16px; inset-block-end: 14px; z-index: 1; color: #fff; }
html[data-layout="full"] .cat-t span { color: rgb(255 255 255 / .82); }
html[data-layout="gallery"] .pg-home .cats { grid-template-columns: 1fr 1fr; gap: 0 32px; }
html[data-layout="gallery"] .pg-home .cat { grid-template-columns: 64px 1fr; align-items: center; gap: 16px; padding-block: 14px; border-bottom: 1px solid var(--ln); }
html[data-layout="gallery"] .pg-home .cat-t { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
html[data-layout="gallery"] .pg-home .cat-t b { font-size: 1.35rem; }

/* products */
.prods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.prods.grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.prod { display: grid; gap: 10px; align-content: start; }
.prod img, .prod .ph { width: 100%; aspect-ratio: 1; }
.prod-t { display: grid; gap: 3px; }
.prod-t small { font-size: .75rem; letter-spacing: .05em; color: var(--p-text); font-weight: 600; }
.prod-t b { font-weight: 600; font-size: 1rem; line-height: 1.35; }
.prod-t .spec { font-size: .85rem; color: var(--mut); }
.prod-t .no { font-size: .75rem; color: var(--mut); }
.prod:hover b { text-decoration: underline; text-underline-offset: 3px; }
html[data-layout="full"] .pg-home .prods { grid-template-columns: 1fr 1fr; }
html[data-layout="full"] .pg-home .prod { grid-template-columns: 132px 1fr; align-items: center; gap: 16px; padding: 12px; background: var(--sf); border: 1px solid var(--ln); border-radius: var(--r); }
html[data-layout="gallery"] .pg-home .prod img, html[data-layout="gallery"] .pg-home .prod .ph { aspect-ratio: 3 / 4; }
html[data-layout="gallery"] .pg-home .prod:nth-child(even) { margin-top: 36px; }
html[data-layout="gallery"] .pg-home .prod-t b { font-size: 1.15rem; }

/* filters */
.filters { display: grid; gap: 10px; padding-block: 8px; }
.filter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.filter > span { font-size: .85rem; color: var(--mut); min-width: 5rem; }
.chip { padding: 5px 14px; border: 1px solid var(--ln); border-radius: var(--r-btn); color: var(--ink); text-decoration: none; font-size: .9rem; background: var(--sf); }
.chip[aria-current] { background: var(--p); border-color: var(--p); color: var(--onp); }
.clear { font-size: .88rem; justify-self: start; }
.count { font-size: .85rem; color: var(--mut); }
.empty { color: var(--mut); padding-block: 40px; }

/* about */
.about { grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.about img, .about .ph { width: 100%; aspect-ratio: 16 / 10; }
.about-t { display: grid; gap: 14px; }
.about-t h2 { font-size: 1.75rem; }
.about-t > p { color: var(--mut); max-width: 62ch; }
.about:not(:has(img)) { grid-template-columns: 1fr; }
.about-page { align-items: start; }
.about-page .about-t > p { color: var(--ink); }
.stats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 6px; }
.stats div { display: grid; }
.stats b { font-size: 1.95rem; color: var(--p-text); font-weight: 600; line-height: 1.1; }
.stats span { font-size: .85rem; color: var(--mut); }
html[data-layout="full"] .pg-home .about img { order: 2; }
html[data-layout="gallery"] .pg-home .about { grid-template-columns: 1.4fr 1fr; }

/* reviews */
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.review { margin: 0; padding: 20px; background: var(--sf); border: 1px solid var(--ln); border-radius: var(--r); display: grid; gap: 10px; align-content: start; }
.review blockquote { margin: 0; color: var(--ink); }
.review figcaption { font-size: .88rem; color: var(--mut); font-weight: 600; }
.stars { color: var(--p-text); letter-spacing: 2px; }

/* contact */
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.contact-card { display: grid; gap: 4px; align-content: start; padding: 18px; background: var(--sf); border: 1px solid var(--ln); border-radius: var(--r); }
.contact-card small { font-size: .8rem; color: var(--mut); }
.contact-card a, .contact-card span { font-weight: 600; justify-self: start; }
.contact-more { grid-template-columns: 1fr 1.4fr; align-items: start; gap: 36px; }
.hours { width: 100%; max-width: 26rem; }
.hours th, .hours td { text-align: start; padding: 8px 0; border-bottom: 1px solid var(--ln); font-weight: 400; }
.hours th { color: var(--mut); }
.map { display: grid; gap: 10px; }
.map iframe { width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: var(--r); background: var(--ln); }
.contact-more:not(:has(.map)) { grid-template-columns: 1fr; }
.soon p { color: var(--mut); }

/* one product */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; padding-block: 18px 0; font-size: .86rem; color: var(--mut); }
.crumbs a { color: var(--mut); }
.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; padding-block: 22px 40px; align-items: start; }
.gallery { display: grid; gap: 10px; position: sticky; top: calc(84px + env(safe-area-inset-top, 0px)); }
.gal-main { width: 100%; aspect-ratio: 1; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; }
.thumb { display: block; border-radius: var(--r); outline-offset: 2px; }
.thumb img { width: 100%; aspect-ratio: 1; opacity: .7; }
.thumb[aria-current] img, .thumb:hover img { opacity: 1; }
.thumb[aria-current] { outline: 2px solid var(--p); }
.info { display: grid; gap: 14px; align-content: start; }
.info h1 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.info > p { max-width: 62ch; }
.avail { font-size: .88rem; font-weight: 600; color: var(--p-text); }
.avail.no { color: var(--mut); }
.specs { width: 100%; }
.specs th, .specs td { text-align: start; padding: 9px 0; border-bottom: 1px solid var(--ln); vertical-align: top; }
.specs th { color: var(--mut); font-weight: 400; width: 38%; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 4px 12px; border: 1px solid var(--ln); border-radius: var(--r-btn); font-size: .88rem; }
.feats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.feats li { display: flex; align-items: center; gap: 10px; font-size: .92rem; }
.feats svg { width: 26px; height: 26px; flex: none; color: var(--p-text); fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.wa { justify-self: start; margin-top: 6px; }

/* footer */
.foot { background: var(--sf); border-top: 1px solid var(--ln); margin-top: 32px; }
.foot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-block: 32px; }
.foot-grid div { display: grid; gap: 4px; align-content: start; }
.foot-grid small { font-size: .8rem; color: var(--mut); }
.foot-grid b, .foot-grid a { font-weight: 600; font-size: .95rem; justify-self: start; }
.foot-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 20px; padding-block: 16px 24px; border-top: 1px solid var(--ln); font-size: .84rem; color: var(--mut); }
.foot-bar .logo { font-size: .95rem; }
.foot-bar .logo img { height: 26px; }
.foot-text { flex-basis: 100%; order: 5; max-width: 70ch; }
.social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px; text-transform: capitalize; }

/* narrower screens */
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .top-wa { display: none; }
  .links { display: none; position: absolute; inset-inline: 0; top: 100%; background: var(--sf); border-bottom: 1px solid var(--ln); flex-direction: column; align-items: stretch; gap: 0; padding: 8px max(20px, env(safe-area-inset-left, 0px)) 16px; }
  .links a { padding: 12px 0; border-bottom: 1px solid var(--ln); font-size: 1rem; }
  .links .lang { border-inline-start: 0; padding-inline-start: 0; border-bottom: 0; }
  .top[data-open] .links { display: flex; }
  html[data-layout="split"] .hero:not(.hero-text-only) { grid-template-columns: 1fr; }
  html[data-layout="split"] .hero-media { order: -1; }
  html[data-layout="full"] .hero-media img { aspect-ratio: 4 / 5; }
  html[data-layout="gallery"] .hero-text { grid-template-columns: 1fr; }
  html[data-layout="gallery"] .hero-text .btns { grid-row: auto; grid-column: auto; }
  html[data-layout="gallery"] .hero-media:has(.alt) { aspect-ratio: 4 / 3.4; }
  html[data-layout="gallery"] .pg-home .cats { grid-template-columns: 1fr; }
  html[data-layout="gallery"] .pg-home .prod:nth-child(even) { margin-top: 0; }
  .prods, html[data-layout="full"] .pg-home .prods { grid-template-columns: 1fr 1fr; }
  .about, html[data-layout="gallery"] .pg-home .about, .contact-more, .product { grid-template-columns: 1fr; }
  html[data-layout="full"] .pg-home .about img { order: 0; }
  .gallery { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .sec { padding-block: 32px; }
  html[data-layout="full"] .hero:not(.hero-text-only) .hero-text { padding-block: 24px; inset-inline-end: 20px; }
  html[data-layout="full"] .pg-home .prods { grid-template-columns: 1fr; }
  html[data-layout="full"] .pg-home .prod { grid-template-columns: 96px 1fr; }
  .cats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .filter > span { flex-basis: 100%; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
