/* =========================================================
   CYG — First-visit tour
   ========================================================= */

/* Invisible pointer-events catcher (blocks interaction with page behind tour) */
.cyg-tour-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: transparent;
    pointer-events: none;
}

.cyg-tour-backdrop--active {
    pointer-events: auto;
}

.cyg-tour-backdrop--dim {
    background: rgba(0, 0, 0, 0.6);
}

/* Spotlight: box-shadow dims everything OUTSIDE this element */
.cyg-tour-highlight {
    position: fixed;
    z-index: 9999;
    background: transparent;
    border-radius: 4px;
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.6);
    pointer-events: none;
    transition: top 0.25s ease, left 0.25s ease, width 0.25s ease, height 0.25s ease;
}

/* ---- Trigger button ------------------------------------ */

.cyg-tour-trigger {
    position: fixed !important;
    bottom: 100px !important;
    right: 20px !important;
    z-index: 9997 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: #fff !important;
    color: #4c4c4c !important;
    border: 1px solid rgba(0,0,0,0.15) !important;
    border-radius: 100px !important;
    padding: 7px 14px 7px 10px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    font-family: 'Hanken Grotesk', Arial, sans-serif !important;
    cursor: pointer !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10) !important;
    min-height: unset !important;
    line-height: 1 !important;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s !important;
    white-space: nowrap !important;
}

.cyg-tour-trigger:hover {
    background: #5e6a46 !important;
    color: #fff !important;
    border-color: #5e6a46 !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
}

/* ---- Tooltip ------------------------------------------- */

.cyg-tour-tooltip {
    position: fixed;
    z-index: 10000;
    width: 320px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(0, 0, 0, 0.10);
    padding: 20px 20px 16px;
    font-family: 'Hanken Grotesk', Arial, sans-serif;
    transition: top 0.25s ease, left 0.25s ease;
}

.cyg-tour-title {
    font-size: 15px;
    font-weight: 700;
    color: #1d2327;
    margin-bottom: 8px;
    padding-right: 28px;
}

.cyg-tour-text {
    font-size: 13px;
    color: #4c4c4c;
    line-height: 1.6;
    margin-bottom: 16px;
}

.cyg-tour-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cyg-tour-dots {
    display: flex;
    gap: 6px;
}

.cyg-tour-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #d0d0d0;
    transition: background 0.2s;
}

.cyg-tour-dot--active {
    background: #5e6a46;
}

.cyg-tour-next {
    background: #5e6a46 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 7px 18px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    min-height: unset !important;
    line-height: 1.4 !important;
    font-family: 'Hanken Grotesk', Arial, sans-serif !important;
    transition: background 0.2s !important;
    box-shadow: none !important;
}

.cyg-tour-next:hover {
    background: #7a8467 !important;
}

.cyg-tour-skip {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    color: #aaa !important;
    font-size: 11px !important;
    cursor: pointer !important;
    padding: 2px 4px !important;
    min-height: unset !important;
    font-family: 'Hanken Grotesk', Arial, sans-serif !important;
    transition: color 0.2s !important;
}

.cyg-tour-skip:hover {
    color: #555 !important;
    background: none !important;
}

@media (max-width: 767px) {
    .cyg-tour-trigger { display: none !important; }
}
