/*
Theme Name: ReddyBook Child
Description: Custom child theme for ReddyBook built on Astra
Author: Bhuwan Bhaskar  
Template: astra
Version: 1.0.2
Text Domain: reddybook-child
*/

/* Complete Astra override */
.ast-header-sections-navigation,
.site-header,
.ast-masthead,
.ast-above-header,
.ast-below-header,
.ast-primary-header,
.ast-masthead-custom-menu-items,
.ast-site-header-cart {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* Rest of your existing CSS... */


/* Reset Astra styles */
.ast-container {
    max-width: 100% !important;
    padding: 0 !important;
}

.site-header {
    display: none !important;
}

.site-content {
    padding: 0 !important;
    margin: 0 !important;
}

.ast-separate-container .ast-article-post, 
.ast-separate-container .ast-article-single {
    background: transparent !important;
    padding: 0 !important;
}


/* Header Variables */
:root{
    --header-h: 70px;
    --nav-h: 60px;
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f5f5;
    color: #333;
    font-size: 12px;
    overflow-x: hidden;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-h);
    background: #fff;
    padding: 8px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0,0,0,.08);
    z-index: 1000;
}

/* Logo Section - Add this missing CSS */
.logo-section {
    display: flex;
    align-items: center;
    gap: 35px;
}

/* Logo with image only */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0; /* prevent logo from shrinking */
}

.logo-image {
    width: 100px;
    height: 80px;
    object-fit: contain;
}

.search-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-box {
    width: 340px;
    padding: 8px 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.search-box:focus {
    border-color: #d32f2f;
    outline: none;
}

.rules-btn {
    background: #d32f2f;
    color: #fff;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    text-decoration: none;
    white-space: nowrap; /* prevent text wrapping */
}

.auth-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0; /* prevent buttons from shrinking */
}

.btn {
    padding: 8px 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    border: 1px solid;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap; /* prevent button text from wrapping */
}

.btn-signup {
    background: #666;
    border-color: #666;
    color: #fff;
}

.btn-login {
    background: #007bff;
    border-color: #007bff;
    color: #fff;
}

.btn:hover {
    opacity: .9;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .search-box {
        width: 200px; /* smaller search box on mobile */
    }
    
    .logo-section {
        gap: 20px; /* reduce gap on mobile */
    }
}

/* Navigation */
.main-nav {
    background: #333;
    color: white;
    display: flex;
    align-items: center;
    padding: 0;
    overflow-x: auto;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 999;
    height: var(--nav-h);
    border-bottom: 1px solid #555;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    padding: 5px 25px;
    text-align: center;
    transition: background 0.2s ease;
    height: 100%;
    justify-content: center;
    text-decoration: none;
    color: white;
    gap: 4px;
}

.nav-item:hover {
    background: #444;
    color: white;
}

.nav-item.active {
    background: #d32f2f;
    color: white;
}

.nav-item.home {
    background: #d32f2f;
}

/* Navigation Icons */
.nav-icon {
    width: 18px;
    height: 18px;
    margin-bottom: 3px;
    object-fit: contain;
    flex-shrink: 0;
}

/* Keep old icons for HOME and IN-PLAY */
.nav-icon.home-icon,
.nav-icon.inplay-icon {
    background: #ccc;
    border-radius: 2px;
}

.nav-text {
    font-size: 9px;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
}

/* Main Container */
.main-container {
    display: flex;
    margin-top: calc(var(--header-h) + var(--nav-h));
    height: calc(100vh - var(--header-h) - var(--nav-h));
}

/* Sidebar */
.sidebar {
    width: 240px;
    background: #fff;
    border-right: 1px solid #e0e0e0;
    height: calc(100vh - var(--header-h) - var(--nav-h));
    position: fixed;
    left: 0;
    top: calc(var(--header-h) + var(--nav-h));
    z-index: 100;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    font-size: 13px;
    font-weight: 500;
    color: #444;
    text-decoration: none;
    border-bottom: 1px solid #f3f3f3;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.sidebar-item:hover {
    background: #fafafa;
    color: #d32f2f;
}

.sidebar-item.active {
    background: #fff8f3;
    color: #d32f2f;
    border-left: 3px solid #ffc107;
}

/* Sidebar Icons */
.sidebar-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
}

/* Content Area */
.content {
    margin-left: 240px;
    width: calc(100% - 240px);
    height: calc(100vh - var(--header-h) - var(--nav-h));
    overflow-y: auto;
    background: white;
    position: relative;
	bottom: 39px;
}

/* Promotional Banner */
.sidebar-promo-section {
    margin-top: auto;
    flex-shrink: 0;
    background: #f8f9fa;
    border-top: 1px solid #e0e0e0;
}

.promo-slider {
    position: relative;
    height: 333px;
    overflow: hidden;
    background: #fff;
}

.promo-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.promo-slide.active {
    opacity: 1;
}

.promo-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.promo-indicators {
    display: flex;
    justify-content: center;
    gap: 5px;
    padding: 8px;
    background: rgba(0,0,0,0.05);
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0,0,0,0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #d32f2f;
    transform: scale(1.3);
}

/* Sport Sections */
.sport-section {
    margin-bottom: 0;
}

.section-header {
    background: #d32f2f;
    color: white;
    padding: 10px 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    position: sticky;
    top: 0;
    z-index: 10;
}



/* Cricket Header */
.cricket-section .section-header {
    background: #c41e3a;
    color: white;
    width: 201px;
    padding: 7px 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    position: sticky;
    top: 0;
    z-index: 10;
    clip-path: polygon(0 0, calc(100% - 30px) 0, 73% 100%, 0 100%);
}

.cricket-section .cricket-icon {
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Tabs Container - Below Header */
.cricket-tabs-container {
    background: #f8f9fa;
    padding: 12px 20px;
    display: flex;
    gap: 12px;
    align-items: center;
    border-bottom: 1px solid #e0e6ff;
    position: sticky;
    top: 48px;
    z-index: 9;
}

.cricket-tab {
    padding: 6px 16px;
    border: 2px solid #c41e3a;
    background: white;
    color: #c41e3a;
    cursor: pointer;
    font-size: 11px;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
    height: 32px;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
}

.cricket-tab.active {
    border-color: #c41e3a;
    color: white;
    border: 2px solid #c41e3a;

}

.cricket-tab:hover {
    background: transparent;
    color: #c41e3a;
    border: 2px solid #c41e3a;

}

/* Table adjustments */
.cricket-section .odds-table {
    position: sticky;
    top: 96px; 
}

/* Football Header */
.football-section .section-header {
    background: #c41e3a;
    color: white;
    width: 201px;
    padding: 7px 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    position: sticky;
    top: 0;
    z-index: 10;
    clip-path: polygon(0 0, calc(100% - 30px) 0, 73% 100%, 0 100%);
}

.football-section .football-icon {
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Tabs Container - Below Header */
.football-tabs-container {
    background: #f8f9fa;
    padding: 12px 20px;
    display: flex;
    gap: 12px;
    align-items: center;
    border-bottom: 1px solid #e0e6ff;
    position: sticky;
    top: 48px;
    z-index: 9;
}

.football-tab {
    padding: 6px 16px;
    border: 2px solid #c41e3a;
    background: white;
    color: #c41e3a;
    cursor: pointer;
    font-size: 11px;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
    height: 32px;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
}

.football-tab.active {
    border-color: #c41e3a;
    color: #c41e3a;
    border: 2px solid #c41e3a;
}

.football-tab:hover {
    background: transparent;
    color: #c41e3a;
    border: 2px solid #c41e3a;
}

/* Table adjustments */
.football-section .odds-table {
    top: 96px; 
}

/* Tennis Header */
.tennis-section .section-header {
    background: #c41e3a;
    color: white;
    width: 201px;
    padding: 7px 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    position: sticky;
    top: 0;
    z-index: 10;
    clip-path: polygon(0 0, calc(100% - 30px) 0, 73% 100%, 0 100%);
}

.tennis-section .tennis-icon {
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
    flex-shrink: 0;
}

.tennis-tabs-container {
    background: #f8f9fa;
    padding: 12px 20px;
    display: flex;
    gap: 12px;
    align-items: center;
    border-bottom: 1px solid #e0e6ff;
    position: sticky;
    top: 48px;
    z-index: 9;
}

.tennis-tab {
    padding: 6px 16px;
    border: 2px solid #c41e3a;
    background: white;
    color: #c41e3a;
    cursor: pointer;
    font-size: 11px;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
    height: 32px;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
}

.tennis-tab.active {
    border-color: #c41e3a;
    color: #c41e3a;
    border: 2px solid #c41e3a;
}

.tennis-tab:hover {
    background: transparent;
    color: #c41e3a;
    border: 2px solid #c41e3a;
}

/* Table adjustments */
.tennis-section .odds-table {
    position: sticky;
    top: 96px; 
}


.section-icon {
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
}

.betting-controls {
    background: #f8f9fa;
    padding: 10px 20px;
    display: flex;
    gap: 10px;
    align-items: center;
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 44px;
    z-index: 9;
}

.control-btn {
    padding: 6px 15px;
    border: 1px solid #ddd;
    background: white;
    color: #333;
    cursor: pointer;
    font-size: 11px;
    border-radius: 20px;
    transition: all 0.2s ease;
    text-transform: uppercase;
    font-weight: 500;
}

.control-btn.active {
    background: #d32f2f;
    border-color: #d32f2f;
    color: white;
}

.football-section .control-btn.active {
    background: #28a745;
    border-color: #28a745;
}

.tennis-section .control-btn.active {
    background: #17a2b8;
    border-color: #17a2b8;
}

/* ==========================================================================
   PERFECT ODDS TABLE LAYOUT - EXACT MATCH TO REFERENCE
   ========================================================================== */

.odds-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    table-layout: fixed;
    font-size: 11px;
    border: 1px solid #dee2e6;
}

/* Perfect column width distribution */
.odds-table colgroup col:first-child,
.odds-table th:first-child,
.odds-table td:first-child {
    width: 55% !important; /* Match info takes more space like reference */
}

.odds-table colgroup col:not(:first-child),
.odds-table th:not(:first-child),
.odds-table td:not(:first-child) {
    width: 7.5% !important; /* Each odds column = 45% ÷ 6 columns */
}

/* Table Header */
.odds-header {
    background: #f8f9fa;
    /* position: sticky; */
    top: 96px;
    z-index: 8;
}

.odds-header th {
    padding: 6px 4px;
    font-size: 10px;
    text-align: center;
    border: 1px solid #dee2e6;
    font-weight: 700;
    color: #333;
    background: #f8f9fa;
    vertical-align: middle;
    height: 35px;
}

/* ==========================================================================
   MATCH ROW - EXACTLY LIKE REFERENCE IMAGE
   ========================================================================== */

.match-row {
    border-bottom: 1px solid #eee;
    height: 45px; /* Compact height like reference */
    transition: background-color 0.2s ease;
}

.match-row:hover {
    background-color: rgba(248, 249, 250, 0.5);
}

.match-info {
    padding: 6px 12px;
    border-right: 1px solid #dee2e6;
    vertical-align: middle;
    background: #fff;
    position: relative;
    width: 55% !important;
}

/* Match details layout */
.match-info .match-name {
    font-weight: bold;
    font-size: 11px;
    color: #333;
    line-height: 1.1;
    margin-bottom: 1px;
    max-width: 70%; /* Leave space for icons */
}

.match-info .match-details {
    font-size: 8px;
    color: #888;
    text-transform: uppercase;
    margin-bottom: 1px;
    max-width: 70%;
}



.match-info .match-time {
    font-size: 8px;
    color: #d32f2f;
    font-weight: 600;
    max-width: 70%;
    position: absolute;
    right: 104px;
    top: 6%;
    background: #f8f9fa;
    color: #d32f2f;
    padding: 8px
}

/* Mobile First - Base styles for small screens */

@media screen and (min-width: 360px) {
    .match-info .match-time {
        font-size: 6px;
        right: 38px;
        top: 23%;
        padding: 3px 4px;
        max-width: 50%;
        font-weight: 500;
    }
}

@media screen and (min-width: 480px) {
    .match-info .match-time {
        font-size: 6px;
        right: 45px;
        top: 35%;
        padding: 4px 5px;
        max-width: 55%;
    }
}

@media screen and (min-width: 768px) {
    .match-info .match-time {
        font-size: 7px;
        right: 32px;
        top: 30%;
        padding: 5px 6px;
        max-width: 60%;
        font-weight: 600;
    }
}

@media screen and (min-width: 1024px) {
    .match-info .match-time {
        font-size: 8px;
        right: 42px;
        top: 20%;
        padding: 4px;
        max-width: 70%;
        font-weight: 600;
    }
}


/* Icons positioned on the right */
.match-info .match-icons {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 3px;
}

/* .live-indicator {
    background: #03b37f;
    color: white;
    padding: 1px 3px;
    border-radius: 2px;
    font-size: 7px;
    font-weight: bold;
    text-transform: uppercase;
    position: absolute;
    right: 498%;
} */

/* ==========================================================================
   LIVE INDICATOR WITH PULSING ANIMATION
   ========================================================================== */

.live-indicator {
    background: #28a745;
    color: white;
    padding: 2px 4px;
    border-radius: 2px;
    font-size: 7px;
    font-weight: bold;
    position: absolute;
    right: 350%;
    top: 2px;
    text-transform: uppercase;
    white-space: nowrap;
    position: relative;
    animation: linear infinite alternate;
    animation-name: run;
    animation-duration: 1.2s;
    -webkit-animation: linear infinite alternate;
    -webkit-animation-name: run;
    -webkit-animation-duration: 1.2s;
}

@media screen and (min-width: 360px) {
    
.live-indicator {
     position: absolute;
    right: 257%;
    }
}

@media screen and (min-width: 1024px) {
 .live-indicator {
     position: absolute;
    right: 328%;
    }

}


/* Add a pulsing dot before the LIVE text */
.live-indicator::before {
    content: "●";
    color: #fff;
    margin-right: 2px;
    animation: pulse 1.5s ease-in-out infinite;
    -webkit-animation: pulse 1.5s ease-in-out infinite;
}

/* Animation keyframes for the LIVE indicator */
@keyframes run {
    0% {
        background: #28a745;
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    }
    50% {
        background: #20c997;
        box-shadow: 0 0 0 4px rgba(40, 167, 69, 0.3);
    }
    100% {
        background: #28a745;
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    }
}

@-webkit-keyframes run {
    0% {
        background: #28a745;
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    }
    50% {
        background: #20c997;
        box-shadow: 0 0 0 4px rgba(40, 167, 69, 0.3);
    }
    100% {
        background: #28a745;
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    }
}

/* Animation for the pulsing dot */
@keyframes pulse {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@-webkit-keyframes pulse {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}




.match-icon {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 7px;
    color: white;
    cursor: pointer;
}

.icon-facebook {
    background: #4267B2;
}

.icon-video {
    background: #FF0000;
}

/* ==========================================================================
   ODDS CELLS - PERFECT COLOR ALTERNATION
   ========================================================================== */

.odds-cell {
    height: 45px;
    padding: 3px 1px;
    text-align: center;
    border: 1px solid #dee2e6;
    cursor: pointer;
    font-weight: bold;
    vertical-align: middle;
    transition: all 0.2s ease;
    font-size: 11px;
    line-height: 1.1;
    width: 7.5% !important;
}

/* Perfect alternating pattern: Blue-Pink-Blue-Pink-Blue-Pink */
.odds-cell:nth-child(2), /* 1st odds column */
.odds-cell:nth-child(4), /* X column */
.odds-cell:nth-child(6) { /* 2nd odds column (first) */
    background: #87CEEB; /* Light blue */
    color: #0066cc;
}

.odds-cell:nth-child(3), /* 1st odds column (lay) */
.odds-cell:nth-child(5), /* X column (if applicable) */
.odds-cell:nth-child(7) { /* 2nd odds column (lay) */
    background: #FFB6C1; /* Light pink */
    color: #cc0066;
}

/* For disabled/empty cells */
.odds-cell.disabled-cell {
    background: #f8f9fa !important;
    color: #999 !important;
    cursor: not-allowed;
}

.odds-cell small {
    display: block;
    font-size: 8px;
    font-weight: normal;
    opacity: 0.8;
    margin-top: 1px;
}

/* Hover effects */
.odds-cell:not(.disabled-cell):hover {
    transform: scale(1.02);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    z-index: 5;
    border: 2px solid #333;
}

/* ==========================================================================
   RESPONSIVE FIXES
   ========================================================================== */

@media (max-width: 1200px) {
    .match-info .match-name {
        font-size: 10px;
        max-width: 65%;
    }
    
    .match-info .match-details,
    .match-info .match-time {
        font-size: 7px;
        max-width: 65%;
    }
    
    .odds-cell {
        font-size: 10px;
        padding: 2px 1px;
    }
}

/* Animation */
@keyframes flash {
    0%, 100% { background-color: inherit; }
    50% { background-color: #fff3cd; }
}

/* Scrollbar */
.content::-webkit-scrollbar {
    width: 8px;
}

.content::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.content::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
        margin-top: calc(var(--header-h) + var(--nav-h));
    }
    
    .sidebar {
        position: static;
        width: 100%;
        height: auto;
        display: flex;
        flex-wrap: wrap;
        overflow-x: auto;
        border-right: none;
        border-bottom: 1px solid #ddd;
    }
    
    .sidebar-item {
        min-width: 120px;
        flex-shrink: 0;
        border-bottom: none;
        border-right: 1px solid #eee;
    }

    .content {
        margin-left: 0;
        width: 100%;
        height: auto;
    }

    .search-box {
        width: 180px;
    }
}

/* ---------- SECTION HEADERS UPCOMING HEADER---------- */
.upcoming-header{
    background:#059b2e;
    margin-top:12px;    
    color:#fff;
    padding:7px 20px;
    font-weight:bold;
    display:flex;
    align-items:center;
    gap:10px;
    font-size:14px;
    margin-bottom:11px;         
}



/* ---------- SECTION HEADERS (red only) ---------- */
.casino-provider-header{
    background:#c41e3a;
    color:#fff;
    width:227px;
    padding:7px 20px;
    font-weight:bold;
    display:flex;
    align-items:center;
    gap:10px;
    font-size:14px;
    clip-path:polygon(0 0,calc(100% - 30px) 0,73% 100%,0 100%);
    margin-bottom:0;
}

.section-icon{
    width:16px;
    height:16px;
    background:#fff;
    border-radius:50%;
    flex-shrink:0;
}

/* ---------- TWO-ROW GRID WITH HORIZONTAL SCROLL ---------- */
.provider-grid-container{
    background:#f8f9fa;
    border:1px solid #dee2e6;
    border-top:none;
    overflow-x:auto;          /* horizontal scrollbar */
    overflow-y:hidden;
    padding:8px;
}

.provider-grid{
    display:grid;
    grid-template-rows:1fr 1fr;   /* two rows */
    grid-auto-flow:column;        /* flow horizontally */
    grid-auto-columns:108px;      /* fixed width per card */
    gap:6px;
    min-width:fit-content;
}

.provider-card{
    width:108px;
    height:72px;
    background:#fff;
    border-radius:4px;
    overflow:hidden;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 1px 3px rgba(0,0,0,.12);
    transition:transform .2s ease;
}

.provider-card:hover{
    transform:scale(1.02);
    box-shadow:0 2px 6px rgba(0,0,0,.15);
}

.provider-card img{
    width:100%;
    height:100%;
    object-fit:cover;
}

/* custom scrollbar */
.provider-grid-container::-webkit-scrollbar{height:8px;}
.provider-grid-container::-webkit-scrollbar-track{background:#f1f1f1;border-radius:4px;}
.provider-grid-container::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:4px;}
.provider-grid-container::-webkit-scrollbar-thumb:hover{background:#a8a8a8;}

@media(max-width:768px){
    .provider-grid{grid-auto-columns:90px;}
    .provider-card{width:90px;height:60px;}
}


/* GAP so icons can scroll behind the fixed button */
.main-nav{padding-right:48px;overflow-x:auto;scrollbar-width:none}
.main-nav::-webkit-scrollbar{display:none}

/* fixed hamburger over the scrolling bar */
.nav-toggle{
    position:fixed;               /* key: stays put */
    top:var(--header-h);
    right:0;
    z-index:1002;                 /* higher than nav items */
    width:48px;height:var(--nav-h);
    display:none;                 /* desktop default */
    font-size:24px;
    background:#333;
    color:#fff;
    border:none;
    cursor:pointer;
}

/* show on phones */
@media(max-width:768px){
    .nav-toggle{display:block}
    /* hide icons when drawer open */
    body.sidebar-open .main-nav .nav-item{visibility:hidden}
}

/* ☰ → ×  animation */
.nav-toggle.open{color:transparent}
.nav-toggle.open::before,
.nav-toggle.open::after{
    content:'';position:absolute;top:50%;left:50%;
    width:22px;height:2px;background:#fff;
}
.nav-toggle.open::before{transform:translate(-50%,-50%) rotate(45deg)}
.nav-toggle.open::after {transform:translate(-50%,-50%) rotate(-45deg)}

/* ---------- SIDEBAR unified "box" ---------- */
@media(max-width:768px){
    .sidebar{
        width:280px;
        background:#fff;
        height:calc(100vh - var(--header-h) - var(--nav-h));
        overflow-y:auto;
        box-shadow:2px 0 8px rgba(0,0,0,.25);
        transform:translateX(-100%);
        transition:transform .35s ease;
        border-right:1px solid #ddd;
    }
    .sidebar.open{transform:translateX(0)}
    body.sidebar-open{overflow:hidden}
}


/* ══════════  MOBILE SLIDE-OUT DRAWER ══════════ */
@media (max-width:768px){

    /* full-height white card that slides over page */
    .sidebar{
        position:fixed;top:0;left:0;z-index:1001;
        width:85vw;max-width:310px;height:100vh;
        background:#fff;border-right:1px solid #e3e3e3;
        transform:translateX(-100%);transition:transform .35s ease;
        overflow-y:auto;scrollbar-width:thin;
    }
    .sidebar.open{transform:translateX(0)}
    body.sidebar-open{overflow:hidden}

    /* nice scrollbar */
    .sidebar::-webkit-scrollbar{width:6px}
    .sidebar::-webkit-scrollbar-thumb{background:#c7c7c7;border-radius:3px}
    .sidebar::-webkit-scrollbar-thumb:hover{background:#b1b1b1}

    /* ─── drawer header bar ─── */
    .drawer-head{
        position:sticky;top:0;z-index:2;
        background:#fff;display:flex;align-items:center;
        justify-content:center;padding:10px 14px;
        border-bottom:1px solid #eee;
    }
    .drawer-brand{
        font-family:inherit;font-size:18px;font-weight:700;
        color:#c6a045;letter-spacing:.5px;
    }
    .drawer-close{
        margin-left:auto;font-size:24px;line-height:24px;
        background:transparent;border:none;color:#666;
        cursor:pointer;
    }

    /* ─── list items appearance inside drawer ─── */
    .sidebar-item{
        display:flex;align-items:center;gap:12px;
        padding:12px 16px;font-size:14px;color:#444;
        border-bottom:1px solid #f5f5f5;text-decoration:none;
    }
    .sidebar-item.active{
        background:#fffbe8;color:#d32f2f;
        position:relative;
    }
    .sidebar-item.active::before{         /* thin orange bar */
        content:'';position:absolute;left:0;top:0;
        width:3px;height:100%;background:#ff8c00;
    }

    /* icon size tweak */
    .sidebar-icon{width:18px;height:18px;object-fit:contain}
}

/* ─── keep desktop layout exactly as before ─── */
@media (min-width:769px){
    .sidebar{position:fixed;left:0;top:calc(var(--header-h) + var(--nav-h));
             width:240px;height:calc(100vh - var(--header-h) - var(--nav-h));
             transform:none;box-shadow:none}
    .drawer-head,.drawer-close{display:none}
}


/* ①  Make the whole drawer a vertical flow, never wrap */
.sidebar{
    display:block !important;      /* overrides any flex/row it inherits */
}

/* ②  Every clickable entry should stretch full width */
.sidebar-item{
    width:100% !important;         /* stop 50-50 wrapping */
    max-width:none;
}

/* ③  Keep the promo-slider stuck to the bottom and full width */
.sidebar-promo-section{
    width:100%;
    margin-top:auto;               /* push it down below the list */
}



/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: #d32f2f;
    margin: 3px 0;
    transition: 0.3s;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .header {
        padding: 10px 15px;
    }

    .logo-section {
        justify-content: space-between;
        width: 100%;
        margin-bottom: 0;
    }

    .logo {
        margin-right: 0;
    }

    .logo-image {
        height: 70px;
    }

    .search-container {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #000;
        padding: 15px;
        flex-direction: column;
        gap: 15px;
        border-top: 1px solid #333;
        max-width: none;
    }

    .search-container.active {
        display: flex;
    }

    .search-box {
        border-radius: 4px;
    }

    .rules-btn {
        align-self: flex-start;
    }

    .auth-buttons {
        display: none;
        position: absolute;
        top: calc(100% + 120px);
        left: 0;
        width: 100%;
        background: #000;
        padding: 15px;
        flex-direction: column;
        gap: 10px;
        border-top: 1px solid #333;
    }

    .auth-buttons.active {
        display: flex;
    }

    .btn {
        width: 100%;
        padding: 12px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    /* Hamburger Animation */
    .mobile-menu-toggle.active .hamburger-line:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .mobile-menu-toggle.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active .hamburger-line:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}

@media (max-width: 480px) {
    .header {
        padding: 8px 10px;
    }

    .logo-image {
        height: 70px !important;
    }
}

/* ─────────  MOBILE-ONLY  (≤768 px)  ───────── */
@media (max-width:768px){

    /* hide desktop duplicates, if any */
    .desktop-only{display:none!important;}

    /* ==== PROMO  (two stacked rows) ==== */
    .promo-section{padding:8px 0;background:#fff}
    /* scroll container: 2 rows, horizontal flow */
    .promo-track{
        display:grid;
        grid-auto-flow:column;
        grid-auto-columns:160px;      /* tile width */
        grid-template-rows:repeat(2,120px);  /* two rows */
        gap:8px;
        padding:8px 0 8px 12px;
        overflow-x:auto;
        scroll-snap-type:x mandatory;
    }
    .promo-tile{
        width:160px;height:120px;overflow:hidden;
        border-radius:6px;scroll-snap-align:start;
        position:relative;flex-shrink:0;
    }
    .promo-tile img{width:100%;height:100%;object-fit:cover}

    /* ==== NEW LAUNCH  (one row) ==== */
    .new-launch-section{margin-top:16px;background:#fff}
    .nl-header{
        background:#d32f2f;color:#fff;font-weight:700;
        letter-spacing:.5px;text-align:center;
        padding:10px 0;
    }
    .nl-track{
        display:flex;gap:8px;
        padding-left:12px;padding-bottom:8px;
        overflow-x:auto;scroll-snap-type:x mandatory;
    }
    .nl-tile{
        width:160px;height:120px;overflow:hidden;
        border-radius:6px;flex-shrink:0;scroll-snap-align:start;
    }
    .nl-tile img{width:100%;height:100%;object-fit:cover}
}

/* ─────────  DESKTOP  (≥769 px) – hide sections  ───────── */
@media (min-width:769px){
    .promo-section,
    .new-launch-section{display:none;}
}

/* ========== FOOTER STYLES ========== */
.site-footer {
    background: #1a1a1a;
    color: #fff;
    margin-top: 50px;
    padding: 40px 0 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-section h3 {
    color: #d32f2f;
    font-size: 24px;
    margin-bottom: 15px;
}

.footer-section h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 15px;
    border-bottom: 2px solid #d32f2f;
    padding-bottom: 5px;
}

.footer-menu {
    list-style: none;
    padding: 0;
}

.footer-menu li {
    margin-bottom: 8px;
}

.footer-menu a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: #d32f2f;
}

.footer-bottom {
    border-top: 1px solid #333;
    margin-top: 30px;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    margin: 5px 0;
    font-size: 12px;
    color: #999;
}

/* ========== PAGE CONTENT STYLES ========== */
.page-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px 20px;
    background: #fff;
    min-height: 500px;
}

.page-header {
    border-bottom: 3px solid #d32f2f;
    margin-bottom: 30px;
    padding-bottom: 15px;
}

.page-header h1 {
    color: #333;
    font-size: 32px;
    margin: 0;
}

.page-body h2 {
    color: #d32f2f;
    font-size: 24px;
    margin: 25px 0 15px;
}

.page-body h3 {
    color: #333;
    font-size: 20px;
    margin: 20px 0 10px;
}

.page-body p {
    line-height: 1.7;
    margin-bottom: 15px;
    color: #555;
}

.page-body ul {
    margin: 15px 0 15px 30px;
    color: #555;
}

.page-body li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin-top: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.contact-form button {
    background: #d32f2f;
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
}

.contact-form button:hover {
    background: #b71c1c;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .page-content {
        margin-left: 0;
        padding: 20px 15px;
    }
}


/* ========== SEO BREADCRUMBS STYLING ========== */
.breadcrumbs {
    background: #f8f9fa;
    padding: 12px 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
    font-size: 13px;
}

.breadcrumbs ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}

.breadcrumbs li {
    margin-right: 8px;
}

.breadcrumbs li::after {
    content: "›";
    margin-left: 8px;
    color: #666;
}

.breadcrumbs li:last-child::after {
    display: none;
}

.breadcrumbs a {
    color: #d32f2f;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs span {
    color: #666;
}
