/* Sidebar Styles */
.sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #111;
    transition: left 0.3s ease, opacity 0.3s ease;
    z-index: 9999;
    box-sizing: border-box;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
}

.sidebar.active {
    left: 0;
    opacity: 1;
    visibility: visible;
}

/* Sidebar Header */
.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sidebar-header .logo img {
    width: 120px;
    height: auto;
}

.sidebar-header .close-btn {
    font-size: 28px;
    color: #FFFFFF;
    cursor: pointer;
    transition: color 0.3s ease;
    background: none;
    border: none;
    padding: 0;
    line-height: 1;
}

.sidebar-header .close-btn:hover {
    color: #e91e63;
}

/* ==========================
   Auth Buttons
   ========================== */

.sidebar-auth {
    display: flex;
    gap: 10px;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sidebar-auth-register {
    flex: 1;
    display: block;
    text-align: center;
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: opacity 0.2s;
    background: #1976D2;
    color: #fff;
}

.sidebar-auth-login {
    flex: 1;
    display: block;
    text-align: center;
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: opacity 0.2s;
    /* was #d84315 (orange, failed contrast 4.43:1) - deep purple to match the top-bar
       Log In, Shaun's pick 10 Jul 2026 (8.2:1 with white text). */
    background: #7b1fa2;
    color: #fff;
}

.sidebar-auth-register:hover,
.sidebar-auth-login:hover {
    opacity: 0.85;
    color: #fff;
}

.sidebar-auth-user {
    flex: 1;
    display: block;
    text-align: center;
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-auth-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    color: #999;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: color 0.2s;
}

.sidebar-auth-logout:hover {
    color: #e91e63;
}

/* ==========================
   Book Now CTA
   ========================== */

.sidebar-cta {
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sidebar-book-now {
    display: block;
    background: linear-gradient(135deg, #e91e63, #c2185b);
    color: #fff !important;
    padding: 14px 20px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    transition: opacity 0.2s;
    letter-spacing: 0.3px;
}

.sidebar-book-now:hover {
    opacity: 0.9;
}

/* ==========================
   R18 Toggle Row (Mobile)
   ========================== */

.sidebar-r18-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
}

.sidebar-r18-label {
    color: #ccc;
    font-size: 14px;
    font-weight: 600;
}

.sidebar-r18-switch {
    position: relative;
    width: 62px;
    height: 30px;
    cursor: pointer;
    display: block;
}

.sidebar-r18-switch input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.sidebar-r18-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #333;
    border-radius: 30px;
    transition: background 0.3s ease;
    overflow: hidden;
}

.sidebar-r18-slider::before {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    left: 3px;
    bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.sidebar-r18-off,
.sidebar-r18-on {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 1;
}

.sidebar-r18-off {
    right: 8px;
    color: #888;
}

.sidebar-r18-on {
    left: 8px;
    color: #fff;
    opacity: 0;
}

.sidebar-r18-switch input:checked + .sidebar-r18-slider {
    background: linear-gradient(135deg, #e53935, #c62828);
}

.sidebar-r18-switch input:checked + .sidebar-r18-slider::before {
    transform: translateX(32px);
}

.sidebar-r18-switch input:checked + .sidebar-r18-slider .sidebar-r18-off {
    opacity: 0;
}

.sidebar-r18-switch input:checked + .sidebar-r18-slider .sidebar-r18-on {
    opacity: 1;
}

/* ==========================
   Expandable Sections
   ========================== */

.sidebar-nav {
    padding: 8px 0;
}

.sidebar-section {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sidebar-section-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s;
}

.sidebar-section-toggle:hover {
    background: rgba(255, 255, 255, 0.04);
}

.sidebar-chevron {
    font-size: 12px;
    color: #ffc300;
    transition: transform 0.25s ease;
}

.sidebar-section-toggle[aria-expanded="true"] .sidebar-chevron {
    transform: rotate(180deg);
}

.sidebar-section-list {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0 0 12px 0;
    background: rgba(0, 0, 0, 0.2);
}

.sidebar-section-list li a {
    display: block;
    padding: 10px 20px 10px 32px;
    color: #bbb;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.sidebar-section-list li a:hover {
    color: #fff;
    background: rgba(233, 30, 99, 0.06);
    border-left-color: #e91e63;
    padding-left: 36px;
}

.sidebar-view-all {
    color: #e91e63 !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================
   Prices: split row + rich panel  (added 2026-07-05)
   Revert: styles/sidebar.css.bak-20260705-pre-pricesnav
   ========================== */
.sidebar-section--split .sidebar-split-row {
    display: flex;
    align-items: stretch;
}
/* The label is now a real link to the /prices/ hub */
.sidebar-section-link {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 16px 20px;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s;
}
.sidebar-section-link:hover {
    background: rgba(255, 255, 255, 0.04);
}
/* Chevron sits in its own tap target so it doesn't fight the link */
.sidebar-chevron-btn {
    width: 56px;
    flex: none;
    padding: 0;
    justify-content: center;
    border-left: 1px solid rgba(255, 255, 255, 0.06);
}

#sidebar-prices,
#sidebar-locations {
    padding: 14px 16px 16px;
}

/* "See all prices" doorway */
.sidebar-price-hub {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 14px;
    border-radius: 12px;
    text-decoration: none;
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.18), rgba(233, 30, 99, 0.05));
    border: 1px solid rgba(233, 30, 99, 0.45);
    transition: background 0.18s;
}
.sidebar-price-hub:hover {
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.28), rgba(233, 30, 99, 0.08));
}
.sph-icon {
    width: 36px;
    height: 36px;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #e91e63;
    color: #fff;
    font-size: 15px;
}
.sph-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}
.sph-title {
    color: #fff;
    font-weight: 700;
    font-size: 14.5px;
}
.sph-sub {
    color: #f4a6bd;
    font-size: 11.5px;
    margin-top: 1px;
}
.sph-arrow {
    margin-left: auto;
    color: #fff;
    font-size: 16px;
}

/* Grouped category tiles */
.sidebar-price-group {
    margin-top: 16px;
}
.sidebar-price-glabel {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8a8a92;
    margin: 0 2px 8px;
}
.sidebar-price-tiles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
}
.sidebar-price-tile {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: #d7d7de;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    transition: all 0.15s;
}
.sidebar-price-tile::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #e91e63;
    flex: none;
    opacity: 0.75;
}
.sidebar-price-tile:hover {
    background: rgba(233, 30, 99, 0.10);
    border-color: rgba(233, 30, 99, 0.45);
    color: #fff;
}
.sidebar-price-tile--wide {
    grid-column: 1 / -1;
}

/* ==========================
   Sidebar Search / Filter Styles
   ========================== */

#sidebar-search h3 {
    color: rgb(254, 67, 101);
    margin-bottom: 15px;
}

#sidebar-search form label {
    font-size: 16px;
    margin-bottom: 5px;
    display: block;
}

#sidebar-search form input,
#sidebar-search form select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: none;
    border-radius: 5px;
    box-sizing: border-box;
}

#sidebar-search form button {
    width: 100%;
    padding: 12px;
    background-color: #1E90FF;
    color: #FFFFFF;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#sidebar-search form button:hover {
    background-color: #63B3ED;
}

/* Body scroll lock when sidebar open */
body.sidebar-open {
    overflow: hidden;
}
