/* WordPress adapters for the original APW visual system. Keep these scoped. */
:root{--apw-border:#dce4ee;--apw-muted:#65758a;--apw-navy:#2d4165;--apw-orange:#d5802c}
body{color:#172b49}button,input,select,textarea{font:inherit}
.apw-page-shell,.apw-catalog-shell{padding-block:32px 48px;min-height:0}
.apw-page-shell>h1,.apw-catalog-shell>h1{margin:0 0 18px;font-size:clamp(28px,3vw,38px);line-height:1.15;letter-spacing:-1.1px}
.apw-page-shell>.page-intro,.apw-catalog-shell>p{max-width:900px;margin:0 0 26px;color:#526780;font-size:14px;line-height:1.7}
.apw-product-shell{padding-block:0;min-height:0}
.apw-product.product-layout{padding-block:20px 36px;row-gap:24px}
.apw-product .breadcrumbs{margin:0;line-height:1.6;min-width:0}
.apw-product .apw-product-information{margin-top:8px;padding-bottom:0}
.apw-product-information .quiet-note{margin-bottom:0}
#MainContent>.container>.container{width:100%;padding-inline:0}
header .header-search{display:flex;align-items:stretch;overflow:visible;border:1px solid #d8e1ed;border-radius:7px;background:#fafbfd;box-shadow:none}
header .header-search input[type=search]{flex:1;min-width:0;margin:0;padding:12px 16px;border:0!important;border-radius:7px 0 0 7px;background:transparent;box-shadow:none!important;outline:none;font-size:13px;height:44px}
header .header-search:focus-within{outline:2px solid #b8c9df;outline-offset:2px}
header .header-search button{height:44px;align-self:stretch;border:0;border-radius:0 6px 6px 0;padding:0 24px;background:var(--apw-navy);font-size:12px;font-weight:700}
.demo-product-grid.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;align-items:stretch;margin-top:24px}
.product-grid>.product-card{display:flex;flex-direction:column;height:100%;min-width:0;border:1px solid var(--apw-border);border-radius:12px;overflow:hidden;background:#fff}
.product-grid .product-card .product-card-media{position:relative;flex:none;isolation:isolate}
.product-grid .product-card .product-card-image{aspect-ratio:3/4!important}
.product-grid .product-card.is-sample .product-card-image{aspect-ratio:1!important}
.product-grid .product-card.is-sample .product-image-primary{object-fit:contain!important;padding:12px!important}
.apw-card-gallery-controls:not([hidden]){position:absolute;inset:0;pointer-events:none;z-index:3}
.apw-card-gallery-controls button{pointer-events:auto;cursor:pointer;font:inherit}
.apw-card-photo-prev,.apw-card-photo-next{opacity:1;background:#ffffffeb;width:32px;height:32px;font-size:17px;box-shadow:0 2px 8px #17283f12}
.product-grid .product-card .product-card-info{display:flex;flex:1;flex-direction:column;padding:15px;gap:0}
.product-card .product-brand{margin:0 0 7px;font-size:10px;line-height:1.3;font-weight:700;letter-spacing:.06em;color:#677c98}
.product-grid .product-card .product-card-info h3{margin:0 0 10px;font-size:14px;line-height:1.45;min-height:3em;letter-spacing:-.25px}
.product-grid .product-card h3 a{color:#1e3553;text-decoration:none}
.product-grid .product-card .card-reviews{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:0 0 14px;font-size:11px;line-height:1.4;color:#687b94}
.product-grid .product-card .product-card-bottom{display:flex;flex-direction:column;align-items:stretch;gap:12px;margin-top:auto;padding:0}
.product-grid .product-card .price-line{display:flex;min-height:30px;align-items:center;margin:0;gap:8px}
.product-grid .product-card .current-price{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px;font-size:23px;font-weight:750;line-height:1.2;letter-spacing:-.6px}
.product-card .current-price ins{order:0;text-decoration:none;background:transparent}
.product-card .current-price del{order:1;color:#8793a4;font-size:13px;font-weight:400;letter-spacing:0;opacity:1}
.product-card .current-price small{width:100%;font-size:11px;letter-spacing:0;color:#6d7b8e}
.woocommerce-Price-amount{white-space:nowrap}
.product-grid .product-card .product-card-action{display:flex;align-items:center;justify-content:center;min-height:42px;width:100%;margin:0;padding:10px 12px;border:0;border-radius:7px;background:var(--apw-navy);box-shadow:none;color:white;font-size:12px;font-weight:700;line-height:1.3;text-decoration:none;transition:background .15s}
.product-grid .product-card .product-card-action:hover{background:var(--apw-orange);color:#fff}
.product-grid .product-card.is-sold-out .product-card-action{background:#e8edf3;color:#67778d}
.product-grid .compare-heart{width:34px;height:34px;font-size:22px;color:#6c84a3;border:1px solid #dce4ee;background:#ffffffed}
.product-grid .compare-heart[aria-pressed=true]{background:#2d4165;color:#fff;border-color:#2d4165}
.product-grid .condition-badge{font-size:10px;line-height:1.2;padding:7px 9px;top:10px!important;right:10px!important}
.demo-product-grid.apw-parts-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:820px;margin:24px auto 0}
.apw-filters{display:grid;grid-template-columns:1fr 1.25fr 1fr 1.2fr auto auto auto;gap:12px;align-items:end;margin:24px 0;padding:18px;border:1px solid var(--apw-border);border-radius:12px;background:#f7f9fc}
.apw-filters label{gap:6px;font-size:11px;font-weight:600;color:#526780;min-width:0}
.apw-filters input:not([type=checkbox]),.apw-filters select{width:100%;min-width:0;height:42px;padding:8px 10px;font-size:12px;border:1px solid #cfd9e6;border-radius:6px;background:#fff;box-shadow:none}
.apw-filters label:has(input[type=checkbox]){display:flex;align-items:center;align-self:center;gap:8px;white-space:nowrap;padding-top:18px;font-size:12px}
.apw-filters input[type=checkbox]{width:16px;height:16px;padding:0;margin:0;accent-color:var(--apw-navy)}
.apw-filters .button{height:42px;min-height:42px;white-space:nowrap;font-size:12px;padding:10px 15px;background:var(--apw-navy);color:#fff;border:0;border-radius:6px}
.apw-filters>a{align-self:center;margin-top:18px;font-size:12px;color:#526780;text-underline-offset:3px}
.services-page.section,.parts-page.section,.faq-page.section{padding-block:32px 48px}
.services-page .service-grid .service-card{display:grid;grid-template-columns:minmax(130px,32%) minmax(0,1fr);gap:24px;align-items:center;padding:24px;border:1px solid var(--apw-border);border-radius:16px;background:#fafbfd;text-decoration:none}
.services-page .service-card .service-illustration{width:100%;height:auto;aspect-ratio:1;margin:0;grid-row:auto}
.services-page .service-card-copy{display:flex;flex-direction:column;min-width:0;align-items:flex-start}
.services-page .service-grid .service-card h2{margin:0 0 10px;font-size:23px;line-height:1.2;letter-spacing:-.6px}
.services-page .service-grid .service-card p{margin:0 0 15px;font-size:13px;line-height:1.7;flex:none;color:#657994}
.services-page .service-card .text-link{font-size:12px;margin:0;color:#2d4165;font-weight:700}
.services-page .service-card .service-illustration>img{width:100%;height:100%;object-fit:contain;transform:none}
.apw-brand-directory{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:26px 0 0}
.apw-brand-directory .brand-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;min-height:170px;padding:24px;border:1px solid var(--apw-border);border-radius:12px;text-decoration:none;background:#fff}
.apw-brand-directory .brand-tile img{display:block;max-width:145px;width:auto;height:45px;max-height:45px;object-fit:contain}
.apw-brand-directory .brand-tile>span{font-size:12px;font-weight:650;color:#526780}
.apw-account-page{max-width:580px;padding-top:36px;padding-bottom:48px}
.apw-account-page>h1{font-size:32px;margin-bottom:25px}
.apw-account-page .woocommerce h2{font-size:19px;margin:0 0 18px;letter-spacing:-.3px}
.apw-account-page .woocommerce form.login,.apw-account-page .woocommerce form.lost_reset_password{margin:0;padding:26px;border:1px solid var(--apw-border);border-radius:14px;background:#fafbfd}
.apw-account-page .woocommerce form .form-row{padding:0;margin:0 0 16px}
.apw-account-page .woocommerce form label{font-size:12px;line-height:1.6;font-weight:600;color:#526780;margin-bottom:6px}
.apw-account-page .woocommerce form .input-text{height:44px;font:inherit;font-size:14px;padding:10px 12px;border:1px solid #cfd9e6;border-radius:6px;background:#fff;color:#25364b}
.apw-account-page .woocommerce button.button{min-height:42px;background:var(--apw-navy);border-radius:6px;font-size:13px}
.apw-account-page .woocommerce-LostPassword{font-size:12px;margin:15px 0 0;text-underline-offset:3px}
.apw-account-page .woocommerce-form-login__rememberme{margin-left:12px}
.apw-page-shell .apw-contact{max-width:640px;margin-top:24px;padding:26px;border:1px solid var(--apw-border);background:#fafbfd;border-radius:14px}
.apw-contact label{font-size:12px;font-weight:600;color:#526780}
.apw-contact input,.apw-contact textarea{width:100%;font-size:14px;background:#fff}
.apw-contact>p{font-size:11px;color:#718198;line-height:1.6}
#apw-comparison{width:min(1040px,calc(100vw - 40px));max-width:calc(100vw - 40px);padding:32px;border-radius:18px;border:1px solid #dce4ee;box-shadow:0 25px 90px #0f203533}
#apw-comparison h2,#apw-cart-drawer h2{font-size:28px;line-height:1.2;letter-spacing:-.7px;margin:0 44px 24px 0}
#apw-comparison>.eyebrow,#apw-cart-drawer>.eyebrow{font-size:10px;margin:0 0 10px}
.apw-dialog-close{position:absolute;right:20px;top:20px;display:flex;align-items:center;justify-content:center;width:36px;height:36px;padding:0;border:1px solid #dce4ee;border-radius:50%;background:#f3f6fa;color:#2d4165;font-size:17px;cursor:pointer}
#comparison-items{display:grid;grid-auto-columns:minmax(210px,1fr);grid-auto-flow:column;gap:16px;overflow-x:auto;padding:0 0 10px;scrollbar-width:thin;font-size:13px;color:#657994}
#comparison-items article{min-width:0;max-width:none;border:1px solid var(--apw-border);border-radius:12px;padding:20px;background:#f8fafc}
#comparison-items h3{font-size:15px;line-height:1.45;margin:0 0 18px;letter-spacing:-.2px;color:#253b5c}
#comparison-items p{font-size:13px;line-height:1.6;margin:0;padding:9px 0;border-bottom:1px solid #e4eaf2}
#comparison-items a{display:inline-flex;margin-top:18px;font-size:12px;font-weight:650;color:#2d4165;text-underline-offset:4px}
.apw-dialog-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;padding-top:22px;margin-top:14px;border-top:1px solid #e5ebf2}
.apw-dialog-actions .button{min-height:42px;padding:10px 18px;border-radius:7px;font-size:12px;cursor:pointer;border:1px solid var(--apw-border)}
.apw-dialog-actions .button-primary{background:var(--apw-navy);border-color:var(--apw-navy);color:#fff}
.site-footer .footer-legal a,.site-footer .studio-direct-link{text-decoration:none!important}
.site-footer .footer-legal a:hover,.site-footer .studio-direct-link:hover{text-decoration:underline!important;text-underline-offset:4px}
.site-footer .footer-bottom{display:flex;align-items:center;gap:16px 28px;flex-wrap:wrap;padding-block:20px}
.site-footer .footer-legal{margin-left:auto;display:flex;flex-wrap:wrap;align-items:center;gap:16px}
.site-footer .footer-credit{margin:0}.site-footer .footer-payments:empty{display:none}
.site-footer .studio-credit .studio-direct-link{display:inline-flex;align-items:center;gap:5px;font-size:10px;min-height:32px;white-space:nowrap}
.site-footer .studio-credit .studio-direct-link strong{font-size:10px;letter-spacing:.035em}
.apw-not-found{max-width:820px;padding-block:64px 72px;text-align:center}
.apw-not-found p{max-width:540px;margin:0 auto 24px;color:#657994;font-size:14px;line-height:1.7}
.apw-error-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:12px}
.apw-product .apw-buy-box .button{background:var(--apw-navy);color:#fff}
.apw-product .apw-buy-box .button:hover{background:var(--apw-orange)}
button:focus-visible,a:focus-visible{outline:2px solid #b46e28;outline-offset:3px}
@media(max-width:1100px){.apw-filters{grid-template-columns:repeat(4,minmax(0,1fr))}.apw-filters label:has(input[type=checkbox]),.apw-filters>a{padding-top:0;margin-top:0}.services-page .service-grid .service-card{grid-template-columns:100px minmax(0,1fr);gap:18px;padding:20px}.services-page .service-grid .service-card h2{font-size:20px}}
@media(max-width:900px){.demo-product-grid.product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.apw-brand-directory{grid-template-columns:repeat(3,minmax(0,1fr))}.demo-product-grid.apw-parts-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.site-footer .footer-legal{margin-left:0}}
@media(max-width:700px){.apw-page-shell,.apw-catalog-shell{padding-block:24px 32px}.apw-product.product-layout{padding-block:14px 24px;row-gap:20px}.demo-product-grid.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.product-grid .product-card .product-card-info{padding:11px}.product-grid .product-card .product-card-info h3{font-size:12px;line-height:1.45;min-height:3.9em}.product-grid .product-card .current-price{font-size:19px;gap:5px}.product-grid .product-card .current-price del{font-size:11px}.product-grid .product-card .product-card-action{min-height:40px;font-size:11px;padding:9px 5px}.product-grid .condition-badge{font-size:9px;padding:6px 7px;right:7px!important;top:7px!important}.product-grid .compare-heart{width:30px;height:30px;left:7px;top:7px}.apw-card-photo-prev,.apw-card-photo-next{width:28px;height:28px;font-size:15px}.apw-card-photo-prev{left:6px}.apw-card-photo-next{right:6px}.apw-card-photo-count{font-size:9px;right:7px;bottom:7px;padding:3px 6px}.apw-filters{grid-template-columns:repeat(2,minmax(0,1fr));padding:14px;gap:12px}.apw-filters .button{grid-column:1}.apw-filters>a{justify-self:start}.apw-brand-directory{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.apw-brand-directory .brand-tile{min-height:140px;padding:18px;gap:15px}.apw-brand-directory .brand-tile img{max-width:110px;height:36px}.services-page .service-grid .service-card{grid-template-columns:100px minmax(0,1fr);gap:18px;padding:18px}.services-page .service-card-copy{display:flex}.services-page .service-card .service-illustration{grid-row:auto;width:100%;height:auto}.services-page .service-grid .service-card h2{font-size:19px}.services-page .service-grid .service-card p{font-size:12px;line-height:1.6}.apw-account-page .woocommerce form.login{padding:20px}.apw-account-page .woocommerce-form-login__rememberme{display:inline-flex;align-items:center;gap:6px}.apw-page-shell .apw-contact{padding:20px}#apw-comparison{width:calc(100vw - 24px);max-width:calc(100vw - 24px);padding:24px 18px}#apw-comparison h2{font-size:24px}.apw-dialog-actions{justify-content:stretch}.apw-dialog-actions .button{flex:1}.site-footer .footer-bottom{align-items:flex-start;gap:14px}.site-footer .footer-bottom>small{width:100%}.site-footer .footer-legal{gap:13px}.site-footer .footer-credit{margin-left:auto}.apw-not-found{padding-block:40px 50px}.apw-product .product-details .price{letter-spacing:-1px}}
@media(prefers-reduced-motion:reduce){.product-card,.product-card-action{transition:none!important}}
.apw-catalog-shell>.breadcrumbs{margin-bottom:20px;font-size:11px;line-height:1.6}.apw-catalog-shell>.category-banner{margin-bottom:28px}.apw-related{padding-block:26px 36px}.apw-product-shell>.apw-related{width:100%;padding-inline:0}.apw-product-shell>.personal-help,.apw-product-shell>.home-faq{width:100%;padding-inline:0}.apw-sample-stars{font-size:11px;letter-spacing:1px;color:#9d6b28}.apw-catalog-shell>.eyebrow{margin:0 0 10px}.apw-catalog-shell>.category-banner .category-banner-copy p{font-size:13px;line-height:1.7}
.product-grid .product-card .product-brand{display:none}.product-grid .product-card .product-card-info{padding:12px}.product-grid{scroll-margin-top:140px}.apw-related .section-heading{margin-bottom:0}@media(max-width:700px){.product-grid{scroll-margin-top:135px}.product-grid .product-card .product-card-info{padding:11px}}
.product-grid .price-line{flex-wrap:wrap}.product-grid .compare-at-price{font-size:12px;color:#8391a5;font-weight:400;white-space:nowrap}.product-card .condition-open-box,.apw-product .apw-gallery-badge:not(.condition-sample),.apw-product .apw-condition{background:#2d4165;color:white;border-color:#2d4165}.apw-product .apw-condition:only-child{border-radius:6px}
.home-curated .product-track.product-grid{display:flex;gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:16px;scrollbar-width:thin;margin-top:24px}.home-curated .product-track.product-grid>.product-card{flex:0 0 calc((100% - 60px)/4);max-width:340px;height:auto;scroll-snap-align:start}.apw-comparison-empty{grid-column:1/-1;text-align:center;padding:34px 24px;border:1px dashed #cbd7e6;border-radius:12px;background:#f8fafc}.apw-comparison-empty h3{font-size:20px!important;margin-bottom:10px!important}.apw-comparison-empty p{max-width:530px;margin:auto!important;border:0!important}#comparison-items p small{display:block;font-size:10px;color:#7c8ba1;margin-bottom:3px;text-transform:uppercase;letter-spacing:.04em}#comparison-items p strong{display:block;font-size:13px;font-weight:600;color:#2d4165}@media(max-width:900px){.home-curated .product-track.product-grid>.product-card{flex-basis:calc((100% - 40px)/3)}}@media(max-width:700px){.home-curated .product-track.product-grid{gap:14px}.home-curated .product-track.product-grid>.product-card{flex-basis:72vw;max-width:310px}.apw-comparison-empty{padding:24px 16px}}
