/* FULL WIDTH BUSINESS CATEGORY PAGE */
.tax-business_category .site-content,
.tax-business_category .content-area,
.tax-business_category main {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* BUSINESS GRID - match Explore Shops card layout (attachment 2) */
.vm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
    padding: 40px;
    align-items: stretch;
    max-width: 900px;
    margin: 0 auto;
}

/* Tablet */
@media (max-width: 1024px) {
    .vm-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 640px) {
    .vm-grid {
        grid-template-columns: 1fr;
        padding: 20px;
    }
}

.vm-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    transition: 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.vm-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

/* CARD IMAGE - match Explore Shops cards (attachment 2): fill area, object-fit cover */
.vm-card-img {
    height: 180px;
    width: 100%;
    background: #f7f7f7;
    flex-shrink: 0;
    overflow: hidden;
}

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

/* FORCE ORANGE ORDER BUTTON - match View button width (attachment 2) */
.vm-card .vm-btn,
.vm-card .vm-btn-order {
    display: inline-block !important;
    background-color: #ff7a00 !important;
    color: #ffffff !important;
    padding: 6px 14px !important;
    min-width: auto !important;
    border-radius: 30px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    border: none !important;
}

.vm-card .vm-btn:hover,
.vm-card .vm-btn-order:hover {
    background-color: #e66900 !important;
    color: #ffffff !important;
}

.vm-card-body {
    padding: 20px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.vm-card-body h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    min-height: 2.6em;
    line-height: 1.3;
}

.vm-card-body .vm-btn,
.vm-card-body .cb-view-btn {
    margin-top: auto;
}

/* =====================================
   BUSINESS & SERVICES GRID
===================================== */

.cb-home-wrapper {
    max-width: 100%;
    margin: 0;
    padding: 0 0 40px;
}

.cb-home-layout {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ================================
   TOP NAV (single bar, dark, sticky)
================================ */
.cb-top-nav {
    position: sticky;
    top: 0;
    z-index: 200;
    background: #232f3e;
    color: #fff;
    padding: 12px 20px;
}

.cb-top-nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.cb-top-nav-left {
    display: flex;
    align-items: flex-end;
    gap: 12px;
}

.cb-location-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 2px;
}

.cb-location-inline .cb-update-location {
    flex-shrink: 0;
}

.cb-location-label {
    font-size: 14px;
    font-weight: 700;
    color: #ffd54f;
    background: transparent;
    padding: 0 4px;
}

.cb-current-location {
    font-weight: 600;
    font-size: 14px;
}

.cb-update-location {
    display: inline-block;
    padding: 8px 14px;
    background: #22c55e;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
}

.cb-update-location:hover {
    background: #16a34a;
    color: #fff;
}

.cb-pincode-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cb-pincode-label {
    font-size: 11px;
    color: #e0e0e0;
}

.cb-top-nav-right {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.cb-top-nav .cb-filter-group label {
    font-size: 11px;
    color: #e0e0e0;
}

.cb-top-nav .cb-location-select,
.cb-top-nav select,
.cb-top-nav input[type="text"] {
    background: #fff;
    color: #1a1a1a;
    padding: 8px 12px;
    font-size: 14px;
    min-width: 130px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.cb-top-nav .cb-location-select option,
.cb-top-nav select option {
    background: #fff;
    color: #1a1a1a;
}

/* Active state/district - green when selected */
.cb-top-nav .cb-location-select.cb-select-active,
.cb-top-nav select.cb-select-active {
    background: #22c55e;
    color: #fff;
    border-color: #16a34a;
}

.cb-top-nav .cb-location-select.cb-select-active option,
.cb-top-nav select.cb-select-active option {
    background: #fff;
    color: #1a1a1a;
}

.cb-top-nav .cb-location-select.cb-select-active option:checked,
.cb-top-nav select.cb-select-active option:checked {
    background: #22c55e;
    color: #fff;
}

.cb-sidebar-toggle-mobile {
    display: none;
}

/* ================================
   SIDEBAR (Shops | Services tabs, categories with images)
================================ */
.cb-category-sidebar {
    width: 280px;
    flex-shrink: 0;
    background: #f8f6f3;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.cb-sidebar-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.cb-sidebar-tab {
    flex: 1;
    padding: 10px;
    border: none;
    background: #e8e4e0;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    color: #555;
}

.cb-sidebar-tab:hover {
    background: #ddd;
}

.cb-sidebar-tab.cb-sidebar-tab-active {
    background: #ff7a00;
    color: #fff;
}

.cb-sidebar-cat-list {
    display: none;
}

.cb-sidebar-cat-list.cb-sidebar-cat-active {
    display: block;
}

.cb-sidebar-cat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: #333;
    transition: background 0.2s;
}

.cb-sidebar-cat-item:hover {
    background: rgba(255,122,0,0.1);
}

.cb-sidebar-cat-img {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

.cb-sidebar-cat-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cb-sidebar-cat-name {
    font-size: 14px;
    font-weight: 500;
}

.cb-main-content {
    flex: 1;
    min-width: 0;
}

/* Single explore heading with dark orange underline */
.cb-explore-heading {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 20px;
    color: #333;
    border-bottom: 3px solid #c45400;
    display: inline-block;
    padding-bottom: 6px;
}

/* Explore carousel */
.cb-explore-carousel-wrapper {
    margin-bottom: 30px;
}

/* Mobile-only tabs (Shops | Services) - hidden on desktop */
.cb-mobile-tabs {
    display: none;
}

.cb-explore-carousel {
    display: none;
    flex-wrap: nowrap;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-behavior: smooth;
    align-items: stretch;
}

.cb-explore-carousel.cb-explore-active {
    display: flex;
}

#cb-explore-services-wrap {
    display: none;
}

#cb-explore-services-wrap.cb-explore-visible {
    display: block;
}

.cb-explore-carousel .cb-cat-card {
    flex: 0 0 200px;
}

/* ================================
   LEGACY (location sidebar - keep for compatibility)
================================ */
.cb-location-sidebar { display: none; }
.cb-sidebar-view { display: none; }
.cb-sidebar-view.cb-sidebar-active { display: block; }
.cb-sidebar-back { color: #ff7a00; }
.cb-sidebar-heading { font-size: 16px; }
.cb-sidebar-options { display: flex; flex-direction: column; gap: 6px; }
.cb-sidebar-option { display: flex; align-items: center; gap: 10px; padding: 10px 12px; cursor: pointer; }
.cb-sidebar-option input { margin: 0; }

/* ================================
   STICKY NAV (legacy - now in top nav)
================================ */
.cb-sticky-nav .cb-filter-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cb-pincode-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.cb-pincode-row input {
    flex: 1;
    min-width: 120px;
}

.cb-pincode-btn {
    padding: 8px 16px;
    background: #22c55e;
    color: #fff;
    border: none;
    border-radius: 6px !important;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
}

.cb-pincode-btn:hover {
    background: #16a34a;
    color: #fff;
}

.cb-top-nav .cb-pincode-btn {
    background: #22c55e;
    color: #fff;
}

.cb-top-nav .cb-pincode-btn:hover {
    background: #16a34a;
}

.cb-pincode-btn.cb-loading {
    opacity: 0.8;
    cursor: wait;
}

/* ================================
   TABS
================================ */
.cb-filter-nav {
    display: inline-flex;
    border-radius: 999px;
    background: #f5f5f5;
    padding: 4px;
    margin-bottom: 20px;
}

.cb-filter-tab {
    border: none;
    background: transparent;
    padding: 8px 20px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 600;
    color: #444;
    transition: background 0.25s ease, color 0.25s ease;
}

.cb-filter-tab.cb-filter-active {
    background: #ff7a00;
    color: #fff;
}

/* Tab content - fixed min-height, panels overlay to prevent flickering */
.cb-tab-content {
    position: relative;
    min-height: 380px;
    margin-bottom: 30px;
}

.cb-tab-panel {
    display: none;
    padding-top: 0;
}

.cb-tab-panel.cb-tab-panel-active {
    display: block;
}

.cb-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.cb-cat-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    transition: 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cb-cat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.cb-cat-img-wrapper {
    height: 180px;
    overflow: hidden;
    flex-shrink: 0;
}

.cb-cat-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cb-cat-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cb-cat-content h3 {
    margin-bottom: 15px;
    font-size: 18px;
    min-height: 2.6em;
    line-height: 1.3;
}

.cb-cat-content .cb-view-btn {
    margin-top: auto;
}

.cb-view-btn {
    display: inline-block;
    padding: 6px 14px;
    min-width: auto;
    background: #0073aa;
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    transition: 0.3s;
}

.cb-view-btn:hover {
    background: #005177;
    color: #fff;
}

/* Location pop up  */

/* ================================
   SECTION HEADINGS (below tabs)
================================ */
.cb-section-heading {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 20px;
    color: #333;
    border-bottom: 3px solid #ff7a00;
    display: inline-block;
    padding-bottom: 5px;
}

/* ================================
   CATEGORY BUTTON
================================ */
.cb-view-btn {
    background: #ff7a00 !important;
    color: #fff !important;
    border: none !important;
    padding: 6px 14px !important;
    min-width: auto !important;
    border-radius: 30px !important;
    cursor: pointer !important;
    transition: 0.3s !important;
    font-weight: 600;
}

.cb-view-btn:hover {
    background: #e66900 !important;
    color: #fff !important;
}

/* ================================
   HORIZONTAL STATE / DISTRICT CARDS
================================ */
.cb-horizontal-title {
    font-size: 18px;
    font-weight: 600;
    margin: 30px 0 12px;
    color: #333;
}

.cb-horizontal-cards {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    margin-bottom: 20px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.cb-horizontal-cards::-webkit-scrollbar {
    height: 6px;
}

.cb-horizontal-cards::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.cb-horizontal-cards::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.cb-location-card {
    flex: 0 0 auto;
    min-width: 140px;
    padding: 14px 20px;
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    font-weight: 600;
    color: #333;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cb-location-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    background: linear-gradient(135deg, #ffd699 0%, #ff9a6c 100%);
}

.cb-location-card.cb-location-card-active {
    background: linear-gradient(135deg, #ff7a00 0%, #ffb347 100%);
    color: #fff;
    box-shadow: 0 6px 16px rgba(255,122,0,0.4);
}

.cb-location-results {
    margin-top: 20px;
}

.cb-location-placeholder {
    color: #777;
}

/* No vendors/service providers found - bold, red, bright */
.cb-no-vendors-msg {
    font-weight: 700;
    color: #dc2626;
    font-size: 16px;
    margin: 20px 0;
    padding: 12px 16px;
    background: rgba(220, 38, 38, 0.1);
    border-radius: 8px;
}

.cb-vendor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 35px;
}

.cb-vendor-card {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    overflow: hidden;
    transition: 0.25s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cb-vendor-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.cb-vendor-img-wrapper {
    height: 180px;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.cb-vendor-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cb-vendor-content {
    padding: 20px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cb-vendor-content h4 {
    margin-bottom: 6px;
    font-size: 18px;
    min-height: 2.6em;
    line-height: 1.3;
}

.cb-vendor-location {
    font-size: 13px;
    color: #777;
    margin-bottom: 10px;
}

.cb-visit-store {
    display: inline-block;
    padding: 8px 20px;
    min-width: auto;
    background: #ff7a00;
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    margin-top: auto;
}

.cb-visit-store:hover {
    background: #e66900;
    color: #fff;
}

/* ================================
   POPUP OVERLAY
================================ */
.cb-popup-overlay {
    display: none;
    position: fixed;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
}

/* ================================
   POPUP BOX
================================ */
.cb-popup-box {
    background: #fff;
    width: 400px;
    padding: 30px;
    border-radius: 12px;
    margin: 120px auto;
    position: relative;
}

/* CLOSE BUTTON */
.cb-popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 22px;
    cursor: pointer;
}

/* INPUT FIELD */
#cb-location-form input {
    width: 100%;
    padding: 10px;
    margin-top: 8px;
    border-radius: 6px;
    border: 1px solid #ddd;
}

/* BUTTON WRAPPER */
.cb-popup-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
}

/* CONTINUE BUTTON */
.cb-continue-btn {
    background: #ff7a00 !important;
    color: #fff !important;
    border: none !important;
    padding: 10px 20px !important;
    border-radius: 25px !important;
    cursor: pointer;
    transition: 0.3s;
}

.cb-continue-btn:hover {
    background: green !important;
}

/* CANCEL BUTTON */
.cb-cancel-btn {
    background: #ccc !important;
    border: none !important;
    padding: 10px 20px !important;
    border-radius: 25px !important;
    cursor: pointer;
}

/* SERVICE AREA PAGE FIX */


/* .dokan-dashboard-content{
padding-left:40px;
padding-right:40px;
max-width:1200px;
} */

.dokan-settings-area{
margin-top:30px;
}

textarea.dokan-form-control{
font-family:monospace;
}

/* SERVICE AREA PAGE FIX */

.coverage-multi{
height:180px;
}

/* .dokan-dashboard-content{
padding-left:40px !important;
} */

.dokan-panel-body{
padding:30px;
}

.dokan-dashboard-header{
margin-bottom:25px;
}

/* SERVICE AREA PAGE */

.coverage-section{
margin-bottom:35px;
}

.coverage-section h3{
margin-bottom:15px;
font-size:18px;
font-weight:600;
}

/* GRID LAYOUT */

.coverage-grid{

display:grid;
grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
gap:12px;

max-height:300px;
overflow-y:auto;

padding:15px;

border:1px solid #ddd;
border-radius:6px;
background:#fafafa;

}

/* CHECKBOX ITEM */

.coverage-item{

display:block;
padding:8px 10px;

border-radius:5px;

background:white;

border:1px solid #eee;

cursor:pointer;

}

.coverage-item:hover{
background:#f3f3f3;
}

/* SELECT ALL */

.coverage-select-all{

display:block;
margin-bottom:10px;
font-weight:600;

}

/* PINCODE BOX */

#pincode_box{

font-family:monospace;

}

/* SAVE BUTTON */

.coverage-save{

margin-top:20px;

padding:12px 25px;

font-size:16px;

}

/* HEADER ALIGNMENT */

.vm-header-center{
text-align:center;
margin-top:30px;
margin-bottom:30px;
}

/* MAIN WRAPPER */

.vm-coverage-wrapper{
max-width:900px;
margin:auto;
}

/* SECTION */

.vm-section{
margin-bottom:30px;
}

/* LABEL */

.vm-label{
display:block;
font-weight:600;
margin-bottom:10px;
font-size:16px;
}

/* STATE CHECKBOX GRID */

.vm-state-box{

border:1px solid #ddd;
padding:15px;

display:grid;
grid-template-columns:repeat(auto-fill,minmax(200px,1fr));
gap:8px;

max-height:250px;
overflow-y:auto;

background:#fafafa;

}

/* CHECKBOX ITEM */

.vm-checkbox{
display:block;
padding:6px;
cursor:pointer;
}

/* DISTRICT SELECT */

.vm-district-box{

width:100%;
height:200px;

border:1px solid #ddd;
border-radius:4px;
padding:10px;

}

/* PINCODE TEXTAREA */

.vm-textarea{
height:150px;
font-family:monospace;
}

/* BUTTON */

.vm-save-btn{
padding:12px 28px;
font-size:16px;
}

/* Service area  */

/* FIX DOKAN DASHBOARD SIDEBAR COLLAPSE ISSUE */

.dokan-dashboard-wrap{
display:flex;
width:100%;
}

.dokan-dashboard-content{
flex:1;
width:100%;
max-width:100%;
transition:all .3s ease;
}

.dokan-dashboard .dokan-dash-sidebar{
transition:all .3s ease;
}

/* Ensure content shifts when sidebar collapses */

.dokan-dashboard.dokan-dashboard-sidebar-collapse .dokan-dashboard-content{
margin-left:80px;
}

.dokan-dashboard .dokan-dashboard-content{
margin-left:200px;
}

/* Responsive */

@media(max-width:768px){

.dokan-dashboard .dokan-dashboard-content{
margin-left:0;
}

}

/* PINCODE TABLE */

.vm-pincode-wrapper{
border:1px solid #ddd;
max-height:300px;
overflow:auto;
}

.vm-pincode-table{
width:100%;
border-collapse:collapse;
}

.vm-pincode-table th,
.vm-pincode-table td{
border-bottom:1px solid #eee;
padding:8px;
text-align:left;
font-size:14px;
}

.vm-pincode-table th{
background:#fafafa;
position:sticky;
top:0;
}


/* .container .vm-heading{
font-size:32px;
font-weight:600;
margin:30px 0 10px 0;
padding-left:20px;
} */

.vm-heading {
    font-size: 32px;
    font-weight: 600;
    margin-left: 20px;
    margin-bottom: 20px;
    border-bottom: 3px solid #c45400;
    display: inline-block;
    padding-bottom: 6px;
}

/* Breadcrumb */
.vm-breadcrumb { margin-bottom: 16px; font-size: 14px; padding: 0 20px; }
.vm-breadcrumb-list { display: flex; flex-wrap: wrap; align-items: center; list-style: none; margin: 0; padding: 0; gap: 4px; }
.vm-breadcrumb-item a { color: #ff7a00; text-decoration: none; }
.vm-breadcrumb-item a:hover { text-decoration: underline; }
.vm-breadcrumb-item span { color: #333; }
.vm-breadcrumb-sep { color: #999; }

/* ================================
   MARKETPLACE MOBILE RESPONSIVE
================================ */
.cb-home-wrapper {
    overflow-x: hidden;
}

@media (max-width: 1024px) {
    .cb-home-wrapper {
        padding: 0;
    }
    .cb-home-layout {
        flex-direction: column;
        position: relative;
        padding: 0 16px;
        max-width: 100%;
    }
    /* Hide sidebar and Categories button on mobile/small devices */
    .cb-sidebar-toggle-mobile {
        display: none !important;
    }
    .cb-category-sidebar {
        display: none !important;
    }
    /* Show mobile tabs (Shops | Services) */
    .cb-mobile-tabs {
        display: flex;
        order: 1;
        width: 100%;
        gap: 8px;
        margin-bottom: 20px;
    }
    .cb-mobile-tab {
        flex: 1;
        padding: 12px 16px;
        border: none;
        background: #e8e4e0;
        border-radius: 8px;
        font-weight: 600;
        font-size: 15px;
        color: #555;
        cursor: pointer;
    }
    /* Active tab: some themes / iOS need explicit override */
    .cb-mobile-tabs .cb-mobile-tab.cb-mobile-tab-active,
    .cb-mobile-tabs .cb-mobile-tab.cb-sidebar-tab-active {
        background: #ff7a00 !important;
        color: #fff !important;
    }
    .cb-mobile-tab.cb-mobile-tab-active {
        background: #ff7a00;
        color: #fff;
    }
    .cb-main-content {
        order: 2;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
    .cb-top-nav-right {
        flex-wrap: wrap;
    }
    .cb-location-results {
        max-width: 100%;
    }
    /* Category cards: image at top, same height, consistent padding */
    .cb-explore-carousel .cb-cat-card {
        display: flex;
        flex-direction: column;
        height: 300px;
    }
    .cb-explore-carousel .cb-cat-img-wrapper {
        flex-shrink: 0;
        height: 140px;
        overflow: hidden;
        padding: 0;
    }
    .cb-explore-carousel .cb-cat-img {
        object-fit: cover;
        object-position: top center;
        width: 100%;
        height: 100%;
    }
    .cb-explore-carousel .cb-cat-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        padding: 14px 18px 18px;
        justify-content: space-between;
        min-height: 0;
    }
    .cb-explore-carousel .cb-cat-content h3 {
        margin: 0 0 10px 0;
        flex: 1;
        min-height: 2.6em;
    }
    .cb-explore-carousel .cb-view-btn {
        flex-shrink: 0;
    }
}

@media (max-width: 768px) {
    .cb-top-nav {
        background: #232f3e !important;
        padding: 12px 16px;
    }
    .cb-top-nav-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .cb-top-nav-left {
        order: 1;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 10px;
    }
    .cb-location-inline {
        flex-direction: column;
        align-items: flex-start;
        padding-bottom: 0;
    }
    .cb-top-nav-left .cb-location-label,
    .cb-top-nav-left .cb-current-location {
        display: block;
    }
    .cb-top-nav-left .cb-location-label {
        background: transparent;
        color: #ffd54f;
        font-weight: 700;
    }
    .cb-pincode-group {
        width: 100%;
    }
    .cb-pincode-row {
        width: 100%;
    }
    .cb-pincode-row input {
        flex: 1;
        min-width: 0;
    }
    .cb-top-nav-right {
        order: 2;
        width: 100%;
        flex-direction: column;
    }
    .cb-top-nav .cb-filter-group {
        width: 100%;
    }
    .cb-top-nav .cb-location-select,
    .cb-top-nav select,
    .cb-top-nav input[type="text"] {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }
    .cb-explore-carousel .cb-cat-card {
        flex: 0 0 160px;
        display: flex;
        flex-direction: column;
        height: 280px;
    }
    .cb-explore-carousel .cb-cat-img-wrapper {
        flex-shrink: 0;
        height: 120px;
        overflow: hidden;
        padding: 0;
    }
    .cb-explore-carousel .cb-cat-img {
        object-fit: cover;
        object-position: top center;
        width: 100%;
        height: 100%;
    }
    .cb-explore-carousel .cb-cat-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        padding: 12px 16px 16px;
        justify-content: space-between;
        min-height: 0;
    }
    .cb-explore-carousel .cb-cat-content h3 {
        margin: 0 0 10px 0;
        font-size: 15px;
        line-height: 1.3;
        flex: 1;
        min-height: 2.6em;
    }
    .cb-explore-carousel .cb-view-btn {
        flex-shrink: 0;
    }
    .cb-sidebar-cat-img img {
        object-fit: contain;
    }
    .cb-location-card {
        min-width: 110px;
    }
    .cb-horizontal-cards {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 480px) {
    .cb-home-layout {
        padding: 0 12px;
    }
    .cb-top-nav {
        background: #232f3e !important;
        padding: 10px 12px;
    }
    .cb-sidebar-tabs {
        flex-direction: column;
    }
    .cb-explore-heading {
        font-size: 20px;
    }
    .cb-explore-carousel .cb-cat-card {
        flex: 0 0 140px;
        display: flex;
        flex-direction: column;
        height: 260px;
    }
    .cb-explore-carousel .cb-cat-img-wrapper {
        flex-shrink: 0;
        height: 100px;
        overflow: hidden;
        padding: 0;
    }
    .cb-explore-carousel .cb-cat-img {
        object-fit: cover;
        object-position: top center;
        width: 100%;
        height: 100%;
    }
    .cb-explore-carousel .cb-cat-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        padding: 10px 12px 12px;
        justify-content: space-between;
        min-height: 0;
    }
    .cb-explore-carousel .cb-cat-content h3 {
        margin: 0 0 8px 0;
        font-size: 14px;
        line-height: 1.3;
        flex: 1;
        min-height: 2.6em;
    }
    .cb-explore-carousel .cb-view-btn {
        flex-shrink: 0;
    }
    .cb-sidebar-cat-img img {
        object-fit: contain;
    }
    .cb-location-card {
        min-width: 100px;
    }
}
