/* ==========================================================================
   BikeGuideBD Official Style.css (Full 1500+ Lines Original Structure)
   Updated Scheme: Royal Blue (#0056bf) & Lime Green (#4eb814)
   ========================================================================== */

:root {
    --bgbd-blue-dark: #002f6c;
    --bgbd-blue-bright: #0056bf;
    --bgbd-blue-hover: #003d87;
    --bgbd-green-accent: #4eb814;
    --bgbd-green-hover: #3ea00b;
    
    --bgbd-logo-gradient: linear-gradient(135deg, #0056bf 0%, #002d6b 100%);
    --bgbd-green-gradient: linear-gradient(135deg, #53c417 0%, #389608 100%);
    
    --bgbd-card-bg: #ffffff;
    --bgbd-card-border: rgba(0, 86, 191, 0.12);
    --bgbd-radius-card: 16px;
    --bgbd-radius-btn: 25px;
}

/* ==========================================================================
   1. Bike Color Variants Standalone Styles (Modern Chips Design)
   ========================================================================== */
.bgbd-colors-block {
    background: #ffffff;
    border: 1px solid #eef0f2;
    border-radius: 12px;
    padding: 18px;
    margin-top: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.bgbd-colors-heading {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 14px 0;
    color: #111;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bgbd-color-btns-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bgbd-color-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    background: #f8f9fa !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 25px !important;
    padding: 10px 10px !important;
    cursor: pointer !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04) !important;
}

.bgbd-color-btn:hover {
    border-color: var(--bgbd-blue-bright) !important;
    background: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 86, 191, 0.12) !important;
}

.bgbd-color-btn.active {
    border-color: var(--bgbd-green-accent) !important;
    background: var(--bgbd-green-gradient) !important;
    box-shadow: 0 2px 8px rgba(78, 184, 20, 0.2) !important;
}

.bgbd-color-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1.5px solid rgba(0,0,0,0.15);
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.2);
    flex-shrink: 0;
}

.bgbd-color-label {
    font-size: 13px;
    font-weight: 700;
    color: #2d3748;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.bgbd-color-btn.active .bgbd-color-label {
    color: #ffffff !important;
}

/* ==========================================================================
   2. Standalone Bike Main Gallery (Absolute No-Cut Fix)
   ========================================================================== */
.bgbd-gallery-block {
    width: 100%;
    margin-bottom: 20px;
}

.bgbd-main-img-wrap {
    width: 100% !important;
    height: 380px !important;
    background: #ffffff !important;
    border: 1px solid #eef0f2 !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 15px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    position: relative !important;
}

.bgbd-main-img-wrap a {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    cursor: zoom-in !important;
}

.bgbd-main-img-wrap img {
    max-width: 100% !important;           
    max-height: 100% !important;        
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto !important;
    transition: opacity 0.2s ease-in-out;
}

.bgbd-zoom-badge {
    position: absolute !important;
    bottom: 8px !important;
    right: 8px !important;
    background: var(--bgbd-green-gradient) !important;
    color: #ffffff !important;
    font-size: 11px !important;
    padding: 4px 10px !important;
    border-radius: 15px !important;
    font-weight: 600 !important;
    pointer-events: none !important;
    z-index: 5 !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15) !important;
}

.bgbd-thumbs-wrapper {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    overflow-x: auto;
    padding: 2px 0;
}

.bgbd-thumb-box {
    width: 65px;
    height: 55px;
    flex-shrink: 0;
    border: 1.5px solid #e2e8f0;
    border-radius: 6px;
    padding: 2px;
    cursor: pointer;
    background: #fff;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bgbd-thumb-box:hover,
.bgbd-thumb-box.active {
    border-color: var(--bgbd-blue-bright) !important;
    box-shadow: 0 2px 6px rgba(0, 86, 191, 0.2) !important;
}

.bgbd-thumb-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Custom Lightbox Modal Overlay */
.bgbd-modal-overlay {
    display: none;
    position: fixed;
    z-index: 999999 !important;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.bgbd-modal-content {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 15px !important;
    box-shadow: 0 5px 25px rgba(0,0,0,0.5);
    animation: zoomIn 0.25s ease-in-out;
}

.bgbd-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
    z-index: 1000000;
}

.bgbd-modal-close:hover {
    color: var(--bgbd-green-accent);
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* ==========================================================================
   3. Full & Smart Specifications Table Styles
   ========================================================================== */
.bgbd-spec-wrapper {
    margin: 25px 0;
    font-family: inherit;
    scroll-margin-top: 40px;
}

.bgbd-spec-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 25px;
    background: #fff;
    border: 1px solid #ddd;
    table-layout: fixed;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.bgbd-spec-table th {
    background: #f1f5f9;
    color: var(--bgbd-blue-dark);
    padding: 12px 15px;
    text-align: left;
    font-size: 15px;
    font-weight: 700;
    border-bottom: 2px solid #ddd;
    border-left: 5px solid var(--bgbd-blue-bright) !important;
}

.bgbd-spec-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    color: #222;
    line-height: 1.5;
    word-wrap: break-word;
}

.bgbd-spec-table tr:nth-child(even) {
    background: #fcfcfc;
}

.bgbd-label {
    font-weight: 600;
    width: 20%;
    color: #444;
    background: #f7f7f7;
    border-right: 1px solid #ddd;
}

.bgbd-val {
    width: 30%;
    border-right: 1px solid #ddd;
}

.bgbd-val:last-child {
    border-right: none;
}

.bgbd-empty-td {
    background: transparent;
    border: none !important;
}

/* ==========================================================================
   4. Key Specifications Grid Styles
   ========================================================================== */
.bgbd-key-specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 20px 0;
    font-family: inherit;
}

.bgbd-key-spec-box {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 6px;
    padding: 12px 15px;
    border-left: 3px solid var(--bgbd-blue-bright) !important;
}

.bgbd-key-label {
    font-size: 12px;
    text-transform: uppercase;
    color: #777;
    font-weight: 600;
    margin-bottom: 4px;
}

.bgbd-key-value {
    font-size: 15px;
    font-weight: 700;
    color: #111;
}

/* ==========================================================================
   5. Mandatory 4-Column Table CSS Fix
   ========================================================================== */
.bgbd-short-wrapper {
    margin: 20px 0;
    font-family: inherit;
    border: 1px solid #e1e1e1;
    background: #ffffff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.bgbd-short-title {
    font-size: 20px;
    font-weight: 700;
    color: #111;
    margin-bottom: 15px;
    margin-top: 0;
}

.bgbd-short-4col-table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin-bottom: 20px !important;
    border: 1px solid #ddd !important;
    table-layout: fixed !important;
}

.bgbd-short-4col-table thead th {
    background: #f1f5f9 !important;
    color: var(--bgbd-blue-dark) !important;
    padding: 12px 15px !important;
    text-align: left !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    border-bottom: 2px solid #ddd !important;
    border-left: 5px solid var(--bgbd-blue-bright) !important;
}

.bgbd-short-4col-table tr {
    border-bottom: 1px solid #eee !important;
}

.bgbd-short-4col-table td {
    padding: 10px 14px !important;
    font-size: 13.5px !important;
    line-height: 1.5 !important;
    vertical-align: middle !important;
    word-wrap: break-word !important;
}

.bgbd-4col-label {
    font-weight: 600 !important;
    color: #444 !important;
    width: 18% !important;
    background: #f7f7f7 !important;
    border-right: 1px solid #eee !important;
}

.bgbd-4col-val {
    font-weight: 700 !important;
    color: #111 !important;
    width: 32% !important;
    border-right: 1px solid #eee !important;
}

.bgbd-4col-val:last-child {
    border-right: none !important;
}

.bgbd-empty-cell {
    background: transparent !important;
    border-right: none !important;
}

.bgbd-disclaimer-box {
    background: #fff4d4;
    border-radius: 4px;
    padding: 14px;
    margin-bottom: 15px;
    font-size: 13px;
    color: #222;
    line-height: 1.6;
    font-weight: 600;
    border-left: 3px solid #b58100;
}

.bgbd-disclaimer-title {
    font-weight: 700;
    color: #b58100;
    font-size: 14px;
    margin-bottom: 4px;
    display: block;
}

.bgbd-view-details-btn {
    display: inline-block;
    color: var(--bgbd-blue-bright) !important;
    font-weight: 700;
    text-decoration: none !important;
    font-size: 14px;
    cursor: pointer;
}

.bgbd-view-details-btn:hover {
    color: var(--bgbd-green-accent) !important;
    text-decoration: underline !important;
}

/* ==========================================================================
   6. Bike Comparison System Styles
   ========================================================================== */
.bike-compare-container {
    padding: 20px; 
    background: #fff; 
    border-radius: 8px; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); 
    font-family: sans-serif;
}

.compare-selector-form {
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 20px; 
    margin-bottom: 30px;
}

.select-wrapper {
    display: flex; 
    gap: 20px; 
    width: 100%; 
    justify-content: center; 
    flex-wrap: wrap;
}

.select-wrapper .select2-container {
    flex: 1;
    min-width: 280px;
    max-width: 45%;
}

.select-wrapper .select2-container--default .select2-selection--single {
    height: 48px;
    border: 1px solid #ddd;
    border-radius: 4px;
    display: flex;
    align-items: center;
}

.select-wrapper .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 46px;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #eee;
    border-radius: 4px;
}

.bike-compare-table {
    width: 100%; 
    border-collapse: collapse; 
    text-align: left; 
    font-size: 15px;
    min-width: 600px;
}

.bike-compare-table thead tr {
    background: var(--bgbd-logo-gradient) !important; 
    color: #fff;
}

.bike-compare-table th {
    padding: 15px; 
    font-weight: 700;
}

.bike-compare-table td {
    padding: 15px;
}

.bike-compare-table tr {
    border-bottom: 1px solid #eee;
}

.compare-btn-submit {
    padding: 12px 35px; 
    background: var(--bgbd-logo-gradient) !important; 
    color: #fff; 
    border: none; 
    border-radius: 25px !important; 
    font-size: 16px; 
    font-weight: 700; 
    cursor: pointer; 
    box-shadow: 0 4px 14px rgba(0, 47, 108, 0.3);
    transition: all 0.25s ease;
}

.compare-btn-submit:hover {
    background: linear-gradient(135deg, #0062cc 0%, #001f4d 100%) !important;
}

/* ==========================================================================
   7. Bike Showroom Filter & Grid Styles
   ========================================================================== */
.bgbd-showroom-filter-wrapper {
    margin: 30px 0;
    font-family: inherit;
}

.bgbd-filter-form {
    background: #f9f9f9;
    padding: 20px;
    border: 1px solid #eaeaea;
    border-radius: 6px;
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.bgbd-filter-fields {
    display: flex;
    gap: 15px;
    flex: 1;
    min-width: 280px;
}

.bgbd-filter-select {
    flex: 1;
    height: 45px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0 10px;
    font-size: 14px;
    background-color: #fff;
    color: #333;
}

.bgbd-filter-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.bgbd-btn-filter {
    height: 45px;
    padding: 0 25px;
    background: var(--bgbd-logo-gradient) !important;
    color: #fff !important;
    border: none;
    border-radius: 25px !important;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(0, 47, 108, 0.25) !important;
}

.bgbd-btn-filter:hover {
    background: linear-gradient(135deg, #0062cc 0%, #001f4d 100%) !important;
}

.bgbd-btn-reset {
    font-size: 14px;
    color: #666;
    text-decoration: none;
    font-weight: 600;
}

.bgbd-btn-reset:hover {
    color: var(--bgbd-blue-bright);
    text-decoration: underline;
}

.bgbd-showroom-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.bgbd-showroom-card {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s;
}

.bgbd-showroom-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-color: var(--bgbd-blue-bright);
}

.bgbd-showroom-thumb img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.bgbd-showroom-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.bgbd-showroom-title {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    margin: 0 0 10px 0;
}

.bgbd-showroom-meta {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.bgbd-meta-tag {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.brand-tag {
    background: #eef5ff;
    color: var(--bgbd-blue-bright);
    border: 1px solid #cce0ff;
}

.loc-tag {
    background: #f0f0f0;
    color: #555;
}

.bgbd-showroom-excerpt {
    font-size: 13.5px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
    flex: 1;
}

.bgbd-btn-view-showroom {
    display: block;
    text-align: center;
    padding: 10px;
    background: var(--bgbd-logo-gradient) !important;
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    border-radius: 25px !important;
    text-decoration: none;
    transition: all 0.25s ease;
}

.bgbd-btn-view-showroom:hover {
    background: linear-gradient(135deg, #0062cc 0%, #001f4d 100%) !important;
}

.bgbd-no-results {
    text-align: center;
    padding: 40px;
    color: #888;
    border: 1px dashed #ddd;
    border-radius: 6px;
    font-size: 15px;
}

/* ==========================================================================
   8. Bike Brands List Styles
   ========================================================================== */
.bgbd-brands-wrapper {
    margin: 20px 0;
    width: 100%;
}

.bgbd-brands-wrapper .brand-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; 
    gap: 15px;
    text-align: center;
}

.bgbd-brands-wrapper .brand-item {
    flex: 1 1 160px; 
    max-width: 220px; 
    border: 1px solid #e1e1e1;
    padding: 15px 10px;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.bgbd-brands-wrapper .brand-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: var(--bgbd-blue-bright);
}

.bgbd-brands-wrapper .brand-item a {
    text-decoration: none;
    color: #333333;
    display: block;
}

.bgbd-brands-wrapper .brand-logo-img {
    max-width: 100%;
    height: 45px;
    object-fit: contain;
    margin: 0 auto 8px auto;
    display: block;
}

.bgbd-brands-wrapper .brand-logo-placeholder {
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #cccccc;
}

.bgbd-brands-wrapper .brand-title {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #333333;
    font-family: inherit;
}

.bgbd-brands-wrapper .bgbd-btn-container {
    text-align: center;
    margin-top: 25px;
}

.bgbd-brands-wrapper .bgbd-view-all-btn {
    display: inline-block;
    background: var(--bgbd-logo-gradient) !important;
    color: #ffffff !important;
    padding: 10px 24px;
    border-radius: 25px !important;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.bgbd-brands-wrapper .bgbd-view-all-btn:hover {
    background: linear-gradient(135deg, #0062cc 0%, #001f4d 100%) !important;
}

/* ==========================================================================
   9. Swiper Slider Wrapper & Arrow Styles
   ========================================================================== */
.bgbd-slider-wrapper {
    position: relative;
    width: 100%;
    margin: 20px 0;
    padding: 0 45px 65px 45px !important; 
    box-sizing: border-box;
}

.bgbd-bike-swiper.swiper {
    width: 100%;
    overflow: hidden;
}

.bgbd-bike-swiper .swiper-slide {
    height: auto !important;
    box-sizing: border-box;
}

.swiper-slide .e-loop-item {
    border-radius: 25px !important;
    overflow: hidden !important; 
    background: #ffffff;
}

.bgbd-bike-swiper .swiper-button-prev {
    left: 0px !important;
}

.bgbd-bike-swiper .swiper-button-next {
    right: 0px !important;
}

.bgbd-bike-swiper .swiper-button-next,
.bgbd-bike-swiper .swiper-button-prev {
    background: #ffffff !important;
    color: var(--bgbd-blue-bright) !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15) !important;
    top: 50% !important;
    transform: translateY(-50%);
    z-index: 20;
}

.bgbd-bike-swiper .swiper-button-next:after,
.bgbd-bike-swiper .swiper-button-prev:after {
    font-size: 16px !important;
    font-weight: bold !important;
}

.bgbd-bike-swiper .swiper-pagination {
    bottom: 0px !important;
    position: absolute !important;
    width: 100% !important;
    left: 0 !important;
}

.bgbd-bike-swiper .swiper-pagination-bullet {
    background: #ccc !important;
    opacity: 1 !important;
    width: 8px;
    height: 8px;
    margin: 0 4px !important;
}

.bgbd-bike-swiper .swiper-pagination-bullet-active {
    background: var(--bgbd-blue-bright) !important;
    width: 22px;
    border-radius: 4px;
}

/* ==========================================================================
   10. Fuel Cost Calculator Styles
   ========================================================================== */
.bgbd-calculator-card {
    background: #ffffff;
    padding: 22px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    margin: 25px 0;
}

.bgbd-calculator-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 18px;
    color: #111;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bgbd-calculator-card label {
    font-size: 13px;
    font-weight: 600;
    color: #4a5568;
}

.bgbd-calculator-card input[type="number"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.bgbd-calculator-card input[type="number"]:focus {
    border-color: var(--bgbd-blue-bright);
}

#bgbdCalcBtn {
    background: var(--bgbd-logo-gradient) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 12px 24px !important;
    border-radius: 25px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
}

#bgbdCalcBtn:hover {
    background: linear-gradient(135deg, #0062cc 0%, #001f4d 100%) !important;
}

/* ==========================================================================
   11. User Reviews & Star Rating System Styles
   ========================================================================== */
.bgbd-reviews-wrapper {
    margin: 25px 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 22px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.bgbd-reviews-wrapper h3 {
    font-size: 18px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 10px;
    color: #111;
}

.bgbd-reviews-wrapper input,
.bgbd-reviews-wrapper select,
.bgbd-reviews-wrapper textarea {
    font-family: inherit;
    font-size: 14px;
}

.bgbd-reviews-wrapper button[name="bgbd_submit_review"] {
    background: var(--bgbd-logo-gradient) !important;
    color: #fff;
    border: none;
    padding: 10px 22px;
    border-radius: 25px !important;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}

.bgbd-reviews-wrapper button[name="bgbd_submit_review"]:hover {
    background: linear-gradient(135deg, #0062cc 0%, #001f4d 100%) !important;
}

/* ==========================================================================
   12. Master Tabbed Container Layout Styles
   ========================================================================== */
.bgbd-master-container {
    margin: 25px 0;
}

.bgbd-tabs-nav {
    display: flex;
    gap: 8px;
    border-bottom: 2px solid var(--bgbd-blue-bright) !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 20px 0 !important;
    overflow-x: auto;
}

.bgbd-tab-btn {
    padding: 12px 20px;
    background: #f7f9fa;
    border: 1px solid #e2e8f0;
    border-bottom: none;
    font-weight: 700;
    font-size: 14px;
    color: #4a5568;
    cursor: pointer;
    border-radius: 8px 8px 0 0;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.bgbd-tab-btn:hover {
    background: #eef5ff !important;
    color: var(--bgbd-blue-dark) !important;
    border-color: #cbdcf7 !important;
}

.bgbd-tab-btn.active {
    background: var(--bgbd-logo-gradient) !important;
    color: #ffffff;
    border-color: var(--bgbd-blue-dark) !important;
    box-shadow: 0 4px 12px rgba(0, 45, 107, 0.3) !important;
}

.bgbd-tab-pane {
    display: none;
    animation: fadeInTab 0.3s ease-in-out;
}

.bgbd-tab-pane.active {
    display: block;
}

@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   13. Text Only Brand List Styles
   ========================================================================== */
.bgbd-text-brands-wrapper {
    margin: 20px 0;
    width: 100%;
}

.bgbd-text-brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

.bgbd-text-brand-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 10px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-decoration: none !important;
    transition: all 0.25s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.bgbd-text-brand-item:hover {
    border-color: var(--bgbd-blue-bright) !important;
    background: #eef5ff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 86, 191, 0.1);
}

.bgbd-text-brand-name {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    text-transform: uppercase !important;
}

.bgbd-text-brand-item:hover .bgbd-text-brand-name {
    color: var(--bgbd-blue-bright) !important;
}

.bgbd-text-brand-count {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 12px;
}

/* ==========================================================================
   14. Budget Filter Buttons Style
   ========================================================================== */
.bgbd-budget-buttons-wrapper {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #eef0f2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
    margin: 20px 0;
}

.bgbd-budget-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.bgbd-budget-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 25px;
    font-size: 13.5px;
    font-weight: 600;
    color: #334155 !important;
    text-decoration: none !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
    transition: all 0.25s ease;
}

.bgbd-budget-btn:hover {
    border-color: var(--bgbd-blue-bright) !important;
    color: var(--bgbd-blue-bright) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 86, 191, 0.12);
}

.bgbd-budget-btn.active {
    background: var(--bgbd-logo-gradient) !important;
    color: #ffffff !important;
    border-color: var(--bgbd-blue-dark) !important;
    box-shadow: 0 3px 8px rgba(0, 45, 107, 0.3);
}

.bgbd-budget-main-wrapper {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 25px;
}

.bgbd-category-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 18px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
}

.bgbd-tab-btn:hover, .bgbd-tab-btn.active {
    background: var(--bgbd-logo-gradient) !important;
    color: #fff !important;
}

/* ================================================
   15. BikeGuideBD Quick Search Widget Style
   ================================================ */
.bgbd-search-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: 22px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    max-width: 360px;
    width: 100%;
    font-family: inherit;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.bgbd-search-title {
    font-size: 20px;
    font-weight: 700;
    color: #111;
    margin-bottom: 15px;
}

.bgbd-type-toggle {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.bgbd-toggle-btn {
    flex: 1;
    padding: 10px;
    text-align: center;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    border: 1px solid #1f2937;
    transition: all 0.2s ease;
}

.bgbd-toggle-btn.active {
    background: var(--bgbd-logo-gradient) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 25px;
}
.bgbd-toggle-btn.inactive {
    background: #fff;
    color: #1f2937;
    border-radius: 25px;
    transition: all 0.75s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.bgbd-radio-group {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.bgbd-radio-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.bgbd-radio-group input[type="radio"] {
    accent-color: var(--bgbd-blue-bright);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.bgbd-select-field {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
    color: #333;
    margin-bottom: 12px;
    outline: none;
    transition: border-color 0.2s;
}

.bgbd-select-field:focus {
    border-color: var(--bgbd-blue-bright);
}

.bgbd-coming-soon-box {
    background: #eef5ff;
    border: 1px dashed var(--bgbd-blue-bright);
    padding: 20px 15px;
    border-radius: 10px;
    text-align: center;
    margin-top: 10px;
}

.bgbd-coming-soon-title {
    color: var(--bgbd-blue-bright);
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 6px;
}

.bgbd-coming-soon-desc {
    color: #555;
    font-size: 13px;
    line-height: 1.4;
}

/* Showroom Pagination Styling */
.bgbd-pagination-wrapper .bgbd-page-link {
    padding: 8px 14px;
    background: #ffffff;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    color: #1e293b;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
}

.bgbd-pagination-wrapper .bgbd-page-link:hover {
    border-color: var(--bgbd-blue-bright) !important;
    color: var(--bgbd-blue-bright) !important;
    background: #eef5ff !important;
}

.bgbd-pagination-wrapper .bgbd-page-link.current {
    background: var(--bgbd-logo-gradient) !important;
    color: #ffffff !important;
    border-color: var(--bgbd-blue-dark) !important;
}

/* Highlight Prices & Score */
/*.bgbd-price-highlight,
.bgbd-avg-score,
.bgbd-archive-price {
    color: var(--bgbd-green-accent) !important;
    font-weight: 800 !important;
}*/

.bgbd-price-highlight,
.bgbd-avg-score,
.bgbd-archive-price {
    color: red !important;
    font-weight: 800 !important;
}

/* ==========================================================================
   16. Media Queries & Responsive Adjustments
   ========================================================================== */
@media (max-width: 768px) {
    .bgbd-main-img-wrap {
        aspect-ratio: 16 / 11 !important;
        padding: 5px !important;
    }

    .bgbd-spec-table {
        display: block !important;
        width: 100% !important;
        border: 1px solid #ddd !important;
    }

    .bgbd-spec-table tr {
        display: flex !important;
        flex-wrap: wrap !important; 
        width: 100% !important;
        border-bottom: 1px solid #eee !important;
    }

    .bgbd-label {
        width: 35% !important;
        font-weight: 700 !important;
        background: #f7f7f7 !important;
    }

    .bgbd-val {
        width: 65% !important;
        padding-left: 15px !important;
        background: #fff !important;
    }

    .bgbd-empty-td {
        display: none !important;
    }

    .select-wrapper .select2-container {
        max-width: 100%;
    }
    .bgbd-filter-fields,
    .bgbd-filter-form {
        flex-direction: column;
        align-items: stretch;
    }
    .bgbd-btn-filter {
        width: 100%;
        text-align: center;
    }
    .bgbd-tabs-nav {
        gap: 4px;
    }
    .bgbd-tab-btn {
        padding: 10px 14px;
        font-size: 13px;
    }
}

@media (max-width: 639px) {
    .bgbd-slider-wrapper {
        padding: 10px 10px 55px 10px !important;
    }

    .bgbd-bike-swiper .swiper-button-next,
    .bgbd-bike-swiper .swiper-button-prev {
        display: none !important;
    }

    .bgbd-bike-swiper .swiper-pagination {
        bottom: 5px !important;
    }

    .bgbd-brands-wrapper .brand-item {
        flex: 1 1 130px;
        max-width: 48%; 
    }
}

@media (max-width: 480px) {
    .bgbd-key-specs-grid {
        grid-template-columns: 1fr;
    }

    .bgbd-label {
        width: 40% !important;
    }
    .bgbd-val {
        width: 60% !important;
        font-size: 13px !important;
    }
    .bgbd-text-brands-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 8px;
    }
    .bgbd-text-brand-item {
        padding: 10px 12px;
    }
    .bgbd-text-brand-name {
        font-size: 13px;
    }
}

/* Ensure Active Tab visibility */
.bgbd-master-container .bgbd-tabs-content > .bgbd-tab-pane {
    display: none !important;
}

.bgbd-master-container .bgbd-tabs-content > .bgbd-tab-pane.active {
    display: block !important;
}

/* ==========================================================================
   Bike Archive View Details Button Style
   ========================================================================== */
.bike-archive-view-detials-btn,
.bgbd-archive-view-btn,
.e-loop-item .elementor-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    padding: 12px 20px !important;
    background: linear-gradient(135deg, #0056bf 0%, #002d6b 100%) !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border: none !important;
    border-radius: 25px !important;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(0, 47, 108, 0.25) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
}

/* Hover Effect (Green Gradient Glow) */
.bike-archive-view-detials-btn:hover,
.bgbd-archive-view-btn:hover,
.e-loop-item .elementor-button:hover {
    background: linear-gradient(135deg, #53c417 0%, #389608 100%) !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(78, 184, 20, 0.4) !important;
}

/* Active / Click Effect */
.bike-archive-view-detials-btn:active,
.bgbd-archive-view-btn:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}


/* ==========================================================================
   Elementor Tab Class: bike-slider-tab (Logo Blue & Lime Green Theme)
   ========================================================================== */

/* 1. General Tab Titles Container & Alignment */
.bike-slider-tab .e-n-tabs-heading,
.bike-slider-tab .elementor-tabs-wrapper {
    /*display: flex !important;*/
    /*gap: 10px !important;*/
    /*justify-content: center !important;*/
    border: none !important;
    margin-bottom: 20px !important;
}

/* 2. Inactive Tab Buttons (Clean Light Style) */
.bike-slider-tab .e-n-tab-title,
.bike-slider-tab .elementor-tab-title {
    background: #f1f5f9 !important;
    color: #1e293b !important;
    border-radius: 25px !important;
    padding: 10px 22px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    border: 1px solid #cbd5e0 !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
}

.bike-slider-tab .e-n-tab-title *,
.bike-slider-tab .elementor-tab-title * {
    color: inherit !important;
}

/* 3. Tab Hover State (Royal Blue Outline Glow) */
.bike-slider-tab .e-n-tab-title:hover,
.bike-slider-tab .elementor-tab-title:hover {
    background: #eef5ff !important;
    color: #0056bf !important;
    border-color: #0056bf !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 86, 191, 0.15) !important;
}

/* 4. Active Tab Button (Royal Blue 3D Gradient & White Text) */
.bike-slider-tab .e-n-tab-title[aria-selected="true"],
.bike-slider-tab .e-n-tab-title.e-active,
.bike-slider-tab .elementor-tab-title.elementor-active {
    background: linear-gradient(135deg, #0056bf 0%, #002d6b 100%) !important;
    color: #ffffff !important;
    border-color: #002d6b !important;
    box-shadow: 0 4px 14px rgba(0, 47, 108, 0.35) !important;
}

.bike-slider-tab .e-n-tab-title[aria-selected="true"] *,
.bike-slider-tab .e-n-tab-title.e-active *,
.bike-slider-tab .elementor-tab-title.elementor-active * {
    color: #ffffff !important;
}

/* 5. Price Highlight Color inside Slider Cards */
.bike-slider-tab .price,
.bike-slider-tab .bgbd-archive-price {
    color: #4eb814 !important;
    font-weight: 800 !important;
}

/* 6. Slider "View Details" Buttons Fix */
.bike-slider-tab .elementor-button,
.bike-slider-tab .bgbd-btn-view-showroom {
    background: linear-gradient(135deg, #0056bf 0%, #002d6b 100%) !important;
    color: #ffffff !important;
    border-radius: 25px !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(0, 47, 108, 0.2) !important;
}

.bike-slider-tab .elementor-button:hover,
.bike-slider-tab .bgbd-btn-view-showroom:hover {
    background: linear-gradient(135deg, #53c417 0%, #389608 100%) !important;
    box-shadow: 0 6px 18px rgba(78, 184, 20, 0.35) !important;
}


/* ==========================================================================
   Modern Upgraded Upcoming Bike Card Design
   ========================================================================== */
.bgbd-upcoming-info-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin: 20px 0;
    font-family: inherit;
}

.bgbd-upcoming-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 12px;
}

.bgbd-status-badge {
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.bgbd-upcoming-tag {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 6px;
    text-transform: uppercase;
}

.bgbd-upcoming-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.bgbd-upcoming-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px 16px;
}

.bgbd-box-label {
    display: block;
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.bgbd-box-val.price {
    font-size: 18px;
    color: #0056bf;
    font-weight: 800;
}

.bgbd-box-val.launch {
    font-size: 16px;
    color: #1e293b;
    font-weight: 700;
}

.bgbd-btn-notify {
    width: 100%;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: #ffffff !important;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
    transition: all 0.2s ease-in-out;
}

.bgbd-btn-notify:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35);
}

.bgbd-notify-success {
    background: #dcfce7;
    color: #15803d;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    border: 1px solid #bbf7d0;
}