/* Sticky cart - visible only on mobile */
.avatex-sticky-cart {
    display: none;
}

@media only screen and (max-width: 767px) {
    .avatex-sticky-cart {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 9999;
        background: #fff;
        box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.12);
        padding: 10px 15px;
        /* iOS safe area */
        padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    }

    .avatex-sticky-cart__inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        max-width: 600px;
        margin: 0 auto;
    }

    .avatex-sticky-cart__info {
        display: flex;
        flex-direction: column;
        min-width: 0;
        flex: 1;
    }

    .avatex-sticky-cart__name {
        font-size: 13px;
        color: #333;
        line-height: 1.3;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .avatex-sticky-cart__price {
        font-size: 15px;
        font-weight: 700;
        color: #202020;
        line-height: 1.3;
    }

    .avatex-sticky-cart__price del {
        font-size: 12px;
        font-weight: 400;
        color: #999;
    }

    .avatex-sticky-cart__price ins {
        text-decoration: none;
    }

    .avatex-sticky-cart__btn {
        flex-shrink: 0;
        padding: 12px 20px;
        background: #202020;
        color: #fff;
        border: none;
        border-radius: 6px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        white-space: nowrap;
        transition: background 0.2s ease;
    }

    .avatex-sticky-cart__btn:hover,
    .avatex-sticky-cart__btn:active {
        background: #444;
    }
}
