/* =====================================================================
   ΟΙΚΟ-ΠΑΝ — design system v10 (demo10)
   Industrial / sheet-metal. Mobile-first, no framework.
   Desktop (>=1025px): sheets stack ("ξεφύλλισμα") via op.js + GSAP.
   Mobile/tablet: plain document flow, zero scroll JS.
   ===================================================================== */

/* ---------- 0. Fonts (self-hosted, only Greek + Latin subsets) ---------- */
@font-face { font-family: "Fira Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/fira-sans-greek-400-normal.woff2) format("woff2"); unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF; }
@font-face { font-family: "Fira Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/fira-sans-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Fira Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/fira-sans-greek-500-normal.woff2) format("woff2"); unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF; }
@font-face { font-family: "Fira Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/fira-sans-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Fira Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/fira-sans-greek-600-normal.woff2) format("woff2"); unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF; }
@font-face { font-family: "Fira Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/fira-sans-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Fira Sans Extra Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/fira-sans-extra-condensed-greek-600-normal.woff2) format("woff2"); unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF; }
@font-face { font-family: "Fira Sans Extra Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/fira-sans-extra-condensed-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

/* ---------- 1. Tokens ---------- */
:root {
  /* galvanised zinc, powder-coat anthracite (RAL 7016), brand leaf */
  --zinc: #e2e4e1;          /* page ground                         */
  --sheet: #eeefec;         /* raised sheet surface                */
  --plate: #d6d9d5;         /* recessed plate / alt sheet          */
  --steel: #8e969a;         /* hairlines, secondary marks          */
  --steel-ink: #5b6367;     /* secondary text on light (AA)        */
  --anth: #383e42;          /* RAL 7016 — dark sheets, footer      */
  --anth-2: #2c3135;        /* deeper anthracite                   */
  --ink: #1d2225;           /* text                                */
  --leaf: #8dc540;          /* brand green (logo)                  */
  --leaf-ink: #4b7a17;      /* brand green for text on light (AA)  */
  --paper: #ffffff;
  --bar: #f3f4f2;           /* μενού: ~4 τόνοι πιο κοντά στο λευκό */

  --f-body: "Fira Sans", "Segoe UI", Roboto, Arial, sans-serif;
  --f-head: "Fira Sans Extra Condensed", "Fira Sans Condensed", "Arial Narrow", Arial, sans-serif;

  --fs-sm: 0.875rem;
  --fs-body: 1.0625rem;
  --fs-lead: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --fs-h3: clamp(1.25rem, 1.15rem + 0.45vw, 1.5rem);
  --fs-h2: clamp(1.75rem, 1.35rem + 1.6vw, 2.75rem);
  --fs-h1: clamp(1.75rem, 1.25rem + 1.9vw, 2.875rem);

  --gut: clamp(16px, 4vw, 48px);
  --wrap: 1320px;
  --bar-h: 76px;
  --cut: 18px;              /* chamfer size                         */
  --ease: cubic-bezier(.2, .7, .1, 1);
}
@media (min-width: 1025px) {
  :root { --bar-h: 92px; --cut: 32px; }
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--bar-h) + 12px); }
body {
  margin: 0;
  background: var(--zinc);
  color: var(--ink);
  font: 500 var(--fs-body)/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "kern", "liga";
  overflow-x: clip;
  padding-top: var(--bar-h);
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--leaf-ink); }
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 600; line-height: 1.06; letter-spacing: .002em; margin: 0; text-wrap: balance; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.15; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--ink); color: var(--zinc); padding: 10px 16px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.num { font-variant-numeric: tabular-nums lining-nums; }

/* ---------- 3. Buttons ---------- */
.btn {
  --b-bg: var(--ink); --b-fg: var(--zinc);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 0 1.4em 0 1.2em;
  background: var(--b-bg); color: var(--b-fg);
  font: 600 1.125rem/1 var(--f-head); letter-spacing: .01em;
  text-decoration: none; border: 0; cursor: pointer;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  transition: background-color .2s, color .2s;
}
.btn:hover { --b-bg: var(--anth); color: var(--b-fg); }
.btn--leaf { --b-bg: var(--leaf); --b-fg: var(--ink); }
.btn--leaf:hover { --b-bg: #a2d65a; }
.btn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px currentColor; clip-path: none; }
.btn--line:hover { background: var(--ink); color: var(--zinc); }
.on-dark .btn--line { color: var(--zinc); }
.on-dark .btn--line:hover { background: var(--zinc); color: var(--ink); }
.btn svg { width: 18px; height: 18px; flex: none; }
.link-arrow { display: inline-flex; align-items: center; gap: .5em; font: 600 1.125rem/1.2 var(--f-head); text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- 4. Top bar ---------- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 200;
  height: var(--bar-h);
  background: var(--bar);
  border-bottom: 2px solid var(--ink);
}
.bar__in { height: 100%; display: flex; align-items: center; gap: 12px; max-width: 2400px; } /* πλήρες πλάτος: λογότυπο και μενού φτάνουν στις άκρες, σε ευθυγράμμιση με το hero */
.bar__logo { display: block; flex: none; margin-right: auto; }
.bar__logo img { width: auto; height: 55px; }
.bar__nav { display: none; }
.bar__tel { display: none; }
.bar__quote { display: none; }
.bar__menu {
  display: inline-flex; align-items: center; gap: 10px;
  height: 44px; padding: 0 14px; border: 2px solid var(--ink); background: transparent; cursor: pointer;
  font: 600 1.0625rem/1 var(--f-head);
}
.bar__menu i { position: relative; width: 18px; height: 2px; background: currentColor; transition: background-color .2s; }
.bar__menu i::before, .bar__menu i::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; transition: transform .3s var(--ease); }
.bar__menu i::before { top: -6px; } .bar__menu i::after { top: 6px; }
.bar__menu[aria-expanded="true"] i { background: transparent; }
.bar__menu[aria-expanded="true"] i::before { transform: translateY(6px) rotate(45deg); }
.bar__menu[aria-expanded="true"] i::after { transform: translateY(-6px) rotate(-45deg); }
.bar-space { height: var(--bar-h); }

@media (min-width: 1025px) {
  .bar__logo img { height: 65px; }
  .bar__in { gap: 28px; }
  .bar__nav { display: flex; align-items: stretch; height: 100%; gap: 4px; }
  .bar__nav a, .bar__nav button {
    display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; height: 100%;
    background: none; border: 0; cursor: pointer; text-decoration: none;
    font: 600 1.0625rem/1 var(--f-body); position: relative;
  }
  .bar__nav a::after, .bar__nav button::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: -2px; height: 4px; background: var(--leaf);
    transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
  }
  .bar__nav a:hover::after, .bar__nav button:hover::after, .bar__nav [aria-current="page"]::after, .bar__nav button[aria-expanded="true"]::after { transform: scaleX(1); }
  .bar__nav a:hover { color: inherit; }
  .bar__nav svg { width: 12px; height: 12px; transition: transform .3s var(--ease); }
  .bar__nav button[aria-expanded="true"] svg { transform: rotate(180deg); }
  .bar__tel { display: inline-flex; align-items: center; gap: 8px; font: 600 1.125rem/1 var(--f-head); text-decoration: none; }
  .bar__tel svg { width: 16px; height: 16px; }
  .bar__quote { display: inline-flex; min-height: 46px; }
  .bar__menu { display: none; }
}

/* ---------- 5. Catalog (mega menu / mobile drawer) ---------- */
.catalog {
  position: fixed; z-index: 190; left: 0; right: 0; top: var(--bar-h); bottom: 0;
  background: var(--anth); color: var(--zinc);
  overflow-y: auto; overscroll-behavior: contain;
  visibility: hidden; opacity: 0; transform: translateY(-12px);
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility 0s linear .28s;
}
.catalog.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
body.is-locked { overflow: hidden; }
.catalog__in { padding-block: 20px 40px; }
.catalog__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid rgba(226,228,225,.18); margin-bottom: 8px; }
.catalog__head h2 { font-size: 1.5rem; }
.catalog__head p { color: var(--steel); font-size: var(--fs-sm); margin: 0; }
.catalog__pages { display: grid; gap: 2px; margin-top: 24px; }
.catalog__pages a { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid rgba(226,228,225,.18); text-decoration: none; font: 600 1.25rem/1.1 var(--f-head); }
.catalog__pages a:hover { color: var(--leaf); }
.catalog__contact { margin-top: 24px; display: grid; gap: 10px; }
.catalog__contact .btn { width: 100%; }

.cat { border-bottom: 1px solid rgba(226,228,225,.18); }
.cat > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 0; font: 600 1.1875rem/1.15 var(--f-head);
}
.cat > summary::-webkit-details-marker { display: none; }
.cat > summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--leaf); border-bottom: 2px solid var(--leaf); transform: rotate(45deg) translate(-3px, -3px); transition: transform .25s var(--ease); }
.cat[open] > summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.cat__count { margin-left: auto; color: var(--steel); font: 500 var(--fs-sm)/1 var(--f-body); }
.cat ul { list-style: none; padding: 0 0 16px; display: grid; gap: 2px; }
.cat a { display: flex; align-items: baseline; gap: 10px; padding: 8px 0; text-decoration: none; color: #c9cdca; line-height: 1.3; }
.cat a:hover { color: var(--paper); }
.code {
  display: inline-block; flex: none; min-width: 3.4em; padding: 3px 6px 2px;
  font: 600 .8125rem/1 var(--f-head); letter-spacing: .04em; text-align: center;
  background: var(--zinc); color: var(--ink);
}
.cat .code { background: rgba(226,228,225,.12); color: var(--leaf); }

@media (min-width: 1025px) {
  .catalog { bottom: auto; max-height: calc(100vh - var(--bar-h)); border-bottom: 2px solid var(--ink); }
  .catalog__in { padding-block: 32px 40px; }
  .catalog__in { max-width: 2400px; }
  .catalog__grid { columns: 4 250px; column-gap: 40px; }
  .cat { break-inside: avoid; border: 0; margin-bottom: 22px; }
  .cat > summary { pointer-events: none; padding: 0 0 10px; border-bottom: 2px solid var(--leaf); margin-bottom: 6px; font-size: 1.125rem; }
  .cat > summary::after { display: none; }
  .cat ul { padding: 0; }
  .cat a { padding: 3px 0; font-size: .9375rem; }
  .catalog__side { display: none; }
}
@media (min-width: 1700px) { .catalog__grid { columns: 5 250px; column-gap: 56px; } }

/* ---------- 6. Sheets (sections) ---------- */
.sheets { position: relative; }
.sheet {
  position: relative;
  background: var(--sheet);
  padding-block: clamp(56px, 9vw, 112px);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
  margin-top: -1px;
}
.sheet + .sheet { border-top: 0; }
.sheet--plate { background: var(--plate); }
.sheet--dark { background: var(--anth); color: var(--zinc); }
.sheet--dark a:hover { color: var(--leaf); }
.sheet::after { /* dimming layer animated on desktop while a sheet is covered */
  content: ""; position: absolute; inset: 0; background: var(--anth-2);
  opacity: var(--dim, 0); pointer-events: none; z-index: 5;
}

/* stamped marking: punched holes + section name (from Mojo "sidetitle") */
.mark {
  display: flex; align-items: center; gap: 14px; margin: 0 0 28px;
  font: 600 var(--fs-sm)/1 var(--f-body); color: var(--steel-ink);
}
.mark::before {
  content: ""; flex: none; width: 84px; height: 10px;
  background: radial-gradient(circle at 5px 5px, var(--ink) 0 3px, transparent 3.5px) 0 0 / 14px 10px repeat-x;
  opacity: .85;
}
.sheet--dark .mark { color: var(--steel); }
.sheet--dark .mark::before { background-image: radial-gradient(circle at 5px 5px, var(--leaf) 0 3px, transparent 3.5px); }

@media (min-width: 1025px) {
  .sheets--stack > .sheet { min-height: 100vh; display: flex; align-items: center; padding-block: calc(var(--bar-h) + 48px) 64px; }
  .sheets--stack > .sheet > .wrap { width: 100%; }
}

/* ---------- 7. Hero ---------- */
.hero { padding: 0; background: var(--zinc); color: var(--ink); }
.hero__media { position: relative; height: 46svh; min-height: 300px; max-height: 560px; overflow: hidden; background: var(--anth); }
.hero__slide { position: absolute; inset: 0; margin: 0; display: none; }
.hero__slide.is-active { display: block; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(29,34,37,.35) 0%, rgba(29,34,37,0) 30%, rgba(29,34,37,0) 70%, rgba(29,34,37,.25) 100%); }
.hero__plate {
  position: relative; z-index: 3; margin: -56px var(--gut) 0; padding: 26px 22px 24px;
  background: rgba(226,228,225,.85); /* 15% διαφάνεια: φαίνεται η φωτογραφία, τα κείμενα/κουμπιά μένουν 100% */
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
}
.hero__where { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; color: var(--steel-ink); font-size: var(--fs-sm); }
.hero__where::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 3px rgba(141,197,64,.25); }
.hero__plate h1 { max-width: 21ch; }
.hero__lead { margin: 16px 0 22px; font-size: var(--fs-lead); line-height: 1.5; color: #3a4145; max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__actions .btn--line { color: var(--ink); }
.hero__actions .btn { flex: 1 1 200px; }
.hero__index { display: none; }
.hero__foot { background: var(--zinc); height: 28px; }

@media (min-width: 700px) and (max-width: 1024px) {
  .hero__media { height: 62svh; max-height: 640px; }
  .hero__plate { max-width: 640px; margin-top: -120px; padding: 34px 32px; }
  .hero__actions .btn { flex: 0 0 auto; }
}
@media (min-width: 1025px) {
  .sheets--stack > .hero { display: block; min-height: calc(100vh - var(--bar-h)); padding: 0; }
  .hero__media { position: absolute; inset: 0; height: auto; max-height: none; }
  .hero__slide { display: block; opacity: 0; transition: opacity 1.2s ease; }
  .hero__slide.is-active { opacity: 1; z-index: 1; }
  .hero__slide img { transform: scale(1.04); transition: transform 7s linear; }
  .hero__slide.is-active img { transform: scale(1); }
  .hero__plate {
    position: absolute; left: var(--gut); bottom: 56px; margin: 0; width: min(640px, 46vw);
    padding: 40px 44px 40px;
  }
  .hero__actions .btn { flex: 0 0 auto; }
  .hero__index {
    position: absolute; z-index: 3; right: var(--gut); bottom: 56px; display: flex; align-items: flex-end; gap: 18px;
    color: var(--paper); max-width: 360px;
  }
  .hero__count { font: 600 1rem/1 var(--f-head); letter-spacing: .06em; padding: 10px 12px; background: var(--ink); color: var(--zinc); white-space: nowrap; }
  .hero__count b { color: var(--leaf); font-weight: 600; }
  .hero__cap { margin: 0; font-size: .9375rem; line-height: 1.4; text-shadow: 0 1px 12px rgba(0,0,0,.45); }
  .hero__ctrl { display: flex; gap: 2px; }
  .hero__ctrl button { width: 40px; height: 36px; border: 0; background: var(--zinc); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
  .hero__ctrl button:hover { background: var(--leaf); }
  .hero__ctrl svg { width: 16px; height: 16px; }
  .hero__foot { display: none; }
}

/* ---------- 8. Split sections (text + object) ---------- */
.split { display: grid; gap: 32px; align-items: center; }
.split__media { margin: 0; position: relative; }
.split__body h2 { margin-bottom: 20px; max-width: 18ch; }
.split__body .prose { max-width: 58ch; }
.split__body .link-arrow { margin-top: 26px; }

/* product cut-outs shot on white: multiply makes the white disappear into the sheet */
.obj { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3.2; }
.obj img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.obj--tall { aspect-ratio: 4 / 4.4; }
.obj--photo img { object-fit: cover; mix-blend-mode: normal; }
.obj__cap { position: absolute; left: 0; bottom: 0; max-width: 85%; margin: 0; padding: 12px 16px; background: var(--ink); color: var(--zinc); font: 600 1.0625rem/1.25 var(--f-head); }

.prose { font-size: var(--fs-body); line-height: 1.5; }
.prose p { margin-bottom: .5em; }
.prose p:last-child { margin-bottom: 0; }
.prose--lead { font-size: var(--fs-lead); line-height: 1.55; }
.prose ul { padding-left: 1.1em; }
.prose li { margin: .25em 0; }

.facts { list-style: none; display: grid; gap: 0; margin-top: 32px; border-top: 2px solid var(--ink); }
.facts li { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 14px 0; border-bottom: 1px solid rgba(29,34,37,.18); }
.facts b { font: 600 1.25rem/1.1 var(--f-head); }
.facts span { color: var(--steel-ink); font-size: var(--fs-sm); }

@media (min-width: 700px) {
  .facts { grid-template-columns: repeat(3, 1fr); }
  .facts li { padding: 16px 20px 16px 0; border-bottom: 0; }
  .facts li + li { padding-left: 20px; border-left: 1px solid rgba(29,34,37,.18); }
}
@media (min-width: 1025px) {
  .split { grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 96px); }
  .split--rev .split__media { order: 2; }
  .split--company { grid-template-columns: 1.3fr .9fr; }
  .obj { aspect-ratio: auto; height: min(62vh, 600px); }
}

/* ---------- 9. Product rail (gallery module) ---------- */
.rail-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.rail-head h2 { max-width: 20ch; }
.rail-ctrl { display: none; gap: 2px; }
.rail-ctrl button { width: 52px; height: 52px; border: 0; background: var(--zinc); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.rail-ctrl button:hover { background: var(--leaf); }
.rail-ctrl button:disabled { opacity: .35; cursor: default; background: var(--zinc); }
.rail-ctrl svg { width: 18px; height: 18px; }
.rail {
  list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: 78%;
  gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: 0 var(--gut) 8px; margin: 0 calc(var(--gut) * -1);
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail > li { scroll-snap-align: start; scroll-margin-left: var(--gut); }
.card { display: flex; flex-direction: column; height: 100%; background: var(--sheet); color: var(--ink); text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%); }
.card:hover { color: var(--ink); }
.card__img { aspect-ratio: 1 / 1; display: grid; place-items: center; padding: 6px; }
.card__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .5s var(--ease); }
.card:hover .card__img img { transform: scale(1.04); }
.card__body { padding: 14px 16px 18px; border-top: 2px solid var(--ink); display: grid; gap: 8px; align-content: start; flex: 1; }
.card__body h3 { font-size: 1.1875rem; line-height: 1.15; }
.card__body .code { justify-self: start; }
@media (min-width: 640px) { .rail { grid-auto-columns: 42%; } }
@media (min-width: 1025px) {
  .rail { grid-auto-columns: calc((100% - 3 * 12px) / 4); padding: 0; margin: 0; }
  .rail > li { scroll-margin-left: 0; }
  .rail-ctrl { display: flex; }
}

/* ---------- 10. Footer ---------- */
.foot { background: var(--anth); color: var(--zinc); position: relative; padding: 0; clip-path: none; }
.foot__in::before { /* perforated edge */
  content: ""; display: block; height: 18px; position: absolute; left: 0; right: 0; top: 0;
  background: radial-gradient(circle at 9px 9px, var(--zinc) 0 4px, transparent 4.5px) 0 0 / 22px 18px repeat-x;
}
.foot__in { position: relative; padding-top: 66px; padding-bottom: 28px; display: grid; gap: 36px; }
.foot h2 { font-size: var(--fs-h2); max-width: 20ch; }
.foot__cta { display: grid; gap: 22px; align-content: start; }
.foot__cta p { color: #c3c8c5; max-width: 42ch; margin: 0; }
.foot__cta .btn { justify-self: start; }
.foot dl { margin: 0; display: grid; gap: 0; align-content: start; border-top: 1px solid rgba(226,228,225,.2); }
.foot dl > div { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid rgba(226,228,225,.2); }
.foot dt { color: var(--steel); font-size: var(--fs-sm); padding-top: 2px; }
.foot dd { margin: 0; font: 600 1.1875rem/1.25 var(--f-head); }
.foot dd a { text-decoration: none; }
.foot dd a:hover { color: var(--leaf); }
.certs { background: var(--bar); color: var(--ink); padding-block: 28px; border-top: 2px solid var(--ink); }
.certs__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 48px; }
.certs p { margin: 0; color: var(--steel-ink); font-size: var(--fs-sm); }
.certs img { height: 56px; width: auto; background: none; }
.certs img.flag { height: 52px; }
.foot__legal { border-top: 1px solid rgba(226,228,225,.2); padding-block: 18px 22px; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: var(--fs-sm); color: var(--steel); }
.foot__legal a { color: #c3c8c5; }
.foot__legal a:hover { color: var(--leaf); }
.foot__legal span:first-child { margin-right: auto; }
@media (min-width: 1025px) {
  .foot__in { grid-template-columns: 1.2fr 1fr; gap: 72px; padding-top: 98px; padding-bottom: 48px; }
  .certs__in { justify-content: space-between; }
}

/* ---------- 11. Product page (case.aspx) ---------- */
.crumbs { padding-block: 18px 0; font-size: var(--fs-sm); color: var(--steel-ink); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--steel); }
.crumbs a { text-decoration: none; }
.crumbs [aria-current] { color: var(--ink); }

.pdp { display: grid; gap: 28px; padding-block: 20px 56px; }
.gal { display: grid; gap: 10px; }
.gal__main { margin: 0; background: var(--sheet); aspect-ratio: 1 / 1; display: grid; place-items: center; padding: 6%;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); }
.gal__main { position: relative; }
.gal__main img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.gal__zoom { position: absolute; right: 0; bottom: 0; width: 52px; height: 52px; display: grid; place-items: center; padding: 0; border: 0; background: var(--ink); color: var(--zinc); cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease); }
.gal__zoom svg { width: 26px; height: 26px; }
.gal__zoom:hover, .gal__zoom:focus-visible { background: var(--leaf); color: var(--ink); }
.js .gal__zoom { display: grid; }

/* lightbox */
.lb { border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; background: rgba(29,34,37,.96); color: var(--zinc); }
.lb::backdrop { background: rgba(29,34,37,.96); }
.lb__stage { position: absolute; inset: 0; overflow: auto; display: grid; place-items: center; padding: 72px 16px 56px; -webkit-overflow-scrolling: touch; }
.lb__stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; background: var(--sheet); cursor: zoom-in; display: block; }
.lb.is-zoomed .lb__stage { display: block; padding: 72px 0 0; }
.lb.is-zoomed .lb__stage img { max-width: none; max-height: none; width: 220%; cursor: zoom-out; margin: 0 auto; }
.lb__close { position: absolute; top: 0; right: 0; z-index: 2; display: flex; align-items: center; gap: 12px; height: 60px; padding: 0 22px; border: 0; background: var(--leaf); color: var(--ink); font: 600 1.125rem/1 var(--f-head); letter-spacing: .04em; text-transform: uppercase; cursor: pointer; clip-path: polygon(0 0, 100% 0, 100% 100%, 14px 100%, 0 calc(100% - 14px)); }
.lb__close svg { width: 22px; height: 22px; }
.lb__close:hover, .lb__close:focus-visible { background: var(--zinc); }
.lb__hint { position: absolute; left: 0; right: 0; bottom: 16px; margin: 0; text-align: center; font-size: var(--fs-sm); color: var(--steel); pointer-events: none; }
.lb.is-zoomed .lb__hint { display: none; }
@media (min-width: 1025px) { .lb__stage { padding: 80px 64px 56px; } .lb__stage img { max-height: calc(100vh - 140px); } .lb__close { height: 68px; padding: 0 28px; } }
.gal__thumbs { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; }
.gal__thumbs button { width: 100%; aspect-ratio: 1; padding: 6px; border: 2px solid transparent; background: var(--sheet); cursor: pointer; }
.gal__thumbs button[aria-current="true"] { border-color: var(--ink); }
.gal__thumbs img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }

.sum { display: grid; gap: 20px; align-content: start; }
.sum h1 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.25rem); }
.sum__key { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 2px solid var(--ink); }
.sum__key li { padding: 14px 0; border-bottom: 1px solid rgba(29,34,37,.18); }
.sum__key li:nth-child(even) { padding-left: 16px; border-left: 1px solid rgba(29,34,37,.18); }
.sum__key span { display: block; font-size: var(--fs-sm); color: var(--steel-ink); }
.sum__key b { font: 600 1.375rem/1.1 var(--f-head); }
.sum__actions { display: grid; gap: 10px; }
.sum__note { font-size: var(--fs-sm); color: var(--steel-ink); margin: 0; }
.sum__note a { font-weight: 600; color: var(--ink); }

.spec { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums lining-nums; }
.spec th, .spec td { text-align: left; padding: 13px 0; border-bottom: 1px solid rgba(29,34,37,.18); vertical-align: baseline; }
.spec th { font-weight: 500; color: var(--steel-ink); padding-right: 16px; }
.spec td { font: 600 1.25rem/1.1 var(--f-head); text-align: right; white-space: nowrap; }
.spec tr:first-child th, .spec tr:first-child td { border-top: 2px solid var(--ink); }
.spec__ref { display: inline-grid; place-items: center; width: 1.6em; height: 1.6em; margin-left: 6px; background: var(--ink); color: var(--zinc); font: 600 .75rem/1 var(--f-head); }

.ticks { list-style: none; display: grid; gap: 0; border-top: 2px solid var(--ink); }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(29,34,37,.18); }
.ticks li::before { content: ""; width: 12px; height: 12px; margin-top: .45em; background: var(--leaf); clip-path: polygon(0 0, 100% 0, 100% 60%, 60% 100%, 0 100%); }

.drawing { background: var(--paper); padding: 6%; margin: 0; clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); }
.drawing img { width: 100%; height: auto; max-height: 62vh; object-fit: contain; }

.mobile-cta { position: fixed; z-index: 150; left: 0; right: 0; bottom: 0; display: flex; gap: 2px; padding: 8px; background: var(--zinc); border-top: 2px solid var(--ink); }
.mobile-cta .btn { flex: 1; min-height: 48px; padding: 0 .8em; font-size: 1.0625rem; }
.has-mobile-cta .foot__legal { padding-bottom: 88px; }

@media (min-width: 1025px) {
  .crumbs { padding-top: 28px; }
  .pdp { grid-template-columns: 1.1fr .9fr; gap: 64px; padding-block: 28px 96px; align-items: start; }
  .gal { grid-template-columns: 84px 1fr; position: sticky; top: calc(var(--bar-h) + 24px); }
  .gal__main { order: 2; aspect-ratio: auto; height: min(68vh, 640px); }
  .gal__thumbs { order: 1; grid-template-columns: 1fr; align-content: start; }
  .gal--solo { grid-template-columns: 1fr; }
  .sum { padding-top: 12px; }
  .sum__actions { grid-template-columns: auto auto; justify-content: start; }
  .mobile-cta { display: none; }
  .has-mobile-cta .foot__legal { padding-bottom: 22px; }
}


/* ---------- 11b. Product page extras ---------- */
.sum__lead { font-size: var(--fs-lead); line-height: 1.55; color: #3a4145; margin: 0; }
.sum h1 + .code { margin-top: -6px; }
.sum__code { justify-self: start; }
.spec-cap { margin: 0 0 12px; font: 600 1.0625rem/1.2 var(--f-head); color: var(--steel-ink); }
.spec-notes { margin-top: 16px; font-size: var(--fs-sm); color: var(--steel-ink); }
.split__body .ticks, .split__body .spec { margin-top: 4px; }
.split__body .prose + .ticks { margin-top: 20px; }
.split__media.drawing { aspect-ratio: auto; height: auto; }
.related .card__body h3 { font-size: 1.0625rem; }
.cat[data-current] > summary { color: var(--leaf); }
.cat a[aria-current="page"] { color: var(--paper); font-weight: 600; }

/* ---------- 13. Text pages (page.aspx) ---------- */
.doc { padding-block: clamp(40px, 7vw, 96px); }
.doc__head { display: grid; gap: 18px; padding-bottom: 28px; margin-bottom: 36px; border-bottom: 2px solid var(--ink); }
.doc__head h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.5rem); max-width: 22ch; }
.doc__grid { display: grid; gap: 40px; }
.doc__main { font-size: var(--fs-lead); line-height: 1.6; max-width: 68ch; }
.doc__main p, .doc__side p { margin-bottom: .6em; }
.doc__side { font-size: var(--fs-body); max-width: 62ch; }
.doc__side > :first-child, .doc__main > :first-child { margin-top: 0; }
.doc__main ul, .doc__side ul { list-style: none; padding: 0; margin: 1em 0; border-top: 2px solid var(--ink); }
.doc__main li, .doc__side li { position: relative; padding: 12px 0 12px 30px; border-bottom: 1px solid rgba(29,34,37,.18); font-size: var(--fs-body); line-height: 1.55; }
.doc__main li::before, .doc__side li::before { content: ""; position: absolute; left: 0; top: 1.15em; width: 12px; height: 12px; background: var(--leaf); clip-path: polygon(0 0, 100% 0, 100% 60%, 60% 100%, 0 100%); }
@media (min-width: 1025px) {
  .doc__grid { grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
  .doc__grid--one { grid-template-columns: minmax(0, 68ch); }
}

/* ---------- 14. Garments (products.aspx) ---------- */
.garments { display: grid; gap: 14px; padding-bottom: clamp(56px, 8vw, 104px); }
.garment { display: grid; background: var(--sheet); clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); }
.garment__media { position: relative; background: var(--paper); }
.snap { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 1 / 1; list-style: none; }
.snap::-webkit-scrollbar { display: none; }
.snap li { scroll-snap-align: start; display: grid; place-items: center; padding: 6%; }
.snap img { width: 100%; height: 100%; object-fit: contain; }
.snap-dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 6px; }
.snap-dots button { width: 22px; height: 22px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.snap-dots button::before { content: ""; width: 10px; height: 4px; background: var(--steel); transition: width .25s var(--ease), background-color .25s; }
.snap-dots button[aria-current="true"]::before { width: 22px; background: var(--ink); }
.garment__body { padding: 22px 20px 26px; display: grid; gap: 14px; align-content: start; }
.garment__body h2 { font-size: var(--fs-h3); line-height: 1.15; }
.garment__body .code { justify-self: start; }
.garment__text { color: #3a4145; }
.garment__text > div + div { margin-top: 14px; }
.garment__text strong { font-weight: 600; color: var(--ink); }
.garment__text .colors, .garment__text .sizes, .garment__text .features { padding-top: 14px; border-top: 1px solid rgba(29,34,37,.18); }
.garment__text .colors > strong:first-child, .garment__text .sizes > strong:first-child, .garment__text .features > strong:first-child { display: block; margin-bottom: 8px; font: 600 var(--fs-sm)/1.2 var(--f-body); color: var(--steel-ink); }
.garment__text .colors { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; font-size: .875rem; }
.garment__text .colors > strong:first-child { flex-basis: 100%; }
.garment__text .sw { display: inline-flex; align-items: center; gap: 6px; }
.garment__text .colors svg { width: 16px; height: 16px; flex: none; }
.garment__text .colors svg circle { stroke: rgba(29,34,37,.35); stroke-width: 1; }
.garment__text .sizes { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.garment__text .sizes > strong:first-child { flex-basis: 100%; }
.garment__text .sizes span { min-width: 2.4em; padding: 5px 8px; border: 1px solid var(--ink); text-align: center; font: 600 .9375rem/1 var(--f-head); }
.garment__text .features ul { list-style: none; margin: 0; padding: 0; }
.garment__text .features li { position: relative; padding: 5px 0 5px 20px; font-size: .9375rem; }
.garment__text .features li::before { content: ""; position: absolute; left: 0; top: .85em; width: 9px; height: 9px; background: var(--leaf); }
@media (min-width: 700px) { .garment { grid-template-columns: 1fr 1fr; } .snap { aspect-ratio: auto; height: 100%; min-height: 380px; } }
@media (min-width: 1025px) {
  .garments { grid-template-columns: 1fr 1fr; gap: 16px; }
  .garment { grid-template-columns: 1fr; }
  .snap { aspect-ratio: 4 / 3; height: auto; min-height: 0; }
  .garment__body { padding: 28px 30px 32px; }
}

/* ---------- 15. Contact ---------- */
.contact { display: grid; gap: 40px; padding-block: clamp(40px, 7vw, 96px); }
.contact h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.5rem); margin-bottom: 20px; }
.contact__lead { font-size: var(--fs-lead); line-height: 1.55; color: #3a4145; max-width: 44ch; margin-bottom: 28px; }
.contact dl { margin: 0; border-top: 2px solid var(--ink); }
.contact dl > div { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(29,34,37,.18); }
.contact dt { color: var(--steel-ink); font-size: var(--fs-sm); padding-top: 3px; }
.contact dd { margin: 0; font: 600 1.25rem/1.25 var(--f-head); }
.contact dd a { text-decoration: none; }
.contact__map { margin-top: 18px; }
.form { background: var(--sheet); padding: 26px 20px 28px; display: grid; gap: 16px; align-content: start;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); }
.form h2 { font-size: var(--fs-h3); }
.field { display: grid; gap: 6px; }
.field label { font: 600 var(--fs-sm)/1.2 var(--f-body); color: var(--steel-ink); }
.field label b { color: var(--leaf-ink); font-weight: 600; }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 2px solid var(--ink); border-radius: 0;
  background: var(--paper); color: var(--ink); font: 500 1rem/1.4 var(--f-body); -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--leaf); outline-offset: 0; }
.form__row { display: grid; gap: 16px; }
.form .btn { width: 100%; }
.form__note { margin: 0; font-size: var(--fs-sm); color: var(--steel-ink); }
.klpd11 { display: none !important; visibility: hidden; }
.done { padding: 24px 22px; background: var(--ink); color: var(--zinc); clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); }
.done h2 { font-size: var(--fs-h2); margin-bottom: 12px; }
.done p { color: #c3c8c5; }
.done .btn { margin-top: 18px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1025px) {
  .contact { grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: start; }
  .form { padding: 36px 36px 38px; }
  .form .btn { width: auto; justify-self: start; }
}

/* ---------- 16. Not found ---------- */
.nf { padding-block: clamp(56px, 10vw, 140px); display: grid; gap: 18px; justify-items: start; }
.nf h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.5rem); }

/* ---------- 12. Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .hero__slide img { transform: none !important; }
}

/* ---------- 17. Category grid (case.aspx σε σελίδα κατηγορίας) ---------- */
.grid-cards { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 12px; }
.grid-cards .card__body h2 { font-size: 1.1875rem; line-height: 1.15; }
.grid-cards .card__body .code, .rail .card__body .code { justify-self: start; }
@media (max-width: 480px) { .grid-cards { grid-template-columns: 1fr 1fr; gap: 8px; } .grid-cards .card__body { padding: 10px 10px 14px; } .grid-cards .card__body h2 { font-size: 1rem; } }
.garment__body .link-arrow, .split__body .link-arrow { justify-self: start; }

/* ---- κινητό: πλευρικό μενού κατηγορίας στη θέση του breadcrumb ---- */
.secbar { padding-block: 12px 0; }
.secbar__btn { width: 100%; display: flex; align-items: center; gap: 14px; padding: 0 14px 0 0; border: 0; border-bottom: 1px solid rgba(29,34,37,.28); background: none; color: var(--ink); text-align: left; cursor: pointer; font: inherit; }
.secbar__ico { flex: none; width: 44px; height: 44px; background: var(--ink); display: grid; align-content: center; justify-items: start; gap: 5px; padding-left: 12px; }
.secbar__ico i { display: block; height: 2px; width: 20px; background: var(--zinc); }
.secbar__ico i:nth-child(2) { width: 13px; background: var(--leaf); }
.secbar__txt { flex: 1; min-width: 0; display: grid; gap: 3px; padding-block: 6px; }
.secbar__txt small { font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--steel-ink); font-weight: 500; }
.secbar__txt b { font: 600 .9375rem/1.15 var(--f-head); letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.secbar__btn > svg { flex: none; width: 14px; height: 14px; color: var(--ink); }
.sec { margin: 0; padding: 0; border: 0; width: min(88vw, 360px); max-width: none; height: 100vh; height: 100dvh; max-height: none; background: var(--anth); color: var(--zinc); overflow: auto; position: fixed; inset: 0 auto 0 0; }
.sec::backdrop { background: rgba(29,34,37,.7); }
.sec[open] { animation: sec-in .28s var(--ease); }
@keyframes sec-in { from { transform: translateX(-24px); opacity: 0; } to { transform: none; opacity: 1; } }
.sec__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 20px 0 16px 20px; border-bottom: 2px solid var(--leaf); position: sticky; top: 0; background: var(--anth); z-index: 1; }
.sec__head small { display: block; margin-bottom: 6px; font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--steel); }
.sec__head h2 { font-size: 1.25rem; line-height: 1.1; text-transform: uppercase; }
.sec__x { flex: none; width: 52px; height: 52px; margin-top: -20px; border: 0; background: var(--leaf); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.sec__x svg { width: 20px; height: 20px; }
.sec__list { list-style: none; margin: 0; padding: 8px 0; }
.sec__list a { display: flex; align-items: baseline; gap: 10px; padding: 11px 20px; text-decoration: none; color: #c9cdca; font-size: .9375rem; line-height: 1.3; border-left: 3px solid transparent; }
.sec__list a[aria-current="page"] { color: var(--paper); border-left-color: var(--leaf); background: rgba(226,228,225,.07); font-weight: 600; }
.sec .code { background: rgba(226,228,225,.12); color: var(--leaf); }
.sec__foot { display: grid; gap: 2px; padding: 8px 0 28px; border-top: 1px solid rgba(226,228,225,.18); }
.sec__foot a { display: flex; align-items: center; gap: 8px; padding: 12px 20px; text-decoration: none; color: var(--zinc); font: 600 1.0625rem/1.1 var(--f-head); }
.sec__foot a svg { width: 14px; height: 14px; color: var(--leaf); }
@media (max-width: 767px) { .crumbs--full { display: none; } }
@media (min-width: 768px) { .secbar, .sec { display: none !important; } }
