/* 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;
}

/* -------------------------------------------------------------------------
   Woodmart "open sidebar" hamburger — HIDE in every place it would open an
   empty drawer on cart / checkout / account / order pages. The top-left
   hamburger that carries the "MENU" label (.wd-header-main-nav) is a
   separate element and keeps working.
   ------------------------------------------------------------------------- */

/* 1. The floating/left-fixed opener. */
.woocommerce-cart          .wd-sidebar-opener,
.woocommerce-checkout      .wd-sidebar-opener,
.woocommerce-account       .wd-sidebar-opener,
.woocommerce-order-received .wd-sidebar-opener,
.woh-hub-page              .wd-sidebar-opener,
/* Extra variants (sticky / filter-icon / show-on-scroll) that Woodmart swaps in
   for some themes / page types. */
.woocommerce-cart          .wd-sidebar-opener.wd-show-on-scroll,
.woocommerce-checkout      .wd-sidebar-opener.wd-show-on-scroll,
.woocommerce-cart          .wd-sidebar-opener.wd-filter-icon,
.woocommerce-checkout      .wd-sidebar-opener.wd-filter-icon {
    display: none !important;
}

/* 2. Mobile footer — Woodmart's bottom nav sometimes renders a duplicate
      "Sidebar" icon (.wd-tools-element.wd-header-sidebar) that opens the
      same empty drawer. Hide it on cart/checkout/account (the top-left MENU
      icon already provides navigation). Kept VISIBLE elsewhere because it
      still does something useful on shop / single-product pages. */
@media (max-width: 768.98px) {
    .woocommerce-cart          .wd-header-mobile-nav .wd-header-sidebar,
    .woocommerce-checkout      .wd-header-mobile-nav .wd-header-sidebar,
    .woocommerce-account       .wd-header-mobile-nav .wd-header-sidebar,
    .woocommerce-order-received .wd-header-mobile-nav .wd-header-sidebar,
    .woocommerce-cart          .wd-mobile-nav         .wd-header-sidebar,
    .woocommerce-checkout      .wd-mobile-nav         .wd-header-sidebar,
    .woocommerce-account       .wd-mobile-nav         .wd-header-sidebar,
    .woocommerce-order-received .wd-mobile-nav         .wd-header-sidebar {
        display: none !important;
    }
}

/* -------------------------------------------------------------------------
   Mobile footer Shop icon — keep the icon, but neaten the category dropdown
   that opens when the user taps it. Out of the box Woodmart renders the list
   without separators, bullet padding, or comfortable line-height — which on
   a phone reads as a cluttered wall of text. Scoped to mobile widths only.
   ------------------------------------------------------------------------- */
@media (max-width: 768.98px) {
    /* Container for the categories dropdown in the mobile footer / off-canvas. */
    .wd-mobile-menu .menu-categories,
    .wd-mobile-menu .mobile-categories,
    .wd-mobile-menu .wd-sub-menu,
    .mobile-nav    .wd-sub-menu {
        padding: 6px 0 !important;
    }
    .wd-mobile-menu .menu-categories > li,
    .wd-mobile-menu .mobile-categories > li,
    .wd-mobile-menu .wd-sub-menu > li,
    .mobile-nav    .wd-sub-menu > li {
        display: block !important;
        padding: 0 !important;
        margin: 0 !important;
        border-bottom: 1px solid #eee;
    }
    .wd-mobile-menu .menu-categories > li:last-child,
    .wd-mobile-menu .mobile-categories > li:last-child,
    .wd-mobile-menu .wd-sub-menu > li:last-child,
    .mobile-nav    .wd-sub-menu > li:last-child {
        border-bottom: 0;
    }
    .wd-mobile-menu .menu-categories > li > a,
    .wd-mobile-menu .mobile-categories > li > a,
    .wd-mobile-menu .wd-sub-menu > li > a,
    .mobile-nav    .wd-sub-menu > li > a {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 14px 18px;
        font-size: 15px;
        line-height: 1.35;
        color: #222;
        white-space: normal;
    }
    .wd-mobile-menu .menu-categories > li > a:hover,
    .wd-mobile-menu .mobile-categories > li > a:hover,
    .wd-mobile-menu .wd-sub-menu > li > a:hover,
    .mobile-nav    .wd-sub-menu > li > a:hover {
        background: #f7f7f7;
    }
    /* Thumbnails (if Woodmart renders category images) — keep them compact. */
    .wd-mobile-menu .menu-categories img,
    .wd-mobile-menu .mobile-categories img,
    .wd-mobile-menu .wd-sub-menu img {
        width: 28px;
        height: 28px;
        object-fit: cover;
        border-radius: 4px;
        flex-shrink: 0;
    }
}

/* Suppress the "<product> × <qty>" list WooCommerce prints under the shipping row
   when the cart is split into multiple packages. Our custom label already shows the
   vendor name + pincode + cost; the product recap is redundant and clutters mobile. */
.woocommerce-cart .woocommerce-shipping-contents,
.woocommerce-checkout .woocommerce-shipping-contents {
    display: none !important;
}

/* ================================
   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;
    }
}

/* =========================================================================
   WHATSAPP "CATEGORIES" LANDING — clean responsive grid
   -------------------------------------------------------------------------
   Three surfaces:
     1. Our own [cuw_product_categories] shortcode → `.cuw-cat-grid`
        (used by the auto-created /cuw-categories/ page).
     2. WooCommerce's native product-category archive pages
        (body.tax-product_cat — e.g. /product-category/foo/).
     3. A shop page configured to "Show categories" — scoped with
        `:has()` so the rule only fires when the list contains
        `li.product-category` cards (skips pure product grids).
   ========================================================================= */

/* ---- 1. Our shortcode grid ---- */
ul.cuw-cat-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    padding: 0;
    margin: 0 0 28px;
    list-style: none !important;
}
ul.cuw-cat-grid li.cuw-cat-item {
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none !important;
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    transition: transform .25s ease, box-shadow .25s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
}
ul.cuw-cat-grid li.cuw-cat-item::before { display: none !important; }
ul.cuw-cat-grid li.cuw-cat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(0,0,0,0.10);
}
ul.cuw-cat-grid li.cuw-cat-item > a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 100%;
}
ul.cuw-cat-grid .cuw-cat-thumb {
    width: 100%;
    height: 160px;
    background: #f5f5f5;
    overflow: hidden;
    display: block;
}
ul.cuw-cat-grid .cuw-cat-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
    margin: 0;
    border-radius: 0;
}
ul.cuw-cat-grid .cuw-cat-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    margin: 14px 16px 4px;
    padding: 0;
    color: #222;
    min-height: 2.6em;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
ul.cuw-cat-grid .cuw-cat-count {
    display: inline-block;
    color: #ff7a00;
    font-size: 12px;
    font-weight: 600;
    padding: 0 0 14px;
    margin: 0;
}

/* ---- 2. Native WC product-category archive + true category-only loops ----
   Only targets <li class="product-category"> within a .woocommerce products
   loop, so the styling CANNOT leak onto the product grid on /shop/. */
.woocommerce ul.products li.product-category {
    width: 100% !important;
    margin: 0 0 20px 0 !important;
    padding: 0 !important;
    float: none !important;
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    transition: transform .25s ease, box-shadow .25s ease;
    text-align: center;
    display: flex !important;
    flex-direction: column;
    list-style: none !important;
}
.woocommerce ul.products li.product-category:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(0,0,0,0.10);
}
.woocommerce ul.products li.product-category > a {
    display: flex !important;
    flex-direction: column;
    text-decoration: none !important;
    color: inherit !important;
    height: 100%;
}
.woocommerce ul.products li.product-category a > img,
.woocommerce ul.products li.product-category img {
    width: 100% !important;
    height: 160px !important;
    object-fit: cover !important;
    display: block;
    margin: 0 !important;
    border-radius: 0 !important;
    padding: 0 !important;
}
.woocommerce ul.products li.product-category h2,
.woocommerce ul.products li.product-category h3,
.woocommerce ul.products li.product-category .woocommerce-loop-category__title {
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    margin: 14px 16px 4px !important;
    padding: 0 !important;
    color: #222 !important;
    min-height: 2.6em;
    text-align: center !important;
}
.woocommerce ul.products li.product-category mark,
.woocommerce ul.products li.product-category .count {
    display: inline-block;
    background: transparent !important;
    color: #ff7a00 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    padding: 0 0 14px !important;
    margin: 0 auto !important;
    text-align: center !important;
}

/* Force the products UL into a 4-col grid ONLY when every visible item is a
   category card (uses :has() — supported in all modern browsers since 2024). */
.woocommerce ul.products:has(> li.product-category) {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
    gap: 20px !important;
    padding: 0 !important;
    margin: 0 0 28px 0 !important;
    list-style: none !important;
}

/* Same treatment for anything inside a product_cat taxonomy archive, even
   if the theme uses a different wrapper (fallback for browsers without :has). */
body.tax-product_cat .woocommerce ul.products,
body.tax-product_cat ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
    gap: 20px !important;
    padding: 0 !important;
    margin: 0 0 28px 0 !important;
    list-style: none !important;
}

/* ---- Mobile: 2 columns, shorter hero, tighter spacing ---- */
@media (max-width: 768.98px) {
    ul.cuw-cat-grid,
    body.tax-product_cat .woocommerce ul.products,
    body.tax-product_cat ul.products,
    .woocommerce ul.products:has(> li.product-category) {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    ul.cuw-cat-grid .cuw-cat-thumb,
    ul.cuw-cat-grid .cuw-cat-thumb img,
    .woocommerce ul.products li.product-category img {
        height: 120px !important;
    }
    ul.cuw-cat-grid .cuw-cat-title,
    .woocommerce ul.products li.product-category h2,
    .woocommerce ul.products li.product-category h3,
    .woocommerce ul.products li.product-category .woocommerce-loop-category__title {
        font-size: 14px !important;
        margin: 10px 10px 2px !important;
        min-height: 2.4em !important;
    }
    ul.cuw-cat-grid .cuw-cat-count,
    .woocommerce ul.products li.product-category mark,
    .woocommerce ul.products li.product-category .count {
        font-size: 11px !important;
        padding-bottom: 10px !important;
    }
}

/* =========================================================================
   WOODMART HAMBURGER + MOBILE FOOTER "SIDEBAR" — hide globally
   -------------------------------------------------------------------------
   On this site the Woodmart `.wd-sidebar-opener` (floating middle-left
   hamburger, sometimes sticky / filter-icon variant) always opens an empty
   drawer — it's never useful. Same story for the mobile-footer
   `.wd-header-sidebar` tool. The working nav is the top-left MENU button
   (`.wd-header-main-nav`), which is a different element and stays visible.
   Hiding these globally is safe and consistent with repeated user feedback.
   ========================================================================= */

.wd-sidebar-opener,
.wd-sidebar-opener.wd-show-on-scroll,
.wd-sidebar-opener.wd-filter-icon,
.wd-sidebar-opener-fixed,
.whb-sticky .wd-sidebar-opener,
.wd-header-sticky .wd-sidebar-opener {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Mobile footer "Sidebar" icon — hide across the whole site. */
@media (max-width: 1024.98px) {
    .wd-header-mobile-nav .wd-header-sidebar,
    .wd-mobile-nav         .wd-header-sidebar,
    .whb-mobile-nav        .wd-header-sidebar,
    .mobile-nav            .wd-header-sidebar,
    nav .wd-tools-element.wd-header-sidebar,
    .wd-tools-element.wd-header-sidebar {
        display: none !important;
        visibility: hidden !important;
    }
}

/* =========================================================================
   DOKAN VENDOR ORDERS — hide broken 3rd-party invoice dropdowns
   -------------------------------------------------------------------------
   Matches any element inside the Dokan dashboard whose class, id, or name
   contains "invoice" / "wpo_wcpdf" / other common PDF-invoice plugin
   identifiers. Wider than before (no body-class gate) because we match
   inside `.dokan-dashboard-wrap`, `.dokan-orders-content`, `.dokan-order*`
   — which only exist on Dokan pages — so the hide cannot leak elsewhere.
   ========================================================================= */

/* Container selectors we rely on to scope "only inside Dokan". */
.dokan-dashboard-wrap  [class*="wpo_wcpdf"],
.dokan-dashboard-wrap  [class*="wpo-wcpdf"],
.dokan-dashboard-wrap  [class*="pdf-invoice"],
.dokan-dashboard-wrap  [class*="invoice-dropdown"],
.dokan-dashboard-wrap  [class*="ts_wc_invoice"],
.dokan-dashboard-wrap  [class*="wpi_invoice"],
.dokan-dashboard-wrap  [class*="yith-invoice"],
.dokan-dashboard-wrap  [id*="wpo_wcpdf"],
.dokan-dashboard-wrap  select[name*="invoice" i],
.dokan-dashboard-wrap  select[id*="invoice" i],
.dokan-dashboard-wrap  select[class*="invoice" i],
.dokan-dashboard-wrap  .wpo_wcpdf_listing_actions,
.dokan-dashboard-wrap  .wpo-wcpdf-listing-actions,
.dokan-orders-content  [class*="wpo_wcpdf"],
.dokan-orders-content  [class*="wpo-wcpdf"],
.dokan-orders-content  [class*="pdf-invoice"],
.dokan-orders-content  select[name*="invoice" i],
.dokan-orders-content  select[id*="invoice" i],
.dokan-orders-content  select[class*="invoice" i],
.dokan-store           [class*="wpo_wcpdf"],
.dokan-single-order    [class*="wpo_wcpdf"],
.dokan-single-order    select[name*="invoice" i],
.dokan-single-order    select[id*="invoice" i],
.dokan-single-order    select[class*="invoice" i] {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    clip: rect(0 0 0 0) !important;
}

/* Also hide extra invoice COLUMNS in order tables if the plugin added one. */
.dokan-dashboard-wrap th[class*="wpo_wcpdf"],
.dokan-dashboard-wrap td[class*="wpo_wcpdf"],
.dokan-dashboard-wrap th[class*="invoice-number"],
.dokan-dashboard-wrap td[class*="invoice-number"],
.dokan-dashboard-wrap th[class*="invoice_number"],
.dokan-dashboard-wrap td[class*="invoice_number"],
.dokan-orders-content th[class*="invoice"],
.dokan-orders-content td[class*="invoice"] {
    display: none !important;
}
