.kolbo-sticky-atc {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 9999;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
    font-family: inherit;
    direction: rtl;
}

body.rtl .kolbo-sticky-atc {
    direction: rtl;
}

body:not(.rtl) .kolbo-sticky-atc {
    direction: ltr;
}

.kolbo-sticky-atc.kolbo-sticky-atc-visible.kolbo-sticky-atc-show {
    opacity: 1;
    transform: translateY(0);
}

.kolbo-sticky-atc-inner {
    max-width: 1200px;
    margin: 0 auto 0 auto;
    padding: 10px 16px;
    box-sizing: border-box;
    pointer-events: auto;
}

.kolbo-sticky-atc-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #ffffff;
    border-radius: 16px 16px 0 0;
    padding: 10px 14px;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.kolbo-sticky-atc-title-price {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.kolbo-sticky-atc-label {
    font-size: 12px;
    opacity: 0.8;
}

.kolbo-sticky-atc-title {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.kolbo-sticky-atc-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.kolbo-sticky-atc-price {
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
}

.kolbo-sticky-atc-button {
    appearance: none;
    border: none;
    border-radius: 999px;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    background: #2f9e44;
    color: #ffffff;
    box-shadow: 0 3px 8px rgba(47, 158, 68, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    white-space: nowrap;
}

.kolbo-sticky-atc-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 12px rgba(47, 158, 68, 0.45);
    background: #27923b;
}

.kolbo-sticky-atc-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(47, 158, 68, 0.3);
    background: #238434;
}

.kolbo-sticky-atc-feedback {
    margin-top: 4px;
    font-size: 12px;
    text-align: center;
    color: #2f9e44;
    min-height: 16px;
}

.kolbo-sticky-atc-pulse .kolbo-sticky-atc-main {
    animation: kolboStickyPulse 0.8s ease-out;
}

@keyframes kolboStickyPulse {
    0% { transform: scale(1); }
    40% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.kolbo-sticky-atc-form-highlight,
.kolbo-sticky-atc-highlight {
    outline: 2px solid #2f9e44;
    outline-offset: 4px;
    transition: outline 0.25s ease;
}

@media (max-width: 767px) {
    .kolbo-sticky-atc-main {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        border-radius: 12px 12px 0 0;
    }

    .kolbo-sticky-atc-actions {
        justify-content: space-between;
    }

    .kolbo-sticky-atc-price {
        font-size: 15px;
    }

    .kolbo-sticky-atc-button {
        flex: 1;
        text-align: center;
    }
}

@media (min-width: 1201px) {
    .kolbo-sticky-atc-inner {
        padding-inline: 24px;
    }

    .kolbo-sticky-atc-main {
        padding-inline: 18px;
    }
}

