/* Požičovňa náradia – zákaznícka časť */
:root {
  --accent: #7C80BD;
  --deep: color-mix(in srgb, var(--accent) 78%, #1B1C33);
  --soft: color-mix(in srgb, var(--accent) 13%, #FFFFFF);
  --ink: #23242E;
  --ink2: #4A4B58;
  --muted: #6B6C78;
  --line: #E7E7EF;
  --line2: #EEEEF4;
  --fill: #F3F3F8;
  --bg: #F6F6FA;
  --ok: #1F7A3E;
  --warn: #9A5400;
  --danger: #B3261E;
  --radius: 18px;
  --shadow-sm: 0 1px 2px rgba(35,36,60,.06);
  --shadow: 0 1px 2px rgba(35,36,60,.05), 0 16px 40px -20px rgba(35,36,60,.22);
  --shadow-lg: 0 2px 4px rgba(35,36,60,.06), 0 22px 44px -16px rgba(35,36,60,.3);
  --font: 'Helvetica Neue', Helvetica, Arimo, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--deep); }
a:hover { color: var(--ink); }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 .4em; }
h1 { font-size: clamp(28px, 4vw, 40px); }
h2 { font-size: 22px; margin-top: 1.4em; }
h3 { font-size: 18px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 720px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.center { text-align: center; }
.lead { font-size: 17px; color: var(--ink2); margin: 0 0 20px; }
.label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 2px; }

/* Tlačidlá – jemne plastické */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border: 0; border-radius: 13px; font: inherit; font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .08s ease, box-shadow .15s ease, filter .15s ease; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.btn-primary { color: #fff; background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 92%, #fff), var(--deep)); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 1px 2px rgba(35,36,60,.15), 0 8px 18px -8px var(--accent); }
.btn-primary:hover { color: #fff; filter: brightness(1.05); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 1px 2px rgba(35,36,60,.15), 0 12px 22px -8px var(--accent); }
.btn-secondary { color: var(--ink); background: linear-gradient(180deg, #fff, #F4F4F8); box-shadow: inset 0 0 0 1px #E1E1EA, 0 1px 2px rgba(35,36,60,.08); }
.btn-secondary:hover { color: var(--ink); box-shadow: inset 0 0 0 1px #D3D3DE, 0 4px 10px -4px rgba(35,36,60,.18); }
.btn-ghost { background: var(--fill); color: var(--ink); }
.btn-ghost-danger { background: var(--fill); color: var(--danger); }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 14px; border-radius: 11px; }
.btn-lg { min-height: 54px; font-size: 16px; padding: 0 24px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.btn-row.center { justify-content: center; }
.icon-btn { width: 42px; height: 42px; border: 0; border-radius: 12px; background: var(--fill); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.icon-btn:hover { background: #E8E8F0; }

/* Hlavička */
.site-header { background: #fff; box-shadow: 0 1px 0 var(--line), 0 6px 20px -14px rgba(35,36,60,.25); position: sticky; top: 0; z-index: 20; }
.header-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; min-height: 64px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img, .site-logo { height: 40px; width: auto; max-width: 220px; object-fit: contain; }
.brand-sep { width: 1px; height: 28px; background: var(--line); }
.brand-label { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--muted); }
.main-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.main-nav > a:not(.btn) { padding: 11px 14px; border-radius: 10px; text-decoration: none; color: var(--ink2); font-size: 15px; }
.main-nav > a.active { background: var(--soft); color: var(--deep); font-weight: 700; }
.cart-btn { margin-left: 6px; }
.cart-count { background: rgba(255,255,255,.24); border-radius: 7px; padding: 1px 7px; font-size: 13px; }
@media (max-width: 560px) {
  .brand img { height: 32px; }
  .brand-sep, .brand-label { display: none; }
  .main-nav > a:not(.btn) { padding: 10px; font-size: 14px; }
}

/* Správy */
.flashes { margin-top: 16px; display: grid; gap: 8px; }
.flash { padding: 12px 16px; border-radius: 13px; font-weight: 600; box-shadow: var(--shadow-sm); background: #fff; border-left: 0; }
.flash-success { background: #E7F4EB; color: var(--ok); }
.flash-error { background: #FDECEA; color: var(--danger); }
.flash-info { background: var(--soft); color: var(--deep); }

/* Banner */
.hero { position: relative; background: linear-gradient(180deg, #fff, var(--bg)); }
.hero-image { background: #2A2B3C var(--hero-img) center / cover no-repeat; color: #fff; }
.hero-image::before { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(27,28,45,calc(var(--hero-shade) + .15)) 0%, rgba(27,28,45,var(--hero-shade)) 45%, color-mix(in srgb, var(--accent) 35%, rgba(27,28,45,var(--hero-shade))) 100%); }
.hero-in { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 28px; padding-top: 64px; padding-bottom: 64px; }
.hero-text { flex: 1 1 420px; }
.hero h1 { font-size: clamp(36px, 5.4vw, 64px); font-weight: 700; letter-spacing: -0.03em; margin: 0; }
.hero p { font-size: 18px; margin: 14px 0 0; max-width: 520px; color: var(--ink2); }
.hero-image p { color: rgba(255,255,255,.9); }
.hero-image h1 { text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.term-card { flex: 1 1 340px; max-width: 430px; background: #fff; color: var(--ink); border-radius: 22px; padding: 22px; box-shadow: var(--shadow-lg); }
.term-title { font-size: 18px; font-weight: 700; margin-bottom: 14px; }
.term-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.field-box { display: block; background: var(--fill); border-radius: 13px; padding: 10px 14px; box-shadow: inset 0 1px 2px rgba(35,36,60,.06); }
.field-box span { display: block; font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--muted); }
.field-box input { border: 0; padding: 4px 0 0; width: 100%; font: inherit; font-size: 16px; font-weight: 700; color: var(--ink); background: transparent; min-height: 30px; }
.term-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.term-clear { display: inline-block; margin-top: 10px; font-size: 14px; }
@media (max-width: 640px) { .hero-in { padding-top: 36px; padding-bottom: 36px; } .term-card { padding: 18px; } }

/* Katalóg */
.catalog { padding-top: 28px; padding-bottom: 64px; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 14px; border-radius: 12px; background: #fff; color: var(--ink); text-decoration: none; font-size: 15px; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); }
.chip span { color: var(--muted); font-size: 13px; }
.chip.active { background: var(--deep); color: #fff; font-weight: 700; box-shadow: 0 6px 14px -8px var(--accent); }
.chip.active span { color: rgba(255,255,255,.75); }
.search { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 12px; padding: 0 14px; min-height: 44px; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); color: var(--muted); }
.search input { border: 0; outline: none; width: 220px; max-width: 55vw; font: inherit; font-size: 15px; background: transparent; color: var(--ink); }
.list-card { background: #fff; border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; }
.list-head { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; padding: 14px 22px; background: #FAFAFD; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--ink2); }
.list-head .label { flex: 1 1 260px; }
.legend { display: inline-flex; align-items: center; gap: 6px; }
.sw { display: inline-block; width: 12px; height: 12px; border-radius: 4px; }
.sw-free { background: #fff; box-shadow: inset 0 0 0 1px #D3D3DE; }
.sw-busy { background: repeating-linear-gradient(45deg, #C9CAD8 0 2px, #EEEEF4 2px 5px); }
.sw-mine { background: var(--accent); }
.empty { padding: 40px 22px; text-align: center; color: var(--muted); }
.tool-row { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 16px 24px; align-items: center; padding: 20px 22px; border-top: 1px solid var(--line2); }
.tool-row:first-of-type { border-top: 0; }
.thumb { flex: 0 0 80px; width: 80px; height: 80px; border-radius: 14px; background: linear-gradient(180deg, var(--fill), #E9E9F1); display: flex; align-items: center; justify-content: center; color: #A9AABB; overflow: hidden; box-shadow: inset 0 1px 0 #fff; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.tool-row > .thumb { width: 120px; height: 120px; border-radius: 16px; align-self: start; }
.tool-row > .thumb.has-photo { background: #fff; box-shadow: inset 0 0 0 1px var(--line2); }
.tool-row > .thumb.has-photo img { object-fit: contain; padding: 8px; }
.tool-body { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.tool-txt { display: flex; flex-direction: column; min-width: 0; text-decoration: none; color: inherit; }
.tool-txt:hover .tool-name { color: var(--deep); }
.tool-name { font-size: 19px; font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; margin: 3px 0 3px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tool-spec { font-size: 14px; line-height: 1.45; color: var(--ink2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tool-avail { min-width: 0; }
.days-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-bottom: 6px; }
.days-title { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.days { display: flex; gap: 3px; }
.day { flex: 1 1 0; max-width: 40px; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 38px; border-radius: 8px; line-height: 1.1; cursor: default; }
.day b { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.day i { font-style: normal; font-size: 13px; font-weight: 700; }
.day-free { background: #E7F4EB; color: #17633A; }
.day-free.is-we { background: #DCEEE2; }
.day-busy { background: repeating-linear-gradient(45deg, #E4E4EC 0 3px, #F3F3F8 3px 7px); color: #8E8FA0; }
.day-busy i { text-decoration: line-through; }
.day-mine { background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 92%, #fff), var(--deep)); color: #fff; }
.day-off { background: #F0F0F3; color: #A9AABB; }
.day.is-today { box-shadow: inset 0 0 0 2px var(--ink); }
.sw-free { background: #E7F4EB !important; box-shadow: inset 0 0 0 1px #BFE0CB !important; }
.sw-busy { background: repeating-linear-gradient(45deg, #C9CAD8 0 2px, #EEEEF4 2px 5px); }
.avail { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }
.avail i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.avail-ok { color: var(--ok); } .avail-warn { color: var(--warn); } .avail-danger { color: var(--danger); }
.tool-buy { display: flex; flex-direction: column; align-items: stretch; gap: 10px; min-width: 140px; }
.price { text-align: center; }
.price strong { display: block; font-size: 26px; letter-spacing: -0.02em; line-height: 1.05; }
.price span { display: block; font-size: 12px; color: var(--muted); }
.price span.vat, .tile .vat { color: var(--ink2); }
.tile .vat { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.price-pair { display: inline-flex; flex-direction: column; align-items: flex-end; line-height: 1.25; }
.price-pair small { font-size: 11.5px; font-weight: 500; color: var(--muted); }
.ci-price span { display: block; }
.sum-price-vat { font-size: 13px; color: var(--muted); }
.tool-buy .btn { width: 100%; }
@media (max-width: 860px) {
  .tool-row { grid-template-columns: 96px minmax(0, 1fr); }
  .tool-row > .thumb { width: 96px; height: 96px; }
  .tool-buy { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
  .price { text-align: left; }
  .price span { display: inline; }
  .price span + span::before { content: ' · '; }
  .tool-buy .btn { width: auto; min-width: 130px; }
}
@media (max-width: 560px) {
  .tool-row { padding: 16px; grid-template-columns: 72px minmax(0, 1fr); gap: 12px 14px; }
  .tool-row > .thumb { width: 72px; height: 72px; border-radius: 12px; }
  .tool-name { font-size: 17px; }
  .tool-body { display: contents; }
  .tool-avail { grid-column: 1 / -1; }
  .days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
  .day { max-width: none; height: 42px; }
}

/* Detail */
.detail { padding-top: 18px; padding-bottom: 64px; }
.back-link { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; text-decoration: none; font-weight: 600; }
.detail-grid { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; margin-top: 6px; }
.detail-left { flex: 1 1 440px; min-width: 0; }
.detail-right { flex: 1 1 380px; min-width: 0; position: sticky; top: 88px; }
.gallery-main { position: relative; aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden; background: linear-gradient(180deg, #fff, #EEEEF5); box-shadow: var(--shadow); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #A9AABB; }
.gallery-count { position: absolute; right: 12px; bottom: 12px; padding: 5px 9px; border-radius: 9px; background: rgba(35,36,46,.7); color: #fff; font-size: 12px; }
.status-pill { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 10px; background: rgba(255,255,255,.94); box-shadow: 0 2px 8px -2px rgba(35,36,60,.2); font-size: 13px; font-weight: 600; }
.status-pill i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-ok { color: var(--ok); } .status-danger { color: var(--danger); }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.gallery-thumbs button { flex: 0 0 72px; height: 72px; padding: 0; border: 0; border-radius: 12px; overflow: hidden; cursor: pointer; background: var(--fill); }
.gallery-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs button.active { box-shadow: 0 0 0 3px var(--accent); }
.detail-head { margin: 22px 0 14px; }
.detail-head h1 { margin-top: 6px; }
.price-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tile { background: #fff; border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow-sm), 0 8px 20px -14px rgba(35,36,60,.2); }
.tile strong { display: block; font-size: 28px; letter-spacing: -0.02em; margin-top: 2px; }
.spec-card { margin: 12px 0 0; background: #fff; border-radius: 16px; padding: 4px 16px; box-shadow: var(--shadow-sm); }
.spec-card div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line2); font-size: 15px; }
.spec-card div:first-child { border-top: 0; }
.spec-card dt { color: var(--muted); }
.spec-card dd { margin: 0; font-weight: 600; text-align: right; }
.desc { margin-top: 16px; color: var(--ink2); }
@media (max-width: 860px) { .detail-right { position: static; } }

/* Kalendár */
.cal-card { background: #fff; border-radius: 22px; padding: 18px; box-shadow: var(--shadow); }
.cal-top { display: flex; align-items: center; justify-content: space-between; }
.cal-top h2 { margin: 0; font-size: 20px; text-transform: capitalize; }
.cal-nav { display: flex; gap: 6px; }
.cal-hint { font-size: 14px; color: var(--muted); margin: 6px 0 10px; min-height: 21px; }
.cal-hint.error { color: var(--danger); font-weight: 600; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.cal-dow { font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--muted); text-align: center; padding: 4px 0; }
.cal-day { height: 44px; border: 0; border-radius: 11px; background: var(--bg); font: inherit; font-size: 16px; font-weight: 600; color: var(--ink); cursor: pointer; padding: 0; }
.cal-day:hover:not([disabled]) { background: var(--soft); }
.cal-day[disabled] { cursor: default; }
.cal-day.past { background: transparent; color: #B9BAC8; font-weight: 400; }
.cal-day.busy { color: #8E8FA0; background: repeating-linear-gradient(45deg, #DCDCE6 0 2px, #F3F3F8 2px 6px); text-decoration: line-through; }
.cal-day.today { box-shadow: inset 0 0 0 2px var(--accent); background: #fff; }
.cal-day.in, .cal-day.in:hover:not([disabled]) { background: var(--soft); color: var(--deep); border-radius: 8px; }
.cal-day.sel, .cal-day.sel:hover:not([disabled]) { color: #fff; background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 92%, #fff), var(--deep)); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 6px 12px -8px var(--accent); }
.cal-empty { height: 44px; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; font-size: 13px; color: var(--ink2); }
.cal-legend span { display: inline-flex; align-items: center; gap: 6px; }
.sum-bar { display: flex; align-items: center; gap: 14px; justify-content: space-between; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line2); flex-wrap: wrap; }
.sum-price { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
.noscript-dates { display: flex; gap: 10px; margin-top: 10px; }

/* Karty, formuláre */
.card { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.form .field, .field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink2); }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=date], input[type=number], input:not([type]), textarea, select {
  font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 0; border-radius: 12px; padding: 12px 14px; min-height: 46px;
  box-shadow: inset 0 0 0 1px #DCDCE6, inset 0 2px 3px rgba(35,36,60,.04); width: 100%;
}
.field-box input, .search input { box-shadow: none; padding-left: 0; padding-right: 0; min-height: 0; background: transparent; }
input:focus, textarea:focus, select:focus { outline: none; box-shadow: inset 0 0 0 2px var(--accent); }
textarea { resize: vertical; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.grid-2 .span-2 { grid-column: 1 / -1; }
@media (max-width: 560px) { .grid-2 { grid-template-columns: minmax(0, 1fr); } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink2); margin: 6px 0 16px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--accent); flex: 0 0 auto; }
.form-section { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 6px 0 10px; }
.type-switch { display: flex; gap: 6px; padding: 4px; margin: 0 0 16px; border: 0; background: var(--fill); border-radius: 13px; }
.type-switch label { flex: 1; }
.type-switch input { position: absolute; opacity: 0; }
.type-switch span { display: flex; align-items: center; justify-content: center; min-height: 40px; border-radius: 10px; font-weight: 600; color: var(--ink2); cursor: pointer; }
.type-switch input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(35,36,60,.14); }
.type-switch input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); }

/* Prihlásenie */
.auth { padding-top: 40px; padding-bottom: 64px; }
.auth-card { max-width: 440px; margin: 0 auto; padding: 28px; }
.auth-card.wide { max-width: 640px; }
.auth-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 16px; font-size: 14px; }

/* Zoznam (košík) */
.cart { padding-top: 26px; padding-bottom: 64px; }
.steps { display: flex; gap: 6px; margin-bottom: 14px; }
.steps i { flex: 1; height: 5px; border-radius: 3px; background: #DCDCE6; }
.steps i.on { background: var(--accent); }
.cart h1 { margin-top: 4px; }
.cart-items { display: grid; gap: 12px; }
.cart-item { display: flex; gap: 14px; padding: 14px; }
.cart-item .thumb { flex-basis: 76px; width: 76px; height: 76px; }
.cart-item.has-error { box-shadow: inset 0 0 0 2px #F3B7B2, var(--shadow); }
.ci-body { flex: 1; min-width: 0; }
.ci-name { font-size: 17px; font-weight: 700; margin-top: 2px; }
.date-pill { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 5px 9px; border-radius: 9px; background: var(--soft); color: var(--deep); font-size: 13px; font-weight: 600; }
.ci-error { color: var(--danger); font-size: 14px; font-weight: 600; margin-top: 8px; }
.ci-foot { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; margin-top: 10px; }
.ci-price { margin-left: auto; text-align: right; }
.ci-price strong { display: block; font-size: 20px; }
.ci-price span { font-size: 12px; color: var(--muted); }
.checkout h2 { margin-top: 28px; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin-bottom: 14px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice-body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px #E1E1EA, var(--shadow-sm); }
.choice-body span { font-size: 13px; color: var(--ink2); }
.choice input:checked + .choice-body { box-shadow: inset 0 0 0 2px var(--accent), 0 8px 18px -12px var(--accent); }
.choice input:focus-visible + .choice-body { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); }
.summary { margin-top: 10px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; color: var(--ink2); }
.sum-row.total { color: var(--ink); font-weight: 700; font-size: 20px; border-top: 1px solid var(--line2); margin: 6px 0 14px; padding-top: 14px; }
.empty-card, .message-card, .done-card { text-align: center; padding: 36px 24px; }
.done-icon { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 20px; background: #E7F4EB; color: var(--ok); display: flex; align-items: center; justify-content: center; }
.mini-list { text-align: left; margin-top: 16px; border-top: 1px solid var(--line2); }
.mini-list .sum-row { border-bottom: 1px solid var(--line2); color: var(--ink); }

/* Môj účet */
.account { padding-top: 28px; padding-bottom: 64px; }
.account-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; }
.res-list { display: grid; gap: 12px; }
.res-card { padding: 0; overflow: hidden; }
.res-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 16px 18px 12px; }
.res-line { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 12px 18px; border-top: 1px solid var(--line2); }
.res-line-right { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.res-card > p { padding: 0 18px; }
.res-actions { padding: 0 18px 16px; }
.grid-profile { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 820px) { .grid-profile { grid-template-columns: minmax(0, 1fr); } }

/* Štítky */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 9px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.badge-ok { background: #E7F4EB; color: var(--ok); }
.badge-warn { background: #FFF1DE; color: var(--warn); }
.badge-danger { background: #FDECEA; color: var(--danger); }
.badge-info { background: #E8F0FB; color: #1F5AA6; }
.badge-accent { background: var(--soft); color: var(--deep); }
.badge-muted { background: var(--fill); color: var(--muted); }

/* Päta */
.site-footer { border-top: 1px solid var(--line); background: #fff; margin-top: 20px; }
.footer-in { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; padding-top: 26px; padding-bottom: 32px; font-size: 13px; color: var(--muted); }
.footer-in img { height: 32px; width: auto; max-width: 180px; object-fit: contain; }
.pager { display: flex; gap: 6px; margin-top: 16px; flex-wrap: wrap; }
