/*
Theme Name: Πόσο κοστίζει
Theme URI: https://kostizei.gr
Author: kostizei.gr
Author URI: https://kostizei.gr
Description: Custom classic theme για το kostizei.gr — ανεξάρτητος εθνικός οδηγός τιμών 2026. Σχέδιο «ετικέτα τιμής / απόδειξη ταμειακής»: χαρτί, μελάνι, κόκκινο απόδειξης. Χωρίς page builder, χωρίς jQuery, χωρίς εξωτερικά αιτήματα.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kostizei
*/

/* ─── Self-hosted fonts (fontsource, OFL) — Manrope & JetBrains Mono, latin + greek ─── */
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(assets/fonts/manrope-greek-wght-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: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(assets/fonts/manrope-latin-wght-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: 'JetBrains Mono'; font-style: normal; font-weight: 100 800; font-display: swap;
  src: url(assets/fonts/jetbrains-mono-greek-wght-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: 'JetBrains Mono'; font-style: normal; font-weight: 100 800; font-display: swap;
  src: url(assets/fonts/jetbrains-mono-latin-wght-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; }

:root {
  --paper:      #f3eee4;
  --paper-2:    #ebe4d6;
  --receipt:    #fffdf8;
  --ink:        #17150f;
  --ink-2:      #4a463d;
  --ink-3:      #7b7568;
  --line:       #d9d0bf;
  --line-soft:  #e6dfd1;
  --accent:     #e2321b;   /* κόκκινο απόδειξης */
  --accent-ink: #b8240f;
  --accent-wash:#fbe3dc;
  --ok:         #2f6b3a;

  --f-sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  --r-s: 6px; --r-m: 12px; --r-l: 20px;
  --sh-1: 0 1px 0 rgba(23,21,15,.04), 0 1px 2px rgba(23,21,15,.06);
  --sh-2: 0 1px 0 rgba(23,21,15,.04), 0 10px 30px -12px rgba(23,21,15,.22);
  --sh-3: 0 30px 60px -25px rgba(23,21,15,.35), 0 12px 24px -12px rgba(23,21,15,.18);
  --ease: cubic-bezier(.2,.7,.2,1);
  --wrap: 1200px;
  --zig: 9px;
}

/* ─── Reset / base ─── */
*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-sans); font-size: 17px; line-height: 1.65; font-weight: 450;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  background-image: radial-gradient(rgba(23,21,15,.035) 1px, transparent 1px);
  background-size: 22px 22px;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: color-mix(in srgb, var(--accent) 55%, transparent); text-underline-offset: 3px; text-decoration-thickness: 1.5px; transition: color .2s var(--ease); }
a:hover { color: var(--accent-ink); }
h1,h2,h3,h4 { line-height: 1.12; letter-spacing: -.025em; font-weight: 800; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 1.4rem + 3.6vw, 4.3rem); letter-spacing: -.04em; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); }
h3 { font-size: 1.2rem; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.screen-reader-text:focus { position: fixed !important; top: 12px; left: 12px; width: auto; height: auto; clip: auto; z-index: 999; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-s); }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 40px, 780px); margin-inline: auto; }
.mono, .num { font-family: var(--f-mono); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--f-mono); font-size: .76rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-wash); }
.muted { color: var(--ink-3); }
.hl { background: linear-gradient(transparent 62%, color-mix(in srgb, var(--accent) 28%, transparent) 62%); padding: 0 .08em; }

/* ─── Buttons ─── */
.btn {
  --b: var(--ink); display: inline-flex; align-items: center; gap: .55em; justify-content: center;
  font: 700 .95rem/1 var(--f-sans); padding: .95em 1.35em; border-radius: 999px; border: 1.5px solid var(--b);
  background: var(--b); color: #fff; text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 22px -10px var(--b); }
.btn:active { transform: translateY(0); }
.btn--accent { --b: var(--accent); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { color: var(--ink); background: var(--receipt); }
.btn svg { width: 1.05em; height: 1.05em; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

/* ─── Header ─── */
.ticker {
  background: var(--ink); color: #efe8da; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .04em;
  overflow: hidden; white-space: nowrap; border-bottom: 1px solid #000;
}
.ticker__track { display: inline-flex; gap: 2.6rem; padding: .5rem 0; animation: tick 48s linear infinite; }
.ticker__track span b { color: #fff; font-weight: 700; }
.ticker__track span i { font-style: normal; color: #ff8d7a; }
@keyframes tick { to { transform: translateX(-50%); } }

.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: saturate(1.3) blur(10px); -webkit-backdrop-filter: saturate(1.3) blur(10px); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(23,21,15,.4); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font-weight: 800; font-size: 1.22rem; letter-spacing: -.035em; }
.logo:hover { color: var(--ink); }
.logo__tag { width: 34px; height: 34px; flex: none; transition: transform .5s var(--ease); transform-origin: 70% 20%; }
.logo:hover .logo__tag { transform: rotate(-14deg); }
.logo__tld { color: var(--accent); }
.nav { display: flex; align-items: center; gap: 6px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav a { display: block; padding: .55rem .85rem; border-radius: 999px; text-decoration: none; font-weight: 650; font-size: .93rem; color: var(--ink-2); }
.nav a:hover, .nav .current-menu-item > a { color: var(--ink); background: var(--paper-2); }
.nav__search { display: inline-flex !important; align-items: center; gap: .45rem; border: 1.5px solid var(--line); background: var(--receipt); }
.nav__search svg { width: 15px; height: 15px; }
.menu-toggle { display: none; background: none; border: 1.5px solid var(--line); border-radius: 999px; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .3s var(--ease), background .2s; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; } .menu-toggle span::after { top: 6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ─── Language switcher (Polylang) ─── */
.langsw { display: inline-flex; align-items: center; gap: 2px; margin-inline-start: 10px; padding: 3px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--receipt); direction: ltr; unicode-bidi: isolate; flex: none; }
.langsw__globe { display: inline-grid; place-items: center; width: 26px; height: 26px; color: var(--ink-3); }
.langsw__globe svg { width: 16px; height: 16px; }
.nav .langsw__a { display: inline-block; padding: .32rem .62rem; border-radius: 999px; font-family: var(--f-mono); font-size: .72rem; font-weight: 700; line-height: 1.2; letter-spacing: .04em; color: var(--ink-2); text-decoration: none; background: transparent; }
.nav .langsw__a:hover { color: var(--ink); background: var(--paper-2); }
.nav .langsw__a.is-active, .nav .langsw__a.is-active:hover { background: var(--ink); color: #fff; }

/* ─── Perforated / zigzag receipt edges ─── */
.receipt {
  position: relative; background: var(--receipt); color: var(--ink);
  -webkit-mask: conic-gradient(from 135deg at top, #0000, #000 1deg 90deg, #0000 91deg) top / calc(2*var(--zig)) 51% repeat-x,
               conic-gradient(from -45deg at bottom, #0000, #000 1deg 90deg, #0000 91deg) bottom / calc(2*var(--zig)) 51% repeat-x;
          mask: conic-gradient(from 135deg at top, #0000, #000 1deg 90deg, #0000 91deg) top / calc(2*var(--zig)) 51% repeat-x,
               conic-gradient(from -45deg at bottom, #0000, #000 1deg 90deg, #0000 91deg) bottom / calc(2*var(--zig)) 51% repeat-x;
  padding: calc(var(--zig) + 22px) 28px calc(var(--zig) + 26px);
}
.receipt-wrap { filter: drop-shadow(0 22px 30px rgba(23,21,15,.14)) drop-shadow(0 2px 2px rgba(23,21,15,.07)); }
.perf { height: 0; border: 0; border-top: 2px dashed var(--line); margin: 18px -28px; position: relative; overflow: visible; }
.perf::before, .perf::after { content: ""; position: absolute; top: -10px; width: 18px; height: 18px; border-radius: 50%; background: var(--paper); }
.perf::before { left: -9px; } .perf::after { right: -9px; }
.receipt__head { text-align: center; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.receipt__store { font-family: var(--f-sans); font-size: 1.05rem; letter-spacing: -.02em; text-transform: none; font-weight: 800; color: var(--ink); display: block; margin-bottom: 2px; }
.rline { display: flex; align-items: baseline; gap: .6rem; font-family: var(--f-mono); font-size: .86rem; padding: .28rem 0; font-variant-numeric: tabular-nums; }
.rline > span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.rline__dots { flex: 1; border-bottom: 1.5px dotted var(--line); transform: translateY(-4px); min-width: 12px; }
.rline__v { font-weight: 700; white-space: nowrap; }
.rtotal { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--f-mono); font-weight: 800; font-size: 1.1rem; }
.rtotal .num { font-size: 1.5rem; color: var(--accent); }
.barcode { height: 38px; margin: 14px auto 4px; width: 78%;
  background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 12px, var(--ink) 12px 13px, transparent 13px 16px); opacity: .9; }
.stamp {
  display: inline-block; font-family: var(--f-mono); font-weight: 800; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); border: 2px solid currentColor; border-radius: 6px; padding: .3em .7em; transform: rotate(-6deg);
  background: color-mix(in srgb, var(--receipt) 70%, transparent);
  mask: radial-gradient(circle at 30% 40%, #000 60%, rgba(0,0,0,.8) 80%);
}

/* ─── Hero ─── */
.hero { position: relative; padding: clamp(40px, 6vw, 90px) 0 clamp(50px, 7vw, 110px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero h1 { margin: 18px 0 20px; }
.hero h1 .q { color: var(--accent); display: inline-block; animation: qbob 3.2s var(--ease) infinite; transform-origin: 50% 90%; }
@keyframes qbob { 0%,100% { transform: rotate(0); } 50% { transform: rotate(8deg) translateY(-3px); } }
.hero__lead { font-size: clamp(1.05rem, .95rem + .4vw, 1.25rem); color: var(--ink-2); max-width: 36ch; }
.search {
  position: relative; display: flex; align-items: center; margin-top: 28px; max-width: 620px;
  background: var(--receipt); border: 2px solid var(--ink); border-radius: 18px; padding: 7px 7px 7px 20px;
  box-shadow: 6px 6px 0 var(--ink); transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
.search:focus-within { box-shadow: 9px 9px 0 var(--accent); transform: translate(-2px,-2px); }
.search__prefix { font-weight: 800; white-space: nowrap; color: var(--ink); font-size: 1.05rem; letter-spacing: -.02em; }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 600 1.05rem var(--f-sans); color: var(--ink); padding: 14px 10px; }
.search input::placeholder { color: var(--ink-3); font-weight: 500; }
.search button { border: 0; background: var(--accent); color: #fff; width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; cursor: pointer; flex: none; transition: background .2s, transform .2s var(--ease); }
.search button:hover { background: var(--accent-ink); transform: scale(1.04); }
.search button svg { width: 22px; height: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; align-items: center; }
.chips__label { font-family: var(--f-mono); font-size: .75rem; color: var(--ink-3); margin-right: 4px; }
.chip { font-size: .86rem; font-weight: 650; padding: .42em .9em; border-radius: 999px; background: var(--receipt); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s, transform .2s var(--ease), background .2s; }
.chip:hover { border-color: var(--ink); transform: translateY(-2px); color: var(--ink); }
.hero__stats { display: flex; gap: clamp(20px, 3vw, 44px); margin-top: 38px; padding-top: 26px; border-top: 1.5px dashed var(--line); }
.hero__stats div { display: flex; flex-direction: column; }
.hero__stats .num { font-size: 1.6rem; font-weight: 700; }
.hero__stats small { font-size: .82rem; color: var(--ink-3); font-weight: 600; }

/* Animated printer + receipt + tag (pure CSS/SVG) */
.till { position: relative; width: min(100%, 400px); margin-inline: auto; padding-top: 10px; }
.till__slot { position: relative; z-index: 3; height: 26px; border-radius: 14px; background: linear-gradient(#2a2720, #0f0e0a); box-shadow: inset 0 -3px 0 rgba(255,255,255,.08), 0 10px 20px -8px rgba(0,0,0,.5); margin: 0 6px; }
.till__slot::after { content: ""; position: absolute; left: 24px; right: 24px; top: 11px; height: 4px; border-radius: 4px; background: #000; }
.till__led { position: absolute; right: 14px; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: #5ee07a; box-shadow: 0 0 8px #5ee07a; animation: led 1.4s steps(2) infinite; z-index: 4; }
@keyframes led { 50% { opacity: .35; } }
.till__paper { position: relative; z-index: 2; margin: -13px 30px 0; clip-path: inset(0 -40px -60px -40px); }
.till__paper .receipt { transform-origin: top; animation: print 2.6s steps(14, end) .3s both; padding-top: 30px; }
@keyframes print { from { transform: translateY(-100%); } to { transform: translateY(0); } }
.till__paper .rline { opacity: 0; animation: inkin .4s var(--ease) both; }
.till__paper .rline:nth-of-type(1) { animation-delay: 1.1s; } .till__paper .rline:nth-of-type(2) { animation-delay: 1.35s; }
.till__paper .rline:nth-of-type(3) { animation-delay: 1.6s; } .till__paper .rline:nth-of-type(4) { animation-delay: 1.85s; }
.till__paper .rline:nth-of-type(5) { animation-delay: 2.1s; }
@keyframes inkin { from { opacity: 0; filter: blur(2px); } to { opacity: 1; filter: none; } }
.till__paper .stamp { position: absolute; right: 14px; bottom: 44px; animation: stamp .5s cubic-bezier(.3,1.6,.5,1) 3.1s both; }
@keyframes stamp { from { opacity: 0; transform: rotate(-6deg) scale(2.2); } to { opacity: .92; transform: rotate(-6deg) scale(1); } }
.ptag { position: absolute; z-index: 5; width: 140px; left: -78px; top: 50%; transform-origin: 82% 8%; animation: swing 4.5s ease-in-out infinite; filter: drop-shadow(0 14px 14px rgba(23,21,15,.22)); }
@keyframes swing { 0%,100% { transform: rotate(-11deg); } 50% { transform: rotate(-3deg); } }
.ptag__txt { font-family: var(--f-mono); font-weight: 800; }
.till__note { text-align: center; font-family: var(--f-mono); font-size: .72rem; color: var(--ink-3); margin-top: 16px; }

/* ─── Sections ─── */
.section { padding: clamp(56px, 7vw, 100px) 0; }
.section--ink { background: var(--ink); color: #efe8da; background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px); background-size: 22px 22px; }
.section--ink .eyebrow { color: #c9c0ae; } .section--ink .eyebrow::before { box-shadow: 0 0 0 4px rgba(226,50,27,.25); }
.section--ink h2 { color: #fff; }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 34px; flex-wrap: wrap; }
.section__head h2 { margin: 10px 0 0; max-width: 22ch; }
.section__head p { max-width: 46ch; color: var(--ink-2); margin: 0; }
.link-arrow { font-weight: 750; text-decoration: none; display: inline-flex; gap: .4em; align-items: center; white-space: nowrap; }
.link-arrow::after { content: "→"; transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* Guide cards = price tags */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.gcard {
  position: relative; display: flex; flex-direction: column; text-decoration: none; background: var(--receipt);
  border-radius: 16px 16px 16px 16px; padding: 22px 22px 20px 22px; border: 1px solid var(--line-soft);
  box-shadow: var(--sh-1); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  overflow: hidden; isolation: isolate;
}
.gcard::before { content: ""; position: absolute; right: 18px; top: 18px; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 1px 2px rgba(0,0,0,.25); }
.gcard::after { content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.gcard:hover { transform: translateY(-5px) rotate(-.4deg); box-shadow: var(--sh-3); color: var(--ink); border-color: var(--line); }
.gcard:hover::after { transform: scaleX(1); }
.gcard__cat { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.gcard h3 { margin: 10px 30px 18px 0; font-size: 1.12rem; line-height: 1.28; }
.gcard__price { margin-top: auto; padding-top: 14px; border-top: 1.5px dashed var(--line); display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.gcard__range { font-family: var(--f-mono); font-weight: 800; font-size: 1.32rem; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.gcard__range small { font-size: .7em; font-weight: 600; color: var(--ink-3); }
.gcard__unit { font-size: .78rem; color: var(--ink-3); font-weight: 650; text-align: right; }
.gcard__upd { font-family: var(--f-mono); font-size: .68rem; color: var(--ink-3); margin-top: 8px; }

/* Categories grid */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; }
.cat { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 26px 24px; background: var(--receipt); text-decoration: none; transition: background .25s; position: relative; }
.cat:hover { background: #fff; color: var(--ink); }
.cat__ico { width: 52px; height: 52px; border-radius: 14px; background: var(--paper); display: grid; place-items: center; transition: background .25s, transform .35s var(--ease), color .25s; }
.cat__ico svg { width: 26px; height: 26px; }
.cat:hover .cat__ico { background: var(--accent); color: #fff; transform: rotate(-8deg) scale(1.05); }
.cat h3 { margin: 0 0 2px; font-size: 1.08rem; }
.cat p { margin: 0; font-size: .86rem; color: var(--ink-3); line-height: 1.4; }
.cat__count { font-family: var(--f-mono); font-size: .8rem; font-weight: 700; color: var(--ink-3); }
.cat__count::after { content: " →"; display: inline-block; transition: transform .25s var(--ease); }
.cat:hover .cat__count { color: var(--accent); }
.cat:hover .cat__count::after { transform: translateX(4px); }

/* Trust / method block */
.method { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.method h2 { font-size: clamp(1.9rem, 1.3rem + 2vw, 3rem); }
.method p.lead { color: #c9c0ae; font-size: 1.1rem; max-width: 42ch; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 14px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 20px 22px; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; background: rgba(255,255,255,.03); transition: background .3s, border-color .3s, transform .3s var(--ease); }
.steps li:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.25); transform: translateX(4px); }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--f-mono); font-weight: 800; color: var(--accent); font-size: 1.5rem; line-height: 1; padding-top: 3px; }
.steps h3 { color: #fff; margin: 0 0 4px; font-size: 1.05rem; }
.steps p { margin: 0; color: #b9b09e; font-size: .94rem; line-height: 1.55; }
.method .btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); margin-top: 10px; }
.method .btn--ghost:hover { background: #fff; color: var(--ink); }

/* Sister-site band */
.sister { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 32px; border: 2px dashed var(--line); border-radius: var(--r-l); background: color-mix(in srgb, var(--receipt) 60%, transparent); flex-wrap: wrap; }
.sister p { margin: 0; max-width: 60ch; color: var(--ink-2); }
.sister strong { color: var(--ink); }

/* ─── Breadcrumbs ─── */
.crumbs { font-family: var(--f-mono); font-size: .76rem; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: .5em; align-items: center; padding: 22px 0 0; }
.crumbs a { text-decoration: none; color: var(--ink-2); }
.crumbs a:hover { color: var(--accent); }
.crumbs .sep { opacity: .5; }

/* ─── Single price guide ─── */
.ghead { padding: 22px 0 34px; }
.ghead .crumbs { padding: 0 0 22px; }
.ghead__grid { display: grid; grid-template-columns: 1fr 420px; gap: clamp(30px, 5vw, 70px); align-items: start; }
.ghead h1 { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.5rem); margin: 16px 0 18px; }
.ghead__lead { font-size: 1.15rem; color: var(--ink-2); max-width: 52ch; }
.meta-row { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; font-size: .86rem; color: var(--ink-3); font-weight: 600; }
.meta-row span { display: inline-flex; align-items: center; gap: .45em; }
.meta-row svg { width: 16px; height: 16px; }
.badge-upd { display: inline-flex; align-items: center; gap: .5em; font-family: var(--f-mono); font-size: .76rem; font-weight: 700; padding: .45em .8em; border-radius: 999px; background: var(--receipt); border: 1px solid var(--line); color: var(--ink); }
.badge-upd i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(47,107,58,.18); }

.pcard { position: relative; }
.pcard .receipt { padding-inline: 30px; }
.pcard__label { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); display: flex; justify-content: space-between; }
.pcard__range { font-family: var(--f-mono); font-weight: 800; letter-spacing: -.05em; font-size: clamp(2.4rem, 1.8rem + 2vw, 3.3rem); line-height: 1; margin: 14px 0 6px; font-variant-numeric: tabular-nums; display: flex; align-items: baseline; gap: .12em; flex-wrap: wrap; }
.pcard__range .dash { color: var(--ink-3); font-weight: 400; }
.pcard__range .cur { font-size: .5em; color: var(--accent); margin-left: .1em; }
.pcard__unit { font-weight: 700; color: var(--ink-2); font-size: .95rem; }
.scale { margin: 46px 0 8px; }
.scale__bar { position: relative; height: 10px; border-radius: 10px; background: repeating-linear-gradient(90deg, var(--line-soft) 0 6px, transparent 6px 9px); }
.scale__fill { position: absolute; inset: 0; border-radius: 10px; background: linear-gradient(90deg, #f3b2a6, var(--accent)); transform-origin: left; animation: grow 1.2s var(--ease) .3s both; }
@keyframes grow { from { transform: scaleX(0); } }
.scale__avg { position: absolute; top: 50%; width: 22px; height: 22px; margin-left: -11px; margin-top: -11px; border-radius: 50%; background: var(--receipt); border: 4px solid var(--ink); box-shadow: 0 3px 8px rgba(0,0,0,.25); animation: pop .5s cubic-bezier(.3,1.6,.5,1) 1.3s both; }
@keyframes pop { from { transform: scale(0); } }
.scale__avg span { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-family: var(--f-mono); font-size: .72rem; font-weight: 800; background: var(--ink); color: #fff; padding: .25em .55em; border-radius: 6px; }
.scale__avg span::after { content: ""; position: absolute; top: 100%; left: 50%; margin-left: -4px; border: 4px solid transparent; border-top-color: var(--ink); }
.scale__legend { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: .74rem; color: var(--ink-3); margin-top: 10px; }
.scale__legend b { color: var(--ink); display: block; font-size: .9rem; }
.pcard__note { font-size: .8rem; color: var(--ink-3); line-height: 1.5; margin: 0; }
.pcard__cta { margin-top: 18px; display: grid; gap: 10px; }
.pcard__cta .btn { width: 100%; }

.gpage { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(36px, 5vw, 80px); align-items: start; padding-bottom: 90px; }
.gpage__aside { position: sticky; top: 92px; padding-top: 26px; }
.toc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 46px; padding: 18px 0; border-top: 1.5px solid var(--ink); border-bottom: 1px dashed var(--line); align-items: center; }
.toc-chips__t { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-right: 6px; }
.toc-chips a { font-size: .85rem; font-weight: 650; text-decoration: none; padding: .38em .8em; border-radius: 999px; border: 1px solid var(--line); background: var(--receipt); transition: border-color .2s, background .2s, color .2s; }
.toc-chips a:hover, .toc-chips a.is-active { border-color: var(--ink); background: var(--ink); color: #fff; }
.toc { position: sticky; top: 100px; align-self: start; font-size: .88rem; }
.toc__title { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.toc a { display: block; padding: .38rem 0 .38rem 14px; margin-left: -2px; border-left: 2px solid transparent; text-decoration: none; color: var(--ink-2); font-weight: 600; transition: border-color .2s, color .2s; }
.toc a:hover, .toc a.is-active { border-left-color: var(--accent); color: var(--ink); }
.gbody { min-width: 0; max-width: 780px; }
.block { margin-bottom: 56px; scroll-margin-top: 100px; }
.block > h2 { display: flex; align-items: baseline; gap: .5em; font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); }
.block > h2 .idx { font-family: var(--f-mono); font-size: .55em; color: var(--accent); font-weight: 800; letter-spacing: 0; }

/* Price table */
.ptable-wrap { overflow-x: auto; border-radius: var(--r-m); border: 1px solid var(--line); background: var(--receipt); box-shadow: var(--sh-1); }
.ptable { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 520px; }
.ptable th { text-align: left; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; padding: 14px 18px; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.ptable td { padding: 15px 18px; border-bottom: 1px dashed var(--line); vertical-align: top; }
.ptable tr:last-child td { border-bottom: 0; }
.ptable tbody tr { transition: background .2s; }
.ptable tbody tr:hover { background: #fff8ef; }
.ptable .num { text-align: right; font-weight: 700; white-space: nowrap; }
.ptable th.num { text-align: right; }
.ptable td small { display: block; color: var(--ink-3); font-size: .82rem; margin-top: 2px; }

/* Factors */
.factors { display: grid; gap: 10px; }
.factor { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 16px 20px; background: var(--receipt); border-radius: var(--r-m); border: 1px solid var(--line-soft); }
.factor strong { font-weight: 700; }
.factor p { margin: 2px 0 0; font-size: .9rem; color: var(--ink-3); }
.impact { display: inline-flex; gap: 3px; align-items: center; font-family: var(--f-mono); font-size: .72rem; font-weight: 700; color: var(--ink-3); }
.impact i { width: 7px; height: 18px; border-radius: 2px; background: var(--line); }
.impact[data-l="1"] i:nth-child(-n+1), .impact[data-l="2"] i:nth-child(-n+2), .impact[data-l="3"] i:nth-child(-n+3) { background: var(--accent); }
.impact b { margin-left: 8px; color: var(--ink-2); }

.callout { padding: 20px 22px; border-radius: var(--r-m); background: var(--accent-wash); border-left: 4px solid var(--accent); }
.callout p:last-child { margin: 0; }
.tips { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.tips li { position: relative; padding: 14px 18px 14px 52px; background: var(--receipt); border-radius: var(--r-m); border: 1px solid var(--line-soft); }
.tips li::before { content: "✓"; position: absolute; left: 16px; top: 13px; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: #fff; font-size: .8rem; display: grid; place-items: center; font-weight: 800; }

/* FAQ */
.faq { border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; font-weight: 750; font-size: 1.05rem; position: relative; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--paper-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317150f' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/12px no-repeat; transition: transform .35s var(--ease), background-color .2s; }
.faq details[open] summary::after { transform: rotate(135deg); background-color: var(--accent-wash); }
.faq summary:hover { color: var(--accent-ink); }
.faq .ans { padding: 0 44px 20px 0; color: var(--ink-2); }
.faq details[open] .ans { animation: inkin .35s var(--ease); }

.sources { list-style: none; padding: 0; margin: 0; counter-reset: src; font-size: .92rem; }
.sources li { counter-increment: src; display: grid; grid-template-columns: 34px 1fr; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.sources li::before { content: "[" counter(src) "]"; font-family: var(--f-mono); color: var(--accent); font-weight: 700; font-size: .82rem; padding-top: 2px; }
.sources a { word-break: break-word; }
.disclaimer { font-size: .84rem; color: var(--ink-3); border: 1px dashed var(--line); border-radius: var(--r-m); padding: 16px 18px; }
.entry-content { font-size: 1.05rem; }
.entry-content h2 { margin-top: 1.6em; font-size: 1.6rem; }
.entry-content h3 { margin-top: 1.4em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .35em; }
.entry-content blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--accent); font-size: 1.1rem; color: var(--ink-2); }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.entry-content th, .entry-content td { border-bottom: 1px solid var(--line); padding: 10px; text-align: left; }
.entry-content img { border-radius: var(--r-m); }

/* Archive / search / blog */
.phead { padding: 30px 0 40px; border-bottom: 1.5px dashed var(--line); margin-bottom: 40px; }
.phead h1 { font-size: clamp(2rem, 1.4rem + 2.5vw, 3.4rem); margin: 14px 0 12px; }
.phead p { color: var(--ink-2); max-width: 60ch; font-size: 1.08rem; margin: 0; }
.phead .search { margin-top: 22px; }
.postlist { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.pcard2 { display: flex; flex-direction: column; gap: 10px; padding: 24px; background: var(--receipt); border-radius: var(--r-l); border: 1px solid var(--line-soft); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.pcard2:hover { transform: translateY(-4px); box-shadow: var(--sh-2); color: var(--ink); }
.pcard2 img { border-radius: var(--r-m); aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.pcard2 h2 { font-size: 1.25rem; margin: 0; }
.pcard2 p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.pcard2 time { font-family: var(--f-mono); font-size: .74rem; color: var(--ink-3); }
.pagination { display: flex; gap: 8px; justify-content: center; margin: 50px 0 80px; flex-wrap: wrap; }
.pagination .page-numbers { min-width: 44px; height: 44px; display: grid; place-items: center; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--receipt); text-decoration: none; font-family: var(--f-mono); font-weight: 700; }
.pagination .current { background: var(--ink); color: #fff; border-color: var(--ink); }
.empty { text-align: center; padding: 60px 0 90px; }

/* 404 */
.e404 { display: grid; place-items: center; text-align: center; padding: 70px 0 110px; }
.e404 .receipt { width: min(100%, 420px); margin: 0 auto 36px; }
.e404__code { font-family: var(--f-mono); font-weight: 800; font-size: clamp(4.5rem, 3rem + 6vw, 7.5rem); letter-spacing: -.06em; line-height: 1; color: var(--accent); }

/* ─── Footer ─── */
.site-footer { background: var(--ink); color: #c9c0ae; padding: 70px 0 30px; margin-top: 0; position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -9px; height: 10px;
  background: conic-gradient(from 135deg at top, #0000, var(--ink) 1deg 90deg, #0000 91deg) 50% 100% / 18px 100% repeat-x; }
.fgrid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: #fff; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .93rem; }
.site-footer a { text-decoration: none; color: #e8e0cf; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .logo { color: #fff; }
.fabout { font-size: .93rem; max-width: 36ch; margin-top: 14px; }
.fbottom { margin-top: 50px; padding-top: 22px; border-top: 1px dashed rgba(255,255,255,.18); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-family: var(--f-mono); font-size: .74rem; color: #9a917f; }

/* Reveal on scroll (JS adds .js on <html>) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ─── Responsive ─── */
@media (max-width: 1080px) {
  .gpage { grid-template-columns: 1fr; }
  .gpage__main { display: contents; }
  .ghead { order: 1; padding-bottom: 6px; }
  .gpage__aside { position: static; order: 2; padding-top: 0; width: 100%; max-width: 520px; }
  .toc-chips { order: 3; margin-top: 10px; }
  .gbody { order: 4; }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .fgrid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero__grid, .method { grid-template-columns: 1fr; }
  .till { max-width: 360px; margin-top: 10px; }
  .menu-toggle { display: inline-flex; }
  .langsw { order: -1; margin-inline-start: 0; margin-inline-end: 6px; }
  .nav ul { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 10px 20px 20px; box-shadow: 0 20px 30px -20px rgba(0,0,0,.3); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s var(--ease), visibility .25s; }
  .nav ul.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav ul a { padding: .9rem .4rem; border-radius: 0; border-bottom: 1px dashed var(--line); font-size: 1.02rem; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap, .wrap--narrow { width: min(100% - 32px, var(--wrap)); }
  .header-inner { height: 62px; }
  .langsw__globe { width: 22px; }
  .nav .langsw__a { padding: .3rem .5rem; }
  .cats { grid-template-columns: 1fr; }
  .cat { padding: 20px 18px; }
  .cards--scroll { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 80%; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -16px; padding: 4px 16px 20px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .cards--scroll::-webkit-scrollbar { display: none; }
  .cards--scroll > * { scroll-snap-align: start; }
  .cards--scroll .gcard:hover { transform: none; }
  .search { padding-left: 14px; box-shadow: 4px 4px 0 var(--ink); }
  .search__prefix { display: none; }
  .search button { width: 46px; height: 46px; }
  .hero__stats { gap: 18px; justify-content: space-between; }
  .hero__stats .num { font-size: 1.25rem; }
  .till__paper { margin: -13px 4px 0 62px; }
  .ptag { width: 98px; left: -12px; top: 38%; }
  .toc-chips { margin-bottom: 26px; }
  .receipt { padding-inline: 20px; }
  .perf { margin-inline: -20px; }
  .fgrid { grid-template-columns: 1fr; gap: 30px; }
  .sister { padding: 22px; }
  .factor { grid-template-columns: 1fr; gap: 8px; }
  .ptable { min-width: 0; font-size: .9rem; }
  .ptable thead { display: none; }
  .ptable tr { display: grid; grid-template-columns: 1fr auto; padding: 12px 16px; border-bottom: 1px dashed var(--line); }
  .ptable tr:last-child { border-bottom: 0; }
  .ptable td { border: 0; padding: 2px 0; }
  .ptable td:first-child { grid-column: 1 / -1; font-weight: 700; }
  .ptable td.num { text-align: left; }
  .ptable td.num::before { content: attr(data-label) " "; font-weight: 500; color: var(--ink-3); font-family: var(--f-sans); font-size: .8rem; }
  .ptable td.num + td.num { text-align: right; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .ticker__track { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-header, .site-footer, .ticker, .toc, .pcard__cta { display: none; }
  body { background: #fff; }
}

/* misc */
.phead__desc { color: var(--ink-2); max-width: 60ch; font-size: 1.08rem; }
.phead__desc p:last-child { margin: 0; }
.e404 .receipt-wrap { margin: 0 auto; }
.e404 .search { margin-inline: auto; }
.comment-list { list-style: none; padding: 0; }
.comment-respond input, .comment-respond textarea { width: 100%; font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--r-m); background: var(--receipt); }
.comment-respond .submit { width: auto; background: var(--ink); color: #fff; border: 0; border-radius: 999px; padding: 12px 22px; font-weight: 700; cursor: pointer; }
.alignwide { margin-inline: -60px; } .aligncenter { margin-inline: auto; }
.wp-caption-text, figcaption { font-size: .85rem; color: var(--ink-3); }
.fbottom a{color:#e8dfcc;text-decoration:underline;text-underline-offset:3px}.fabout a{color:inherit;text-decoration:underline;text-underline-offset:3px}
@media (max-width: 420px) {
  .header-inner { gap: 10px; }
  .logo { font-size: 1.05rem; gap: .45rem; }
  .logo__tag { width: 28px; height: 28px; }
  .langsw__globe { display: none; }
  .langsw { padding: 2px; margin-inline-end: 4px; }
  .nav .langsw__a { padding: .3rem .46rem; }
}
