/* Search has its own focused view; the home design stays intact. */
.garage-theme.catalog-open .hero-shell,
.garage-theme.catalog-open #atelier{display:none}
.garage-theme.catalog-open .site-header{background:#030c13f7;border-bottom:1px solid #253d50}
.garage-theme .is-catalog{padding-block:18px 35px;scroll-margin-top:var(--header-height)}
.garage-theme .is-catalog .selection-back{display:inline-flex;align-items:center;min-height:44px;margin:0 0 12px;padding:0;color:#9ac9ed;font-size:13px;gap:10px}
.garage-theme .is-catalog .section-heading{display:flex;align-items:center;gap:20px;margin-bottom:22px}
.garage-theme .is-catalog .section-heading .eyebrow{display:none}
.garage-theme .is-catalog .section-heading h2{font-size:clamp(30px,3.3vw,43px);white-space:normal;line-height:1.2}
.garage-theme .is-catalog .section-heading h2::before{content:none}
.garage-theme .is-catalog .section-caption{font-size:12px;margin:0;line-height:1.7}
.garage-theme .catalog-search{display:flex;align-items:center;width:100%;min-height:58px;background:#f5f8fb;border:1px solid #91aabd;border-radius:9px;color:#112331;overflow:hidden}
.garage-theme .catalog-search:focus-within{outline:2px solid #329eff;outline-offset:3px}
.garage-theme .catalog-search .search-field{display:flex;align-items:center;flex:1;min-width:0;padding:0 17px;border:0;gap:12px}
.garage-theme .catalog-search input{width:100%;min-width:0;min-height:54px;padding:12px 0;font-size:16px;color:#112331;background:transparent;outline:0}
.garage-theme .catalog-search input::placeholder{color:#5a6e7e}
.garage-theme .catalog-search input::-webkit-search-cancel-button{display:none}
.garage-theme .clear-query{width:44px;height:48px;flex-shrink:0;background:transparent;color:#4a6173;font-size:25px}
.garage-theme .search-submit{align-self:stretch;display:flex;align-items:center;justify-content:center;gap:16px;min-height:54px;padding:10px 23px;background:#0076dd;color:white;font-size:14px;font-weight:600}
.garage-theme .search-submit:hover{background:#1688ee}
.garage-theme .search-submit>span{font-size:21px}
.garage-theme .is-catalog .quick-filters{gap:8px;margin:0;padding:14px 1px 18px;scrollbar-width:thin}
.garage-theme .is-catalog .quick-filters>button{min-height:44px;font-size:12px;padding:10px 16px}
.garage-theme .catalog-layout{display:block}
.garage-theme .is-catalog .catalog-layout{display:grid;grid-template-columns:255px minmax(0,1fr);gap:26px;align-items:start}
.garage-theme .catalog-results{min-width:0}
.garage-theme .catalog-filter-dock{position:sticky;top:calc(var(--header-height) + 14px);max-height:calc(100dvh - var(--header-height) - 28px);overflow-y:auto;scrollbar-width:thin;scrollbar-color:#47738e #102333;border:1px solid #304d62;border-radius:10px;background:#0b1925}
.garage-theme .filter-panel{margin:0;padding:20px;color:#e9f1f7}
.garage-theme .filter-panel-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}
.garage-theme .filter-panel-heading .eyebrow{font-size:9px;letter-spacing:1.8px;color:#8fbbd9;margin-bottom:7px}
.garage-theme .filter-panel-heading h2{font-size:21px;font-weight:600;letter-spacing:-.4px;line-height:1.25}
.garage-theme .filter-panel-close{display:none;width:44px;height:44px;flex-shrink:0;background:#142c3f;border:1px solid #3a5b72;border-radius:7px;color:white;font-size:25px}
.garage-theme .filter-panel .advanced-fields{display:grid;grid-template-columns:1fr;gap:17px;margin-top:22px}
.garage-theme .filter-panel .advanced-fields label{gap:7px;color:#c2d4e2;font-size:12px;min-width:0}
.garage-theme .filter-panel select{color-scheme:dark;width:100%;min-height:46px;margin:0;padding:10px 12px;background:#142b3d;color:#f2f7fb;border:1px solid #47637a;border-radius:6px;font-size:14px;line-height:1.4;text-overflow:ellipsis}
.garage-theme .filter-panel select:disabled{opacity:.55;cursor:default}
.garage-theme .filter-panel select option{background:#142b3d;color:white}
.garage-theme .filter-panel small{font-size:10px;color:#99b2c5;line-height:1.4}
.garage-theme .filter-dialog-actions{display:flex;flex-direction:column;gap:5px;margin-top:22px;padding-top:17px;border-top:1px solid #2c475b}
.garage-theme .filter-dialog-actions .button{width:100%;min-height:48px;border-radius:6px;padding:12px 15px;font-size:13px}
.garage-theme .filter-dialog-actions .text-button{min-height:44px;padding:10px 12px;background:none;color:#c4d9e8;font-size:12px;text-decoration:underline;text-underline-offset:3px}
.garage-theme .is-catalog .results-toolbar{position:sticky;top:var(--header-height);z-index:10;display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:70px;margin:0 0 16px;padding:9px 0 14px;border-bottom:1px solid #365269;background:#06121cf7;scroll-margin-top:calc(var(--header-height) + 8px)}
.garage-theme .is-catalog #results-count{max-width:none;color:#edf4f9;font-size:14px;line-height:1.5;min-width:0}
.garage-theme .is-catalog #results-count strong{font-size:17px;font-weight:600}
.garage-theme .is-catalog #results-count>span{display:block;font-size:11px;color:#9eb6c8}
.garage-theme .is-catalog .results-actions{display:flex;align-items:center;gap:12px}
.garage-theme .is-catalog .sort-label{display:flex;align-items:center;gap:10px;background:#102738;border:1px solid #3d5c73;border-radius:6px;padding:0 12px;min-height:46px}
.garage-theme .is-catalog .sort-label>span{font-size:11px;color:#9cb9cf}
.garage-theme .is-catalog .sort-label select{color-scheme:dark;color:white;min-width:0;max-width:none;font-size:13px;padding:9px 0;min-height:44px}
.garage-theme .is-catalog .filter-toggle{display:none}
.garage-theme .is-catalog .active-filters{margin:0 0 16px;gap:7px}
.garage-theme .is-catalog .active-filters button{min-height:44px;font-size:12px;padding:8px 12px;max-width:100%;overflow-wrap:anywhere;text-align:left}
.garage-theme .is-catalog .vehicle-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin:0;padding:0}
.garage-theme .is-catalog .vehicle-card{border-color:#385367}
.garage-theme .is-catalog .vehicle-content{padding:12px 14px 15px;min-width:0;position:relative}
.garage-theme .is-catalog .vehicle-version{font-size:12px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:normal;max-height:none;height:35px;min-height:35px;margin-top:6px}
.garage-theme .is-catalog .vehicle-color{color:#b3c6d6;font-size:11px;line-height:1.5;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.garage-theme .is-catalog .vehicle-specs{font-size:11px;line-height:1.5;margin-top:10px;white-space:normal;min-height:33px}
.garage-theme .is-catalog .vehicle-registration{display:none}
.garage-theme .is-catalog .vehicle-price-row{margin-top:12px}
.garage-theme .is-catalog .vehicle-price strong{font-size:28px}
.garage-theme .is-catalog .card-open{position:absolute;right:11px;bottom:10px;width:44px;height:44px}
.garage-theme .is-catalog .availability{min-height:18px;margin-top:9px;padding-right:46px;font-size:11px;line-height:1.5}
.garage-theme .is-catalog .vehicle-title{font-size:26px;overflow-wrap:anywhere}
.garage-theme .is-catalog .catalog-pagination{margin:26px 0 15px;gap:6px}
.garage-theme .is-catalog .catalog-pagination button{min-width:44px;height:44px;border-radius:7px;font-size:13px}
.garage-theme .is-catalog .catalog-pagination .page-total{width:100%;text-align:center;padding-top:5px;font-size:12px}
.garage-theme .empty-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin-top:22px}
.garage-theme .empty-actions .button{border-radius:6px;font-size:13px}
.garage-theme .detail-back{display:flex;align-items:center;gap:10px;min-height:44px;padding:12px 20px;margin:8px 65px 0 12px;background:none;color:#245d84;font-size:13px;font-weight:600}
.garage-theme .vehicle-dialog>.dialog-close{position:absolute;top:13px;right:13px;margin:0}
@media(min-width:901px) and (max-width:1200px){.garage-theme .is-catalog .catalog-layout{grid-template-columns:235px minmax(0,1fr);gap:20px}.garage-theme .is-catalog .vehicle-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){
  .garage-theme .is-catalog .catalog-layout{display:block}
  .garage-theme .catalog-filter-dock{display:none}
  .garage-theme .filters-dialog{inset:auto 0 0;width:min(560px,100%);max-width:100%;height:auto;max-height:94vh;max-height:94dvh;margin:0 auto;border:1px solid #3b6079;border-bottom:0;border-radius:18px 18px 0 0;padding:0;background:#0b1925;color:#e9f1f7;overflow-y:auto}
  .garage-theme .filters-dialog::backdrop{background:#000a;backdrop-filter:blur(3px)}
  .garage-theme .filter-panel{padding:22px 22px 0}
  .garage-theme .filter-panel-close{display:block}
  .garage-theme .filter-panel .advanced-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px 12px;margin-top:22px}
  .garage-theme .filter-wide{grid-column:1/-1}
  .garage-theme .filter-panel select{font-size:16px;min-height:48px}
  .garage-theme .filter-panel .advanced-fields label{font-size:13px}
  .garage-theme .filter-panel small{font-size:11px}
  .garage-theme .filter-dialog-actions{position:sticky;bottom:0;z-index:1;display:flex;flex-direction:row;gap:14px;margin:22px -22px 0;padding:14px 22px calc(14px + env(safe-area-inset-bottom));background:#0b1925fa;backdrop-filter:blur(10px)}
  .garage-theme .filter-dialog-actions .button{flex:1;font-size:14px}
  .garage-theme .filter-dialog-actions .text-button{flex-shrink:0;font-size:12px}
  .garage-theme .is-catalog .filter-toggle{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:46px;padding:10px 16px;border-radius:6px;background:#0076dd;color:white;border:1px solid #138deb;font-size:14px}
  .garage-theme .filter-toggle svg{width:18px;height:18px}
  .garage-theme .filter-toggle circle{fill:#0076dd}
  .garage-theme .filter-toggle>span{background:#fff;color:#07578a;font-size:11px;line-height:20px;min-width:20px}
  .garage-theme .is-catalog .vehicle-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
  .garage-theme.header-hidden .is-catalog .results-toolbar{top:0}
}
@media(max-width:600px){
  .garage-theme .is-catalog{padding-block:5px 24px}
  .garage-theme .is-catalog .selection-back{margin-bottom:8px;font-size:12px}
  .garage-theme .is-catalog .section-heading{display:block;margin-bottom:16px}
  .garage-theme .is-catalog .section-heading h2{font-size:30px;line-height:1.25;letter-spacing:-.1px}
  .garage-theme .is-catalog .section-caption{font-size:11px;margin-top:9px}
  .garage-theme .is-catalog .section-caption br,.garage-theme .is-catalog .section-caption>span:last-child{display:none}
  .garage-theme .catalog-search{min-height:52px}
  .garage-theme .catalog-search .search-field{padding-inline:12px;gap:8px}
  .garage-theme .catalog-search input{min-height:50px;font-size:16px}
  .garage-theme .search-submit{font-size:0;min-width:48px;min-height:50px;padding:8px 12px;gap:0}
  .garage-theme .search-submit>span{font-size:23px}
  .garage-theme .is-catalog .quick-filters{padding-block:10px 12px;gap:7px;scrollbar-width:none}
  .garage-theme .is-catalog .quick-filters>button{padding:9px 13px;font-size:12px}
  .garage-theme .is-catalog .results-toolbar{display:grid;grid-template-columns:1fr 1fr;gap:8px;min-height:0;padding:8px 0 12px;margin-bottom:12px}
  .garage-theme .is-catalog #results-count{grid-column:1/-1;display:flex;align-items:baseline;justify-content:space-between;gap:10px}
  .garage-theme .is-catalog #results-count strong{font-size:15px}
  .garage-theme .is-catalog #results-count>span{font-size:10px}
  .garage-theme .is-catalog .results-actions{display:contents}
  .garage-theme .is-catalog .sort-label{padding:0 10px;gap:7px;justify-content:center;min-width:0}
  .garage-theme .is-catalog .sort-label>span{font-size:10px}
  .garage-theme .is-catalog .sort-label select{font-size:12px;width:100%;max-width:140px}
  .garage-theme .is-catalog .active-filters{gap:6px;margin-bottom:12px}
  .garage-theme .is-catalog .active-filters button{font-size:11px;padding-inline:10px}
  .garage-theme .is-catalog .vehicle-list{gap:11px}
  .garage-theme .is-catalog .vehicle-content{padding:10px 11px 11px}
  .garage-theme .is-catalog .vehicle-brand{font-size:10px}
  .garage-theme .is-catalog .vehicle-title{font-size:23px}
  .garage-theme .is-catalog .vehicle-version{font-size:11px;height:32px;min-height:32px;margin-top:6px}
  .garage-theme .is-catalog .vehicle-specs{font-size:10px;min-height:30px;margin-top:8px}
  .garage-theme .is-catalog .vehicle-specs .separator{margin-inline:3px}
  .garage-theme .is-catalog .new-badge{font-size:8px;top:7px;left:7px;line-height:16px;padding-inline:6px}
  .garage-theme .is-catalog .favorite-button{right:1px;top:0;background:radial-gradient(circle,#06111bde 0 58%,transparent 61%)}
  .garage-theme .is-catalog .favorite-button svg{width:19px;height:19px}
  .garage-theme .is-catalog .vehicle-price strong{font-size:25px}
  .garage-theme .is-catalog .vehicle-price>span{font-size:9px}
  .garage-theme .is-catalog .availability{font-size:10px;margin-top:8px;padding-right:38px;gap:5px;min-height:28px;align-items:center}
  .garage-theme .is-catalog .availability .stock-dot{width:5px;height:5px}
  .garage-theme .is-catalog .card-open{right:6px;bottom:5px;border:0;background:radial-gradient(circle,transparent 62%,#479bd4 64%,#479bd4 67%,transparent 69%)}
  .garage-theme .is-catalog .card-open>span{font-size:23px}
  .garage-theme .is-catalog .catalog-pagination{gap:4px}
  .garage-theme .is-catalog .catalog-pagination button{min-width:40px;width:40px;height:44px}
  .garage-theme .is-catalog .catalog-pagination .page-gap{min-width:6px}
  .garage-theme .detail-back{margin-left:3px;padding-inline:15px}
  .garage-theme .vehicle-dialog .detail-layout{padding-top:14px}
}
@media(max-width:360px){.garage-theme .is-catalog .vehicle-content{padding-inline:9px}.garage-theme .is-catalog .vehicle-title{font-size:21px}.garage-theme .is-catalog .vehicle-price strong{font-size:23px}.garage-theme .is-catalog .sort-label{gap:5px;padding-inline:8px}.garage-theme .is-catalog .sort-label>span{display:none}}
