/* GG v6: full catalogue filters and photo-gallery previews */
.ggv6-catalog .ggv4-catalog-head{margin:0 0 24px}
.ggv6-controls{margin-bottom:4px;padding:18px}
.ggv6-filter-grid{display:grid;grid-template-columns:minmax(210px,1.5fr) minmax(145px,1fr) minmax(145px,1fr) minmax(160px,1fr) auto auto;align-items:end;gap:11px}
.ggv6-catalog .ggv6-field{display:flex;flex-direction:column;align-items:stretch;gap:6px;border:0;border-radius:0;background:none;height:auto;padding:0;min-width:0;font-size:12px;white-space:normal;color:var(--gg-muted)}
.ggv6-field>span{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.55px}
.ggv6-catalog .ggv6-field input,.ggv6-catalog .ggv6-field select{box-sizing:border-box;border:1px solid var(--gg-border);background:var(--gg-soft);border-radius:9px;padding:0 12px;width:100%;height:43px;min-width:0;font-size:13px;color:var(--gg-text);outline:none}
.ggv6-catalog .ggv6-field input:focus,.ggv6-catalog .ggv6-field select:focus{outline:2px solid var(--gg-link);outline-offset:1px}
.ggv6-submit,.ggv6-reset{height:43px;box-sizing:border-box;min-width:89px;display:inline-flex;align-items:center;justify-content:center;border-radius:9px;font-weight:750;font-size:12px;border:1px solid var(--gg-link);cursor:pointer;text-decoration:none!important}
.ggv6-submit{background:var(--gg-link);color:#fff!important;padding:0 13px}
.ggv6-reset{background:var(--gg-surface);color:var(--gg-link)!important;padding:0 13px}
.ggv6-submit:hover{opacity:.9}.ggv6-reset:hover{background:var(--gg-soft)}
.ggv6-pages{display:flex;flex-wrap:wrap;justify-content:center;gap:7px;margin:25px auto 0}
.ggv6-pages a{width:37px;height:37px;display:grid;place-items:center;text-decoration:none;border:1px solid var(--gg-border);color:var(--gg-text);background:var(--gg-surface);border-radius:9px;font-weight:700}
.ggv6-pages a[aria-current="page"]{border-color:var(--gg-link);background:var(--gg-link);color:#fff}
.ggv6-media{grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
.ggv6-media a{min-width:0;display:block;aspect-ratio:16/10;overflow:hidden;border-radius:10px;border:1px solid var(--gg-border);background:var(--gg-soft)}
.ggv6-media img{width:100%;height:100%;display:block;object-fit:cover;border-radius:0;transition:transform .2s}
.ggv6-media a:hover img{transform:scale(1.045)}
.ggv6-teaser{padding:15px;background:var(--gg-surface);border:1px solid var(--gg-border);border-radius:10px}
.ggv6-teaser p{color:var(--gg-muted);font-size:13px;margin:0}
.gg-mega-games a{display:flex!important;align-items:center;gap:9px;min-height:39px}
.gg-mega-games img{width:30px;height:30px;object-fit:cover;flex-shrink:0;border-radius:7px;background:var(--gg-soft)}
.gg-mega-games span{min-width:0;line-height:1.3}
@media(max-width:1180px){.ggv6-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ggv6-field-search{grid-column:span 2}.ggv6-submit,.ggv6-reset{width:100%}}
@media(max-width:670px){.ggv6-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ggv6-field-search{grid-column:1/-1}.ggv6-filter-grid>.ggv6-field:nth-child(4){grid-column:1/-1}.ggv6-controls{padding:13px}.ggv6-media{grid-template-columns:repeat(2,minmax(0,1fr))}.ggv6-catalog .ggv4-results-head{align-items:center}.ggv6-catalog .ggv4-results-head small{max-width:215px}}
@media(max-width:380px){.ggv6-filter-grid{gap:8px}.ggv6-submit,.ggv6-reset{min-width:0}}

/* GG v7: отсутствие двойной подсветки при фокусе на поле.
   Контейнер / label не подсвечивается, фокус виден только на самом поле. */
.ggv4-controls label:focus-within,
.ggv6-controls label:focus-within {
    border-color: var(--gg-border) !important;
    box-shadow: none !important;
    outline: none !important;
}
body input:not([type="checkbox"]):not([type="radio"]):focus-visible,
body select:focus-visible,
body textarea:focus-visible {
    outline: 1px solid var(--gg-link);
    outline-offset: 0;
}
.ggv6-catalog .ggv6-field input:focus,
.ggv6-catalog .ggv6-field select:focus {
    outline: 1px solid var(--gg-link);
    outline-offset: 0;
    box-shadow: none;
}
