/* Each row shares its height; controls sit on the same baseline even with wrapped labels. */
#filtre{scroll-margin-top:6rem}
body.customer-type .customer-catalog-filters{grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch;gap:22px 18px}
body.customer-type .customer-catalog-filters>.catalog-field{display:flex;flex-direction:column;gap:10px;min-width:0;grid-column:auto;font-size:.875rem;line-height:1.7}
body.customer-type .customer-catalog-filters .catalog-field>span{display:block;overflow-wrap:normal;word-break:normal}
body.customer-type .customer-catalog-filters .catalog-field :is(input,select){box-sizing:border-box;display:block;flex:none;margin-top:auto;height:3.5rem;min-height:3.5rem;width:100%;padding:12px 10px;font-size:1rem;line-height:1.5}
body.customer-type .customer-catalog-filters .filter-actions{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:stretch;margin-top:4px}
body.customer-type .customer-catalog-filters .filter-actions :is(button,a){box-sizing:border-box;display:flex;align-items:center;justify-content:center;min-width:0;width:100%;min-height:3.5rem;margin:0;padding:12px 10px;font-size:.875rem;line-height:1.7;text-align:center;white-space:normal}
@media(max-width:1000px){
 body.customer-type .customer-catalog-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 14px}
}
@media(max-width:700px){
 body.customer-type .customer-catalog-filters>.catalog-field-wide{grid-column:1/-1}
 body.customer-type .customer-catalog-filters .filter-actions{gap:14px}
}
@media(max-width:360px){
 body.customer-type .customer-catalog-filters{grid-template-columns:minmax(0,1fr)}
 body.customer-type .customer-catalog-filters .filter-actions{grid-template-columns:minmax(0,1fr)}
}

/* The catalogue starts with its controls on the existing banner photograph. */
body.customer-type .catalog-filter-banner{
 padding:28px 0 32px;
 background:linear-gradient(110deg,#06101bd4,#06101b70 60%,#06101ba8),url('/assets/photos/hero-audi-q8-black-original.jpg') center 62%/cover no-repeat;
 border-bottom:1px solid #b4c4d33d;
}
body.customer-type .catalog-filter-banner h1{font-size:clamp(1.25rem,2vw,1.75rem);line-height:1.5;margin:0 0 20px}
body.customer-type .catalog-filter-banner .customer-catalog-filters{
 margin:0;background:#0b151e9c;border:1px solid #d8e4ee50;border-radius:8px;
 box-shadow:inset 0 1px 0 #ffffff18,0 10px 35px #0002;
 backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
}
body.customer-type .catalog-filter-banner .catalog-field :is(input,select){background:#0b151edb;color:#f4f6f8;border-color:#a5b6c070}
body.customer-type .customer-catalog-filters .filter-count-status{grid-column:1/-1;margin:0;color:#e3ecf2;font-size:.875rem;line-height:1.6}
body.customer-type .customer-catalog-filters .filter-count-status:empty{display:none}
body.customer-type .customer-catalog-filters [aria-busy=true]{cursor:progress}
body.customer-type .catalog-filter-banner+#ponuky{padding-top:32px}
@media(max-width:700px){
 body.customer-type .catalog-filter-banner{padding:22px 0 24px;background-position:center,54% center}
 body.customer-type .catalog-filter-banner h1{margin-bottom:16px}
 body.customer-type .catalog-filter-banner .container{width:calc(100% - 32px)}
 body.customer-type .catalog-filter-banner+#ponuky{padding-top:24px}
}

body.customer-type .customer-catalog-filters .filter-count-status[data-state="ready"]{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

/* The brand picker keeps real logos available in mobile browsers too. */
body.customer-type .customer-catalog-filters select[data-brand-native][hidden]{display:none}
.brand-picker{position:relative;min-width:0;margin-top:auto;font-family:Sora,Arial,sans-serif}
body.customer-type .customer-catalog-filters .brand-picker-trigger{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;height:3.5rem;padding:10px 12px;border:1px solid #a5b6c070;border-radius:2px;background:#0b151edb;color:#f4f6f8;font:inherit;font-size:1rem;line-height:1.5;text-align:left;cursor:pointer}
.brand-picker-value{display:flex;align-items:center;gap:12px;min-width:0}
.brand-picker-value>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.brand-picker-arrow{flex:0 0 8px;height:8px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);margin:0 4px 5px}
.brand-picker-trigger[aria-expanded=true] .brand-picker-arrow{transform:rotate(225deg);margin-top:7px}
.brand-picker-menu{position:absolute;z-index:60;top:calc(100% + 8px);left:0;right:0;min-width:100%;padding:6px;border:1px solid #94a9b87a;border-radius:8px;background:#111d27;box-shadow:0 16px 38px #0009;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#6a7c89 #111d27}
.brand-picker-menu[data-side=top]{top:auto;bottom:calc(100% + 8px)}
.brand-picker-menu[hidden]{display:none}
.brand-picker-option{display:flex;align-items:center;gap:12px;min-height:52px;padding:8px 10px;border-radius:5px;font-size:1rem;line-height:1.5;color:#f4f6f8;cursor:pointer}
.brand-picker-option:hover,.brand-picker-option.is-active{background:#283a49}
.brand-picker-option[aria-selected=true]{background:#344754}
.brand-picker-logo{flex:0 0 44px;width:44px;height:34px;display:grid;place-items:center;padding:3px;border:1px solid #ffffff80;border-radius:5px;background:#fff}
.brand-picker-logo img{display:block;width:100%;height:100%;max-height:28px;object-fit:contain}
.brand-picker-check{margin-left:auto;padding-left:4px;visibility:hidden}
.brand-picker-option[aria-selected=true] .brand-picker-check{visibility:visible}
.brand-picker-trigger:focus-visible{outline:2px solid #c3d6e4;outline-offset:3px}
@media(max-width:700px){.brand-picker-option{min-height:56px}}
