.product-buy-with-fullwidth {
    margin-top: 20px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
}

.product-buy-with-horizontal {
    width: 100%;
    margin: 0 auto;
}

.buy-with-container {
    position: relative;
    width: 100%;
}

.buy-with-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 12px;
}

.buy-with-title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin: 0;
    letter-spacing: -0.3px;
}

.buy-with-scroll-btn {
    width: 32px;
    height: 32px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    color: #4b5563;
    padding: 0;
    flex-shrink: 0;
}

.buy-with-scroll-btn:hover {
    background: #ffed4e;
    border-color: #ffed4e;
    color: #111827;
}

.buy-with-scroll-btn:focus-visible {
    outline: 2px solid #ffed4e;
    outline-offset: 2px;
}

.buy-with-scroll-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.buy-with-scroll-btn.buy-with-scroll-btn-rotated svg {
    transform: rotate(180deg);
}

.buy-with-links {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0 5px 4px;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    scroll-behavior: smooth;
}

.buy-with-links:active {
    cursor: grabbing;
}

.buy-with-links::-webkit-scrollbar {
    display: none;
}

.buy-with-link {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    color: #4d4d4d;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.buy-with-link:hover {
    background: #ffed4e;
    border-color: #ffed4e;
    color: #111827;
}

.buy-with-link:active {
    opacity: 0.9;
}

.buy-with-link:focus-visible {
    outline: 2px solid #ffed4e;
    outline-offset: 2px;
}

.buy-with-link-text {
    line-height: 1.2;
}

@media (max-width: 767px) {
    .product-buy-with-fullwidth {
        margin-top: 15px;
    }

    .buy-with-header {
        margin-bottom: 10px;
    }

    .buy-with-title {
        font-size: 16px;
    }

    .buy-with-links {
        gap: 6px;
        padding: 0 5px 4px;
    }

    .buy-with-link {
        padding: 7px 14px;
        font-size: 12px;
    }

    .buy-with-scroll-btn {
        width: 28px;
        height: 28px;
    }

    .buy-with-scroll-btn svg {
        width: 14px;
        height: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .buy-with-links {
        scroll-behavior: auto;
    }

    .buy-with-scroll-btn,
    .buy-with-scroll-btn svg,
    .buy-with-link {
        transition: none;
    }
}