.sanag-sticky-atc {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 90;
    background: var(--white, #ffffff);
    box-shadow: 0 -4px 16px rgba(31, 29, 58, 0.12);
    transform: translateY(110%);
    transition: transform 0.25s ease;
}

.sanag-sticky-atc[hidden] {
    display: none;
}

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

.sanag-sticky-atc__inner {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
}

.sanag-sticky-atc__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}

.sanag-sticky-atc__title {
    overflow: hidden;
    color: #1f1d3a;
    font-weight: 500;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.sanag-sticky-atc__price-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex-shrink: 0;
    text-align: right;
}

.sanag-sticky-atc__price-label {
    color: #6b6a80;
    font-size: 0.85em;
}

.sanag-sticky-atc__price {
    color: var(--coral, #FF7161);
    font-weight: 600;
    white-space: nowrap;
}

.sanag-sticky-atc__price del {
    display: none;
}

.sanag-sticky-atc__price ins {
    text-decoration: none;
}

.sanag-sticky-atc__actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.sanag-sticky-atc__thumb {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    object-fit: contain;
}

.sanag-sticky-atc__button {
    display: inline-flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 20px;
    border: 0;
    border-radius: 999px;
    background: var(--indigo-1, #47438C);
    color: var(--white, #ffffff);
    font-size: 1.05em;
    font-weight: 500;
    cursor: pointer;
}

.sanag-sticky-atc__button:hover,
.sanag-sticky-atc__button:focus-visible {
    filter: brightness(1.1);
}

.sanag-sticky-atc-visible {
    padding-bottom: var(--sanag-sticky-atc-height, 0px);
}

.sanag-sticky-atc-visible .ba-phoneinfo {
    bottom: var(--sanag-sticky-atc-height, 0px);
}

@media (min-width: 768px) {
    .sanag-sticky-atc__inner {
        flex-direction: row;
        align-items: center;
        gap: 24px;
        max-width: 960px;
        padding-top: 10px;
        padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    }

    .sanag-sticky-atc__head {
        flex: 1;
        align-items: center;
        order: 2;
    }

    .sanag-sticky-atc__actions {
        display: contents;
    }

    .sanag-sticky-atc__thumb {
        order: 1;
    }

    .sanag-sticky-atc__button {
        flex: 0 0 auto;
        order: 3;
        min-width: 260px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sanag-sticky-atc {
        transition: none;
    }
}
