/* The InTool site (2026-11-19). Light, towards organametrisis.gr's tones (the user: «πιο ανοιχτό σε χρώμα σαιτ,
   ώστε να φαίνεται και το λόγο πιο καλά»): white and warm off-whites, steel grey, amber for the buttons (it sits with
   the helmet's gold); the gear's blue only for prices and links. The categories in a column on the left. */
:root {
  color-scheme: light;
  --ink: #1f2328;
  --ink-2: #3a424c;
  --muted: #5f6b78;
  --steel: #9ea8b4;
  --steel-dark: #6b7684;
  --steel-soft: #eef1f4;
  --line: #e3e7ec;
  --cream: #faf8f3;
  --cream-2: #f5f3ef;
  --amber: #e8a317;
  --amber-2: #f5b53a;
  --amber-ink: #1f1200;
  --amber-soft: #fdf3dc;
  --blue: #00417a;
  --blue-2: #0b5aa6;
  --ok: #1e7f4a;
  --err: #b42318;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(31, 35, 40, .05), 0 6px 18px rgba(31, 35, 40, .07);
  --wrap: 1320px;
  --side: 264px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, "Noto Sans", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 15.5px/1.55 var(--font); color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--blue-2); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
h1 { font-size: clamp(1.5rem, 2.6vw, 2.05rem); }
h2 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); }
h3 { font-size: 1.02rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 860px; }
.section { padding-top: 22px; padding-bottom: 36px; }
.wrap.section { padding-top: 26px; padding-bottom: 44px; }
.muted { color: var(--muted); }
.lead { font-size: 1.07rem; color: var(--ink-2); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

/* ── Buttons ───────────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; padding: .62em 1.25em; border-radius: 8px; font: 700 .95rem/1.2 var(--font); border: 2px solid transparent; cursor: pointer; text-decoration: none !important; transition: background .15s, color .15s, border-color .15s, transform .1s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary, .btn-accent { background: var(--amber); color: var(--amber-ink); }
.btn-primary:hover, .btn-accent:hover { background: var(--amber-2); }
.btn-outline { border-color: var(--steel); color: var(--ink); background: #fff; }
.btn-outline:hover { background: var(--steel-soft); border-color: var(--steel-dark); }
.btn-sm { padding: .42em .85em; font-size: .86rem; }
.btn-lg { padding: .8em 1.8em; font-size: 1.05rem; }
.btn.is-done { background: var(--ok); color: #fff; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ── Top bar and header ────────────────────────────────────────────────────── */
.topbar { background: var(--steel); color: #fff; font-size: .84rem; }
.topbar a, .topbar .mail a { color: #fff; font-weight: 600; }
.topbar-row { display: flex; flex-wrap: wrap; gap: 6px 22px; padding-top: 6px; padding-bottom: 6px; }
.head { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; box-shadow: 0 1px 0 rgba(31, 35, 40, .02); }
.head-row { display: flex; align-items: center; gap: 22px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none !important; flex: none; }
.brand img { width: 62px; height: 62px; }
/* the words of the logo: «INDUSTRIAL SUPPLIES» as wide as «INTOOL» (2026-11-21, the user: «να μειωθεί το kerning και
   να γίνει το ίδιο πλάτος με το INTOOL»). Measured in Segoe UI: INTOOL 4.567 of its em; the second line 10.61 of its em
   with no spacing, so .103em between its 19 letters. Its size follows INTOOL's (--brand), so the two stay as wide at
   every size; the negative margins take off the space letter-spacing leaves after the last letter. */
.brand-text { --brand: 1.8rem; display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.brand-text b { font-size: var(--brand); font-weight: 900; letter-spacing: .14em; margin-right: -.14em; color: #1d2733; }
/* «INTOOL» with the two gears, as on InTool's own logo (2026-11-24, tools/intool_wordmark.py): its letters as tall as
   the text's were (.694 of --brand), so the picture (332 high, letters 270 of it) is 1.23 times that */
/* «INDUSTRIAL SUPPLIES» as wide as this word's letters (5.47 of --brand): .158em between its letters (measured 2026-11-24) */
.brand .brand-word, .brand-word { display: block; height: calc(var(--brand) * .694 * 332 / 270); width: auto; margin: calc(var(--brand) * -.06) 0; }
.brand-text small { font-size: calc(var(--brand) * .3667); font-weight: 700; letter-spacing: .158em; margin-right: -.158em; color: #9a7726; margin-top: calc(var(--brand) * .17); }
.brand-inline { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.brand-inline .brand-text { --brand: 1.35rem; }
.search { display: flex; flex: 1; max-width: 640px; }
.search input { flex: 1; min-width: 0; padding: .7em .95em; border: 1px solid #cfd6de; border-right: 0; border-radius: 8px 0 0 8px; font: inherit; background: #fff; }
.search input:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px var(--amber-soft); }
.search button { border: 0; background: var(--amber); color: var(--amber-ink); padding: 0 1.15em; border-radius: 0 8px 8px 0; cursor: pointer; font: 700 .95rem var(--font); }
.search button:hover { background: var(--amber-2); }
.head-links { display: flex; gap: 4px; margin-left: auto; }
.head-links a { color: var(--ink-2); font-weight: 600; padding: 8px 10px; border-radius: 8px; }
.head-links a:hover { background: var(--steel-soft); text-decoration: none; }
.cart-link { position: relative; display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; padding: 8px 12px; border-radius: 8px; text-decoration: none !important; flex: none; border: 1px solid var(--line); }
.cart-link:hover { background: var(--steel-soft); }
.cart-count { position: absolute; top: -7px; left: 24px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--amber); color: var(--amber-ink); font-size: .74rem; font-weight: 800; display: flex; align-items: center; justify-content: center; }

/* ── The categories' column ────────────────────────────────────────────────── */
.with-side { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); gap: 26px; align-items: start; padding-top: 20px; }
.content { min-width: 0; }
.content > .section:first-child { padding-top: 0; }
.side { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 12px; max-height: calc(100vh - 116px); }
.side-toggle { display: none; }
.side-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: auto; }
.side-title { margin: 0; padding: 11px 14px; background: var(--cream-2); border-bottom: 1px solid var(--line); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.side-title a { color: var(--steel-dark); }
.tree, .tree ul { list-style: none; margin: 0; padding: 0; }
.tree-item summary { list-style: none; cursor: pointer; }
.tree-item summary::-webkit-details-marker { display: none; }
.tree-item summary, .tree-leaf { display: flex; align-items: center; gap: 6px; padding: 7px 12px 7px 14px; border-bottom: 1px solid #f0f2f5; }
.tree-item a { flex: 1; color: var(--ink); font-weight: 600; font-size: .93rem; line-height: 1.3; }
.tree-item a:hover { color: var(--blue); text-decoration: none; }
.tree-item a[aria-current] { color: var(--blue); }
.tree-chev { width: 18px; height: 18px; flex: none; position: relative; }
.tree-chev::before { content: ""; position: absolute; left: 5px; top: 4px; width: 7px; height: 7px; border-right: 2px solid var(--steel-dark); border-bottom: 2px solid var(--steel-dark); transform: rotate(-45deg); transition: transform .15s; }
details[open] > summary .tree-chev::before { transform: rotate(45deg); top: 2px; }
.tree-item summary:hover, .tree-leaf:hover { background: var(--cream); }
.tree-item.is-on > details > summary, .tree-item.is-on > .tree-leaf { background: var(--amber-soft); }
.tree .depth-1 summary, .tree .depth-1 .tree-leaf { padding-left: 26px; }
.tree .depth-2 summary, .tree .depth-2 .tree-leaf { padding-left: 38px; }
.tree .depth-3 summary, .tree .depth-3 .tree-leaf { padding-left: 50px; }
.tree .depth-1 a, .tree .depth-2 a, .tree .depth-3 a { font-weight: 500; font-size: .9rem; }
/* the menu beside the column (2026-11-28, site.js categoryMenu): the tree's branches stay closed, a click opens the panel */
.side { z-index: 30; }
.js-menu .tree details > ul { display: none; }
.js-menu .tree details[open] > summary .tree-chev::before { transform: rotate(-45deg); top: 4px; }
.tree-item.is-menu > details > summary { background: var(--amber-soft); box-shadow: inset 3px 0 0 var(--amber); }
.flyout { position: absolute; left: calc(100% + 10px); top: 0; z-index: 35; min-width: 300px;
  overflow-y: auto;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 10px 34px rgba(31, 35, 40, .16); }
.flyout[hidden] { display: none; }
.flyout-head { display: flex; align-items: center; gap: 10px; padding: 10px 12px 10px 16px; background: var(--cream); border-bottom: 1px solid var(--line); border-radius: 14px 14px 0 0; position: sticky; top: 0; z-index: 1; }
.flyout-all { flex: 1; font-weight: 800; color: var(--ink); }
.flyout-all span { font-weight: 500; color: var(--muted); font-size: .88rem; }
.flyout-back, .flyout-close { border: 0; background: none; cursor: pointer; font: 600 .92rem var(--font); color: var(--steel-dark); padding: 4px 6px; border-radius: 8px; }
.flyout-close { font-size: 1.4rem; line-height: 1; width: 34px; height: 34px; background: #fbe9e7; color: var(--err); }
.flyout-back:hover, .flyout-close:hover { background: var(--steel-soft); }
.flyout-list { list-style: none; margin: 0; padding: 6px; display: grid; grid-auto-flow: column; grid-auto-columns: 250px; }
.flyout-list a { display: flex; align-items: center; gap: 10px; padding: 5px 8px; border-radius: 10px; color: var(--ink); line-height: 1.25; }
.flyout-list a:hover { background: var(--cream); text-decoration: none; }
.flyout-img { width: 40px; height: 40px; flex: none; border: 1px solid var(--line); border-radius: 8px; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.flyout-img img { width: 100%; height: 100%; object-fit: contain; }
.flyout-name { flex: 1; font-size: .9rem; }
.flyout-chev { width: 8px; height: 8px; flex: none; border-right: 2px solid var(--steel-dark); border-bottom: 2px solid var(--steel-dark); transform: rotate(-45deg); margin-right: 4px; }
.side-help { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream); font-size: .88rem; color: var(--muted); }
.side-help a { font-weight: 800; color: var(--ink); font-size: 1rem; }
.side-help-icon { width: 36px; height: 36px; border-radius: 50%; background: var(--amber); color: var(--amber-ink); display: flex; align-items: center; justify-content: center; flex: none; }

/* ── Home ──────────────────────────────────────────────────────────────────── */
.hero { display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 20px; padding: 30px 34px; border-radius: 14px; border: 1px solid var(--line);
        background: radial-gradient(90% 120% at 85% 40%, #ffffff 0%, var(--cream-2) 55%, #ebeef2 100%); }
.hero h1 { font-size: clamp(1.6rem, 2.8vw, 2.35rem); }
.hero > * { min-width: 0; }  /* the search form must not push the card wider than the phone */
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .75rem; font-weight: 800; color: #9a7726; margin-bottom: .8em; }
.hero-mark { display: flex; justify-content: center; }
.hero-mark img { width: min(280px, 100%); }
.search-hero { max-width: 560px; margin-top: 16px; }
/* the slider (2026-11-28): the shop's photos crossfade; the text on a dark veil at the left; the search below the text;
   the orange chevrons «> > >» bottom right, the one of the slide in view lit */
.slider { position: relative; height: clamp(360px, 30vw, 430px); border-radius: 14px; overflow: hidden; background: #1b2028; margin-bottom: 16px; isolation: isolate; }
.slides, .slide { position: absolute; inset: 0; }
.slide { opacity: 0; transition: opacity .9s ease; }
.slide.is-on { opacity: 1; z-index: 1; }
.slide picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 18, 24, .86) 0%, rgba(14, 18, 24, .66) 38%, rgba(14, 18, 24, .12) 72%, rgba(14, 18, 24, 0) 100%); }
/* the first slide: the card with the helmet, as the home page had it */
.slide-home { background: radial-gradient(90% 120% at 85% 40%, #ffffff 0%, var(--cream-2) 55%, #ebeef2 100%); }
.slide-home::after { display: none; }
.slide-home .slide-text { color: var(--ink); }
.slide-home .slide-text .eyebrow { color: #9a7726; }
.slide-home .slide-text h1, .slide-home .slide-title { color: var(--ink); text-shadow: none; }
.slide-home .slide-lead { color: var(--ink-2); }
.slide-mark { position: absolute; right: 7%; top: 50%; transform: translateY(-58%); width: min(280px, 30%); }
.slide-mark img { width: 100%; height: auto; }
.slider:has(.slide-home.is-on) { border: 1px solid var(--line); }
.slide-text { position: relative; z-index: 1; max-width: 560px; padding: 34px 38px 0; color: #fff; }
.slide-text .eyebrow { color: var(--amber-2); }
.slide-text h1, .slide-title { font-size: clamp(1.55rem, 2.6vw, 2.25rem); line-height: 1.18; font-weight: 800; color: #fff; margin: 0 0 .45em; text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
.slide-lead { font-size: 1.06rem; color: rgba(255, 255, 255, .9); margin: 0; }
.slider-search { position: absolute; z-index: 2; left: 38px; bottom: 34px; width: min(560px, calc(100% - 76px)); margin: 0; box-shadow: 0 6px 22px rgba(0, 0, 0, .28); }
.slider-nav { position: absolute; z-index: 2; right: 26px; bottom: 30px; display: flex; gap: 2px; }   /* no backdrop: softer, as the user preferred (2026-11-28) */
.chev { width: 26px; height: 34px; border: 0; padding: 0; cursor: pointer; background: none; opacity: .38; transition: opacity .3s, transform .3s; }
.chev::before { content: ""; display: block; width: 100%; height: 100%; background: var(--amber); clip-path: polygon(0 0, 42% 0, 100% 50%, 42% 100%, 0 100%, 58% 50%); }
.chev:hover { opacity: .7; }
.chev.is-on { opacity: 1; transform: scale(1.12); filter: drop-shadow(0 0 6px rgba(245, 181, 58, .9)); }
.chev:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.search-hero input { padding: .85em 1em; }
.search-hero button { padding: 0 1.4em; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.facts div { display: flex; flex-direction: column; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream); }
.facts b, .facts b a { color: var(--ink); }
.facts span { color: var(--muted); font-size: .9rem; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.tile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 14px 10px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); background: #fff; text-decoration: none !important; transition: box-shadow .15s, border-color .15s; }
.tile:hover { box-shadow: var(--shadow); border-color: #cfd6de; }
.tile-img { width: 100px; height: 100px; display: flex; align-items: center; justify-content: center; }
.tile-img img { max-height: 100px; width: auto; }
.tile-name { font-weight: 700; }
/* «Πληροφορίες» (2026-11-23): the articles */
.info-list { display: grid; gap: 12px; max-width: 760px; }
.info-item { display: flex; flex-direction: column; gap: 4px; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); text-decoration: none !important; transition: box-shadow .15s, border-color .15s; }
.info-item:hover { box-shadow: var(--shadow); border-color: #cfd6de; }
.info-item b { font-size: 1.08rem; }
.info-item span { color: var(--muted); }
.info { max-width: 780px; }
.info img { max-width: 100%; height: auto; }
.table-scroll { overflow-x: auto; margin: 0 0 1em; }
.prose .info-table { display: table; max-width: none; border-collapse: collapse; margin: 0 0 1em; font-size: .92rem; }
.table-scroll .info-table { margin: 0; }
.prose .info-table th, .prose .info-table td, .prose .info-table tr:first-child td { white-space: normal; background: none; font-weight: 400; }
.info-table th, .info-table td { border: 1px solid var(--line); padding: 6px 10px; text-align: center; vertical-align: middle; }
.prose .info-table th { background: var(--cream-2); font-weight: 700; }
.info-table.info-text td { text-align: left; vertical-align: top; }
.info-ask { margin-top: 1.4em; padding: 12px 16px; border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line); }
/* brands (2026-11-23): every logo in a box of one size, 2:1, as tools/brand_logos.py made it */
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.section-head a { font-weight: 600; }
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.brand-tile { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 2 / 1; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; color: var(--ink); text-decoration: none !important; transition: box-shadow .15s, border-color .15s; }
.brand-tile:hover { box-shadow: var(--shadow); border-color: #cfd6de; }
.brand-tile img { width: 100%; height: 100%; object-fit: contain; }
.brand-tile-name { font-weight: 800; font-size: 1.05rem; letter-spacing: .04em; text-align: center; padding: 0 10px; }
.brand-head { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 14px; }
.brand-head h1 { margin-bottom: 0; }
.brand-logo { width: 180px; height: 90px; object-fit: contain; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.buy-brand a { color: inherit; }
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 18px 20px; border-radius: var(--radius); background: var(--cream-2); border: 1px solid var(--line); margin-bottom: 30px; }
.how div { display: flex; flex-direction: column; gap: 4px; }
.how span { color: var(--muted); font-size: .92rem; }

/* ── Grids of products ─────────────────────────────────────────────────────── */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(205px, 1fr)); gap: 14px; }
.card { position: relative; isolation: isolate; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); overflow: hidden; transition: box-shadow .15s, border-color .15s; }
.card:hover { box-shadow: var(--shadow); border-color: #cfd6de; }
.card:has(.card-link:focus-visible) { outline: 2px solid var(--blue-2); outline-offset: 2px; }
/* the name is the link, stretched over the whole card; the cart's buttons sit above it */
.card-link { color: inherit; text-decoration: none !important; outline: none; }
.card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-img { position: relative; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; padding: 14px; background: #fff; border-bottom: 1px solid #f0f2f5; overflow: hidden; }
/* the picture fits the square whatever its shape: a tall one (a bottle, 185 × 360) made its square taller, and the
   whole row of cards with it (2026-11-21) */
.card-img img { position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); max-height: none; object-fit: contain; }
/* the cart on the card (2026-11-21): «Προσθήκη» on hover, the quantity once in the cart; on a phone always shown */
.card-buy { position: absolute; right: 8px; bottom: 8px; z-index: 2; display: flex; pointer-events: none; }   /* only its buttons take clicks */
.card-add, .card-qty { pointer-events: auto; }
.card-add { display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border: 0; border-radius: 999px; background: var(--amber); color: var(--amber-ink); font: 700 .86rem/1.1 var(--font); cursor: pointer; box-shadow: 0 2px 8px rgba(31, 35, 40, .18); white-space: nowrap; }
.card-add:hover { background: var(--amber-2); }
.card-add:focus-visible, .card-step:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 2px; }
.card-choose { background: #fff; color: var(--ink-2); border: 1px solid #cfd6de; pointer-events: none; }   /* the card's link takes the click */
.card-qty { display: inline-flex; align-items: center; border: 1px solid #cfd6de; border-radius: 999px; background: #fff; box-shadow: 0 2px 8px rgba(31, 35, 40, .16); }
.card-step { width: 36px; height: 36px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--ink); font: 500 1.25rem/1 var(--font); cursor: pointer; }
.card-step:hover { background: var(--steel-soft); }
.card-step[data-bin="true"] { color: var(--err); }
.card-n { min-width: 2.4em; padding: 0 2px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.card.in-cart { border-color: #f0d08c; }
@media (hover: hover) and (pointer: fine) {
  .card-add { opacity: 0; transform: translateY(6px); transition: opacity .15s, transform .15s, background .15s; }
  .card:hover .card-add, .card:focus-within .card-add { opacity: 1; transform: none; }
}
.card-body { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; flex: 1; }
.card-brand { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; color: #9a7726; }
.card-name { font-weight: 600; line-height: 1.3; }
.card-price { margin-top: auto; padding-top: 6px; font-weight: 800; color: var(--blue); font-size: 1.06rem; }
.card-price small { font-weight: 500; color: var(--muted); font-size: .76rem; }
.card-codes { font-size: .8rem; color: var(--muted); }
.pager { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 24px 0 8px; }
.pager a, .pager-on { min-width: 38px; padding: 7px 11px; border: 1px solid var(--line); border-radius: 8px; text-align: center; color: var(--ink); font-weight: 600; }
.pager a:hover { border-color: var(--amber); background: var(--amber-soft); text-decoration: none; }
.pager-on { background: var(--amber); border-color: var(--amber); color: var(--amber-ink); }
.pager-info { color: var(--muted); font-size: .9rem; margin-right: 10px; }
.pager-gap { color: var(--muted); padding: 0 4px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .86rem; color: var(--muted); margin-bottom: 12px; }
.crumbs a { color: var(--steel-dark); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.chip { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: var(--cream); font-size: .9rem; }
.chip span { color: var(--muted); }
.chip:hover { border-color: var(--amber); text-decoration: none; }
.shop-cols { columns: 2 280px; column-gap: 28px; }
.shop-col { break-inside: avoid; margin-bottom: 20px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); }
.shop-col h2 { font-size: 1.08rem; }
.shop-col h2 a { color: var(--ink); }
.shop-col ul { list-style: none; margin: 0; padding: 0; }
.shop-col li { padding: 3px 0; }

/* ── Product page ──────────────────────────────────────────────────────────── */
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; align-items: start; }
.gallery-main { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; padding: 20px; cursor: zoom-in; user-select: none; -webkit-user-select: none; }
.gallery-main img { max-height: 100%; width: auto; object-fit: contain; transition: transform .2s ease-out; }
.gallery-main.is-zoomed { cursor: crosshair; }
.gallery-zoom { position: absolute; top: 10px; right: 10px; z-index: 2; width: 38px; height: 38px; display: grid; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink-2); cursor: pointer; box-shadow: 0 1px 3px rgba(31, 35, 40, .12); }
.gallery-zoom:hover, .gallery-zoom:focus-visible { border-color: var(--amber); background: var(--amber-soft); color: var(--ink); }
.gallery-zoom:focus-visible, .lb-btn:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 2px; }

/* the whole picture over the page: white, as the pictures' own backgrounds, so they do not sit in a white box */
html.lb-open { overflow: hidden; }
.lightbox { position: fixed; inset: 0; z-index: 1000; background: #fff; display: flex; align-items: center; justify-content: center; animation: lb-in .16s ease-out; }
.lightbox:focus { outline: none; }
@keyframes lb-in { from { opacity: 0; } }
.lb-stage { margin: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 60px 84px; }
.lb-stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; user-select: none; -webkit-user-select: none; }
.lb-btn { position: absolute; width: 46px; height: 46px; display: grid; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; box-shadow: var(--shadow); }
.lb-btn:hover { border-color: var(--amber); background: var(--amber-soft); }
.lb-close { top: 14px; right: 14px; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); }
.lb-prev { left: 18px; }
.lb-next { right: 18px; }
.lb-count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) { .gallery-main img { transition: none; } .lightbox { animation: none; } }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.gallery-thumb { width: 70px; height: 70px; padding: 4px; border: 2px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; }
.gallery-thumb.is-on { border-color: var(--amber); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; }
.buy-brand { font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #9a7726; margin-bottom: .3em; }
.buy-sku { color: var(--muted); }
.price-box { margin: 14px 0 16px; padding: 14px 16px; border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line); }
.price-main { font-size: 1.65rem; font-weight: 800; color: var(--blue); }
.price-main small { font-size: .84rem; font-weight: 500; color: var(--muted); }
.price-net { color: var(--muted); font-size: .92rem; }
.buy-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.buy-notes { margin: 20px 0 0; padding: 0 0 0 1.1em; color: var(--muted); font-size: .92rem; }
.qty { display: inline-flex; align-items: stretch; border: 1px solid #cfd6de; border-radius: 8px; overflow: hidden; background: #fff; }
.qty-btn { width: 32px; border: 0; background: var(--steel-soft); font-size: 1.1rem; cursor: pointer; color: var(--ink); }
.qty-btn:hover { background: #e2e7ec; }
.qty-input { width: 62px; border: 0; text-align: center; font: 600 1rem var(--font); -moz-appearance: textfield; appearance: textfield; }
.qty-input::-webkit-outer-spin-button, .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.codes { margin-top: 34px; overflow-x: auto; }  /* InTool's tables may have many columns */
.c-attr { white-space: nowrap; }
.codes-table, .cart-table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.codes-table th, .cart-table th { text-align: left; font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 10px; border-bottom: 2px solid var(--line); background: var(--cream-2); }
.codes-table td, .cart-table td { padding: 8px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
/* the codes' table (2026-11-20, the user: «θέλω πιο καλά κενά και καλύτερη στοίχιση»): prices, quantity and button
   take only the width they need, at even gaps; the description's columns take the rest. Headers align as their cells. */
.codes-table th.num, .cart-table th.num { text-align: right; }
.codes-table .num, .codes-table .c-qty, .codes-table .c-add { width: 1%; white-space: nowrap; }
.codes-table th.c-qty, .codes-table td.c-qty { text-align: center; }
.codes-table td.c-add { text-align: right; padding-left: 4px; }
/* the two prices centred, each under its heading, with the same padding on both sides (2026-11-21, the user) */
.codes-table th.num, .codes-table td.num { text-align: center; padding-left: 14px; padding-right: 14px; }
.codes-table td.c-qty, .codes-table th.c-qty { padding-left: 22px; padding-right: 10px; }
.codes-table tbody tr:hover { background: var(--cream); }
/* a long table of codes with a full amber button on every row is too loud: light amber, full on hover */
.codes-table .btn-primary { background: var(--amber-soft); border-color: #f0d08c; }
.codes-table .btn-primary:hover, .codes-table tr:hover .btn-primary { background: var(--amber); border-color: var(--amber); }
.codes-table .btn.is-done { background: var(--ok); border-color: var(--ok); }
.codes-table tr:target { background: var(--amber-soft); }
.num { text-align: right; white-space: nowrap; }
.c-sku { font-family: Consolas, "Cascadia Mono", monospace; font-size: .88rem; white-space: nowrap; color: var(--ink-2); }
.c-gross b { color: var(--blue); }
.desc { margin-top: 36px; max-width: 980px; }
.prose table { border-collapse: collapse; margin: 0 0 1em; font-size: .9rem; display: block; overflow-x: auto; max-width: 100%; }
.prose td, .prose th { border: 1px solid var(--line); padding: 5px 8px; white-space: nowrap; }
.prose tr:first-child td { background: var(--cream-2); font-weight: 600; }
.prose h2 { margin-top: 1.4em; }

/* ── Cart and order ────────────────────────────────────────────────────────── */
.cart-prod { display: flex; align-items: center; gap: 12px; }
.cart-prod img { width: 56px; height: 56px; object-fit: contain; border: 1px solid var(--line); border-radius: 6px; background: #fff; flex: none; }
.cart-prod small { display: block; color: var(--muted); font-family: Consolas, "Cascadia Mono", monospace; }
.cart-remove { border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 1.3rem; padding: 4px 8px; border-radius: 6px; }
.cart-remove:hover { color: var(--err); background: #fdecea; }
.cart-note { color: var(--err); font-size: .85rem; }
.cart-totals { margin: 18px 0 0 auto; max-width: 380px; display: flex; flex-direction: column; gap: 6px; }
.cart-totals > div { display: flex; justify-content: space-between; gap: 20px; }
.cart-grand { border-top: 2px solid var(--line); padding-top: 8px; font-size: 1.2rem; color: var(--blue); }
.order { margin-top: 34px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream); max-width: 860px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; margin-bottom: 16px; }
.form-grid label { display: flex; flex-direction: column; gap: 5px; font-weight: 600; font-size: .92rem; }
.form-grid input:not([type=radio]):not([type=checkbox]), .form-grid textarea { font: 400 1rem var(--font); padding: .6em .75em; border: 1px solid #cfd6de; border-radius: 7px; background: #fff; }
.form-grid input:focus, .form-grid textarea:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px var(--amber-soft); }
.form-grid .span-2 { grid-column: 1 / -1; }
.radios { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.radios legend { font-weight: 600; font-size: .92rem; margin-bottom: 6px; padding: 0; }
.radios label, .form-grid .check { flex-direction: row; align-items: center; gap: 8px; font-weight: 400; }
.form-grid .check { align-items: flex-start; }
.form-grid .check input { margin-top: 4px; }
.radios input, .check input { accent-color: var(--amber); }
.hp { position: absolute; left: -9999px; }
.is-invalid { border-color: var(--err) !important; }
.form-error { color: var(--err); font-weight: 600; }

/* ── Search, contact ───────────────────────────────────────────────────────── */
.search-page { max-width: 640px; margin-bottom: 14px; }
.hits-more { margin: 22px 0 0; }
.hits { list-style: none; margin: 0; padding: 0; columns: 2 360px; }
.hits li { padding: 6px 0; break-inside: avoid; border-bottom: 1px solid var(--line); }
.hits small { color: var(--muted); font-family: Consolas, "Cascadia Mono", monospace; margin-right: 6px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.contact-grid h2 { font-size: 1.1rem; margin-top: .6em; }

/* ── Footer, toast ─────────────────────────────────────────────────────────── */
.foot { background: #f4f5f6; color: var(--ink-2); margin-top: 30px; border-top: 1px solid var(--line); }
.foot a, .foot .mail a { color: var(--ink); }
.foot-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; padding-top: 34px; padding-bottom: 24px; }
.foot-cols > div { display: flex; flex-direction: column; gap: 6px; }
.foot h3 { color: var(--steel-dark); font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; }
.foot p { margin: 0 0 .6em; }
.foot-legal { border-top: 1px solid var(--line); padding-top: 14px; padding-bottom: 18px; font-size: .84rem; color: var(--muted); }
.toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); background: #1f2328; color: #fff; padding: 12px 18px; border-radius: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); z-index: 60; width: max-content; max-width: min(560px, calc(100% - 32px)); line-height: 1.45; }
.toast a { color: var(--amber-2); font-weight: 700; margin-left: 10px; white-space: nowrap; }

/* ── Narrower screens ──────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  :root { --side: 236px; }
  .head-links { display: none; }
  .cart-link { margin-left: auto; }
  .product { grid-template-columns: 1fr; gap: 20px; }
  .product .gallery { max-width: 520px; }
}
@media (max-width: 900px) {
  .with-side { grid-template-columns: 1fr; gap: 14px; padding-top: 14px; }
  .side { position: static; max-height: none; }
  .side-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream-2); font: 800 .95rem var(--font); color: var(--ink); cursor: pointer; }
  .side-toggle::after { content: "▾"; color: var(--steel-dark); }
  .side-toggle[aria-expanded="true"]::after { content: "▴"; }
  .side-box { display: none; }
  .side-box.is-open { display: block; }
  .side-title { display: none; }
  .side-help { display: none; }
  .flyout { position: static; max-width: none; min-width: 0; box-shadow: none; border-radius: var(--radius); }
  .flyout-list { grid-auto-flow: row; grid-auto-columns: auto; }
  .side.menu-open .side-box { display: none; }
  .hero { grid-template-columns: 1fr; padding: 22px; }
  .slider { height: 470px; }
  .slide::after { background: linear-gradient(180deg, rgba(14, 18, 24, .84) 0%, rgba(14, 18, 24, .6) 48%, rgba(14, 18, 24, .25) 100%); }
  .slide-text { padding: 22px 20px 0; }
  .slide-mark { display: none; }
  .slider-search { left: 16px; bottom: 70px; width: calc(100% - 32px); }
  .slider-nav { right: auto; left: 50%; transform: translateX(-50%); bottom: 22px; }
  .hero-mark { display: none; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .facts, .how { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 14px; }
  /* The strip on a phone in two tidy lines (2026-12-05, the user: «φαίνονται τα τηλέφωνα και κάνει ένα άσχημο page break
     και μπαίνει το email», then «βάζεις και την διευθυνση … χωράει σε 2 γραμμές όλο;»): the phones above, without
     their label, which does not fit; the email and the address below; both lines centred, no item ever broken. */
  .topbar { font-size: .78rem; }
  .topbar-row { justify-content: center; gap: 3px 14px; padding-top: 5px; padding-bottom: 5px; }
  .topbar-item { white-space: nowrap; }
  .topbar-item:first-child { flex-basis: 100%; text-align: center; }
  .topbar-label { display: none; }
  .head { position: static; }  /* on a phone the header scrolls away: it would take a fifth of the screen */
  .head-row { flex-wrap: wrap; gap: 10px; }
  .brand img { width: 46px; height: 46px; }
  .brand-text { --brand: 1.35rem; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .cart-word { display: none; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr; }
  /* the codes and the cart as stacked cards */
  .codes-table thead, .cart-table thead { display: none; }
  .codes-table, .codes-table tbody, .codes-table tr, .codes-table td,
  .cart-table, .cart-table tbody, .cart-table tr, .cart-table td { display: block; width: 100%; }
  .codes-table tr, .cart-table tr { border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; margin-bottom: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; }
  .codes-table td, .cart-table td { border: 0; padding: 0; }
  .c-sku, .c-label { grid-column: 1 / -1; }
  .c-label { font-weight: 600; }
  .codes-table td.c-attr::before { content: attr(data-th) ": "; color: var(--muted); font-size: .82rem; }
  .codes-table td.num { text-align: left; }
  .codes-table td.num::before { content: attr(data-th) " "; color: var(--muted); font-size: .82rem; }
  .c-qty { align-self: center; }
  .c-add { text-align: right; }
  .codes-table td.num, .codes-table td.c-qty, .codes-table td.c-add { width: auto; padding: 0; }
  .codes-table td.c-qty { text-align: left; }
  .cart-table td:first-child { grid-column: 1 / -1; }
  .cart-table td.num { text-align: left; }
  /* the whole picture on a phone: the arrows go down, under it, so the picture takes the width */
  .lb-stage { padding: 66px 8px 80px; }
  .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; }
  .lb-prev { left: 14px; }
  .lb-next { right: 14px; }
  .lb-count { bottom: 28px; }
}
/* The narrowest phones (320 px): the strip still in two lines, with sinter-hellas.gr's longer email (2026-12-05) */
@media (max-width: 340px) {
  .topbar { font-size: .72rem; }
  .topbar-row { column-gap: 10px; }
}
