/* ==========================================================================
   VGROUP Web – katalog příslušenství
   ========================================================================== */
.vgw-root .vgw-acc { padding: 46px 0 60px; background: #fff; container-type: inline-size; }
.vgw-root .vgw-ahead { max-width: 820px; margin-bottom: 22px; }
.vgw-root .vgw-akick { display: inline-block; margin-bottom: 8px; font-size: 12.5px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--vgw-accent); }
.vgw-root .vgw-ah2 { font-family: var(--vgw-font-display); font-size: clamp(25px, 2.9vw, 38px); font-weight: 800; line-height: 1.12; color: var(--vgw-primary); }
.vgw-root .vgw-asub { margin-top: 12px; font-size: 15.5px; line-height: 1.7; color: var(--vgw-muted); }

/* ---------- filtr ---------- */
.vgw-root .vgw-afilter { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 16px; padding: 16px 20px; margin-bottom: 20px; border: 1px solid #e6eaf3; border-radius: 16px; background: var(--vgw-soft); }
.vgw-root .vgw-afilter__f { display: flex; flex-direction: column; gap: 5px; flex: 1 1 170px; min-width: 150px; font-size: 12px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: #5b6475; }
.vgw-root .vgw-afilter__f--q { flex: 1 1 220px; }
.vgw-root .vgw-afilter__f select, .vgw-root .vgw-afilter__f input { height: 44px; padding: 0 12px; border: 1px solid #d9dee8; border-radius: 10px; background: #fff; font: inherit; font-size: 14.5px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--vgw-text); }
.vgw-root .vgw-afilter__f select { cursor: pointer; }
.vgw-root .vgw-afilter__f select:disabled { background: #f1f3f7; color: #9aa3b4; cursor: default; }
.vgw-root .vgw-afilter__f select:focus, .vgw-root .vgw-afilter__f input:focus { border-color: var(--vgw-primary); outline: none; box-shadow: 0 0 0 3px rgba(11, 31, 86, .1); }
.vgw-root .vgw-afilter__go { height: 44px; flex: 0 0 auto; }
.vgw-root .vgw-afilter__reset { align-self: center; font-size: 13.5px; font-weight: 700; color: var(--vgw-accent); }
.vgw-root .vgw-afilter__count { margin-left: auto; align-self: center; font-size: 13.5px; font-weight: 700; color: var(--vgw-muted); }
.vgw-root .vgw-aempty { padding: 28px; border-radius: 16px; background: var(--vgw-soft); font-size: 15px; color: var(--vgw-muted); text-align: center; }

.vgw-root .vgw-afilter--off { display: none; }

/* ---------- karty ---------- */
.vgw-root .vgw-agrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.vgw-root .vgw-acard { display: flex; flex-direction: column; border: 1px solid #e6eaf3; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 6px 18px rgba(11, 31, 86, .05); transition: transform .2s, box-shadow .2s, border-color .2s; }
.vgw-root .vgw-acard:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(11, 31, 86, .12); border-color: #d3dcec; }
.vgw-root .vgw-acard__media { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--vgw-soft); overflow: hidden; }
.vgw-root .vgw-acard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.vgw-root .vgw-acard:hover .vgw-acard__media img { transform: scale(1.05); }
.vgw-root .vgw-acard__noimg { display: grid; place-items: center; width: 100%; height: 100%; color: #b7c0d3; }
.vgw-root .vgw-acard__noimg svg { width: 52px; height: 52px; }
.vgw-root .vgw-acard__tags { position: absolute; right: 10px; top: 10px; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; max-width: calc(100% - 20px); }
.vgw-root .vgw-acard__tag { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 12px; background: var(--vgw-accent); color: #fff; font-size: 11px; font-weight: 900; letter-spacing: .03em; text-transform: uppercase; }
.vgw-root .vgw-acard__tag--stock { background: #1f8a4c; }
.vgw-root .vgw-acard__body { display: flex; flex-direction: column; gap: 7px; flex: 1; padding: 16px 18px 18px; }
.vgw-root .vgw-acard__meta { font-size: 11.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--vgw-muted); }
.vgw-root .vgw-acard__dot { color: #c3cadb; }
.vgw-root .vgw-acard__type { color: var(--vgw-accent); }
.vgw-root .vgw-acard__title { font-family: var(--vgw-font-display); font-size: 17px; font-weight: 800; line-height: 1.3; color: var(--vgw-primary); }
.vgw-root .vgw-acard__title a { color: inherit; }
.vgw-root .vgw-acard__title a:hover { color: var(--vgw-accent); }
.vgw-root .vgw-acard__text { font-size: 13.5px; line-height: 1.55; color: var(--vgw-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vgw-root .vgw-acard__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; }
.vgw-root .vgw-acard__price { display: flex; flex-direction: column; line-height: 1.15; }
.vgw-root .vgw-acard__price small { font-size: 11.5px; font-weight: 700; color: var(--vgw-muted); }
.vgw-root .vgw-acard__price strong { font-family: var(--vgw-font); font-size: 19px; font-weight: 900; color: var(--vgw-primary); white-space: nowrap; }
.vgw-root .vgw-acc__ask { font-size: 14px; font-weight: 800; color: var(--vgw-muted); }

/* stránkování */
.vgw-root .vgw-apages { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 26px; }
.vgw-root .vgw-apages .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid #e0e5ef; border-radius: 10px; font-size: 14px; font-weight: 800; color: var(--vgw-primary); background: #fff; }
.vgw-root .vgw-apages .page-numbers:hover { border-color: var(--vgw-primary); }
.vgw-root .vgw-apages .page-numbers.current { background: var(--vgw-primary); border-color: var(--vgw-primary); color: #fff; }

/* ---------- detail ---------- */
.vgw-root .vgw-adet__short { font-size: 15px; line-height: 1.65; color: #2e3443; }
.vgw-root .vgw-adet__rows { display: grid; gap: 10px; padding: 14px 0 2px; border-top: 1px solid #edf0f6; }
.vgw-root .vgw-adet__rows li { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; font-size: 14.5px; }
.vgw-root .vgw-adet__rows small { font-size: 13px; color: var(--vgw-muted); }
.vgw-root .vgw-adet__rows strong { font-weight: 800; color: #2e3443; text-align: right; }
.vgw-root .vgw-adet__note { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--vgw-soft); font-size: 13.5px; line-height: 1.55; color: var(--vgw-muted); }
.vgw-root .vgw-adet__note svg { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 1px; color: var(--vgw-primary); }
.vgw-root .vgw-adet .vgw-dtop__price strong { font-size: clamp(28px, 3vw, 38px); }
.vgw-root .vgw-adet__form { background: #fff; border: 1px solid #e3e7ee; }
.vgw-root .vgw-adet__ftext { margin: -6px 0 16px; font-size: 14.5px; color: var(--vgw-muted); }
.vgw-root .vgw-adet__form .vgw-inq { max-width: 760px; }
.vgw-root .vgw-asimilar { margin-top: 34px; }
.vgw-root .vgw-asimilar .vgw-ah2 { margin-bottom: 16px; font-size: clamp(21px, 2.2vw, 28px); }
.vgw-root .vgw-aback { margin-top: 20px; }
.vgw-root .vgw-aback .vgw-link { display: inline-flex; align-items: center; gap: 8px; }
.vgw-root .vgw-aback svg { width: 18px; height: 18px; }

/* zboží bez fotky – jen informační panel */
.vgw-root .vgw-adet .vgw-dtop--noimg { grid-template-columns: minmax(0, 1fr); max-width: 620px; }
.vgw-root .vgw-adet .vgw-dtop--noimg .vgw-dtop__media { display: none; }

/* ---------- responzivita ---------- */
@container (max-width: 1080px) {
    .vgw-root .vgw-agrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@container (max-width: 820px) {
    .vgw-root .vgw-agrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container (max-width: 640px) {
    .vgw-root .vgw-acc { padding: 30px 0 40px; }
    .vgw-root .vgw-afilter { padding: 14px; gap: 10px 12px; }
    .vgw-root .vgw-afilter__f { flex: 1 1 100%; }
    .vgw-root .vgw-afilter__go { width: 100%; justify-content: center; }
    .vgw-root .vgw-afilter__count { margin-left: 0; }
    .vgw-root .vgw-agrid { gap: 12px; }
    .vgw-root .vgw-acard__body { padding: 12px 14px 14px; }
    .vgw-root .vgw-acard__title { font-size: 15.5px; }
    .vgw-root .vgw-acard__text { display: none; }
    .vgw-root .vgw-acard__foot { flex-direction: column; align-items: stretch; gap: 8px; }
    .vgw-root .vgw-acard__foot .vgw-btn { justify-content: center; }
}

@media (max-width: 980px) {
    .vgw-root .vgw-asimilar .vgw-agrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
