/* Scoped to terminal product categories; parent and home cards retain their styles. */
body.product-category.layout-11 .avp-leaf-category { font-family: Rubik, sans-serif; color: #434242; }
body.product-category.layout-11 .avp-leaf-category .avp-leaf-layout { display:grid; grid-template-columns:240px minmax(0,1fr); gap:32px; margin-bottom:48px; }
body.product-category.layout-11 .avp-leaf-category #content.avp-leaf-main { width:100%; min-width:0; padding:0; margin:0; float:none; }
body.product-category.layout-11 .avp-leaf-category h1 { margin:0 0 24px; font-size:28px; line-height:34px; font-weight:700; color:#2B3A54; }
body.product-category.layout-11 .avp-leaf-category .avp-leaf-filter-heading h2 { margin:0 0 24px; color:#2B3A54; font-size:16px; line-height:22px; font-weight:600; }
body.product-category.layout-11 .avp-leaf-category fieldset { padding:0 0 24px; margin:0 0 24px; border:0; border-bottom:1px solid #E5E7EB; min-width:0; }
body.product-category.layout-11 .avp-leaf-category legend { margin:0 0 12px; border:0; color:#2B3A54; font-size:16px; line-height:22px; font-weight:600; }
body.product-category.layout-11 .avp-leaf-category .avp-leaf-check { display:flex; align-items:flex-start; gap:8px; margin:0 0 8px; font-size:14px; line-height:20px; font-weight:400; cursor:pointer; }
body.product-category.layout-11 .avp-leaf-category input[type=checkbox] { flex:0 0 16px; width:16px; height:16px; margin:2px 0 0; accent-color:#1F83CF; }
body.product-category.layout-11 .avp-leaf-category .avp-leaf-price-range { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
body.product-category.layout-11 .avp-leaf-category .avp-leaf-price-range label { min-width:0; font-size:14px; font-weight:400; }
body.product-category.layout-11 .avp-leaf-category .avp-leaf-price-range input { display:block; width:100%; height:42px; margin-top:8px; padding:8px; border:1px solid #D9D9D9; border-radius:8px; }
body.product-category.layout-11 .avp-leaf-category .avp-leaf-filter-actions { display:flex; align-items:center; gap:16px; }
body.product-category.layout-11 .avp-leaf-category .avp-leaf-filter-actions button { border:0; border-radius:8px; background:#1F83CF; color:white; min-height:44px; padding:8px 16px; }
body.product-category.layout-11 .avp-leaf-category .avp-leaf-toolbar { display:flex; flex-wrap:wrap; align-items:center; gap:16px; margin-bottom:24px; }
body.product-category.layout-11 .avp-leaf-category .avp-leaf-toolbar label { display:flex; align-items:center; gap:8px; font-size:14px; line-height:20px; font-weight:400; margin:0; min-width:0; }
body.product-category.layout-11 .avp-leaf-category .avp-leaf-toolbar select { height:40px; border:0; border-radius:8px; background:#F5F5F5; color:#434242; padding:8px 12px; max-width:220px; }
body.product-category.layout-11 .avp-leaf-category .avp-leaf-views { display:flex; gap:8px; }
body.product-category.layout-11 .avp-leaf-category .avp-leaf-views button { width:40px; height:40px; border:0; border-radius:8px; background:#F5F5F5; color:#434242; }
body.product-category.layout-11 .avp-leaf-category .avp-leaf-views button[aria-pressed=true] { background:#1F83CF; color:white; }
body.product-category.layout-11 .avp-leaf-category .avp-leaf-compare-link { font-size:12px; color:#777; }
body.product-category.layout-11 .avp-leaf-category .avp-leaf-products { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; }
body.product-category.layout-11 .avp-leaf-category .avp-leaf-card { display:flex; flex-direction:column; min-width:0; padding:16px; background:#F5F5F5; border:0; border-radius:16px; overflow:hidden; transition:transform .2s,box-shadow .2s; }
body.product-category.layout-11 .avp-leaf-category .avp-leaf-card:hover { transform:translateY(-2px); box-shadow:0 8px 24px rgba(20,35,55,.08); }
body.product-category.layout-11 .avp-leaf-category .avp-leaf-photo { display:flex; align-items:center; justify-content:center; aspect-ratio:1/1; background:white; border-radius:12px; overflow:hidden; }
body.product-category.layout-11 .avp-leaf-category .avp-leaf-photo img { display:block; width:100%; height:100%; object-fit:contain; }
body.product-category.layout-11 .avp-leaf-category .avp-leaf-card-content { display:flex; flex-direction:column; flex:1; min-width:0; }
body.product-category.layout-11 .avp-leaf-category .avp-leaf-card h2 { margin:12px 0 0; font-size:14px; line-height:20px; font-weight:500; min-height:60px; }
body.product-category.layout-11 .avp-leaf-category .avp-leaf-card h2 a { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; overflow:hidden; color:#2B3A54; }
body.product-category.layout-11 .avp-leaf-category .avp-leaf-meta { margin:8px 0 0; font-size:12px; line-height:18px; color:#777; overflow-wrap:anywhere; }
body.product-category.layout-11 .avp-leaf-category .avp-leaf-meta span { color:#2B3A54; }
body.product-category.layout-11 .avp-leaf-category .avp-leaf-stock { margin:8px 0 12px; font-size:12px; line-height:18px; color:#777; }
body.product-category.layout-11 .avp-leaf-category .avp-leaf-stock.is-available { color:#3A9D57; }
body.product-category.layout-11 .avp-leaf-category .avp-leaf-card-bottom { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px; margin-top:auto; padding-top:12px; }
body.product-category.layout-11 .avp-leaf-category .avp-leaf-price { display:flex; flex-wrap:wrap; align-items:baseline; gap:8px; font-size:18px; line-height:24px; font-weight:700; color:#111; }
body.product-category.layout-11 .avp-leaf-category .avp-leaf-price del,body.product-category.layout-11 .avp-leaf-category .avp-leaf-price small { font-size:12px; line-height:18px; font-weight:400; color:#777; }
body.product-category.layout-11 .avp-leaf-category .avp-leaf-card-actions { display:flex; gap:8px; margin-left:auto; }
body.product-category.layout-11 .avp-leaf-category .avp-leaf-card-actions button { display:flex; align-items:center; justify-content:center; width:44px; height:44px; padding:0; border:0; border-radius:10px; font-size:18px; }
body.product-category.layout-11 .avp-leaf-category .avp-leaf-cart { background:#1F83CF; color:white; }
body.product-category.layout-11 .avp-leaf-category .avp-leaf-cart:hover { background:#1973B8; }
body.product-category.layout-11 .avp-leaf-category .avp-leaf-wishlist { background:white; color:#434242; }
body.product-category.layout-11 .avp-leaf-category .avp-leaf-wishlist:hover { background:#E9F3FA; color:#1F83CF; }
body.product-category.layout-11 .avp-leaf-category .avp-leaf-compare { align-self:flex-end; padding:8px 0 0; border:0; background:transparent; color:#777; font-size:12px; line-height:18px; }
body.product-category.layout-11 .avp-leaf-category .avp-leaf-pagination { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:16px; margin-top:32px; }
body.product-category.layout-11 .avp-leaf-category .pagination { display:flex; flex-wrap:wrap; gap:8px; margin:0; }
body.product-category.layout-11 .avp-leaf-category .pagination li a,body.product-category.layout-11 .avp-leaf-category .pagination li span { display:flex; align-items:center; justify-content:center; min-width:40px; height:40px; margin:0; padding:8px; border:0; border-radius:8px; background:#F5F5F5; color:#434242; }
body.product-category.layout-11 .avp-leaf-category .pagination li.active span { background:#1F83CF; color:white; }
body.product-category.layout-11 .avp-leaf-category .avp-leaf-description { margin-top:48px; }
body.product-category.layout-11 .avp-leaf-category .avp-leaf-filter-open,body.product-category.layout-11 .avp-leaf-category .avp-leaf-close { display:none; }
body.product-category.layout-11 .avp-leaf-category.is-list .avp-leaf-products { grid-template-columns:1fr; }
body.product-category.layout-11 .avp-leaf-category.is-list .avp-leaf-card { display:grid; grid-template-columns:160px minmax(0,1fr); gap:24px; }
body.product-category.layout-11 .avp-leaf-category.is-list .avp-leaf-card h2 { margin-top:0; min-height:0; }
@media(max-width:1199px) {
 body.product-category.layout-11 .avp-leaf-category .avp-leaf-products { grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
}
@media(max-width:991px) {
 body.product-category.layout-11 .avp-leaf-category .avp-leaf-layout { grid-template-columns:minmax(0,1fr); }
 body.product-category.layout-11 .avp-leaf-category .avp-leaf-sidebar { display:none; }
 body.product-category.layout-11 .avp-leaf-category .avp-leaf-filter-open { display:flex; align-items:center; gap:8px; min-height:44px; padding:8px 16px; border:0; border-radius:8px; background:#F5F5F5; font-size:14px; font-weight:600; }
 body.product-category.layout-11 .avp-leaf-category.filters-open .avp-leaf-sidebar { display:block; position:fixed; inset:0 auto 0 0; width:min(360px,90vw); padding:24px; background:var(--avp-panel,#333); overflow-y:auto; overscroll-behavior:contain; z-index:100002; }
 body.product-category.layout-11 .avp-leaf-category .avp-leaf-backdrop:not([hidden]) { position:fixed; inset:0; background:rgba(20,30,45,.42); z-index:100001; }
 body.product-category.layout-11 .avp-leaf-category .avp-leaf-filter-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; }
 body.product-category.layout-11 .avp-leaf-category .avp-leaf-close { display:block; width:44px; height:44px; border:0; background:transparent; font-size:28px; margin-bottom:24px; }
}
@media(max-width:767px) {
 body.product-category.layout-11 .avp-leaf-category .avp-leaf-products { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
 body.product-category.layout-11 .avp-leaf-category .avp-leaf-toolbar { gap:12px; }
 body.product-category.layout-11 .avp-leaf-category .avp-leaf-toolbar label { flex-wrap:wrap; }
 body.product-category.layout-11 .avp-leaf-category .avp-leaf-toolbar select { max-width:100%; }
 body.product-category.layout-11 .avp-leaf-category .avp-leaf-card { padding:14px; }
 body.product-category.layout-11 .avp-leaf-category.is-list .avp-leaf-card { grid-template-columns:96px minmax(0,1fr); gap:12px; }
}
@media(max-width:359px) {
 body.product-category.layout-11 .avp-leaf-category .avp-leaf-products { grid-template-columns:minmax(0,1fr); }
}
@media(prefers-reduced-motion:reduce) {
 body.product-category.layout-11 .avp-leaf-category .avp-leaf-card { transition:none; }
}

/* Vehicle categories are the first facet; links reset category-specific filters. */
body.product-category.layout-11 .avp-leaf-category .avp-leaf-vehicles nav {display:flex;flex-direction:column;gap:4px}
body.product-category.layout-11 .avp-leaf-category .avp-leaf-vehicles a {display:block;padding:8px 10px;border-radius:8px;color:#2B3A54;font-size:14px;line-height:20px;text-decoration:none}
body.product-category.layout-11 .avp-leaf-category .avp-leaf-vehicles a:hover {background:#EEF5FA;color:#1F83CF}
body.product-category.layout-11 .avp-leaf-category .avp-leaf-vehicles a.is-active {background:#EEF5FA;color:#1F83CF;font-weight:600}
body.product-category.layout-11 .avp-leaf-category .avp-leaf-vehicles a:focus-visible {outline:2px solid #1F83CF;outline-offset:2px}

/* Rounded filter panel and collapsible groups. */
html body.product-category.layout-11 .avp-leaf-category .avp-leaf-sidebar {align-self:start;border:1px solid var(--avp-border-soft,#484b50);border-radius:20px;padding:20px;background:var(--avp-panel,#333);box-sizing:border-box}
html body.product-category.layout-11 .avp-leaf-category .avp-leaf-filter-heading h2 {margin:0 0 16px}
html body.product-category.layout-11 .avp-leaf-category .avp-leaf-group {margin:0 0 12px;padding:0 0 12px}
html body.product-category.layout-11 .avp-leaf-category .avp-leaf-group legend {float:none;display:block;width:100%;padding:0;margin:0}
html body.product-category.layout-11 .avp-leaf-category .avp-leaf-group-toggle {display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:44px;padding:8px 0;border:0;border-radius:6px;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}
html body.product-category.layout-11 .avp-leaf-category .avp-leaf-group-toggle::after {content:'';width:8px;height:8px;flex:0 0 8px;margin-right:4px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg)}
html body.product-category.layout-11 .avp-leaf-category .avp-leaf-group-toggle[aria-expanded=true]::after {transform:rotate(225deg)}
html body.product-category.layout-11 .avp-leaf-category .avp-leaf-group-toggle:focus-visible {outline:2px solid #3283cf;outline-offset:3px}
html body.product-category.layout-11 .avp-leaf-category .avp-leaf-group-content {padding-top:8px}
html body.product-category.layout-11 .avp-leaf-category .avp-leaf-group-content[hidden] {display:none!important}
