.product-tour-nav-button {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: #fff;
    border: 0;
    background: rgba(255, 255, 255, .12);
    border-radius: 999px;
    padding: .28rem .7rem;
    line-height: 1.2;
    transition: background-color .15s ease, transform .15s ease;
}

.product-tour-nav-button:hover,
.product-tour-nav-button:focus {
    color: #fff;
    background: rgba(255, 255, 255, .22);
    outline: none;
    transform: translateY(-1px);
}

.product-tour-nav-button i {
    font-size: .9rem;
}

.product-tour-root {
    position: fixed;
    inset: 0;
    z-index: 2000;
    pointer-events: none;
}

.product-tour-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .42);
    pointer-events: auto;
    z-index: 2000;
}

.product-tour-card {
    position: fixed;
    z-index: 2003;
    width: min(380px, calc(100vw - 24px));
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .28);
    overflow: hidden;
    pointer-events: auto;
}

.product-tour-card.is-sidebar-step {
    max-width: calc(100vw - 290px);
}

.product-tour-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    background: #17a2b8;
    color: #fff;
    padding: .75rem 1rem;
}

.product-tour-header h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
}

.product-tour-close {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 1.45rem;
    line-height: 1;
    opacity: .9;
}

.product-tour-close:hover,
.product-tour-close:focus {
    opacity: 1;
    outline: none;
}

.product-tour-body {
    color: #2f3a45;
    font-size: .92rem;
    line-height: 1.45;
    padding: 1rem;
}

.product-tour-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: 0 1rem 1rem;
}

.product-tour-counter {
    color: #64748b;
    font-size: .78rem;
    white-space: nowrap;
}

.product-tour-actions {
    display: flex;
    align-items: center;
    gap: .45rem;
}

.product-tour-button {
    border: 0;
    background: #17a2b8;
    color: #fff;
    border-radius: 5px;
    font-size: .86rem;
    font-weight: 600;
    padding: .45rem .8rem;
}

.product-tour-button:hover,
.product-tour-button:focus {
    background: #138ea1;
    color: #fff;
    outline: none;
}

.product-tour-button-secondary {
    background: #eef2f6;
    color: #475569;
}

.product-tour-button-secondary:hover,
.product-tour-button-secondary:focus {
    background: #e2e8f0;
    color: #334155;
}

.product-tour-target {
    position: relative;
    z-index: 2001 !important;
    border-radius: 7px;
    box-shadow: 0 0 0 4px rgba(23, 162, 184, .32), 0 0 26px rgba(23, 162, 184, .38);
}

@media (max-width: 575.98px) {
    .product-tour-nav-button span {
        display: none;
    }

    .product-tour-nav-button {
        width: 34px;
        height: 34px;
        justify-content: center;
        padding: 0;
    }

    .product-tour-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .product-tour-actions {
        justify-content: flex-end;
        flex-wrap: wrap;
    }

    .product-tour-card.is-sidebar-step {
        max-width: calc(100vw - 88px);
    }
}
