/* ==========================================================================
   VGROUP Web – nabídka vozů a detail vozu
   ========================================================================== */

.vgw-root .vgw-btn--accent { background: var(--vgw-accent); border-color: var(--vgw-accent); color: #fff; }
.vgw-root .vgw-btn--accent:hover { background: color-mix(in srgb, var(--vgw-accent) 85%, #000); border-color: color-mix(in srgb, var(--vgw-accent) 85%, #000); color: #fff; }
.vgw-root .vgw-btn--glass { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .55); color: #fff; backdrop-filter: blur(6px); }
.vgw-root .vgw-btn--glass:hover { background: #fff; color: var(--vgw-primary); border-color: #fff; }
.vgw-root .vgw-btn svg:not(.vgw-arrow) { width: 18px; height: 18px; }

/* drobečková navigace */
.vgw-root .vgw-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--vgw-muted); }
.vgw-root .vgw-crumbs a { color: var(--vgw-primary); font-weight: 700; display: inline-flex; }
.vgw-root .vgw-crumbs a:hover { color: var(--vgw-accent); }
.vgw-root .vgw-crumbs svg { width: 15px; height: 15px; }
.vgw-root .vgw-crumbs .vgw-crumbs__sep { width: 12px; height: 12px; opacity: .5; }
.vgw-root .vgw-crumbs--light, .vgw-root .vgw-crumbs--light a { color: #fff; }
.vgw-root .vgw-crumbs--light span { color: rgba(255, 255, 255, .75); }

/* štítky */
.vgw-root .vgw-chip { display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: 13px; background: #fff; color: var(--vgw-primary); font-size: 11.5px; font-weight: 900; letter-spacing: .02em; box-shadow: 0 2px 8px rgba(0, 0, 0, .12); }
.vgw-root .vgw-chip--new { background: var(--vgw-accent); color: #fff; }
.vgw-root .vgw-chip--price { background: #f59e0b; color: #fff; }

/* formulářové prvky */
.vgw-root .vgw-sel { position: relative; display: block; }
.vgw-root .vgw-sel select, .vgw-root .vgw-input {
    display: block; width: 100%; height: 44px; margin: 0; padding: 0 38px 0 14px;
    border: 1px solid #d9dee8; border-radius: 8px; background: #fff; box-shadow: none;
    -webkit-appearance: none; appearance: none; font-family: var(--vgw-font); font-size: 14px; color: var(--vgw-text); outline: none; cursor: pointer;
}
.vgw-root .vgw-input { padding-right: 14px; cursor: text; }
.vgw-root select.vgw-input { cursor: pointer; }
.vgw-root .vgw-sel select:focus, .vgw-root .vgw-input:focus { border-color: var(--vgw-primary); box-shadow: 0 0 0 3px rgba(11, 31, 86, .1); }
.vgw-root .vgw-sel select:disabled { background: #f4f5f8; color: #9aa1af; cursor: default; }
.vgw-root .vgw-sel > svg { position: absolute; right: 13px; top: 50%; width: 16px; height: 16px; margin-top: -8px; color: var(--vgw-primary); pointer-events: none; }
.vgw-root .vgw-sel--sm select { height: 40px; font-size: 13.5px; font-weight: 700; color: var(--vgw-primary); }

.vgw-root .vgw-check { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; line-height: 1.3; }
.vgw-root .vgw-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.vgw-root .vgw-check__box { flex: 0 0 20px; width: 20px; height: 20px; border: 1.5px solid #c5cbd8; border-radius: 5px; display: flex; align-items: center; justify-content: center; color: transparent; background: #fff; transition: all .15s; }
.vgw-root .vgw-check__box svg { width: 13px; height: 13px; }
.vgw-root .vgw-check input:checked + .vgw-check__box { background: var(--vgw-primary); border-color: var(--vgw-primary); color: #fff; }
.vgw-root .vgw-check input:focus-visible + .vgw-check__box { box-shadow: 0 0 0 3px rgba(11, 31, 86, .2); }
.vgw-root .vgw-check__label { flex: 1; }
.vgw-root .vgw-check__count { font-size: 12px; color: #98a0b0; }

/* ==========================================================================
   Nabídka vozů
   ========================================================================== */
.vgw-root .vgw-listing { padding: 26px 0 60px; background: #fff; }
.vgw-root .vgw-listing__title { margin: 12px 0 20px; font-family: var(--vgw-font-display); font-size: clamp(26px, 2.6vw, 36px); font-weight: 800; color: var(--vgw-primary); text-transform: uppercase; line-height: 1.1; }

/* dlaždice značek */
.vgw-root .vgw-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; margin-bottom: 26px; }
.vgw-root .vgw-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 96px; padding: 12px 8px 10px; border: 1.5px solid transparent; border-radius: 12px; background: var(--vgw-soft); text-align: center; transition: border-color .2s, background-color .2s, transform .2s; }
.vgw-root .vgw-tile:hover { background: #fff; border-color: #d4dae6; transform: translateY(-2px); }
.vgw-root .vgw-tile.is-active { background: #fff; border-color: var(--vgw-primary); box-shadow: 0 6px 18px rgba(11, 31, 86, .1); }
.vgw-root .vgw-tile.is-empty { opacity: .5; }
.vgw-root .vgw-tile__logo { display: flex; align-items: center; justify-content: center; height: 42px; width: 100%; }
.vgw-root .vgw-tile__img { max-height: 42px; max-width: 90%; width: auto; object-fit: contain; }
.vgw-root .vgw-tile__logo--ico { color: var(--vgw-primary); }
.vgw-root .vgw-tile__logo--ico svg { width: 36px; height: 36px; }
.vgw-root .vgw-tile__txt { font-family: var(--vgw-font-display); font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--vgw-primary); }
.vgw-root .vgw-tile__name { font-size: 12.5px; font-weight: 700; color: #262c3a; }
.vgw-root .vgw-tile__name small { font-size: 11px; font-weight: 400; color: #98a0b0; }

/* lišta */
.vgw-root .vgw-bar { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 16px; }
.vgw-root .vgw-seg { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--vgw-soft); }
.vgw-root .vgw-seg a { padding: 10px 22px; border-radius: 9px; font-size: 14px; font-weight: 700; color: #3a4152; transition: background-color .2s, color .2s; }
.vgw-root .vgw-seg a:hover { color: var(--vgw-primary); }
.vgw-root .vgw-seg a.is-active { background: var(--vgw-primary); color: #fff; box-shadow: 0 4px 12px rgba(11, 31, 86, .25); }
.vgw-root .vgw-bar__count { font-size: 15px; color: #3a4152; }
.vgw-root .vgw-bar__count strong { color: var(--vgw-primary); font-weight: 900; }
.vgw-root .vgw-bar__filter { display: none; }
.vgw-root .vgw-bar__sort { margin-left: auto; display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--vgw-muted); }
.vgw-root .vgw-bar__sort .vgw-sel { min-width: 220px; }

.vgw-root .vgw-achips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.vgw-root .vgw-achip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px 0 14px; border-radius: 16px; background: #eef2fa; color: var(--vgw-primary); font-size: 13px; font-weight: 700; transition: background-color .2s; }
.vgw-root .vgw-achip svg { width: 14px; height: 14px; }
.vgw-root .vgw-achip:hover { background: #dfe6f5; }
.vgw-root .vgw-achip--reset { background: none; color: var(--vgw-accent); padding: 0 8px; }

.vgw-root .vgw-listing__main { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 26px; align-items: start; }

/* filtr */
.vgw-root .vgw-listing__side { position: sticky; top: 90px; }
.admin-bar .vgw-root .vgw-listing__side { top: 122px; }
.vgw-root .vgw-filter-wrap { max-height: calc(100vh - 110px); overflow-y: auto; border-radius: 16px; background: var(--vgw-soft); scrollbar-width: thin; }
.vgw-root .vgw-filter { padding: 18px 18px 20px; }
.vgw-root .vgw-filter__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.vgw-root .vgw-filter__top strong { display: flex; align-items: center; gap: 10px; font-family: var(--vgw-font-display); font-size: 16px; font-weight: 800; color: var(--vgw-primary); text-transform: uppercase; }
.vgw-root .vgw-filter__top strong svg { width: 20px; height: 20px; }
.vgw-root .vgw-filter__close { display: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #fff; color: var(--vgw-primary); cursor: pointer; align-items: center; justify-content: center; }
.vgw-root .vgw-filter__close svg { width: 20px; height: 20px; }

.vgw-root .vgw-acc { border-bottom: 1px solid #e0e4ec; }
.vgw-root .vgw-acc__head { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 15px 0; margin: 0; border: 0; background: none; cursor: pointer; font-family: var(--vgw-font); font-size: 14.5px; font-weight: 900; color: #1d2433; text-align: left; }
.vgw-root .vgw-acc__head svg { width: 16px; height: 16px; color: var(--vgw-primary); transition: transform .2s; }
.vgw-root .vgw-acc.is-open .vgw-acc__head svg { transform: rotate(180deg); }
.vgw-root .vgw-acc__body { display: none; padding: 0 0 16px; }
.vgw-root .vgw-acc.is-open .vgw-acc__body { display: block; }
.vgw-root .vgw-acc__body .vgw-sel + .vgw-sel { margin-top: 8px; }
.vgw-root .vgw-two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.vgw-root .vgw-checks { display: flex; flex-direction: column; gap: 10px; max-height: 250px; overflow-y: auto; }
.vgw-root .vgw-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.vgw-root .vgw-pill { cursor: pointer; }
.vgw-root .vgw-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.vgw-root .vgw-pill span { display: inline-flex; align-items: center; height: 34px; padding: 0 16px; border: 1.5px solid #cfd5e1; border-radius: 17px; background: #fff; font-size: 13px; font-weight: 700; color: #2e3443; transition: all .15s; }
.vgw-root .vgw-pill input:checked + span { background: var(--vgw-primary); border-color: var(--vgw-primary); color: #fff; }

/* dvojitý posuvník */
.vgw-root .vgw-range { padding: 6px 2px 0; }
.vgw-root .vgw-range__track { position: relative; height: 22px; }
.vgw-root .vgw-range__track::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 4px; border-radius: 2px; background: #d7dce6; }
.vgw-root .vgw-range__fill { position: absolute; top: 9px; height: 4px; border-radius: 2px; background: var(--vgw-primary); }
.vgw-root .vgw-range input[type=range] { position: absolute; left: 0; top: 0; width: 100%; height: 22px; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.vgw-root .vgw-range input[type=range]::-webkit-slider-runnable-track { background: none; height: 22px; }
.vgw-root .vgw-range input[type=range]::-moz-range-track { background: none; }
.vgw-root .vgw-range input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 5px solid var(--vgw-primary); cursor: grab; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); }
.vgw-root .vgw-range input[type=range]::-moz-range-thumb { pointer-events: auto; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 5px solid var(--vgw-primary); cursor: grab; }
.vgw-root .vgw-range__vals { display: flex; justify-content: space-between; margin-top: 10px; font-size: 13px; font-weight: 700; color: #2e3443; }

.vgw-root .vgw-filter__foot { position: sticky; bottom: -20px; margin: 16px -18px -20px; padding: 14px 18px 18px; background: var(--vgw-soft); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.vgw-root .vgw-filter__reset { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--vgw-accent); }
.vgw-root .vgw-filter__reset svg { width: 14px; height: 14px; }
.vgw-root .vgw-filter.is-auto .vgw-filter__foot .vgw-btn { display: none; }

/* mřížka a karta */
.vgw-root .vgw-lgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.vgw-root .vgw-lgrid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.vgw-root .vgw-lgrid--single { grid-template-columns: minmax(0, 420px); margin-top: 20px; }
.vgw-root .vgw-lc { display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid #e3e7ee; border-radius: 16px; overflow: hidden; transition: box-shadow .25s, transform .25s, border-color .25s; }
.vgw-root .vgw-lc:hover { box-shadow: 0 16px 36px rgba(11, 31, 86, .12); transform: translateY(-3px); border-color: #d5dbe6; }
.vgw-root .vgw-lc__media { position: relative; display: block; aspect-ratio: 16 / 10.5; overflow: hidden; background: #eef0f4; }
.vgw-root .vgw-lc__photo { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.vgw-root .vgw-lc:hover .vgw-lc__photo { transform: scale(1.05); }
.vgw-root .vgw-lc__noimg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #c3c9d6; }
.vgw-root .vgw-lc__noimg svg { width: 70px; height: 70px; }
.vgw-root .vgw-lc__chips { position: absolute; right: 12px; top: 12px; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; max-width: calc(100% - 24px); }
.vgw-root .vgw-lc__count { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 13px; background: rgba(10, 18, 40, .65); color: #fff; font-size: 12px; font-weight: 700; }
.vgw-root .vgw-lc__count svg { width: 14px; height: 14px; }
.vgw-root .vgw-lc__body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.vgw-root .vgw-lc__title { font-family: var(--vgw-font-display); font-size: 19px; font-weight: 800; line-height: 1.2; color: var(--vgw-primary); }
.vgw-root .vgw-lc__title em { font-style: normal; color: var(--vgw-accent); }
.vgw-root .vgw-lc__sub { margin-top: 4px; min-height: 1.45em; font-size: 13px; color: var(--vgw-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vgw-root .vgw-lc__specs { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 12px; margin: 14px 0 0; padding: 0 0 16px; border-bottom: 1px solid #e8ebf1; }
.vgw-root .vgw-lc__specs li { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 13px; font-weight: 700; color: #2b3242; }
.vgw-root .vgw-lc__specs svg { width: 18px; height: 18px; color: var(--vgw-primary); opacity: .75; }
.vgw-root .vgw-lc__specs span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.vgw-root .vgw-lc__price { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 16px 0 14px; margin-top: auto; padding: 14px 16px; border-radius: 12px; background: var(--vgw-soft); }
.vgw-root .vgw-lc__specs + .vgw-lc__price { margin-top: 16px; }
.vgw-root .vgw-lc__plabel { font-size: 14px; font-weight: 700; color: #3a4152; }
.vgw-root .vgw-lc__pval { text-align: right; }
.vgw-root .vgw-lc__pval strong { display: block; font-size: 24px; font-weight: 900; line-height: 1.1; color: var(--vgw-primary); white-space: nowrap; letter-spacing: -.01em; }
.vgw-root .vgw-lc__pval small { display: block; margin-top: 3px; font-size: 12px; color: var(--vgw-muted); white-space: nowrap; }
.vgw-root .vgw-lc__btn { height: 48px; border-radius: 10px; font-size: 13px; }

/* karta „Nenašli jste vůz?“ */
.vgw-root .vgw-lc--promo { padding: 24px 20px 22px; background: linear-gradient(160deg, var(--vgw-primary) 0%, color-mix(in srgb, var(--vgw-primary) 75%, #3b6fe0) 100%); border: 0; color: #fff; }
.vgw-root .vgw-lc--promo:hover { transform: none; }
.vgw-root .vgw-lc__promoico { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: var(--vgw-accent); color: #fff; }
.vgw-root .vgw-lc__promoico svg { width: 24px; height: 24px; }
.vgw-root .vgw-lc__promotitle { margin-top: 16px; font-family: var(--vgw-font-display); font-size: 24px; font-weight: 800; line-height: 1.15; }
.vgw-root .vgw-lc__promotext { margin-top: 8px; font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, .85); }
.vgw-root .vgw-inq--mini { display: flex; flex-direction: column; gap: 10px; margin-top: auto; padding-top: 18px; }
.vgw-root .vgw-inq--mini .vgw-input { border-color: transparent; }
.vgw-root .vgw-inq--mini .vgw-btn { height: 48px; border-radius: 10px; margin-top: 4px; }
.vgw-root .vgw-lc--promo .vgw-inq__msg { color: #fff; }

.vgw-root .vgw-noresults { padding: 50px 20px; text-align: center; border-radius: 16px; background: var(--vgw-soft); }
.vgw-root .vgw-noresults > svg { width: 48px; height: 48px; margin: 0 auto 12px; color: var(--vgw-primary); }
.vgw-root .vgw-noresults h2 { font-family: var(--vgw-font-display); font-size: 22px; font-weight: 800; color: var(--vgw-primary); }
.vgw-root .vgw-noresults p { margin: 8px 0 20px; color: var(--vgw-muted); }

/* stránkování */
.vgw-root .vgw-pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.vgw-root .vgw-pager .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 10px; border-radius: 10px; background: var(--vgw-soft); font-size: 14px; font-weight: 700; color: var(--vgw-primary); }
.vgw-root .vgw-pager .page-numbers svg { width: 16px; height: 16px; }
.vgw-root .vgw-pager a.page-numbers:hover { background: #e3e8f2; }
.vgw-root .vgw-pager .page-numbers.current { background: var(--vgw-primary); color: #fff; }
.vgw-root .vgw-pager .page-numbers.prev, .vgw-root .vgw-pager .page-numbers.next { background: var(--vgw-accent); color: #fff; }
.vgw-root .vgw-pager .page-numbers.dots { background: none; }

/* inquiry zprávy */
.vgw-root .vgw-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.vgw-root .vgw-inq__msg { margin: 0; font-size: 13.5px; font-weight: 700; }
.vgw-root .vgw-inq__msg:empty { display: none; }
.vgw-root .vgw-inq__msg.is-ok { color: #15803d; }
.vgw-root .vgw-inq__msg.is-err { color: var(--vgw-accent); }
.vgw-root .vgw-inq.is-sending button[type=submit] { opacity: .6; pointer-events: none; }
.vgw-root .vgw-inq.is-done > *:not(.vgw-inq__msg) { display: none; }
.vgw-root .vgw-inq.is-done .vgw-inq__msg { padding: 18px; border-radius: 12px; background: #ecfdf3; font-size: 15px; }
.vgw-root .vgw-lc--promo .vgw-inq.is-done .vgw-inq__msg { background: rgba(255, 255, 255, .14); color: #fff; }

@media (max-width: 1280px) {
    .vgw-root .vgw-lgrid, .vgw-root .vgw-lgrid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1280px) and (min-width: 1081px) {
    .vgw-root .vgw-lgrid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
    .vgw-root .vgw-listing__main { grid-template-columns: 1fr; }
    .vgw-root .vgw-listing__side { position: fixed; inset: 0; z-index: 1100; top: 0 !important; background: rgba(8, 20, 56, .45); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
    .vgw-root .vgw-listing__side.is-open { opacity: 1; visibility: visible; }
    .vgw-root .vgw-filter-wrap { position: absolute; top: 0; left: 0; bottom: 0; width: min(380px, 90vw); max-height: none; border-radius: 0 16px 16px 0; transform: translateX(-100%); transition: transform .3s; }
    .vgw-root .vgw-listing__side.is-open .vgw-filter-wrap { transform: none; }
    .vgw-root .vgw-filter__close { display: flex; }
    .vgw-root .vgw-filter__foot { bottom: 0; margin-bottom: 0; }
    .vgw-root .vgw-filter.is-auto .vgw-filter__foot .vgw-btn { display: flex; }
    .vgw-root .vgw-bar__filter { display: inline-flex; height: 42px; border-color: #d9dee8; border-radius: 10px; font-size: 12px; gap: 8px; }
    .vgw-root .vgw-bar__filter b { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; border-radius: 10px; background: var(--vgw-accent); color: #fff; font-size: 11px; }
}
@media (max-width: 767px) {
    .vgw-root .vgw-listing { padding: 16px 0 40px; }
    .vgw-root .vgw-listing__title { margin: 10px 0 14px; }
    .vgw-root .vgw-tiles { display: flex; overflow-x: auto; margin: 0 calc(var(--vgw-gutter) * -1) 18px; padding: 0 var(--vgw-gutter) 4px; scrollbar-width: none; }
    .vgw-root .vgw-tiles::-webkit-scrollbar { display: none; }
    .vgw-root .vgw-tile { flex: 0 0 100px; min-height: 86px; }
    .vgw-root .vgw-bar { gap: 10px; }
    .vgw-root .vgw-seg { width: 100%; }
    .vgw-root .vgw-seg a { flex: 1; text-align: center; padding: 10px 8px; }
    .vgw-root .vgw-bar__count { order: 3; width: 100%; font-size: 14px; }
    .vgw-root .vgw-bar__filter { flex: 1; }
    .vgw-root .vgw-bar__sort { margin-left: 0; flex: 1.3; }
    .vgw-root .vgw-bar__sort > span:first-child { display: none; }
    .vgw-root .vgw-bar__sort .vgw-sel { min-width: 0; width: 100%; }
    .vgw-root .vgw-lgrid, .vgw-root .vgw-lgrid--4 { grid-template-columns: 1fr; gap: 14px; }
    .vgw-root .vgw-lc:hover { transform: none; }
}

/* ==========================================================================
   Detail vozu
   ========================================================================== */
.vgw-root .vgw-det { padding: 18px 0 50px; background: #fff; }

.vgw-root .vgw-det .vgw-crumbs { margin-bottom: 10px; }
.vgw-root .vgw-dtop__title { font-family: var(--vgw-font-display); font-size: clamp(27px, 3.4vw, 44px); font-weight: 800; line-height: 1.08; letter-spacing: -.01em; color: var(--vgw-primary); }
.vgw-root .vgw-dtop__title em { font-style: normal; color: var(--vgw-primary); }
.vgw-root .vgw-dtop__sub { margin-top: 8px; font-size: 17px; font-weight: 700; color: #2e3443; }
.vgw-root .vgw-dtop__meta { margin-top: 6px; font-size: 14.5px; color: var(--vgw-muted); }
.vgw-root .vgw-dtop__meta i { font-style: normal; margin: 0 8px; opacity: .55; }

.vgw-root .vgw-dtop { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 26px; align-items: start; margin: 20px 0 0; }
.vgw-root .vgw-dtop__media { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.vgw-root .vgw-dtop__photo { position: relative; display: block; width: 100%; padding: 0; border: 1px solid #e3e7ee; border-radius: 20px; overflow: hidden; background: var(--vgw-soft); cursor: zoom-in; }
.vgw-root .vgw-dtop__photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s ease; }
.vgw-root .vgw-dtop__photo:hover img { transform: scale(1.03); }
.vgw-root .vgw-dtop__count { position: absolute; right: 14px; top: 14px; display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px; border-radius: 17px; background: rgba(8, 16, 40, .62); color: #fff; font-family: var(--vgw-font); font-size: 13px; font-weight: 800; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.vgw-root .vgw-dtop__count svg { width: 16px; height: 16px; }
.vgw-root .vgw-dtop__noimg { display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 3; border-radius: 20px; background: var(--vgw-soft); color: #b7c0d3; }
.vgw-root .vgw-dtop__noimg svg { width: 92px; height: 92px; }
.vgw-root .vgw-dtop__thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.vgw-root .vgw-dthumb { position: relative; padding: 0; border: 1px solid #e3e7ee; border-radius: 12px; overflow: hidden; background: var(--vgw-soft); cursor: pointer; transition: border-color .2s, transform .2s; }
.vgw-root .vgw-dthumb:hover { border-color: var(--vgw-primary); transform: translateY(-2px); }
.vgw-root .vgw-dthumb img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.vgw-root .vgw-dthumb__more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(8, 16, 40, .62); color: #fff; font-family: var(--vgw-font-display); font-size: 18px; font-weight: 800; }

.vgw-root .vgw-dtop__info { display: flex; flex-direction: column; gap: 16px; padding: 24px 24px 26px; border: 1px solid #e3e7ee; border-radius: 20px; background: #fff; box-shadow: 0 12px 32px rgba(11, 31, 86, .1); }
.vgw-root .vgw-dtop__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.vgw-root .vgw-dtop__price { display: flex; flex-direction: column; gap: 2px; }
.vgw-root .vgw-dtop__price small { font-size: 13px; font-weight: 700; color: var(--vgw-muted); }
.vgw-root .vgw-dtop__price strong { font-family: var(--vgw-font); font-size: clamp(30px, 3.2vw, 42px); font-weight: 900; line-height: 1.05; letter-spacing: -.015em; color: var(--vgw-primary); }
.vgw-root .vgw-dtop__price span { font-size: 14px; color: var(--vgw-muted); }
.vgw-root .vgw-dtop__quick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; padding: 16px 0 2px; border-top: 1px solid #edf0f6; }
.vgw-root .vgw-dtop__quick li { display: flex; align-items: center; gap: 10px; min-width: 0; }
.vgw-root .vgw-dtop__quick svg { flex: 0 0 20px; width: 20px; height: 20px; color: var(--vgw-primary); opacity: .75; }
.vgw-root .vgw-dtop__quick small { display: block; font-size: 12px; color: var(--vgw-muted); }
.vgw-root .vgw-dtop__quick strong { display: block; font-size: 14.5px; font-weight: 800; color: #2e3443; }
.vgw-root .vgw-dtop__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.vgw-root .vgw-dtop__btns .vgw-btn { flex: 1 1 180px; justify-content: center; height: 54px; border-radius: 12px; }

/* obsah */
.vgw-root .vgw-dmain { position: relative; display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 24px; align-items: start; margin-top: 26px; }
.vgw-root .vgw-dside { position: sticky; top: 92px; }
.admin-bar .vgw-root .vgw-dside { top: 124px; }
.vgw-root .vgw-dnav { padding: 20px 18px 18px; border-radius: 20px; background: #fff; box-shadow: 0 10px 34px rgba(11, 31, 86, .12); }
.vgw-root .vgw-dnav__title { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-family: var(--vgw-font-display); font-size: 17px; font-weight: 800; color: var(--vgw-primary); }
.vgw-root .vgw-dnav__title svg { width: 20px; height: 20px; color: var(--vgw-accent); }
.vgw-root .vgw-dnav ul a { display: flex; align-items: center; gap: 10px; padding: 10px 10px; border-radius: 10px; font-size: 14px; font-weight: 700; color: #2e3443; transition: background-color .2s, color .2s; }
.vgw-root .vgw-dnav ul a svg { width: 17px; height: 17px; color: var(--vgw-primary); opacity: .7; }
.vgw-root .vgw-dnav ul a:hover, .vgw-root .vgw-dnav ul a.is-active { background: var(--vgw-soft); color: var(--vgw-primary); }
.vgw-root .vgw-dnav__phone { display: grid; grid-template-columns: 42px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; margin-top: 14px; padding: 14px; border-radius: 14px; background: var(--vgw-primary); color: #fff; transition: background-color .2s; }
.vgw-root .vgw-dnav__phone:hover { background: color-mix(in srgb, var(--vgw-primary) 85%, #3b6fe0); }
.vgw-root .vgw-dnav__phone > span { grid-row: 1 / 3; display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: var(--vgw-accent); }
.vgw-root .vgw-dnav__phone > span svg { width: 18px; height: 18px; }
.vgw-root .vgw-dnav__phone small { font-size: 12px; color: rgba(255, 255, 255, .75); }
.vgw-root .vgw-dnav__phone strong { font-size: 18px; font-weight: 900; letter-spacing: .01em; white-space: nowrap; }

.vgw-root .vgw-dcontent { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.vgw-root .vgw-dcard { scroll-margin-top: 100px; padding: 24px 28px 26px; border-radius: 20px; background: var(--vgw-soft); }
.vgw-root .vgw-dcard:first-child { background: #fff; box-shadow: 0 10px 34px rgba(11, 31, 86, .1); }
.vgw-root .vgw-dcard__title { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-family: var(--vgw-font-display); font-size: 21px; font-weight: 800; color: var(--vgw-primary); }
.vgw-root .vgw-dcard__title svg { width: 24px; height: 24px; color: var(--vgw-accent); }
.vgw-root .vgw-dcard__title small { margin-left: auto; font-family: var(--vgw-font); font-size: 13px; font-weight: 700; color: var(--vgw-muted); }

.vgw-root .vgw-ddesc { font-size: 15px; line-height: 1.7; color: #2e3443; }
.vgw-root .vgw-ddesc p { margin: 0 0 .8em; }
.vgw-root .vgw-ddesc p:last-child { margin-bottom: 0; }
.vgw-root .vgw-ddesc.is-clamped { max-height: 11.5em; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent); mask-image: linear-gradient(180deg, #000 60%, transparent); }
.vgw-root .vgw-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 0; border: 0; background: none; cursor: pointer; font-family: var(--vgw-font); font-size: 13.5px; font-weight: 900; color: var(--vgw-primary); }
.vgw-root .vgw-more svg { width: 15px; height: 15px; }

.vgw-root .vgw-dtiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 16px; margin-top: 20px; padding: 18px 20px; border-radius: 16px; background: var(--vgw-soft); }
.vgw-root .vgw-dtiles li { display: flex; align-items: center; gap: 12px; min-width: 0; }
.vgw-root .vgw-dtile__ico { flex: 0 0 40px; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: #fff; color: var(--vgw-primary); box-shadow: 0 2px 6px rgba(11, 31, 86, .06); }
.vgw-root .vgw-dtile__ico svg { width: 20px; height: 20px; }
.vgw-root .vgw-dtiles small { display: block; font-size: 12px; color: var(--vgw-muted); }
.vgw-root .vgw-dtiles strong { display: block; font-size: 14px; font-weight: 900; color: var(--vgw-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.vgw-root .vgw-dparams { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; margin: 0; }
.vgw-root .vgw-dparam { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid #e0e4ec; font-size: 14px; }
.vgw-root .vgw-dparam dt { color: var(--vgw-muted); }
.vgw-root .vgw-dparam dd { margin: 0; font-weight: 900; color: #1d2433; text-align: right; }
.vgw-root .vgw-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; font-weight: 700 !important; }

.vgw-root .vgw-dequip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 24px; }
.vgw-root .vgw-dequip li { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; line-height: 1.4; color: #2e3443; }
.vgw-root .vgw-dequip svg { flex: 0 0 16px; width: 16px; height: 16px; margin-top: 1px; color: var(--vgw-accent); }
.vgw-root .vgw-dequip.is-clamped li.is-extra { display: none; }

.vgw-root .vgw-dgal { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.vgw-root .vgw-dgal__item { display: block; aspect-ratio: 4 / 3; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: #e4e7ee; cursor: zoom-in; }
.vgw-root .vgw-dgal__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.vgw-root .vgw-dgal__item:hover img { transform: scale(1.06); }

/* poptávka */
.vgw-root .vgw-dinq { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; background: #fff; border: 1px solid #e3e7ee; }
.vgw-root .vgw-dinq__text { margin: -6px 0 16px; font-size: 14.5px; color: var(--vgw-muted); }
.vgw-root .vgw-inq__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.vgw-root .vgw-inp { display: block; }
.vgw-root .vgw-inp--wide { grid-column: 1 / -1; }
.vgw-root .vgw-inp span { display: block; margin-bottom: 5px; font-size: 13px; font-weight: 700; color: #2e3443; }
.vgw-root .vgw-inp input, .vgw-root .vgw-inp textarea { display: block; width: 100%; margin: 0; padding: 12px 14px; border: 1px solid #d9dee8; border-radius: 10px; background: #f8f9fb; box-shadow: none; font-family: var(--vgw-font); font-size: 15px; color: var(--vgw-text); outline: none; transition: border-color .2s, background-color .2s; }
.vgw-root .vgw-inp input { height: 48px; }
.vgw-root .vgw-inp textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.vgw-root .vgw-inp input:focus, .vgw-root .vgw-inp textarea:focus { border-color: var(--vgw-primary); background: #fff; }
.vgw-root .vgw-inp.is-invalid input { border-color: var(--vgw-accent); }
.vgw-root .vgw-check--gdpr { margin: 14px 0 16px; font-size: 13.5px; color: #3a4152; }
.vgw-root .vgw-check--gdpr a { color: var(--vgw-primary); text-decoration: underline; }
.vgw-root .vgw-check--gdpr.is-invalid .vgw-check__box { border-color: var(--vgw-accent); }
.vgw-root .vgw-inq .vgw-btn--lg { border-radius: 10px; }
.vgw-root .vgw-inq .vgw-inq__msg { margin-top: 12px; }

.vgw-root .vgw-dinq__contact { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: 16px; background: var(--vgw-primary); color: #fff; align-self: stretch; }
.vgw-root .vgw-dinq__name { font-family: var(--vgw-font-display); font-size: 19px; font-weight: 800; }
.vgw-root .vgw-dinq__phone { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, .1); transition: background-color .2s; }
.vgw-root .vgw-dinq__phone:hover { background: rgba(255, 255, 255, .18); }
.vgw-root .vgw-dinq__phone > svg { flex: 0 0 46px; width: 46px; height: 46px; padding: 13px; border-radius: 50%; background: var(--vgw-accent); }
.vgw-root .vgw-dinq__phone small { display: block; font-size: 12px; color: rgba(255, 255, 255, .75); }
.vgw-root .vgw-dinq__phone strong { display: block; font-size: 26px; font-weight: 900; letter-spacing: .01em; line-height: 1.1; white-space: nowrap; }
.vgw-root .vgw-dinq__line { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.45; color: rgba(255, 255, 255, .9); }
.vgw-root .vgw-dinq__line svg { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 1px; }
.vgw-root .vgw-dinq__line strong { display: block; color: #fff; font-weight: 900; font-size: 13px; text-transform: uppercase; letter-spacing: .02em; }
.vgw-root .vgw-dinq__line:hover { color: #fff; }

/* podobné */
.vgw-root .vgw-dsimilar { margin-top: 44px; }
.vgw-root .vgw-dsimilar__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.vgw-root .vgw-dsimilar .vgw-h2 { font-size: 26px; }

/* mobilní lišta */
.vgw-root .vgw-dbar { display: none; }

/* lightbox */
.vgw-root .vgw-lb { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; background: rgba(5, 10, 26, .94); }
.vgw-root .vgw-lb[hidden] { display: none !important; }
.vgw-root .vgw-lb__fig { margin: 0; max-width: 92vw; max-height: 86vh; }
.vgw-root .vgw-lb__fig img { max-width: 92vw; max-height: 86vh; width: auto; height: auto; border-radius: 8px; user-select: none; }
.vgw-root .vgw-lb button { position: absolute; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; transition: background-color .2s; }
.vgw-root .vgw-lb button:hover { background: rgba(255, 255, 255, .25); }
.vgw-root .vgw-lb button svg { width: 24px; height: 24px; }
.vgw-root .vgw-lb__close { top: 18px; right: 18px; }
.vgw-root .vgw-lb__prev { left: 18px; top: 50%; margin-top: -26px; }
.vgw-root .vgw-lb__next { right: 18px; top: 50%; margin-top: -26px; }
.vgw-root .vgw-lb__count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, .85); font-size: 14px; font-weight: 700; }

@media (max-width: 1180px) {
    .vgw-root .vgw-dtiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .vgw-root .vgw-dparams { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .vgw-root .vgw-dequip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .vgw-root .vgw-dinq { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
    .vgw-root .vgw-dmain { grid-template-columns: 1fr; margin-top: 16px; padding: 0; }
    .vgw-root .vgw-dside { display: none; }
    .vgw-root .vgw-dtop { grid-template-columns: 1fr; gap: 16px; }
    .vgw-root .vgw-dtop__info { padding: 18px 18px 20px; }
    .vgw-root .vgw-dtop__quick { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .vgw-root .vgw-det { padding: 8px 0 90px; }
    .vgw-root .vgw-det > .vgw-container { padding: 0 10px; }
    .vgw-root .vgw-det .vgw-crumbs { font-size: 12px; margin-bottom: 8px; }
    .vgw-root .vgw-det .vgw-crumbs > span { display: none; }
    .vgw-root .vgw-dtop__title { font-size: 27px; }
    .vgw-root .vgw-dtop__sub { font-size: 15px; }
    .vgw-root .vgw-dtop__meta { font-size: 13px; }
    .vgw-root .vgw-dtop { margin-top: 14px; }
    .vgw-root .vgw-dtop__photo { border-radius: 16px; }
    .vgw-root .vgw-dtop__thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
    .vgw-root .vgw-dthumb { border-radius: 10px; }
    .vgw-root .vgw-dtop__info { padding: 16px; border-radius: 16px; }
    .vgw-root .vgw-dtop__quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .vgw-root .vgw-dtop__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    .vgw-root .vgw-dtop__btns .vgw-btn { height: 48px; padding: 0 12px; font-size: 11.5px; gap: 8px; }
    .vgw-root .vgw-dcard { padding: 18px 16px 20px; border-radius: 16px; }
    .vgw-root .vgw-dcard__title { font-size: 18px; }
    .vgw-root .vgw-dcard__title small { display: none; }
    .vgw-root .vgw-dtiles { gap: 12px; padding: 14px; }
    .vgw-root .vgw-dparams, .vgw-root .vgw-dequip { grid-template-columns: 1fr; }
    .vgw-root .vgw-dgal { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .vgw-root .vgw-inq__grid { grid-template-columns: 1fr; }
    .vgw-root .vgw-dinq { padding: 18px 16px; gap: 18px; }
    .vgw-root .vgw-dinq__contact { padding: 18px; }
    .vgw-root .vgw-dsimilar { margin-top: 30px; }
    .vgw-root .vgw-dsimilar__head { flex-direction: column; align-items: flex-start; gap: 6px; }
    .vgw-root .vgw-dsimilar .vgw-h2 { font-size: 21px; }
    .vgw-root .vgw-dbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; align-items: center; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -6px 24px rgba(11, 31, 86, .14); transform: translateY(110%); transition: transform .3s; }
    .vgw-root .vgw-dbar.is-visible { transform: none; }
    .vgw-root .vgw-dbar > div { flex: 1; min-width: 0; }
    .vgw-root .vgw-dbar small { display: block; font-size: 11px; color: var(--vgw-muted); }
    .vgw-root .vgw-dbar strong { display: block; font-size: 19px; font-weight: 900; color: var(--vgw-primary); white-space: nowrap; }
    .vgw-root .vgw-dbar__call { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: var(--vgw-soft); color: var(--vgw-primary); }
    .vgw-root .vgw-dbar__call svg { width: 20px; height: 20px; }
    .vgw-root .vgw-dbar .vgw-btn { height: 46px; border-radius: 12px; padding: 0 18px; }
    .vgw-root .vgw-lb button.vgw-lb__prev, .vgw-root .vgw-lb button.vgw-lb__next { top: auto; bottom: 12px; margin: 0; }
}
