/* Approved inventory refresh, shared server/AJAX markup. */
.htc-inventory-page, body:has(.htc-inv-grid) {
.htc-page-head{background:#fff;padding:32px 0 36px;border-bottom:1px solid #e5e2de}
.htc-crumbs{margin-bottom:26px}
.htc-page-head h1{font-size:clamp(42px,4.6vw,72px);font-weight:600;letter-spacing:-.025em;line-height:1;text-transform:uppercase}
.htc-page-head h1:after{content:'.';color:#ff7044}
.htc-page-head__count{border-left:3px solid #ff7044;padding:0 0 0 20px;letter-spacing:.09em;margin:0 0 4px;min-width:150px}
.htc-page-head__count strong{font-size:48px;font-weight:600}
.htc-listing-band{background:#f5f4f1;padding-top:32px}
.htc-inv.wp-block-columns{gap:32px}
@media(min-width:1100px){.htc-inv-panel{position:static;max-height:none;overflow:visible;background:#fff;border:1px solid #e6e3de;padding:22px 20px 12px}}
.htc-inv-toolbar{background:transparent;padding:0 0 18px;border-bottom:1px solid #d7d3cd;gap:16px}
.htc-inv-toolbar__left{flex-basis:250px}.htc-inv-toolbar__right{gap:20px}.htc-inv-toolbar .htc-inv-field{min-width:125px}.htc-inv-toolbar .htc-inv-field:last-child{min-width:85px}
.htc-inv-toolbar .htc-inv-kw input{background:#fff;border:1px solid #d7d3cd;padding:13px 38px 13px 14px;border-radius:4px}
.htc-inv-toolbar .htc-inv-kw input:focus{border-color:#272522;outline:2px solid #272522;outline-offset:2px}
.htc-inv-toolbar .htc-inv-field label{margin-bottom:9px;color:#5d5953}.htc-inv-count{font-size:12px;letter-spacing:.025em;text-transform:none;margin-top:18px}
.htc-inv-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:18px}
.htc-inv-card{background:#fff;border:1px solid #e4e0da;border-radius:6px;overflow:hidden;transition:box-shadow .2s,border-color .2s}
.htc-inv-card:hover{border-color:#bcb4aa;box-shadow:0 12px 32px #2725220d}
.htc-inv-card__photo{aspect-ratio:16/11;background:#ebe8e2}
.htc-inv-card__photo img{object-fit:contain}
.htc-inv-card__badge{background:#211f1de8;color:#fff;bottom:14px;left:16px;border-radius:3px;font-size:10px}
.htc-inv-card__body{padding:22px 24px 24px;display:flex;flex-direction:column}
.htc-inv-card__location{font-size:11px;line-height:1.3;text-transform:uppercase;letter-spacing:.1em;color:#645e56;margin:0 0 10px;display:flex;align-items:center;gap:8px}
.htc-inv-card__location:before{content:'';width:6px;height:6px;border-radius:50%;background:#e76134}
.htc-inv-card h3{font-size:30px;font-weight:600;line-height:1.05;letter-spacing:-.01em;margin:0 0 9px}
.htc-inv-card__stock{font-size:10px;letter-spacing:.055em;color:#6c665f;line-height:1.5;margin-bottom:20px}
.htc-inv-card__meta{border:0;background:#f6f5f2;border-radius:3px;grid-template-columns:1fr 1fr;margin:0 0 20px;padding:12px 14px;gap:12px}
.htc-inv-card__meta li,.htc-inv-card__meta li:nth-child(even),.htc-inv-card__meta li:nth-child(odd){padding:0;border:0;font-size:14px;font-weight:600;overflow-wrap:normal}
.htc-inv-card__meta span{font-size:10px;letter-spacing:.07em;color:#70685e;margin-bottom:5px;font-weight:400}
.htc-inv-card__foot{padding:0;margin-top:auto}.htc-inv-card__price{font-size:34px;font-weight:600}.htc-inv-card__price small{font-size:10px;color:#6c665f;letter-spacing:.07em}.htc-inv-card__price a{font-size:28px;color:#272522;font-weight:600}
.htc-inv-card__vin{font-size:10px;letter-spacing:.04em;color:#77716a;margin:12px 0 0}
.htc-inv-card__actions{border-top:1px solid #eeeae5;padding-top:16px;margin-top:18px;grid-template-columns:1.2fr 1fr;gap:8px}
.htc-inv-card__actions .htc-btn{min-height:46px;font-size:11px;letter-spacing:.06em;padding:12px 10px;border-radius:3px}
.htc-inv-card__actions .htc-btn--dark{background:#272522;color:#fff}.htc-inv-card__actions .htc-btn--orange{background:#eeece7;color:#272522}.htc-inv-card__actions .htc-btn:hover{background:#ff7044;color:#211f1d}
@media(max-width:1099.98px){.htc-inv.wp-block-columns{grid-template-columns:1fr}.htc-page-head__count strong{font-size:36px}}
@media(max-width:639.98px){.design-note{font-size:10px}.design-note span{display:none}.htc-page-head{padding:24px 0}.htc-crumbs{margin-bottom:22px}.htc-page-head__row{gap:22px}.htc-page-head__count{display:flex;align-items:center;gap:12px;font-size:10px}.htc-page-head__count strong{margin:0;font-size:28px}.htc-inv-grid{grid-template-columns:1fr;gap:20px}.htc-inv-card__body{padding:20px}.htc-inv-card h3{font-size:29px}.htc-inv-toolbar__left{flex-basis:100%}.htc-inv-toolbar__right{width:100%}.htc-inv-toolbar__right .htc-inv-field{flex:1;min-width:0}.htc-listing-band{padding-top:24px}.htc-inv-card__foot{align-items:flex-start}}
@media(prefers-reduced-motion:reduce){.htc-inv-card,.htc-inv-card__photo img{transition:none}.htc-inv-card:hover .htc-inv-card__photo img{transform:none}}
.htc-inv-panel{border-radius:6px;border-color:#e4e0da}
.htc-inv-panel__head{gap:8px;padding:0 0 20px;border-color:#e6e1d9;align-items:center}
.filter-kicker{font-size:10px;letter-spacing:.14em;font-weight:600;color:#9a452a;margin:0 0 6px}
.htc-inv-panel__head h2{font-size:26px;line-height:1.05;text-transform:none;font-weight:600}
.htc-inv-panel__head .htc-inv-reset{font-size:10px;letter-spacing:0;white-space:nowrap;text-transform:none;gap:4px;align-self:flex-end}
.htc-inv-panel__head .htc-inv-reset:disabled{opacity:.35;cursor:default}
.filter-status{font-size:12px;color:#38342e;margin:0;padding:18px 0;border-bottom:1px solid #e6e1d9}
.filter-status strong{font-size:15px;font-weight:600}.filter-status span{display:block;color:#797167;font-size:11px;margin-top:3px}
.filter-section{border-bottom:1px solid #e6e1d9}
.filter-section:last-child{border:0}
.filter-section summary{position:relative;padding:19px 24px 19px 0;cursor:pointer;list-style:none;display:flex;flex-direction:column;gap:5px}
.filter-section summary::-webkit-details-marker{display:none}
.filter-section summary>span{font-size:15px;font-weight:600;letter-spacing:0}
.filter-section summary:after{content:'+';position:absolute;right:0;top:20px;font-size:20px;font-weight:400;color:#776d62;line-height:1}
.filter-section[open] summary:after{content:'\2212'}
.selection-summary{font-size:11px;line-height:1.4;font-weight:400;color:#83796e;overflow-wrap:anywhere}
.has-selection .selection-summary{color:#a44020;font-weight:600}
.filter-section__body{padding:0 0 20px}
.filter-section .htc-inv-checks{gap:5px}
.filter-section .htc-inv-checks label{padding:9px 10px;border-radius:4px;border:1px solid #e9e5df;font-size:13px;gap:10px;min-height:40px}
.filter-section .htc-inv-checks label:has(input:checked){background:#fff2ec;border-color:#edb39c;color:#552712}
.filter-section .htc-inv-checks label:has(input:disabled){background:#f7f6f3;color:#948b80;opacity:.65}
.filter-section .htc-inv-checks input{accent-color:#a74928;width:16px;height:16px}
.filter-section .htc-inv-checks .htc-inv-checks__n{font-size:11px;background:#f0ede7;border-radius:3px;padding:2px 6px;color:#6f655a}
.filter-section .htc-inv-checks--row{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.filter-section .htc-inv-checks--row .htc-inv-checks__n{margin-left:auto}
.quick-ranges{display:flex;gap:5px;flex-wrap:wrap;margin:0 0 14px}
.quick-ranges button{border:0;border-radius:4px;background:#eeece6;color:#4f473e;padding:9px 8px;font:500 11px/1.2 var(--htc-font-text);cursor:pointer;flex:1;min-height:36px;white-space:nowrap}
.quick-ranges button[aria-pressed=true]{background:#272522;color:white}
.quick-ranges button:hover{background:#ffcfbc;color:#272522}
.exact-range{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.exact-range label,.filter-select{font-size:11px;color:#72685c;display:block}
.exact-range input,.htc-inv-panel .filter-select select{box-sizing:border-box;width:100%;min-width:0;border:1px solid #d9d3c9;background:#fff;border-radius:4px;font:400 14px/1.3 var(--htc-font-text);color:#272522;padding:11px 10px;margin-top:7px}
.htc-inv-panel .filter-select select{appearance:auto;padding-right:5px}
.filter-select+.filter-select{margin-top:15px}
.exact-range input:focus,.htc-inv-panel .filter-select select:focus{outline:2px solid #272522;outline-offset:2px}
.exact-range input[aria-invalid=true]{border-color:#84201e}
.filter-help{font-size:11px;line-height:1.5;color:#807569;margin:12px 0 0}
.range-error{font-size:12px;line-height:1.4;color:#84201e;margin:10px 0 0}
.filter-subtitle{font-size:11px;color:#786e62;margin:0 0 9px}.checks+.filter-subtitle{margin-top:18px}
.htc-inv-panel__foot .htc-btn:disabled{opacity:.45;cursor:not-allowed}
@media(min-width:1024px){.htc-inv-panel{position:static;max-height:none;overflow:visible;background:#fff;border:1px solid #e4e0da;padding:22px 20px 4px}.htc-inv.wp-block-columns{grid-template-columns:300px minmax(0,1fr)}}
@media(max-width:1023.98px){.htc-inv-panel{border-radius:0;padding:0 22px;z-index:100}.htc-inv-panel__head{height:94px;min-height:94px;padding:12px 0;box-sizing:border-box}.htc-inv-panel__head .htc-inv-reset{margin-left:auto;align-self:center}.htc-inv-panel__head h2{font-size:28px}.htc-inv-filters{padding-bottom:10px}.htc-inv-panel__foot{z-index:2;flex-shrink:0;box-shadow:0 -10px 22px #fff;gap:8px}.htc-inv-panel__foot .htc-btn{min-height:48px}.htc-inv-panel__foot .htc-btn--orange{background:#ff7044;color:#272522}.htc-inv-panel .htc-inv-panel__close{margin-left:4px}.filter-section .htc-inv-checks label{min-height:44px}.quick-ranges button{min-height:44px}.exact-range input,.htc-inv-panel .filter-select select{font-size:16px;min-height:46px}}


.htc-inv, .htc-inv-panel, .htc-inv-panel *, .htc-inv-card, .htc-inv-card * {box-sizing:border-box}
.entry-content > .htc-inv {background:#f5f4f1;padding:32px clamp(20px,4vw,64px) 72px;gap:32px}
.htc-inv-card{border-top:1px solid #e4e0da}
.htc-inv-card__body{flex:1;display:flex;flex-direction:column}
.htc-inv-card__price{margin-top:auto}
.htc-inv-card__meta{grid-template-columns:1fr 1fr}
.htc-inv-panel__head .htc-inv-reset{min-width:0}
.htc-inv-panel .htc-inv-checks__n{margin-left:auto;font-size:11px;background:#f0ede7;padding:2px 6px;border-radius:3px;color:#6f655a}
.htc-inv-toolbar__left .htc-inv-field--kw{flex:1}
.htc-inv-toolbar .htc-inv-kw{position:relative}
.htc-inv-toolbar .htc-inv-kw svg{position:absolute;width:18px;height:18px;right:12px;top:14px;fill:none;stroke:currentColor}
.htc-inv-panel .htc-inv-select select{border:1px solid #d9d3c9;border-radius:4px;padding:11px 28px 11px 10px;background:#fff}
.htc-inv-panel .htc-inv-filter-group__sub{margin:12px 0 6px}
@media(max-width:1023.98px){.htc-inv.wp-block-columns{grid-template-columns:1fr}.htc-inv-panel{position:fixed;inset:0;overflow-y:auto;max-height:none;padding:0 22px}.htc-inv-panel__head{background:#fff;z-index:3}.htc-inv-panel__foot{background:#fff;position:sticky;bottom:0;display:grid}.htc-inv-panel__foot .htc-btn{font-size:12px;padding:14px}.htc-inv-panel .htc-inv-select select{font-size:16px}}

}

.htc-inventory-page, body:has(.htc-inv-grid) {
/* Orange title band and alternating sections for a clearer filter hierarchy. */
.htc-inv-panel{padding:0;background:#fff}
.htc-inv-panel__head{background:#ff7044;color:#272522;padding:22px 20px;border:0;border-radius:5px 5px 0 0}
.htc-inv-panel__head .filter-kicker{color:#47281c}
.htc-inv-panel__head h2{color:#272522}
.htc-inv-panel__head .htc-inv-reset{align-self:center;color:#272522;background:#ffffff70;border:0;border-radius:3px;padding:9px 8px;min-height:36px;font-size:11px}
.htc-inv-panel__head .htc-inv-reset:hover{background:#fff}
.htc-inv-panel__head .htc-inv-reset:disabled{opacity:.5;background:#ffffff40}
.htc-inv-panel__head .htc-inv-panel__close{color:#272522}
.htc-inv-filters{padding:0;margin:0}
.filter-status{padding:18px 20px;background:#fff;margin:0;border-color:#e3dfd8}
.filter-section{padding:0 20px;border-bottom:1px solid #e3dfd8}
.filter-section:nth-of-type(odd){background:#fff}
.filter-section:nth-of-type(even){background:#fafaf9}
.filter-section:last-child{border-radius:0 0 5px 5px}
.filter-section summary{padding-block:18px}
.filter-section .htc-inv-checks label{background:#fff}
.filter-section .htc-inv-checks label:has(input:checked){background:#fff2ec}
.htc-inv-panel__foot{padding-inline:20px}
@media(max-width:1023.98px){
 .htc-inv-panel{padding:0;border:0;border-radius:0}
 .htc-inv-panel__head{padding:16px 22px;border-radius:0;min-height:94px;background:#ff7044}
 .htc-inv-filters{padding:0}
 .filter-status,.filter-section{padding-inline:22px}
 .htc-inv-panel__foot{padding-inline:22px;box-shadow:0 -6px 16px #2725220a}
}

}

.htc-inventory-page, body:has(.htc-inv-grid) {

.filter-section .quick-ranges button{background:#ff7044;color:#272522;border:1px solid #ff7044}
.filter-section .quick-ranges button:hover{background:#ff8a65;border-color:#ff8a65;color:#272522}
.filter-section .quick-ranges button[aria-pressed=true]{background:#272522;border-color:#272522;color:#fff}
}

.htc-inventory-page, body:has(.htc-inv-grid) {

/* Small refinements: readable presets, calm disclosure hover, clear keyboard focus. */
.filter-section .quick-ranges button{font-weight:600;letter-spacing:.01em;transition:background .16s ease,border-color .16s ease}
.filter-section .quick-ranges button[aria-pressed=true]:hover{background:#41413d;border-color:#41413d;color:#fff}
.filter-section .quick-ranges button:focus-visible,.filter-section summary:focus-visible{outline:2px solid #272522;outline-offset:3px}
.filter-section summary:hover>span{color:#9c3d1e}
.filter-section .selection-summary{color:#71695f}
.filter-section.has-selection .selection-summary{color:#963c20}
.filter-section .exact-range input{font-variant-numeric:tabular-nums}
@media(prefers-reduced-motion:reduce){.filter-section .quick-ranges button{transition:none}}
}

.htc-inventory-page, body:has(.htc-inv-grid) {
/* Give price, key specs and the next action a clearer hierarchy. */
.htc-inv-card__price,.htc-inv-card__price a{color:#bd441e;font-weight:600;font-variant-numeric:tabular-nums}
.htc-inv-card__price{font-size:38px;letter-spacing:-.015em}
.htc-inv-card__price a{font-size:29px}
.htc-inv-card__price a:hover{color:#923014;text-decoration-color:currentColor}
.htc-inv-card__price small{color:#6c665f;font-size:10px;letter-spacing:.1em;margin-bottom:7px}
.htc-inv-card__meta{background:transparent;padding:0;gap:10px;border:0;border-radius:0}
.htc-inv-card__meta li,.htc-inv-card__meta li:nth-child(even),.htc-inv-card__meta li:nth-child(odd){background:#fafaf9;border:1px solid #e7e3dd;border-radius:5px;padding:14px;line-height:1.35;font-size:16px;font-weight:600}
.htc-inv-card__meta li:first-child{font-size:19px;font-variant-numeric:tabular-nums}
.htc-inv-card__meta span{display:flex;align-items:center;gap:7px;margin:0 0 9px;font-size:10px;font-weight:500;letter-spacing:.07em;color:#696158}
.htc-inv-card__meta span:before{content:'';display:inline-block;flex:0 0 16px;width:16px;height:16px;background:#c6532c;mask:var(--spec-icon) center/contain no-repeat}
.htc-inv-card__meta li:first-child{--spec-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M4 18a9 9 0 1 1 16 0M12 4v2M4 11l2 1M20 11l-2 1M12 14l5-5'/%3E%3Ccircle cx='12' cy='14' r='1.5'/%3E%3C/svg%3E")}
.htc-inv-card__meta li:last-child{--spec-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M6 5v14M12 5v14M18 5v7H6'/%3E%3Ccircle cx='6' cy='4' r='1.5'/%3E%3Ccircle cx='12' cy='4' r='1.5'/%3E%3Ccircle cx='18' cy='4' r='1.5'/%3E%3C/svg%3E")}
.htc-inv-card__actions{gap:10px;padding-top:18px}
.htc-inv-card__actions .htc-btn{min-height:48px;font-size:12px;font-weight:600;letter-spacing:.035em;border-radius:4px;transition:background .16s ease}
.htc-inv-card__actions .htc-btn--dark{background:#ff7044;color:#272522}
.htc-inv-card__actions .htc-btn--orange{background:#272522;color:#fff}
.htc-inv-card__actions .htc-btn--dark:hover{background:#ff8a65;color:#272522}
.htc-inv-card__actions .htc-btn--orange:hover{background:#44413d;color:#fff}
.htc-inv-card__actions .htc-btn:focus-visible{outline:2px solid #272522;outline-offset:3px}
/* Explicit desktop tracks bypass the block's inline --htc-inv-cols setting. */
@media(min-width:1100px){
.htc-inv-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.htc-inv-card__body{padding:18px 16px 20px;min-width:0;overflow-wrap:anywhere}
.htc-inv-card h3{font-size:26px;line-height:1.1}
.htc-inv-card__meta{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.htc-inv-card__meta li,.htc-inv-card__meta li:nth-child(even),.htc-inv-card__meta li:nth-child(odd){padding:10px 8px;font-size:14px;overflow-wrap:anywhere}
.htc-inv-card__meta li:first-child{font-size:16px}
.htc-inv-card__meta span{font-size:9px;letter-spacing:.02em;gap:4px;flex-wrap:wrap}
.htc-inv-card__price{font-size:32px}
.htc-inv-card__price a{font-size:26px}
.htc-inv-card__actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.htc-inv-card__actions .htc-btn{min-width:0;padding:12px 6px;font-size:11px;letter-spacing:0;white-space:normal;line-height:1.25;overflow-wrap:anywhere;text-align:center}
}
@media(max-width:639.98px){.htc-inv-card__meta li,.htc-inv-card__meta li:nth-child(even),.htc-inv-card__meta li:nth-child(odd){padding:12px}.htc-inv-card__meta span{font-size:9px;letter-spacing:.04em;gap:5px}.htc-inv-card__actions .htc-btn{font-size:11px}}
@media(prefers-reduced-motion:reduce){.htc-inv-card__actions .htc-btn{transition:none}}

}
