/* NairobiSexy Platform Suite - Dark Mode, Contact Strip, Location Pills, Sticky Bar, Modals, Full Contrast */
:root {
    --ns-bg-dark: #0b0e14;
    --ns-card-bg: #151b26;
    --ns-card-border: #232c3d;
    --ns-text-main: #f0f6fc;
    --ns-text-muted: #8b949e;
    --ns-accent-red: #e53935;
    --ns-accent-green: #2ea043;
    --ns-accent-gold: #d4af37;
    --ns-font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ── Global Page Canvas Darkening ── */
body,
#page,
#content,
.site-content,
.content-area,
.site-content-block,
.main-content,
.site-main {
    background-color: var(--ns-bg-dark) !important;
    background: var(--ns-bg-dark) !important;
    color: var(--ns-text-main) !important;
    font-family: var(--ns-font-stack) !important;
}

/* ── Header Sitewide Dark Elevation ── */
#site-header,
.site-header,
.main-header,
.header-area,
.header-menu,
.main-navigation-area,
.header-style-1,
.header-style-2,
.header-style-3,
.header-style-4,
.header-style-1 .main-header,
.header-style-2 .main-header,
.header-style-3 .main-header,
.header-style-4 .main-header {
    background-color: #0d121c !important;
    background: #0d121c !important;
    border-bottom: 1px solid var(--ns-card-border) !important;
}

/* ── Header Brand Logo Switch (Show White Logo on Dark Header) ── */
.site-branding .light-logo {
    display: inline-block !important;
}
.site-branding .dark-logo {
    display: none !important;
}
.site-branding img {
    max-width: 175px !important;
    height: auto !important;
}

/* ── Nav Links in Header (High Contrast WCAG AAA) ── */
.site-header a,
.main-header a,
.main-navigation a,
.main-navigation ul li a,
.header-icon-area a,
.header-icon-area i,
.header-icon-area svg,
.header-login-icon,
.header-chat-icon {
    color: #f0f6fc !important;
    fill: #f0f6fc !important;
}

.main-navigation ul li a:hover,
.site-header a:hover,
.main-header a:hover,
.header-icon-area a:hover {
    color: var(--ns-accent-red) !important;
}

/* ── Dropdown Menus ── */
.main-navigation ul li ul,
.main-navigation ul li ul.sub-menu,
.main-navigation ul li ul.children {
    background-color: #131924 !important;
    border: 1px solid var(--ns-card-border) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6) !important;
}

.main-navigation ul li ul li a {
    color: #cbd5e1 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.main-navigation ul li ul li a:hover {
    background-color: #1a2332 !important;
    color: #ffffff !important;
}

/* ── Card Surface Darkening ── */
.rtcl-listing-item, .listing-grid-each, .listing-list-each, .rtcl-grid-item, .classima-grid-each {
    background-color: var(--ns-card-bg) !important;
    border: 1px solid var(--ns-card-border) !important;
    border-radius: 8px !important;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
    overflow: hidden !important;
    position: relative !important;
}

.rtcl-listing-item:hover, .classima-grid-each:hover {
    border-color: #3b475d !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45) !important;
    transform: translateY(-2px) !important;
}

.rtcl-listing-title a, .listing-title a {
    color: #ffffff !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

.rtcl-listing-title a:hover {
    color: var(--ns-accent-red) !important;
}

/* Price Tag */
.rtcl-price-amount, .listing-price {
    color: #4ade80 !important;
    font-weight: 700 !important;
    font-size: 1.05rem !important;
}

/* Location and Category badges */
.rtcl-listing-category, .rtcl-listing-location, .listing-cat, .listing-location {
    color: var(--ns-text-muted) !important;
    font-size: 0.85rem !important;
}

/* Top Sticky / Hero Highlight */
.ns-top-featured {
    border: 2px solid var(--ns-accent-gold) !important;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.25) !important;
    position: relative !important;
}

.ns-badge-top {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #d4af37, #aa820a);
    color: #000000;
    font-weight: 800;
    font-size: 0.72rem;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 5;
}

/* Available Right Now Radar Badge */
.ns-radar-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: rgba(46, 160, 67, 0.15);
    border: 1px solid rgba(46, 160, 67, 0.4);
    color: #3fb950;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.ns-radar-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    background-color: #3fb950;
    border-radius: 50%;
    box-shadow: 0 0 8px #3fb950;
    animation: ns-pulse 1.8s infinite;
    vertical-align: middle;
    margin-right: 4px;
}

@keyframes ns-pulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

/* Location Radius Filter Pills */
.ns-pills-wrapper {
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    padding: 12px 16px;
    margin: 10px 0 20px 0;
    background-color: #0f141f;
    border-top: 1px solid var(--ns-card-border);
    border-bottom: 1px solid var(--ns-card-border);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    box-sizing: border-box;
}

.ns-pills-wrapper::-webkit-scrollbar {
    display: none;
}

.ns-pill-item {
    display: inline-flex;
    align-items: center;
    background-color: #1a2232;
    color: #cbd5e1;
    border: 1px solid #2d384e;
    border-radius: 20px;
    padding: 6px 16px;
    margin-right: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.ns-pill-item:hover, .ns-pill-item.active {
    background-color: var(--ns-accent-red);
    color: #ffffff;
    border-color: var(--ns-accent-red);
}

/* Card Action Buttons (Options A & B) */
.ns-card-contact-strip {
    display: flex;
    gap: 6px;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ns-card-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none !important;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    outline: none;
    white-space: nowrap;
}

.ns-card-wa {
    background-color: #25d366;
    color: #ffffff !important;
}

.ns-card-wa:hover {
    background-color: #20ba5a;
    color: #ffffff !important;
}

.ns-card-reveal {
    background-color: #1e293b;
    border: 1px solid #334155 !important;
    color: #e2e8f0 !important;
}

.ns-card-reveal:hover {
    background-color: #2d3748;
    border-color: #475569 !important;
}

.ns-card-reveal.is-revealed {
    background-color: #0f766e;
    border-color: #14b8a6 !important;
    color: #ffffff !important;
}

/* Mobile Sticky Bottom Floating Bar */
.ns-floating-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(13, 18, 28, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid #283347;
    padding: 10px 14px;
    display: flex;
    gap: 10px;
    z-index: 99999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.6);
}

@media (min-width: 992px) {
    .ns-floating-bar {
        display: none !important;
    }
}

.ns-floating-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none !important;
    text-align: center;
    transition: opacity 0.2s ease;
}

.ns-floating-btn:hover {
    opacity: 0.9;
}

.ns-btn-whatsapp {
    background-color: #25d366;
    color: #ffffff !important;
}

.ns-btn-call {
    background-color: var(--ns-accent-red);
    color: #ffffff !important;
}

/* Discreet Bookmarks / Favorites */
.ns-fav-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(15, 20, 31, 0.85);
    border: 1px solid #334155;
    color: #94a3b8;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
}

.ns-fav-btn.active {
    color: var(--ns-accent-red);
    border-color: var(--ns-accent-red);
    background-color: rgba(229, 57, 53, 0.15);
}

/* Quick Exit Discreet Button */
.ns-quick-exit-btn {
    position: fixed;
    bottom: 70px;
    right: 16px;
    background-color: #1e293b;
    border: 1px solid #334155;
    color: #94a3b8;
    padding: 7px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: all 0.2s ease;
}

.ns-quick-exit-btn:hover {
    background-color: var(--ns-accent-red);
    border-color: var(--ns-accent-red);
    color: #ffffff;
}

@media (min-width: 992px) {
    .ns-quick-exit-btn {
        bottom: 24px;
    }
}

/* Modal Overlay & Box */
.ns-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    padding: 16px;
}

.ns-modal-box {
    background-color: #131924;
    border: 1px solid #283548;
    border-radius: 12px;
    max-width: 440px;
    width: 100%;
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    position: relative;
    box-sizing: border-box;
}

.ns-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: none;
    border: none;
    color: #64748b;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}

.ns-modal-close:hover {
    color: #ffffff;
}

.ns-modal-badge {
    display: inline-block;
    background-color: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: var(--ns-accent-gold);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.ns-modal-title {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.ns-modal-desc {
    color: #94a3b8;
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.ns-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ns-modal-btn-primary {
    display: block;
    background-color: var(--ns-accent-red);
    color: #ffffff !important;
    text-align: center;
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none !important;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.ns-modal-btn-primary:hover {
    opacity: 0.9;
}

.ns-modal-btn-secondary {
    display: block;
    background-color: #1e293b;
    color: #94a3b8 !important;
    text-align: center;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.88rem;
    border: 1px solid #334155;
    cursor: pointer;
}

.ns-modal-btn-secondary:hover {
    color: #ffffff !important;
}

/* Form Styles inside Modals */
.ns-form-group {
    margin-bottom: 14px;
    text-align: left;
}

.ns-form-group label {
    display: block;
    color: #cbd5e1;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.ns-input-dark {
    width: 100%;
    background-color: #0b0e14;
    border: 1px solid #283548;
    color: #ffffff;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 0.92rem;
    box-sizing: border-box;
}

.ns-input-dark:focus {
    border-color: var(--ns-accent-red);
    outline: none;
}

.ns-radio-pills {
    display: flex;
    gap: 8px;
}

.ns-radio-pill {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    background-color: #0b0e14;
    border: 1px solid #283548;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 0.82rem;
    color: #cbd5e1;
    cursor: pointer;
}

.ns-radio-pill input {
    margin: 0;
}

/* Discreet B2B Stays Section */
.ns-stays-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin: 24px 0;
}

.ns-stay-card {
    background-color: var(--ns-card-bg);
    border: 1px solid var(--ns-card-border);
    border-radius: 8px;
    overflow: hidden;
    padding: 16px;
}

.ns-stay-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
}

.ns-stay-location {
    color: var(--ns-accent-green);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
}

/* Banner Slots */
.ns-banner-slot {
    width: 100%;
    text-align: center;
    margin: 20px 0;
    padding: 10px;
    background-color: #0c1017;
    border: 1px dashed #242f44;
    border-radius: 6px;
}

.ns-banner-label {
    display: block;
    font-size: 0.68rem;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

/* ══════════════════════════════════════════════════════════════════
   CHECKOUT, MEMBERSHIP, LOGIN & FORMS HIGH CONTRAST ELEVATION
   ══════════════════════════════════════════════════════════════════ */

/* Form Card Container (Checkout, Membership, Login) */
.rtcl-login-form-wrap,
.rtcl-membership-checkout,
.rtcl-checkout,
.rtcl-form-wrapper,
.rtcl-login-form,
.classima-form-box,
.rtcl-my-account-wrap,
.rtcl-pricing-wrap,
.rtin-box {
    background-color: #151b26 !important;
    border: 1px solid #232c3d !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
    color: #f0f6fc !important;
    margin: 20px auto !important;
}

/* Headings & Labels */
.rtcl-login-form-wrap h1,
.rtcl-login-form-wrap h2,
.rtcl-login-form-wrap h3,
.rtcl-login-form-wrap h4,
.rtcl-checkout h1,
.rtcl-checkout h2,
.rtcl-checkout h3,
.rtcl-checkout h4,
.rtcl-membership-checkout h1,
.rtcl-membership-checkout h2,
.rtcl-membership-checkout h3,
.entry-title,
.page-title {
    color: #ffffff !important;
    font-weight: 700 !important;
}

label,
.control-label,
.form-group label,
.form-check-label,
.form-check {
    color: #e2e8f0 !important;
    font-weight: 600 !important;
    font-size: 0.92rem !important;
}

/* Form Inputs & Controls */
.rtcl-login-form input[type="text"],
.rtcl-login-form input[type="email"],
.rtcl-login-form input[type="password"],
.rtcl-checkout input[type="text"],
.rtcl-checkout input[type="email"],
.rtcl-checkout input[type="password"],
.rtcl-checkout input[type="tel"],
.rtcl-checkout select,
.rtcl-checkout textarea,
.form-control,
input.form-control {
    background-color: #0b0e14 !important;
    border: 1px solid #283548 !important;
    border-radius: 6px !important;
    color: #ffffff !important;
    padding: 12px 14px !important;
    font-size: 0.95rem !important;
}

.form-control:focus,
input.form-control:focus {
    border-color: var(--ns-accent-red) !important;
    box-shadow: 0 0 0 2px rgba(229, 57, 53, 0.25) !important;
    outline: none !important;
}

input[type="checkbox"] {
    accent-color: var(--ns-accent-red) !important;
    width: 16px;
    height: 16px;
    vertical-align: middle;
}

/* Helper Action Links */
.rtcl-login-form a,
.form-group a,
.rtcl-login-form-wrap a {
    color: #f87171 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

.rtcl-login-form a:hover,
.form-group a:hover,
.rtcl-login-form-wrap a:hover {
    color: var(--ns-accent-red) !important;
    text-decoration: underline !important;
}

/* Alerts & Error Messages (High-Contrast WCAG AAA) */
.alert,
.rtcl-message {
    border-radius: 8px !important;
    padding: 14px 18px !important;
    font-weight: 600 !important;
    font-size: 0.92rem !important;
}

.alert-danger,
.rtcl-error {
    background-color: rgba(220, 38, 38, 0.22) !important;
    border: 1px solid #ef4444 !important;
    color: #fecaca !important;
}

.alert-danger p,
.rtcl-error p {
    color: #fecaca !important;
    margin: 0 !important;
}

.alert-success,
.rtcl-success {
    background-color: rgba(22, 163, 74, 0.22) !important;
    border: 1px solid #22c55e !important;
    color: #bbf7d0 !important;
}

.alert-info,
.alert-warning {
    background-color: rgba(202, 138, 4, 0.22) !important;
    border: 1px solid #eab308 !important;
    color: #fef08a !important;
}

/* Tables (Checkout & Membership Overview) */
table,
.table,
table.rtcl-table,
table.woocommerce-table,
.table th,
.table td {
    background-color: #151b26 !important;
    border-color: #232c3d !important;
    color: #f0f6fc !important;
}

.table th,
table.rtcl-table th {
    background-color: #0d121c !important;
    color: #ffffff !important;
    border-bottom: 2px solid #232c3d !important;
    font-weight: 700 !important;
}

.table td,
table.rtcl-table td {
    color: #cbd5e1 !important;
}

.order-total,
.rtcl-price,
.amount {
    color: #4ade80 !important;
    font-weight: 700 !important;
}

/* Mobile Menu Bar & Logo Contrast */
.mean-container .mean-bar {
    background-color: #0d121c !important;
    border-bottom: 1px solid #232c3d !important;
}

.mean-logo-area img.logo-small {
    content: url("https://nairobisexy.com/wp-content/uploads/2025/03/White-Logo-1-e1741525834396.png") !important;
}
