/* Portál AI Powered Solutions – štýl bez build kroku. Farby podľa banneru (námornícka modrá, modrá, azúrová). */

/* Písmo Montserrat (SIL OFL, fonts/Montserrat-OFL.txt) – uložené na našom serveri, nič sa nesťahuje z Google. */
@font-face { font-family: "Montserrat"; font-style: normal; font-display: swap; font-weight: 400; src: url(../fonts/montserrat-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Montserrat"; font-style: normal; font-display: swap; font-weight: 400; src: url(../fonts/montserrat-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: "Montserrat"; font-style: normal; font-display: swap; font-weight: 600; src: url(../fonts/montserrat-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Montserrat"; font-style: normal; font-display: swap; font-weight: 600; src: url(../fonts/montserrat-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: "Montserrat"; font-style: normal; font-display: swap; font-weight: 700; src: url(../fonts/montserrat-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Montserrat"; font-style: normal; font-display: swap; font-weight: 700; src: url(../fonts/montserrat-latin-700-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: "Montserrat"; font-style: normal; font-display: swap; font-weight: 800; src: url(../fonts/montserrat-latin-ext-800-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Montserrat"; font-style: normal; font-display: swap; font-weight: 800; src: url(../fonts/montserrat-latin-800-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 {
  --bg: #F3F7FC;
  --surface: #FFFFFF;
  --sunken: #EAF1FA;
  --ink: #0A1E3D;
  --heading: #032555;
  --muted: #50627C;
  --line: #D6E2F1;
  --line-strong: #A8BEDB;
  --accent: #1667C8;
  --accent-hover: #0F55AA;
  --accent-ink: #FFFFFF;
  --accent-soft: #E2EFFD;
  --glow: #3BA3F5;
  --cyan: #2FB8E8;
  --tagline: #1D6A9A;
  --credit: #0B7597;
  --credit-soft: #DDF2FA;
  --warn: #8A5B06;
  --warn-soft: #F6EBD3;
  --danger: #B3261E;
  --danger-soft: #FBE3E1;
  --hero-bg: #F4F9FE;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 2px rgba(3, 37, 85, .06), 0 6px 18px rgba(3, 37, 85, .06);
  --shadow-hover: 0 2px 4px rgba(3, 37, 85, .08), 0 12px 28px rgba(22, 103, 200, .14);
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --mono: "Cascadia Mono", Consolas, ui-monospace, "SFMono-Regular", monospace;
  --wrap: 1240px;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #07111F; --surface: #0D1B2F; --sunken: #12243C; --ink: #E4EDF8; --heading: #EEF4FD; --muted: #9AAEC8;
    --line: #1C3150; --line-strong: #2F4B72; --accent: #5AAEFF; --accent-hover: #86C4FF; --accent-ink: #04111F;
    --accent-soft: #0F2A4A; --glow: #5AAEFF; --cyan: #5CCBF0; --tagline: #7CC4F5; --credit: #5CCBF0; --credit-soft: #0B2A38;
    --warn: #E2B458; --warn-soft: #33290F; --danger: #F08A7A; --danger-soft: #3A1E1A; --hero-bg: #081424;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 18px rgba(0, 0, 0, .25);
    --shadow-hover: 0 2px 4px rgba(0, 0, 0, .35), 0 12px 28px rgba(90, 174, 255, .12);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.55 var(--font); min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--accent); text-underline-offset: 2px; }
a:hover { color: var(--accent-hover); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.2; margin: 0; text-wrap: balance; color: var(--heading); }
h1 { font-size: clamp(1.5rem, 3.2vw, 1.95rem); } h2 { font-size: 1.3rem; } h3 { font-size: 1.05rem; }
p { margin: 0; }
img { max-width: 100%; }
code, .mono { font-family: var(--mono); font-size: .88em; }
code { background: var(--sunken); padding: 1px 5px; border-radius: 4px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -48px; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; border-radius: var(--radius-sm); z-index: 10; }
.skip-link:focus { top: 8px; }

/* ---------- Hlavička ---------- */
.site-header { position: relative; background: var(--surface); border-bottom: 1px solid var(--line); }
.site-header::before {
  /* jemné obvody z banneru vpravo v hlavičke */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .4;
  background: linear-gradient(90deg, var(--surface) 55%, color-mix(in srgb, var(--surface) 55%, transparent) 80%, transparent), url(../img/banner-800.webp) right -60px center / 620px auto no-repeat;
}
.topbar-inner { position: relative; max-width: var(--wrap); margin: 0 auto; padding: 12px 20px; display: flex; gap: 12px 20px; align-items: center; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; text-decoration: none; color: var(--heading); font-family: var(--display); font-weight: 800; font-size: 1.02rem; letter-spacing: .02em; text-transform: uppercase; line-height: 1.1; }
.brand:hover { color: var(--heading); }
.brand-mark {
  flex: none; width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center;
  font: 800 .78rem/1 var(--display); color: #fff; letter-spacing: .02em; text-transform: none;
  background: radial-gradient(circle at 30% 25%, #7CC8FF, #1E7FE0 55%, #0B4FA8);
  box-shadow: 0 0 0 3px rgba(59, 163, 245, .18), 0 0 14px rgba(59, 163, 245, .55);
}
.nav { display: flex; gap: 4px 16px; flex-wrap: wrap; align-items: center; }
.nav a { color: var(--muted); text-decoration: none; font-size: .93rem; font-weight: 500; }
.nav a.active, .nav a:hover { color: var(--heading); }
.nav a.active { box-shadow: inset 0 -2px 0 var(--accent); }
.nav form { display: inline; }
.nav a.btn, .nav a.btn:hover { color: var(--accent-ink); box-shadow: none; }
.search { display: flex; flex: 1 1 260px; max-width: 420px; }
.search input { border-radius: 999px 0 0 999px !important; border-right: 0 !important; background: var(--bg) !important; }
.search button { border-radius: 0 999px 999px 0; padding: 8px 14px; }
.subnav { position: relative; border-top: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 88%, var(--sunken)); }
.subnav .nav { max-width: var(--wrap); margin: 0 auto; padding: 8px 20px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; white-space: nowrap; }
.subnav .nav a { font-size: .88rem; padding: 2px 0; }
.subnav-label { font: 600 .7rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }

/* ---------- Banner ---------- */
.hero { position: relative; overflow: hidden; background: var(--hero-bg); border-bottom: 1px solid var(--line); isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
.hero-inner { max-width: var(--wrap); margin: 0 auto; padding: clamp(32px, 6vw, 76px) 20px; min-height: clamp(230px, 34vw, 450px); display: flex; flex-direction: column; justify-content: center; gap: clamp(10px, 1.6vw, 18px); }
.hero-title { font-family: var(--display); font-weight: 800; text-transform: uppercase; color: var(--heading); font-size: clamp(2rem, 5.6vw, 4.1rem); line-height: 1.04; letter-spacing: .005em; max-width: 9.2em; }
.hero-tagline { font-family: var(--display); font-weight: 400; color: var(--tagline); font-size: clamp(1.02rem, 2.3vw, 1.65rem); line-height: 1.3; max-width: 15em; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.hero-compact .hero-inner { min-height: clamp(140px, 18vw, 220px); padding-block: clamp(22px, 3.4vw, 40px); }
.hero-compact .hero-title { font-size: clamp(1.5rem, 3.6vw, 2.6rem); }
.hero-compact .hero-tagline { font-size: clamp(.95rem, 1.6vw, 1.2rem); }
@media (max-width: 760px) {
  .hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--hero-bg) 94%, transparent) 0 52%, color-mix(in srgb, var(--hero-bg) 45%, transparent) 100%); }
  .hero-bg img { object-position: 78% 50%; }
}
@media (prefers-color-scheme: dark) {
  .hero-bg img { filter: invert(1) hue-rotate(180deg) saturate(1.2) brightness(.9); }
  .site-header::before { display: none; } /* obvody v hlavičke len vo svetlom režime */
}

/* ---------- Stránka ---------- */
.page { flex: 1 0 auto; width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 28px 20px 64px; display: flex; flex-direction: column; gap: 24px; }
.page-head { display: flex; flex-direction: column; gap: 6px; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.crumbs { font-size: .86rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--muted); }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow); }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat .label { font-family: var(--display); font-weight: 600; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.stat .value { font-family: var(--display); font-size: 1.75rem; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--heading); }
.stat .value.credit { color: var(--credit); }

.tbl { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
table { border-collapse: collapse; width: 100%; font-size: .92rem; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
tr:last-child td { border-bottom: 0; }
th { font-family: var(--display); font-weight: 600; font-size: .7rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); background: var(--sunken); white-space: nowrap; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.plus { color: var(--credit); font-weight: 600; }

.pill { display: inline-block; font-size: .74rem; font-weight: 600; padding: 1px 9px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted); white-space: nowrap; }
.pill.on { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.pill.warn { border-color: var(--warn); color: var(--warn); background: var(--warn-soft); }
.pill.off { border-color: var(--danger); color: var(--danger); background: var(--danger-soft); }

form.stack, .stack { display: flex; flex-direction: column; gap: 14px; }
.fields { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
label { display: flex; flex-direction: column; gap: 5px; font-size: .88rem; color: var(--muted); }
label.check { flex-direction: row; align-items: flex-start; gap: 9px; color: var(--ink); }
label.check input { margin-top: 3px; flex: none; width: 17px; height: 17px; accent-color: var(--accent); }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], input[type=file], input[type=search], input[type=url], input[type=tel], select, textarea {
  font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 8px 10px; width: 100%;
}
input[type=radio] { accent-color: var(--accent); }
textarea { min-height: 90px; }
textarea.tall { min-height: 420px; font-family: var(--mono); font-size: .88rem; line-height: 1.5; }
input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible, a:focus-visible { outline: 2px solid var(--glow); outline-offset: 2px; }
/* Pole s heslom a tlačidlo „Zobraziť“ (partials/password-reveal) */
.pw-field { position: relative; display: block; }
.pw-field input { padding-right: 88px; }
.pw-field input::-ms-reveal, .pw-field input::-ms-clear { display: none; }
.pw-toggle { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: inherit; font-size: .8rem; font-weight: 600; line-height: 1.2; color: var(--accent); background: transparent; border: 0; border-radius: var(--radius-sm); padding: 5px 9px; cursor: pointer; }
.pw-toggle:hover { background: var(--accent-soft); color: var(--accent-hover); }
.checks { display: flex; flex-wrap: wrap; gap: 8px 18px; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; margin: 0; }
legend { padding: 0 6px; font-weight: 600; color: var(--heading); font-family: var(--display); font-size: .92rem; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: inherit; font-weight: 600; padding: 9px 16px; border-radius: var(--radius-sm); border: 1px solid var(--accent); background: var(--accent); color: var(--accent-ink); cursor: pointer; text-decoration: none; transition: background .15s, box-shadow .15s; }
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--accent-ink); box-shadow: 0 4px 14px rgba(22, 103, 200, .25); }
.btn.secondary { background: transparent; color: var(--accent); }
.btn.secondary:hover { background: var(--accent-soft); color: var(--accent-hover); box-shadow: none; }
.btn.danger { background: transparent; color: var(--danger); border-color: var(--danger); }
.btn.danger:hover { background: var(--danger-soft); box-shadow: none; }
.btn.small { padding: 4px 10px; font-size: .85rem; }
.btn.big { padding: 12px 22px; font-size: 1.02rem; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; box-shadow: none; }
.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

.flash { padding: 10px 14px; border-radius: var(--radius-sm); border-left: 4px solid var(--accent); background: var(--accent-soft); }
.flash.warn { border-left-color: var(--warn); background: var(--warn-soft); }
.flash.error { border-left-color: var(--danger); background: var(--danger-soft); }
.secret { font-family: var(--mono); font-size: 1rem; padding: 10px 12px; background: var(--surface); border: 1px dashed var(--credit); border-radius: var(--radius-sm); word-break: break-all; user-select: all; }

.product { display: flex; flex-direction: column; gap: 10px; }
.product .price, .price { font-family: var(--display); font-size: 1.5rem; font-weight: 800; color: var(--heading); font-variant-numeric: tabular-nums; }
.price small { font-family: var(--font); font-size: .8rem; font-weight: 400; color: var(--muted); margin-left: 4px; }
.product ul { margin: 0; padding-left: 18px; }
.product-image { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--sunken); }

details { border-top: 1px solid var(--line); padding-top: 10px; }
summary { cursor: pointer; color: var(--accent); }
.pagination, nav[role=navigation] { font-size: .9rem; }
.pager { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pager-item { display: inline-block; min-width: 2.2em; text-align: center; padding: 4px 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); text-decoration: none; }
a.pager-item:hover { border-color: var(--accent); color: var(--accent); }
.pager-item.current { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.pager-item.disabled { color: var(--muted); background: transparent; }

/* ---------- Obchod ---------- */
.shop { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: start; }
.shop-side { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 18px; }
.side-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.side-box h2 { font-size: .78rem; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); padding: 14px 16px 8px; }
.cat-list { list-style: none; margin: 0; padding: 0 0 8px; }
.cat-list a { display: flex; justify-content: space-between; gap: 10px; padding: 8px 16px; color: var(--ink); text-decoration: none; border-left: 3px solid transparent; }
.cat-list a:hover { background: var(--sunken); color: var(--heading); }
.cat-list a.active { border-left-color: var(--accent); background: var(--accent-soft); color: var(--heading); font-weight: 600; }
.cat-list .count { color: var(--muted); font-size: .82rem; font-variant-numeric: tabular-nums; }
.shop-main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.shop-toolbar { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pgrid { --tile-w: 214px; --tile-h: 404px; --tile-img: 156px; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, var(--tile-w)); justify-content: start; }
/* Dlaždica má pevnú veľkosť (ako v e-shopoch typu alza.sk); so šírkou okna sa mení len počet v riadku. */
.pcard { position: relative; display: flex; flex-direction: column; width: var(--tile-w); height: var(--tile-h); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: box-shadow .18s, transform .18s, border-color .18s; }
.pcard:hover { box-shadow: var(--shadow-hover); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); transform: translateY(-2px); }
.pcard-img { display: block; flex: none; height: var(--tile-img); background: var(--sunken); overflow: hidden; text-decoration: none; }
.pcard-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pcard-body { display: flex; flex-direction: column; gap: 5px; padding: 12px 14px 14px; flex: 1; min-height: 0; }
.pcard-type { font: 600 .66rem/1.6 var(--display); letter-spacing: .09em; text-transform: uppercase; color: var(--accent); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard h3 { font-size: .98rem; line-height: 1.32; padding-top: 1px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard h3 a { color: var(--heading); text-decoration: none; }
.pcard h3 a::after { content: ""; position: absolute; inset: 0; } /* celá dlaždica je odkaz na detail */
.pcard-summary { color: var(--muted); font-size: .86rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pcard-foot { margin-top: auto; display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
.pcard-foot .price { font-size: 1.25rem; white-space: nowrap; }
.pcard-foot .btn { position: relative; z-index: 1; width: 100%; } /* tlačidlo nad odkazom dlaždice */
.pcard .placeholder-art strong { font-size: 1.4rem; }
.pcard .placeholder-art.long strong { font-size: 1.12rem; }
.placeholder-art strong { overflow-wrap: normal; hyphens: none; }
.placeholder-art { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; padding: 16px; color: #fff; font-family: var(--display);
  background: radial-gradient(circle at 78% 22%, rgba(124, 200, 255, .9), transparent 42%), radial-gradient(circle at 18% 90%, rgba(47, 184, 232, .7), transparent 45%), linear-gradient(135deg, #0B4FA8, #1E7FE0 60%, #3BA3F5); }
.placeholder-art strong { font-size: clamp(1.4rem, 3vw, 2.1rem); font-weight: 800; line-height: 1.05; text-shadow: 0 2px 12px rgba(3, 37, 85, .35); }
.placeholder-art span { font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .9; }
.placeholder-art.sub { background: radial-gradient(circle at 80% 20%, rgba(124, 200, 255, .85), transparent 40%), linear-gradient(135deg, #032555, #0B4FA8 55%, #2FB8E8); }
.placeholder-art.mini span, .placeholder-art.mini strong { display: none; }
.placeholder-art.dl { background: radial-gradient(circle at 75% 25%, rgba(92, 203, 240, .8), transparent 42%), linear-gradient(135deg, #0A3A6E, #1667C8 60%, #5AAEFF); }
.empty { padding: 36px 20px; text-align: center; color: var(--muted); background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--radius); }

.pdetail { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.pdetail-media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--sunken); aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.pdetail-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pdetail-info { display: flex; flex-direction: column; gap: 14px; }
.buybox { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow); }
.buybox .price { font-size: 2rem; }
.facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.facts li { display: flex; gap: 8px; }
.facts li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 7px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 8px var(--glow); }
.prose { line-height: 1.65; max-width: 78ch; }
.prose > * + * { margin-top: .8em; }
.prose h1 { font-size: 1.6rem; } .prose h2 { font-size: 1.25rem; margin-top: 1.4em; } .prose h3 { font-size: 1.05rem; margin-top: 1.2em; }
.prose ul, .prose ol { padding-left: 1.3em; margin-bottom: 0; }
.prose li + li { margin-top: .3em; }
.prose table { font-size: .9rem; }
.prose blockquote { margin: 0; padding: 8px 14px; border-left: 3px solid var(--line-strong); color: var(--muted); }

/* Objednávka */
.steps-bar { display: flex; gap: 8px; flex-wrap: wrap; font: 600 .78rem/1 var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.steps-bar span { padding: 7px 12px; border-radius: 999px; background: var(--sunken); }
.steps-bar span.on { background: var(--accent); color: var(--accent-ink); }
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.summary { position: sticky; top: 16px; }
.summary dl { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin: 0; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.summary .total { font-family: var(--display); font-weight: 800; font-size: 1.3rem; color: var(--heading); }
.pay-options { display: flex; flex-direction: column; gap: 8px; }
.pay-option { flex-direction: row; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); color: var(--ink); cursor: pointer; }
.pay-option:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.consents { display: flex; flex-direction: column; gap: 10px; }
.consents label.check { font-size: .92rem; line-height: 1.45; }

/* Pätička */
.site-footer { margin-top: auto; background: #04162F; color: #C9D8EC; font-size: .9rem; }
.site-footer a { color: #E4EEFB; text-decoration: none; }
.site-footer a:hover { color: #7CC8FF; text-decoration: underline; }
.footer-inner { max-width: var(--wrap); margin: 0 auto; padding: 36px 20px 20px; display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.footer-inner h2 { color: #fff; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
.footer-inner ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.footer-bottom { max-width: var(--wrap); margin: 0 auto; padding: 14px 20px 26px; border-top: 1px solid rgba(201, 216, 236, .15); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: .82rem; color: #93A9C6; }
.withdraw-link { display: inline-block; margin-top: 4px; padding: 6px 12px; border: 1px solid rgba(201, 216, 236, .45); border-radius: var(--radius-sm); }
.seller { font-style: normal; line-height: 1.6; }

@media (max-width: 960px) {
  .shop { grid-template-columns: minmax(0, 1fr); }
  .shop-side { position: static; min-width: 0; }
  .side-box h2 { display: none; }
  .cat-list { display: flex; gap: 8px; overflow-x: auto; padding: 10px; }
  .cat-list a { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; white-space: nowrap; }
  .cat-list a.active { border-color: var(--accent); }
  .pdetail, .checkout { grid-template-columns: minmax(0, 1fr); }
  .summary { position: static; }
}
@media (max-width: 600px) {
  body { font-size: 14.5px; }
  .topbar-inner { padding: 10px 14px; gap: 10px 14px; }
  .page { padding: 20px 14px 48px; gap: 18px; }
  .brand { font-size: .9rem; }
  /* Na telefóne menšia, ale tiež pevná dlaždica: 2 v riadku aj na 360 px širokom displeji. */
  .pgrid { --tile-w: 160px; --tile-h: 336px; --tile-img: 120px; gap: 12px; }
  .pcard-body { padding: 10px 10px 12px; }
  .pcard-summary { -webkit-line-clamp: 2; font-size: .8rem; }
  .pcard h3 { font-size: .9rem; }
  .pcard-foot .price { font-size: 1.1rem; }
  .pcard .placeholder-art strong { font-size: 1.1rem; }
  .pcard .placeholder-art.long strong { font-size: .95rem; }
  .card { padding: 14px; }
}
[hidden] { display: none !important; }

/* ---------- Jazyk (18. 10. 2026): prepínač SVK / ENG vpravo hore ---------- */
.langswitch { display: flex; gap: 2px; align-items: center; flex: none; }
.langswitch a { display: inline-flex; align-items: center; gap: 6px; padding: 4px 7px; border-radius: 6px; border: 1px solid transparent; color: var(--muted); text-decoration: none; font: 600 .78rem/1 var(--display); letter-spacing: .04em; opacity: .7; }
.langswitch a:hover { opacity: 1; color: var(--heading); }
.langswitch a[aria-current="true"] { opacity: 1; color: var(--heading); border-color: var(--line-strong); background: var(--sunken); }
.langswitch img { width: 20px; height: 15px; display: block; border-radius: 2px; box-shadow: 0 0 0 1px var(--line-strong); }
@media (max-width: 600px) {
  /* prepínač ostáva vpravo hore vedľa názvu; menu pod nimi */
  .brand { order: 1; flex: 1 1 0; min-width: 0; margin-right: 0; }
  .langswitch { order: 2; margin-left: auto; }
  .topbar-inner > .nav { order: 3; width: 100%; }
  .langswitch a { padding: 4px 5px; }
}
.lang-hint { background: var(--sunken); border-bottom: 1px solid var(--line); font-size: .86rem; }
.lang-hint-inner { max-width: var(--wrap); margin: 0 auto; padding: 6px 20px; display: flex; gap: 12px; align-items: center; justify-content: space-between; }
.lang-hint button { background: none; border: 0; color: var(--muted); font-size: 1.1rem; line-height: 1; cursor: pointer; padding: 2px 6px; }
.lang-fallback { font-size: .82rem; color: var(--muted); font-style: italic; margin: 0 0 6px; }
/* Cena „od“ pri produkte len po dohode (26. 10. 2026): suma sa nezalomí (nezalomiteľné medzery), obdobie a DPH pod ňou */
.pcard-foot .price-from { white-space: normal; }
.pcard-foot .price-from small { display: block; margin-left: 0; }
.buybox .price-from small { display: inline-block; white-space: nowrap; }
.price-note { margin: -4px 0 4px; }
