.shop-actions{display:flex;justify-content:flex-end;gap:10px;align-items:center;background:#fff;border-bottom:1px solid #e9ebef;padding:12px max(3%,calc((100% - 1500px)/2));position:relative;z-index:25;font-family:Arial,Helvetica,sans-serif}.shop-actions a{display:flex;align-items:center;gap:9px;position:relative;color:#202329;font-weight:600;font-size:14px;text-decoration:none;padding:12px 16px;border-radius:12px;min-height:44px;box-sizing:border-box}.shop-actions a:hover,.shop-actions .current{background:#fff4bf}.shop-actions svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.action-badge{font-size:12px;background:#ffd225;color:#202329;min-width:20px;height:20px;padding:0 4px;display:inline-flex;align-items:center;justify-content:center;border-radius:10px}.buy-quantity{display:flex;align-items:center;justify-content:space-between;gap:10px;font-family:Arial,Helvetica,sans-serif;font-size:13px;margin:10px 0;width:100%;box-sizing:border-box}.buy-stepper{display:flex;align-items:center;background:#f3f4f6;border-radius:10px;overflow:hidden;flex-shrink:0}.buy-stepper button{height:38px;width:34px;border:0;background:transparent;color:#202329;font-size:21px;cursor:pointer}.buy-stepper input{height:38px;width:40px;text-align:center;padding:0;border:0;background:transparent;font:600 15px Arial;color:#202329;appearance:textfield;-moz-appearance:textfield}.buy-stepper input::-webkit-inner-spin-button{appearance:none}.buy-stepper button:disabled{opacity:.3;cursor:default}.shop-actions a:focus-visible,.buy-stepper button:focus-visible,.buy-stepper input:focus-visible{outline:2px solid #aa8100;outline-offset:2px}.product-price>.buy-quantity{padding:0 4px}
@media(max-width:700px){body{padding-bottom:86px!important}.shop-actions{position:fixed;bottom:0;left:0;right:0;justify-content:space-around;gap:0;padding:7px 4px calc(7px + env(safe-area-inset-bottom));border-top:1px solid #e3e5eb;box-shadow:0 -4px 20px #2023290d;z-index:100}.shop-actions a{flex:1;flex-direction:column;gap:5px;padding:5px 2px;border-radius:10px;font-size:10px;min-height:52px;text-align:center}.shop-actions svg{width:23px;height:23px}.shop-actions .action-badge{position:absolute;top:0;right:calc(50% - 25px);font-size:10px;min-width:16px;height:16px}.buy-quantity{font-size:11px;margin:8px 0;padding:0 8px!important;flex-wrap:wrap;justify-content:center;gap:6px}.buy-stepper button{width:32px;height:34px}.buy-stepper input{height:34px;width:35px}.purchase-panel .buy-quantity{justify-content:space-between;font-size:14px;padding:0!important}.product-price .buy-quantity{order:5}}
.product-save{display:block;width:100%;padding:14px;margin-top:10px;border:1px solid #e3e5eb;border-radius:12px;background:#fff;color:#626b77;font:600 14px Arial;cursor:pointer}.product-save[aria-pressed="true"]{color:#bc3354;background:#fff5f7}
/* Compact catalogue cards and quantity controls. */
.products{align-items:start}
.product .product-category{margin-top:12px;margin-bottom:5px}
.product .product-title{min-height:0;line-height:1.4;margin-bottom:0}
.product .variants{margin-top:8px;margin-bottom:8px;min-height:0}
.product .variants:empty{display:none}
.product .product-price{margin-top:0;margin-bottom:0;padding-top:4px;padding-bottom:14px;display:flex;flex-direction:column;align-items:stretch;gap:6px}
.product .stock-label{margin:0;font-size:12px}
.product .buy-quantity{margin:2px 0;padding:0;gap:8px}
.product .cart-add{margin-top:2px;min-height:44px}
@media(max-width:700px){
 .product .variants{margin:4px 8px!important;min-height:0}
 .product .variants:empty{display:none}
 .product .buy-quantity{margin:6px 8px 0;padding:0!important;width:calc(100% - 16px);flex-wrap:nowrap}
 .product .buy-quantity>span{display:none}
 .product .buy-stepper{width:100%;justify-content:space-between}
 .product .buy-stepper button{width:44px;height:40px}
 .product .buy-stepper input{height:40px;flex:1;min-width:0}
 .product .cart-add{margin-top:6px;margin-bottom:10px;min-height:40px}
}

/* Keep essential shop links visible throughout browsing. */
body>.shop-actions{position:sticky;top:var(--shop-header-height,96px);z-index:70}
@media(max-width:700px){body>.shop-actions{position:fixed;top:auto;bottom:0;z-index:100}body{padding-bottom:calc(86px + env(safe-area-inset-bottom))!important}}

@media(min-width:701px){body .purchase-panel,body .cart-summary,body .order-summary{top:calc(var(--shop-header-height,96px) + var(--shop-actions-height,70px) + 16px)}}
