body.single-product {
    padding-bottom: 88px;
}

.tapin-sticky-bar {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 1000;
    background: linear-gradient(135deg, #0d0d0d, #1b1b1b 55%, #262626);
    border: 1px solid rgba(160, 160, 160, 0.6);
    border-radius: 24px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
    color: #ffffff;
    padding: 14px 18px;
    box-sizing: border-box;
    transition: transform 0.25s ease, opacity 0.25s ease;
    transform: translateY(16px);
    opacity: 0;
}

.tapin-sticky-bar[hidden] {
    display: none;
}

.tapin-sticky-bar--visible {
    transform: translateY(0);
    opacity: 1;
}

.tapin-sticky-bar--disabled {
    opacity: 0.8;
}

.tapin-sticky-bar--disabled .tapin-sticky-bar__buy {
    cursor: not-allowed;
    box-shadow: none;
}

.tapin-sticky-bar__buy {
    flex-shrink: 0;
    padding: 12px 28px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, #ff4b4b, #c40000 75%);
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(196, 0, 0, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    text-align: center;
}

.tapin-sticky-bar__buy:hover,
.tapin-sticky-bar__buy:focus {
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(196, 0, 0, 0.5);
    outline: none;
}

.tapin-sticky-bar__buy:active {
    transform: translateY(1px);
}

.tapin-sticky-bar__buy-main {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.1;
    white-space: nowrap;
}

.tapin-sticky-bar__buy-note {
    font-size: 0.72rem;
    font-weight: 500;
    line-height: 1;
    color: rgba(255, 255, 255, 0.82);
    white-space: nowrap;
}

.tapin-sticky-bar__content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    max-width: 640px;
    margin: 0 auto;
}

@media (max-width: 600px) {
    .tapin-sticky-bar {
        left: 8px;
        right: 8px;
        bottom: 8px;
        padding: 12px 14px;
    }

    .tapin-sticky-bar__content {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .tapin-sticky-bar__buy {
        width: 100%;
    }
}
