/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Apr 29 2026 | 13:36:07 */
/* --- KTM GLOBAL STYLES --- */
:root {
    --ktm-maroon: #5a0001;
    --ktm-gold: #d4af37;
    --ktm-white: #ffffff;
}

/* SMART BAR: Stays at the very top */
#ktm-smart-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--ktm-maroon);
    color: var(--ktm-white);
    z-index: 99999;
    text-align: center;
    padding: 12px 15px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

#ktm-smart-bar .bar-link {
    color: var(--ktm-gold);
    text-decoration: none;
    font-weight: bold;
    margin-left: 15px;
    border: 1.5px solid var(--ktm-gold);
    padding: 4px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

#ktm-smart-bar .bar-link:hover, 
#ktm-smart-bar .bar-link:focus {
    background-color: var(--ktm-gold);
    color: var(--ktm-maroon);
    outline: 2px solid white;
    outline-offset: 2px;
}

/* POPUP: Slides in from the bottom right */
#ktm-popup {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 340px;
    background: var(--ktm-white);
    border-top: 5px solid var(--ktm-gold);
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    z-index: 99998;
    padding: 25px;
    border-radius: 8px;
    transform: translateX(450px); /* Hidden off-screen */
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    box-sizing: border-box;
}

#ktm-popup.active {
    transform: translateX(0);
}

#ktm-popup h2 {
    margin: 0 0 10px 0;
    font-size: 20px;
    color: var(--ktm-maroon);
}

#ktm-popup p {
    font-size: 15px;
    line-height: 1.5;
    color: #444;
    margin-bottom: 20px;
}

.ktm-popup-btn {
    display: block;
    width: 100%;
    background: var(--ktm-maroon);
    color: var(--ktm-white) !important;
    text-align: center;
    padding: 14px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    box-sizing: border-box;
}

.ktm-popup-btn:focus {
    outline: 3px solid var(--ktm-gold);
    outline-offset: 2px;
}

.ktm-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    padding: 5px;
}

.ktm-close-btn:hover { color: var(--ktm-maroon); }

/* --- MOBILE RESPONSIVENESS UPDATED --- */
@media (max-width: 768px) {
    /* Smart Bar Adjustments */
    #ktm-smart-bar {
        font-size: 14px; /* Increased for legibility */
        flex-direction: column;
        padding: 15px 10px;
    }
    
    #ktm-smart-bar .bar-link {
        margin-left: 0;
        margin-top: 10px;
        width: 100%; /* Full width makes it easier to tap */
        font-size: 16px; /* Larger text for the mobile button */
        padding: 10px;
    }

    /* Popup/Bottom Sheet Adjustments */
    #ktm-popup {
        width: 100%;
        bottom: 0;
        right: 0;
        left: 0;
        border-radius: 20px 20px 0 0;
        padding: 30px 20px; /* More breathing room */
        transform: translateY(100%);
    }

    #ktm-popup h2 {
        font-size: 22px;
    }

    #ktm-popup p {
        font-size: 16px;
    }

    /* Target the specific popup button for larger text */
    .ktm-popup-btn {
        font-size: 18px !important; 
        padding: 16px !important;
        letter-spacing: 0.5px;
    }
    
    /* Ensure site content doesn't get cut off by the taller bar */
    body { padding-top: 110px !important; } 
}