/* ==========================================================================
   STICKY ADD-TO-CART (aurora-sticky-atc) – mobile
   Plik: assets/css/components/sticky-add-to-cart.css
   ========================================================================== */

.aurora-sticky-atc {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 65px; /* nad mobilną nawigacją (.mobile-bottom-nav = 65px) */
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    background: #fff;
    border-top: 1px solid var(--aurora-border, #e2e8f0);
    box-shadow: 0 -6px 20px rgba(0, 0, 0, .08);
    transform: translateY(160%);
    transition: transform .3s cubic-bezier(.165, .84, .44, 1);
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
}

.aurora-sticky-atc.is-visible { transform: translateY(0); }

.aurora-sticky-atc__info {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
}

.aurora-sticky-atc__thumb {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    background: #f8fafc;
}

.aurora-sticky-atc__text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.aurora-sticky-atc__title {
    font-size: 13px;
    font-weight: 600;
    color: var(--aurora-navy, #1e293b);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.aurora-sticky-atc__price {
    font-size: 14px;
    font-weight: 700;
    color: var(--aurora-navy, #1e293b);
}
.aurora-sticky-atc__price del { color: var(--aurora-slate-light, #94a3b8); font-weight: 400; font-size: 12px; margin-right: 5px; }
.aurora-sticky-atc__price ins { text-decoration: none; }

.aurora-sticky-atc__btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: none;
    border-radius: 50px;
    background: var(--aurora-gradient, linear-gradient(135deg, #f59e0b, #6366f1));
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: filter .2s ease, transform .1s ease;
}
.aurora-sticky-atc__btn:hover { filter: brightness(1.05); }
.aurora-sticky-atc__btn:active { transform: scale(.97); }

/* Tylko mobile / tablet (tam, gdzie jest dolna nawigacja) */
@media (min-width: 1100px) {
    .aurora-sticky-atc { display: none; }
}
