/* Pro visual tokens adapted to the native six-field form; no hero background override. */
.tyre-filter-modern{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 8px;width:100%;max-width:100%;box-sizing:border-box;margin:20px 0 40px;padding:0;background:transparent;border:0;color:#fff;overflow:visible}
.tyre-filter-modern .tyre-filter-field{display:grid;grid-template-rows:20px 48px;row-gap:4px;min-width:0;padding-top:5px;position:relative}
.tyre-filter-modern .tyre-filter-field>select,.tyre-filter-modern .tyre-filter-field>.tyre-multi{grid-row:2;min-height:48px}
.tyre-filter-modern .tyre-filter-sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.tyre-filter-modern .tyre-filter-heading{grid-row:1;display:flex;align-items:center;gap:16px;color:inherit;font-size:15px;font-weight:700;font-style:italic;line-height:20px;text-transform:uppercase;margin:0 0 4px}
.tyre-filter-modern .tyre-filter-heading:after{content:"";width:47px;max-width:25%;border-top:1px solid currentColor;flex:none}
.tyre-filter-modern select,.tyre-filter-modern .tyre-multi-toggle{box-sizing:border-box;display:block;width:100%;height:48px;min-height:48px;margin:0;padding:7px 42px 7px 12px;border:1px solid #dee4e8;border-bottom-color:#c8d0d2;border-radius:0;background:#eef2f3 url('../../pro/public/img/arrow.png') right 4px no-repeat;color:#222;font-family:inherit;font-size:15px;font-weight:400;font-style:normal;line-height:normal;text-align:left;text-transform:none;box-shadow:none}
.tyre-filter-modern select:not([multiple]){appearance:none;-webkit-appearance:none;cursor:pointer}
.tyre-filter-modern select[multiple]{height:auto;min-height:96px;background-image:none;padding:8px}
.tyre-filter-modern select[hidden],.tyre-filter-modern .tyre-multi-panel[hidden]{display:none!important}
.tyre-filter-modern .tyre-multi{position:relative;min-width:0;height:48px;margin:0;padding:0;border:0;background:transparent}
.tyre-filter-modern .tyre-multi:not([open])>.tyre-multi-panel{display:none}
.tyre-filter-modern summary.tyre-multi-toggle{list-style:none}
.tyre-filter-modern summary.tyre-multi-toggle::-webkit-details-marker{display:none}
.tyre-filter-modern .tyre-multi-toggle{cursor:pointer;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.tyre-filter-modern .tyre-multi-toggle[aria-expanded=true]{border-color:#39a6e1}
.tyre-filter-modern .tyre-multi-panel{display:flex;flex-direction:column;gap:10px;box-sizing:border-box;position:absolute;z-index:999;top:calc(100% + 3px);left:0;width:100%;max-width:calc(100vw - 32px);max-height:min(400px,60vh);overflow:hidden;overscroll-behavior:contain;padding:12px;border:1px solid #e5ecf5;background:#fff;color:#222;box-shadow:0 5px 15px #0002}
.tyre-filter-modern .tyre-multi-search{box-sizing:border-box;flex:none;width:100%;min-width:0;height:44px;margin:0;padding:8px;border:1px solid #dee4e8;border-radius:0;background:#fff;color:#222;font:inherit;font-size:15px}
.tyre-filter-modern .tyre-multi-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;min-height:0;overflow:auto;overscroll-behavior:contain}
.tyre-filter-modern .tyre-multi-empty{margin:0;font-size:14px;color:#222}
.tyre-filter-modern .tyre-multi-reset{flex:none;align-self:flex-start;margin:0;padding:6px 10px;min-height:32px;border:2px solid #dee4e8;border-radius:0;background:transparent;color:#333;font:inherit;font-size:13px;line-height:16px;cursor:pointer}
.tyre-filter-modern .tyre-multi-option[hidden],.tyre-filter-modern .tyre-multi-empty[hidden]{display:none!important}
.tyre-filter-modern .tyre-multi-option{display:flex;align-items:center;gap:8px;margin:0;padding:0;font-size:15px;font-weight:400;line-height:21px;text-transform:none;overflow-wrap:anywhere;cursor:pointer}
.tyre-filter-modern .tyre-multi-option:last-child{margin-bottom:0}
.tyre-filter-modern .tyre-multi-option input{appearance:auto;-webkit-appearance:checkbox;position:static;flex:none;width:18px;height:18px;margin:0;opacity:1;accent-color:#3aa6b9}
.tyre-filter-modern>button[type=submit]{grid-column:1;justify-self:start;box-sizing:border-box;width:100%;height:48px;min-height:48px;margin:7px 0 0;padding:0 22px;border:0;border-radius:0;background:#3aa6b9;color:#fff;font-family:inherit;font-size:15px;font-weight:700;font-style:italic;line-height:48px;text-align:center;text-transform:uppercase;box-shadow:none;cursor:pointer}
.tyre-filter-modern>button[type=submit]:hover{background:#2997aa}
.tyre-filter-modern :focus-visible{outline:2px solid #39a6e1;outline-offset:3px}
.tyre-filter-modern :disabled{opacity:.65;cursor:default}
.tyre-filter-modern .tyre-filter-status{grid-column:1/-1;min-height:3em;margin:0;font-size:14px;line-height:1.5;color:inherit}

.tyre-filter-modern[aria-busy=true] .tyre-filter-status{font-style:italic}
.tyre-filter-modern noscript{grid-column:1/-1}
.tyre-dot-availability{display:block;font-size:.85em;margin-top:4px}
.widget .tyre-filter-modern,.widget_tyrefilter_widget .tyre-filter-modern{grid-template-columns:minmax(0,1fr);margin-top:0;color:#222}
@media(max-width:767px){.tyre-filter-modern{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.tyre-filter-modern{grid-template-columns:minmax(0,1fr)}}

/* One set of controls: display:contents retains the desktop grid placement. */
.tyre-filter-modern .tyre-filter-group{display:contents}
.tyre-filter-modern .tyre-filter-tabs{display:none}
/* Original Pro mobile interface switches at the legacy 768px boundary. */
@media(max-width:767px){
.tyre-filter-modern{display:block;margin:0 0 25px;padding:0 0 30px;background:#3aa6b9;color:#fff;max-width:100%;min-width:0}
.widget .tyre-filter-modern,.widget_tyrefilter_widget .tyre-filter-modern{color:#fff}
.tyre-filter-modern .tyre-filter-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:0;padding:0;background:#2997aa}
.tyre-filter-modern .tyre-filter-tabs>button{box-sizing:border-box;min-width:0;width:100%;height:50px;margin:0;padding:12px 8px;border:0;border-radius:0;background:#2997aa;color:#fff;font:inherit;font-size:17px;font-weight:400;font-style:normal;line-height:26px;text-transform:none;cursor:pointer;box-shadow:none}
.tyre-filter-modern .tyre-filter-tabs>button[aria-selected=true]{background:#3aa6b9}
.tyre-filter-modern .tyre-filter-group{box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:repeat(3,48px);gap:15px;min-width:0;min-height:224px;margin:0;padding:40px 40px 10px;overflow:visible}
.tyre-filter-modern[data-mobile-active=dimensions] [data-mobile-panel=features],.tyre-filter-modern[data-mobile-active=features] [data-mobile-panel=dimensions]{display:none}
.tyre-filter-modern .tyre-filter-field{display:block;height:48px;min-width:0;margin:0;padding:0}
.tyre-filter-modern .tyre-filter-heading{display:none}
.tyre-filter-modern .tyre-multi-toggle[data-empty=true]{font-size:0}
.tyre-filter-modern .tyre-multi-toggle[data-empty=true]:before{content:attr(data-mobile-label);font-size:15px}
.tyre-filter-modern>button[type=submit]{display:block;width:calc(100% - 80px);height:48px;margin:5px auto 0;padding:0 12px;border:2px solid #fff;background:transparent;color:#fff;font-size:17px;font-weight:400;font-style:normal;line-height:44px;text-align:center}
.tyre-filter-modern>button[type=submit]:hover{background:#2997aa}
.tyre-filter-modern .tyre-filter-status,.tyre-filter-modern noscript>p{margin:12px 40px 0;min-width:0;overflow-wrap:anywhere}
.tyre-filter-modern .tyre-multi-panel{max-width:calc(100vw - 24px)}
.tyre-filter-modern .tyre-multi-panel:popover-open{position:fixed;inset:auto;margin:0}
.tyre-filter-modern .tyre-filter-tabs :focus-visible{outline:2px solid #fff;outline-offset:-4px}
}

/* Astra Pro Off-Canvas: Brand and Season options use full rows at every viewport width. */
.astra-off-canvas-sidebar-wrapper .astra-off-canvas-sidebar .tyre-filter-modern .tyre-multi-panel[id$="-tyre_brands-panel"] .tyre-multi-options,
.astra-off-canvas-sidebar-wrapper .astra-off-canvas-sidebar .tyre-filter-modern .tyre-multi-panel[id$="-tyre_types-panel"] .tyre-multi-options {
    grid-template-columns: minmax(0, 1fr);
}
.astra-off-canvas-sidebar-wrapper .astra-off-canvas-sidebar .tyre-filter-modern .tyre-multi-panel[id$="-tyre_brands-panel"] .tyre-multi-option,
.astra-off-canvas-sidebar-wrapper .astra-off-canvas-sidebar .tyre-filter-modern .tyre-multi-panel[id$="-tyre_types-panel"] .tyre-multi-option {
    min-width: 0;
    overflow-wrap: normal;
    word-break: normal;
}
.astra-off-canvas-sidebar-wrapper .astra-off-canvas-sidebar .tyre-filter-modern .tyre-multi-panel[id$="-tyre_brands-panel"] .tyre-multi-option > span,
.astra-off-canvas-sidebar-wrapper .astra-off-canvas-sidebar .tyre-filter-modern .tyre-multi-panel[id$="-tyre_types-panel"] .tyre-multi-option > span {
    min-width: 0;
    white-space: normal;
}
