/* ================================================================
   PROJECTKART — BUTTONS
================================================================ */

.button,
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
    transition:
        transform 180ms ease,
        background-color 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease;
}

.button:hover,
.btn:hover {
    transform: translateY(-1px);
}

.button svg,
.btn svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.button-primary,
.btn-primary {
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 10px 24px rgba(40, 120, 255, 0.28);
}

.button-primary:hover,
.btn-primary:hover {
    background: var(--color-primary-hover);
}

.button-secondary,
.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.button-secondary:hover,
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.06);
}

.button-light {
    background: #fff;
    color: #111827;
}

.button-light:hover {
    background: #f3f6fb;
}

.button-arrow {
    font-size: 16px;
    line-height: 1;
}

.product-add-button {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: #2878ff;
    color: #fff;
    font-size: 22px;
    font-weight: 500;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(40, 120, 255, 0.28);
}

.product-add-button:hover {
    background: var(--color-primary-hover);
    transform: translateY(-1px);
}

.scroll-top-button {
    position: fixed;
    left: 50%;
    bottom: 18px;
    z-index: 80;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    transform: translateX(-50%) translateY(20px);
    opacity: 0;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    background: rgba(12, 16, 24, 0.92);
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.scroll-top-button.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
