:root { --customer-green: #087b46; --customer-ink: #253440; --customer-border: #e5e8e9; --customer-muted: #707786; --customer-card-shadow: 0 3px 12px rgb(18 60 48 / 5%); }
html { overscroll-behavior-y: contain; }
body { background: #f7f8fa; color: var(--customer-ink); letter-spacing: 0; font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.5; }
#catalogContent { max-width: 1040px; margin: auto; padding: 0 24px calc(var(--customer-floating-height, 76px) + 24px + env(safe-area-inset-bottom)); }
#catalogContent .container { display: flex; flex-direction: column; max-width: none; padding: 0 !important; margin: 0; }
#pullToRefreshIndicator { position: relative; left: auto; top: auto; width: calc(100% + 48px); height: 0; margin: 0 -24px; padding: 0; overflow: hidden; transform: none; opacity: 1; visibility: hidden; z-index: auto; border: 0; border-radius: 0; background: #f5fcf7; box-shadow: none; color: var(--customer-ink); transition: height 180ms ease; }
#pullToRefreshIndicator.is-visible { height: var(--pull-height, 176px); visibility: visible; transform: none; transition: none; }
.pull-refresh-panel { min-height: 176px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 20px; border-bottom: 1px solid #cfe8d5; text-align: center; }
.pull-refresh-panel__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #e2eee6; color: #49755b; font-size: 30px; }
.pull-refresh-panel__icon i { transform: rotate(var(--pull-rotation, 0deg)); }
.pull-refresh-panel strong { font-size: 20px; line-height: 1.3; }
#pullToRefreshIndicator.is-ready .pull-refresh-panel__icon { background: var(--customer-green); color: white; }
@media (prefers-reduced-motion: reduce) {
  #pullToRefreshIndicator { transition: none; }
}
body .delivery-topbar { position: relative; top: auto; width: 100%; gap: 12px; padding: 8px 0; margin: 0 0 8px; background: transparent; border: 0; border-radius: 0; box-shadow: none; transform: none !important; }
body .delivery-topbar::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: var(--customer-border); pointer-events: none; }
.delivery-topbar__left { flex: 1; min-width: 0; gap: 10px; cursor: default; }
.delivery-topbar__avatar { display: block; width: 40px; height: 40px; border: 1px solid var(--customer-border); }
.delivery-topbar__content { padding-left: 0; position: relative; display: block; min-width: 0; }
.delivery-topbar__content::before { display: none; }
.delivery-topbar__label { font-size: 12px; text-transform: none; color: #68727d; letter-spacing: 0; white-space: nowrap; margin: 0; }
.delivery-topbar__label .delivery-topbar__edit-icon { display: none; }
.customer-header-name { font-size: 16px; color: var(--customer-ink); white-space: normal; overflow-wrap: anywhere; font-weight: 700; line-height: 1.35; margin-top: 2px; }
.delivery-topbar__actions { display: flex; flex: 0 0 88px; }
#cartTrigger.customer-header-cart { display: grid; place-items: center; position: relative; width: 44px; height: 44px; min-width: 44px; padding: 0; background: transparent; border: 0; color: var(--customer-ink); box-shadow: none; }
#cartTrigger.customer-header-cart i { font-size: 24px; }
#cartTrigger .cart-trigger__text { display: none; }
#cartTrigger.customer-header-cart .badge { position: absolute; top: 0; right: 0; font-size: 10px; min-width: 16px; padding: 3px; }
/* App-level gesture policy: scroll in either direction, without pinch zoom. */
html { touch-action: pan-x pan-y; }
button, label, input, textarea, select { touch-action: manipulation; }
.customer-menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--customer-ink); font-size: 26px; }
.customer-menu-toggle:hover, .customer-menu-toggle[aria-expanded="true"] { background: #edf0f3; }
#customerMenuDrawer { width: min(360px, calc(100vw - 24px)); background: white; color: var(--customer-ink); }
#customerMenuDrawer .offcanvas-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--customer-border); }
.customer-menu-drawer h2 { margin: 0; font-size: 20px; font-weight: 700; }
.customer-menu-close { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: var(--customer-ink); }
.customer-menu-drawer .offcanvas-body { padding: 8px 16px 24px; overflow-y: auto; scrollbar-gutter: stable; overscroll-behavior-y: contain; }
@supports not (scrollbar-gutter: stable) {
  .customer-menu-drawer .offcanvas-body { overflow-y: scroll; }
}
.customer-menu-links { padding-bottom: 8px; border-bottom: 1px solid var(--customer-border); }
.customer-menu-links button { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 64px; padding: 10px 8px; border: 0; border-radius: 4px; background: transparent; color: var(--customer-ink); text-align: left; font-weight: 600; }
.customer-menu-links button > i { font-size: 20px; }
.customer-menu-links small { display: block; font-size: 12px; font-weight: 400; color: var(--customer-muted); margin-top: 2px; }
.customer-menu-category { padding-top: 18px; }
.customer-menu-category h3 { margin: 0 0 6px; font-size: 16px; font-weight: 750; }
.customer-menu-category button { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 44px; padding: 8px 12px; border: 0; border-radius: 4px; background: transparent; color: var(--customer-ink); text-align: left; font-size: 14px; }
.customer-menu-category button > i { font-size: 12px; color: var(--customer-muted); }
.customer-menu-category .customer-menu-category-toggle { position: relative; isolation: isolate; overflow: hidden; min-height: 76px; padding: 12px 16px; border: 1px solid var(--customer-border); border-radius: 8px; background: #f2f6f3; font-size: 17px; font-weight: 750; transition: background-color 180ms ease, border-color 180ms ease; }
#menu-category-cat .customer-menu-category-toggle { background: #f0f6f8; }
#menu-category-newborn .customer-menu-category-toggle { background: #faf1f4; }
.customer-menu-category-toggle .customer-menu-pet-art { position: absolute; z-index: -1; right: 38px; bottom: -8px; width: 90px; height: 90px; opacity: .9; pointer-events: none; transition: transform 220ms ease, opacity 220ms ease; }
.customer-menu-category .customer-menu-category-toggle:hover, .customer-menu-category .customer-menu-category-toggle[aria-expanded="true"] { border-color: #a8b7bf; }
.customer-menu-category-toggle:hover .customer-menu-pet-art, .customer-menu-category-toggle[aria-expanded="true"] .customer-menu-pet-art { transform: translateY(-4px) rotate(-4deg) scale(1.04); opacity: 1; }
.customer-menu-category-toggle[aria-expanded="true"] > i { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) {
  .customer-menu-category-toggle, .customer-menu-category-toggle .customer-menu-pet-art { transition: none !important; }
}
.customer-menu-links button:hover, .customer-menu-category button:hover, .customer-menu-category button[aria-pressed="true"] { background: #edf0f3; }
.mobile-hero-banner, #categoryCardsWrap, #categorySearchRail, #subCategoryChipsWrap, #favoriteShelf, .pnotes, .logo-center, #toggleOutOfStock, #ordersTrigger, #mobileDockIsland { display: none !important; }
#searchSection { order: -2; position: static !important; width: 100% !important; max-width: none !important; margin: 0 0 8px !important; padding: 0 !important; transform: none !important; }
body #searchSection .dock-search-card { width: 100%; margin: 4px 0; background: white; border: 1px solid var(--customer-border); border-radius: 8px; box-shadow: none; padding: 0; }
body #searchSection .dock-search-input { height: 50px; font-size: 16px; padding-left: 42px; border: 0; background: transparent; }
#searchSection .dock-search-input-wrap::before { content: '\F52A'; font-family: bootstrap-icons; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-size: 20px; line-height: 1; pointer-events: none; }
.shop-shortcuts { display: none; }
body.is-catalog-search .shop-categories, body.is-catalog-search #shopSubcategories, body.is-catalog-search #shopBrowseTitle, body.is-catalog-search #shopCategoryTitle, body.is-catalog-search #runningLow { display: none !important; }
.catalog-search-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 16px; }
.catalog-search-heading h2 { min-width: 0; margin: 0; font-size: 20px; font-weight: 700; overflow-wrap: anywhere; }
.catalog-search-heading button { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; min-height: 44px; padding: 8px 0 8px 12px; border: 0; background: transparent; color: var(--customer-ink); font-size: 14px; }
body:not([data-customer-view="shop"]) .catalog-search-heading { display: none; }
body:not(.is-catalog-search) #searchProductFilters, body:not([data-customer-view="shop"]) #searchProductFilters, #results .search-product-hidden { display: none !important; }
.shop-shortcuts button { display: flex; align-items: center; gap: 10px; min-height: 72px; padding: 12px; background: white; border: 1px solid var(--customer-border); border-radius: 8px; color: var(--customer-ink); font-weight: 650; text-align: left; }
.shop-shortcuts button > i:first-child { color: #626e7a; font-size: 22px; }
.shop-shortcuts button > i:last-child { margin-left: auto; font-size: 16px; }
.shop-shortcuts small { display: block; color: #69766f; font-weight: 400; font-size: 12px; }
.shop-categories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.shop-categories button, .shop-subcategories button, .customer-filters button { background: white; color: var(--customer-ink); border: 1px solid var(--customer-border); border-radius: 8px; min-height: 46px; padding: 10px 14px; font-weight: 600; }
.shop-categories button { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; justify-content: flex-end; min-height: 110px; padding: 14px 20px 14px 100px; gap: 0; background: #f2f6f3; font-size: 19px; transition: background-color 180ms ease, border-color 180ms ease; }
.shop-categories button[data-pet="cat"] { background: #f0f6f8; }
.shop-categories button[data-pet="newborn"] { background: #faf1f4; }
.shop-categories .category-pet-icon { position: absolute; z-index: -1; left: 4px; bottom: -3px; width: 112px; height: 112px; opacity: .9; pointer-events: none; transition: transform 220ms ease, opacity 220ms ease; }
.shop-categories button > span:last-of-type { position: relative; overflow-wrap: anywhere; }
.shop-categories button > i { position: absolute; right: 8px; top: 6px; color: var(--customer-green); font-size: 14px; opacity: 0; }
.shop-categories button[aria-pressed="true"] { border-color: var(--customer-green); box-shadow: inset 0 0 0 1px var(--customer-green); }
.shop-categories button[aria-pressed="true"] > i { opacity: 1; }
.shop-categories button:hover .category-pet-icon, .shop-categories button[aria-pressed="true"] .category-pet-icon { transform: translateY(-4px) rotate(-4deg) scale(1.04); opacity: 1; }
.shop-categories button:hover, .shop-categories button[aria-pressed="true"] { border-color: #a8b7bf; }
.shop-categories button[aria-pressed="true"] { border-color: var(--customer-green); }
.running-low { display: block; width: 100%; margin: 18px 0 0; padding: 16px; border: 1px solid #d7e6dc; border-radius: 8px; background: #f1f7f3; color: var(--customer-ink); text-align: left; }
.running-low:hover { border-color: #a5c9b2; background: #edf5ef; }
.running-low-heading { display: flex; align-items: center; gap: 12px; width: 100%; padding: 0; border: 0; background: transparent; color: inherit; text-align: left; }
.running-low-heading > i:first-child { display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; background: var(--customer-green); border-radius: 50%; color: #e0eee5; font-size: 22px; }
.running-low-heading > i:last-child { margin-left: auto; color: var(--customer-green); }
.running-low-heading strong { display: block; font-size: 18px; }
.running-low-heading small { display: block; font-size: 13px; color: #63746a; line-height: 1.4; }
.running-low-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid #d7e6dc; font-size: 14px; }
.running-low-footer small { display: block; color: var(--customer-muted); font-size: 12px; }
.running-low-cta { min-width: 100px; min-height: 40px; padding: 9px 14px; border: 1px solid #b7c9bf; border-radius: 6px; background: white; font-size: 14px; font-weight: 650; white-space: nowrap; color: var(--customer-green); }
.running-low-cta:hover:not(:disabled) { background: #e0eee5; border-color: var(--customer-green); }
.running-low-cta:disabled { opacity: .6; }
.shop-browse-title { margin: 22px 0 0; font-size: 24px; font-weight: 750; }
body:not([data-customer-view="shop"]) .running-low, body:not([data-customer-view="shop"]) .shop-browse-title { display: none; }
@media (prefers-reduced-motion: reduce) {
  .shop-categories button, .shop-categories .category-pet-icon { transition: none !important; }
}
.shop-subcategories { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0 18px; scrollbar-width: none; touch-action: pan-x; overscroll-behavior-x: contain; }
.shop-subcategories::-webkit-scrollbar { display: none; }
.shop-subcategories button { flex-shrink: 0; min-height: 38px; padding: 8px 12px; font-size: 12px; }
.shop-subcategories button[aria-pressed="true"], .customer-filters button[aria-pressed="true"] { background: #edf0f3; border-color: #77838f; color: var(--customer-ink); }
.shop-category-title { font-size: 24px; font-weight: 800; margin: 16px 0; }
body.is-category-frame #results, body.has-category-search-rail #results { margin-left: 0; padding-left: 0; }
#results { display: block; max-width: none; padding: 0; }
.category_result { margin: 0 0 24px; padding: 0; min-width: 0; border: 0; background: transparent; }
.category-result-header { padding: 0 0 8px; }
.category-result-header h2 { font-size: 20px; font-weight: 700; line-height: 1.3; letter-spacing: 0; }
#results ul.list-group { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; border: 0; background: transparent; overflow: visible; }
#results li.list-group-item { border: 1px solid var(--customer-border); border-radius: 8px; background: white; padding: 14px; margin-bottom: 0; box-shadow: var(--customer-card-shadow); }
#results .variant-image-frame { display: block; position: relative; flex-shrink: 0; width: 80px; aspect-ratio: 1.09 / 1; overflow: hidden; background: white; border-radius: 4px; }
#results .variant-media { width: 80px; flex: 0 0 80px; min-width: 0; }
#results .variant-life-stage { padding: 4px 3px; background: #f0f2f4; color: #53616a; font-size: 11px; line-height: 1.4; text-align: center; overflow-wrap: anywhere; }
#results .thumb { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 4px; background: white; }
#results li > .d-flex { flex-wrap: wrap; }
#results li > .d-flex > .flex-grow-1 { flex-basis: calc(100% - 98px); min-width: 0; }
#results .variant_name { font-size: 14px; color: #5c6862; line-height: 1.4; }
#results .variant-description { line-height: 1.4; overflow-wrap: anywhere; }
#results .variant-description .stock-badge { margin-left: 4px; vertical-align: middle; }
#results .variant-product-name { font-size: 14px; font-weight: 750; line-height: 1.35; color: var(--customer-ink); overflow-wrap: anywhere; margin-bottom: 3px; }
#results .item_price { font-size: 18px; font-weight: 750; font-variant-numeric: tabular-nums; color: var(--customer-ink); margin: 5px 0; }
#results .row-actions { margin-left: auto; }
#results .btn-add { min-height: 32px; height: 32px; padding: 4px 12px; line-height: 22px; min-width: 92px; background: white; color: var(--customer-ink); border-color: #bdc6ce; border-radius: 6px; }
#results .btn-add:hover:not(:disabled), .purchase-action .btn-success:hover { background: #edf0f3; border-color: #77838f; color: var(--customer-ink); }
.purchase-action .btn-success { min-height: 32px; height: 32px; padding: 4px 12px; font-size: 14px; line-height: 22px; border-radius: 6px; background: white; border-color: #bdc6ce; color: var(--customer-ink); }
#results .stock-badge { border-radius: 6px; }
.customer-floating-bars { position: fixed; bottom: calc(12px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); width: min(992px, calc(100% - 32px)); z-index: 1010; display: flex; flex-direction: column; gap: 8px; }
.customer-order-banner { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 70px; padding: 12px 16px; border: 0; border-radius: 8px; background: #2563eb; color: white; box-shadow: 0 4px 20px #193c7826; text-align: left; }
.customer-order-banner:hover { background: #1d4ed8; }
.customer-order-banner > i { flex-shrink: 0; font-size: 24px; }
.customer-order-banner > i:last-child { margin-left: auto; font-size: 20px; }
.customer-order-banner-copy { min-width: 0; }
.customer-order-banner-copy strong { display: block; font-size: 14px; line-height: 1.4; font-weight: 650; overflow-wrap: anywhere; }
.customer-order-banner-copy small { display: block; margin-top: 3px; font-size: 12px; line-height: 1.4; color: #e2ebff; overflow-wrap: anywhere; }
.customer-cart-bar { width: 100%; display: flex; align-items: center; gap: 14px; min-height: 62px; padding: 12px 18px; background: var(--customer-green); color: white; border: 0; border-radius: 8px; box-shadow: 0 4px 20px #183d2520; font-size: 14px; font-weight: 700; }
.customer-cart-bar > i { font-size: 26px; }
.customer-cart-bar > span:last-child { margin-left: auto; border-left: 1px solid #ffffff60; padding-left: 16px; white-space: nowrap; }
.cart-active-order-notice { margin-bottom: 16px; padding: 16px; border-bottom: 1px solid #ccd9f3; background: #eff5ff; color: var(--customer-ink); }
.cart-active-order-notice strong { display: block; font-size: 16px; }
.cart-active-order-notice p { margin: 6px 0 12px; font-size: 14px; line-height: 1.5; }
.cart-active-order-notice__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cart-active-order-notice__actions .btn { font-size: 14px; }
body #mobileDock, body #mobileDockIsland { display: none !important; }
.variant-revealed { animation: variant-reveal 360ms ease-out; }
@keyframes variant-reveal {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .variant-revealed { animation: none; }
}
body[data-customer-view="orders"] .shop-shortcuts, body[data-customer-view="orders"] .shop-categories, body[data-customer-view="orders"] .shop-subcategories, body[data-customer-view="orders"] .shop-category-title,
body[data-customer-view="buy-again"] .shop-shortcuts, body[data-customer-view="buy-again"] .shop-categories, body[data-customer-view="buy-again"] .shop-subcategories,
body[data-customer-view="store"] .shop-shortcuts, body[data-customer-view="store"] .shop-categories, body[data-customer-view="store"] .shop-subcategories, body[data-customer-view="store"] .shop-category-title { display: none; }
.customer-view-heading { display: flex; gap: 16px; align-items: center; margin-bottom: 20px; }
.customer-view-heading h2 { flex: 1; margin: 0; font-size: 24px; font-weight: 800; }
.customer-view-heading button, .customer-back { flex: 0 0 40px; width: 40px; height: 40px; border: 0; background: transparent; color: var(--customer-ink); font-size: 24px; }
.dock-panel-card.my-orders-panel { background: transparent; box-shadow: none; border: 0; padding: 0; border-radius: 0; }
.my-orders-panel__header .dock-panel-title { flex: 1; font-size: 24px; font-weight: 800; }
.customer-filters { display: flex; gap: 10px; margin: 18px 0; overflow-x: auto; }
.customer-filters button { flex: 1; white-space: nowrap; }
.customer-search { display: flex; align-items: center; gap: 12px; background: white; border: 1px solid var(--customer-border); padding: 12px 16px; border-radius: 8px; }
.customer-search input { width: 100%; min-width: 0; border: 0; background: transparent; outline: none; }
.customer-search:focus-within { outline: 2px solid var(--customer-green); }
.customer-order { border: 1px solid var(--customer-border); background: white; border-radius: 8px; padding: 20px; margin-bottom: 16px; }
.my-orders-list { border: 0; background: transparent; }
.customer-order-top, .customer-order-total { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.customer-order-top > strong { font-size: 19px; overflow-wrap: anywhere; }
.customer-order-date { color: #68746e; margin: 6px 0 16px; font-size: 14px; }
.customer-order-total { border-top: 1px solid var(--customer-border); margin: 14px 0; padding-top: 14px; font-weight: 700; }
.customer-order-total strong { font-size: 22px; }
.customer-order-preview { display: flex; align-items: center; gap: 12px; margin: 16px 0; }
.customer-order-thumbnails { display: flex; gap: 4px; flex: 0 0 auto; }
.customer-order-thumbnail { display: grid; place-items: center; width: 48px; height: 64px; border: 1px solid var(--customer-border); border-radius: 4px; overflow: hidden; background: white; }
.customer-order-thumbnail img { width: 100%; height: 100%; object-fit: contain; }
.customer-order-preview-label { display: flex; flex-direction: column; min-width: 0; font-size: 14px; overflow-wrap: anywhere; }
.customer-order-preview-label span { color: var(--customer-muted); font-size: 13px; }
.customer-order-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; align-items: start; }
.customer-order-actions > a.btn { margin-top: 0 !important; }
.customer-order-actions .btn { min-height: 42px; padding: 8px 6px; font-size: 14px; }
.customer-order-actions > .customer-order-details { display: contents; }
.customer-order-actions .order-detail-body { grid-column: 1 / -1; grid-row: 2; }
.order-progress { display: flex; padding: 0; margin: 20px 0; list-style: none; }
.order-progress li { flex: 1; text-align: center; position: relative; color: #77857d; font-size: 13px; }
.order-progress li::before { content: ''; position: absolute; top: 15px; left: -50%; width: 100%; height: 2px; background: #dfe7e2; }
.order-progress li:first-child::before { display: none; }
.order-progress li.is-reached::before { background: var(--customer-green); }
.order-progress li span { position: relative; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin: 0 auto 6px; border-radius: 50%; background: #edf1ee; border: 3px solid white; z-index: 1; }
.order-progress li.is-reached { color: var(--customer-green); }
.order-progress li.is-reached span { background: var(--customer-green); color: white; }
.order-progress li[aria-current] span { outline: 2px solid #8dceb0; }
.customer-order-details summary { cursor: pointer; text-align: center; border: 1px solid var(--customer-green); color: var(--customer-green); padding: 10px; border-radius: 8px; font-weight: 700; }
.order-detail-body { padding-top: 12px; }
.order-detail-body ul { padding: 0; list-style: none; }
.order-detail-body li { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--customer-border); padding: 10px 0; font-size: 14px; }
.order-detail-body li strong { white-space: nowrap; }
.purchase-item { position: relative; display: grid; grid-template-columns: 86px minmax(0, 1fr) auto; gap: 16px; padding: 18px; border: 1px solid var(--customer-border); border-radius: 8px; background: white; margin-bottom: 12px; }
.purchase-item > img { width: 86px; height: 132px; object-fit: contain; }
.purchase-copy { min-width: 0; color: #69746e; font-size: 14px; }
.purchase-copy h3 { font-size: 17px; font-weight: 700; color: var(--customer-ink); margin: 0 0 4px; }
.purchase-copy small { display: block; margin-top: 4px; }
.purchase-copy strong { display: block; color: var(--customer-ink); font-size: 21px; margin: 8px 0 4px; }
.purchase-stock { display: inline-block; background: #e5f6eb; color: #087b46; border-radius: 6px; padding: 4px 10px; font-size: 13px; }
.purchase-stock.is-low { background: #fff1d4; color: #93600c; }
.purchase-stock.is-out { background: #edf0f2; color: #707b83; }
.purchase-action { align-self: end; }
html:has(#imageModal[aria-modal="true"]) { overflow-y: hidden; }
#imageModal { overflow: hidden; padding: 0 !important; }
#imageModal .modal-dialog { display: flex; align-items: flex-end; width: 100%; max-width: none; height: 100%; max-height: 100%; margin: 0; overflow: hidden; }
#imageModal.fade .modal-dialog { transform: translateY(100%); transition: transform 280ms ease-out; }
#imageModal.show .modal-dialog { transform: translateY(0); }
#imageModal .variant-modal-card { height: auto; max-height: 90vh; max-height: 90dvh; background: #fff; color: var(--customer-ink); border: 0; border-radius: 8px 8px 0 0; overflow: hidden; max-width: 600px;
    margin: 0 auto;}
#imageModal .modal-body { min-height: 0; padding-top: 16px !important; overflow-x: hidden; overflow-y: auto; overscroll-behavior-y: contain; }
@media (prefers-reduced-motion: reduce) {
  #imageModal.fade .modal-dialog { transition: none; }
}
#imageModal .variant-modal-close { position: absolute; right: 12px; top: 12px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; background: #fff; color: var(--customer-ink); border: 1px solid var(--customer-border); padding: 0; border-radius: 50%; box-shadow: 0 1px 8px #0002; }
#imageModal #modalImg { display: block; width: 100%; aspect-ratio: 1.09 / 1; object-fit: contain; max-height: 50vh !important; max-height: 50dvh !important; background: #fff; }
#imageModal .variant-modal-image-frame { position: relative; width: calc(100% - 32px); margin: 0 16px; aspect-ratio: 1.09; max-height: 50vh; max-height: 50dvh; overflow: hidden; background: #fff; }
#imageModal .variant-modal-image-frame #modalImg { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; margin: 0; }
#imageModal #modalImagePreview { display: none; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
#imageModal .variant-modal-image-frame[data-image-state="preview"] #modalImagePreview { display: block; }
.variant-modal-image-skeleton, .variant-thumb-skeleton { display: none; place-items: center; position: absolute; inset: 0; overflow: hidden; background: #e8ebee; border-radius: 4px; }
.variant-modal-image-skeleton > span, .variant-thumb-skeleton > span { position: relative; z-index: 1; color: #626d79; font-size: 14px; font-weight: 500; }
.variant-modal-image-skeleton::after, .variant-thumb-skeleton::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 20%, #ffffffb3 50%, transparent 80%); transform: translateX(-100%); animation: modal-image-shine 1.6s linear infinite; }
.variant-modal-image-frame[data-image-state="loading"] .variant-modal-image-skeleton { display: grid; }
#results .variant-image-frame[data-image-state="loading"] .variant-thumb-skeleton, #results .variant-image-frame[data-image-state="error"] .variant-thumb-skeleton { display: grid; }
#results .variant-thumb-skeleton { border-radius: 0; }
#results .variant-thumb-skeleton > span { padding: 4px; font-size: 12px; text-align: center; }
#results .variant-image-frame[data-image-state="loading"] img, #results .variant-image-frame[data-image-state="error"] img { visibility: hidden; }
#results .variant-image-frame[data-image-state="error"] .variant-thumb-skeleton::after { animation: none; opacity: 0; }
@keyframes modal-image-shine { to { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .variant-modal-image-skeleton::after, .variant-thumb-skeleton::after { animation: none; opacity: 0; } }
.variant-modal-image-frame:not([data-image-state="loaded"]) #modalImg { visibility: hidden; }
.variant-modal-image-error { display: none; position: absolute; inset: 0; align-items: center; justify-content: center; color: #707786; background: #f3f5f6; font-size: 14px; }
.variant-modal-image-frame[data-image-state="error"] .variant-modal-image-error { display: flex; }
#imageModal .variant-modal-details { padding: 16px; }
#imageModal #modalCaption { font-size: 22px; font-weight: 700; margin: 0 0 6px; overflow-wrap: anywhere; }
#imageModal .variant-description { font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; }
#imageModal .variant-description .stock-badge { margin-left: 4px; vertical-align: middle; }
#imageModal .item_price { font-size: 20px; font-weight: 700; margin: 10px 0; }
#imageModal .row-actions { flex-shrink: 0; margin: 0; padding: 12px 16px; padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid #e4e8e6; justify-content: stretch; }
#imageModal .row-actions .btn-add { width: 100%; min-height: 40px; border-radius: 6px; background: var(--customer-green); color: #fff; }
#imageModal .row-actions .btn-add:disabled { background: #e4e8e6; color: #69747b; }
#results .row-actions .btn-add, #imageModal .row-actions .btn-add { font-size: 16px !important; font-weight: 650; }
#results .row-actions .btn-add i, #imageModal .row-actions .btn-add i { font-size: 18px; }
#imageModal .row-actions .customer-qty { width: 100%; margin: 0; }
.customer-qty { display: flex; align-items: center; border: 1px solid #bdc6ce; border-radius: 8px; height: 44px; width: 126px; background: white; }
.customer-qty button { width: 42px; height: 42px; background: transparent; border: 0; color: var(--customer-ink); }
.customer-qty span { flex: 1; text-align: center; font-weight: 700; }
.customer-empty { padding: 32px 16px; text-align: center; color: #68746e; }
.btn-success { background: var(--customer-green); border-color: var(--customer-green); }
body .cart-drawer__panel { width: min(100%, 620px); max-width: 100%; padding: 0; background: #f8faf9; height: 100dvh; display: flex; flex-direction: column; }
.checkout-sending-panel[hidden] { display: none !important; }
.cart-drawer.is-order-sending .cart-drawer__panel { background: white; }
.cart-drawer.is-order-sending .cart-drawer__panel > :not(#checkoutSendingPanel) { display: none !important; }
.checkout-sending-panel { flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: safe center; gap: 16px; padding: 32px 24px calc(32px + env(safe-area-inset-bottom, 0px)); overflow-y: auto; text-align: center; outline: none; animation: checkout-send-enter 240ms ease-out both; }
.checkout-send-art { flex: 0 0 auto; width: min(280px, 100%); height: auto; }
.checkout-sending-panel h2 { max-width: 340px; margin: 0; font-size: 22px; line-height: 1.35; font-weight: 750; color: var(--customer-ink); overflow-wrap: anywhere; }
#checkoutSendingTitle span { display: block; }
.checkout-sending-panel p { max-width: 340px; margin: 0; font-size: 15px; line-height: 1.5; color: var(--customer-muted); }
.checkout-send-receipt { animation: checkout-send-receipt 2400ms ease-in-out infinite; }
.checkout-send-bag { transform-box: fill-box; transform-origin: center bottom; animation: checkout-send-bag 2400ms ease-in-out infinite; }
.checkout-send-check { opacity: 0; }
.checkout-sending-panel[data-stage="saved"] .checkout-send-check { opacity: 1; }
.checkout-sending-panel[data-stage="saved"] .checkout-send-receipt { display: none; }
.checkout-sending-panel[data-stage="saved"] .checkout-send-bag { animation: none; }
.checkout-sending-dots { display: flex; gap: 6px; height: 12px; margin-top: 4px; }
.checkout-sending-dots span { width: 7px; height: 7px; border-radius: 50%; background: #7e8b93; animation: checkout-send-dot 1200ms ease-in-out infinite; }
.checkout-sending-dots span:nth-child(2) { animation-delay: 150ms; }
.checkout-sending-dots span:nth-child(3) { animation-delay: 300ms; }
@keyframes checkout-send-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes checkout-send-receipt { 0%, 15% { opacity: 0; transform: translateX(-12px); } 30% { opacity: 1; } 65% { opacity: 1; transform: translateX(64px); } 85%, 100% { opacity: 0; transform: translateX(92px); } }
@keyframes checkout-send-bag { 0%, 60%, 100% { transform: translateY(0); } 75% { transform: translateY(-4px); } }
@keyframes checkout-send-dot { 0%, 70%, 100% { opacity: .35; transform: translateY(0); } 35% { opacity: 1; transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) {
  .checkout-sending-panel, .checkout-send-receipt, .checkout-send-bag, .checkout-sending-dots span { animation: none; }
}
.cart-view-heading { flex-shrink: 0; padding: calc(16px + env(safe-area-inset-top)) 20px 16px; margin: 0; background: white; border-bottom: 1px solid var(--customer-border); }
body .cart-drawer__body { flex: 1; min-height: 0; padding: 16px 20px; overflow-y: auto; }
body .cart-drawer__footer { flex-shrink: 0; position: static; background: white; border-top: 1px solid var(--customer-border); padding: 12px 20px calc(12px + env(safe-area-inset-bottom)) !important; }
.cart-step-footer { align-items: center; margin-top: 0 !important; }
.customer-footer-total { flex: 0 0 110px; }
.customer-footer-total small { display: block; color: #66736e; }
.customer-footer-total strong { font-size: 22px; }
#customerProceedCheckout { flex: 1; min-height: 52px; font-weight: 700; font-size: 15px; background: #2563eb; border-color: #2563eb; color: white; }
#customerProceedCheckout:hover:not(:disabled) { background: #1d4ed8; border-color: #1d4ed8; }
.cart-drawer:not(.is-checkout-review) #btnCheckout { display: none !important; }
.cart-drawer:not(.is-checkout-review) #cartAddressCard { display: none !important; }
.is-checkout-review #customerProceedCheckout { display: none; }
.cart-drawer:not(.is-checkout-review) #summaryDeliveryType, .cart-drawer:not(.is-checkout-review) #summaryPaymentMethod, .cart-drawer:not(.is-checkout-review) #cartDeliveryFeeWrap, .cart-drawer:not(.is-checkout-review) .cart-total-row--grand, .cart-drawer:not(.is-checkout-review) #summaryCouponCode { display: none !important; }
#cartFilled { display: flex; flex-direction: column; gap: 16px; }
#cartFilled > .checkout-cutoff-banner { order: -2; }
.cart-drawer:not(.is-checkout-review) .customer-order-notes, .cart-drawer:not(.is-checkout-review) #paymentMethodBox { display: none !important; }
#summaryPaymentMethod { display: none !important; }
#paymentMethodBox .payment-option-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
#paymentMethodBox .payment-chip { flex-direction: row; justify-content: flex-start; min-height: 52px; padding: 12px; background: white; color: var(--customer-ink); border-color: var(--customer-border); text-align: left; gap: 12px; }
#paymentMethodBox .payment-chip__icon { order: -1; font-size: 24px; }
#paymentMethodBox .payment-chip::after { content: '\F28A'; font-family: bootstrap-icons; margin-left: auto; font-size: 22px; color: #a0a8af; }
#paymentMethodBox .payment-chip-input:checked + .payment-chip { border-color: #8b9d91; background: #f5f8f6; }
#paymentMethodBox .payment-chip-input:checked + .payment-chip::after { content: '\F26A'; color: var(--customer-green); }
#paymentMethodBox .payment-chip-input:focus-visible + .payment-chip { outline: 2px solid var(--customer-green); outline-offset: 2px; }
#deliveryTypeBox.checkout-edit-panel { padding: 20px; border-radius: 8px; }
#deliveryTypeBox .payment-option-grid { gap: 12px; }
#deliveryTypeBox .payment-chip { min-height: 100px; padding: 16px 8px; gap: 12px; background: #f7f8fa; border: 2px solid var(--customer-border); }
#deliveryTypeBox .payment-chip-input:checked + .payment-chip { border-color: var(--customer-green); background: #edf8f1; color: #075b35; box-shadow: inset 0 0 0 1px var(--customer-green); }
#deliveryTypeBox .delivery-type-confirm { min-height: 48px; margin-top: 16px; font-size: 16px; font-weight: 700; }
#deliveryTypeBox .payment-chip__icon { font-size: 32px; }
#deliveryTypeBox .payment-chip__label { letter-spacing: 0; overflow-wrap: anywhere; }
.cart-drawer__body.is-review-loading { opacity: .65; pointer-events: none; }
#customerToastStack { bottom: calc(var(--customer-action-height, 0px) + 12px); max-width: 100%; pointer-events: none; }
#customerToastStack .toast { pointer-events: auto; }
#addedToast { background: #edf0f2; color: var(--customer-ink); box-shadow: 0 3px 16px #0002; }
#checkoutToast { position: static; bottom: auto; right: auto; max-width: 100%; margin-bottom: 8px; }
#checkoutToast.text-bg-primary, #checkoutToast.text-bg-secondary { background: #edf0f2 !important; color: var(--customer-ink) !important; box-shadow: 0 3px 16px #0002; }
#checkoutToast.text-bg-primary .btn-close, #checkoutToast.text-bg-secondary .btn-close { filter: none; }
.checkout-submit-spinner { display: none; }
#btnCheckout[aria-busy="true"] .checkout-submit-spinner { display: inline-block; }
#btnCheckout[aria-busy="true"] > i { display: none; }
@media (max-width: 900px) {
  body #cartDrawer input, body #cartDrawer textarea, body #cartDrawer select { font-size: 16px; }
}
#cartStepPane2 { order: -1; }
.is-checkout-review #cartStepPane2 { order: -1; }
body .checkout-section-box { border: 0; border-radius: 0; background: transparent; padding: 0; box-shadow: none; }
.checkout-address-row { background: white; padding: 16px; border: 1px solid var(--customer-border); border-radius: 8px; }
.checkout-address-kicker { font-size: 16px; text-transform: none; letter-spacing: 0; }
#cartAddressText { color: var(--customer-ink) !important; font-weight: 700; line-height: 1.5; margin-top: 8px; }
.cart-info-edit-icon { color: var(--customer-green); }
.cart-summary-header { display: none !important; }
.is-checkout-review .cart-summary-header { display: flex !important; }
.is-checkout-review #cartClose, .is-checkout-review #btnAddMoreItem { display: none; }
#btnAddMoreItem { width: 100%; min-height: 46px; margin: 0 0 16px; border: 1px solid var(--customer-border); background: white; color: var(--customer-green); font-size: 16px; }
.checkout-cart-table-wrap { overflow: visible; }
#cartTbody { display: block; }
#cartTbody tr { display: block; border: 1px solid var(--customer-border); border-radius: 8px; background: white; margin-bottom: 12px; padding: 16px; }
#cartTbody td { display: block; border: 0; padding: 0; box-shadow: none; background: transparent; }
.cart-item-cell { grid-template-columns: 76px minmax(0, 1fr); gap: 14px; }
.cart-item-thumb { width: 76px; height: 108px; object-fit: contain; border: 0; background: white; border-radius: 4px; }
.cart-item-title-row { flex-wrap: wrap; padding-right: 26px; position: relative; }
.cart-item-title { width: 100%; font-size: 16px; }
.cart-line-total { order: 1; margin-top: 6px; font-size: 18px; }
.cart-remove { position: absolute; right: 0; top: -3px; width: 30px; height: 36px; padding: 0; border: 0; background: transparent; color: #596760; font-size: 20px; }
.cart-item-variant { font-size: 14px; }
.customer-address-contact { margin-top: 6px; color: #68746e; font-size: 13px; }
.cart-item-qty-stepper { border: 1px solid #bdc6ce; border-radius: 8px; height: 42px; overflow: hidden; gap: 0; }
.cart-item-qty-stepper .chip-btn { border: 0; width: 42px; height: 40px; color: var(--customer-ink); background: white; font-size: 20px; }
.cart-item-qty-stepper .chip-btn-qty-value { background: white; border: 0; font-size: 16px; min-width: 38px; }
.customer-order-notes label { display: block; font-weight: 700; margin-bottom: 8px; }
.customer-order-notes label span { color: #68746e; font-weight: 400; }
.customer-order-notes textarea { width: 100%; padding: 12px; border: 1px solid var(--customer-border); border-radius: 8px; resize: vertical; background: white; font-size: 16px; }
.cart-totals-block { background: white; padding: 16px; border: 1px solid var(--customer-border); border-radius: 8px; }
.cart-total-label, .cart-total-amount { color: var(--customer-ink); font-size: 16px; }
.cart-address-delivery-action { margin-top: 12px; padding: 16px; border: 1px solid var(--customer-border); border-radius: 8px; background: white; }
.is-checkout-review .cart-item-qty-stepper, .is-checkout-review .cart-remove { display: none; }
.is-checkout-review .cart-item-thumb { width: 52px; height: 70px; }
.is-checkout-review .cart-item-cell { grid-template-columns: 52px minmax(0, 1fr); }
.is-checkout-review #btnCheckout { min-height: 52px; color: white; background: var(--customer-green); border-color: var(--customer-green); }
.customer-section-heading { font-size: 20px; font-weight: 700; margin-bottom: 16px; }
#addressModal .modal-dialog { max-width: 620px; }
#addressModal .modal-content { border-radius: 8px; }
.address-modal-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.address-modal-item { border-radius: 8px; padding: 18px; background: white; }
.address-modal-item.is-active { border-color: var(--customer-green); background: #f5fcf7; }
#addressModal .address-modal-item.is-active { border-color: var(--customer-green); background: #f5fcf7; }
#addressModal .btn-close { background-color: #6b7770; border-color: #6b7770; width: 28px; height: 28px; }
.cart-total-row--grand .cart-total-label, .cart-total-row--grand .cart-total-amount { color: var(--customer-ink); }
.address-choice-input.visually-hidden { position: static !important; width: 20px !important; height: 20px !important; clip: auto !important; clip-path: none !important; margin: 0 10px 0 0 !important; flex-shrink: 0; accent-color: var(--customer-green); }
#btnGoToAddressForm { background: white; border: 1px solid var(--customer-green); color: var(--customer-green); border-radius: 8px; }
.checkout-fee-hint { font-size: 11px; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--customer-green); outline-offset: 3px; }
@media (max-width: 600px) {
  #catalogContent { padding: 0 12px calc(var(--customer-floating-height, 76px) + 24px + env(safe-area-inset-bottom)); }
  #pullToRefreshIndicator { width: calc(100% + 24px); margin: 0 -12px; }
  body .delivery-topbar::after { left: -12px; right: -12px; }
  .shop-shortcuts button { padding: 12px; gap: 8px; font-size: 14px; }
  .shop-shortcuts button > i:first-child { font-size: 23px; }
  .shop-categories { gap: 6px; }
  .shop-categories button { min-height: 116px; justify-content: center; align-items: flex-end; font-size: 14px; padding: 82px 4px 8px; gap: 0; }
  .shop-categories .category-pet-icon { width: 73px; height: 73px; left: calc(50% - 36.5px); top: 6.5px; bottom: auto; }
  .shop-categories button > i { font-size: 12px; right: 5px; top: 5px; }
  .running-low { padding: 12px; }
  .running-low-footer { font-size: 13px; }
  .running-low-cta { padding: 8px 12px; font-size: 14px; }
  #results ul.list-group { gap: 12px; }
  #results li.list-group-item { display: flex; padding: 0; overflow: hidden; }
  #results li > .d-flex { flex-direction: column; flex-wrap: nowrap; width: 100%; gap: 8px !important; }
  #results .variant-image-frame { width: 100%; aspect-ratio: 1.3625 / 1; align-self: center; border-radius: 0; }
  #results .variant-media { width: 100%; flex: 0 0 auto; }
  #results .thumb { border: 0; border-radius: 0; object-fit: contain; }
  #results li > .d-flex > .flex-grow-1 { flex-basis: auto; width: 100%; padding: 0 10px; }
  #results .variant_name { font-size: 13px; font-weight: 500; line-height: 1.35; overflow-wrap: anywhere; color: var(--customer-muted); }
  #results .item_price { font-size: 18px; }
  #results .row-actions { width: 100%; margin-top: auto; padding: 0 10px 10px; }
  #results .row-actions .btn-add, #results .row-actions .customer-qty { width: 100%; }
  #results .category-result-header h2 { font-size: 18px; }
  #results .btn-add { min-width: 82px; }
  .customer-cart-bar { padding: 10px 12px; gap: 8px; font-size: 12px; }
  .customer-cart-bar > span:last-child { padding-left: 10px; }
  .customer-cart-bar > i { font-size: 22px; }
  .purchase-item { grid-template-columns: 76px minmax(0, 1fr); gap: 12px; padding: 14px; }
  .purchase-item > img { width: 76px; height: 120px; grid-row: span 2; }
  .purchase-action { grid-column: 2; justify-self: end; }
  .customer-order { padding: 16px; }
  .customer-filters { gap: 6px; }
  .customer-filters button { font-size: 13px; padding: 8px 10px; }
  .cart-item-cell { grid-template-columns: 64px minmax(0, 1fr); }
  .cart-item-thumb { width: 64px; }
  .customer-footer-total { flex-basis: 92px; }
  .customer-footer-total strong { font-size: 20px; }
  #customerProceedCheckout { font-size: 13px; padding: 10px; }
  #addressModal .modal-dialog { margin: 0; height: 100dvh; }
  #addressModal .modal-content { min-height: 100dvh; border-radius: 0; }
  #addressModal .modal-body { overflow: auto; }
}
