/* Sticky Mobile Add to Cart - CSS */

.sticky-mobile-cart {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    z-index: 9998;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    display: none;
}

.sticky-mobile-cart.visible {
    transform: translateY(0);
}

.sticky-mobile-cart-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 100%;
    justify-content: center;
}

.sticky-mobile-cart-inner form {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
}

.sticky-mobile-cart .quantity-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.sticky-mobile-cart .quantity {
    display: flex;
    align-items: center;
    background-color: #f5f5f5;
    border-radius: 50px;
    overflow: hidden;
}

.sticky-mobile-cart .qty_button {
    width: 36px;
    height: 36px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: background-color 0.2s;
    background-color: #E8E9F2 !important;
    font-family: "jaf-domus-titling-web", Sans-serif !important;
    color: #7371B4 !important;
    border: 0 !important;
    padding: 0 !important;
}

.sticky-mobile-cart .input-text.qty {
    width: 50px;
    height: 36px;
    text-align: center;
    border: none;
    background: transparent;
    font-size: 16px;
    font-weight: 600;
    appearance: textfield;
    -moz-appearance: textfield;
    font-family: "jaf-domus-titling-web", Sans-serif !important;
    color: #7371B4;
}

.sticky-mobile-cart .input-text.qty::-webkit-outer-spin-button,
.sticky-mobile-cart .input-text.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.sticky-mobile-cart .single_add_to_cart_button {
    flex: 1;
    padding: 0.875rem 1.5rem;
    background-color: #F39200 !important;
    color: #fff;
    border: none !important;
    border-radius: 50px !important;
    font-size: 16px;
    font-weight: 700 !important;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    font-family: "jaf-domus-titling-web", Sans-serif !important;
    color: white !important;
}

.sticky-mobile-cart .single_add_to_cart_button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(115, 113, 180, 0.3);
}

.sticky-mobile-cart .single_add_to_cart_button:active {
    transform: translateY(0);
}

.sticky-mobile-cart .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Hide ShopEngine duplicate buttons in sticky bar */
.sticky-mobile-cart .shopengine-qty-btn {
    display: none !important;
}

/* Mobile only */
@media screen and (min-width: 768px) {
    .sticky-mobile-cart {
        display: none !important;
    }
}

@media screen and (max-width: 767px) {
    .sticky-mobile-cart {
        display: block;
    }
}
