/* Shared right-hand action rail: Top above WhatsApp, clear of the batch action. */
.storefront-float-contact,
.storefront-product-shell .storefront-float-contact,
.gotop,
.storefront-product-shell .gotop {
    position: fixed;
    left: auto !important;
    right: 14px !important;
    width: 48px !important;
    height: 48px !important;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    z-index: 90 !important;
    box-sizing: border-box;
}
.storefront-float-contact,
.storefront-product-shell .storefront-float-contact {
    display: block !important;
    bottom: calc(14px + env(safe-area-inset-bottom,0px)) !important;
    background: #fff;
    box-shadow: 0 2px 9px rgb(0 0 0 / 12%);
}
.storefront-float-contact img { display: block; width: 100% !important; height: 100%; object-fit: contain; }
.gotop,
.storefront-product-shell .gotop {
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: calc(72px + env(safe-area-inset-bottom,0px)) !important;
    background: #de007d;
    cursor: pointer;
    box-shadow: 0 2px 9px rgb(92 25 57 / 14%);
}
.gotop:hover { background: #bc1e6e; }
.gotop[hidden] { display: none; }
.gotop .h1,
.storefront-product-shell .gotop .h1 { display: block; width: 13px; height: 13px; margin: 6px 0 0; border-right: 2px solid #fff; border-top: 2px solid #fff; }
:is(.gotop,.storefront-float-contact):focus-visible { outline: 2px solid #b42568; outline-offset: 3px; }
@media (min-width: 1680px) {
    .storefront-catalog .catalog-batch { bottom: calc(136px + env(safe-area-inset-bottom,0px)); }
}
@media (max-width: 768px), (max-width: 1366px) and (hover: none) and (pointer: coarse) {
    .storefront-float-contact,
    .storefront-product-shell .storefront-float-contact { display: none !important; }
    .gotop,
    .storefront-product-shell .gotop { bottom: calc(12px + env(safe-area-inset-bottom,0px)) !important; }
}
@media (max-width: 768px) {
    .gotop,
    .storefront-product-shell .gotop { right: 10px !important; width: 44px !important; height: 44px !important; }
}
