/* Verateca components — styles. Every colour, length and radius is a token from tokens.css. */
.vt { font-family: var(--font-sans); color: var(--ink); font-size: 15px; line-height: 22px; box-sizing: border-box; }
.vt *, .vt *::before, .vt *::after { box-sizing: border-box; }
.vt-num { font-variant-numeric: tabular-nums; font-weight: 500; }
.vt-label { font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-muted); }
.vt-small { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.vt-link { color: var(--link); text-decoration: none; }
.vt-link:hover { text-decoration: underline; }
.vt :focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

/* Icon */
.vt-icon { width: 20px; height: 20px; flex: none; display: inline-block; vertical-align: middle; }
.vt-icon--sm { width: 16px; height: 16px; }

/* Button */
.vt-btn { font: inherit; font-weight: 500; display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 40px; padding: 0 var(--space-4); border-radius: var(--radius-sm); border: 1px solid transparent; cursor: pointer; white-space: nowrap; text-decoration: none; }
.vt-btn--sm { min-height: 32px; padding: 0 var(--space-3); font-size: 13px; line-height: 18px; }
.vt-btn--primary { background: var(--brand); color: var(--ink-on-brand); border-color: var(--brand); }
.vt-btn--primary:hover { background: var(--brand-strong); border-color: var(--brand-strong); }
.vt-btn--secondary { background: var(--bg-raised); color: var(--ink); border-color: var(--line-strong); }
.vt-btn--secondary:hover { background: var(--bg-muted); }
.vt-btn--ghost { background: transparent; color: var(--ink); }
.vt-btn--ghost:hover { background: var(--bg-muted); }
.vt-btn--on { background: var(--brand-tint); border-color: var(--brand); color: var(--ink); }
.vt-btn[disabled] { opacity: 0.5; cursor: not-allowed; }

/* Input */
.vt-input { display: flex; align-items: center; gap: var(--space-2); min-height: 40px; padding: 0 var(--space-3); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--bg-raised); color: var(--ink); }
.vt-input input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; color: inherit; }
.vt-input input:focus-visible { outline: 0; } /* the whole field shows focus (focus-within below); no second ring inside — Ярослав 19.10 */
.vt-input input::placeholder { color: var(--ink-muted); }
.vt-input--lg { min-height: 52px; font-size: 17px; padding: 0 var(--space-4); }
.vt-input:focus-within { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }

/* Status badge */
.vt-status { display: flex; gap: var(--space-3); padding: var(--space-3); border-radius: var(--radius-xs); border: 1px solid transparent; }
.vt-status__icon { margin-top: 1px; }
.vt-status__body { display: flex; flex-direction: column; gap: var(--space-1); min-width: 0; }
.vt-status__title { font-weight: 500; }
.vt-status__text { font-size: 13px; line-height: 18px; }
.vt-status__foot { font-size: 13px; line-height: 18px; display: flex; gap: var(--space-3); flex-wrap: wrap; }
.vt-status--present { background: var(--status-present-bg); color: var(--status-present-fg); }
.vt-status--present .vt-status__text, .vt-status--present .vt-status__foot { color: var(--ink-muted); }
.vt-status--none, .vt-status--noregister { background: var(--status-unknown-bg); color: var(--status-unknown-fg); border-color: var(--line); border-style: dashed; }
.vt-status--none .vt-status__title, .vt-status--noregister .vt-status__title { color: var(--ink); }
.vt-status--over { background: var(--status-over-bg); color: var(--status-over-fg); }
.vt-status--over .vt-status__text, .vt-status--over .vt-status__foot { color: var(--status-over-fg); }
.vt-status--compact { padding: var(--space-1) var(--space-2); gap: var(--space-2); display: inline-flex; align-items: center; font-size: 13px; line-height: 18px; position: relative; }
.vt-status__i { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; margin: -2px -4px -2px 0; padding: 0; border: 0; border-radius: 999px; background: transparent; color: inherit; font-family: inherit; cursor: pointer; }
.vt-status__i:hover { background: var(--bg-muted); }
.vt-status__pop { position: absolute; left: 0; top: calc(100% + 6px); z-index: 2; width: 280px; padding: var(--space-2) var(--space-3); background: var(--bg-raised); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-float); font-size: 13px; line-height: 18px; font-weight: 400; white-space: normal; }

/* Limit bar */
.vt-limit { display: grid; grid-template-columns: minmax(0, 1.4fr) auto minmax(0, 1fr) auto; gap: var(--space-3); align-items: center; padding: var(--space-3) 0; border-bottom: 1px solid var(--line); }
.vt-limit__name { min-width: 0; }
.vt-limit__form { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.vt-limit__amount { text-align: right; white-space: nowrap; }
.vt-limit__track { position: relative; height: 8px; background: var(--bar-track); border-radius: var(--radius-xs); overflow: hidden; }
.vt-limit__fill { position: absolute; inset: 0 auto 0 0; background: var(--bar-fill); }
.vt-limit__over { position: absolute; inset: 0 0 0 auto; background: var(--bar-over); }
.vt-limit__mark { position: absolute; top: -2px; bottom: -2px; width: 2px; background: var(--ink); opacity: 0.55; }
.vt-limit__share { text-align: right; white-space: nowrap; min-width: 52px; }
.vt-limit--over .vt-limit__share { color: var(--status-over-fg); }
.vt-limit__caption { grid-column: 1 / -1; font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.vt-limit__overline { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: var(--space-1); font-size: 13px; line-height: 18px; color: var(--status-over-fg); font-weight: 500; }
@media (max-width: 480px) { .vt-limit { grid-template-columns: minmax(0, 1fr) auto; } .vt-limit__track { grid-column: 1 / -1; } }

/* Country pill */
.vt-country { display: inline-flex; align-items: center; gap: var(--space-2); padding: 0 var(--space-3); min-height: 32px; border-radius: var(--radius-pill); border: 1px solid var(--line-strong); background: var(--bg-raised); font-size: 13px; line-height: 18px; font-weight: 500; cursor: pointer; font-family: inherit; color: var(--ink); }
.vt-lang { position: relative; display: inline-flex; }
.vt-lang__btn { display: inline-flex; align-items: center; gap: 6px; padding: 0 var(--space-3); min-height: 32px; border-radius: var(--radius-pill); border: 1px solid var(--line-strong); background: var(--bg-raised); font-size: 13px; line-height: 18px; font-weight: 500; cursor: pointer; font-family: inherit; color: var(--ink); }
.vt-lang__menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; min-width: 190px; display: grid; gap: 4px; padding: var(--space-2) var(--space-3); border-radius: 10px; border: 1px solid var(--line); background: var(--bg-raised); box-shadow: 0 6px 24px rgba(0,0,0,.08); font-size: 14px; }
.vt-lang__menu[hidden] { display: none; }
.vt-lang__item--on { font-weight: 600; }
.vt-lang__item--on::after { content: " ✓"; color: var(--bar-fill); }
.vt-lang__note { font-size: 12px; color: var(--ink-muted); margin-top: 4px; }
.vt-lang__item--off { color: var(--ink-muted); font-size: 13px; }
.vt-header--dark .vt-lang__btn { background: transparent; color: var(--ink-on-graphite); border-color: rgba(236,236,232,0.3); }
.vt-country__state { color: var(--ink-muted); font-weight: 400; }
.vt-country__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--bar-fill); }
.vt-country--partial .vt-country__dot { background: var(--bar-over); }
.vt-country--none .vt-country__dot { background: transparent; border: 1.5px dashed var(--ink-muted); }

/* Topic chip */
.vt-topic { display: inline-flex; align-items: center; min-height: 28px; padding: 0 var(--space-3); border-radius: var(--radius-pill); background: var(--brand-tint); color: var(--ink); font-size: 13px; line-height: 18px; font-weight: 500; text-decoration: none; }
.vt-topic--outline { background: transparent; border: 1px solid var(--line-strong); }

/* Price block */
.vt-price { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); }
.vt-price__cell { display: flex; flex-direction: column; gap: 2px; padding: var(--space-3); border: 1px solid var(--line); border-radius: var(--radius-sm); min-width: 0; }
.vt-price__cell--hero { background: var(--bg-muted); border-color: transparent; }
.vt-price__value { font-size: 20px; line-height: 26px; font-weight: 500; font-variant-numeric: tabular-nums; }
.vt-price__cell--hero .vt-price__value { font-size: 28px; line-height: 32px; }
.vt-price__value--empty { color: var(--ink-muted); font-weight: 400; font-size: 15px; line-height: 22px; }
.vt-price__key { font-size: 12px; line-height: 16px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-muted); font-weight: 500; }
.vt-price__note { font-size: 13px; line-height: 18px; color: var(--ink-muted); }

/* Offer row */
.vt-offer { display: grid; grid-template-columns: minmax(0, 1.2fr) auto auto auto; gap: var(--space-4); align-items: center; padding: var(--space-3) 0; border-bottom: 1px solid var(--line); }
.vt-offer__shop { font-weight: 500; }
.vt-offer__meta { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.vt-offer__price { text-align: right; white-space: nowrap; }
.vt-offer__per { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.vt-offer__local { font-weight: 400; color: var(--ink-muted); }
.vt-elsewhere { display: flex; gap: var(--space-3); align-items: baseline; flex-wrap: wrap; padding: var(--space-3) 0; border-bottom: 1px solid var(--line); font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.vt-scope { display: inline-flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); font-size: 13px; line-height: 18px; }
.vt-scope__label { color: var(--ink-muted); }
.vt-scope__opt { font: inherit; padding: 0 var(--space-3); min-height: 28px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--ink); cursor: pointer; }
.vt-scope__opt--on { border-color: var(--brand); background: var(--brand-tint); font-weight: 500; }
.vt-offer__notice { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-2); font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.vt-offer__info { font-size: 13px; line-height: 18px; color: var(--ink-muted); padding: var(--space-2) var(--space-3); background: var(--bg-muted); border-radius: var(--radius-xs); grid-column: 1 / -1; }
.vt-offer__aff { font-size: 12px; line-height: 16px; color: var(--ink-muted); }
.vt-offer__action { display: flex; gap: var(--space-2); align-items: center; justify-content: flex-end; }
@media (max-width: 560px) { .vt-offer { grid-template-columns: minmax(0, 1fr) auto; } .vt-offer__action { grid-column: 1 / -1; justify-content: flex-start; } }

/* Product card */
.vt-card { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: var(--space-4); padding: var(--space-4); border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-raised); }
.vt-card__img { width: 96px; height: 96px; border-radius: var(--radius-sm); background: var(--bg-muted); display: flex; align-items: center; justify-content: center; text-align: center; font-size: 12px; line-height: 16px; color: var(--ink-muted); padding: var(--space-2); overflow: hidden; }
.vt-card__img img { max-width: 100%; max-height: 100%; }
.vt-card__img[href] { text-decoration: none; }
.vt-card__body { display: flex; flex-direction: column; gap: var(--space-2); min-width: 0; }
.vt-card__brand { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.vt-card__name { font-size: 17px; line-height: 24px; font-weight: 600; margin: 0; }
.vt-card__name a { color: inherit; text-decoration: none; }
.vt-card__name a:hover { text-decoration: underline; }
.vt-card__comp { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.vt-card__row { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); align-items: center; }
.vt-card__foot { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); align-items: center; justify-content: space-between; margin-top: var(--space-1); }
.vt-card__price { display: flex; flex-direction: column; }
.vt-card__pricev { font-size: 20px; line-height: 26px; font-weight: 500; font-variant-numeric: tabular-nums; }
.vt-card__pricek { font-size: 12px; line-height: 16px; color: var(--ink-muted); }
.vt-card__actions { display: flex; gap: var(--space-2); }
@media (max-width: 480px) { .vt-card { grid-template-columns: 72px minmax(0, 1fr); } .vt-card__img { width: 72px; height: 72px; } }

/* Disclaimer */
.vt-disc { font-size: 13px; line-height: 18px; color: var(--ink-muted); padding: var(--space-3) var(--space-4); border-left: 2px solid var(--line-strong); }
.vt-disc--short { padding: 0; border: 0; }
.vt-disc--fda { font-style: normal; }

/* Scale line */
.vt-scale { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); align-items: center; padding: var(--space-2) 0; font-size: 13px; line-height: 18px; color: var(--ink-muted); border-bottom: 1px solid var(--line); }
.vt-scale b { font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }

/* Quiet paid */
.vt-quiet { display: inline-flex; align-items: center; gap: var(--space-2); padding: 0 var(--space-3); min-height: 32px; border-radius: var(--radius-sm); background: var(--brand-tint); color: var(--ink); font-size: 13px; line-height: 18px; text-decoration: none; }
.vt-quiet:hover { text-decoration: underline; }
.vt-quiet--line { background: transparent; padding: 0; min-height: 0; color: var(--ink-muted); }
.vt-quiet--card { flex-direction: column; align-items: flex-start; gap: var(--space-1); padding: var(--space-3) var(--space-4); min-height: 0; font-size: 15px; line-height: 22px; }
.vt-quiet--card b { font-weight: 500; }
.vt-quiet--card span { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.vt-quiet--line b { color: var(--ink); font-weight: 500; }

/* Compare bar */
.vt-cbar { display: flex; align-items: center; gap: var(--space-4); padding: var(--space-3) var(--space-5); background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-float); }
.vt-cbar__items { display: flex; gap: var(--space-2); flex: 1; min-width: 0; overflow: hidden; }
.vt-cbar__item { display: inline-flex; align-items: center; gap: var(--space-1); padding: 0 var(--space-2) 0 var(--space-3); min-height: 32px; border: 1px solid var(--line-strong); border-radius: var(--radius-xs); font-size: 13px; line-height: 18px; white-space: nowrap; max-width: 220px; }
.vt-cbar__item span { overflow: hidden; text-overflow: ellipsis; }
.vt-cbar__x { border: 0; background: transparent; padding: 2px; cursor: pointer; color: var(--ink-muted); display: inline-flex; }
.vt-cbar__count { font-size: 13px; line-height: 18px; color: var(--ink-muted); white-space: nowrap; }

/* Header / footer */
.vt-header { background: var(--bg-raised); border-bottom: 1px solid var(--line); }
.vt-header--dark { background: var(--bg-graphite); color: var(--ink-on-graphite); border-bottom: 0; }
.vt-header__in { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-5); min-height: 64px; display: flex; align-items: center; gap: var(--space-5); flex-wrap: wrap; }
.vt-header__logo { display: inline-flex; align-items: center; height: 24px; }
.vt-header__logo img { height: 24px; display: block; }
.vt-header__nav { display: flex; gap: var(--space-4); font-size: 15px; }
.vt-header__nav a { color: inherit; text-decoration: none; }
.vt-header__nav a:hover { text-decoration: underline; }
.vt-header__search { flex: 1 1 260px; min-width: 200px; }
.vt-header--dark .vt-input { background: rgba(255,255,255,0.07); border-color: rgba(236,236,232,0.3); color: var(--ink-on-graphite); }
.vt-header--dark .vt-input input::placeholder { color: rgba(236,236,232,0.6); }
.vt-header--dark .vt-country { background: transparent; color: var(--ink-on-graphite); border-color: rgba(236,236,232,0.3); }
.vt-header--dark .vt-country__state { color: rgba(236,236,232,0.7); }
.vt-header--dark .vt-quiet { background: rgba(255,255,255,0.08); color: var(--ink-on-graphite); }
.vt-header__right { display: flex; align-items: center; gap: var(--space-3); margin-left: auto; }
.vt-footer { background: var(--bg-graphite); color: var(--ink-on-graphite); }
.vt-footer__in { max-width: 1200px; margin: 0 auto; padding: var(--space-7) var(--space-5) var(--space-5); display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: var(--space-6); font-size: 14px; line-height: 20px; }
.vt-footer__principle { font-size: 17px; line-height: 24px; font-weight: 500; margin: 0 0 var(--space-3); }
.vt-footer p { margin: 0 0 var(--space-2); color: rgba(236,236,232,0.75); }
.vt-footer a { color: var(--ink-on-graphite); text-decoration: none; }
.vt-footer a:visited, .vt-footer a:hover, .vt-footer a:focus-visible { color: var(--ink-on-graphite); }
.vt-footer a:hover, .vt-footer a:focus-visible { text-decoration: underline; }
.vt-footer a:focus-visible { outline: 2px solid var(--ink-on-graphite); outline-offset: 3px; }
.vt-footer__links { display: flex; flex-direction: column; gap: var(--space-2); }
.vt-footer__src { display: inline-flex; align-items: center; gap: var(--space-2); font-weight: 500; }
@media (max-width: 720px) { .vt-footer__in { grid-template-columns: minmax(0, 1fr); } .vt-header__in { padding: 0 var(--space-4); } }

.vt-footer__brand { display: flex; flex-direction: column; gap: var(--space-3); }
.vt-footer__brand p { max-width: 36ch; }
.vt-footer__col { display: flex; flex-direction: column; gap: var(--space-2); }
.vt-footer__h { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: rgba(236,236,232,0.55); margin-bottom: 2px; }
.vt-footer__bottom { max-width: 1200px; margin: 0 auto; padding: var(--space-4) var(--space-5) var(--space-5); border-top: 1px solid rgba(236,236,232,0.12); display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); align-items: baseline; font-size: 12px; color: rgba(236,236,232,0.55); }
.vt-footer__bottom .vt-footer__legal { margin-left: auto; }
@media (max-width: 720px) { .vt-footer__in { grid-template-columns: 1fr 1fr; } .vt-footer__brand { grid-column: 1 / -1; } .vt-footer__bottom .vt-footer__legal { margin-left: 0; } }

.vt-footer__small { font-size: 12px; line-height: 16px; opacity: .8; }
