
/* Layout: a commercial-equipment store, not a landing page. A department bar like the aisles of the shop, white
   product wells like the showroom floor, prices set like shelf labels in a condensed signage face, and a yellow
   price tag reserved for the one thing that is really on offer: the used and exhibition equipment. */
:root {
  --page: #f1f2f0;       /* the floor: a neutral steel grey, no warmth added */
  --surface: #ffffff;
  --well: #ffffff;       /* where a product photo sits */
  --ink: #141a16;
  --muted: #59625b;
  --line: #d6dbd7;
  --line-strong: #141a16;
  --green: #1c6a38;      /* the shop's colour (Jasmine's leaf); the panel's «Apariencia» may change it */
  --green-hover: #155a2e;
  --green-deep: #0f3a20; /* the store bar */
  --on-green: #ffffff;
  --green-tint: #e4efe7;
  --tag: #ffd23f;        /* a shelf price tag: offers only */
  --tag-ink: #141a16;
  --out: #a3261d;

  --f-sign: "Barlow Condensed", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Arial Narrow", sans-serif;
  --f-text: "Barlow", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --r: 4px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --page: #0f1311; --surface: #171c19; --well: #ffffff; --ink: #e9ede9; --muted: #9ba59d; --line: #2b332e; --line-strong: #e9ede9;
    --green: #5cc07e; --green-hover: #74cf93; --green-deep: #0a2214; --on-green: #07140c; --green-tint: #17291e;
    --tag: #ffd23f; --tag-ink: #141a16; --out: #ff8f86;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --page: #0f1311; --surface: #171c19; --well: #ffffff; --ink: #e9ede9; --muted: #9ba59d; --line: #2b332e; --line-strong: #e9ede9;
  --green: #5cc07e; --green-hover: #74cf93; --green-deep: #0a2214; --on-green: #07140c; --green-tint: #17291e;
  --tag: #ffd23f; --tag-ink: #141a16; --out: #ff8f86;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 16px/1.5 var(--f-text); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 40; background: var(--green-deep); }
img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h1 { font: 700 clamp(2rem, 3.6vw, 2.9rem)/1.02 var(--f-sign); }
h2 { font: 700 clamp(1.45rem, 2.2vw, 1.85rem)/1.05 var(--f-sign); }
h3 { font: 700 1.3rem/1.1 var(--f-sign); }
p { margin: 0; }
.wrap { max-width: 1280px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.lede { color: var(--muted); font-size: 1.08rem; max-width: 66ch; margin-top: 8px; }
.fine { font-size: .88rem; color: var(--muted); margin-top: 16px; max-width: 72ch; }

/* buttons: plain rectangles, one primary per place */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: var(--r);
  border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--ink); font: 600 .98rem var(--f-text); text-decoration: none;
  cursor: pointer; touch-action: manipulation; user-select: none; -webkit-user-select: none; transition: transform 120ms cubic-bezier(.23,1,.32,1); }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--green); border-color: var(--green); color: var(--on-green); }
.btn-quiet { border-color: transparent; background: transparent; color: var(--muted); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--green-hover); border-color: var(--green-hover); }
  .btn:not(.btn-primary):hover { background: var(--page); }
}
.row { display: flex; flex-wrap: wrap; gap: 10px; }

/* header: the facts line, the search, the departments */
.facts-bar { background: var(--green-deep); color: #e3eee6; font-size: .86rem; }
.facts-bar .wrap { display: flex; gap: 6px 22px; flex-wrap: wrap; padding-block: 7px; }
.facts-bar a { color: #ffffff; font-weight: 600; }
.head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: var(--surface); border-bottom: 1px solid var(--line); }
.head-main { display: flex; align-items: center; gap: 18px; padding-block: 10px; }
.brand { flex: none; display: block; background: #ffffff; border-radius: var(--r); padding: 2px 6px; }
.brand img { height: 46px; width: auto; }
.head-search { flex: 1; display: flex; max-width: 620px; }
.head-search input { flex: 1; min-width: 0; height: 44px; border: 1.5px solid var(--line-strong); border-right: 0; border-radius: var(--r) 0 0 var(--r);
  background: var(--surface); color: var(--ink); padding: 0 14px; font: 16px var(--f-text); }
.head-search button { border-radius: 0 var(--r) var(--r) 0; }
.head-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.head-links a { padding: 8px 10px; text-decoration: none; font-weight: 600; color: var(--muted); }
.head-links a[aria-current] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--green); }
.quote-link { position: relative; }
#head-links { display: contents; }
/* the language switch: three plain links, the current one marked */
.lang { display: inline-flex; margin-left: 6px; border: 1.5px solid var(--line); border-radius: var(--r); overflow: hidden; }
.lang a { padding: 6px 9px !important; font-size: .85rem; font-weight: 700; color: var(--muted); text-decoration: none; }
.lang a + a { border-left: 1px solid var(--line); }
.lang a[aria-current] { background: var(--ink); color: var(--surface); }
:lang(zh) h1, :lang(zh) h2, :lang(zh) h3 { letter-spacing: 0; }
:lang(zh) .st { letter-spacing: 0; }
.count[hidden] { display: none; }
.count { display: inline-block; min-width: 22px; height: 22px; margin-left: 6px; padding: 0 6px; border-radius: 11px; background: var(--tag); color: var(--tag-ink);
  font: 700 .78rem/22px var(--f-text); text-align: center; vertical-align: 1px; }
#menu-btn { display: none; }
.depts-bar { border-top: 1px solid var(--line); }
.depts-nav { list-style: none; margin: 0; padding: 0; display: flex; }
.dn { position: relative; }
.dn > a { display: block; padding: 11px 14px; font: 700 1.06rem var(--f-sign); text-decoration: none; letter-spacing: .01em; white-space: nowrap; }
.dn > a[aria-current] { box-shadow: inset 0 -3px 0 var(--green); color: var(--green); }
.dn-menu { display: none; position: absolute; left: 0; top: 100%; z-index: 35; min-width: 240px; list-style: none; margin: 0; padding: 6px 0;
  background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--green); box-shadow: 0 12px 28px -12px rgba(20, 26, 22, .35); }
.dn-menu a { display: block; padding: 8px 16px; text-decoration: none; }
@media (hover: hover) and (pointer: fine) {
  .dn:hover .dn-menu, .dn:focus-within .dn-menu { display: block; }
  .dn > a:hover, .dn-menu a:hover, .head-links a:hover { color: var(--green); }
  .dn-menu a:hover { background: var(--green-tint); }
}
@media (max-width: 1080px) { .dn > a { padding: 11px 10px; font-size: 1rem; } }
@media (max-width: 920px) {
  .head-main { flex-wrap: wrap; gap: 10px; }
  .head-search { order: 3; flex-basis: 100%; max-width: none; }
  .head-links { margin-left: auto; }
  .head-links .hl-page { display: none; }
  #menu-btn { display: inline-flex; }
  .depts-bar { display: none; }
  .menu-open .depts-bar { display: block; }
  .depts-nav { flex-direction: column; padding-bottom: 8px; }
  .dn > a { padding: 12px 0; font-size: 1.15rem; border-bottom: 1px solid var(--line); }
  .dn-menu { display: block; position: static; border: 0; box-shadow: none; padding: 0 0 8px 12px; min-width: 0; background: none; }
  .dn-menu a { padding: 7px 0; color: var(--muted); }
  .menu-open .mobile-pages { display: flex; }
}
.mobile-pages { display: none; gap: 16px; padding: 10px 0; font-weight: 600; }
@media (max-width: 920px) {
  .facts-bar .fb-extra { display: none; }
  .brand img { height: 40px; }
  #menu-btn { min-height: 40px; padding: 0 12px; }
  .head-links .quote-link { padding: 8px 4px; }
}
/* the eighth tile of the department grid: the search, for what has no department of its own */
.dept-find { display: grid; align-content: center; gap: 12px; padding: 22px; background: var(--green-tint); }
.dept-find p { color: var(--muted); }
.dept-find .search-wide { margin: 0; }
.directions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.contact-card .directions .btn { min-height: 38px; padding: 0 12px; font-size: .92rem; }
.btn-ghost-light { background: transparent; border-color: #ffffff; color: #ffffff; }
.store .directions { margin-top: 0; }

/* product wells and cards */
.well { position: relative; display: grid; place-items: center; aspect-ratio: 1; max-width: 100%; background: var(--well); overflow: hidden; }
/* The photo is sized inside its box, not padded (2026-11-21): a percentage padding on it was worked out from the photo's
   own pixel width — 45 px each side of a 216 px box for a 752 px photo — so every product stood at half its box. */
.well img { width: 88%; height: 88%; object-fit: contain; }
.well.photo img { width: 100%; height: 100%; object-fit: cover; }
.no-photo { font: 600 1.05rem var(--f-sign); color: #6b746d; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.card { display: grid; grid-template-rows: auto 1fr auto; gap: 8px; padding: 12px 14px 14px; background: var(--surface); text-decoration: none; color: inherit; min-width: 0; }
.card .well { margin: -12px -14px 4px; }
.card-txt { display: grid; gap: 3px; align-content: start; min-width: 0; }
.card-state { display: flex; flex-wrap: wrap; gap: 4px 10px; min-height: 0; }
.card-state:empty { display: none; }
.card-name { font-weight: 600; line-height: 1.3; }
.card-line { font-size: .9rem; color: var(--muted); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.card.is-out .well img { opacity: .5; }
.card:active { background: var(--page); }
@media (hover: hover) and (pointer: fine) { .card:hover .card-name { color: var(--green); text-decoration: underline; } }
.st { font: 700 .74rem var(--f-text); letter-spacing: .02em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 5px; }
.st::before { content: ""; width: 8px; height: 8px; border-radius: 1px; background: currentColor; }
.st-new { color: var(--green); }
.st-semi { color: var(--muted); }
.st-offer { color: var(--ink); }
.st-offer::before { background: var(--tag); box-shadow: 0 0 0 1px var(--tag-ink); }
.st-out { color: var(--out); }
.st-few { color: var(--ink); }
.st-few::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--out); }
.st-order { color: var(--green); }
.volts { display: flex; gap: 4px; }
.volt { font: 600 .76rem var(--f-text); color: var(--muted); border: 1px solid var(--line); border-radius: 2px; padding: 1px 5px; font-variant-numeric: tabular-nums; }

/* prices, like shelf labels */
.price { display: inline-flex; align-items: baseline; gap: 5px; flex-wrap: wrap; font-variant-numeric: tabular-nums; }
.price .n { font: 700 1.5rem/1 var(--f-sign); letter-spacing: .01em; }
.price .from, .price .unit { font-size: .85rem; color: var(--muted); font-weight: 600; }
.price.ask { font-weight: 600; color: var(--muted); }
.price.tag { background: var(--tag); color: var(--tag-ink); padding: 4px 8px 3px; border-radius: 2px; }
.price.tag .from, .price.tag .unit { color: var(--tag-ink); }
.price.big .n { font-size: clamp(2.4rem, 4.2vw, 3.2rem); }
.price.big.tag { padding: 8px 14px 6px; }

/* the front door: one banner of real products standing on the floor, two real offers beside it */
.hero { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 1px; margin-top: 18px;
  background: var(--line); border: 1px solid var(--line); }
.hero-main { grid-row: span 2; display: grid; gap: 22px; align-content: space-between; padding: 30px 28px 0; background: var(--surface); min-width: 0; }
.hero-copy { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 10px 32px; align-items: end; min-width: 0; }
.hero-copy h1 { font-size: clamp(2.3rem, 4vw, 3.5rem); grid-row: span 2; }
.hero-copy > p { color: var(--muted); font-size: 1.02rem; }
.hero-copy .row { grid-column: 1 / -1; }
.hero-where { grid-column: 1 / -1; font-size: .9rem; font-weight: 600; color: var(--ink) !important; }
/* the products stand on one floor line, each in the same tall box, at a size you can see */
.hero-floor { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end; gap: 10px; margin: 0 -28px; padding: 20px 20px 0;
  background: var(--well); border-top: 1px solid var(--line); border-bottom: 3px solid var(--line-strong); }
.floor-item { display: grid; justify-items: center; gap: 8px; text-decoration: none; color: #141a16; min-width: 0; }
.floor-item img { width: 100%; height: 210px; object-fit: contain; object-position: center bottom; }
.floor-tag { display: grid; justify-items: center; gap: 3px; padding: 0 2px 12px; text-align: center; font-size: .86rem; line-height: 1.2; font-weight: 600; }
.floor-tag .price .n { font-size: 1.2rem; color: #141a16; }
.floor-tag .price .from, .floor-tag .price .unit { color: #59625b; font-size: .74rem; }
.hero-side { display: grid; grid-template-rows: auto auto; gap: 12px; align-content: start; padding: 16px; background: var(--surface); text-decoration: none; color: inherit; min-width: 0; }
.hero-side-img { aspect-ratio: 16 / 9; }
.hero-side-img img { position: absolute; inset: 4%; width: 92%; height: 92%; }
.hero-side-txt { display: grid; gap: 4px; justify-items: start; min-width: 0; }
.hero-side-txt b { font: 700 1.25rem/1.1 var(--f-sign); }
.hero-side-txt > span:not(.price) { color: var(--muted); font-size: .92rem; }
.hero-side .price .n { font-size: 1.3rem; }
@media (hover: hover) and (pointer: fine) { .hero-side:hover b, .floor-item:hover .floor-tag > span:first-child { color: var(--green); text-decoration: underline; } }
@media (max-width: 1100px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hero-main { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 760px) {
  .hero-copy { grid-template-columns: minmax(0, 1fr); }
  .hero-copy h1 { grid-row: auto; }
  .hero-floor { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .floor-item img { height: 150px; }
}
@media (max-width: 560px) {
  .hero { grid-template-columns: minmax(0, 1fr); margin-top: 10px; }
  .hero-main { padding: 20px 16px 0; }
  .hero-floor { margin: 0 -16px; padding: 14px 10px 0; }
}

/* blocks */
.intro { padding-block: 28px 8px; display: grid; gap: 10px; }
.intro h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); max-width: 20ch; }
.intro p { color: var(--muted); font-size: 1.1rem; max-width: 70ch; }
.block { padding-block: 28px 40px; }
.block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 24px; flex-wrap: wrap; margin-bottom: 14px; }
.block-head a { font-weight: 600; color: var(--green); }
.block-head h2 a { color: inherit; text-decoration: none; }
.block-head p { color: var(--muted); max-width: 60ch; }

/* departments: the photo opens the department, the list opens each type's page */
.depts { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.dept { display: grid; grid-template-rows: auto 1fr; background: var(--surface); min-width: 0; }
.dept-head { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px; text-decoration: none; color: inherit; border-bottom: 1px solid var(--line); }
.dept-head .well { aspect-ratio: 1; }
.dept-head .well img { width: 92%; height: 92%; }
.dept-txt { display: grid; gap: 4px; min-width: 0; }
.dept-meta { font-size: .9rem; color: var(--muted); }
.dept-types { list-style: none; margin: 0; padding: 8px 14px 14px; display: grid; }
.dept-types li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px dotted var(--line); }
.dept-types li:last-child { border-bottom: 0; }
.dept-types a { text-decoration: none; font-weight: 500; }
.dept-types span { color: var(--muted); font-variant-numeric: tabular-nums; font-size: .9rem; }
@media (hover: hover) and (pointer: fine) { .dept-head:hover h3, .dept-types a:hover { color: var(--green); text-decoration: underline; } }

.offers { background: var(--surface); border-block: 1px solid var(--line); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(210px, 230px); gap: 1px; overflow-x: auto; background: var(--line); border: 1px solid var(--line);
  overscroll-behavior-x: contain; scroll-snap-type: x proximity; }
.rail .card { scroll-snap-align: start; }

.bundles { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.bundle { display: grid; gap: 12px; align-content: start; padding: 18px; background: var(--surface); }
.bundle > p { color: var(--muted); }
.board { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.board li { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.board a { text-decoration: none; min-width: 0; }
.dots { flex: 1 1 16px; min-width: 16px; border-bottom: 2px dotted var(--line); transform: translateY(-4px); }
.board-n { font: 700 1.08rem var(--f-sign); font-variant-numeric: tabular-nums; white-space: nowrap; }
.bundle-sum { display: flex; justify-content: space-between; align-items: baseline; padding-top: 10px; border-top: 1.5px solid var(--line-strong); color: var(--muted); }
.bundle-sum b { font: 700 1.6rem var(--f-sign); color: var(--ink); font-variant-numeric: tabular-nums; }
.bundle .btn { justify-self: start; }
@media (hover: hover) and (pointer: fine) { .board a:hover { text-decoration: underline; color: var(--green); } }

.store { background: var(--green-deep); color: #eef4ef; }
.store-in { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: center; padding-block: 40px; }
.store-photos { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 170px 170px; gap: 6px; }
.store-photos img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.store-photos img:first-child { grid-row: span 2; }
.store-photos img:nth-child(4) { display: none; }
.store-txt { display: grid; gap: 14px; justify-items: start; }
.store-txt p { color: #c9d9cd; }
.store .facts-list dt { color: #a9c2b0; }
.store .gap { color: #ffe27a; border-color: #ffe27a; background: transparent; }
.store a:not(.btn) { color: #ffffff; }
.store .btn-primary { background: #ffffff; border-color: #ffffff; color: #0f3a20; }
@media (max-width: 820px) { .store-in { grid-template-columns: minmax(0, 1fr); } .store-photos { grid-template-rows: 130px 130px; } }

.facts-list { margin: 0; display: grid; gap: 10px; }
.facts-list dt { font-size: .82rem; font-weight: 700; color: var(--muted); }
.facts-list dd { margin: 2px 0 0; font-weight: 600; overflow-wrap: anywhere; }
.gap { display: inline-block; padding: 1px 8px; border: 1.5px dashed #9a6b00; color: #7a5400; background: #fff4d3; border-radius: 2px; font-size: .9rem; font-weight: 600; }

/* listing pages (a department or a type) */
.page { padding-block: 18px 56px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .9rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.listing { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 32px; align-items: start; }
.side { position: sticky; top: 132px; display: grid; gap: 10px; font-size: .95rem; }
.side h2 { font: 700 1.15rem var(--f-sign); }
.side h2 a { text-decoration: none; }
.side .side-other { margin-top: 14px; color: var(--muted); font-size: 1rem; }
.side-types { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.side-types a { display: flex; justify-content: space-between; gap: 8px; padding: 7px 8px; text-decoration: none; border-bottom: 1px solid var(--line); }
.side-types a span { color: var(--muted); font-variant-numeric: tabular-nums; }
.side-types a[aria-current] { background: var(--green-tint); box-shadow: inset 3px 0 0 var(--green); font-weight: 700; }
.side-filters { display: grid; gap: 14px; padding: 12px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 6px; }
fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 4px; }
legend { font: 700 1rem var(--f-sign); margin-bottom: 4px; padding: 0; }
fieldset label { display: flex; gap: 8px; align-items: center; cursor: pointer; }
fieldset input { accent-color: var(--green); width: 17px; height: 17px; margin: 0; }
@media (hover: hover) and (pointer: fine) { .side-types a:hover { color: var(--green); } }
.listing-main { min-width: 0; }
.type-chips { display: flex; gap: 6px; flex-wrap: wrap; margin: 16px 0 4px; }
.type-chips a { padding: 6px 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); text-decoration: none; font-weight: 600; font-size: .92rem; }
.type-chips a[aria-current] { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.list-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 18px 0 10px; }
.list-count { color: var(--muted); font-weight: 600; }
.sort { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; color: var(--muted); font-weight: 600; }
.sort select { font: 500 16px var(--f-text); color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r); padding: 6px 8px; }
.mobile-filters { display: none; }
.mobile-filters summary { cursor: pointer; font-weight: 700; padding: 6px 12px; border: 1.5px solid var(--line-strong); border-radius: var(--r); }
.mobile-filters[open] { flex-basis: 100%; order: 3; }
.mobile-filters[open] summary { margin-bottom: 10px; display: inline-block; }
.mobile-filters fieldset { margin-bottom: 12px; }
.type-sec { margin-top: 36px; }
.type-blurb { color: var(--muted); margin: -6px 0 14px; max-width: 70ch; }
.also { padding-top: 28px; border-top: 2px solid var(--line-strong); margin-top: 48px; }
.empty { display: grid; justify-items: start; gap: 12px; padding: 24px; background: var(--surface); border: 1px dashed var(--line); color: var(--muted); }
.search-wide { display: flex; max-width: 640px; margin: 20px 0 28px; }
.search-wide input { flex: 1; min-width: 0; height: 48px; border: 1.5px solid var(--line-strong); border-right: 0; border-radius: var(--r) 0 0 var(--r);
  background: var(--surface); color: var(--ink); padding: 0 14px; font: 16px var(--f-text); }
.search-wide .btn { border-radius: 0 var(--r) var(--r) 0; min-height: 48px; }
@media (max-width: 900px) {
  .listing { grid-template-columns: minmax(0, 1fr); }
  .side { display: none; }
  .mobile-filters { display: block; }
}

/* product page */
.pd { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 52px); align-items: start; }
.pd-media { position: sticky; top: 132px; display: grid; gap: 8px; }
.well-xl { border: 1px solid var(--line); }
.well-xl img { width: 90%; height: 90%; }
.thumbs { display: flex; gap: 6px; flex-wrap: wrap; }
.thumb { width: 74px; padding: 0; border: 2px solid var(--line); border-radius: 2px; background: var(--well); cursor: pointer; }
.thumb[aria-pressed="true"] { border-color: var(--green); }
.thumb img { aspect-ratio: 1; object-fit: contain; padding: 4px; }
.pd-info { display: grid; gap: 16px; min-width: 0; }
.pd-type a { font-weight: 700; color: var(--green); text-decoration: none; }
.pd-info h1 { font-size: clamp(2.1rem, 3.6vw, 2.9rem); }
.pd-state { display: flex; gap: 12px; flex-wrap: wrap; }
.options { display: grid; gap: 0; }
.options legend { font: 700 1.1rem var(--f-sign); width: 100%; padding: 0 0 8px; border-bottom: 1.5px solid var(--line-strong); }
.options label { display: flex; align-items: baseline; gap: 10px; padding: 11px 6px; border-bottom: 1px solid var(--line); cursor: pointer; }
.options label:has(input:checked) { background: var(--green-tint); }
.options input { accent-color: var(--green); width: 18px; height: 18px; margin: 0; align-self: center; }
.options label.is-out { color: var(--muted); cursor: not-allowed; }
.options label.is-out .opt-n { text-decoration: line-through; }
.options em { font-style: normal; font-size: .78rem; font-weight: 700; color: var(--out); text-transform: uppercase; }
.opt-n { font: 700 1.35rem var(--f-sign); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pd-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.added { font-weight: 600; color: var(--green); }
.spec-table { margin: 0; display: grid; border-top: 1.5px solid var(--line-strong); }
.spec-table div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.spec-table dt { color: var(--muted); font-weight: 600; }
.spec-table dd { margin: 0; font-weight: 600; }
.specs { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.flavors h2 { font-size: 1.2rem; margin-bottom: 6px; }
.flavors p { color: var(--ink); line-height: 1.7; }
@media (max-width: 820px) { .pd { grid-template-columns: minmax(0, 1fr); } .pd-media { position: static; } }

/* how to buy: the shop's terms */
.terms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; margin-top: 24px; border-top: 1.5px solid var(--line-strong); }
.terms section { display: grid; gap: 10px; align-content: start; padding: 22px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.terms .terms-wide { grid-column: 1 / -1; }
.terms p { max-width: 70ch; }
.w-table { border-collapse: collapse; width: 100%; max-width: 560px; font-variant-numeric: tabular-nums; }
.w-table th, .w-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.w-table th { font: 700 1rem var(--f-sign); border-bottom: 1.5px solid var(--line-strong); }
.w-table td:last-child { font: 700 1.15rem var(--f-sign); }
@media (max-width: 760px) { .terms { grid-template-columns: minmax(0, 1fr); } }
.buy-notes { margin: 0; display: grid; gap: 6px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); font-size: .95rem; }
.buy-notes div { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 10px; }
.buy-notes dt { font-weight: 700; }
.buy-notes dd { margin: 0; color: var(--muted); }
.buy-notes a { color: var(--green); font-weight: 600; }
.opt-l small { display: block; font-size: .8rem; color: var(--muted); font-weight: 500; }

/* about */
.about { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 48px; align-items: start; }
.about-main { display: grid; gap: 12px; max-width: 70ch; }
.about-main h2 { margin-top: 18px; }
.about-side { position: static; display: grid; }
.faq { border-top: 1.5px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 600; font-size: 1.05rem; }
.faq details p { padding: 0 0 16px; color: var(--muted); }
@media (max-width: 860px) { .about { grid-template-columns: minmax(0, 1fr); } }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; margin-top: 20px; align-items: start; }
.quote, .contact-card { display: grid; gap: 14px; padding: 20px; background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.q-list { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--line-strong); }
.q-line { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.well-s { width: 60px; border: 1px solid var(--line); }
.well-s img { padding: 4px; }
.q-name { display: grid; gap: 2px; min-width: 0; }
.q-name a { font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.q-name span { color: var(--muted); font-variant-numeric: tabular-nums; }
.stepper { display: inline-grid; grid-template-columns: 38px 34px 38px; align-items: center; border: 1.5px solid var(--line-strong); border-radius: var(--r); }
.stepper button { height: 36px; border: 0; background: transparent; color: var(--ink); font: 700 1.1rem var(--f-text); cursor: pointer; touch-action: manipulation; }
.stepper output { text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.q-total { display: flex; justify-content: space-between; align-items: baseline; color: var(--muted); }
.q-total b { font: 700 1.8rem var(--f-sign); color: var(--ink); font-variant-numeric: tabular-nums; }
.msg { font-weight: 700; font-size: .92rem; }
#q-msg { width: 100%; font: 15px/1.5 var(--f-text); color: var(--ink); background: var(--page); border: 1.5px solid var(--line); border-radius: var(--r); padding: 10px; resize: vertical; }
@media (pointer: coarse) { #q-msg { font-size: 16px; } }
@media (max-width: 860px) { .contact { grid-template-columns: minmax(0, 1fr); } }
/* the quote sent to the shop's till; WhatsApp stays below it for whoever prefers that */
.send-form { display: grid; gap: 12px; padding-top: 16px; border-top: 1.5px solid var(--line-strong); }
.send-form h3 { font: 700 1.3rem var(--f-sign); }
.send-form .muted { color: var(--muted); max-width: 60ch; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 560px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 4px; min-width: 0; }
.field > span { font-weight: 700; font-size: .92rem; }
.field input:not([type=radio]), .field textarea, .pd-flavor select { width: 100%; font: 16px/1.4 var(--f-text); color: var(--ink); background: var(--page);
  border: 1.5px solid var(--line); border-radius: var(--r); padding: 9px 10px; }
.field input:not([type=radio]):focus-visible, .field textarea:focus-visible, .pd-flavor select:focus-visible { outline: 2px solid var(--green); outline-offset: 1px; border-color: var(--green); }
.field textarea { resize: vertical; }
.send-form fieldset label { min-height: 32px; }
.consent { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.consent input { accent-color: var(--green); width: 18px; height: 18px; margin: 2px 0 0; flex: none; }
.send-form .btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.send-form .fine { margin-top: 0; }
.form-err { color: var(--out); font-weight: 600; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.or-wa { display: grid; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.sent { display: grid; gap: 10px; padding: 18px; background: var(--green-tint); border-left: 3px solid var(--green); }
.sent b { font: 700 1.3rem var(--f-sign); }
.pd-flavor { display: grid; gap: 4px; max-width: 320px; margin-top: 12px; }
.pd-flavor span { font: 700 1rem var(--f-sign); }

/* footer */
.foot { background: var(--surface); border-top: 1px solid var(--line); padding-block: 32px; }
.foot-in { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)); gap: 28px; }
.foot h2 { font: 700 1.05rem var(--f-sign); margin-bottom: 8px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.foot a { text-decoration: none; }
.foot p { color: var(--muted); font-size: .9rem; max-width: 46ch; margin-top: 10px; }
@media (hover: hover) and (pointer: fine) { .foot a:hover { color: var(--green); text-decoration: underline; } }
@media (max-width: 700px) { .foot-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .foot-in > :first-child { grid-column: 1 / 3; } }
.foot .brand { display: inline-block; }

/* A phone's first screen (owner, 2026-11-21: «make the website look better»): the header took 260 px before the first
   product. One line of facts (hours, WhatsApp), the logo beside the quote and the menu, the search under them; the
   language moves into the menu, where it is chosen once. */
@media (max-width: 600px) {
  .facts-bar .wrap { flex-wrap: nowrap; justify-content: space-between; gap: 12px; padding-block: 5px; font-size: .8rem; white-space: nowrap; }
  .facts-bar .wrap > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .facts-bar .fb-prices { display: none; }
  .head-main { gap: 8px; padding-block: 8px; }
  .brand img { height: 36px; }
  .head-links .lang { display: none; }
  .head-search input { height: 42px; }
  .head-search .btn { min-height: 42px; }
  .menu-open .mobile-pages { flex-wrap: wrap; align-items: center; }
}
.mobile-pages .lang { margin-left: auto; }

/* WhatsApp, always one tap away: the shop's main way to buy. On a product page it opens with that product's name. */
.wa-float { position: fixed; z-index: 25; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 8px; min-height: 50px; padding: 0 18px 0 14px; border-radius: var(--r);
  background: var(--green); color: var(--on-green); font: 700 1rem var(--f-text); text-decoration: none;
  box-shadow: 0 10px 24px -12px rgba(15, 20, 17, .6); touch-action: manipulation; user-select: none; -webkit-user-select: none;
  transition: transform 140ms cubic-bezier(.23, 1, .32, 1); }
.wa-float svg { width: 24px; height: 24px; flex: none; }
.wa-float:active { transform: scale(.96); }
.wa-float[hidden] { display: none; }
@media (hover: hover) and (pointer: fine) { .wa-float:hover { background: var(--green-hover); } }
@media (max-width: 600px) { .foot { padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px)); } }

/* A product photo, large: tap it; swipe between its photos (the browser's own scrolling, no script physics). */
.pd-zoom { display: grid; place-items: center; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.zoom { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; background: #0b0d0c; color: #ffffff; }
.zoom::backdrop { background: #0b0d0c; }
.zoom-strip { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior: contain; scrollbar-width: none; }
.zoom-strip::-webkit-scrollbar { display: none; }
.zoom-strip figure { flex: 0 0 100%; margin: 0; display: grid; place-items: center; scroll-snap-align: center; padding: max(56px, env(safe-area-inset-top, 0px)) 12px max(56px, env(safe-area-inset-bottom, 0px)); background: #ffffff; }
.zoom-strip img { max-width: 100%; max-height: 100%; object-fit: contain; }
.zoom-bar { position: fixed; left: 0; right: 0; top: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: max(10px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) 10px max(16px, env(safe-area-inset-left, 0px));
  background: rgba(11, 13, 12, .78); font-weight: 600; }
.zoom-bar .btn { min-height: 40px; background: transparent; border-color: #ffffff; color: #ffffff; }

/* Motion, only where it explains something (owner, 2026-11-21: «make some animations»): photos appear instead of
   popping in, a product photo lifts under the pointer, the quote count answers an «Agregar», and opening a product
   carries its photo from the list into the page. Nothing moves on its own, and nothing moves with «reduce motion». */
.well img { transition: transform 320ms cubic-bezier(.23, 1, .32, 1), opacity 240ms ease; }
html.js-fade .well img:not(.is-in) { opacity: 0; }
@media (hover: hover) and (pointer: fine) { .card:hover .well img { transform: scale(1.04); } }
.count.bump { animation: count-bump 380ms cubic-bezier(.23, 1, .32, 1); }
@keyframes count-bump { 40% { transform: scale(1.35); } }
.btn.is-done { background: var(--green-tint); border-color: var(--green); color: var(--green); }
.head { view-transition-name: site-head; }
#pd-img { view-transition-name: pd-photo; }
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 180ms; }
  ::view-transition-group(pd-photo) { animation-duration: 340ms; animation-timing-function: cubic-bezier(.77, 0, .175, 1); }
  ::view-transition-group(site-head) { animation-duration: 180ms; }
}
@media (prefers-reduced-motion: reduce) {
  .btn, .wa-float, .well img { transition: none; }
  .btn:active, .wa-float:active { transform: none; }
  .card:hover .well img { transform: none; }
  .count.bump { animation: none; }
  html.js-fade .well img:not(.is-in) { opacity: 1; }
}
