/* Shared behavior for catalog and product templates. */
body.ast-commerce-page .asc-fab:not(.is-on),body.ast-commerce-page .asc-fab[hidden],body.ast-commerce-page [data-asc-open]:not(.asc-cart-has-items),body.ast-commerce-page [data-asc-open][hidden],body.ast-commerce-page .ast-favorite-tools[hidden],body.ast-commerce-page .ast-favorite-filter[hidden],body.ast-commerce-page .ast-commerce-dock[hidden],body.ast-commerce-page .ast-favorites-fab[hidden]{display:none!important}
body.ast-commerce-page summary,body.ast-commerce-page summary:focus,body.ast-commerce-page summary:focus-visible,body.ast-commerce-page summary:active{outline:none!important;box-shadow:none!important;-webkit-tap-highlight-color:transparent!important}
body.ast-commerce-page summary:focus-visible{color:#ff975c}
body.ast-commerce-page :is(a,button):focus:not(:focus-visible){outline:none!important;box-shadow:none!important}
body.ast-commerce-page :is(a,button,summary){-webkit-tap-highlight-color:transparent}
body.ast-commerce-page #ast-software,body.ast-commerce-page #ast-product-pilot{padding-top:86px;padding-bottom:100px}
body.ast-commerce-page #ast-nav-isolated{z-index:9999}
.ast-commerce-dock{position:fixed;right:16px;bottom:var(--asc-fab-bottom,90px);z-index:9990;display:flex;gap:10px;align-items:center;max-width:calc(100vw - 32px)}
body.ast-commerce-page .ast-commerce-dock .asc-fab,body.ast-commerce-page .ast-favorites-fab{position:static;transform:none;display:inline-flex;justify-content:center;align-items:center;gap:8px;height:50px;padding:0 17px;border-radius:999px;border:1px solid #ff5700;background:#ff5700;color:#fff;font:700 14px/1 Inter,Arial,sans-serif;box-shadow:0 8px 24px #0005;cursor:pointer;white-space:nowrap;transition:background .2s,color .2s}
body.ast-commerce-page .ast-favorites-fab{background:#191a20;color:#ff975c;border-color:#9f4b25}
body.ast-commerce-page .ast-favorites-fab:hover{background:#352017;border-color:#ff5700}
.ast-commerce-dock b{display:inline-flex;justify-content:center;align-items:center;min-width:23px;height:23px;padding:0 5px;border-radius:99px;background:#fff;color:#d84a00;font-size:12px}
body.ast-commerce-page .ast-favorites-fab b{background:#ff570024;color:#ffb28c}
.ast-favorites-fab svg{width:20px;height:20px;flex-shrink:0;fill:currentColor}
body.ast-commerce-page .asc-card .ast-favorite{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;min-height:40px;margin:9px 0 0;padding:8px;border:1px solid rgba(160,170,184,.24);border-radius:8px;background:transparent;color:#aeb8c7;font:600 12px/1.3 Inter,Arial,sans-serif;letter-spacing:0;cursor:pointer;box-shadow:none;text-transform:none}
body.ast-commerce-page .ap-order .ast-favorite{margin:12px 0;min-height:46px;font-size:14px}
body.ast-commerce-page .ast-favorite svg,body.ast-commerce-page .ast-favorite-filter svg{display:block;flex:0 0 18px;width:18px;height:18px}
body.ast-commerce-page .asc-card .ast-favorite:hover{color:#ff975c;border-color:#ff5700;background:#ff570012}
body.ast-commerce-page .asc-card .ast-favorite.is-favorite{color:#ff975c;border-color:#b65a25;background:#ff57001a}
body.ast-commerce-page .ast-favorite.is-favorite>svg{fill:currentColor}
.ast-favorite-tools{display:flex;align-items:center;gap:12px;margin:16px 0}
body.ast-commerce-page .ast-favorite-filter{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:10px 16px;border:1px solid #544036;border-radius:12px;background:#18191e;color:#d3d8e0;font:700 14px/1.3 Inter,Arial,sans-serif;cursor:pointer;box-shadow:none}
body.ast-commerce-page .ast-favorite-filter b{display:inline-flex;align-items:center;justify-content:center;min-width:23px;height:23px;padding:0 5px;border-radius:8px;background:#ff5c001f;color:#ff975c;font-size:12px}
body.ast-commerce-page .ast-favorite-filter.is-favorite{color:#ff975c;border-color:#b65a25;background:#ff57001a}
body.ast-commerce-page .ast-favorite-filter.is-favorite>svg{fill:currentColor}
.ast-favorites-modal .asc-item-name a{color:inherit;text-decoration:none}
.ast-favorites-modal .asc-item-name a:hover{color:#ff975c}
.ast-favorites-note{color:#b4bbc6;margin:0 0 18px;font:400 14px/1.5 Inter,Arial,sans-serif}
.ast-favorites-add,.ast-cart-groups button{min-height:38px;padding:8px 14px;border:1px solid #8e4a2b;border-radius:8px;color:#ff975c;background:#ff57000d;font:700 13px/1.3 Inter,Arial,sans-serif;cursor:pointer}
.ast-favorites-add{margin-top:10px}.ast-favorites-add:hover,.ast-cart-groups button:hover{background:#ff57002e}
.ast-cart-groups{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 20px}.ast-cart-groups button[aria-pressed="true"]{background:#ff5700;color:#fff;border-color:#ff5700}
.ast-favorites-modal .asc-items{list-style:none;padding:0}.ast-favorites-modal .asc-item{align-items:center}.ast-favorites-modal .asc-item>img{object-fit:contain}
body.ast-commerce-page .ast-commerce-dock button:focus-visible,body.ast-commerce-page .ast-favorite:focus-visible{outline:none!important;box-shadow:inset 0 0 0 2px #ffd1b5}
@media(max-width:580px){.ast-commerce-dock{right:12px;max-width:calc(100vw - 24px);gap:8px}body.ast-commerce-page .ast-commerce-dock .asc-fab,body.ast-commerce-page .ast-favorites-fab{height:44px;padding:0 12px;font-size:12px;gap:6px}.ast-commerce-dock b{min-width:21px;height:21px;font-size:11px}.ast-favorites-fab svg{width:18px;height:18px}body.ast-commerce-page .asc-card .ast-favorite{font-size:11px;min-height:40px}body.ast-commerce-page .ap-order .ast-favorite{font-size:13px;min-height:44px}}

body.ast-commerce-page .ap-actions .ast-favorite-hero{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:11px 16px;border:1px solid #544036;border-radius:9px;background:#16171c;color:#b8c1cf;font:700 13px/1.3 Inter,Arial,sans-serif;cursor:pointer}body.ast-commerce-page .ap-actions .ast-favorite-hero.is-favorite{color:#ff975c;border-color:#b65a25;background:#ff57001a}
