*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    /* ── Anti-blur / Crisp Text Rendering Fix ────────────────────────────────
       Prevents blurry, fuzzy, or pixelated text caused by modern browsers
       processing sub-pixel positioning or 3D hardware acceleration. */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
html {
    overflow-y: scroll;           /* fallback: always reserve scrollbar space */
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: 'Inter', sans-serif;   
    overflow-x: hidden;
    margin-right: calc(100vw - 100%);

    /* ── Crucial Fix for Global Text Blurriness:
       REMOVED: -webkit-perspective: 1000 & perspective: 1000.
       Global 3D perspective forces the entire page into a 3D projection matrix,
       causing sub-pixel interpolation blur on text, borders, and images. */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* ── Sub-pixel Snapping & Hardware Acceleration Anti-Blur ──────────────────
   Forces GPU-accelerated elements (cards, dropdowns, buttons, nav links)
   to snap to integer physical pixels and eliminate sub-pixel positioning blur.
   NOTE: Modals, popups, and overlays MUST NOT use transform-style: preserve-3d
   because preserve-3d breaks position: fixed viewport anchoring in browsers. */
.dropdown-menu,
.card,
.post-card,
.listing-card,
.btn,
button,
.nav-link,
[class*="tooltip"],
[class*="dropdown"],
[class*="badge"] {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Chromium / Blink sub-pixel text re-rasterization fix for translate(-50%, -50%) */
[style*="translate(-50%"],
[style*="translateY(-50%)"],
[style*="translateX(-50%)"],
.translate-middle,
.translate-middle-x,
.translate-middle-y {
    -webkit-filter: blur(0);
    filter: blur(0);
    transform-style: preserve-3d;
}

/* ── Anti-Blur, Anti-Pixelation & Anti-Stretch Fix for Images ───────────────
   1. Replaces destructive 'crisp-edges' (which causes pixelated/aliased photos in Firefox)
      with smooth, high-quality bicubic downscaling.
   2. Prevents image stretching and aspect-ratio distortion across cards,
      thumbnails, avatars, banners, and carousels. */
img {
    image-rendering: auto;
    image-rendering: -webkit-optimize-contrast;
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Prevent image stretching and preserve natural aspect ratios across all media */
.card img,
.post-card img,
.listing-card img,
.product-card img,
.profile-pic,
.avatar img,
.thumbnail img,
.preview-item img,
.carousel-item img,
.banner-img,
.gallery-img,
.item-image img,
[class*="avatar"] img,
[class*="thumb"] img,
[class*="preview"] img {
    object-fit: cover;
    object-position: center;
    max-width: 100%;
}

/* Prevent flex containers from stretching images vertically or horizontally */
.d-flex > img,
.flex-row > img,
.flex-column > img,
.card-body img,
.media img {
    flex-shrink: 0;
}

/* Sharp vector rendering for SVGs and icons without blur or aliasing */
svg {
    shape-rendering: geometricPrecision;
    text-rendering: geometricPrecision;
}
[dir="rtl"] .fw-semibold{
       text-align: right;
    direction: rtl;
}
[dir="rtl"] .text-descriptions{
      text-align: right;
    direction: rtl;
}

/* Base Badge */
.listing-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 22px;
    z-index: 10;
    box-shadow: 0px 3px 8px rgba(0,0,0,0.18);
    color: #000;
}
.list-view .listing-badge {
    position: absolute;
    top: 12px;
    /* right: 14px; */
    /* left: 169px; */
    right: 1048px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    float: left;
    justify-content: left;
    text-align: left;
    border-radius: 22px;
    z-index: 10;
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.18);
    color: #000;
}
.list-view .listing-new {
    position: absolute;
    top: 12px;
    /* right: 14px; */
    /* left: 169px; */
    right: 1048px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    float: left;
    justify-content: left;
    text-align: left;
    border-radius: 22px;
    z-index: 10;
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.18);
    color: #000;
}
.list-view .listing-featured {
    position: absolute;
    top: 12px;
    /* right: 14px; */
    /* left: 169px; */
    right: 1048px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    float: left;
    justify-content: left;
    text-align: left;
    border-radius: 22px;
    z-index: 10;
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.18);
    color: #000;
}

/* Badge Colors */
.badge-boosted {
    background: #FFEE58;
}

.badge-new {
    background: #FFEE58;
}

.badge-featured {
    background: #FFEE58;
}

.hero-section-home {
    /* background: linear-gradient(180deg, rgba(255, 208, 68, 0.63) 31.11%, rgba(255, 255, 255, 0) 100%); */
    padding: 10px 40px 70px !important;
    /* text-align: center;
    margin: 12px;
    margin-top: 0px; */
}
.hero-section {
     background: linear-gradient(180deg, #FFEE58 31.11%, rgba(255, 255, 255, 0) 50%);
    padding: 45px 40px 70px;
    text-align: center;
    margin: 0;
    margin-top: 0px;
}
.hero-section-page {
     background: linear-gradient(180deg, #FFEE58 31.11%, rgba(255, 255, 255, 0) 50%);
    padding: 12px 0 70px;
    text-align: center;
    margin: 12px;
    margin-top: 5px;
}
button.btn.btn-secondary {
    font-weight: normal;
}
button.choose-btn {
    font-weight: normal;
}
.fw-semibold {
    font-weight: normal !important;
}
.inter-<uniquifier> {
    /* font-family: "Inter", sans-serif; */
    font-optical-sizing: auto;
    font-weight: <weight>;
    font-style: normal;
  }
  img.profile-pic {
    border-radius: 50px;
    width: 60px;
}
a{
    text-decoration: none;
    color: inherit;
}
/* language start*/
         .top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* padding: 10px 0; */
}
.lang-box {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    font-weight: 600;
    color: #2d2d2d;
    font-size: 15px;
}

.lang-box i {
    font-size: 18px;
}

.lang-box .arrow {
    font-size: 14px;
    font-weight: bold;
}

.lang-box select {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}


/* language end*/
/* header start*/
 .auth-buttons .nav-link {
    font-size: 15px;
    font-weight: 500;
    color: #2c2c2c;
    /* padding: 6px 14px; */
    transition: 0.25s ease;
    display: inline-block;
    /* GPU layer → prevents blur during scale transitions */
    will-change: transform;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

/* Hover Zoom Effect */
.auth-buttons .nav-link:hover {
    transform: translateZ(0) scale(1.08);
    color: #000;
}

/* Active Link Bold + Slight Zoom */
.auth-buttons .active-link {
    font-weight: 700 !important;
    color: #000 !important;
    transform: translateZ(0) scale(1.12);
}

/* Profile Pic hover */
.auth-buttons .profile-pic {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.25s ease;
    margin: 0 !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    flex-shrink: 0 !important;
    /* GPU layer → prevents blur during scale transitions */
    will-change: transform;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.auth-buttons .profile-pic:hover {
    transform: translateZ(0) scale(1.12);
}

.header-user-profile-wrap {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    text-decoration: none !important;
    flex-shrink: 0 !important;
}

.header-user-profile-wrap .profile-pic {
    margin: 0 !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    flex-shrink: 0 !important;
}

.header-user-name {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
}
/* header end*/

/* Navbar - Yellow Background */
.navbar-custom {
    /* background: #FDB913;
    padding: 12px 0; */
    /* background: #FFD044; */
     background: #FFEE58;
    padding: 12px 0;
    margin: 12px;
    margin-bottom: 0;
    border-top-left-radius: 25px 25px;
    border-top-right-radius: 25px 25px;
        /* box-shadow: 0px 26px 31px -8px rgba(0, 0, 0, 0.35); */
}

.navbar-content {
    /* max-width: 1400px; */
    max-width: 1900px;
    margin: 0 auto;
    padding: 0px 16px 0px 31px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 24px;
}

.owl-icon {
    width: 40px;
    height: 40px;
    background: #1a1a1a;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.brand-name {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
}

.nav-items {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-items a {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
    padding-bottom: 5px;
}
.nav-items a.active {
  color: black;
  font-weight: 600;
  position: relative;
}

.nav-items a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: black;
  border-radius: 2px;
}
.auth-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.login-btn {
    background: transparent;
    border: none;
    color: #1a1a1a;
    font-weight: 600;
    font-size: 15px;
    padding: 6px 14px;
    cursor: pointer;
}

.signup-btn {
    background: white;
    border: none;
    color: #1a1a1a;
    font-weight: 600;
    font-size: 15px;
    padding: 6px 16px;
    border-radius: 6px;
    cursor: pointer;
}

/* Hero - Cream Background */
.hero-section {
    /* background: linear-gradient(180deg, rgba(255, 208, 68, 0.63) 31.11%, rgba(255, 255, 255, 0) 100%); */
    /* padding: 45px 40px 70px; */
    /* padding: 45px 40px 70px;
    text-align: center;
    margin: 12px;
    margin-top: 6px; */

      background: linear-gradient(180deg, #FFEE58 31.11%, rgba(255, 255, 255, 0) 100%);
    text-align: center;
    margin: 12px;
    margin-top: 5px;
    padding: 0px 0px 0px !important;
}

.location-tag {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #1a1a1a;
    /* margin-bottom: 25px; */
}

.main-heading {
    font-size: 52px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #1a1a1a;
    margin-bottom: 25px;
}

.sub-heading {
    font-size: 16px;
    color: #666;
    margin-bottom: 35px;
     font-weight: 500;
}

.search-wrapper {
    max-width: 780px !important;
    margin: 20px auto 0 auto !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.search-field {
    width: 100% !important;
    height: 56px !important;
    padding: 12px 60px 12px 24px !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 50px !important;
    font-size: 15px !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08) !important;
    outline: none !important;
    background: #ffffff !important;
    color: #1a1a1a !important;
    box-sizing: border-box !important;
    margin: 0 !important;
}

.search-icon-btn {
    position: absolute !important;
    right: 8px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 44px !important;
    height: 44px !important;
    background: #FFEE58 !important;
    border: none !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 3 !important;
    padding: 0 !important;
    margin: 0 !important;
}

.search-icon-btn i {
    font-size: 17px !important;
    line-height: 1 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

[dir="rtl"] .search-icon-btn,
.rtl .search-icon-btn {
    left: 8px !important;
    right: auto !important;
}

[dir="rtl"] .clear-search-btn,
.rtl .clear-search-btn {
    left: 60px !important;
    right: auto !important;
}

[dir="rtl"] .search-field,
.rtl .search-field {
    text-align: right !important;
    direction: rtl !important;
    padding: 12px 24px 12px 60px !important;
}

/* RTL Specific Styles */
[dir="rtl"] .search-wrapper, 
.rtl .search-wrapper {
    direction: rtl !important;
}
.rtl .form-actions {
    direction: rtl;
        gap: 1rem;
   text-align: right;
}

[dir="rtl"] .cube-container, 
.rtl .cube-container {
    left: auto !important;
    right: 24px !important;
    direction: rtl !important;
    flex-direction: row !important;
}

[dir="rtl"] .cube-container #searchLogo,
.rtl .cube-container #searchLogo {
    order: 1 !important;
}

[dir="rtl"] .cube-container .search-static,
.rtl .cube-container .search-static {
    order: 2 !important;
}

[dir="rtl"] .cube-container .search-dynamic,
.rtl .cube-container .search-dynamic {
    order: 3 !important;
}
[dir="rtl"] .view-more {
    float: left;
    padding-right: 0;
    padding-left: 72px;
}
/* Categories - White Background with cards */
.categories-section {
    background: white;
    padding: 1px 40px 40px;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: 36px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 25px;
    margin-top: 25px;
}

.section-desc {
    font-size: 15px;
    color: #666;
    margin-bottom: 35px;
}

.categories-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.cat-box {
    background: white;
    border: 2px solid #E5E5E5;
    border-radius: 16px;
    padding: 45px 20px;
    text-align: center;
    cursor: pointer;
        border: 2px solid #FFEE58;
    transition: all 0.3s ease;
}

.cat-box:hover {
    background-color: #FFEE58;
    /*border-color: #FFEE58;*/
    

}

.cat-icon {
    font-size: 36px;
    color: #1a1a1a;
    height: 66px;
    margin-bottom: 18px;
    text-decoration: none;
    background: #eae9e9;
    border-radius: 15px;
    width: 65px;
    align-items: center !important;
    margin: 0 auto;
    margin-bottom: 10px;
}

.cat-name {
    font-size: 16px;
    font-weight: 500;
    color: #1a1a1a;
     /* text-decoration: none; */
}
p.section-desc-featured {
    font-size: 16px;
    font-weight: 500;
}
/* Featured - Light Gray Background */
.featured-section {
    background: #ffffff;
    padding: 55px 40px;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 35px;
}

.tabs-row {
    display: flex;
    gap: 10px;
}

.filter-tab {
    padding: 9px 12px;
    background: white;
    border: 2px solid #E5E5E5;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 500;
    font-size: 16px;
    color: #1a1a1a;
    transition: all 0.3s ease;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    -ms-border-radius: 12px;
    -o-border-radius: 12px;
}

.filter-tab.active {
    /* background: #FDB913;
    border-color: #FDB913; */
     background: #FFEE58;
    border-color: #FFEE58;
}

.services-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.service-box {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
}

.service-pic {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.service-details {
    padding: 22px 25px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.service-text h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.service-text p {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.service-booking {
    text-align: right;
    flex-shrink: 0;
}

.rate {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.book-btn {
    background: #FDB913;
    border: none;
    padding: 11px 26px;
    border-radius: 22px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    color: #1a1a1a;
}

 /* buy-sell-post product form start */
     /* Main Content */
        .main-content {
            max-width: 1400px;
            margin: 0 auto;
            padding: 40px 30px;
            display: grid;
            grid-template-columns: 250px 1fr;
            gap: 30px;
        }

        /* Sidebar Tips */
        .tips-sidebar {
            background: white;
            border-radius: 16px;
            padding: 18px;
            height: fit-content;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        }

        .tips-sidebar h3 {
            font-size: 16px;
            font-weight: 500;
            color: #1a1a1a;
            margin-bottom: 20px;
        }

        .tip-item {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            margin-bottom: 15px;
            font-size: 14px;
            color: #666;
        }

        .tip-check {
            width: 20px;
            min-width: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #22C55E;
            font-size: 16px;
            line-height: 1.5;
            flex-shrink: 0;
        }

        .tip-item span:last-child {
            flex: 1;
            line-height: 1.5;
        }

        .tip-icon {
            color: #FDB913;
            font-size: 16px;
            flex-shrink: 0;
        }

        /* Form Container */
        /* .form-container {
            background: white;
            border-radius: 16px;
            padding: 35px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        } */
        .main-from{
            background: white;
            border-radius: 16px;
            padding: 35px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        }
        .form-header h1 {
            font-size: 24px;
            font-weight: 500;
            color: #1a1a1a;
            margin-bottom: 8px;
            text-align: left;
        }

        .form-subtitle {
            color: #666;
            font-size: 16px;
            margin-bottom: 30px;
            text-align: left;
        }

        /* Steps */
        /* .steps {
            display: flex;
            justify-content: center;
            gap: 30px; */
            /* margin-bottom: 35px; */
            /* padding-bottom: 25px; */
            /* border-bottom: 2px solid #F0F0F0; */
        /* } */
        .steps {
        display: flex;
        justify-content: space-between;
        color: #f6c23e;
        font-size: 15px;
        margin-top: 10px;
        }

        .steps span.active {
            color: #1a1a1a;
            /* font-weight: 600; */
            color: gray;
        }

        .step {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 14px;
            font-weight: 600;
            color: #999;
        }

        .step.active {
            color: #1a1a1a;
        }
        .action-line{
                border: none;
    border-top: 2px solid #adbfd0;
    margin-top: 1rem;
    width: 83px;
    height: 2px;
    background-color: #555555;
    border: none;
    margin: 0 10px;
    position: relative;
    top: 16px;
    z-index: 0;
        }
        .step-number {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: #F0F0F0;
            color: #999;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 14px;
        }

        .step.active .step-number {
            background: #fad903;
            color: #1a1a1a;
        }

        /* Form Fields */
        .form-group {
            margin-bottom: 25px;
        }

        .form-group label {
            display: block;
            font-weight: 600;
            font-size: 14px;
            /* color: #1a1a1a; */
                color: #666;
            margin-bottom: 8px;
            text-align: left;
        }

        .required {
            color: #EF4444;
        }

        .form-input,
        .form-textarea,
        .form-select {
            width: 100%;
            padding: 12px 16px;
            border: 2px solid #E5E5E5;
            border-radius: 10px;
            font-size: 14px;
            /* font-family: inherit; */
            transition: all 0.3s;
            color: black;
        }

        .form-input:focus,
        .form-textarea:focus,
        .form-select:focus {
            outline: none;
            border-color: #FFEE58;
        }

        .form-input::placeholder,
        .form-textarea::placeholder {
            color: #BDBDBD;
        }

        .form-textarea {
            min-height: 120px;
            resize: vertical;
        }

        .field-hint {
            font-size: 12px;
            color: #999;
            margin-top: 6px;
                text-align: left;
        }

        /* Form Row */
        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }

        /* Quantity Control */
        .quantity-control {
            display: flex;
            align-items: center;
            gap: 15px;
        }

       .quantity-btn {
            width: 40px;
            height: 40px;
            border: 2px solid #E5E5E5;
            border-radius: 8px;
            background: white;
            cursor: pointer;
            font-size: 16px;
            font-weight: 500;
            color: #666;
            padding: 0px;
            transition: all 0.3s;

      }
        .col-lg-8 {
            margin-top: 28px;
        }
            h2.mb-1 {
        text-align: left;
        font-size: 26px;
    }
        .quantity-btn:hover {
            border-color: #FDB913;
            color: #1a1a1a;
        }

        .quantity-input {
            width: 80px;
            height: 40px;
            text-align: center;
            padding: 10px;
            border: 2px solid #E5E5E5;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 500;
        }

        /* Buttons */
        .form-actions-publish {
    display: flex;
    justify-content: stretch;
    gap: 15px;
    margin-top: 35px;
    padding: 15px;
    border: 2px solid #80808026;
    border-radius: 12px;
        }
        .form-actions-publish .btn {
    flex: 1;
        }

        .btn {
            padding: 12px 32px;
            border: none;
            border-radius: 12px;
            /* font-weight: 700; */
            font-size: 16px;
            cursor: pointer;
            transition: all 0.3s;
            -webkit-border-radius: 12px;
            -moz-border-radius: 12px;
            -ms-border-radius: 12px;
            -o-border-radius: 12px;
}

        .btn-secondary {
            background: #999;
            color: #666;
        }

        .btn-secondary:hover {
            background: #E0E0E0;
        }

        .btn-primary {
            background: #FFEE58;
            color: #1a1a1a;
        }

        .btn-primary:hover {
            background-color: #f5e100;
            color: #1a1a1a;
        }

        /* Bottom Tips */
        .bottom-tips {
            /* background: #FFF9E6; */
            /* border-radius: 12px; */
            padding: 20px;
            /* margin-top: 30px; */
            /* border-left: 4px solid #FDB913; */
        }

        .bottom-tips h4 {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 16px;
            font-weight: 500;
            color: #1a1a1a;
            margin-bottom: 12px;
        }

        .bottom-tips ul {
            list-style: none;
            padding-left: 0;
        }

        .bottom-tips li {
            font-size: 14px;
            color: #666;
            margin-bottom: 8px;
            padding-left: 20px;
            position: relative;
            text-align: left;
        }

        .bottom-tips li::before {
            /* content: '•'; */
            position: absolute;
            left: 8px;
            color:black;
            font-weight: 700;
        }

        /* Footer Wave */
        /* .footer-wave {
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 80px;
            pointer-events: none;
        }

        .footer-wave svg {
            width: 100%;
            height: 100%;
        } */

        /* Responsive */
        @media (max-width: 1024px) {
            #cubeContainer {
    touch-action: pan-y;
}
            .slide {
                position: absolute;
                width: 100%;
                height: 100%;
                opacity: 0;
                transition: opacity 0.8s 
            ease-in-out;
            }
            .main-content {
                grid-template-columns: 1fr;
            }
            .col-lg-8 {
                padding-top: 12px;
            }
            .tips-sidebar {
                order: 0;
                width: 94%;
            }

            .form-container {
                order: 1;
            }
            .buy_sell_form{
                gap: 20px;
                display: flex;
            }
            .remove-btn{
                padding: 12px 20px;
            }
        }

        @media (max-width: 768px) {

            .sub-menu{
                height:auto;
            }
            .nav-links {
                display: none;
            }

            .header {
                padding: 12px 20px;
            }

            .main-content {
                padding: 20px 15px;
                width: 100%;
                box-sizing: border-box;
            }

            .form-container {
                /* padding: 25px 20px; */
                padding: 25px 0px;
            }
            
            .form-header h1 {
                font-size: 14px;
            }
            .form-subtitle {
                color: #666;
                font-size: 10px;
                margin-bottom: 0px;
                text-align: left;
            }
            .form-row {
                grid-template-columns: 1fr;
                gap: 0px;
            }

            .steps {
                flex-direction: unset;
                gap: 0px;
            }
            .action-line {
                margin: 14px 0px;
            }
            .service-info.row .col-7{
                width: 100%;
            }
            .service-info h5{
                font-size: 10px;
            }
            .service-info p{
                font-size: 10px;
            }
            .service-info.row .price-book.col-5{
                flex-direction: column;
            }
        }

        @media (max-width: 480px) {
            .header-right {
                gap: 10px;
                font-size: 13px;
            }

            .form-actions,
            .form-actions.buy_sell_form {
                display: flex !important;
                flex-direction: row !important;
                flex-wrap: nowrap !important;
                align-items: center !important;
                justify-content: flex-end !important;
                gap: 6px !important;
                width: 100% !important;
            }

            .form-actions .btn,
            .form-actions.buy_sell_form .btn,
            .form-actions a.btn,
            .form-actions.buy_sell_form a.btn {
                flex: 1 1 0 !important;
                width: 0 !important;
                min-width: 0 !important;
                max-width: none !important;
                padding: 8px 4px !important;
                font-size: 11.5px !important;
                white-space: nowrap !important;
                overflow: hidden !important;
                text-overflow: ellipsis !important;
                text-align: center !important;
                display: inline-flex !important;
                align-items: center !important;
                justify-content: center !important;
                box-sizing: border-box !important;
            }
        }

 /* buy-sell-post product form end */


  /* buy-sell-post upload product form start */
 /* Steps */
 .section-title-title {
    /* font -weight: 700; */
    font-size: 24px;
    color: #212529;
    /* padding-left: 171px; */
    margin-bottom: 10px;
    text-align: left;
}
        .steps-container {
            max-width: 900px;
            margin: 30px auto;
            padding: 0 20px;
            display: flex;
            justify-content: center;
            gap: 40px;
        }

        .step-item {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 15px;
            font-weight: 600;
            color: #999;
        }

        .step-item.active {
            color: #1a1a1a;
        }

        .step-circle {
            width: 35px;
            height: 35px;
            border-radius: 50%;
            background: #F0F0F0;
            color: #999;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 15px;
        }

        .step-item.active .step-circle {
            background: #FDB913;
            color: #1a1a1a;
        }

        /* Main Container */
        .main-container {
            max-width: 900px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .content-card {
            background: white;
            border-radius: 16px;
            padding: 35px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        }

        .card-header h2 {
            font-size: 16px;
            font-weight: 400;
            color: #1a1a1a;
            margin-bottom: 8px;
            text-align: left;
        }

        .card-subtitle {
            font-size: 14px;
            color: #666;
            margin-bottom: 30px;
             text-align: left;
        }

        .section-title-upload {
            font-size: 16px;
            font-weight: 400;
            color: #1a1a1a;
            margin-bottom: 20px;
            text-align: left;
                /* padding: 30px 1px 0px 1px; */

        }

        /* Upload Area */
        /* .upload-area {
            border: 2px dashed #E0E0E0;
            border-radius: 12px;
            padding: 50px 30px;
            text-align: center;
            background: #FAFAFA;
            margin-bottom: 25px;
            cursor: pointer;
            transition: all 0.3s;
        } */

        .upload-area:hover {
            border-color: #FDB913;
            background: #FFFBF0;
        }
/* 
        .upload-icon {
            font-size: 48px;
            margin-bottom: 15px;
        } */

        .upload-text {
            font-size: 16px;
            /* font-weight: 600; */
            color: #1a1a1a;
            margin-bottom: 8px;
        }

        .upload-hint {
            font-size: 13px;
            color: #999;
            margin-bottom: 20px;
        }

        .choose-btn {
            background: #FFEE58;
            border: none;
            padding: 12px 32px;
            border-radius: 12px;
            /* font-weight: 700; */
            font-size: 16px;
            cursor: pointer;
            color: #1a1a1a;
            transition: all 0.3s;
            -webkit-border-radius: 12px;
            -moz-border-radius: 12px;
            -ms-border-radius: 12px;
            -o-border-radius: 12px;
}

        .choose-btn:hover {
            transform: translateZ(0) scale(1.05);
        }

        /* Image Preview */
        .image-preview {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;
            margin-bottom: 30px;
        }

        .preview-item {
            position: relative;
            aspect-ratio: 4/3;
            border-radius: 12px;
            overflow: hidden;
            background: #F0F0F0;
        }

        .preview-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .remove-btn {
            position: absolute;
            top: 8px;
            right: 8px;
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background: rgba(0,0,0,0.6);
            color: white;
            border: none;
            cursor: pointer;
            font-size: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .video-label {
            font-size: 15px;
            font-weight: 600;
            color: #1a1a1a;
            margin-bottom: 10px;
        }

        /* Guidelines */
        .guidelines-section {
            margin-top: 30px;
            padding-top: 25px;
            border-top: 1px solid #F0F0F0;
            background: #b9b9b940;
            border-radius: 12px;
            padding: 10px;
                }

        .guidelines-list {
            list-style: none;
            padding: 0;
        }

        .guideline-item {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            margin-bottom: 15px;
            font-size: 13px;
            color: #666;
        }

        .check-icon {
            color: #22C55E;
            font-size: 16px;
            flex-shrink: 0;
            margin-top: -3px;
        }

        /* Form Actions */
        /* .form-actions {
            display: flex;
            justify-content: space-between;
            margin-top: 30px;
        } */

        /* .btn {
            padding: 12px 32px;
            border: none;
            border-radius: 25px;
            font-weight: 700;
            font-size: 15px;
            cursor: pointer;
            transition: all 0.3s;
        } */

        .btn-secondary {
            background: #999;
            color: #666;
        }

        .btn-secondary:hover {
            background: #E0E0E0;
        }

        .btn-primary {
            background: #FFEE58;
            color: #1a1a1a;
        }

        /* .btn-primary:hover {
            transform: translateZ(0) scale(1.05);
            -webkit-transform: translateZ(0) scale(1.05);
            -moz-transform: translateZ(0) scale(1.05);
            -ms-transform: translateZ(0) scale(1.05);
            -o-transform: translateZ(0) scale(1.05);
} */
        /* Responsive */
        @media (max-width: 768px) {

            .steps-container {
                /* flex-direction: column;
                align-items: center;
                gap: 15px; */
                align-items: center;
                gap: 13px;
                margin: 0px;
                padding: 40px 26px 14px 29px;
            }

            .content-card {
                padding: 25px 20px;
                        margin-top: 5px;
            }

            .image-preview {
                grid-template-columns: repeat(2, 1fr);
            }

            .form-actions {
                flex-direction: column;
                gap: 10px;
                    text-align: right;
            }
            /* .form-actions {
    text-align: right!important;
} */

            .btn {
                width: 100%;
            }
        }

        @media (max-width: 480px) {
            .image-preview {
                grid-template-columns: 1fr;
            }
        }

        .hidden {
            display: none;
        }
    /* buy-sell-post upload product form end */
    

    /* buy-sell-post preview product form start */

        .main-preview-container {
            max-width: 1400px;
            margin: 40px auto;
            padding: 0 30px;
        }
.curve-slider.search-centered{

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;

    transform: none !important;
    perspective: none !important;
}

.curve-slider.search-centered .cat-box{

    position: relative !important;
    transform: none !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;

    margin: 0 !important;
}
.curve-slider.search-active{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.curve-slider.search-active .cat-box{
    position: relative !important;
    transform: none !important;
    left: auto !important;
    top: auto !important;
}
/* SEARCH ACTIVE â†’ CENTER CATEGORY BOXES */
/* SEARCH ACTIVE */
#loopSlider.search-mode {
    justify-content: center !important;
    overflow-x: hidden !important;
    gap: 25px !important;
}

#loopSlider.search-mode .cat-box {
    transform: none !important;
    opacity: 1 !important;
}
#global-subcategories {
    justify-content: center;
}
        .page-title h1 {
            font-size: 24px;
            font-weight: 500;
            color: #1a1a1a;
            margin-bottom: 8px;
            text-align:left;
            word-break: break-word;
        }

        .page-subtitle {
            font-size: 14px;
            color: #666;
            margin-bottom: 15px;
             text-align:left;
        }

        .content-grid {
            display: grid;
            grid-template-columns: 1fr 400px;
            gap: 25px;
        }

        /* Product Card */
        .product-card-details {
            background: white;
            border-radius: 25px;
            padding: 17px;
            overflow: hidden;
            /* box-shadow: 0 2px 8px rgba(0,0,0,0.08); */
             box-shadow: 0 2px 10px rgba(0,0,0,0.2);
            -webkit-border-radius: 25px;
            -moz-border-radius: 25px;
            -ms-border-radius: 25px;
            -o-border-radius: 25px;
}

        .product-image-container {
            position: relative;
            width: 100%;
            height: 230px;
            background: #000;
            overflow: hidden;
        }

        .product-image {
            width: 100%;
            height: 230px;
            object-fit: cover;
            border-radius: 24px 24px 0px 0px;
            -webkit-border-radius: 24px 24px 0px 0px;
            -moz-border-radius: 24px 24px 0px 0px;
            -ms-border-radius: 24px 24px 0px 0px;
            -o-border-radius: 24px 24px 0px 0px;
}

        .featured-badge {
            position: absolute;
            top: 15px;
            left: 15px;
            background: rgba(0,0,0,0.7);
            color: white;
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
        }

        .image-nav {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            justify-content: space-between; /* left & right */
            align-items: center;            /* vertical center */
            pointer-events: none;           /* important */
            padding: 0 15px;
        }


            .nav-btn {
            width: 40px;
            height: 54px;
            background: rgba(255,255,255,0.9);
            border: none;
            border-radius: 50%;
            cursor: pointer;
            font-size: 27px;
            display: flex;
            align-items: center;
            justify-content: center;
            pointer-events: auto;  /* enable click */
            box-shadow: 0 4px 10px rgba(0,0,0,0.2);
        }
        .nav-btn:hover {
            background: #fff;
            transform: translateZ(0) scale(1.1);
            transition: 0.3s;
        }


        .product-content {
            padding: 25px;
        }

        .product-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 15px;
        }

        .product-title {
            /* font-size: 22px;
            font-weight: 700;
            color: #1a1a1a;
            flex: 1; */
                font-size: 16px;
    font-weight: 500;
    color: #111827;
    margin: 0;
    padding-right: 12px;
    line-height: 1.2;
    flex: 1;
    text-align: left;
        }

        .product-price {
            font-size: 28px;
            font-weight: 700;
            color: #1a1a1a;
            text-align: right;
        }

        .price-label {
            font-size: 12px;
            color: #999;
            font-weight: 500;
        }

        .product-meta {
            display: flex;
            gap: 15px;
            margin-bottom: 15px;
            flex-wrap: wrap;
        }

        .meta-tag {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            padding: 6px 12px;
            background: #F5F5F5;
            border-radius: 15px;
            font-size: 12px;
            color: #666;
            font-weight: 500;
        }

        .product-description {
                font-size: 14px;
    color: #666;
    line-height: 1.7;
    top: 10;
    margin-bottom: 20px;
    /* padding: 10px; */
    margin-top: 10px;
    text-align: left;
        overflow-wrap: anywhere;
        }

        .skills-section {
            margin-bottom: 20px;
        }

        .skills-title {
            font-size: 14px;
            font-weight: 700;
            color: #1a1a1a;
            margin-bottom: 10px;
            text-align: left;
        }

        .skills-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .skill-tag {
            padding: 6px 14px;
            background: #f0f0f05e;
            border-radius: 15px;
            font-size: 12px;
            color: #666;
            font-weight: 500;
        }

        .project-details {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 20px;
            padding-top: 20px;
            border-top: 1px solid #f0f0f05e;
            margin-bottom: 20px;
            align-items: start;
            grid-auto-rows: auto;
        }

        .detail-item {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            gap: 8px;
            padding: 16px;
            background: #f7f8fb;
            border-radius: 16px;
            min-height: 96px;
        }

        .detail-label {
            font-size: 13px;
            color: #7b7b7b;
            font-weight: 600;
            text-align: left;
        }

        .detail-value {
            font-size: 14px;
            color: #1a1a1a;
            font-weight: 500;
            text-align: left;
            overflow-wrap: anywhere;
        }

        .seller-preview-info {
            display: flex;
            align-items: center;
            gap: 12px;
           /*  padding-top: 20px;
            border-top: 1px solid #F0F0F0; */
            padding-top: 0px;
            border-bottom: 1px solid #F0F0F0;
            margin-bottom: 0px;
            line-height: 37px;
        }

        .seller-preview-avatar {
            width: 45px;
            height: 45px;
            border-radius: 50%;
            background: #E0E0E0;
        }

        .seller-preview-details {
            flex: 1;
        }

        .seller-name {
            font-size: 14px;
            text-align: left;
            font-weight: 500;
            color: #1a1a1a;
        }

        .seller-rating {
            font-size: 12px;
            color: #FDB913;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .seller-member {
            font-size: 11px;
            color: #999;
        }

        /* Summary Card */
        .summary-card {
            background: white;
            border-radius: 16px;
            padding: 25px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
            height: fit-content;
        }

        .summary-title {
            font-size: 16px;
            font-weight:400;
            color: #1a1a1a;
            margin-bottom: 20px;
                text-align: left;
        }

        .summary-item {
            display: flex;
            justify-content: space-between;
            margin-bottom: 12px;
            font-size: 14px;
        }

        .summary-label {
            color: #666;
        }

        .summary-value {
            font-weight: 600;
            color: #1a1a1a;
        }
         /* Status row */
        .status-row {
            display: flex;
            justify-content: space-between;
            margin-bottom: 6px;
            font-size: 14px;
        }

        .status-badge {
            background: #fff7c9;
            padding: 4px 12px;
            border-radius: 12px;
            color: #d4b126;
            font-weight: 600;
        }

        /* Progress bar */
        .progress-wrapper {
            width: 100%;
            height: 8px;
            background: #e5e7eb;
            border-radius: 6px;
            margin-top: 2px;
        }

        .progress-bar-fill {
            height: 100%;
            background: #FFEE58;
            border-radius: 8px;
        }

        .progress-text {
            font-size: 13px;
            color: #777;
            margin-top: 6px;
            text-align: left;
        }

        /* Info lines */
        .info-line {
            display: flex;
            justify-content: space-between;
            margin: 12px 0;
            font-size: 15px;
            color: #444;
        }

        .info-bold {
            font-weight: 600;
        }

        .price-text {
            color: #f4c20d;
            font-weight: 700;
        }

        /* Buttons */
        .post-btn {
            width: 100%;
            background: #FFEE58;
            border: none;
            padding: 14px;
            font-size: 16px;
            border-radius: 12px;
            margin-top: 16px;
            font-weight: 500;
        }

        .edit-btn {
            width: 100%;
            background: #ffffff;
            border: 1px solid #e5e5e5;
            padding: 16px;
            font-size: 16px;
            border-radius: 12px;
            margin-top: 10px;
            font-weight: 500;
        }
        .total-cost {
            padding-top: 15px;
            margin-top: 15px;
            border-top: 2px solid #F0F0F0;
            display: flex;
            justify-content: space-between;
            font-size: 18px;
            font-weight: 700;
            color: #1a1a1a;
        }

        .info-box {
            background: #E3F2FD;
            border-radius: 10px;
            padding: 15px;
            margin: 12px 0px 0px 0px;
            font-size: 13px;
            color: #1976D2;
            display: flex;
            gap: 10px;
        }

        .info-icon {
            flex-shrink: 0;
        }

        .action-buttons {
            display: flex;
            flex-direction: column;
            gap: 12px;
            margin-top: 25px;
        }
         .actions-buttons {
            display: flex;
            flex-direction: column;
            gap: 12px;
            margin-top: 25px;
        }

        /* .btn {
            padding: 14px 24px;
            border: none;
            border-radius: 25px;
            font-weight: 700;
            font-size: 15px;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        } */

        .btn-primary {
            background: #FFEE58;
            color: #1a1a1a;
        }

        /* .btn-primary:hover {
            transform: translateZ(0) scale(1.02);
        } */

        .btn-secondary {
            background: white;
            color: #000000;
            border: 2px solid #686868;
        }

        .btn-secondary:hover {
            border-color: #FFEE58;
        }

        /* Pro Tips */
        .tips-card-preview {
            background: white;
            border-radius: 16px;
            padding: 25px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
            margin-top: 20px;
        }

        .tips-header {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 16px;
            font-weight: 700;
            color: #1a1a1a;
            margin-bottom: 15px;
        }
/* 
        .tip-item {
            display: flex;
            gap: 10px;
            margin-bottom: 12px;
            font-size: 13px;
            color: #666;
        } */

        .tip-check {
            color: #22C55E;
            flex-shrink: 0;
        }

        /* Responsive */
        @media (max-width: 1024px) {
            .content-grid {
                grid-template-columns: 1fr;
            }

            .summary-card {
                order: -1;
            }
        }

        @media (max-width: 768px) {
            .main-preview-container {
                /* padding: 0 15px; */
            align-items: center;
            gap: 13px;
            margin: 0px;
            padding: 6px;
            }

            .page-title h1 {
                font-size: 14px;
                 text-align:left;
                 margin-top: 8px;
            }
            .page-subtitle{
                font-size: 10px;
            }
            .project-details {
                display: grid;
                grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
                gap: 15px;
                padding-top: 0px;
            }
            .product-content {
                padding: 12px 14px;
            }
          
        }

        /* buy-sell-post preview product form end */

        /* freelancing property form page start*/
        button.btn-copy {
            min-width: 131px;
            border-radius: 7px;
        }
        span.amenity-label {
        
            text-align: left;
        }
        h2.mb-1 {
            text-align: left;
        }
        button.btn-primary-freelancing {
            border-radius: 12px;
            padding: 10px;
        }
        .schedule-header {
            margin-bottom: 25px;
        }
        h4.freelancing{
            text-align: left;
            font-weight: normal;

        }
        p.freelancing{
            text-align: left;
            color: #666;
        }
        .form-header-freelancing.mb-4
        {
            text-align: left;
            padding: 0px 0px 0px 75px;
        }
        p.form-subtitle-freelancing {
            text-align: left;
        }
        /* freelancing property form page end*/

        /* freelancing property detail page start*/
        .container {
            /* padding-top: 83px; */
        }
        .action-divider {
            border: none !important;
            border-top: 1px solid #e5e7eb !important;
            margin: 20px 0 !important;
            width: 100% !important;
            margin-left: 0 !important;
            opacity: 1 !important;
        }
        .my-4 {
            margin-top: 1.5rem !important;
            margin-bottom: 1.5rem !important;
            border-top: 1px solid #e5e7eb;
        }
                .form-header {
            padding: 36px 0px 0px 38px;
        }
        .main-container-freelancing {
            max-width: 1200px;
            margin: 2rem auto;
            padding: 0 1rem;
        }
        
        .freelancing-form-card {
            background: white;
            border-radius: 15px;
            padding: 2rem;
            margin-bottom: 1.5rem;
            box-shadow: 0 4px 20px rgba(0,0,0,0.08);
        }
         
        .form-card {
            background: white;
            border-radius: 15px;
            padding: 2rem;
            margin-bottom: 1.5rem;
            box-shadow: 0 4px 20px rgba(0,0,0,0.08);
        }

        .freelancing-section-title-s {
            color: var(--primary-yellow);
            font-size: 16px;
            font-weight: 500;
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .freelancing-section-title::before {
            /* content: "â¬¢"; */
            font-size: 1.2rem;
        }
        
    
        
       .preview-card {
      background: #fff;
      border-radius: 10px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.05);
      padding: 20px;
      margin-bottom: 20px;
    }
        
    
     
        h6.mb-3 {
            text-align: left;
        }
     
      /* .upload-area {
      background: #f8f9fa;
      border: 2px dashed #ccc;
      border-radius: 8px;
      text-align: center;
      padding: 30px 10px;
      position: relative;
      cursor: pointer;
      transition: all 0.3s ease;
    } */

    .upload-area:hover {
      border-color: #ffca2c;
      background: #fff9e6;
    }

    .upload-area input {
      position: absolute;
      opacity: 0;
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
      cursor: pointer;
    }
     /* .upload-icon i {
      font-size: 30px;
      color: #6c757d;
      margin-bottom: 10px;
    } */
     .tips-box {
    background: #FFEE58;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 31px rgba(0, 0, 0, 0.19);
    margin-bottom: 20px;
    }

    .tips-box ul {
      margin: 0;
      padding-left: 20px;
    }

    .tips-box li {
      list-style: none;
      margin-bottom: 8px;
      position: relative;
      
      padding-left: 20px;
      text-align: left;
    }

    .tips-box li::before {
      /* content: "âœ“"; */
      position: absolute;
      left: 0;
      color: #2e7d32;
      font-weight: 600;
    }

            .col-lg-4 {
            /* margin-top: 88px; */
        }
        .text-end.mt-4

        {
            background: border-box;
            border: 2px solid rgb(233, 233, 233);
            border-radius: 15px;
            padding: 18px;
        }
                
      
        
       
        
        .file-name {
            color: #28a745;
            font-weight: 600;
            margin-top: 0.5rem;
            font-size: 0.9rem;
        }
        
        .upload-btn {
            background: var(--primary-yellow);
            border: none;
            padding: 0.5rem 2rem;
            border-radius: 25px;
            font-weight: 600;
            color: var(--dark-gray);
            margin-top: 1rem;
        }
        
        .benefits-list {
            background: var(--primary-yellow);
            border-radius: 10px;
            padding: 1.5rem;
            margin-top: 1rem;
        }
        
        .benefits-list li {
            color: var(--dark-gray);
            font-size: 0.85rem;
            margin-bottom: 0.5rem;
        }
        
        /* .amenity-checkbox {
            display: inline-flex;
            margin-right: 1.5rem;
            margin-bottom: 1rem;
        }
        
        .amenity-checkbox input {
            margin-right: 0.5rem;
        } */
         .amenities-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5 items per row */
  gap: 12px 20px; /* vertical + horizontal space */
  margin-top: 10px;
}

.amenity-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 15px;
  color: #333;
  user-select: none;
}

.amenity-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border: 1px solid #ccc;
  border-radius: 4px;
  accent-color: #ffc107; /* Bootstrap yellow */
  cursor: pointer;
}

.amenity-label {
  transition: color 0.2s ease;
}

.amenity-checkbox input[type="checkbox"]:checked + .amenity-label {
  color: #ffc107;
  font-weight: 500;
}

/* Responsive: Adjust grid for smaller screens */
@media (max-width: 992px) {
  .amenities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .amenities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

        
        .btn-submit {
            background: var(--primary-yellow);
            border: none;
            padding: 0.7rem 3rem;
            border-radius: 12px;
            font-weight: 600;
            color: var(--dark-gray);
            font-size: 1rem;
            -webkit-border-radius: 12px;
            -moz-border-radius: 12px;
            -ms-border-radius: 12px;
            -o-border-radius: 12px;
}
        
        .btn-back {
            background: transparent;
            border: 2px solid #FDB913;
            padding: 0.7rem 3rem;
            border-radius: 12px;
            font-weight: 600;
            color: var(--dark-gray);
            margin-right: 1rem;
            -webkit-border-radius: 12px;
            -moz-border-radius: 12px;
            -ms-border-radius: 12px;
            -o-border-radius: 12px;
}
        
        @media (max-width: 768px) {
            
            .form-card, .preview-card {
                padding: 1.5rem;
            }
            
            .preview-card {
                position: relative;
                top: 0;
                margin-top: 1.5rem;
            }
        }

  /* freelancing property detail page end*/


/* real estate product form start */
.form-header-real-estate {
   text-align: left;
}
.main-from {
  border: 1px solid #eee;
}
/* .form-label {
  font-weight: 500;
} */
.badge.bg-warning {
  background-color: #FFEE58 !important;
  border-radius: 12px;
  font-size: 13px;
  padding: 6px 10px;
}
.btn-warning {
  background-color: #FFEE58;
  border: none;
}
.btn-warning:hover {
  background-color: #FFEE58;
}
p.text-muted.mb-0 {
    /* text-align: center; */
    /* font-size: 16px; */
    /* font-weight: 500; */
}
label.form-label.fw-medium {
display: block;
    font-weight: 600;
    font-size: 14px;
    /* color: #1a1a1a; */
    color: #666;
    margin-bottom: 8px;
    text-align: left;
}
p.text-descriptions {
    font-size: 12px;
    color: #999;
    margin-top: 6px;
    text-align: left;
    
}
.form-controlss {
    display: block;
    width: 100%;
    padding: 10px 14px;
    min-height: 44px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
    background-clip: padding-box;
    border: var(--bs-border-width) solid var(--bs-border-color);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: var(--bs-border-radius);
    transition: border-color .15s 
ease-in-out, box-shadow .15s 
ease-in-out;
    border: 2px solid #E5E5E5;
    border-radius: 10px;
}
.form-controlss:focus, .form-textarea:focus, .form-select:focus {
    outline: none;
    border-color: #FFEE58;
}
p.form-label.fw-medium {
    text-align: left;
}
.mt-2 {
    margin-top: .5rem !important;
    text-align: left;
}
/*  real estate product form  end */


/*  real estate upload form  start */
.main-content-upload {
            flex: 1;
            padding: 40px 0;
        }
  /* .page-header {
            margin-bottom: 30px;
        } */
.page-header-upload {
    text-align: left;
}
        .page-header-upload h2 {
            font-size: 24px;
            font-weight: 500;
            margin-bottom: 5px;
        }

        .page-header-upload p {
            color: #5c5a5a;
            font-size: 14px;
        }
        button.btn-primary {
    font-size: 16px;
    font-weight: 400;
    border-radius: 12px;
}
small.text-descriptions.left-text {
    display: block;
    color: #666;
    font-size: 13px;
    margin-top: 8px;
}
.left-text {
    text-align: left;         /* aligns text to left side */
    width: 100%;
}
        .upload-card {
            background: var(--card-bg);
            border-radius: 15px;
            padding: 30px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            margin-bottom: 20px;
            text-align: left;
        }
        .upload-certifications{
            border: 2px dashed #FFEE58;
            border-radius: 10px;
            padding: 60px 20px;
            padding-bottom: 35px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s;
            margin-bottom: 15px;
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }
        .upload-certifications:hover {
            border-color: #FFEE58;
            background-color: #FFFBF0;
        }
        .upload-card h5 {
            font-weight: 600;
            margin-bottom: 10px;
            font-size: 16px;
        }
        .upload-card {
            background: var(--card-bg);
            border-radius: 15px;
            padding: 0px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            margin-bottom: 20px;
            text-align: left;
        }
        .upload-card p {
            color: var(--text-muted);
            font-size: 10px;
            margin-bottom: 20px;
        }

        /* .upload-area {
            border: 2px dashed var(--border-color);
            border-radius: 10px;
            padding: 60px 20px;
            padding-bottom: 35px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s;
            margin-bottom: 15px;
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        } */

        .upload-area:hover {
            border-color: var(--primary-yellow);
            background-color: #FFFBF0;
        }

        .upload-area.dragover {
            border-color: var(--primary-yellow);
            background-color: #FFFBF0;
            transform: translateZ(0) scale(1.02);
        }

        /* .upload-icon {
            font-size: 48px;
            color: var(--text-muted);
            margin-bottom: 15px;
        } */
         .upload-icon {
    width: 70px;
    height: 70px;
    background: #f6f6f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.05);
}
.upload-icon i {
    font-size: 32px;
    color: #FFEE58; /* bright yellow like in your UI */
}

        .upload-area p {
            margin-bottom: 5px;
        }

        .upload-area small {
            color: var(--text-muted);
            font-size: 12px;
        }

        .btn-choose {
            background-color: #FFEE58;
            color: var(--text-dark);
            border: none;
            padding: 10px 30px;
            border-radius: 12px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s;
            display: block;
            margin: 0 auto;
            -webkit-border-radius: 12px;
            -moz-border-radius: 12px;
            -ms-border-radius: 12px;
            -o-border-radius: 12px;
}

        .btn-choose:hover {
            opacity: 0.9;
            transform: translateY(-2px);
        }

        .btn-upload-cert {
            background-color: #FFF;
              color: #f1bf19;
            border: 2px solid #f1bf19;
            padding: 10px 30px;
            border-radius: 25px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s;
        }

        .uploaded-files {
            margin-top: 20px;
        }

        .file-preview {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px;
            background: #F8F9FA;
            border-radius: 8px;
            margin-bottom: 10px;
            animation: slideIn 0.3s ease;
        }

        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .file-preview img {
            width: 50px;
            height: 50px;
            object-fit: cover;
            border-radius: 5px;
        }

        .file-info {
            flex: 1;
        }

        .file-info h6 {
            font-size: 13px;
            margin: 0;
            font-weight: 600;
        }

        .file-info small {
            color: var(--text-muted);
            font-size: 11px;
        }

        .file-remove {
            background: none;
            border: none;
            color: #DC3545;
            cursor: pointer;
            font-size: 18px;

        }

        .tips-section {
            /* background: var(--card-bg); */
            border-radius: 15px;
            padding: 25px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
            margin-bottom: 20px;
            background: white;
            margin-top: 11px;
        }

        .tips-section h5 {
            font-weight: 500;
            margin-bottom: 20px;
            font-size: 16px;
        }

        /* .tip-item {
            display: flex;
            gap: 12px;
            margin-bottom: 15px;
            align-items: flex-start;
        } */

        .tip-icon {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            font-size: 12px;
        }

        .tip-icon.yellow { background-color: #FFF3CD; color: #FFC542; }
        .tip-icon.blue { background-color: #D1E7FF; color: #0066CC; }
        .tip-icon.green { background-color: #D4EDDA; color: #28A745; }

        .tip-content h6 {
            font-size: 14px;
            font-weight: 600;
            margin-bottom: 3px;
            color: black;
        }

        .tip-content p {
            font-size: 12px;
            color: var(--text-muted);
            margin: 0;
        }

        .cert-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px;
            background: #FFF;
            border: 1px solid var(--border-color);
            border-radius: 8px;
            margin-bottom: 10px;
            transition: all 0.3s;
        }

        .cert-item:hover {
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }

        .cert-info {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .cert-icon {
            width: 35px;
            height: 35px;
            background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
        }

        .cert-details h6 {
            font-size: 14px;
            font-weight: 400;
            margin: 0;
        }

        .cert-details p {
            font-size: 12px;
            color: var(--text-muted);
            margin: 0;
            text-align: left;
        }

        .btn-save {
            width: 100%;
            background-color: #FFEE58;
            color: var(--text-dark);
            border: none;
            padding: 12px;
            border-radius: 12px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            -webkit-border-radius: 12px;
            -moz-border-radius: 12px;
            -ms-border-radius: 12px;
            -o-border-radius: 12px;
}

        .btn-save:hover {
            opacity: 0.9;
            transform: translateY(-2px);
        }

        /* Portfolio Preview */
        .portfolio-preview {
            background: var(--card-bg);
            border-radius: 15px;
            padding: 25px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            margin-top: 20px;
        }

        .preview-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }

        .preview-header h5 {
            font-weight: 600;
            font-size: 16px;
        }

        /* .view-toggle {
            display: flex;
            gap: 5px;
        }

        .view-toggle button {
            width: 30px;
            height: 30px;
            border: 1px solid var(--border-color);
            background: white;
            border-radius: 5px;
            cursor: pointer;
            color: var(--text-muted);
            transition: all 0.3s;
        }

        .view-toggle button:hover {
            border-color: var(--primary-yellow);
        }

        .view-toggle button.active {
            background-color: var(--primary-yellow);
            border-color: var(--primary-yellow);
            color: var(--text-dark);
        } */

        .portfolio-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            gap: 15px;
        }

        .portfolio-grid.list-view {
            grid-template-columns: 1fr;
        }

        .portfolio-item {
            position: relative;
            border-radius: 10px;
            overflow: hidden;
            cursor: pointer;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            transition: transform 0.3s;
        }

        .portfolio-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 4px 15px rgba(0,0,0,0.15);
        }

        .portfolio-item img {
            width: 100%;
            height: 180px;
            object-fit: cover;
        }

        .list-view .portfolio-item {
            display: flex;
            flex-direction: row;
        }

        .list-view .portfolio-item img {
            width: 150px;
            height: 100px;
        }

        .portfolio-info {
            padding: 10px;
            background: white;
        }

        .list-view .portfolio-info {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .portfolio-info h6 {
            font-size: 13px;
            font-weight: 600;
            margin: 0 0 3px 0;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .portfolio-info p {
            font-size: 11px;
            color: var(--text-muted);
            margin: 0;
        }

        .add-work {
            border: 2px dashed var(--border-color);
            background: #FAFAFA;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            height: 250px;
            border-radius: 10px;
            cursor: pointer;
            transition: all 0.3s;
        }

        .add-work:hover {
            border-color: var(--primary-yellow);
            background-color: #FFFBF0;
            transform: translateZ(0) scale(1.05);
        }

        .add-work i {
            font-size: 32px;
            color: var(--text-muted);
            margin-bottom: 10px;
        }

        .add-work p {
            color: var(--text-muted);
            font-size: 13px;
        }

        /* Toast Notification */
        .toast-notification {
            position: fixed;
            top: 80px;
            right: 20px;
            background: white;
            padding: 15px 20px;
            border-radius: 10px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
            display: flex;
            align-items: center;
            gap: 10px;
            z-index: 1000;
            animation: slideInRight 0.3s ease;
        }

        @keyframes slideInRight {
            from {
                transform: translateX(400px);
                opacity: 0;
            }
            to {
                transform: translateX(0);
                opacity: 1;
            }
        }

        .toast-notification.success {
            border-left: 4px solid #28A745;
        }

        .toast-notification.error {
            border-left: 4px solid #DC3545;
        }

       /* ===== Portfolio Container ===== */
.portfolio-container {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 25px 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    margin-top: 20px;
}

/* ===== Header ===== */
.portfolio-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.portfolio-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: #2c2c2c;
}

/* ===== View Buttons ===== */
.view-toggle {
    display: flex;
    gap: 10px;
}

.view-btn {
    background: #f8f9fa;
    border: none;
    border-radius: 6px;
    padding: 8px 10px;
    cursor: pointer;
    color: #777;
    transition: all 0.3s ease;
}

.view-btn.active,
.view-btn:hover {
    background: #FFF7E0;
    color: #f6b900;
}

/* ===== Portfolio Grid ===== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

/* ===== Portfolio Item ===== */
.portfolio-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.portfolio-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

/* ===== Image ===== */
.portfolio-image {
    position: relative;
    width: 100%;
    height: 140px;
    overflow: hidden;
    border-bottom: 1px solid #f0f0f0;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.portfolio-item:hover img {
    transform: translateZ(0) scale(1.05);
}

/* ===== Delete Button ===== */
.delete-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #888;
    transition: all 0.3s ease;
}

.delete-btn:hover {
    background: #ffd54f;
    color: #000;
}

/* ===== Info ===== */
.portfolio-info {
    padding: 12px 14px;
    text-align: left;
}

.portfolio-info h5 {
    font-size: 15px;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 3px;
}

.portfolio-info p {
    font-size: 13px;
    color: #777;
    margin: 0;
}

/* ===== Add New Work Card ===== */
.add-work-card {
    border: 2px dashed #ddd;
    border-radius: 10px;
    background: #fafafa;
    text-align: center;
    padding: 45px 20px;
    color: #777;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-work-card i {
    font-size: 28px;
    color: #f6b900;
    margin-bottom: 8px;
}

.add-work-card:hover {
    background: #fff7e0;
    border-color: #f6b900;
    color: #000;
    transform: translateY(-2px);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }

    .portfolio-info h5 {
        font-size: 14px;
    }
}


        /* List View Styles */
        .list-view .portfolio-item {
            display: flex;
            flex-direction: row;
        }

        .list-view .portfolio-image {
            width: 300px;
            height: 200px;
            flex-shrink: 0;
        }

        .list-view .portfolio-info {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
            padding: 30px;
        }

        .list-view .add-work-card {
            min-height: 200px;
        }

        /* Modal */
        .modal-backdrop {
            background-color: rgba(0, 0, 0, 0.7);
        }

        .portfolio-modal .modal-content {
            border-radius: 20px;
            border: none;
        }

        .portfolio-modal .modal-body {
            padding: 0;
        }

        .portfolio-modal img {
            width: 100%;
            border-radius: 20px;
        }

        /* Upload Modal */
        .upload-area {
               border: 2px dashed #8f8989;
            border-radius: 15px;
            padding: 17px 20px;
            margin-bottom: 15px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s;
            background: white;
            
        }

        .upload-area:hover {
            border-color: var(--primary-color);
            background-color: #F0F4FF;
        }

        /* .upload-area i {
            font-size: 48px;
            color: var(--text-muted);
            margin-bottom: 15px;
        } */

        .upload-area p {
            color: var(--text-muted);
            margin: 10px 0;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .portfolio-container {
                padding: 25px;
            }

            .portfolio-grid {
                grid-template-columns: 1fr;
            }

            .portfolio-header h2 {
                font-size: 22px;
            }

            .list-view .portfolio-item {
                flex-direction: column;
            }

            .list-view .portfolio-image {
                width: 100%;
                height: 220px;
            }
        }

        /* Delete Button */
        .delete-btn {
            position: absolute;
            top: 10px;
            right: 10px;
            width: 35px;
            height: 35px;
            border-radius: 50%;
            background: white;
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: all 0.3s;
            cursor: pointer;
            box-shadow: 0 2px 8px rgba(0,0,0,0.2);
        }

        .portfolio-item:hover .delete-btn {
            opacity: 1;
        }

        .delete-btn:hover {
            background-color: #DC3545;
            color: white;
            transform: translateZ(0) scale(1.1);
        }

        /* Toast */
        .toast-notification {
            position: fixed;
            top: 20px;
            right: 20px;
            background: white;
            padding: 15px 20px;
            border-radius: 10px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
            display: flex;
            align-items: center;
            gap: 10px;
            z-index: 9999;
            animation: slideInRight 0.3s ease;
        }

        @keyframes slideInRight {
            from {
                transform: translateX(400px);
                opacity: 0;
            }
            to {
                transform: translateX(0);
                opacity: 1;
            }
        }

        .toast-notification.success {
            border-left: 4px solid #28A745;
        }

        .toast-notification.error {
            border-left: 4px solid #DC3545;
        }

        @media (max-width: 768px) {
            .portfolio-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .page-header h2 {
                font-size: 22px;
            }

            .toast-notification {
                right: 10px;
                left: 10px;
            }
        }
        
/*  real estate upload form  end */

/*  real estate availability & Schedule form  start */
.hero-section-schedule {
    background: linear-gradient(180deg, rgba(255, 208, 68, 0.63) 31.11%, rgba(255, 255, 255, 0) 100%);
    padding: 45px 40px 70px;
    text-align: left;
    margin: 12px;
    margin-top: 0px;
}
 .btn-post {
            background-color: var(--text-dark);
            color: white;
            border: none;
            padding: 8px 20px;
            border-radius: 20px;
            font-weight: 500;
            margin-left: 10px;
        }

        .hero-section-schedule .profile-avatar {
            width: 35px;
            height: 35px;
            border-radius: 50%;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            margin-left: 15px;
        }

        /* Main Content */
        .main-content-schedule {
            flex: 1;
            padding: 40px 0;
        }

        /* Tips Card */
        .tips-card {
            background: var(--card-bg);
            border-radius: 15px;
            padding: 25px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            margin-bottom: 20px;
        }

        .tips-card h5 {
            font-weight: 600;
            margin-bottom: 20px;
            font-size: 16px;
        }

        .tip-item {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            margin-bottom: 12px;
            font-size: 14px;
            color: var(--text-muted);
            text-align: left;
        }

        .tip-item i {
            color: #FFEE58;
            margin-top: 3px;
        }

        /* Schedule Card */
        .schedule-card {
            background: var(--card-bg);
            border-radius: 15px;
            padding: 30px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }

        .schedule-header {
            margin-bottom: 25px;
        }

        .schedule-header h4 {
            font-size: 22px;
            /* font-weight: 600; */
            margin-bottom: 5px;
        }

        .schedule-header p {
            color: var(--text-muted);
            font-size: 14px;
        }

        /* Availability Toggle */
 .availability-section {
    background: #e8f4ff;
    border-radius: 10px;
    padding: 20px;
    border: 1px solid #00adff;
    margin-bottom: 30px;
}

        .availability-toggle {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .availability-toggle input[type="checkbox"] {
            width: 20px;
            height: 20px;
            cursor: pointer;
        }

        .availability-toggle label {
            font-weight: 600;
            margin: 0;
            cursor: pointer;
        }

        .availability-note {
            font-size: 13px;
            color: var(--text-muted);
            margin-top: 8px;
            margin-left: 32px;
        }

        .toggle-switch {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-left: auto;
        }

        .toggle-switch .form-check-input {
            width: 50px;
            height: 26px;
            cursor: pointer;
        }

        .toggle-switch .form-check-input:checked {
            background-color: var(--primary-yellow);
            border-color: var(--primary-yellow);
        }

        .toggle-label {
            font-size: 14px;
            color: var(--text-muted);
        }

        /* Weekly Schedule */
        .weekly-schedule {
            margin-top: 30px;
        }

        .weekly-schedule h5 {
            font-weight: 600;
            margin-bottom: 20px;
            font-size: 16px;
        }

       .schedule-table {
    width: 100%;
    padding: 0px;
    border-collapse: separate;
    border-spacing: 8px;
    background: #f6f6f6;
    border-radius: 12px;
}

        .schedule-table th {
            text-align: center;
            font-weight: 600;
            font-size: 13px;
            color: var(--text-dark);
            padding: 10px;
            background: transparent;
        }

        .schedule-table td {
            text-align: center;
            padding: 0;
        }

        .time-label {
            font-size: 13px;
            color: var(--text-muted);
            font-weight: 500;
            text-align: left;
            padding-left: 0;
        }

        .time-slot {
            /* width: 50px; */
            height: 50px;
            border-radius: 8px;
            border: none;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
            background: white;
                color: #a09f9f;
            margin: 0 auto;
        }

        .time-slot.available {
            background-color: #FFEE58;
            color: var(--text-dark);
        }

        .time-slot.available:hover {
            transform: translateZ(0) scale(1.1);
            box-shadow: 0 4px 12px rgba(255, 197, 66, 0.4);
        }

        .time-slot i {
            font-size: 16px;
        }

        /* Legend */
        .schedule-legend {
            display: flex;
            gap: 20px;
            margin-top: 20px;
            justify-content: center;
            font-size: 13px;
        }

        .legend-item {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .legend-color {
            width: 20px;
            height: 20px;
            border-radius: 5px;
        }

        .legend-color.available {
            background-color: #FFEE58;
        }

        .legend-color.unavailable {
            background-color: var(--slot-unavailable);
        }

        /* Action Buttons */
       .action-buttons  {
            display: flex;
            gap: 15px;
            margin-top: 30px;
            
        }
          .actions-buttons  {
            display: flex;
            gap: 15px;
            margin-top: 30px;
            
        }
        .form-actions-shedule {
        display: flex;
        justify-content: space-between; /* Left & right alignment */
        align-items: center;
        margin-top: 20px;
        }
        .left-buttons {
        display: flex;
        gap: 10px; /* Space between left buttons */
        }


        .btn-copy, .btn-reset {
        background-color: #f2f2f2;
        border: 1px solid #ccc;
        padding: 8px 14px;
        border-radius: 4px;
        cursor: pointer;
        font-weight: normal;

        }
                .btn-copy i, .btn-reset i {
        margin-right: 5px;
        }

        .btn-primary-schedule {
        background-color: #f8c82a; 
        border: none;
        padding: 8px 16px;
        border-radius: 4px;
        color: #999;
        cursor: pointer;
        font-weight: normal;
        }


        .btn-copy {
            background-color: white;
            color: var(--text-dark);
            /* border: 1px solid var(--border-color); */
        }

        .btn-copy:hover {
            background-color: #F8F9FA;
        }

        .btn-reset {
            background-color: white;
            color: var(--text-dark);
            border: 1px solid var(--border-color);
        }

        .btn-reset:hover {
            background-color: #F8F9FA;
        }

        .btn-next {
            padding: 12px 40px;
            border-radius: 25px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            border: none;
            background-color: var(--primary-yellow);
            color: var(--text-dark);
            margin-left: auto;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .btn-next:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(255, 197, 66, 0.4);
        }
        /* Responsive */
        @media (max-width: 768px) {
            .schedule-table {
                font-size: 12px;
                border-spacing: 4px;
            }

            .time-slot {
                width: 40px;
                height: 40px;
            }

            .action-buttons {
                /* flex-direction: column; */
                flex-direction: unset;
            }
            .actions-buttons {
                flex-direction: column;
                /* flex-direction: unset; */
            }

            .btn-next {
                margin-left: 0;
            }

            .schedule-table th {
                font-size: 11px;
                padding: 5px;
            }
        }

        /* Toast */
        .toast-notification {
            position: fixed;
            top: 80px;
            right: 20px;
            background: white;
            padding: 15px 20px;
            border-radius: 10px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
            display: flex;
            align-items: center;
            gap: 10px;
            z-index: 1000;
            animation: slideInRight 0.3s ease;
        }

        @keyframes slideInRight {
            from {
                transform: translateX(400px);
                opacity: 0;
            }
            to {
                transform: translateX(0);
                opacity: 1;
            }
        }

        .toast-notification.success {
            border-left: 4px solid #28A745;
        }

/*  real estate availability & Schedule form  end */

/*  real estate preview  form  start */
/* .tips-card-preview {
    background: #cbe5ff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-top: 20px;
    border: 1px solid #186cda;
} */
 /* ===== Tips Box Container ===== */
.tips-box-preview {
    background-color: #F0F6FF; /* light info blue */
    border-radius: 10px;
    padding: 16px 20px;
    width: 100%;
    max-width: 340px;
    /* font-family: "Inter", sans-serif; */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

/* ===== Header ===== */
.tips-header-preview {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #1E40AF; /* dark blue text */
    margin-bottom: 10px;
}

.tip-icon-preview {
    background: #2563EB; /* solid blue circle */
    color: #fff;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-right: 8px;
}

.tip-title {
    font-size: 15px;
    color: #1E40AF;
}

/* ===== Tips List ===== */
.tips-list {
    list-style: disc;
    padding-left: 25px;
    color: #1E40AF;
}

.tips-list li {
    font-size: 14px;
    color: #1E40AF;
    margin-bottom: 6px;
    line-height: 1.5;
}

.tips-list li:hover {
    color: #2563EB; /* brighter blue on hover */
    transition: color 0.3s ease;
}

 .tips-card-preview-form {
    background: #F0F6FF;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-top: 20px;
    text-align: left;
    color: #2563EB;
}
     .skills-title-preview {
            font-size: 16px;
            font-weight: 500;
            color: #1a1a1a;
            margin-bottom: 10px;
            text-align: left;
        }
        .what-you-get {
  /* font-family: Arial, sans-serif; */
  font-size: 14px;
  color: #333;
  /* background: #f9f9f9; */
  border-radius: 6px;
  /* padding: 12px 16px; */
  width: 300px; /* adjust as needed */
      text-align: left;
}

.what-you-get h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.what-you-get ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.what-you-get li {
  padding: 3px 0px 0px 25px;

  color: #555;
}
/*  real estate availability form  end */

/*  sevices location form  start */

        h2.post-title {
    /* text-align: left !important; */
    margin: 0;
    font-size: 26px;
    /* font-weight: 600; */
    color: #1a1a1a;
    /* display: inline-block; */
    text-align: left;
}
       
        .profile-icon {
            width: 40px;
            height: 40px;
            background: var(--dark-gray);
            border-radius: 50%;
            overflow: hidden;
        }
        
        .profile-icon img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .service-main-container {
            max-width: 1200px;
            margin: 2rem auto;
            padding: 0 1rem;
        }
        
        /* .progress-header {
            text-align: center;
            margin-bottom: 2rem;
        }
        
        .progress-header h2 {
            color: var(--dark-gray);
            margin-bottom: 1rem;
        } */
          .progress-header {   max-width: 1200px;
        margin: auto;
        /* background: #fffef7;
        border-radius: 16px;
        padding: 30px 40px 40px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.05);*/
        position: relative; 
        padding: 30px 40px 40px;
    }
     .progress-header-buy-sell {   max-width: 1200px;
        margin: auto;
        /* background: #fffef7;
        border-radius: 16px;
        padding: 30px 40px 40px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.05);*/
        position: relative; 
        padding: 25px 198px 25px;
    }

    .progress-header h2 {
        margin: 0;
        font-size: 24px;
        font-weight: 500;
        color: #1a1a1a;
        /* display: inline-block; */
        text-align: left;
    }
        
        /* .progress-bar-custom {
            height: 8px;
            background: #E0E0E0;
            border-radius: 10px;
            overflow: hidden;
            margin-bottom: 0.5rem;
        } */
         .progress-bar-custom {
        position: relative;
        height: 8px;
        width: 100%;
        background-color: #eee;
        border-radius: 10px;
        overflow: hidden;
        margin-top: 25px;
        margin-bottom: 20px;
    }
        
        /* .progress-fill {
            height: 100%;
            background: var(--primary-yellow);
            border-radius: 10px;
            transition: width 0.5s ease;
        } */
            .progress-fill {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 75%; /* Step 3 of 4 = 75% */
        background-color: #f6c23e;
        border-radius: 10px;
        transition: width 0.4s ease-in-out;
    }
        /* .step-info {
            display: flex;
            justify-content: space-between;
            font-size: 0.85rem;
            color: #666;
        } */
            .step-info {
        position: absolute;
        top: 35px;
        right: 40px;
        font-size: 16px;
        color: #6b6b6b;
    }
     
        
        .section-services-title {
            font-size: 16px;
            font-weight: 500;
            color: var(--dark-gray);
            margin-bottom: 0.5rem;
            text-align: left;
        }
        .form-service-label{
            font-size: 16px;
            font-weight: 500;
            color: var(--dark-gray);
            margin-bottom: 0.5rem;
            text-align: left;
        }
        
        .section-subtitle {
            color: #999;
            font-size: 12px;
            margin-bottom: 2rem;
             text-align: left;
        }
        
        /* .form-label {
            font-size: 0.9rem;
            font-weight: 600;
            color: var(--dark-gray);
            margin-bottom: 0.5rem;
             text-align: left;
        } */
         .form-label {
        display: block !important;
        text-align: left !important;
        /* font-weight: 500; */
        color: #999;
        margin-bottom: 6px;
        font-size: 14px;
            /* font-weight: 500;*/
}

/* Optional: Make selects and inputs full width & consistent */
.form-control,
.form-select {
  width: 100%;
  border-radius: 8px;
}
        
        .form-sublabel {
            font-size: 14px;
            color: #000000;
            margin-bottom: 0.8rem;
             text-align: left;
        }
        p.text-muted {
            text-align: left;
                /* align-items: center;
                    color: gray !important; */
                        font-size: 14px;
        }
         p.text-muted-product {
             align-items: center;
                    color: gray !important;
                    font-size: 12px;
         }
        .form-control, .form-select {
            border: 1px solid #E0E0E0;
            border-radius: 8px;
            padding: 0.7rem;
            font-size: 0.9rem;
            transition: all 0.3s ease;
        }
        
        .form-control:focus, .form-select:focus {
            border-color: var(--primary-yellow);
            box-shadow: 0 0 0 0.2rem rgba(255, 208, 79, 0.25);
        }
        
        .toggle-section {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
            background: #8080801c;
            padding: 10px;
            border-radius: 12px;
        }
        
        .toggle-switch {
            position: relative;
            width: 50px;
            height: 26px;
        }
        
        .toggle-switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }
        
        .toggle-slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: #ccc;
            transition: 0.4s;
            border-radius: 34px;
        }
        
        .toggle-slider:before {
            position: absolute;
            content: "";
            height: 20px;
            width: 20px;
            left: 3px;
            bottom: 3px;
            background-color: white;
            transition: 0.4s;
            border-radius: 50%;
        }
        
        input:checked + .toggle-slider {
            background: #ffee58;
        }
        
        input:checked + .toggle-slider:before {
            transform: translateX(24px);
        }
        
        .map-preview {
            border: 1px solid #E0E0E0;
            border-radius: 10px;
            overflow: hidden;
            margin-top: 1rem;
            height: 200px;
            background: #f5f5f5;
            position: relative;
        }
        
        .map-preview img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .map-instruction {
            text-align: center;
            font-size: 0.8rem;
            color: #999;
            margin-top: 0.5rem;
        }
        
        /* .contact-options {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
        }
        
        .contact-option {
            flex: 1;
            min-width: 150px;
            border: 2px solid #E0E0E0;
            border-radius: 10px;
            padding: 1rem;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
            background: white;
        }
        
        .contact-option:hover {
            border-color: var(--primary-yellow);
            transform: translateY(-2px);
        }
        
        .contact-option input[type="radio"] {
            display: none;
        }
        
        .contact-option input[type="radio"]:checked + label {
            color: var(--primary-yellow);
        }
        
        .contact-option.selected {
            border-color: var(--primary-yellow);
            background: #FFFBF0;
        }
        
        .contact-icon {
            font-size: 1.5rem;
            margin-bottom: 0.5rem;
            color: var(--primary-yellow);
        } */
         .contact-options {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-start;
}
        .contact-option {
    position: relative;
    flex: 1;
    min-width: 200px;
    border: 1px solid #dcdcdc;
    border-radius: 10px;
    padding: 12px 16px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-option label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 17px;
    /* font-weight: 500; */
    color: #333;
    cursor: pointer;
}

.contact-option input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 2px solid #ccc;
    border-radius: 50%;
    width: 19px;
    height: 19px;
    position: relative;
    margin-right: 10px;
    outline: none;
    cursor: pointer;
    transition: 0.3s ease;

}

.contact-option input[type="radio"]:checked {
    border-color: #FFD54F;
    box-shadow: 0 0 0 3px rgba(255, 213, 79, 0.2);
}

.contact-option input[type="radio"]:checked::before {
       content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 7px;
    height: 7px;
    background-color: #FFD54F;
    border-radius: 50%;
}

.contact-option i {
    font-size: 16px;
    color: #999;
    transition: color 0.3s ease;
}

/* When selected */
.contact-option.selected {
    /* border-color: #FFD54F; */
    /* background-color: #FFFBEA; */
}

.contact-option.selected i {
    color: #FFD54F;
}

.contact-option:hover {
    border-color: #FFD54F;
    box-shadow: 0 0 4px rgba(255, 213, 79, 0.4);
}
.contact-option label i {
    font-size: 18px;
    color: #FFD54F;
    margin-right: 8px;
    transition: color 0.3s ease;
}

.contact-option.selected label i {
    color: #FFD54F; /* your yellow accent */
}

        .form-actions {
            display: flex; 
            justify-content: flex-end;
            margin-top: 2rem;
            gap: 1rem;
            text-align: right;
        }
        
        /* .btn-back {
            background: transparent;
            border: 2px solid var(--dark-gray);
            color: var(--dark-gray);
            padding: 0.7rem 2rem;
            border-radius: 25px;
            font-weight: 600;
            transition: all 0.3s ease;
        } */
        
        .btn-back:hover {
            background: var(--dark-gray);
            color: white;
        }
        
        .btn-continue {
            background: var(--primary-yellow);
            border: none;
            color: var(--dark-gray);
            padding: 0.7rem 2.5rem;
            border-radius: 25px;
            font-weight: 600;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(255, 208, 79, 0.4);
        }
        
        .btn-continue:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(255, 208, 79, 0.6);
        }
        
        .map-marker {
            position: absolute;
            width: 30px;
            height: 30px;
            background: #FF4444;
            border-radius: 50% 50% 50% 0;
            transform: rotate(-45deg);
            border: 3px solid white;
            box-shadow: 0 2px 10px rgba(0,0,0,0.3);
        }
        
        @media (max-width: 768px) {
            .form-card {
                padding: 1.5rem;
            }
            
            .contact-options {
                flex-direction: column;
            }
            
            .form-actions {
                flex-direction: column-reverse;
            }
            
            .btn-back, .btn-continue {
                width: 100%;
            }
        }
        
    @media (max-width: 600px) {
        .progress-header {
            padding: 20px;
        }
        .progress-header h2 {
            font-size: 14px;
        }
        .step-info {
            font-size: 10px;
            top: 25px;
            right: 20px;
        }
        .progress-bar-custom {
        
        margin-top: 8px;
        margin-bottom: 9px;
    }
    .section-services-title{
         font-size: 12px;
    }
   p.section-subtitle{
         font-size: 10px;
    }
        .steps {
            font-size: 13px;
        }
    }
/*  sevices location form  start */


/*  sevices product form  start */
/* Rating wrapper */
.rating-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
}

/* Rounded yellow pill */
.rating-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #ffee58;
    padding: 0px 7px;
    border-radius: 30px;
}

/* Star icon */
.rating-pill i {
    color: white; /* soft yellow like screenshot */
    font-size: 14px;
}

/* Rating number */
.rating-number {
    font-size: 14px;
    font-weight: 500;
    color: #000;
}

/* Reviews text */
.reviews {
    font-size: 15px;
    color: #777;
}
.service-price {
    font-size: 24px;
    font-weight: 500;
    color: #ffe600;
    text-shadow: none;
    margin: 6px 0;
}
.service-price span {
    font-size: 16px;
    font-weight: 500;
    color: #777; /* Light gray */
    margin-left: 2px;
}
span {
    font-size: 12px;
    /* font-weight: 500; */
}
.swal2-popup span {
    font-size: inherit !important;
}

.swal2-x-mark span {
    font-size: initial !important;
}

.form-header-services.mb-4
 {
    text-align: left;
}
span.tag-style.me-1 {
    background-color: #e4e4e4;
    border-radius: 20px;
    color: #ecd251;
    padding: 5px;
    border: 1px solid #8080809e;
    font-weight: normal;
}
/*  sevices product form   end */

/* Latest Listings - White Background */
.listings-section {
    background: white;
    padding: 55px 40px 70px;
}

.listings-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 35px;
}

.right-controls {
    display: flex;
    gap: 7px;
    align-items: center;
}

.view-options {
    display: flex;
    gap: 8px;
}

.view-option {
    width: 42px;
    height: 42px;
    background: white;
    border: 2px solid #E5E5E5;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    color: #1a1a1a;
}

.view-option.active {
    background: #1a1a1a;
    color: white;
    border-color: #1a1a1a;
}

.products-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.product-box {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
}

.product-pic {
    width: 100%;
    height: 220px;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-pic img {
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
}

.product-details {
    padding: 22px;
}

.product-name {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.product-cost {
    font-size: 21px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.product-info-row {
    display: flex;
    gap: 18px;
    margin-bottom: 18px;
    font-size: 12px;
    color: #666;
}

.product-info-row span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.seller-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 18px;
    border-top: 1px solid #E5E5E5;
}

.seller-pic {
    width: 40px;
    height: 40px;
    background: #FDB913;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    color: #1a1a1a;
    flex-shrink: 0;
}

.seller-data {
    flex: 1;
}

.seller-title {
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 3px;
}

.seller-active {
    font-size: 11px;
    color: #22C55E;
    display: flex;
    align-items: center;
    gap: 4px;
}

.active-dot {
    width: 7px;
    height: 7px;
    background: #22C55E;
    border-radius: 50%;
}

.contact-btn {
    background: #FDB913;
    border: none;
    padding: 9px 22px;
    border-radius: 18px;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    color: #1a1a1a;
    flex-shrink: 0;
}

.load-more-btn {
    background: #FDB913;
    border: none;
    padding: 14px 48px;
    border-radius: 28px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    margin: 45px auto 0;
    color: #1a1a1a;
}


/* Parth CSS 04/11/2025 */
.featured-section {
    padding: 30px 0;
  }

  .section-title {
    font-weight: 700;
    font-size: 32px;
    color: #212529;
    /* padding-left: 171px; */
    text-align:center;
  }

  .section-desc {
    color: #6c757d;
    font-size: 16px;
    /* padding-left: 171px; */
    text-align:center;
  }

  /* Tabs styling */
  .filter-tabs {
    display: flex;
    gap: 6px;
    justify-content: flex-start;
    align-items: center;
    margin-top: 0px;
    flex-wrap: wrap;
    margin-left: auto;
  }

  .filter-tab {
    border: none;
    background: none;
    font-size: 16px;
    font-weight: 500;
    color: #212529;
    cursor: pointer;
    transition: 0.3s;
    position: relative;
  }

  .filter-tab.active {
    color: #000;
    font-weight: 600;
    border-radius: 12px;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    -ms-border-radius: 12px;
    -o-border-radius: 12px;
}

  .filter-tab.active::after {
    display: none;
  }

  /* Carousel wrapper */
  .carousel-container {
    position: relative;
    /* overflow: hidden; */
    margin-top: 30px;
  }

  .services-slider {
    display: flex;
    gap: 25px;
    scroll-behavior: smooth;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .services-slider::-webkit-scrollbar {
    display: none;
  }

  .service-card {
    flex: 0 0 350px;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
  }

  .service-card:hover {
    /* transform: translateY(-4px); */
  }

  .service-pic {
    width: 100%;
    height: 220px;
    object-fit: cover;
  }

  .service-info {
    padding: 20px;
  }

  .service-info h5 {
    font-weight: 600;
    font-size: 16px;
    color: #212529;
  }

  .service-info p {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 15px;
  }
@media (max-width: 768px) {
    .service-info h5 {
        font-size: 10px;
        font-weight: 400;
        font-size: 10px;
        text-align: center;
    }
    .service-info p {
        font-size: 10px;
        margin-bottom: 2px;
    }
    .filter-header-home {
        padding: 0px;
    }
}
  .price-book {
    /* display: flex; */
    justify-content: space-between;
    align-items: center;
    text-align: end;
  }

/* For RTL layouts */
[dir="rtl"] .price-book {
    text-align: left;
}
  .price {
    font-weight: 500;
    font-size: 16px;
  }

  .book-btn {
    background: #ffcc00;
    background: #FFEE58;
    border: none;
    border-radius: 30px;
    padding: 8px 18px;
    font-weight: 500;
    font-size: 14px;
    color: #000;
    transition: 0.3s;
  }

  .book-btn:hover {
    background: #e6b800;
  }
.fw-bold {
    font-weight: 500 !important;
    font-size: 24px;
}
.section-title-featured{
     font-weight: 500 !important;
    font-size: 24px;
}
  /* Arrows */
  .arrow-btn {
    position: absolute;
    top: 50%;
    background: #F8F8F8;
    transform: translateY(-50%);
    /* background: #ffcc00; */
    border: none;
    width: 75px;
    height: 66px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 47px;
    color: #ffcc00;
    transition: 0.3s;
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */
    z-index: 10;
  }

[dir="rtl"] #prevBtn {
    /* right: 10px;
    left: auto; */
        left: 100%;
}

[dir="rtl"] #nextBtn {
    /* left: 10px;  
    right: auto; */
    right: 100%;
}

  .arrow-btn:hover {
    background: #e6b800;
  }
  .arrow-left {
    left: -87px;
  }

  .arrow-right {
    right: -90px;
  }

  @media (max-width: 1024px) {
    .service-card {
      flex: 0 0 80%;
    }

    .arrow-btn {
      display: none !important;
    }
  }

  /* buy sell detail page start*/
  div#listing-container {
    /* padding: 0px 64px 0px 64px; */
}
    section.detail-section {
          background: linear-gradient(180deg, #FFEE58 31.11%, rgba(255, 255, 255, 0) 50%);
    /* padding: 45px 40px 70px; */
    /* text-align: center; */
    margin: 12px;
    margin-top: 6px;
}
      /* Sort Dropdown */
.sort-select {
    background-color: transparent;
    font-size: 16px;
    color: #333;
    padding: 8px 0px;
    border-radius: 16px;
    outline: none;
    text-align: center;

}
/* Toggle Switch */
.boost-toggle {
  display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    /* margin-left: 42%; */
}

.boost-toggle input {
    display: none;
}
.boost-toggle .slider::before {
    content: "";
    position: absolute;
    top: 3px;
    right: 3px;          /* RTL start position */
    width: 18px;
    height: 18px;
    background: #000;
    border-radius: 50%;
    transition: transform 0.3s ease;
}
.slider {
       width: 49px;
    height: 24px;
    /* background: #c7c7c7; */
    background: #fff;
    box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.25);
    border-radius: 20px;
    position: relative;
    transition: 0.3s;
    margin-right: 6px;
}

.slider::before {
    content: "";
    position: absolute;
    width: 24px;
    height: 24px;
    left: 4px;
    top: 3px;
    /* background: #fff; */
    background: #000;
    border-radius: 50%;
    transition: 0.3s;
}

.boost-toggle input:checked + .slider {
    background: #FFEE58;
}

.boost-toggle input:checked + .slider::before {
    transform: translateX(18px);
}
        .filter-divider {
    width: 100%;
    border-bottom: 2px solid #37657042;
    margin-top: 12px;   /* spacing above line */
}
/* .filter-header::after{
    content: "";
    position: absolute;
    border: 1px solid #37657042;
    width: 82.4%;
    margin-top: 70px;
} */
.label-text {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}
  .reviews-card {
  background: #fff;
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.review-title {
  font-size: 20px;
  font-weight: 600;
  color: #000;
  margin-bottom: 18px;
}

/* Each review block */
.review-items {
  display: flex;
  align-items: flex-start;
  background: #f2f1f1;
  border-radius: 14px;
  padding: 15px 20px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.review-stars i {
  color: #FFD700;
  margin-right: 2px;
  font-size: 16px;
}

/* Hover effects */
.review-item:hover {
  background: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  transition: 0.3s ease;
}
/* Profile Image */
.review-avatars {
  flex-shrink: 0;
}
.profile-pic {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
}

/* Review text */
.review-contents p {
  color: #444;
  font-size: 15px;
  margin-bottom: 8px;
  line-height: 1.4;
}
.spec-title {
  font-weight: 600;
  color: #000;
  margin-bottom: 15px;
}

/* Wrapper grid */
.spec-table {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 20px;
  margin-top: 10px;
}

/* Each box */
.spec-rows {
  background: #f7f7f7;
  border-radius: 19px;
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Text styles */
.spec-label {
  color: #555;
  font-weight: 500;
  font-size: 15px;
}

.spec-value {
  color: #999;
  font-weight: 500;
  font-size: 15px;
}

/* Responsive grid for mobile */
@media (max-width: 576px) {
  .spec-table {
    grid-template-columns: 1fr;
  }
}

  .back-btn {
            background: none;
            border: none;
            color: var(--text-dark);
            font-size: 16px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 20px;
            padding: 0;
        }

        .back-btn:hover {
            opacity: 0.7;
        }

        .main-container {
            max-width: 1200px;
            margin: 0 auto;
        }

      .product-card {
    background: var(--card-bg);
    border-radius: 24px;
    /*padding: 20px;
    */width: 357px;
    /*border: 1px solid gray;
    */box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    -webkit-border-radius: 24px;
    -moz-border-radius: 24px;
    -ms-border-radius: 24px;
    -o-border-radius: 24px;
}
.product-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

        .product-image-main {
            width: 100%;
            border-radius: 15px;
            overflow: hidden;
            margin-bottom: 15px;
        }

        .product-image-main img {
            width: 100%;
            height: auto;
            object-fit: cover;
        }

        .thumbnail-container {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }

        .thumbnail {
            width: 70px;
            height: 70px;
            border-radius: 10px;
            overflow: hidden;
            cursor: pointer;
            border: 2px solid transparent;
            transition: border-color 0.3s;
        }

        .thumbnail:hover {
            border-color: var(--primary-color);
        }

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

        .price-section h2 {
            font-size: 32px;
            font-weight: bold;
            margin: 0;
        }

        .original-price {
            text-decoration: line-through;
            color: var(--text-muted);
            font-size: 18px;
            margin-left: 10px;
        }

        .rating {
            display: flex;
            align-items: center;
            gap: 5px;
            margin: 10px 0;
        }

        .rating i {
            color: #FFD700;
        }

        .info-item {
            display: flex;
            align-items: center;
            gap: 4px;
            color: var(--text-muted);
            margin: 8px 0;
            float: right;
        }

        .seller-card {
            /* background: var(--card-bg); */
            border-radius: 15px;
            padding: 20px;
            margin-bottom: 20px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.2);
            background: white;
        }

        .seller-info {
            display: flex;
            align-items: center;
            gap: 15px;
            margin: 12px;
        }

        .seller-avatar {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        }

        .seller-details h6 {
            margin: 0;
            font-weight: 600;
        }

        .seller-rating {
            display: flex;
            align-items: center;
            gap: 5px;
            font-size: 14px;
        }

        .seller-rating i {
            color: #FFD700;
        }

        .member-since {
            color: var(--text-muted);
            font-size: 14px;
            margin-top: 10px;
            color:gray;
        }

        .btn-contact, .btn-call {
            width: 100%;
            padding: 12px;
            border-radius: 25px;
            border: none;
            font-size: 16px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s;
            margin-bottom: 10px;
        }

        .btn-contact {
            background-color: var(--primary-color);
            color: #55555A;
            background-color: #FFEE58;
            font-weight: 500;

        }
        ul.service-list {
            color: gray;
        }
        .service-disc{
            color: gray;
        }
        .btn-contact:hover {
            background-color: #FFD044;
        }

        .btn-call {
        background-color: white;
        color: #6E8C94;
        border: 1px solid #6E8C94;
        }

        /* .btn-call:hover {
            background-color: #f8f9fa;
        } */

        .description-card, .reviews-card {
            /* background: var(--card-bg); */
            border-radius: 15px;
            padding: 20px;
            margin-bottom: 20px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.2);
            background: white;
        }

        .description-card h5, .reviews-card h5 {
            font-weight: 600;
            margin-bottom: 15px;
        }

        .spec-table {
            width: 100%;
            margin-top: 20px;
        }

        .spec-row {
            display: flex;
            justify-content: space-between;
            padding: 12px 0;
            border-bottom: 1px solid #f0f0f0;
        }

        .spec-label {
            color: var(--text-muted);
            font-weight: 500;
        }

        .spec-value {
            color: var(--text-dark);
            font-weight: 400;
        }

        .review-item {
            display: flex;
            gap: 15px;
            padding: 15px 0;
            border-bottom: 1px solid #f0f0f0;
        }

        .review-item:last-child {
            border-bottom: none;
        }

        .review-avatar {
            width: 45px;
            height: 45px;
            border-radius: 50%;
            background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
            flex-shrink: 0;
        }

        .review-content p {
            margin: 5px 0;
            font-size: 14px;
            color: gray;
        }

        .review-stars {
            color: #FFD700;
            font-size: 14px;
        }
 /* CSS */
.product-header-buy-sell {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.product-title-buy-sell {
  font-size: 16px;
  font-weight: 500;
  color: #111827;
  margin: 0;
  padding-right: 12px;
  line-height: 1.2;
  flex: 1;
  text-align: left;
 overflow-wrap: anywhere;
}

.product-price-buy-sell {
  text-align: right;
  min-width: 120px; /* keep space for price */
}

.price-amount-buy-sell {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  line-height: 1;
}

/* Meta row layout: left tags, right small label */
.product-meta-buy-sell {
  display: flex;
  justify-content: space-between;
  align-items: center; /* vertically center the label with tags */
  gap: 12px;
  color: #6b7280;
  font-size: 13px;
  margin-top: 6px;
}

/* left side (tags) */
.meta-left-buy-sell {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

/* each tag style */
.meta-tag-buy-sell {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #6b7280;
}

/* right side small label aligned to the same row (Fixed Price) */
.meta-right-buy-sell {
  white-space: nowrap;
  margin-left: 12px;
}

.price-label-buy-sell {
  font-size: 14px;
  color: #9ca3af;
  font-weight: 500;
}

/* responsive: if space is small, put label under tags */
@media (max-width: 520px) {
  .product-meta-buy-sell {
        /* flex-direction: column; */
        align-items: flex-start;
        gap: 6px;
        display: flex;
        justify-content: space-between;
  }
  .meta-right-buy-sell {
    margin-left: 0;
  }
}


        @media (max-width: 768px) {
            .price-section h2 {
                font-size: 24px;
            }
            
            .thumbnail {
                width: 60px;
                height: 60px;
            }
        }

  /* buy sell detail page end*/
  /* post Section */
  /* .features {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
}

.features li {
    color: #333;
    font-size: 13px;
    margin: 4px 0;
}

.features li::before {
    content: "âœ”ï¸";
    margin-right: 6px;
    color: #45c78a;
}
.post-section {
    background: white;
    padding: 52px 191px 70px;
}
.continue-btn {
    display: flex;
    justify-content: center;
    padding: 50px 0px 0px 0px;
}
p.cat-discription {
    display: flex;
    justify-content: center;
    padding: 10px 0px 0px 0px;
}
button {
    background: #f8c82a;
    border: none;
    border-radius: 6px;
    padding: 12px 30px;
    font-weight: 600;
    cursor: pointer;
    color: #333;
    transition: background 0.3s;
}

button:hover {
    background: #f8c82a;
}
.cat-post{
  padding: 20px 75px 8px 75px;
} */
 .post-section {
    background: white;
    padding: 52px 191px 33px;
}
   .categories-row {
        display: flex;
        /* flex-wrap: wrap; */
        gap: 20px;
        justify-content: center;
    }

    .cat-box {
        width: 250px;
        background: white;
        border-radius: 12px;
        padding: 20px;
        border: 2px solid #e8e8e8;
        text-align: center;
        cursor: pointer;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
        transition: all 0.3s ease;
        border: 2px solid #FFEE58;
        /* border: 2px solid transparent; */
    }

    .cat-box:hover {
        /* transform: translateY(-4px); */
        border-color: #ffd04f;
      
}

    .cat-box.active {
        border-color: #ffd04f;
        box-shadow: 0 6px 16px rgba(255, 208, 79, 0.4);
        background-color: #fffceb;
    }

    /* .cat-icon {
        font-size: 32px;
        color: #ffc107;
        margin-bottom: 10px;
    } */

    .cat-name {
        font-weight: 500;
        margin-bottom: 6px;
        color: #333;
    }

    .cat-post-posts {
        font-size: 14px;
        color: #666;
        margin-bottom: 10px;
        /* padding: 2px 36px 8px 36px; */
         white-space: normal;
    }

    .features {
        list-style: none;
        padding: 0;
        font-size: 13px;
        color: #444;
    }

    .features li::before {
        /* content: "âœ“ "; */
        color: #28a745;
        font-weight: 500;
    }

    .continue-btn {
        text-align: center;
        margin-top: 30px;
    }

    .continue-btn button {
        background: #ffd04f;
        border: none;
        padding: 10px 25px;
        font-weight: 600;
        border-radius: 6px;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .continue-btn button:hover {
        background: #ffc107;
    }

    .cat-discription {
        text-align: center;
         margin-top: 0px;
        color: #666;
    }
    button {
    background: #FFEE58;
    border: none;
    border-radius: 6px;
    padding: 12px 30px;
    font-weight: 500;
    cursor: pointer;
    color: #333;
    transition: background 0.3s;
}

button:hover {
    background: #FFEE58;
}
.cat-post{
  padding: 20px 75px 8px 75px;
} 
    /* post Section */


  .listing-section {
    padding: 0px 0;
  }
  .filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom:15px;
    padding: 0px 35px 0px 35px;
  }
  /* Sidebar filter headers / section labels reset */
  .filters-sidebar .filter-header,
  .filters-sidebar .filter-block > strong,
  .filters-sidebar .filter-block > label.fw-bold,
  .filters-sidebar .containeres > label,
  .filters-sidebar #dynamicFilterWrapper .filter-block label:not(.form-check-label),
  .filters-sidebar #dynamicFilterWrapper .filter-block strong,
  .filters-sidebar .dynamic-filter-block strong,
  .filters-sidebar .dynamic-filter-block label:not(.form-check-label) {
    display: block !important;
    text-align: left !important;
    padding: 0 !important;
    margin: 0 0 8px 0 !important;
    width: 100% !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
  }
  [dir="rtl"] .filters-sidebar .filter-header,
  [dir="rtl"] .filters-sidebar .filter-block > strong,
  [dir="rtl"] .filters-sidebar .filter-block > label.fw-bold,
  [dir="rtl"] .filters-sidebar .containeres > label,
  [dir="rtl"] .filters-sidebar #dynamicFilterWrapper .filter-block label:not(.form-check-label),
  [dir="rtl"] .filters-sidebar #dynamicFilterWrapper .filter-block strong,
  [dir="rtl"] .filters-sidebar .dynamic-filter-block strong,
  [dir="rtl"] .filters-sidebar .dynamic-filter-block label:not(.form-check-label) {
    text-align: right !important;
  }
   .filter-tabs-mt-3 {
        display: flex;
    gap: 6px;
    justify-content: flex-start;
    align-items: center;
    margin-top: 0px;
    flex-wrap: wrap;
    /* margin-left: 38%; */
   }
  
  /* .filter-tabs {
    display: flex;
    align-items: center;
    gap: 25px;
  } */
  .tab-button {
    border: none;
    background: none;
    font-weight: 500;
    color: #444;
    font-size: 17px;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  .tab-button.active {
    background: #FFD700;
    border-radius: 50px;
    padding: 6px 18px;
    color: #000;
  }
  .view-toggle {
    display: flex;
    align-items: center;
    background: #d9dee3;
    border-radius: 12px;
    padding: 4px;
    margin-left: 6px;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    -ms-border-radius: 12px;
    -o-border-radius: 12px;
}
  .view-toggle button {
    background: transparent;
    border: none;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 18px;
    color: #444;
    transition: all 0.3s ease;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    -ms-border-radius: 12px;
    -o-border-radius: 12px;
}
  .view-toggle button.active {
    background: #fff;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
  }

  /* Listing Cards */
  .listing-card {
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
  }
  .listing-card:hover {
    transform: translateY(-5px);
  }
  .listing-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
  }
  .listing-info {
    padding: 15px;
    text-align: start;
  }
  .price {
    font-weight: 500;
    font-size: 16px;
  }
  .meta-loc {
    background-color: #3765701A;
    color: #666;
    font-size: 14px;
    padding: 10px;
    border-radius: 10px;
  }
  .contact-btn {
    background: #FFD700;
    border: none;
    border-radius: 25px;
    font-weight: 500;
    font-size: 16px;
    padding: 5px 15px;
  }
  .load-more {
    background: #FFEE58;
    border: none;
    border-radius: 20px;
    padding: 10px 25px;
    font-size: 16px;
    font-weight: 500;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
}
  .product-preview-card {
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
  }
  .product-preview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);
  }
  .product-preview-card img {
    /* width: 100%; */
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    /* height: 220px; */
    object-fit: cover;
  }
  .product-preview-body {
    padding: 15px;
  }
  .product-preview-body h5 {
    font-weight: 600;
  }
  .product-preview-body h4 {
    font-weight: 700;
    color: #333;
  }
  .info-box {
    background: #f1f5f9;
    border-radius: 8px;
    padding: 8px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #555;
    width: 100%;
  }
 .info-item .text-truncate {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    word-break: break-word;
}
  .info-item i {
    color: #ffee58; /* yellow */
    font-size: 14px;
    }
    /* span {
        font-size: 16px;
    } */
    .product-body {
        padding: 8px 14px 4px 14px;
    }

  /* .info-box i {
    color: #555;
    margin-right: 6px;
  } */
  .bottom-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 14px 10px 14px;
    border-top: 1px solid #f0f0f0;
    background: #fff;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
  }

  .seller-info {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .seller-information {
    border-top: 1px solid #d0d0d0;
    padding: 12px 9px 0px 12px;
    color: #FDB913;
}
.seller-details {
    text-align: left;
    gap: 12px;
}
  .seller-avatar {
    background: #FFEE58;
    color: #000;
    font-weight: 500;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .contact-btn {
    /*background: #FFD044;
    */background: #FFEE58;
    border: none;
    border-radius: 20px;
    padding: 4px 11px;
    font-weight: 500;
    font-size: 14px;
    transition: 0.3s;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -ms-transition: 0.3s;
    -o-transition: 0.3s;
}
  .contact-btn:hover {
    background: #f1c40f;
  }
  /* Responsive */
  @media (max-width: 768px) {
    span.tip-name {
        font-size: 10px;
    }
    .filter-header {
        gap: 8px;
        padding: 0px 0px 0px 5px !important;
        margin-bottom: 8px;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
    }
    .left-info {
        padding-left: 9px;
    }
    .boost-toggle{
        margin-left: 0;
    }
    .filter-tabs {
      gap: 6px;
      margin-left: 0;
              margin-bottom: 6px;
      flex-wrap: unset;
      /* overflow: scroll; */
    }
     .filter-tabs-mt-3{
        gap: 6px;
        margin-left: 0;
                margin-bottom: 6px;
      flex-wrap: unset;
      /* overflow: scroll; */
    }
  }
/* Parth CSS 04/11/2025 */

 /* Footer - Yellow Background with Wave */
 .footer-section {
  background: #FFEE58;
  padding: 55px 0 25px;
  position: relative;
  margin: 12px;
  margin-top: 110px;
  border-bottom-left-radius: 25px;
  border-bottom-right-radius: 25px;
}

.footer-wave {
  position: absolute;
  top: -98px;
  /* Adjust wave height */
  left: 0;
  width: 100%;
  height: 100px;
  overflow: hidden;
}


.footer-grid {
  max-width: 1900px;
  margin: 0 auto;
  padding: 0 16px 0 31px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  box-sizing: border-box;
}

    .footer-logo-area {
    display: flex;
    align-items: center;
      gap: 8px;
  margin-bottom: 18px;
}

.footer-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}

.logo-circle {
    width: 70px;
    height: 70px;
    background: #FFEE58;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0px 14px rgba(0, 0, 0, 0.25);
}

.logo-circle img {
    width: 45px;
    height: 45px;
}

.brand-title {
    font-size: 28px;
    font-weight: 600;
    color: #2c2c2c;
    letter-spacing: 0.5px;
}


.footer-text {
  font-size: 18px;
  color: #1a1a1a;
  line-height: 1.4;
  max-width: 350px;
  font-weight: 600;
}

.footer-column h4 {
  font-size: 16px;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 18px;
}

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

.footer-list li {
  margin-bottom: 0px;
  font-size: 22px;
  color: #ad8282;
  /* font-weight: bold; */
}

.footer-list a {
  font-size: 14px;
  color: #525050;
  text-decoration: none;
  transition: opacity 0.3s;
}

.footer-list a:hover {
  opacity: 0.7;
}

.footer-bottom {
  text-align: center;
  padding-top: 25px;
  border-top: 2px solid rgba(0, 0, 0, 0.1);
}

.footer-copyright {
  font-size: 16px;
  color: #1a1a1a;
}

span.brand-name {
  font-size: 30px;
  font-weight: bold;
}

strong {
    /* font-size: 16px; */
    /* font-weight: bold; */
    /* font-family: 'Roboto', sans-serif; */
    /* font-weight: normal; */
}
.footer-column {

    /* margin-left: 96px; */
}
/* Responsive */
@media (max-width: 1200px) {
    .categories-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .fotter-colmn_left{
        flex-wrap: wrap !important;
        justify-content: space-between !important;
    }
    .hero-section-page {
        padding: 0px;
    }
      .cat-discription {
        padding: 0px;
        margin: 0px;
        font-size: 10px;
    }
    .nav-items {
        display: none;
    }

    .main-heading {
        font-size: 24px;
    }

    .categories-row {
        grid-template-columns: 1fr;
    }

    .services-row,
    .products-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .section-head,
    .listings-head {
        flex-direction: column;
        gap: 20px;
    }
}
/*mobile responsive start */
 /* Desktop Menu */
       /* .desktop-menu {
           display: flex;
           gap: 22px;
           align-items: center;
       }

       .nav-items a {
           position: relative;
           padding-bottom: 4px;
           color: #000;
           text-decoration: none;
       }

       .nav-items a.active::after {
           content: "";
           position: absolute;
           bottom: 0;
           left: 0;
           height: 2px;
           width: 100%;
           background: #000;
       }

       /* Mobile Toggle Button */
       .mobile-toggle-btn {
           display: none;
           background: none;
           border: none;
           font-size: 30px;
       }


       /* Mobile Menu /toggle menu*/
       .mobile-menu {
           display: none;
           flex-direction: column;
           background: #FFF6A7;
           padding: 8px;
           border-top: 1px solid #ccc;
       }

       .mobile-menu a {
           padding: 12px 0;
           font-size: 14px;
           color: #000;
           text-decoration: none;
           border-bottom: 1px solid #FFEE58;
       }
        .main-menu,
        .sub-menu {
            list-style: none;
            padding: 0;
            margin: 0;
        }



        .main-menu > li {
            border-bottom: 1px solid #eee;
        }

        .main-menu a {
            display: block;
            padding: 10px;
            text-decoration: none;
        }

        .sub-menu {
            /* height: auto; */
            display: none;
            /* padding-left: 15px; */
            background: #f9f9f9;
        }
.sub-title {
    font-weight: 600;
    padding: 10px 12px;
    background: #f1f1f1;
    font-size: 14px;
}
.sub-title-link {
    font-weight: 600;
    background: #f3f3f3;
}

.sub-menu .sub-menu {
    /* height: auto; */
    padding-left: 15px;
    background: #fafafa;
}

        .has-dropdown.active .sub-menu {
            display: block;
           
        }

        .mobile-post-btn {
            display: none;
        }
        i.fa.fa-angle-right.right-icon {
            float: right;
            font-size: 20px;
        }
         i.fa.fa-angle-right.right-icons {
            float: right;
          font-size: 14px;
            margin-top: 7px;
        }
        .has-dropdown.active .sub-menu {
            display: block;
        }
        .menu-link::after,
        .has-dropdown > a::after {
            content: none !important;
        }

        .menu-link {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
/* mobile toggle menu end */
        /* each side 2 items */
        .group {
            display: flex;
            flex-direction: column;
            width: 50%;
            gap: 12px;
        }

        /* center vertical line */
        .divider {
            width: 1px;
            background: #ddd;
            margin: 0 10px;
        }

        .group a {
            text-decoration: none;
            color: #222;
            font-size: 14px;
            text-align: left;
                padding-left: 8px;
            padding-bottom: 5px;
            border-bottom: 1px solid #ddd;
        }
        /* mobile toggle end */

       /* Mobile Image Box */
       .mobile-image-box {
           width: 100%;
           margin-bottom: 15px;
       }

       .mobile-image-box img {
           width: 100%;
           border-radius: 10px;
       } 
       button#shareAdBtn {
            background: white;
            color: black;
            width: 6%;
            height: 55px;
            font-size: 20px;
        }
        img.logo-img {
            width: 50px;
        }
        .chat-btn-header {
            display: flex;
            align-items: center;
            gap: 6px;
        }

        /* Icon wrapper */
        .chat-icon-wrapper {
            position: relative;
            display: inline-block;
            font-size: 16px;
        }
        span.chat-label {
            font-size: 16px;
        }
        /* Red dot */
        .notification-dot {
            position: absolute;
            top: -5px;
            right: -8px;
            min-width: 18px;
            height: 18px;
            padding: 0 4px;
            background-color: #ef4444;
            color: #ffffff;
            border-radius: 999px;
            font-size: 10px;
            font-weight: 700;
            line-height: 1;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            border: 2px solid #ffffff;
            box-sizing: border-box;
            letter-spacing: 0;
            white-space: nowrap;
        }
        small.text-success {
            font-size: 14px;
        }
       /* Responsive */
       @media (max-width: 768px) {
        .nav-items {
            display: none;
        }
    
            .main-heading {
                font-size: 17px;
            margin: 10px 0px 4px 0px;
            letter-spacing: 0px;
            gap: 3px;
            font-weight: 600;
            font-size: 18px;
        }
        .desktop-menu {
          display: none;
          }
      
          .mobile-toggle-btn {
              display: block;
          }
/* mobile toggle menu start */
          .mobile-menu {
            position: fixed;
            top: -11px;
            right: -100%;
            width: 85%;
            height: 100%;
            background: #ffffff;
            border: 2px solid #ffda6b;
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
            display: flex;
            flex-direction: column;
            z-index: 999999;
            transition: right 0.3s ease-in-out;
            margin-top: 11px;
          }
          .mobile-menu.active {
              right: 0;
          }
          .fa-angle-right:before {
            content: "\f105";
            color: #FFEE58;
        }
          .menu-dropdown .dropdown-menu {
                display: none;
                padding-left: 15px;
            }

            .menu-dropdown.active .dropdown-menu {
                display: block;
            }

            .dropdown-toggle {
                /* font-weight: 600; */
                cursor: pointer;
            }

            .mobile-post-btn {
                display: inline-flex;
                align-items: center;
                margin-left: auto;
                margin-right: 10px;
                flex-shrink: 0;
            }

            .mobile-post-btn a.post-ad-btn {
                height: 32px;
                width: auto;
                background: #FFEE58;
                color: #000;
                border-radius: 999px;
                font-size: 11.5px;
                font-weight: 700;
                display: inline-flex;
                align-items: center;
                justify-content: center;
                gap: 4px;
                padding: 5px 12px 5px 6px;
                text-decoration: none;
                white-space: nowrap;
                line-height: 1;
                box-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
                transition: all 0.2s ease;
                box-sizing: border-box;
            }

            .mobile-post-btn a.post-ad-btn:hover,
            .mobile-post-btn a.post-ad-btn:focus {
                background: #FFD54F;
                color: #000;
                box-shadow: 0 3px 14px rgba(0, 0, 0, 0.45);
            }

            .mobile-post-btn a.post-ad-btn .plus-icon {
                width: 20px;
                height: 20px;
                min-width: 20px;
                min-height: 20px;
                background: #000;
                color: #fff;
                border-radius: 50%;
                display: inline-flex;
                align-items: center;
                justify-content: center;
                margin: 0;
                padding: 0;
                box-sizing: border-box;
                flex-shrink: 0;
            }

            .mobile-post-btn a.post-ad-btn .plus-icon .plus-text {
                font-style: normal;
                font-size: 14px;
                font-weight: 700;
                line-height: 1;
                color: #fff;
                position: relative;
                top: -1px;
                margin: 0;
            }
/* mobile toggle menu end */
    /* Align with menu toggle button */
        .navbar-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
          .navbar-content {
              justify-content: space-between;
              width: 100%;
          }
          .footer-grid {
            grid-template-columns: 1fr;
            gap: 30px;
        }
        .product-card{
            width: auto;
        }
        .product-card img{
            width: 100%;
        }
        .hero-section{
            padding: 45px 20px 70px;
        }
        .service-info.row{
            flex-direction: column;
            /* width: 100%; */
        }
        .service-info.row .col-6{
            width: 100%;
        }
        .service-info.row .price-book.col-5{
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .service-info.row .price-book.col-5 .book-btn.mt-4{
            margin-top: 0 !important;
        }
            .info-box {
        width: auto;
        height: auto;
        margin: 3px 0px 0px 0px;
        display: grid;
        gap: 5px;
        grid-template-columns: repeat(1, 1fr);
        text-align: left;
        padding: 3px 7px;
        /* background: none; */
        border-radius: 2px;
    }
        .progress-header-buy-sell {   
            max-width: 1200px;
            margin: auto;
            /* background: #fffef7;
            border-radius: 16px;
            padding: 30px 40px 40px;
            box-shadow: 0 4px 10px rgba(0,0,0,0.05);*/
            position: relative; 
            padding: 25px 10px 25px;
            
        }
          .list-view .bottom-section {
            margin-top: 10px;
            padding-left: 5px;
            border: none;
        }
        .action-line{
            top: 0px;
            width: 67px;
        }
        .form-header{
            padding: 0;
        }
        .form-header-freelancing.mb-4{
           padding: 14px 0px 0px 21px;
        }
        .real-estate_main{
            padding: 20px 0px;
        }
        .real-estate_main .main-from{
            padding: 35px 25px;
        }
        .real-estate-actions{
            flex-direction: column;
        }
        .services-from{
            flex-direction: column;
            gap: 15px;
        }
        .services-from .btn{
            padding: 12px 22px;
        }
        .product-description{
            font-size: 14px;
        }
        .toggle-switch{
            width: 95px;
        }
      }
       @media (max-width: 768px) {
        .ads-container {
            position: relative;
            width: 81% !important;
            max-width: 724px;
        }
        .ads-img {
            width: 89%;
            border-radius: 6px;
            /* display: block; */
            /* margin-left: 20px; */
            height: 80px;
        }
       .ads-closes {
        top: -7px;
        right: 19px;
       }
            .progress-header-buy-sell {
            max-width: 1200px;
            margin: auto;
            position: relative;
            /* padding: 6px 31px 5px 31px; */
        }
        .step-number {
            width: 22px;
            height: 20px;
            font-size: 8px;
        }
        .form-group label {
            font-size: 10px;
            margin-bottom: 1px;
        }
        button.upload-btn {
            font-size: 12px;
            font-weight: 400;
        }
        .progress_name {
            font-size: 8px;
        }
        input.form-input {
         height: 35px;
        font-size: 9px;
        margin-bottom: 10px;
        }
        select.form-input {
            height: 35px;
            padding: 7px 9px 7px 11px;
            font-size: 10px;
            /* margin-bottom: 10px; */
        }
        textarea.form-textarea {
              font-size: 10px;
        }
        .form-textarea {
            min-height: 75px;
        }
        .field-hint {
            font-size: 10px;
            margin: 5px;
        }
        .form-group {
            margin-bottom: 15px;
        }
        span.text-danger { }
         .tip-item {
             margin-bottom: 6px;
         }
        .tips-sidebar h3 {
            font-size: 12px;
            margin-bottom: 7px;
            text-align: left;
        }
          .cat-box {
            padding: 15px 12px 0px 12px;
        }
        .cat-post-posts {
            font-size: 8px;
        }
        .features {
            font-size: 8px;
            margin-bottom: 8px;
        }
        .breadcrumb-nav a,
        .breadcrumb-nav .current {
            font-size: 12px;
        }
        .breadcrumb-nav .arrow {
            font-size: 13px;
            color: #000;
        }
        .navbar-custom {
            padding: 6px 0;
        }
        img.logo-img {
            height: 25px;
            width: auto;
            margin-top: 3px;
        }
        .footer-section {
            background: #FFEE58;
            padding: 50px 19px 1px;
            position: relative;
            margin: 12px;
            margin-top: 70px;
            border-bottom-left-radius: 25px;
            border-bottom-right-radius: 25px;
        }
        .footer-text {
            font-size: 12px;
            color: #1a1a1a;
            line-height: 1.4;
            max-width: 350px;
            font-weight: 600;
        }
        .footer-list li {
            margin-bottom: 0px;
            font-size: 18px;
            color: #ad8282;
            /* font-weight: bold; */
        }
        .footer-column h4 {
            font-size: 12px;
            font-weight: 500;
            color: #1a1a1a;
            margin-bottom: 4px;
        }
        .footer-list a {
            font-size: 10px;
            color: #525050;
            text-decoration: none;
            transition: opacity 0.3s;
        }
        .footer-bottom {
            text-align: center;
            padding-top: 14px;
            border-top: 2px solid rgba(0, 0, 0, 0.1);
        }
        .footer-copyright {
            font-size: 9px;
            color: #1a1a1a;
        }
        .brand-title {
            font-size: 18px!important;
            font-weight: 500!important;
            color: #2c2c2c;
            letter-spacing: 0.5px;
        }
        .footer-tagline {
                font-size: 10px;
        }
        .lang-box i {
            font-size: 14px;
        }
        i.bi.bi-geo-alt-fill {
            font-size: 9px!important;
        }
        select.form-select {
            font-size: 10px!important;
            margin-left: -12px!important;
        }
        .listing-badge{
            top: -6px;
            right: -1px;
            padding: 2px 16px;
        }
        span.listing-badge.badge-boosted {
            font-size: 8px;
                /* top: -6px;
            right: -1px; */
        }
        span.listing-new.badge-boosted{
            font-size: 10px;
                /* top: -6px;
            right: -1px; */
        }
        span.listing-featured.badge-boosted{
            font-size: 10px;
                /* top: -6px;
            right: -1px; */
        }
        .bottom-section {
        padding: 0px 12px 8px 12px;
        font-size: 7px;
        border-bottom-left-radius: 12px;
        border-bottom-right-radius: 12px;
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 5px;
        }
        .product-card {
            box-shadow: 0 19px 30px rgba(0, 0, 0, 0.08);
        }
        strong {
            font-size: 8px;
            font-weight: bold;
        }
        .toggle-slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            height: 17px;
            width: 42px;
            bottom: 0;
            background-color: #ccc;
            transition: 0.4s;
            border-radius: 34px;
        }
        .toggle-slider:before {
            position: absolute;
            content: "";
            height: 13px;
            width: 13px;
            left: 2px;
            bottom: 2px;
            background-color: white;
            transition: 0.4s;
            border-radius: 50%;
        }
        small.text-success {
            font-size: 8px;
        }
        .seller-avatar {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 10px;
            flex-shrink: 0;
        }
        .dot.active {
            width: 30px!important;
        }
        .dot {
            width: 18px!important;
        }
            .book-btn {
         white-space: nowrap;
        min-width: 76px;
        align-items: center !important;
        /* margin-left: 23px; */
        margin-top: 2px !important;
        font-size: 10px;
        /* padding: 4px 4px; */
        border-radius: 20px;
            padding: 4px 11px;
        }
        .price {
            font-weight: 500;
            font-size: 10px;
        }
        .categories-section {
            background: white;
            padding: 0px 19px 0px;
        }
        div#loopSlider,
        .curve-slider {
            padding: 10px 14px !important;
            justify-content: flex-start !important;
        }
        .search-wrapper {
            position: relative !important;
            display: flex !important;
            align-items: center !important;
            width: 100% !important;
            max-width: 100% !important;
            margin: 12px auto 0 auto !important;
        }

        .search-field {
            width: 100% !important;
            height: 46px !important;
            font-size: 13px !important;
            padding: 10px 48px 10px 18px !important;
            border-radius: 50px !important;
            border: 1px solid #e0e0e0 !important;
            box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08) !important;
            box-sizing: border-box !important;
            background: #fff !important;
        }

        .search-icon-btn {
            position: absolute !important;
            right: 6px !important;
            top: 50% !important;
            transform: translateY(-50%) !important;
            width: 36px !important;
            height: 36px !important;
            border-radius: 50% !important;
            background: #FFEE58 !important;
            border: none !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            padding: 0 !important;
            margin: 0 !important;
            cursor: pointer !important;
            z-index: 3 !important;
        }

        .search-icon-btn i {
            font-size: 15px !important;
            line-height: 1 !important;
            margin: 0 !important;
        }

        [dir="rtl"] .search-icon-btn {
            right: auto !important;
            left: 6px !important;
        }

        [dir="rtl"] .search-field {
            padding: 10px 18px 10px 48px !important;
        }
        .breadcrumb-nav {
        font-size: 10px !important;
        display: flex;
        align-items: center;
        gap: 2px !important;
        font-weight: 500;
        white-space: nowrap;
        overflow: hidden;
        flex-wrap: wrap;
        padding: 0px 6px 0px 6px;
        overflow: visible;
        }
        
     .breadcrumb-nav .arrow {
        font-size: 15px!important;
        color: #000;
        margin-top: -2px!important;
    }
        span.current {
            font-size: 10px!important;
        }


        .sub-heading {
                font-size: 9px;
                margin-bottom: 18px;
        }
            .navbar-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .logo-area {
        display: flex;
        align-items: center;
        flex: 1;
        min-width: 0;
        gap: 8px;
    }

    .mobile-post-btn {
        margin-left: auto;
        margin-right: 10px;
        flex-shrink: 0;
    }

        .weekly-schedule .form-actions-shedule{
            flex-direction: column;
            justify-content: space-between;
        gap: 10px;
        }
        .form-actions-shedule .left-buttons{
            justify-content: space-between;
        }
        .amenity-checkbox {
            font-size: 10px;
        }
       
        .logo-area {
            gap: 27px;
        }
            .slider-btn.left,
            .slider-btn.right {
            display: none !important;
        }
        .filter-tab {
            padding: 9px 9px;
            font-size: 10px;
        }
         .filter-tab.active {
            padding: 9px 9px;
            font-size: 10px !important;
        }
            .hero-section {
            padding: 0px !important;
        }
       .has-dropdown.active .sub-menu {
               overflow: scroll !important;
        }
        .mobile-cat-box span {
            font-size: 12px;
            font-weight: 400;
        }
        .mobile-cat-box img {
            width: 31px!important;
        }
        button#loadMoreBtn {
                padding: 6px 9px;
            font-size: 10px;
            border-radius: 12px;
            -webkit-border-radius: 12px;
            -moz-border-radius: 12px;
            -ms-border-radius: 12px;
            -o-border-radius: 12px;
}
.logo-circle {
    width: 50px;
    height: 50px;
    background: #FFEE58;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0px 14px rgba(0, 0, 0, 0.25);
}
.logo-circle img {
    width: 32px;
    height: 36px;
}
            .section-head{
                align-items: unset;
                gap: 0px;
                margin-bottom: 21px;
            }
            .service-pic {
            width: 100%;
            height: auto;           /* FIX: No fixed height */
            max-height: 112px;
            object-fit: contain;    /* Show full image */
            border-radius: 18px 18px 0 0;
        }
        .service-card {
                height: auto;
            max-height: 397px;
                object-fit: contain;
        }
         #prevBtn,
        #nextBtn {
            display: none !important;
        }
        .categories-row {
            display: grid !important;
            grid-template-columns: repeat(2, 1fr) !important;
            gap: 14px !important;
            overflow-x: visible !important;
            overflow: visible !important;
            white-space: normal !important;
            justify-items: center;
        }
        .right-controls {
            display: flex;
            gap: 20px;
            /* flex-wrap: wrap; */
            align-items: center;
            /* overflow: scroll; */
        }
        .view-toggle button {
            font-size: 11px;
            padding: 6px 9px 6px 9px;
        }
        .view-toggle {
            margin-left: 0px;
            gap: 0px;
            padding: 3px !important;
        }
        .category-toggle-wrapper {
            top: -15px !important;
            font-size: 10px!important;
            gap: 0px !important;
            margin-left: 0px !important;
             padding: 3px !important;
         }
        .cat-toggle-btn.active {
            background: #ffffff;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
            color: #000;
           font-size: 13px;
        }
        button#catListToggle {
            padding: 6px 9px 6px 9px;
            font-size: 11px;
        }
        button#catGridToggle{
            padding: 6px 9px 6px 9px;
            font-size: 11px;
        }
        .product-card img {
            width: 100%;
            height: 129px;
            border-top-right-radius: 16px;
            border-top-left-radius: 16px;
        }
        hr.border-line{
            margin: 5px 0;
            color: inherit;
            border: 0;
            border-top: var(--bs-border-width) solid;
            opacity: .25;
        }
        h5 {
            font-size: 10px;
            margin-bottom: 0px;
        }
        .service-price {
            font-size: 16px;
            margin-bottom: 0px;
            margin-top: 0px;
        }
        .service-price span{
             font-size: 9px;
        }
        .rating-pill {
            padding: 1px 2px;
        }
        .reviews {
            font-size:7px;
        }
        .rating-number {
        font-size: 7px;
    }
    span {
        font-size: 10px;
        /* font-weight: 500; */
    }
    
.info-item i
 {
    color: #FFEE58;
    font-size: 9px;
}
button.contact-btn {
                  font-size: 9px;
        padding: 4px 9px;
        width: auto;
}

.product-body {
    padding: 6px 8px !important;
    min-height: 120px;
}

    .rating-pill i {
        font-size: 7px;
    }
        .what-you-get li {
            padding: 0px;
        }
        .container {
            padding: 0px 14px 0px 14px;
        }
         button.btn.btn-secondary {
              width: 100%;
        padding: 5px 7px;
        font-size: 10px;
        border-radius: 11px;
        }
        button.btn-primary {
            font-size: 12px;
        }
            button.btn.btn-primary {
                                width: 100%;
        padding: 12px 11px;
        padding: 7px 6px;
        font-size: 10px;
        border-radius: 11px;
        }
        .btn-secondary {
    background: white;
    color: #999;
    border: 2px solid #E0E0E0;
    width: 100%;
    font-size: 10px;
    padding: 7px 8px;
}
        .bottom-tips li {
            font-size:10px;
        }
        .bottom-tips h4 {
            font-size: 12px;    
        }
          .form-header-freelancing.mb-4{
           padding: 14px 0px 0px 21px;
        }
        .main-from{
            width: 94%;
            padding: 20px;
        }
        .action-divider {
            margin-left: 0 !important;
        }
           .desktop-menu {
               display: none;
           }

           .mobile-toggle-btn {
               display: block;
           }

           .mobile-menu {
               display: none;
               margin-top: 11px;
           }
           body.menu-open {
                overflow: hidden;
                height: 100vh;
            }
            /* .mobile-menu { 
position: fixed;
 top: 58px;
 left: 12px;
 width: 322px;
 height: calc(100vh - 70px);
 max-height: calc(100vh - 70px);
 height: auto;
 overflow-y: auto;
 -webkit-overflow-scrolling: touch;
 background: rgb(255 246 167 / 89%); 
backdrop-filter: blur(0px); 
display: none; 
flex-direction: column;
 z-index: 9999; 
} */
.mobile-menu {
position: fixed;
        top: -11px;
        right: -100%;
        width: 85%;
        height: 100%;
        background: #ffffff;
        border: 2px solid #ffda6b;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        display: flex;
        flex-direction: column;
        z-index: 999999;
        transition: right 0.3s ease-in-out;
}

button#mobileMenuClose {
        padding: 0px;
        font-size: 29px;
        background: none;
        float: right;
        /* margin-left: 10px; */
        padding-right: 6px;
}
    .notification-badge {
        position: absolute;
        top: -4px;
        right: -7px;
        min-width: 18px;
        height: 18px;
        padding: 0 4px;
        background-color: #ef4444;
        color: #ffffff;
        border-radius: 999px;
        font-size: 10px;
        font-weight: 700;
        line-height: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        border: 2px solid #ffffff;
        box-sizing: border-box;
        letter-spacing: 0;
        white-space: nowrap;
    }
/* When menu is open */
.mobile-menu.active {
    right: 0;              /* âœ… screen ma aavi jaay */
}



    .menu-icon-wrapper {
    position: relative;
    display: inline-block;
    }

    .menu-icon-wrapper i {
        font-size: 24px; /* adjust if needed */
    }
        .notification-dots {
        position: absolute;
        top: -6px;
        right: -8px;
        min-width: 18px;
        height: 18px;
        padding: 0 4px;
        background-color: #ef4444;
        color: #ffffff;
        border-radius: 999px;
        font-size: 10px;
        font-weight: 700;
        line-height: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        border: 2px solid #ffffff;
        box-sizing: border-box;
        letter-spacing: 0;
        white-space: nowrap;
    }

    .chat-link {
    display: flex;
    align-items: center;
    gap: 6px;
    }

    .icon-wrapper {
        position: relative;
        display: inline-block;
    }

    .notification-dot {
    position: absolute;
    top: -5px;
    right: -8px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    background-color: #ef4444; /* red */
    color: #ffffff;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 2px solid #ffffff;
    box-sizing: border-box;
    letter-spacing: 0;
    white-space: nowrap;
    }

    .search-field {
        width: 100% !important;
        height: 46px !important;
        padding: 10px 48px 10px 18px !important;
        border-radius: 50px !important;
        border: 1px solid #ccc;
        font-size: 13px;
        box-sizing: border-box !important;
    }
            .mobile-toggle-btn i {
                font-size: 28px;
                transition: transform 0.2s ease;
            }

            .mobile-toggle-btn i.bi-x {
                transform: rotate(90deg);
            }


         .navbar-content {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding-right: 10px;
            padding-left:12px;
        }

           button#menuToggle {
            padding: 0px 6px 0px 7px;
            background: none;
        }
        .section-title{
            padding-left: 0;
            font-size: 16px;
            font-weight: 500;
        }
        .section-desc{
            padding-left: 0;
            font-size: 10px;
            margin-bottom: 21px;
        }
        h2.section-title-featured {
            padding-left: 0;
            font-size: 16px;
            font-weight: 500;
        }
        .featured-section {
            padding: 25px 0;
        }
        .fw-bold {
            padding-left: 0;
            font-size: 14px;
            font-weight: 500;
        }
        .sort-select {
            padding: 5px 1px;
            font-size: 8px;
            border-radius: 12px;
            text-align: center;
            width: 106px;
        }
        .slider::before {
            width: 16px;
            height: 17px;
        }
        .slider {
              width: 42px;
        height: 18px;
        }
        .boost-toggle .slider::before {
                   content: "";
            position: absolute;
            top: 3px;
            /* right: 3px; */
            left: 2px;
            width: 13px;
            height: 13px;
            background: #000;
            border-radius: 50%;
            transition: transform 0.3s ease;
        }
        .footer-tagline{
            font-size: 10px;
             font-weight: 600;
        }
        .label-text {
            font-size: 8px;
        }
        p.text-muted.mb-0 {
            padding-left: 0;
            font-size: 8px;
            /* text-align: center; */
        }
        p.section-desc-featured{
            padding-left: 0;
            font-size: 10px;
            color: #6c757d;
        }
        .post-section{
            padding: 15px 10px 10px;
        }
        .cat-box{
              width: 166px;
        min-width: 43%;
        height: auto;
        }
        .cat-name {
            font-size: 10px;
            margin-bottom: 2px;
        }
        .cat-icon{
               width: 62px;
        margin-bottom: 5px;
        width: 43px;
        height: auto;
        font-size: 24px;
        padding: 0px;
        background: #eae9e9;
        border-radius: 9px;
        }
        .real-estate_main{
            padding: 20px 0px;
        }
        .center-items{
            gap: 4px;
        }
    }
@media (min-width: 480px) and (max-width: 768px) {
    .mobile-menu {
        width: 70vw;
        max-width: 420px;
    }
}

/*mobile responsive end */


/* Breadcrumb Wrapper start witch page open navigation title*/
 .breadcrumb-area {
    width: 100%;
    max-width: 1900px;
    margin: 0 auto;
    padding: 1px 0px;
    box-sizing: border-box;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    width: 100%;
    min-width: 0;
    padding: 0px 0px 0px 20px;

}

.breadcrumb-nav a,
.breadcrumb-nav .current {
    white-space: nowrap;
        font-size: 16px;
    font-weight: 400;
}

.breadcrumb-nav .arrow {
    flex-shrink: 0;
    font-size: 25px;
} 
/* Breadcrumb Wrapper start witch page open navigation title  end*/


/* new changes start */
/* Post New Ads CTA Button */
a.post-ad-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 7px;
    background: #FFEE58;
    color: #000;
    font-size: 16px;
    font-weight: 500;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
    transition: all 0.25s ease;
}


a.post-ad-btn .plus-icon {
      width: 26px;
    height: 26px;
    background: #000;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
}

a.post-ad-btn .post-ad-text {
    font-size: 16px;
    font-weight: 500;
    color: #000;
}


a.post-ad-btn .plus-icon .plus-text {
       font-style: normal;
    font-size: 20px;
    line-height: 1;
    position: relative;
    top: 0px;
    top: -1px;
}

/* Hover effect */
a.post-ad-btn:hover {
    background: #FFEE58;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.2);
}

/* Active page */
.active-post-btn {
    background: #FFEE58;
     font-weight: 800;
   
}
small.text-danger {
    color: red;
    font-size: 14px;
    font-weight: 500;
    margin-top: 4px;
}

/* LOGIN BUTTON */
.auth-wrap{
    display: inline-flex;
    align-items: center;
    gap: 7px;
    /* background: #FFC107; */
    padding: 4px 6px;
    border-radius: 8px;
    margin-right: 10px;
}

/* LOGIN TEXT */
.auth-wrap .login-link{
    color: #000;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    padding: 6px 10px;
}

/* SIGN UP BUTTON */
.auth-wrap .signup-btn{
    background: #fff;
    color: #000;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: all 0.25s ease;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
}
 span.echo {
    font-size:12px;
}
/* HOVER EFFECT (soft) */
.auth-wrap .signup-btn:hover{
    transform: translateZ(0) scale(1.05);
}

.auth-wrap .login-link:hover{
    text-decoration: none;
     transform: translateZ(0) scale(1.05);
}
 span.text-danger {
    display: block;       /* make it block so margin & alignment work */
    color: red;
    font-size: 14px;
    font-weight: 400;
    text-align: left;     /* left-align text */
    margin-top: 4px;
        }
        button.remove-btn {
    height: auto;
    /* width: 6px !important; */
    background: none;
    font-size: 38px;
    top: -18px;
    right: -3px;
    color: red;
    /* width: 6px !important; */
    }
    video {
        width: 55%;
    }
    .text-end {
    text-align: right;
}
    /* new changes end*/

    [dir="rtl"] .slider-btn.right {
        right: 100%;
    }

    [dir="rtl"] .slider-btn.left {
        left: 100%;
    }
    .product-card {
        position: relative;
    }
   [dir="rtl"] .search-icon-btn i {
        margin: 0 !important;
   }
    /* RTL layout */
    html[dir="rtl"] .boost-toggle {
        flex-direction: row-reverse;   /* text right, toggle left */
        direction: rtl;
    }

    html[dir="rtl"] .boost-toggle input:checked + .slider::before {
        transform: translateX(-24px);
    }

    html[dir="ltr"] .boost-toggle input:checked + .slider::before {
        transform: translateX(24px);
    }
    [dir="rtl"] .product-title-buy-sell {
    text-align: right; /* Title ne right side align karse */
    }

    [dir="rtl"] .product-price-buy-sell {
          text-align: left !important;
    min-width: 120px !important;
    }

    [dir="rtl"] .price-amount-buy-sell {
        text-align: right;
        direction: ltr; /* Numbers ane Currency symbols (â‚¹) ne LTR ma rakhva vadhare saru lage che */
        display: inline-block;
    }
    [dir="rtl"] .text-end {
    text-align: left!important; /* Ke pachi left karvu hoy to left */
}
[dir="rtl"] .page-title h1, 
[dir="rtl"] .mb-3,
[dir="rtl"] .page-subtitle {
    text-align: right;
    direction: rtl;
}
/* [dir="rtl"] .form-group label {
    text-align: right;
    direction: rtl;
} */

[dir="rtl"] .card-header h2 {
    text-align: right!important;
    direction: rtl;
}
[dir="rtl"] .form-actions.buy_sell_form{
    direction: rtl;
    text-align: right !important;
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-start;
    gap: 10px;
}
[dir="rtl"] label.form-label.fw-medium{
      text-align: right !important;
    direction: rtl;
}

/* Skills tag RTL fix */
[dir="rtl"] #tagContainer{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
    direction: rtl;
}

[dir="rtl"] #tagContainer .tag-style{
    display: inline-flex;
    align-items: center;
    flex-direction: row-reverse;
    gap: 6px;
}
[dir="rtl"] #prevBtnlist{
    transform: scaleX(-1);
}
[dir="rtl"] #prevBtnlist1{
    transform: scaleX(-1);
}
[dir="rtl"] #nextBtnlist{
    transform: scaleX(-1);
}
[dir="rtl"] #nextBtnlist1{
    transform: scaleX(-1);
}
[dir="rtl"] #prevBtnlist2{
    transform: scaleX(-1);
}
[dir="rtl"] #nextBtnlist2{
    transform: scaleX(-1);
}
[dir="rtl"] .section-services-title{
       text-align: right!important;
    direction: rtl;
}
[dir="rtl"] .section-subtitle{
       text-align: right!important;
    direction: rtl;
}
[dir="rtl"] .form-label{
       text-align: right!important;
    direction: rtl;
}
[dir="rtl"] .status-badges.boosted{
       text-align: right!important;
    direction: rtl;
}
[dir="rtl"] .status-badges.boosted {
    text-align: right !important;
    direction: rtl;
    margin-left: 0;
    margin-right: auto;
}
    [dir="rtl"] .mobile-menu .sub-menu {
        flex-direction: row-reverse;
        text-align: right;
    }
[dir="rtl"] #tagContainer .tag-close-icon {
    margin-left: 0;
    margin-right: 4px;
    cursor: pointer;
}

/* input alignment */
[dir="rtl"] #skillsInput .form-sublabel{
    direction: rtl;
    text-align: right;
}
[dir="rtl"] .form-sublabel{
    direction: rtl;
    text-align: right;
}
[dir="rtl"] span.text-danger{
    direction: rtl;
    text-align: right;
}
[dir="rtl"] .section-title-upload,
[dir="rtl"] .freelancing{
    direction: rtl;
    text-align: right;
}
[dir="rtl"] h2.post-title ,
[dir="rtl"] p.form-subtitle-freelancing{
    direction: rtl;
    text-align: right;
        padding: 0px 146px 0px 75px;
}
[dir="rtl"] .card-subtitle{
    direction: rtl;
    text-align: right;
}
[dir="rtl"] label.form-label {
    direction: rtl;
    text-align: right !important;
}
[dir="rtl"] .field-hint  {
    direction: rtl;
    text-align: right !important;
}
/* [dir="rtl"] small.text-descriptions.left-text{
    text-align: right!important;
    direction: rtl;
}
[dir="rtl"] .section-services-title, .section-subtitle,.form-service-label,.form-sublabel{
    text-align: right!important;
    direction: rtl;
} */

 @media (max-width: 768px) {
    .breadcrumb-nav a, .breadcrumb-nav .current {
    white-space: nowrap;
    font-size: 10px;
    font-weight: 400;
}
    .mobile-post-btn a.post-ad-btn .plus-icon {
        width: 20px;
        height: 20px;
        min-width: 20px;
        min-height: 20px;
        background: #000;
        color: #fff;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        flex-shrink: 0;
    }

    .mobile-post-btn a.post-ad-btn .plus-icon .plus-text {
        font-style: normal;
        font-size: 14px;
        font-weight: 700;
        line-height: 1;
        color: #fff;
        position: relative;
        top: -1px;
        margin: 0;
    }
    .chat-item .chat-info p{
          font-size: 8px;
    }
                 button.filter-btn.active {
    font-size: 10px;
}
                button.filter-btn {
    font-size: 10px !important;
}
.search-box input{
     font-size: 10px !important;
}
button.chat-back-btn.d-md-none {
    padding: 4px;
}
p.location_name {
    font-size: 10px;
}
span.echo {
    font-size: 8px;
}
/* Normal State */
.right-icons {
    transition: transform 0.3s ease;
    display: inline-block;
}

.has-dropdown.active > a .right-icons {
    transform: rotate(90deg) !important;
    -webkit-transform: rotate(90deg) !important;
    -moz-transform: rotate(90deg) !important;
    -ms-transform: rotate(90deg) !important;
    -o-transform: rotate(90deg) !important;
}


[dir="rtl"] .has-dropdown.active > a .right-icons {
    transform: rotate(90deg) !important;
     /* àª…àª¥àªµàª¾ 270deg */;
    -webkit-transform: rotate(90deg) !important;
    -moz-transform: rotate(90deg) !important;
    -ms-transform: rotate(90deg) !important;
    -o-transform: rotate(90deg) !important;
}


.sub-menu {
    display: none; 
}

.has-dropdown.active > .sub-menu {
    display: block !important; 
}
[dir="rtl"] .sub-title-link {
    display: flex !important;
    flex-direction: row !important; 
    justify-content: space-between !important; 
    align-items: center !important;
    width: 100% !important;
    text-align: right !important;
}

[dir="rtl"] .category_name {
    order: 1 !important; 
    text-align: right;
}

[dir="rtl"] .right-icons {
    order: 1 !important;
    transform: rotate(180deg) !important;
    margin: 0 !important;
    -webkit-transform: rotate(180deg) !important;
    -moz-transform: rotate(180deg) !important;
    -ms-transform: rotate(180deg) !important;
    -o-transform: rotate(180deg) !important;
}
    .modal-content {
    position: relative;
    display: flex;
    /* margin: 71px; */
    /* align-items: center; */
    flex-direction: column;
    margin: 78px 24px;
    width: 87%;
    color: var(--bs-modal-color);
    pointer-events: auto;
    background-color: var(--bs-modal-bg);
    background-clip: padding-box;
    border: var(--bs-modal-border-width) solid var(--bs-modal-border-color);
    border-radius: var(--bs-modal-border-radius);
    outline: 0;
}
.arrow-click {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    /* padding: 10px; */
    z-index: 10;
}
        [dir="rtl"] .search-icon-btn {
            left: 6px !important;
            right: auto !important;
        }
        [dir="rtl"] .clear-search-btn {
            left: 46px !important;
            right: auto !important;
        }
        [dir="rtl"] i.bi.bi-search {
            margin: 0 !important;
        }
            [dir="rtl"] .price-book {
            padding-right: 59px;
        }
        [dir="rtl"] .arrow-click {
            margin-left: 0;
            margin-right: auto;
        }
        [dir="rtl"] i.fa.fa-angle-right.right-icons {
            margin-left: 0;
            margin-right: auto;
        }

        [dir="rtl"] .mobile-menu .has-dropdown > a {
            flex-direction: row-reverse;
            text-align: right;
        }

        /* Arrow goes LEFT */
        [dir="rtl"] .mobile-menu .arrow-click {
                    margin-right: 252px;
            margin-left: 0;
        }

        /* Flip arrow direction */
        [dir="rtl"] .mobile-menu .right-icon {
            transform: rotate(180deg);
        }

        /* Keep text & icon right aligned */
        [dir="rtl"] .mobile-menu .has-dropdown > a img {
            margin-left: 8px;
        }
        [dir="rtl"] .has-dropdown.active .sub-menu{
        text-align: left;
        }
        /* Arrow LEFT for sub menu */
        [dir="rtl"] .mobile-menu .sub-menu li.has-dropdown > a .right-icons {
            margin-right: auto;
            margin-left: 0;
            transform: rotate(180deg);
        }

        /* ---------- SUB MENU LINKS (TEXT RIGHT) ---------- */
        [dir="rtl"] .mobile-menu .sub-menu li a {
            justify-content: flex-end;
            text-align: right;
        }

        /* ---------- ICON SPACING ---------- */
        [dir="rtl"] .mobile-menu img {
            margin-left: 8px;
            margin-right: 0;
        }

        /* ---------- OPTIONAL: OPEN STATE ROTATION ---------- */
        [dir="rtl"] .has-dropdown.open > a .right-icon,
        [dir="rtl"] .has-dropdown.open > a .right-icons {
            transform: rotate(-90deg);
        }
        [dir="rtl"] .navbar-content {
            margin: 0 auto !important;
        }

        .step {
            gap: 4px;
        }
        html[dir="rtl"] .label-text {
                    margin-right: 13px;
        }
        /* html[dir="rtl"] .btn-edit  {
                width: 162px;
                font-size: 12px;
                height: 35px;
        } */
        html[dir="rtl"] .auth-wrap {
            display: flex;
            flex-direction: row;      /* same line */
            align-items: center;
            /* gap: 8px; */
            white-space: nowrap;
            direction: rtl;
            margin-right: 0;
        }
        html[dir="rtl"] .dots {
            direction: rtl;
        }

    }

/* Global RTL Filter Header alignment to prevent collisions */
[dir="rtl"] .filter-header {
    direction: rtl !important;
}

[dir="rtl"] .filter-header .left-info {
    text-align: right !important;
}

[dir="rtl"] .filter-header .right-controls {
    margin-left: 0 !important;
    margin-right: auto !important;
    justify-content: flex-start !important;
    direction: rtl !important;
}
 

.chat-btn-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    /* background: #10c74e; */
    /* border-radius: 8px; */
    /* color: white; */
    /* font-weight: 600; */
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}

.chat-btn-header svg {
    flex-shrink: 0;
}

.chat-btn-header:hover {
       transform: translateZ(0) scale(1.08);
    color: #000;
}
.footer-tagline {
       /* font-family: "Inter", "Poppins", sans-serif; */
    font-size: 14px;
    /* font-weight: 500; */
    /* line-height: 1.5; */
    color: #1e1e1e;
    max-width: 380px;
    margin-top: 6px;
    color: #525050;
    text-decoration: none;
    transition: opacity 0.3s;
}

.ads-section {
    margin: 0px 0;
    display: flex;
    justify-content: center;
}

.ads-container {
    position: relative;
    width: 100%;
    max-width: 728px;
}

.ads-img {
    width: 100%;
    border-radius: 6px;
    display: block;
}
button.ads-closes:hover {
    background: none;
}
.ads-closes {
    position: absolute;
    top: -4px;
    right: 0px;
    border: none;
    background: none;
    color: black;
    font-size: 28px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    line-height: 20px;
    text-align: center;
}
/* ── Floating Login / Register / Forgot Password Modal & Close Button ────── */
.login-modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.72) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    display: none;
    align-items: center !important;
    justify-content: center !important;
    z-index: 999999 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 24px !important;
    transform: none !important;
    -webkit-transform: none !important;
    transform-style: flat !important;
    -webkit-transform-style: flat !important;
    perspective: none !important;
}

.login-modal-card {
    position: relative !important;
    width: 60% !important;
    max-width: 960px !important;
    min-height: unset !important;
    background: #ffffff !important;
    border-radius: 22px !important;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.28) !important;
    overflow: visible !important;
    margin: auto !important;
    padding: 0 !important;
    z-index: 1000000 !important;
    transform: none !important;
}

.modal-close {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    aspect-ratio: 1 / 1 !important;
    border: none !important;
    border-radius: 50% !important;
    background: #FFEE58 !important;
    color: #111827 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 1000005 !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22) !important;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.2s ease, box-shadow 0.2s ease !important;
    float: none !important;
    outline: none !important;
}

.modal-close:hover {
    background: #FFD044 !important;
    color: #000000 !important;
    transform: scale(1.1) !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28) !important;
}

.modal-close:active {
    transform: scale(0.95) !important;
}

.modal-close i {
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    color: #111827 !important;
}

[dir="rtl"] .modal-close {
    right: auto !important;
    left: 14px !important;
}
.view-more {
    position: relative;
    z-index: 9999;
    display: inline-block;
    cursor: pointer;
     float: right;
    padding-right: 72px;
    color: #3a77ff;
    font-weight: 500;
    font-size:16px;
}

.view-more-btn {
    position: absolute;
    top: -40px; /* arrows ni upar adjust karva */
    right: 0;
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
    color: #3a77ff;
}

.view-more-btn:hover {
    text-decoration: underline;
}
.hour-badge-img {
    position: absolute;
    top: 55px;       /* Boosted ni niche */
    right: 20px;     /* Same alignment */
    width: 40px;     /* Size control */
    height: 40px;
    object-fit: contain;
    z-index: 2;
}
.extra-review {
    display: none;
}

.review-toggle {
    cursor: pointer;
    /* font-weight: 500; */
    text-decoration: none;
    color: #007bff;
}

.review-toggle:hover {
    text-decoration: none;
}

.badge-wrapper {
    position: absolute;
    top: 15px;
    right: 4px;
    display: flex;
    flex-direction: column;
    gap: 8px;              /* ðŸ‘ˆ spacing */
        text-align: right;
    align-items: flex-end;
    justify-content: flex-end;
}

.listing-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
}
.listing-new {
 display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 21px;
    font-size: 14px;
    /* font-size: 10px; */
    font-weight: 600;
}
.listing-featured {
display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 21px;
    font-size: 14px;
    /* font-size: 10px; */
    font-weight: 600;
}

span.launguage {
    font-size: 16px;
    font-weight: 500;
}

.badge-boosted {
    background: #ffe86b;
}

.badge-time {
    background: #fff;
    margin-top: 41px;
    width: 119px;
    background: none;
    color: #ffe86b;
    box-shadow: none;
    justify-content: right;
    background: #663399f2;
}
.badge-day {
background: #fff;
    margin-top: 81px;
    /* width: 126px; */
    background: none;
    color: #ffe86b;
    box-shadow: none;
    justify-content: right;
    background: #00000045;
    /* padding: 4px; */
    width: 104px;
}
.listing-item-slide {
    flex: 0 0 33.3333%;
    padding: 15px;
    box-sizing: border-box;
    justify-content: center;
    display: flex;
}
h5 {
    word-wrap: break-word;
    /* font-size: 16px;
    font-weight: 500; */
}

   .language-select {
            width: 80px;
            padding: 8px 12px;
            padding-left: 10px !important;
            /* 👈 LEFT SIDE TEXT SPACE */
            background-color: #fff9d9;
            /* light yellow */
            border: 2px solid #ffda6b;
            /* yellow border */
            border-radius: 10px;
            font-size: 15px;
            color: #222;
            cursor: pointer;
            outline: none;
        }
    @media (max-width: 768px) {
        .listing-item-slide {
            /* flex: 0 1 100%; */
            max-width: 100%;
            box-sizing: border-box;
            padding: 0px 2px;
            flex: 0 0 50%;
            max-width: 47%;
            justify-content: center;
        display: flex;
        }
    }

 @media (max-width: 768px) {
        .listing-item {
        flex: 0 1 100%;
        max-width: 50%;
        box-sizing: border-box;
        padding: 10px;
    }
        .listing-item-filter {
        flex: 0 0 50%;
        max-width: 50%;
        box-sizing: border-box;
        padding: 6px;
        display: block;
    }
    .badge-day {
        background: #fff;
        margin-top: 55px;
        width: 126px;
        background: none;
        color: #ffe86b;
        box-shadow: none;
        justify-content: right;
        background: #00000045;
        padding: 2px;
        width: 73px;
        font-size: 10px !important;
        font-weight: 400;
        /* text-align: center; */
        align-items: center;
            top: -6px;
    right: -1px;
    }
    .badge-time {
        background: #fff;
        margin-top: 33px;
        width: 84px;
        background: none;
        color: #ffe86b;
        box-shadow: none;
        justify-content: right;
        background: #663399f2;
        /* padding: 2px; */
        padding: 2px 3px !important;
        font-weight: 400 !important;
        font-size: 10px !important;
            top: -6px;
    right: -1px;
    }
    .list-view .badge-day {
        background: #fff;
        margin-top: 55px;
        width: 126px;
        background: none;
        color: #ffe86b;
        box-shadow: none;
        justify-content: right;
        background: #00000045;
        padding: 2px;
        width: 73px;
        font-size: 10px;
        /* text-align: center; */
        align-items: cener;
            top: -6px;
        right: -1px;
    }
    .list-view .badge-time {
        background: #fff;
        margin-top: 33px;
        width: 75px;
        background: none;
        color: #ffe86b;
        box-shadow: none;
        justify-content: right;
        background: #663399f2;
        padding: 2px;
        font-size: 9px;
    }
        .logout-btn {
        background: none;
        border: none;
        padding: 8px 15px;
        color: #000;
        font-size: 14px;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .logout-btn:hover {
        /* color: #007bff; */
         background: none;
    }

    .logout-btn:focus {
        outline: none;
        background: none;
    }
    .mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between; /* ðŸ‘ˆ aa main che */
    padding: 5px 0px 5px 12px;
    /* border-bottom: 1px solid #eee; */
        border-bottom: 1px solid #FFEE58;
    }
        /* Left Side (Image + Name) */
    .mobile-user-left {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .mobile-user-avatar {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        object-fit: cover;
    }

    .mobile-user-name {
        font-size: 16px;
        font-weight: 500;
    }
    a.mobile-user-link {
        border-bottom: none;
    }
    /* Close Button */
    .login-left-image{
        display: none;
    }
    .auth-wrap .signup-btn{
        background: #FFEE58;
    }
    a.login-link{
       border-bottom: none;
        font-size: 12px !important;
        font-weight: 500 !important;
    }
    .mobile-menu a {
        padding: 12px 7px;
        font-size: 12px;
        color: #000;
        text-decoration: none;
        /* border-bottom: 1px solid #FFEE58; */
    }
    .auth-wrap .signup-btn{
         border-bottom: none;
        font-size: 12px !important;
        font-weight: 500 !important;
    }
    .list-view .rating-wrapper{
                display: flex !important;
        align-items: center !important;
        gap: 6px !important;
    }
    .view-more-btn {
        position: absolute;
        top: -22px;
        right: 15px;
        font-weight: 500;
        text-decoration: none;
        color: #3a77ff;
        font-size: 12px;
        text-decoration: none;
    }
     .view-more-btn:hover {
         text-decoration: none;
     }
    .view-more{
        font-size: 12px;
    }
    .swal2-container {
    z-index: 999999 !important;
}

.swal2-popup {
    z-index: 1000000 !important;
}
.search-static {
    font-weight: 500;
    color: #333;
    font-size: 10px!important;
    white-space: nowrap;
}
.search-dynamic {
    font-weight: 500;
    font-size: 10px!important;
    color: #333;
    white-space: nowrap;
    transform-origin: center bottom;
}
.col-md-4.listing-item {
    /* grid-template-columns: repeat(2, 1fr); */
    padding: 26px 12p 25px 12px;
    /* padding-right: calc(var(--bs-gutter-x) * 1.0);
    padding-left: calc(var(--bs-gutter-x) * 1.0); */
}
  .product-title-buy-sell {
                font-size: 12px;
                font-weight: 500;
                color: #111827;
                margin: 0;
                padding-right: 12px;
                line-height: 1.2;
                flex: 1;
                text-align: left;
            }
            .price-amount-buy-sell {
    font-size: 12px;
    font-weight: 600;
    color: #111827;
    line-height: 1;
}
.price-label-buy-sell {
    font-size: 10px;
    color: #9ca3af;
    font-weight: 500;
}
    .product-description {
        font-size: 10px;
    }
    .skills-title-preview {
    font-size: 12px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 10px;
    text-align: left;
}
.detail-label {
      font-size: 10px;
}
.detail-value{
     font-size: 8px;
}
.detail-item {
           display: flex;
        flex-direction: column;
        gap: 5px;
        padding: 3px 8px;
        background: #f0f0f05e;
        border-radius: 12px;
}
.review-toggle {
    cursor: pointer;
    /* font-weight: 500; */
    text-decoration: none;
    color: #007bff;
    font-size: 12px;
}
.seller-preview-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0px 12px;
    border-bottom: 1px solid #F0F0F0;
    margin-bottom: 8px;
    line-height: 22px;  /* //old 37 */
    background: #f0f0f05e;
    gap: 10px;
    border-radius: 12px;
}
.summary-title {
    font-size: 12px;
}
h1.h4.fw-semibold.mb-1.text-dark {
    font-size: 12px;
}
p.text-descriptions {
    font-size: 12px;
    color: #999;
    margin-top: 6px;
    text-align: left;
}
label.form-label.fw-medium {
    font-size: 12.5px;
    margin-top: 0px;
    margin-bottom: 6px;
}
.form-group.mb-4 {
    margin-bottom: 1rem !important;
}
div#dynamicFieldsWrapper {
    margin-top: 0px;
}
.form-controlss {
    font-size: 13px;
    font-weight: 400;
    padding: 8px 12px;
}
.map-preview {
    border: 1px solid #E0E0E0;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 1rem;
    height: 134px;
    background: #f5f5f5;
    position: relative;
}
.map-marker {
    position: absolute;
    width: 22px;
    height: 22px;
    background: #FF4444;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    border: 3px solid white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.map-instruction {
    text-align: center;
    font-size: 9px;
    color: #999;
    margin-top: 0.5rem;
}
.contact-option label i {
    font-size: 12px;
}
.contact-option input[type="radio"] {
    width: 14px;
    height: 14px;
}
small.text-descriptions.left-text {
    display: block;
    color: #666;
    font-size: 10px;
    margin-top: 8px;
}
.tips-section
{
        padding: 16px;
}
.tips-section h5 {
    font-weight: 500;
        margin-bottom: 9px;
        font-size: 12px;
        text-align: left;
}
.cert-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3px 12px;
    background: #f5f4f4;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 10px;
    transition: all 0.3s;
}
.cert-details h6 {
    font-size: 10px;
    font-weight: 400;
    margin: 0;
}
.cert-details p {
    font-size: 10px;
    color: var(--text-muted);
    margin: 0;
    text-align: left;
}
.seller-rating {
    /* display: flex; */
    /* align-items: center; */
    gap: 0px;
    font-size: 11px;
    text-align: left;
    /* display: grid; */
            margin-top: 3px;
    /* grid-template-columns: repeat(1, 1fr); */
display: grid;
grid-template-columns: repeat(1, 1fr);

}
.profile-pic{
    margin-right:0px;
}
.seller-details h6{
    font-size:12px;
}
.tips-card h5 {
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 11px;
    text-align: left;
}
.tips-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 15px 11px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}
.seller-information {
    border-top: 1px solid #d0d0d0;
    padding: 7px 9px 0px 12px;
    color: #FDB913;
    font-size: 12px;
}
h6.mb-3 {
    text-align: left;
    font-size: 12px;
}
h2.mb-1 {
    text-align: left;
    font-size: 14px;
}
p.text-muted {
    text-align: left;
    font-size: 10px;
}
.freelancing-form-card {
    padding: 16px;
}
.freelancing-section-title-s{
        font-size: 12px;
}
textarea.form-input {
    font-size: 10px;
}
.upload-area.mb-3 {
    margin-top: 8px;
}
.tips-box li {
    font-size: 10px;
        margin-top: 8px;
}
.quantity-input {
    width: 57px;
    height: 30px;
    text-align: center;
    padding: 10px;
    border: 2px solid #E5E5E5;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 500;
}
.quantity-btn {
    width: 32px;
    height: 28px;
    border: 2px solid #E5E5E5;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    padding: 0px;
    transition: all 0.3s;
}
.d-flex {
    /* display: unset !important; */
    
}
.d-flex-realestate-area {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}
 .btn-contact, .btn-call {
          width: 100%;
        padding: 4px 4px;
        border-radius: 25px;
        border: none;
        font-size: 12px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.3s;
        margin-bottom: 10px;
        /* background-color: white; */
        /* color: #6E8C94; */
        border: 1px solid #6E8C94;
        }
.tips-card-preview {
    background: white;
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-top: 20px;
    align-items: center;
    justify-content: center;
}
.seller-name {
    font-size: 10px;
    text-align: left;
    font-weight: 500;
    color: #1a1a1a;
    margin-left: 0px;
}
span.launguage {
    font-size: 10px;
    font-weight: bold;
}
.lang-box {
    display: flex;
    align-items: center;
    gap: 3px;
    background: transparent;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    font-weight: 600;
    color: #2d2d2d;
    font-size: 15px;
}
.language-select {
    width: 80px;
    padding: 3px 8px;
    padding-left: 10px !important;
    background-color: #fff9d9;
    border: 2px solid #ffda6b;
    border-radius: 10px;
    font-size: 10px;
    color: #222;
    cursor: pointer;
    outline: none;
}
.lang-box .arrow
 {
    font-size: 10px;
    font-weight: bold;
}
.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 14px;
    font-weight: 500;
    /* margin-top: 10px; */
    padding-top: 5px;
}
    .tip-item {
        margin-bottom: 1px;
        font-size: 10px;
        gap: 3px;
        align-items: center;
    }
        .main-content {
        grid-template-columns: 1fr;
        gap: 17px;
    }
    .step.active .step-number {
    background: #FDB913;
    color: #1a1a1a;
    font-size: 8px;
}
.card-header h2 {
    font-size: 12px;
    font-weight: 400;
    color: #1a1a1a;
    margin-bottom: 8px;
    text-align: left;
}
.card-subtitle {
    font-size: 8px;
    color: #666;
    margin-bottom: 10px;
    text-align: left;
}
.section-title-upload {
    font-size: 12px;
    font-weight: 400;
    color: #1a1a1a;
    margin-bottom: 20px;
    text-align: left;
    /* padding: 30px 1px 0px 1px; */
}
.upload-icon {
    width: 45px;
    height: 43px;
    background: #f6f6f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 3px auto;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.05);
}
.upload-icon i {
    font-size: 24px;
    color: #FFEE58;
}
.guideline-item {
    display: flex;
    /* align-items: flex-start; */
    gap: 10px;
    margin-bottom: 5px;
    font-size: 13px;
    color: #666;
    text-align: left;
}
.upload-text {
    font-size: 12px;
    /* font-weight: 600; */
    color: #1a1a1a;
    margin-bottom: 8px;
}
.upload-hint {
    font-size: 9px;
    color: #999;
    margin-bottom: 8px;
}
.tip-content h6 {
    font-size: 10px;
    font-weight: 400;
    margin-top: 3px;
    color: black;
}
button.file-remove {
    padding: 12px 12px;
}
#certContainer .cert-details h6 {
    font-size: 10px !important;
    font-weight: 500!important;
    margin: 0;
    text-align: left;
}
#certContainer .cert-details p{
     font-size: 9px!important;
    color: #999;
}
.schedule-header h4 {
    font-size: 12px;
    /* font-weight: 600; */
    margin-bottom: 5px;
    text-align: left;
}
.schedule-header p {
    color: var(--text-muted);
    font-size: 8px;
     text-align: left;
}
.availability-note {
    font-size: 8px;
    color: var(--text-muted);
    margin-top: 0px;
    margin-left: 0px;
    margin-bottom: 0px;
}
.availability-toggle label{
    font-size: 10px;
}
.availability-toggle input[type="checkbox"] {
    width: 14px;
    height: 14px;
    cursor: pointer;
}
.weekly-schedule h5 {
            font-weight: 600;
        margin-bottom: 7px;
        font-size: 11px;
        text-align: left;
}
.schedule-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 10px 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.schedule-table td {
    text-align: center;
    padding: 0;
    font-size: 8px;
}
.time-slot.available {
    background-color: #FFEE58;
    color: var(--text-dark);
    width: 40px;
    font-size: 5px;
    height: 29px;
    width: 17px !important;
}
button.time-slot.cancel{
      width: 40px;
    font-size: 5px;
    height: 29px;
    width: 17px !important;
}
.time-slot i {
    font-size: 11px;
}
button.btn-save {
    font-size: 12px;
}
.tip-content p {
    font-size: 8px;
    color: var(--text-muted);
    margin: 0;
}
.cert-item.cert-static {
    padding: 0px 8px;
}
.form-actions{
    display: grid;
grid-template-columns: repeat(2, 1fr);

}
.choose-btn {
    background: #FFEE58;
    border: none;
    padding: 5px 9px;
    border-radius: 12px;
    /* font-weight: 700; */
    font-size: 12px;
    cursor: pointer;
    color: #1a1a1a;
    transition: all 0.3s;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    -ms-border-radius: 12px;
    -o-border-radius: 12px;
}
i.bi.bi-chat {
    font-size: 10px;
}
 .footer-tagline{
            font-size: 12px;
             font-weight:500;
        }
        .badge-wrapper {
    position: absolute;
    top: 15px;
    right: 9px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
       .list-view .badge-wrapper {
    position: absolute;
                top: 15px;
                right: 28px;
                display: flex;
                flex-direction: column;
                gap: 8px;
}

.info-item {
 
    margin: 0;
   
}
.form-label{
  
    /* font-weight: 500; */
    color: #666;
    margin-bottom: 6px;
    font-size: 10px;
    font-weight: 600;
}
.form-sublabel 
{
      color: #666;
    margin-bottom: 6px;
    font-size: 10px;
    font-weight: 600;
}
.toggle-section {
    padding: 6px 17px;
}
.mb-3 {
    margin-bottom: 0 !important;
}
.contact-option label{
    gap: 0px;
}
hr.my-4{
margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
}
.form-select:focus{
    border-color: white !important;
    /* outline: none; */
    /* background: #fff5c2; */
    width: 89px;
    /* margin-top: -8px; */
    margin-left: -5px !important;
    border: none;
    border-radius: none;
}
.contact-option{
    justify-content: flex-start;
    width: 0px;
    padding: 8px 16px;
}
.d-flex.flex-wrap.gap-3.mt-1{
            /* display: unset !important; */
        display: grid !important;
        grid-template-columns: repeat(2, 1fr);
}
    .contact-option input[type="radio"]:checked::before {
        top: 4%;
        left: 4px;
        width: 4px;
        height: 4px;
    }
        button.remove-btn {
    height: auto;
    /* width: 6px !important; */
    background: none;
    font-size: 26px;
    top: -18px;
    right: -3px;
    color: red;
    /* width: 6px !important; */
    }
    .btn-upload-cert {
    /* background-color: #FFF; */
    /* color: #f1bf19; */
    border: 2px solid #f1bf19;
    padding: 8px 21px;
    border-radius: 19px;
    font-size: 10px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}
.post-btn {
    padding: 9px 14px;
    font-size: 14px;
}
.edit-btn{
    padding: 9px 14px;
    font-size: 14px;
}
button.btn{
     font-size: 12px;
}
h2.post-title {

    font-size: 16px;
}
h4.freelancing
{
    font-size: 14px;
}
p.freelancing{
    font-size: 10px;
}
p.form-subtitle-freelancing {
    text-align: left;
    font-size: 10px;
}
small.d-block.mb-3 {
    font-size: 10px;
}
.upload-card p {
    color: var(--text-muted);
    font-size: 12px;
    margin-bottom: 20px;
}
.upload-certifications{
    padding: 13px 13px;
}
.page-header-upload h2 {
    font-size: 16px;
    font-weight: 500;
}
.page-header-upload p{
    font-size: 10px;
}
.upload-card h5{
        font-weight: 500;
    margin-bottom: 10px;
    font-size: 14px;
}
select.form-select.ms-2{
            margin-left: 1px !important;
}
 p.text-muted-product {
             align-items: center;
                    font-size: 10px;
         }
         button.btn-choose-file{
            border-radius: 6px;
            padding: 5px 11px;
            font-weight: 500;
            font-size: 12px;
         }
         .upload-area{
                border: 2px dashed #8f8989;
    border-radius: 15px;
    padding: 8px 8px;
    margin-bottom: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: white;
         }
                  .btn-primary {
    background: #FFEE58;
    color: #1a1a1a;
    width: 100%;
    padding: 7px 6px;
    font-size: 10px;
    border-radius: 11px;
}
.accordion-body {
    font-size: 10px;
    text-align: left;
}
button.accordion-button {
    font-size: 12px;
}
button.accordion-button.collapsed {
    font-size: 12px;
}
button.btn-primary-freelancing {
    border-radius: 12px;
    padding: 8px;
    font-size: 12px;
    gap: 14px;
}
.footer-columns {
    display:grid !important;
    grid-template-columns: repeat(3, 1fr);
}
 }



/* ===== MAIN CONTAINER ===== */
.mh-product-image-container{
      position: relative;
    width: 100%;
    height: 357px;
    border-radius: 12px 12px 0px 0px;
    overflow: hidden;
    background: #f5f5f5;
    aspect-ratio: 16 / 9;
}

/* ===== SLIDER ===== */
.mh-slider{
    width:100%;
    height:100%;
    position:relative;
}
/* ðŸ”¥ badge container */
.mh-badges {
    position: absolute;
    top: 10px;
    right: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 10;
}

/* OPTIONAL polish */
.status-badges {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 20px;
    font-weight: 500;
}

/* example colors (optional if already defined) */
.status-badges.boosted {
    background: #ffd700;
    color: #000;
}

.status-badges.time {
    background: #6f42c1;
    color: #fff;
}
/* ===== IMAGE FIX (MOST IMPORTANT) ===== */
.mh-slide{
    position:absolute;
    inset:0;               /* top:0 left:0 right:0 bottom:0 */
    width:100%;
    height:100%;
    object-fit:cover;      /* full fill without half issue */
    opacity:0;
    transition:0.4s ease;
}

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

/* ===== ARROWS ===== */
.mh-nav-btn{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    background:rgba(0,0,0,0.5);
    color:white;
    border:none;
    padding:8px 12px;
    cursor:pointer;
    border-radius:6px;
    z-index:10;
}

.mh-left{ left:10px; }
.mh-right{ right:10px; }

/* mobile arrows hide */
@media(max-width:768px){
    .mh-nav-btn{ display:none; }
    .mh-product-image-container {
    position: relative;
    width: 100%;
    height: 146px;
    border-radius: 12px 12px 0px 0px;
    overflow: hidden;
    background: #f5f5f5;
    aspect-ratio: 16 / 9;
}

}

/* ===== DOTS ===== */
.mh-slider-dots-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 12px 0 6px 0 !important;
    padding: 0 !important;
    width: 100% !important;
    text-align: center !important;
    clear: both !important;
    position: static !important;
}

.mh-slider-dots-container .mh-slider-dots {
    position: static !important;
    transform: none !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    margin: 0 auto !important;
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    z-index: 1 !important;
}

.mh-slider-dots-container .mh-dot {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: #d1d5db !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    display: inline-block !important;
    flex-shrink: 0 !important;
}

.mh-slider-dots-container .mh-dot.active {
    background: #111827 !important;
    width: 22px !important;
    border-radius: 10px !important;
}

.mh-slider-dots{
    position:absolute;
    bottom:12px;
    left:50%;
    transform:translateX(-50%);
    display:flex;
    gap:8px;
    z-index:10;
}

.mh-dot{
    width:10px;
    height:10px;
    border-radius:50%;
    background:rgba(255,255,255,0.6);
    cursor:pointer;
}

.mh-dot.active{
    background:white;
}

button#loadMoreBtn {
    display: unset !important;
}
  .cert-item{
            display:flex;
            justify-content:space-between;
            align-items:center;
            padding:15px;
            border:1px solid #ddd;
            border-radius:8px;
            margin-bottom:15px;
        }

        .cert-info{
            display:flex;
            align-items:center;
            gap:15px;
        }

           .file-open {
            background: none;
            border: none;
            color: #DC3545;
            cursor: pointer;
            font-size: 18px;
            padding: 12px;
            
        }


        .file-remove:hover{
            background:#0056b3;
        }

        /* ===== MODAL ===== */

        .cert-modal{
            display:none;
            position:fixed;
            inset:0;
            background:rgba(0,0,0,0.7);
            z-index:9999;
            justify-content:center;
            align-items:center;
        }

        .cert-modal.show{
            display:flex;
        }

        .cert-modal-content{
            background:#fff;
            width:80%;
            max-width:650px;
            padding:35px;
            border-radius:12px;
            position:relative;
            animation:zoomIn .3s ease;
        }

        .cert-close{
            position:absolute;
            top:10px;
            right:20px;
            font-size:28px;
            cursor:pointer;
            font-weight:bold;
            color: red;        }

        @keyframes zoomIn{
            from{transform: translateZ(0) scale(.7);opacity:0;}
            to{transform: translateZ(0) scale(1);opacity:1;}
        }
        span.listing-badge.badge-day {
            color: #ffe86b;
            width: auto;
        }

        .image-wrapper {
    position: relative;
    width: 100%;
}

.image-wrapper img {
    width: 100%;
    display: block;
    border-radius: 22px 22px 0px 0px;
}

/* Common badge style */
.status-badges {
    position: absolute;
   left: 10px;
    right: auto;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}
.badges-wrapper {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: flex-start;
    z-index: 10;
}
.status-badges {
  
    white-space: nowrap;
    /* Ensure absolute positioning is removed from individual badges */
    position: relative !important;
    top: auto !important;
    left: auto !important;
}
.badge-group {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* RIGHT SIDE ICONS */
.icon-group {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

/* COMMON STYLE */
.three-dot-menu,
.wishlist-icon {
    background: #ffffff !important;
    border-radius: 50% !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 34px !important;
    height: 34px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.18) !important;
    color: #ff4d4d !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    box-sizing: border-box !important;
}

.three-dot-menu {
    color: #1e293b !important;
}

.wishlist-icon:hover,
.three-dot-menu:hover {
    background: #ffffff !important;
    transform: translateZ(0) scale(1.08) !important;
    box-shadow: 0 3px 8px rgba(0,0,0,0.25) !important;
}

.wishlist-icon i,
.three-dot-menu i {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
}
 .action-btn {
        width: 100%;
        padding: 10px;
        border: none;
        border-radius: 8px;
        background: #FFEE58;
        color: #000;
        font-weight: 500;
        transition: 0.3s;
    }

    .action-btn:hover {
        background: #ffc107;
    }

    .action-btn.active {
        background: #28a745;
        color: #fff;
    }
@media (max-width: 576px) {
    i.bi.bi-heart,
    i.bi.bi-heart-fill {
        font-size: 13px !important;
    }
    .contact-btn {
        font-size: 10px;
    }
    /* Image wrapper */
    .image-wrapper {
        position: relative;
    }

    /* LEFT BADGES (thoda small) */
    .badge-group {
        top: 8px;
        left: 8px;
        gap: 6px;
    }

    .status-badges {
        font-size: 11px;
        padding: 4px 8px;
    }

    /* RIGHT ICONS (compact size) */
    .icon-group {
        top: 8px;
        right: 8px;
        gap: 8px;
    }

    .three-dot-menu,
    .wishlist-icon {
        padding: 0 !important;
        font-size: 12px;
        width: 28px !important;
        height: 28px !important;
        background: #ffffff !important;
    }

    /* Image height adjust (optional) */
    .product-image {
        height: 180px;
        object-fit: cover;
    }
}
/* Top badge */
.status-badges.boosted {
    top: 10px;
    background: #ffe86b;
    color:black;
}

/* Below boosted */
.status-badges.time {
    top: 40px;   /* gap from top */
    background: purple;
        color: #ffe86b;
            width: auto;
}
.status-badges.day {
    top: 70px;   /* gap from top */
    background: black;
        color: #ffe86b;
}
@media(max-width:768px){
    
.image-wrapper img {
    width: 100%;
    display: block;
     border-radius: 14px 14px 0px 0px;
}

    .status-badges {
    position: absolute;
    right: 10px;
    left: auto;
    padding: 1px 8px;
    border-radius: 20px;
    font-size: 8px;
    font-weight: 600;
    right: auto;
        left: 10px;
        
}
.status-badges.time {
    top: 27px;
    background: purple;
    color: #ffe86b;
    width: auto;
    gap: 4px;
        font-size: 8px;
}
.status-badges.boosted {
    top: 10px;
    background: #ffe86b;
    color: black;
    font-size: 8px;
}
.status-badges.day {
    top: 44px;
    background: black;
    color: #ffe86b;
}
}
.listing-item-sliders
 {
    flex: 0 0 33.3333%;
    padding: 15px;
    box-sizing: border-box;
    justify-content: center;
    display: flex;
}
.extra-review{
display:none;
}
.bottom-heder {
    display: none !important;  
}
    @media(max-width:768px){
        .bottom-heder {
            display: block !important;
            margin-top: 7px;
        }
        .listing-item-sliders
        {
            flex: 0 0 33.3333%;
            box-sizing: border-box;
            padding: 12px 0px;
            flex: 0 0 50%;
            max-width: 48%;
            justify-content: center;
            display: flex;
        }
        .filter-header .filter-tabs,
        #filterTabs
        {
            display: none !important;
        }
        .bottom-heder .filter-tabs,
        #filterTabss{
            display: flex !important;  
        }
            .seller-ratings {
        /* display: flex; */
        /* align-items: center; */
        gap: 0px;
        font-size: 10px;
        text-align: left;
        /* display: grid; */
        margin-top: 3px;
        /* grid-template-columns: repeat(1, 1fr); */
                display: grid;
        grid-template-columns: repeat(1, 1fr);
    }
    .seller-member {
        font-size: 10px;
        color: #999;
    }
    .progress-text {
        font-size: 10px;
        color: #777;
        margin-top: 6px;
        text-align: left;
    }
    img.profile-pic {
    border-radius: 50px;
    width: 44px;
    height: 44px;
    }
    }








        .carousel-container {
            position: relative;
            width: 100%;
        }

        .slider-wrapper {
            touch-action: pan-y; 
    user-select: none;
            overflow: hidden;
            /* Prevent overflow */
            width: 100%;

        }

        .slider-wrapper1 {
            overflow: hidden;
            /* Prevent overflow */
            width: 100%;

        }

        .slider-wrapper2 {
            overflow: hidden;
            /* Prevent overflow */
            width: 100%;

        }

        #listing-container {
            display: flex;
            transition: transform 0.2s ease-in-out;
        }
      

        #listing-container1 {
            display: flex;
            transition: transform 0.2s ease-in-out;
        }

        #listing-container2 {
            display: flex;
            transition: transform 0.2s ease-in-out;
        }

        .listing-item {
            flex: 0 0 33.3333%;
            /* 3 items visible */
            padding: 15px;
            box-sizing: border-box;
            justify-content: center;
            display: flex;
        }

        .product-card {
            background: #fff;
            border-radius: 24px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
            overflow: hidden;
        }


        .product-body {
            padding: 15px;
        }

        .list-mode #listing-container {
            display: block;
            transform: none !important;
        }

        .list-mode #listing-container1 {
            display: block;
            transform: none !important;
        }

        .list-mode #listing-container2 {
            display: block;
            transform: none !important;
        }

        .list-mode .listing-item {
            width: 100%;
            flex: 0 0 100%;
        }

        .list-mode .arrow-left,
        .list-mode .arrow-right {
            display: none;
        }

        .slider-wrapper {
            overflow: hidden;
            cursor: grab;
        }

        .slider-wrapper.dragging {
            cursor: grabbing;
        }

        .slider-wrapper1 {
            overflow: hidden;
            cursor: grab;
        }

        .slider-wrapper1.dragging {
            cursor: grabbing;
        }

        .slider-wrapper2 {
            overflow: hidden;
            cursor: grab;
        }

        .slider-wrapper2.dragging {
            cursor: grabbing;
        }
         #listing-container-filter {
            display: flex;
            transition: transform 0.3s ease;
        }
        #listing-container {
            display: flex;
            transition: transform 0.3s ease;
        }

        #listing-container1 {
            display: flex;
            transition: transform 0.3s ease;
        }

        #listing-container2 {
            display: flex;
            transition: transform 0.3s ease;
        }

        .listing-item-slide1 {
            flex: 0 0 33.3333%;
            padding: 15px;
            box-sizing: border-box;
            justify-content: center;
            display: flex;
        }

        .listing-item-slide2 {
            flex: 0 0 33.3333%;
            padding: 15px;
            box-sizing: border-box;
            /* justify-content: center; */
            /* display: flex; */
        }

        /* Hide slider arrows on tablet & mobile (up to 1024px) */
        @media (max-width: 1024px) {
            #prevBtnlist,
            #nextBtnlist,
            #prevBtnlist1,
            #nextBtnlist1,
            #prevBtnlist2,
            #nextBtnlist2,
            .arrow-left,
            .arrow-right,
            .arrow-btn {
                display: none !important;
            }
        }

        /* Responsive */
        @media (max-width: 768px) {
            .listing-item {
                flex: 0 0 100%;
                /* 1 item on mobile */
                display: block;
            }

            /* Hide arrows */
            #prevBtnlist,
            #nextBtnlist {
                display: none !important;
            }

            #prevBtnlist1,
            #nextBtnlist1 {
                display: none !important;
            }

            #prevBtnlist2,
            #nextBtnlist2 {
                display: none !important;
            }

            /* Wrapper full width + horizontal scroll */
            .slider-wrapper,
            .slider-wrapper1,
            .slider-wrapper2 {
                overflow-x: auto !important;
                overflow-y: hidden !important;
                -webkit-overflow-scrolling: touch !important;
                scroll-snap-type: x mandatory !important;
                scrollbar-width: none !important;
                -ms-overflow-style: none !important;
                touch-action: pan-x pan-y !important;
                width: 100% !important;
                max-width: 100% !important;
                flex: 0 0 100% !important;
                cursor: grab;
                padding-left: 0 !important;
                padding-right: 0 !important;
            }

            .slider-wrapper::-webkit-scrollbar,
            .slider-wrapper1::-webkit-scrollbar,
            .slider-wrapper2::-webkit-scrollbar {
                display: none !important;
            }

            .slider-wrapper.dragging,
            .slider-wrapper1.dragging,
            .slider-wrapper2.dragging {
                cursor: grabbing;
                scroll-snap-type: none !important;
            }

            .list-view .listing-item-filter {
                display: grid;
                grid-template-columns: repeat(1, 1fr);
            }

            /* Flex container for horizontal scroll */
            #listing-container-filter {
                flex-wrap: nowrap;
                transition: transform 0.3s ease;
                gap: 0px;
                box-shadow: none !important;
                display: grid;
                grid-template-columns: repeat(2, 1fr);
            }

            #listing-container,
            #listing-container1,
            #listing-container2 {
                display: flex !important;
                flex-wrap: nowrap !important;
                gap: 8px !important;
                box-shadow: none !important;
                width: 100% !important;
                margin-left: 0px !important;
                margin-right: 0px !important;
                padding: 2px 0px 8px 0px !important;
                box-sizing: border-box !important;
            }

            .listing-item-slide,
            .listing-item-slide1,
            .listing-item-slide2 {
                flex: 0 0 calc((100% - 8px) / 2) !important;
                max-width: calc((100% - 8px) / 2) !important;
                width: calc((100% - 8px) / 2) !important;
                min-width: calc((100% - 8px) / 2) !important;
                box-sizing: border-box !important;
                padding: 0px !important;
                margin: 0px !important;
                scroll-snap-align: start !important;
                scroll-snap-stop: normal !important;
            }

            /* Each card full width */
             .listing-item-filter {
                flex: 0 1 100%;
                /* one card full width */
                max-width: 100%;
                box-sizing: border-box;
                padding: 10px;
            }
            .listing-item {
                flex: 0 1 100%;
                /* one card full width */
                max-width: 50%;
                box-sizing: border-box;
                padding: 10px;
            }

            /* Card responsive */
            .product-card {
                width: 100%;
                border-radius: 14px;
                box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
            }

            .product-image {
                width: 100%;
                height: auto;
                object-fit: cover;
            }

            .view-more {
                padding: 0px;
            }

            .listing-item-slide1 {
                /* flex: 0 1 100%; */
                max-width: 100%;
                box-sizing: border-box;
                padding: 12px 0px;
                flex: 0 0 50%;
                max-width: 48%;
                justify-content: center;
                display: flex;
            }

            .listing-item-slide2 {
                /* flex: 0 1 100%; */
                max-width: 100%;
                box-sizing: border-box;
                padding: 12px 0px;
                flex: 0 0 50%;
                max-width: 48%;
                justify-content: center;
                /* display: flex; */
            }
            i.bi.bi-phone {
                background: none;
                    padding: 0px;
            }
            i.bi.bi-car-front {
                background: none;
                    padding: 0px;
            }
            i.bi.bi-plug{
                background: none;
                    padding: 0px;
            }
            i.bi.bi-bicycle{
                background: none;
                    padding: 0px;
            }
            label.toggle-switch {
                /* position: relative; */
                display: flex;
                justify-content: space-between;
                align-items: center;
                gap: 20px;
                padding: 10px 25px;
                border-radius: 14px;
                background: #f5f5f5;
                width: 100%;
            }
           input#forRent {
                margin-top: 0px;
            }
            input#forSale {
                margin-top: 0px;
            }
             input#readyMove {
                margin-top: 0px;
            }
            input#offPlan {
                margin-top: 0px;
            }
            
        }
        .ts-control {
    width: 100%!important;
    padding: 10px 14px!important;
    background: #fff9d9!important;
    border: 2px solid #ffda6b!important;
    border-radius: 10px!important;
    font-size: 0.9375rem!important;
    color: #222!important;
    margin-bottom: 10px!important;
    -webkit-border-radius: 10px!important;
    -moz-border-radius: 10px!important;
    -ms-border-radius: 10px!important;
    -o-border-radius: 10px!important;
}
.containeres {
    margin-top: 0px !important;
}
label.model-years {
    font-size: 13px;
    font-weight: 500;
}
label.location {
    font-size: 13px;
    font-weight: 500;
}
label.company {
    font-size: 13px;
    font-weight: 500;
}
label.available-services {
    font-size: 13px;
    font-weight: 500;
}
#backToTop{
display: none;
    position: fixed;
    bottom: 22px;
    right: 16px;
    background: #FFEE58;
    color: #000;
    border: none;
    /* min-width: 40px; */
    width: 0px;
    height: 52px;
    border-radius: 50%;
    font-size: 16px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 999;
}
span.dropdown-item {
    font-size: 16px;
}
span.status-text {
    font-size: 16px;
}
/* show only mobile */
@media (min-width:769px){
    label.model-years {
    font-size: 13px;
    font-weight: 500;
}
 label.location {
    font-size: 13px;
    font-weight: 500;
}
 label.company {
    font-size: 13px;
    font-weight: 500;
}
 label.available-services {
    font-size: 13px;
    font-weight: 500;
}
input[type="number"] {
    font-size: 13px !important;
}
    .ts-control {
    width: 100%;
    padding: 10px 14px;
    background: #fff9d9;
    border: 2px solid #ffda6b;
    border-radius: 10px;
    font-size: 0.9375rem;
    color: #222;
    margin-bottom: 10px;
}
#backToTop{
display:none !important;
}
}


        .list-view .info-item {
            display: flex !important;
            align-items: center !important;
            gap: 6px !important;
            margin: 0 !important;
            float: none !important;
            color: #6c757d !important;
        }
h6.timer-bost {
    /* font-size: 16px; */
    font-size: 15px;
    color: #777;
}
.list-view .custom-dropdown {
            position: absolute;
            top: 36px;
            right: auto;
            left: 75px;
            background: #fff;
            border-radius: 10px;
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
            padding: 6px 0;
            z-index: 999;
            width: 170px;
            transition: all 0.2s ease;
        }
        .curve-slider.list-mode {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 15px;
    transform: none !important;
    overflow: visible !important;
}

.curve-slider.list-mode .cat-box {
        width: 100% !important;
    height: 119px;
    /* transform: none !important; */
    opacity: 1 !important;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
}


.curve-slider.list-mode ~ .slider-btn {
    display: none !important;
}

.cat-toggle-btn.active {
    background-color: #fff;
    color: black;
}

@media (max-width: 768px) {
    .curve-slider.list-mode {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    span.category_name {
    font-size: 12px;
    font-weight: 400;
}
.sub_category{
     font-size: 10px;
    font-weight: 400;
}
button.nav-link.logout-btn {
    font-size: 12px;
    padding: 12px 7px;
}
}
.search-icon-btn{
    z-index: 99;
}

.cube-container{
    pointer-events: none;
}
.clear-search-btn{
    position: absolute;
    right: 55px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    font-size: 22px;
    font-weight: 600;
    color: #777;
    cursor: pointer;
    display: none;
    z-index: 99;
    line-height: 1;
}
.cert-close{
    /* position: absolute;
    top: 30px;
    right: 64px;
    font-size: 34px;
    cursor: pointer;
    z-index: 10;
    color: black; */
       position: absolute;
        top: 42px;
        right: 64px;
        font-size: 24px;
        cursor: pointer;
        z-index: 10;
        color: black;
        background: white;
        padding: 0px 7px;
        border-radius: 41px;
       height: 45px;
    width: 44px;
        border: 4px solid #FFEE58;

}
button#clearSearch:hover {
    background: none;
    color: gray;
}
        @media (max-width: 768px) {
            .seller-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 12px 0px;
}
            button#clearSearch {
            /* padding: 0px; */
            /* right: 72px; */
            font-size: 16px;
        }
        span.isonline {
            padding-right: 10px !important;
            font-size: 8px;
        }
          div#chat-messages-container{
            padding: 18px 10px !important;
           }
           img.chat-profile {
                width: 34px !important;
                height: 34px !important;
                border-radius: 50px;
            }
            p.location_name {
                margin-bottom: 0px;
            }
              h6.user_name {
                margin-bottom: 0px!important;
            }
            p.text-descriptions.form-text {
            margin: 0px;
            }
            #certPreview{
                width: 100%;
                max-width: 100%;
                overflow: hidden;
            }

            .cert-item{
                width: 100%;
                max-width: 100%;
                display: flex;
                align-items: center;
                justify-content: space-between;
                gap: 10px;
                padding: 10px 14px;
                border: 1px solid #ddd;
                border-radius: 10px;
                background: #f8f8f8;
                overflow: hidden;
                box-sizing: border-box;
            }

            .cert-info{
                flex: 1;
                min-width: 0;
                display: flex;
                align-items: center;
                gap: 8px;
                overflow: hidden;
            }

            .cert-info span{
                display: block;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;   /* one line */
                max-width: 100%;
            }

            .btn-remove-cert{
                flex-shrink: 0;
                border: none;
                background: transparent;
                color: #000;
                padding: 0 4px;
            }
            div#order2 {
                order: 1;
            }
            div#order1 {
                order: 2;
            }
            #loginContainer{
                margin-top:10px !important;
            }
            .cert-close {
    /* position: absolute;
    top: 26px;
    right: 33px;
    font-size: 27px;
    cursor: pointer;
    z-index: 10;
    color: black; */
           position: absolute;
        top: 37px;
        right: 40px;
        font-size: 16px;
        cursor: pointer;
        z-index: 10;
        color: black;
        background: white;
        padding: 0px 7px;
        border-radius: 41px;
        height: 28px;
        width: 28px;
        border: 2px solid #FFEE58;
}
}
.cert-preview-container { margin-top: 15px; display: flex; flex-wrap: wrap; justify-content: center; }
.cert-item {
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    min-width: 150px;
}
.cert-info i { color: #555; }
.btn-remove-cert {
    background: none;
    color: black;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mh-slide {
    cursor: pointer;
}

.mh-image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
}

.mh-image-modal.show {
    display: flex;
}

.mh-modal-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
}

.mh-close-btn {
    position: absolute;
    top: 20px;
    right: 35px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
}

@keyframes zoomIn {
    from {
        transform: translateZ(0) scale(0.7);
        opacity: 0;
    }
    to {
        transform: translateZ(0) scale(1);
        opacity: 1;
    }
}
.cert-modal{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.75);
    z-index:9999;
}

.cert-modal-content{
    position:relative;
    width:90%;
    max-width:1000px;
    height:90vh;
    margin:3vh auto;
    background:#fff;
    border-radius:16px;
    overflow:hidden; /* important */
    box-shadow:0 10px 40px rgba(0,0,0,.25);
}

.cert-viewer{
    width:100%;
    height:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden; /* image bahar nai jay */
    padding:20px;
    box-sizing:border-box;
}

#certImage{
    max-width:100%;
    max-height:100%;
    object-fit:contain;
    transition:transform .25s ease;
    transform: translateZ(0) scale(1);
    display:none;
}

#certPDF{
    width:100%;
    height:100%;
    border:none;
    display:none;
}


/* .cert-close {
    position: absolute;
    top: 26px;
    right: 33px;
    font-size: 27px;
    cursor: pointer;
    z-index: 10;
    color: black;
} */
.cert-zoom-controls{
    position:absolute;
    bottom:20px;
    left:50%;
    transform:translateX(-50%);
    display:flex;
    gap:12px;
    z-index:10;
    background:rgba(255,255,255,.95);
    padding:10px 14px;
    border-radius:50px;
    box-shadow:0 6px 20px rgba(0,0,0,.15);
}

.cert-zoom-controls button{
    width:46px;
    height:46px;
    border:none;
    border-radius:50%;
    background:#f5f5f5;
    cursor:pointer;
    font-size:18px;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:.2s;
}

.cert-zoom-controls button:hover{
    background:#e9e9e9;
    transform: translateZ(0) scale(1.08);
}
p#mapText {
    text-align: center;
}
p.Terms-disc {
    color: black;
}
.no-items-message{
    text-align:center;
    margin-top:20px;
    padding:14px;
    border-radius:10px;
    background:#f8f9fa;
    color:#666;
    font-weight:500;
}
/* .btn-remove-cert:hover { background: #cc0000; } */
.product-description {
    max-width: 500px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.6;
}
.optional-details-wrapper{
    margin-top:20px;
}

.optional-header{
    border:1px dashed #8b5cf6;
    background:#f5f6ff;
    padding:18px 24px;
    border-radius:12px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    cursor:pointer;
    color:#6366f1;
    font-weight:600;
}

.optional-badge{
    background:#e5e7eb;
    color:#6b7280;
    font-size:12px;
    padding:3px 10px;
    border-radius:20px;
    margin-left:10px;
    display: inline-block;
}

.plus-icon{
    font-size:22px;
    margin-right:8px;
}

#optionalFields{
    padding-top:20px;
}

/* â”€â”€ Form validation error alignment â”€â”€ */
.form-group .text-danger,
.form-group .field-error {
    display: block;
    font-size: 12px;
    color: #dc2626;
    margin-top: 4px;
    line-height: 1.4;
}

.form-group {
    position: relative;
}

.form-input.is-invalid,
.form-controlss.is-invalid,
textarea.form-input.is-invalid,
select.form-input.is-invalid,
.upload-area.is-invalid {
    border-color: #dc2626 !important;
    box-shadow: none !important;
}

/* ===== Unified form validation error style (step 1 & step 2) ===== */
.form-group span.text-danger,
.form-group .text-danger,
.form-group .field-error {
    display: block !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    color: #dc2626 !important;
    margin-top: 4px !important;
    line-height: 1.4 !important;
    text-align: left !important;
    margin-left: 0 !important;
}
.form-input.is-invalid,
textarea.form-input.is-invalid,
select.form-input.is-invalid {
    border-color: #dc2626 !important;
    box-shadow: none !important;
}

.form-controlss.is-invalid {
    border-color: #dc2626 !important;
    box-shadow: none !important;
}

/*product preview css*/ 
/* ============================================================
   OLX-STYLE PREVIEW PAGE (buy/sell preview) — "op-" prefix
   Used by: buysell preview page (and any other preview page
   that reuses these same op- classes)
============================================================ */

.op-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 24px;
    align-items: start;
    margin-top: 22px;
}

.op-main {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
}

.op-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 20px;
    min-width: 0;
}

.op-sidebar form{
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.op-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 22px 24px;
}

.op-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 14px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ---- gallery card ---- */
.op-gallery-card { padding: 0; overflow: hidden; }
.op-gallery-card .mh-product-image-container { height: 460px; border-radius: 20px 20px 0 0; }

/* ---- title / price card ---- */
.op-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
}

.op-title {
    font-size: 22px;
    font-weight: 600;
    color: #111827;
    line-height: 1.3;
    flex: 1;
    min-width: 220px;
    text-align: left;
    overflow-wrap: anywhere;
    margin: 0;
}

.op-price-block { text-align: right; flex-shrink: 0; }

.op-price {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    line-height: 1.1;
}

.op-fixed-pill {
    display: inline-block;
    margin-top: 6px;
    background: rgba(255, 238, 88, 0.45);
    color: #7a6a00;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
}

.op-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.op-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #F5F5F5;
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

/* ---- description card ---- */
.op-desc-text {
    font-size: 14px;
    color: #4b4b4b;
    line-height: 1.75;
    text-align: left;
    margin: 0;
    overflow-wrap: anywhere;
}

/* ---- detail sections (Product Details / Location / Contact / Optional) ---- */
.op-list { display: flex; flex-direction: column; }

.op-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.op-row:first-child { padding-top: 0; }
.op-row:last-child { padding-bottom: 0; border-bottom: none; }

.op-row-label {
    font-size: 13px;
    color: #7b7b7b;
    font-weight: 500;
    text-align: left;
    flex-shrink: 0;
}

.op-row-value {
    font-size: 14px;
    color: #1a1a1a;
    font-weight: 600;
    text-align: right;
    overflow-wrap: anywhere;
}

/* ---- long-value rows (addresses, multi-line values) stack instead of
       sitting side-by-side, so they don't wrap awkwardly right-aligned ---- */
/* long values (like full addresses) wrap into multiple lines
   but stay right-aligned, matching City/State rows */
.op-row-wrap .op-row-value {
    max-width: 60%;
    text-align: left;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .op-row-wrap .op-row-value {
        max-width: 100%;
    }
}
.op-card-title i { color: #d4a900; font-size: 14px; }

/* ---- sidebar: summary ---- */
.op-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.op-summary-row span:last-child { font-weight: 600; color: #1a1a1a; }

.op-summary-total {
    display: flex;
    justify-content: space-between;
    padding-top: 14px;
    margin-top: 4px;
    border-top: 2px solid #F0F0F0;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
}

/* ---- sidebar: actions ---- */
.op-actions { display: flex; flex-direction: column; gap: 12px; }

.op-btn {
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
    width: 100%;
}

.op-btn-primary { background: #FFEE58; color: #1a1a1a; }
.op-btn-primary:hover { background: #f5e100; color: #1a1a1a; }

.op-btn-secondary { background: #fff; color: #1a1a1a; border: 2px solid #E0E0E0; }
.op-btn-secondary:hover { border-color: #FFEE58; }

.op-btn:focus-visible { outline: 3px solid rgba(255, 238, 88, 0.7); outline-offset: 2px; }

/* ---- sidebar: uploaded files reuse .cert-item from global stylesheet ---- */
.op-files-card .cert-item:last-child { margin-bottom: 0; }

/* ---- sidebar: tips card ---- */
.op-tips-card {
    background: #FFFBEA;
    border: 1px solid #FFE9A8;
    box-shadow: none;
}

.op-tips-card .op-card-title { color: #7a6a00; margin-bottom: 12px; }
.op-tips-card .op-card-title i { color: #d4a900; }

.op-tips-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }

.op-tips-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: #6b5c00;
    text-align: left;
    line-height: 1.5;
}

.op-tips-list li i { color: #22C55E; margin-top: 2px; flex-shrink: 0; }

/* ---- mobile sticky action bar spacer ---- */
.op-bottom-spacer { display: none; }

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

@media (max-width: 1024px) {
    .op-grid { grid-template-columns: 1fr; }
    .op-sidebar { position: static; }
    .op-gallery-card .mh-product-image-container { height: 380px; }
}

@media (max-width: 768px) {
    .op-grid { gap: 14px; margin-top: 12px; }
    .op-card { padding: 16px; border-radius: 16px; }
    .op-gallery-card .mh-product-image-container { height: 240px; border-radius: 16px 16px 0 0; }

    .op-title { font-size: 16px; min-width: 0; }
    .op-price { font-size: 20px; }
    .op-price-block { text-align: left; }
    .op-title-row { flex-direction: column; gap: 8px; }
    .op-meta span { font-size: 11px; padding: 5px 10px; }
    .op-card-title { font-size: 13px; }
    .op-desc-text { font-size: 12px; }

    .op-row { padding: 9px 0; gap: 10px; }
    .op-row-label { font-size: 11px; }
    .op-row-value { font-size: 12px; }

    /* Actions card becomes a fixed bottom bar, OLX app style */
    .op-actions-card {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 500;
        border-radius: 0;
        box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.12);
        padding: 12px 14px;
        padding-bottom: calc(12px + env(safe-area-inset-bottom));
    }

    .op-actions { flex-direction: row; gap: 10px; }
    .op-btn { padding: 12px 10px; font-size: 13px; }

    .op-bottom-spacer { display: block; height: 78px; }
}

@media (max-width: 480px) {
    .op-gallery-card .mh-product-image-container { height: 210px; }
    .op-row { flex-direction: column; align-items: flex-start; gap: 3px; }
    .op-row-value { text-align: left; }
    
}

/* =========================================================
   RTL support (mirrors the rest of the site)
========================================================= */

[dir="rtl"] .op-card-title,
[dir="rtl"] .op-title,
[dir="rtl"] .op-desc-text,
[dir="rtl"] .op-row-label,
[dir="rtl"] .op-tips-list li {
    text-align: right;
    direction: rtl;
}

[dir="rtl"] .op-row-value { text-align: left; }
[dir="rtl"] .op-row-wrap .op-row-value {text-align: left;}
[dir="rtl"] .op-price-block { text-align: left; }
[dir="rtl"] .op-title-row { flex-direction: row-reverse; }
[dir="rtl"] .op-row,
[dir="rtl"] .op-summary-row,
[dir="rtl"] .op-summary-total { flex-direction: row-reverse; }

@media (max-width: 768px) {
    .nav-items, .desktop-menu {
        display: none !important;
    }
    .mobile-toggle-btn {
        display: inline-flex !important;
    }
}

@media (min-width: 769px) {
    .mobile-toggle-btn, button#menuToggle {
        display: none !important;
    }
}

.op-ad-review-row {
    display: flex; align-items: center; justify-content: space-between;
    border-bottom: 1px solid #f0f0f0; padding-bottom: 10px; margin-bottom: 14px;
}
.op-ad-review-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: #fff8e1; color: #a86b00; border: 1px solid #ffe082;
    font-size: 11px; font-weight: 700; text-transform: uppercase;
    letter-spacing: .03em; padding: 5px 12px; border-radius: 6px;
}
.op-ad-id { font-size: 11px; color: #999; font-family: monospace; }

/* Mobile Responsive & Desktop Responsive Pill Options */
.pill-options,
.d-flex.flex-wrap {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 8px 8px !important;
    align-items: center !important;
    width: 100% !important;
    margin-top: 6px !important;
    margin-bottom: 12px !important;
}

.pill-options .btn-outline-secondary.rounded-pill,
.pill-options .btn.rounded-pill,
.pill-options label.btn,
.pill-options .pill,
.pill-options .btn,
.btn-outline-secondary.rounded-pill,
.btn-check + .btn-outline-secondary.rounded-pill {
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    color: #374151;
    white-space: normal;
    text-align: center;
    padding: 6px 15px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 50px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    cursor: pointer;
    line-height: 1.3;
    min-height: 34px;
    margin: 0;
}

.pill-options .btn-outline-secondary.rounded-pill:hover,
.btn-outline-secondary.rounded-pill:hover,
.btn-check + .btn-outline-secondary.rounded-pill:hover {
    background-color: #fef3c7;
    border-color: #ffee58;
    color: #000000;
}

.btn-check:checked + .btn-outline-secondary.rounded-pill,
.pill-options .btn-check:checked + .btn-outline-secondary.rounded-pill {
    background-color: #FFEE58 !important;
    border-color: #FFEE58 !important;
    color: #000000 !important;
    font-weight: 600 !important;
}

@media (max-width: 768px) {
    .pill-options,
    .d-flex.flex-wrap {
        gap: 6px 6px !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        margin-top: 4px !important;
        margin-bottom: 8px !important;
    }

    .pill-options .btn-outline-secondary.rounded-pill,
    .pill-options .btn.rounded-pill,
    .pill-options label.btn,
    .pill-options .pill,
    .pill-options .btn,
    .btn-outline-secondary.rounded-pill,
    .btn-check + .btn-outline-secondary.rounded-pill {
        width: auto !important;
        padding: 5px 12px !important;
        font-size: 12px !important;
        line-height: 1.3 !important;
        min-height: 30px !important;
        flex: 0 0 auto !important;
    }
}

@media (max-width: 480px) {
    .pill-options,
    .d-flex.flex-wrap {
        gap: 5px 5px !important;
    }

    .pill-options .btn-outline-secondary.rounded-pill,
    .pill-options .btn.rounded-pill,
    .pill-options label.btn,
    .pill-options .pill,
    .pill-options .btn,
    .btn-outline-secondary.rounded-pill,
    .btn-check + .btn-outline-secondary.rounded-pill {
        padding: 4px 10px !important;
        font-size: 11px !important;
        min-height: 28px !important;
    }
}

/* Helper Text & Character Limit Notes Mobile Responsiveness */
small.text-muted,
.form-text,
.text-muted.d-block,
small.d-block,
.form-group small,
.form-group .text-muted,
p.text-muted {
    font-size: 12px;
    line-height: 1.4;
    color: #64748b !important;
}

@media (max-width: 768px) {
    small.text-muted,
    .form-text,
    .text-muted.d-block,
    small.d-block,
    .form-group small,
    .form-group .text-muted,
    p.text-muted {
        font-size: 11px !important;
        line-height: 1.35 !important;
    }
}

@media (max-width: 480px) {
    small.text-muted,
    .form-text,
    .text-muted.d-block,
    small.d-block,
    .form-group small,
    .form-group .text-muted,
    p.text-muted {
        font-size: 10.5px !important;
        line-height: 1.3 !important;
    }
}

/* Form Section Headers & Location Titles Mobile Responsiveness */
.form-header-real-estate,
.form-header {
    text-align: left;
    margin-bottom: 1.25rem !important;
}

.form-header-real-estate h1,
.form-header-real-estate h2,
.form-header-real-estate h3,
.form-header-real-estate h4,
.form-header h1,
.form-header h2,
.form-header h3,
.form-header h4,
.mod-card-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    color: #1e293b;
    margin-bottom: 4px;
}

.form-subtitle,
.text-descriptions {
    font-size: 13px;
    line-height: 1.4;
    color: #64748b;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .form-header-real-estate h1,
    .form-header-real-estate h2,
    .form-header-real-estate h3,
    .form-header-real-estate h4,
    .form-header h1,
    .form-header h2,
    .form-header h3,
    .form-header h4,
    .mod-card-title {
        font-size: 15px !important;
        line-height: 1.3 !important;
    }

    .form-subtitle,
    .text-descriptions {
        font-size: 11.5px !important;
        line-height: 1.35 !important;
    }
}

@media (max-width: 480px) {
    .form-header-real-estate h1,
    .form-header-real-estate h2,
    .form-header-real-estate h3,
    .form-header-real-estate h4,
    .form-header h1,
    .form-header h2,
    .form-header h3,
    .form-header h4,
    .mod-card-title {
        font-size: 14px !important;
        line-height: 1.3 !important;
    }

    .form-subtitle,
    .text-descriptions {
        font-size: 11px !important;
        line-height: 1.3 !important;
    }
}

/* Action Buttons: Desktop (natural auto-width, right-aligned) & Mobile (single horizontal row) */
.form-actions,
.form-actions.buy_sell_form {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 12px !important;
    width: 100% !important;
    margin-top: 24px !important;
}

.form-actions .btn,
.form-actions.buy_sell_form .btn,
.form-actions a.btn,
.form-actions.buy_sell_form a.btn {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 120px !important;
    max-width: none !important;
    padding: 10px 24px !important;
    min-height: 42px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
    text-align: center !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}

/* Mobile Action Buttons (max-width: 768px): Equal-width buttons on 1 single horizontal row */
@media (max-width: 768px) {
    .form-actions,
    .form-actions.buy_sell_form {
        gap: 8px !important;
        margin-top: 20px !important;
    }

    .form-actions .btn,
    .form-actions.buy_sell_form .btn,
    .form-actions a.btn,
    .form-actions.buy_sell_form a.btn {
        flex: 1 1 0 !important;
        width: 0 !important;
        min-width: 0 !important;
        min-height: 40px !important;
        border-radius: 8px !important;
        padding: 9px 8px !important;
        font-size: 13px !important;
        font-weight: 500 !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
}

@media (max-width: 480px) {
    .form-actions,
    .form-actions.buy_sell_form {
        gap: 6px !important;
        margin-top: 16px !important;
    }

    .form-actions .btn,
    .form-actions.buy_sell_form .btn,
    .form-actions a.btn,
    .form-actions.buy_sell_form a.btn {
        padding: 8px 6px !important;
        min-height: 38px !important;
        font-size: 12px !important;
        border-radius: 8px !important;
    }
}

@media (max-width: 360px) {
    .form-actions .btn,
    .form-actions.buy_sell_form .btn,
    .form-actions a.btn,
    .form-actions.buy_sell_form a.btn {
        padding: 8px 4px !important;
        font-size: 11px !important;
        min-height: 36px !important;
    }
}

/* ==========================================================================
   Standardized Mobile Form Typography Rules (max-width: 768px)
   ========================================================================== */
@media (max-width: 768px) {
    /* 1. Main Header / Card Titles */
    .card-header h2,
    .card-header h1,
    .card-header h3,
    .main-heading,
    .form-title,
    .post-header h2,
    .hero-section h1.main-heading,
    .mod-product-title,
    h2.mod-product-title,
    .form-section-title h2 {
        font-size: 17px !important;
        font-weight: 600 !important;
        line-height: 1.3 !important;
        color: #111827 !important;
        margin-bottom: 15px !important;
    }

    /* 2. Sub-headers / Card Subtitles */
    .card-subtitle,
    .sub-heading,
    .form-subtitle,
    .step-subtitle,
    p.card-subtitle {
        font-size: 12px !important;
        font-weight: 400 !important;
        line-height: 1.4 !important;
        color: #6b7280 !important;
        margin-bottom: 14px !important;
    }

    /* 3. Section Titles / Category Headings */
    .section-title,
    .section-title-upload,
    .form-section-title,
    .form-section h3,
    .form-section h4,
    .content-card h3,
    .content-card h4,
    .cat-name,
    .mod-desc-label {
        font-size: 14px !important;
        font-weight: 600 !important;
        line-height: 1.35 !important;
        color: #1f2937 !important;
        margin-top: 0px !important;
        margin-bottom: 0px !important;
    }

    /* 4. Form Labels & Toggles */
    label,
    .form-label,
    label.form-label,
    label.form-label.fw-medium,
    .field-label,
    .toggle-label-text,
    .toggle-section label,
    .section-title-upload label,
    .form-group label {
        font-size: 12.5px !important;
        font-weight: 500 !important;
        line-height: 1.3 !important;
        color: #374151 !important;
        margin-bottom: 6px !important;
    }

    /* 5. Form Inputs, Selects & Textareas */
    .form-input,
    .form-control,
    .form-controlss,
    .form-select,
    select.form-input,
    select.form-select,
    textarea.form-input,
    textarea.form-control,
    textarea.form-controlss,
    .select-box {
        font-size: 13px !important;
        font-weight: 400 !important;
        padding: 8px 11px !important;
        min-height: 38px !important;
        line-height: 1.35 !important;
        border-radius: 8px !important;
        color: #1f2937 !important;
    }

    /* 6. Helper Text, Hints, and Small Messages */
    .upload-hint,
    .upload-text,
    .field-error,
    .help-text,
    .form-text,
    .text-muted,
    p.text-muted,
    small.text-muted,
    .text-muted.d-block,
    small.d-block,
    .form-group small,
    .form-group .text-muted,
    #imageCountMsg,
    .cat-post-posts,
    .tip-item,
    .guideline-item {
        font-size: 11px !important;
        font-weight: 400 !important;
        line-height: 1.35 !important;
    }

    /* 7. Option Pills (Listing Type, Posted As, Condition, etc.) */
    .btn-outline-secondary.rounded-pill,
    .btn-check + .btn-outline-secondary.rounded-pill,
    .pill-options .btn-outline-secondary.rounded-pill,
    .pill-options .pill {
        font-size: 11px !important;
        font-weight: 500 !important;
        padding: 4px 10px !important;
        min-height: 28px !important;
        line-height: 1.2 !important;
    }

    /* 8. Container & Card Padding */
    .content-card,
    .main-container {
        padding: 18px 14px !important;
    }

    /* 9. Mobile List View Product Card Standard Layout */
    .list-view .listing-item-filter,
    .list-view .listing-item-slide,
    .list-view .listing-item {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 6px !important;
        padding-right: 6px !important;
        margin-bottom: 12px !important;
    }

    .list-view .product-card {
        display: flex !important;
        flex-direction: row !important;
        align-items: stretch !important;
        width: 100% !important;
        height: auto !important;
        min-height: 140px !important;
        background: #ffffff !important;
        border-radius: 14px !important;
        overflow: hidden !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important;
        border: 1px solid #f1f5f9 !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .list-view .product-card .image-wrapper,
    .list-view .product-image-section {
        width: 120px !important;
        min-width: 120px !important;
        max-width: 120px !important;
        height: auto !important;
        position: relative !important;
        flex-shrink: 0 !important;
        align-self: stretch !important;
        background: #f8fafc !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 14px 0 0 14px !important;
        overflow: hidden !important;
    }

    .list-view .product-card .image-wrapper img,
    .list-view .product-image,
    .list-view .product-card img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        display: block !important;
        border-radius: 0 !important;
        padding: 2px !important;
    }

    .list-view .product-card > a {
        flex: 1 !important;
        min-width: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        padding: 8px 10px !important;
        text-decoration: none !important;
        color: inherit !important;
        box-sizing: border-box !important;
    }

    .list-view .product-body {
        padding: 0 !important;
        margin: 0 !important;
        flex: 1 !important;
        min-width: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        min-height: 0 !important;
    }

    .list-view .product-body h5 {
        font-size: 13px !important;
        font-weight: 600 !important;
        color: #1f2937 !important;
        margin: 0 0 4px 0 !important;
        line-height: 1.3 !important;
        width: 100% !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .list-view .price-rating-row {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 6px !important;
        width: 100% !important;
        margin: 2px 0 4px 0 !important;
    }

    .list-view .rating-wrapper {
        display: flex !important;
        align-items: center !important;
        gap: 4px !important;
        margin: 0 !important;
    }

    .list-view .rating-pill {
        font-size: 10px !important;
        padding: 2px 5px !important;
        border-radius: 12px !important;
    }

    .list-view .reviews {
        font-size: 10px !important;
        color: #6b7280 !important;
    }

    .list-view .service-price {
        font-size: 14px !important;
        font-weight: 700 !important;
        color: #d97706 !important;
        margin: 0 !important;
        text-align: right !important;
        line-height: 1.1 !important;
    }

    .list-view .service-price span {
        font-size: 10px !important;
        font-weight: 400 !important;
        color: #6b7280 !important;
    }

    .list-view .view-item {
        font-size: 10px !important;
        color: #9ca3af !important;
    }

    .list-view .info-box {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        background: #f8fafc !important;
        padding: 4px 6px !important;
        border-radius: 6px !important;
        margin: 4px 0 !important;
        width: 100% !important;
        border: 1px solid #f1f5f9 !important;
    }

    .list-view .location-item {
        display: flex !important;
        align-items: center !important;
        gap: 4px !important;
        min-width: 0 !important;
        flex: 1 !important;
    }

    .list-view .location-item i {
        font-size: 11px !important;
        color: #eab308 !important;
        flex-shrink: 0 !important;
    }

    .list-view .location-item span,
    .list-view .location-item small {
        font-size: 10.5px !important;
        color: #475569 !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        line-height: 1.2 !important;
    }

    .list-view .date-item {
        flex-shrink: 0 !important;
        font-size: 10px !important;
        color: #64748b !important;
    }

    .list-view .bottom-section {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding-top: 6px !important;
        margin-top: 4px !important;
        border-top: 1px solid #f1f5f9 !important;
        width: 100% !important;
        gap: 8px !important;
    }

    .list-view .seller-info {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        min-width: 0 !important;
        flex: 1 !important;
    }

    .list-view .seller-avatar {
        width: 24px !important;
        height: 24px !important;
        min-width: 24px !important;
        max-width: 24px !important;
        border-radius: 50% !important;
        background: #fef08a !important;
        color: #854d0e !important;
        font-size: 10px !important;
        font-weight: 700 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
        padding: 0 !important;
    }

    .list-view .seller-name {
        font-size: 11px !important;
        font-weight: 600 !important;
        color: #1e293b !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        line-height: 1.2 !important;
    }

    .list-view .contact-btn {
        padding: 4px 10px !important;
        font-size: 10.5px !important;
        font-weight: 600 !important;
        border-radius: 20px !important;
        background: #FFEE58 !important;
        color: #000000 !important;
        border: none !important;
        flex-shrink: 0 !important;
        margin: 0 !important;
        width: auto !important;
        line-height: 1.2 !important;
    }
}

/* ==========================================================================
   BOOST FILTER RESPONSIVE CONTROL (DESKTOP VS MOBILE)
   - Desktop (>768px): Show Boosted First switch toggle, hide Boosted option from dropdown.
   - Mobile (<=768px): Hide Boosted First switch toggle, show Boosted option in dropdown.
   ========================================================================== */
@media (min-width: 769px) {
    .sort-select option[value="boosted"],
    .sort-select option.mobile-boost-opt {
        display: none !important;
    }
    .boost-toggle {
        display: inline-flex !important;
    }
}

@media (max-width: 768px) {
    .boost-toggle {
        display: none !important;
    }
    .sort-select option[value="boosted"],
    .sort-select option.mobile-boost-opt {
        display: block !important;
    }

    /* Post form pages alignment on mobile with navbar logo (12px) */
    .hero-section .breadcrumb-area,
    .hero-section-page .breadcrumb-area,
    .breadcrumb-area {
        padding-left: 12px !important;
        padding-right: 12px !important;
        padding-top: 6px !important;
        padding-bottom: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .hero-section .breadcrumb-nav,
    .hero-section-page .breadcrumb-nav,
    .breadcrumb-nav,
    .breadcrumb-area .breadcrumb-nav {
        padding: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    .progress-header-buy-sell {
        padding: 10px 12px 14px 12px !important;
        margin: 0 auto !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .main-container,
    .main-container-freelancing,
    .service-main-container,
    .real-estate_main,
    .main-preview-container {
        padding: 0 12px 24px 12px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .main-from,
    .content-card,
    .real-estate_main .main-from,
    .main-container-freelancing .main-from,
    .service-main-container .main-from {
        width: 100% !important;
        max-width: 100% !important;
        padding: 20px 16px !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
    }

    /* /post page - categories selection cards mobile alignment (12px margin, matching logo and breadcrumb) */
    .post-section {
        padding: 16px 12px 24px 12px !important;
        margin: 0 12px !important;
        width: auto !important;
        box-sizing: border-box !important;
    }

    .categories-row {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .post-section .categories-row .cat-box {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        height: auto !important;
        padding: 16px 10px 14px 10px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    .post-section .cat-box .cat-icon {
        margin-bottom: 8px !important;
    }

    .post-section .cat-box .cat-name {
        font-size: 13px !important;
        font-weight: 600 !important;
        margin-bottom: 4px !important;
        line-height: 1.2 !important;
    }

    .post-section .cat-box .cat-post-posts {
        font-size: 10px !important;
        line-height: 1.3 !important;
        margin-bottom: 8px !important;
        color: #64748b !important;
    }

    .post-section .cat-box .features {
        font-size: 9.5px !important;
        line-height: 1.3 !important;
        margin: 0 !important;
        padding-left: 0 !important;
        list-style-position: inside !important;
        text-align: center !important;
    }

    p.cat-discription {
        padding: 10px 16px 20px 16px !important;
        font-size: 11px !important;
        text-align: center !important;
        color: #64748b !important;
    }

    /* Reduce extra spaces on mobile in Service, Buy & Sell, Freelancing, Real Estate */
    .hero-section-home {
        padding: 8px 0 10px !important;
        margin-bottom: 0 !important;
    }

    .category-toggle-wrapper {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        margin-left: auto !important;
        margin-right: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 6px !important;
        width: fit-content !important;
        display: flex !important;
        padding: 2px !important;
        gap: 4px !important;
        z-index: 10 !important;
    }

    [dir="rtl"] .category-toggle-wrapper {
        margin-left: 0 !important;
        margin-right: auto !important;
    }

    .cat-toggle-btn,
    button#catListToggle,
    button#catGridToggle {
        padding: 5px 8px !important;
        font-size: 13px !important;
        border-radius: 8px !important;
    }

    .categories-section {
        padding: 0 12px 14px 12px !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    div#loopSlider,
    .curve-slider {
        padding: 4px 0 !important;
        margin: 0 !important;
    }

    /* Category slider & list view - 2 cards at one time on mobile (Service, Buy & Sell, Freelancing, Real Estate) */
    .curve-slider:not(.list-mode) .cat-box,
    #loopSlider:not(.list-mode) .cat-box,
    .curve-slider:not(.list-mode) .cat-box.curved-left,
    .curve-slider:not(.list-mode) .cat-box.curved-right,
    #loopSlider:not(.list-mode) .cat-box.curved-left,
    #loopSlider:not(.list-mode) .cat-box.curved-right {
        flex: 0 0 calc((100% - 12px) / 2) !important;
        min-width: calc((100% - 12px) / 2) !important;
        max-width: calc((100% - 12px) / 2) !important;
        width: calc((100% - 12px) / 2) !important;
        height: 110px !important;
        min-height: 110px !important;
        max-height: 110px !important;
        padding: 10px 8px !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        scroll-snap-align: start !important;
        transform: none !important;
        opacity: 1 !important;
    }

    .curve-slider.list-mode,
    #loopSlider.list-mode {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 4px 0 !important;
    }

    .curve-slider.list-mode .cat-box,
    #loopSlider.list-mode .cat-box {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        height: 100px !important;
        padding: 10px 8px !important;
        box-sizing: border-box !important;
        margin: 0 !important;
    }

    .cat-box .cat-icon {
        width: 36px !important;
        height: 36px !important;
        font-size: 20px !important;
        margin-bottom: 4px !important;
    }

    .cat-box .cat-name {
        font-size: 11px !important;
        line-height: 1.2 !important;
    }

    #global-subcategories,
    .subcategories-container {
        margin-top: 8px !important;
        margin-bottom: 8px !important;
        padding: 6px 10px 10px 10px !important;
        gap: 8px !important;
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: visible !important;
        scrollbar-width: none !important;
        -webkit-overflow-scrolling: touch !important;
        box-sizing: border-box !important;
    }

    #global-subcategories::-webkit-scrollbar,
    .subcategories-container::-webkit-scrollbar {
        display: none !important;
    }

    /* When more than 2 subcategories: scrollable horizontally in mobile view */
    #global-subcategories,
    .subcategories-container,
    #global-subcategories.has-scroll,
    .subcategories-container.has-scroll {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-behavior: smooth !important;
        justify-content: flex-start !important;
        gap: 10px !important;
        padding: 6px 12px 10px 12px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        scrollbar-width: none !important;
    }

    #global-subcategories::-webkit-scrollbar,
    .subcategories-container::-webkit-scrollbar {
        display: none !important;
    }

    /* Centered alignment only when category has 1 or 2 subcategories */
    #global-subcategories.count-2,
    #global-subcategories[data-count="2"],
    .subcategories-container.count-2,
    .subcategories-container[data-count="2"] {
        display: flex !important;
        justify-content: center !important;
        flex-wrap: nowrap !important;
        gap: 16px !important;
        overflow-x: visible !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    #global-subcategories.count-1,
    #global-subcategories[data-count="1"],
    .subcategories-container.count-1,
    .subcategories-container[data-count="1"] {
        display: flex !important;
        justify-content: center !important;
        overflow-x: visible !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    #global-subcategories.count-2 .subcat-box,
    #global-subcategories[data-count="2"] .subcat-box,
    .subcategories-container.count-2 .subcat-box,
    .subcategories-container[data-count="2"] .subcat-box,
    #global-subcategories.count-1 .subcat-box,
    #global-subcategories[data-count="1"] .subcat-box,
    .subcategories-container.count-1 .subcat-box,
    .subcategories-container[data-count="1"] .subcat-box {
        flex: 0 0 calc(50% - 8px) !important;
        min-width: calc(50% - 8px) !important;
        max-width: calc(50% - 8px) !important;
        width: calc(50% - 8px) !important;
        height: 100px !important;
        min-height: 100px !important;
        max-height: 100px !important;
    }

    #global-subcategories .subcat-box,
    .subcategories-container .subcat-box,
    .subcat-box {
        flex: 0 0 130px !important;
        min-width: 130px !important;
        max-width: 130px !important;
        width: 130px !important;
        height: 100px !important;
        min-height: 100px !important;
        max-height: 100px !important;
        padding: 6px 4px !important;
        gap: 4px !important;
        background: #fff !important;
        border: 1.5px solid #f4da2e !important;
        border-radius: 12px !important;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
        box-sizing: border-box !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        flex-shrink: 0 !important;
    }

    .subcat-box:hover,
    .subcat-box:active {
        background: #FFEE58 !important;
    }

    .subcat-box .subcat-icon,
    .subcat-icon {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        min-height: 38px !important;
        border-radius: 10px !important;
        background: #eae9e9 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 auto !important;
        font-size: 18px !important;
        flex-shrink: 0 !important;
        padding: 0 !important;
        line-height: 1 !important;
        color: #1a1a1a !important;
    }

    .subcat-box .subcat-icon i,
    .subcat-icon i {
        font-size: 18px !important;
        line-height: 1 !important;
        color: #1a1a1a !important;
    }

    .subcat-box .subcat-icon img,
    .subcat-icon img {
        width: 22px !important;
        height: 22px !important;
        object-fit: contain !important;
        display: block !important;
        margin: 0 auto !important;
    }

    .subcat-box .subcat-name,
    .subcat-name {
        font-size: 11px !important;
        font-weight: 600 !important;
        color: #333 !important;
        line-height: 1.2 !important;
        text-align: center !important;
        word-break: break-word !important;
        white-space: normal !important;
        width: 100% !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        margin: 0 !important;
        padding: 0 2px !important;
    }

    .ads-section {
        margin: 6px 0 !important;
        padding: 0 12px !important;
    }

    .product-grid-section,
    .listing-section {
        padding-top: 6px !important;
    }

    .profile-card .profile-avatar,
    .profile-content .profile-avatar {
        margin-left: 0 !important;
    }

    html[dir="rtl"] .profile-card .profile-avatar,
    [dir="rtl"] .profile-card .profile-avatar,
    html[dir="rtl"] .profile-content .profile-avatar,
    [dir="rtl"] .profile-content .profile-avatar {
        margin-left: 12px !important;
        margin-right: 0 !important;
    }

    .profile-card .from-location,
    .from-location {
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: 100% !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 4px !important;
    }

    .profile-card .from-location .location-text,
    .from-location .location-text {
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: 100% !important;
        display: inline-block !important;
    }

    .mobile-menu-header {
        padding: 14px 14px !important;
    }

    .mobile-menu a.mobile-user-link,
    .mobile-menu .mobile-user-link,
    .mobile-user-link {
        padding: 0 !important;
        margin: 0 !important;
    }

    .mobile-menu-header .mobile-user-avatar {
        margin: 0 !important;
    }
}

/* ==========================================================================
   GLOBAL POST CARD TITLE 1-LINE TRUNCATION (MOBILE & DESKTOP)
   Force card title to 1 single line with ellipsis (...) across all pages.
   ========================================================================== */
.product-card .product-body h5,
.product-body h5,
.list-view .product-body h5,
.my-listings-card .product-body h5,
.listing-item-wrapper .product-body h5,
.listing-card h5,
.listing-card .card-title {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    -webkit-line-clamp: 1 !important;
}

/* ==========================================================================
   GLOBAL CARD ADDRESS SPACING
   Natural compact spacing between address and city/state
   ========================================================================== */
.location-address-text,
.product-card .location-item .location-address-text {
    min-height: unset !important;
}

@media (max-width: 768px) {
    .location-address-text,
    .product-card .location-item .location-address-text {
        min-height: unset !important;
    }
}

/* ==========================================================================
   GLOBAL CARD SHADOW & IMAGE-DATA SEPARATOR SHADOW
   Elevates entire card with outer shadow & separates image from card data
   ========================================================================== */
.product-card,
.product-preview-card,
.listing-card,
.my-listings-card {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.product-card:hover,
.product-preview-card:hover,
.listing-card:hover {
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12) !important;
}

.product-card .image-wrapper,
.listing-card .image-wrapper,
.product-preview-card .mh-product-image-container {
    border-bottom: 1px solid #e2e8f0 !important;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06) !important;
}

/* ==========================================================================
   GLOBAL MOBILE PREVIEW PAGES RESPONSIVE FIX
   Prevents right-alignment offset, overflow, and cropping on mobile devices
   ========================================================================== */
@media (max-width: 768px) {
    .main-preview-container,
    .mod-container {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
        box-sizing: border-box !important;
    }

    .hero-section {
        padding-top: 15px !important;
        padding-bottom: 25px !important;
    }

    .breadcrumb-area {
        margin-top: 10px !important;
        margin-bottom: 12px !important;
        padding: 0 12px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .mod-grid {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        gap: 16px !important;
        box-sizing: border-box !important;
    }

    .mod-main,
    .mod-side,
    .mod-card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .breadcrumb-nav {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
    }
}

/* ==========================================================================
   HEADER & BODY (HERO SECTION) PERFECT HORIZONTAL & VERTICAL ALIGNMENT
   ========================================================================== */
@media (min-width: 1201px) {
    .hero-section-home,
    .hero-section {
        margin: 5px 12px 0 12px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .hero-section-home .container,
    .hero-section .container {
        max-width: 1900px !important;
        padding-left: 31px !important;
        padding-right: 16px !important;
    }
    [dir="rtl"] .hero-section-home .container,
    [dir="rtl"] .hero-section .container {
        padding-left: 16px !important;
        padding-right: 31px !important;
    }
}

@media (min-width: 769px) and (max-width: 1200px) {
    .hero-section-home,
    .hero-section {
        margin: 6px 12px 0 12px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .hero-section-home .container,
    .hero-section .container {
        max-width: 100% !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    .top-bar {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
    .top-bar .location-tag {
        padding-left: 0 !important;
        margin-left: 0 !important;
    }
    .top-bar .location-dropdown-btn {
        padding-left: 0 !important;
        margin-left: 0 !important;
    }
    .top-bar .lang-box {
        padding-right: 0 !important;
        margin-right: 0 !important;
    }
    [dir="rtl"] .hero-section-home .container,
    [dir="rtl"] .hero-section .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    [dir="rtl"] .top-bar .location-dropdown-btn {
        padding-right: 0 !important;
        margin-right: 0 !important;
        padding-left: 6px !important;
    }
    [dir="rtl"] .top-bar .lang-box {
        padding-left: 0 !important;
        margin-left: 0 !important;
        padding-right: 6px !important;
    }
}

@media (max-width: 768px) {
    .hero-section-home,
    .hero-section {
        margin: 6px 12px 0 12px !important;
        padding-left: 0px !important;
        padding-right: 0px !important;
    }

    .hero-section-home .container,
    .hero-section .container {
        max-width: 100% !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .top-bar {
        padding-left: 0px !important;
        padding-right: 0px !important;
        margin-left: 0px !important;
        margin-right: 0px !important;
        width: 100% !important;
    }

    .location-tag,
    .top-bar .location-tag {
        padding-left: 0px !important;
        margin-left: 0px !important;
    }

    .top-bar .lang-box {
        padding-right: 0px !important;
        margin-right: 0px !important;
    }

    [dir="rtl"] .top-bar .lang-box {
        padding-left: 0px !important;
        margin-left: 0px !important;
        padding-right: 6px !important;
    }
}

.location-dropdown-btn,
.top-bar .location-dropdown-btn {
    padding-left: 0px !important;
    margin-left: 0px !important;
}

/* ==========================================================================
   MY-PROFILE / MY-LISTINGS CARD PRICE RIGHT ALIGNMENT
   ========================================================================== */
.my-listings-card .product-card .service-price,
.my-listings-card .service-price {
    text-align: right !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    margin-left: auto !important;
    width: auto !important;
    flex-shrink: 0 !important;
}

/* ==========================================================================
   SEARCH BAR AUTOCOMPLETE / SUGGESTIONS DROPDOWN
   ========================================================================== */
.search-wrapper {
    position: relative !important;
}

.search-suggestions-dropdown {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: #ffffff !important;
    border-radius: 18px !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    max-height: 420px !important;
    overflow-y: auto !important;
    z-index: 99999 !important;
    display: none;
    padding: 8px 0 !important;
    text-align: left !important;
    scrollbar-width: thin;
}

[dir="rtl"] .search-suggestions-dropdown {
    text-align: right !important;
}

.search-suggestions-dropdown.open {
    display: block !important;
    animation: searchFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

@keyframes searchFadeIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.suggestion-section-title {
    padding: 8px 18px 4px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: #8c8c8c !important;
}

.suggestion-item {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 10px 18px !important;
    text-decoration: none !important;
    color: #1a1a1a !important;
    transition: background 0.15s ease !important;
    cursor: pointer !important;
}

.suggestion-item:hover,
.suggestion-item.active {
    background: #fdfae6 !important;
}

.suggestion-thumb {
    width: 44px !important;
    height: 44px !important;
    border-radius: 10px !important;
    object-fit: cover !important;
    background: #f0f0f0 !important;
    flex-shrink: 0 !important;
    border: 1px solid rgba(0,0,0,0.05) !important;
}

.suggestion-cat-icon {
    width: 38px !important;
    height: 38px !important;
    border-radius: 10px !important;
    background: #fff9db !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #a88800 !important;
    font-size: 16px !important;
    flex-shrink: 0 !important;
}

.suggestion-info {
    flex: 1 !important;
    min-width: 0 !important;
}

.suggestion-title {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.3 !important;
}

.suggestion-title mark {
    background: #fff066 !important;
    color: #1a1a1a !important;
    padding: 0 2px !important;
    border-radius: 2px !important;
    font-weight: 700 !important;
}

.suggestion-meta {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin-top: 3px !important;
}

.suggestion-badge {
    font-size: 10px !important;
    font-weight: 600 !important;
    padding: 2px 7px !important;
    border-radius: 10px !important;
    background: #f0f0f0 !important;
    color: #555 !important;
    white-space: nowrap !important;
}

.suggestion-badge.badge-buy_sell { background: #e8f5e9 !important; color: #2e7d32 !important; }
.suggestion-badge.badge-services { background: #e3f2fd !important; color: #1565c0 !important; }
.suggestion-badge.badge-freelancing { background: #f3e5f5 !important; color: #7b1fa2 !important; }
.suggestion-badge.badge-real_estate { background: #fff3e0 !important; color: #e65100 !important; }

.suggestion-price {
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #111827 !important;
    margin-left: auto !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

[dir="rtl"] .suggestion-price {
    margin-left: 0 !important;
    margin-right: auto !important;
}

.suggestion-footer {
    border-top: 1px solid #f0f0f0 !important;
    padding: 8px 18px 4px !important;
    margin-top: 4px !important;
}

.suggestion-footer a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
    text-decoration: none !important;
    padding: 6px 0 !important;
}

.suggestion-footer a:hover {
    color: #8c7700 !important;
}

.suggestion-loading,
.suggestion-no-results {
    padding: 18px !important;
    text-align: center !important;
    color: #777 !important;
    font-size: 13px !important;
}

.filter-page .filter-tag.filter-tag-fixed {
    background: #fff8d6 !important;
    border: 1.5px solid #f4d339 !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    padding-right: 12px !important;
}

/* ==========================================================================
   GLOBAL ARABIC (RTL) CARD & PAGE ALIGNMENT STYLES
   Strictly scoped to [dir="rtl"] and html[dir="rtl"] - Zero effect on LTR
   ========================================================================== */
[dir="rtl"] .product-card,
[dir="rtl"] .listing-card,
html[dir="rtl"] .product-card,
html[dir="rtl"] .listing-card {
    direction: rtl !important;
    text-align: right !important;
}

[dir="rtl"] .product-card .product-body h5,
[dir="rtl"] .listing-card h5,
[dir="rtl"] .listing-card .card-title,
html[dir="rtl"] .product-card .product-body h5,
html[dir="rtl"] .listing-card h5,
html[dir="rtl"] .listing-card .card-title {
    text-align: right !important;
    direction: rtl !important;
}

[dir="rtl"] .view-toggle,
html[dir="rtl"] .view-toggle {
    margin-left: 0 !important;
    margin-right: 6px !important;
}

[dir="rtl"] .filter-page .filter-tag.filter-tag-fixed,
html[dir="rtl"] .filter-page .filter-tag.filter-tag-fixed {
    padding-right: 8px !important;
    padding-left: 12px !important;
}

[dir="rtl"] .breadcrumb-nav .arrow,
html[dir="rtl"] .breadcrumb-nav .arrow {
    transform: scaleX(-1) !important;
    display: inline-block !important;
}

/* ==========================================================================
   PRICE NEGOTIABLE TAG ALIGNMENT ON DESKTOP (DETAIL & PREVIEW PAGES)
   Aligns directly below the price in the same horizontal metadata line.
   ========================================================================== */
@media (min-width: 769px) {
    .mod-meta {
        width: 100% !important;
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
    }
    .mod-meta .mod-price-tag {
        margin-inline-start: auto !important;
        margin-left: auto !important;
        margin-right: 0 !important;
        flex-shrink: 0 !important;
    }
    [dir="rtl"] .mod-meta .mod-price-tag,
    html[dir="rtl"] .mod-meta .mod-price-tag {
        margin-inline-start: auto !important;
        margin-left: 0 !important;
        margin-right: auto !important;
        flex-shrink: 0 !important;
    }
}

[dir="rtl"] .mod-price-block,
html[dir="rtl"] .mod-price-block {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    align-items: flex-start !important;
    direction: rtl !important;
}

[dir="rtl"] .mod-price,
html[dir="rtl"] .mod-price {
    text-align: left !important;
}

/* ==========================================================================
   SUPPORT PAGE CENTERED LAYOUT & BOTTOM TIPS (MATCHING POST CREATION WIZARD)
   ========================================================================== */
.support-main-container {
    max-width: 900px !important;
    margin: 0 auto !important;
    padding: 0 20px 40px 20px !important;
    box-sizing: border-box !important;
}

.tips-sidebar-bottom {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px 35px;
    margin-top: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
    box-sizing: border-box !important;
}

.tips-sidebar-bottom h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 14px;
}

.tips-sidebar-bottom .tips-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tips-sidebar-bottom .tip-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    color: #475569;
    margin: 0;
}

[dir="rtl"] .tips-sidebar-bottom,
html[dir="rtl"] .tips-sidebar-bottom {
    direction: rtl !important;
    text-align: right !important;
}

[dir="rtl"] .tips-sidebar-bottom h3,
html[dir="rtl"] .tips-sidebar-bottom h3 {
    text-align: right !important;
    direction: rtl !important;
}

[dir="rtl"] .tips-sidebar-bottom .tip-item,
html[dir="rtl"] .tips-sidebar-bottom .tip-item {
    direction: rtl !important;
    text-align: right !important;
}

/* ==========================================================================
   Filter Pill Options (Low-Option & Multi-Select Filter Fields)
   ========================================================================== */
.filter-pills-group,
.filter-page .filters-sidebar .filter-pills-group {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    gap: 8px !important;
    width: 100% !important;
    margin-top: 6px !important;
    margin-bottom: 8px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    padding: 2px 0 !important;
}

.filter-pill-label,
.filter-pills-group .filter-pill-label,
.filter-page .filters-sidebar .filter-pills-group label.filter-pill-label,
.filter-page .filter-block label.filter-pill-label,
.filter-pills-group.pills-count-2 .filter-pill-label,
.filter-pills-group.pills-count-3 .filter-pill-label,
.filter-pills-group.pills-count-4 .filter-pill-label,
.filter-pills-group.pills-count-5 .filter-pill-label,
.filter-pills-group.pills-count-6 .filter-pill-label {
    position: relative !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    cursor: pointer;
    user-select: none;
    display: flex !important;
    font-weight: normal !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}

.filter-pill-input {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: none !important;
    z-index: -1 !important;
}

.filter-page .filters-sidebar {
    overflow: hidden !important;
    overflow: clip !important;
    contain: paint !important;
    overscroll-behavior: none !important;
}

.filter-pill,
.filter-pills-group .filter-pill {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 34px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 6px 10px !important;
    font-size: 0.8125rem !important;
    font-weight: 500;
    color: #4b5563;
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    transition: all 0.2s ease;
    white-space: normal !important;
    word-break: break-word !important;
    text-align: center !important;
    line-height: 1.25;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.filter-pill-label:hover .filter-pill {
    background-color: #e5e7eb;
    color: #1f2937;
    border-color: #d1d5db;
}

.filter-pill-input:checked + .filter-pill,
.filter-pill.active {
    background-color: #FFEE58 !important;
    color: #000000 !important;
    font-weight: 700 !important;
    border-color: #e0c800 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12) !important;
}

[dir="rtl"] .filter-pills-group,
html[dir="rtl"] .filter-pills-group {
    direction: rtl !important;
}

/* ================= MOBILE FILTER DRAWER FIXED BOTTOM ACTIONS ================= */
@media (max-width: 768px) {
    .filter-page .filters-sidebar form {
        display: flex !important;
        flex-direction: column !important;
        height: 100% !important;
        min-height: 0 !important;
        flex: 1 1 auto !important;
        overflow: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .filter-page .filters-sidebar .sidebar-scroll-body {
        flex: 1 1 auto !important;
        min-height: 0 !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        padding: 16px 16px 20px 16px !important;
        overscroll-behavior: contain;
    }

    .filter-page .filters-sidebar .filter-actions {
        flex-shrink: 0 !important;
        margin-top: auto !important;
        padding: 12px 16px !important;
        padding-bottom: max(12px, env(safe-area-inset-bottom, 12px)) !important;
        background: #ffffff !important;
        border-top: 1px solid #f0f0f0 !important;
        box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08) !important;
        position: sticky !important;
        bottom: 0 !important;
        z-index: 10 !important;
        display: flex !important;
        flex-direction: row !important;
        gap: 10px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .filter-page .filters-sidebar .filter-actions .btn-apply,
    .filter-page .filters-sidebar .filter-actions .btn-clear {
        flex: 1 1 0% !important;
        width: auto !important;
        margin: 0 !important;
        padding: 11px 12px !important;
        font-size: 0.9375rem !important;
        font-weight: 600 !important;
        text-align: center !important;
        white-space: nowrap !important;
        border-radius: 10px !important;
    }

    /* Mobile filter pills: aligned in non-scrollable 2-column grid */
    .filter-pills-group,
    .filter-page .filters-sidebar .filter-pills-group {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        align-items: stretch !important;
        gap: 8px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: visible !important;
        padding: 2px 0 !important;
    }

    .filter-pill-label,
    .filter-pills-group .filter-pill-label,
    .filter-page .filters-sidebar .filter-pills-group label.filter-pill-label,
    .filter-page .filter-block label.filter-pill-label,
    .filter-pills-group.pills-count-2 .filter-pill-label,
    .filter-pills-group.pills-count-3 .filter-pill-label,
    .filter-pills-group.pills-count-4 .filter-pill-label,
    .filter-pills-group.pills-count-5 .filter-pill-label,
    .filter-pills-group.pills-count-6 .filter-pill-label {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: visible !important;
        display: flex !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .filter-pill,
    .filter-pills-group .filter-pill {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        padding: 6px 10px !important;
        font-size: 12px !important;
        white-space: normal !important;
        word-break: break-word !important;
        overflow: hidden !important;
    }
}

@media (max-width: 480px) {
    .filter-page .filters-sidebar .filter-actions {
        flex-direction: row !important;
    }

    .filter-page .filters-sidebar .filter-actions .btn-apply,
    .filter-page .filters-sidebar .filter-actions .btn-clear {
        width: auto !important;
        flex: 1 1 0% !important;
    }
}

/* ==========================================================================
   FILTER PAGE YELLOW THEME (MATCHING SELECTED PILL #FFEE58)
   Applies to all dropdowns, text/number inputs, TomSelect, and range sliders
   ========================================================================== */
.filter-page .filters-sidebar select,
.filter-page .filters-sidebar .form-select,
.filter-page .filters-sidebar .dynamic-filter-select,
.filter-page .filters-sidebar #mainCategory,
.filter-page .filters-sidebar #subCategorySelect {
    width: 100% !important;
    background-color: #FFEE58 !important;
    border: 2px solid #e0c800 !important;
    border-radius: 10px !important;
    font-size: 0.9375rem !important;
    font-weight: normal !important;
    color: #000000 !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23000000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 14px 10px !important;
    padding-right: 38px !important;
    padding-left: 14px !important;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease !important;
}

[dir="rtl"] .filter-page .filters-sidebar select,
[dir="rtl"] .filter-page .filters-sidebar .form-select,
[dir="rtl"] .filter-page .filters-sidebar .dynamic-filter-select,
[dir="rtl"] .filter-page .filters-sidebar #mainCategory,
[dir="rtl"] .filter-page .filters-sidebar #subCategorySelect {
    background-position: left 14px center !important;
    padding-right: 14px !important;
    padding-left: 38px !important;
}

.filter-page .filters-sidebar select:focus,
.filter-page .filters-sidebar .form-select:focus,
.filter-page .filters-sidebar .dynamic-filter-select:focus,
.filter-page .filters-sidebar #mainCategory:focus,
.filter-page .filters-sidebar #subCategorySelect:focus {
    border-color: #cbb300 !important;
    background-color: #fff176 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(255, 238, 88, 0.45) !important;
}

/* Inputs (Text, Number, Price, Location, etc.) */
.filter-page .filters-sidebar .dynamic-filter-input:not(.filter-pill-input):not(select),
.filter-page .filters-sidebar input[type="text"]:not(.filter-pill-input),
.filter-page .filters-sidebar input[type="number"],
.filter-page .filters-sidebar input[type="search"],
.filter-page .filters-sidebar input[type="email"],
.filter-page .filters-sidebar input[type="tel"],
.filter-page .filters-sidebar .form-control:not(.filter-pill-input),
.filter-page .price-range-inputs input {
    width: 100% !important;
    background-color: #FFEE58 !important;
    border: 2px solid #e0c800 !important;
    border-radius: 10px !important;
    font-size: 0.9375rem !important;
    font-weight: normal !important;
    color: #000000 !important;
    box-shadow: none !important;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease !important;
}

.filter-page .filters-sidebar .dynamic-filter-input:not(.filter-pill-input):not(select)::placeholder,
.filter-page .filters-sidebar input[type="text"]:not(.filter-pill-input)::placeholder,
.filter-page .filters-sidebar input[type="number"]::placeholder,
.filter-page .filters-sidebar input[type="search"]::placeholder,
.filter-page .filters-sidebar input[type="email"]::placeholder,
.filter-page .filters-sidebar input[type="tel"]::placeholder,
.filter-page .filters-sidebar .form-control::placeholder,
.filter-page .price-range-inputs input::placeholder {
    color: #555555 !important;
    opacity: 0.85 !important;
}

.filter-page .filters-sidebar .dynamic-filter-input:not(.filter-pill-input):not(select):focus,
.filter-page .filters-sidebar input[type="text"]:not(.filter-pill-input):focus,
.filter-page .filters-sidebar input[type="number"]:focus,
.filter-page .filters-sidebar input[type="search"]:focus,
.filter-page .filters-sidebar input[type="email"]:focus,
.filter-page .filters-sidebar input[type="tel"]:focus,
.filter-page .filters-sidebar .form-control:focus,
.filter-page .price-range-inputs input:focus {
    border-color: #cbb300 !important;
    background-color: #fff176 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(255, 238, 88, 0.45) !important;
}

.filter-page .filters-sidebar input:-webkit-autofill,
.filter-page .filters-sidebar input:-webkit-autofill:hover,
.filter-page .filters-sidebar input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #FFEE58 inset !important;
    -webkit-text-fill-color: #000000 !important;
}

/* Dropdown Options inside Sidebar */
.filter-page .filters-sidebar select option,
.filter-page .filters-sidebar .form-select option {
    background-color: #ffffff !important;
    color: #1a1a1a !important;
    padding: 8px 12px;
}

.filter-page .filters-sidebar select option:checked,
.filter-page .filters-sidebar .form-select option:checked {
    background-color: #FFEE58 !important;
    color: #000000 !important;
    font-weight: normal !important;
}

.filter-page .filters-sidebar select option:hover,
.filter-page .filters-sidebar .form-select option:hover {
    background-color: #FFEE58 !important;
    color: #000000 !important;
}

/* TomSelect Location Dropdown & Selected Items inside Sidebar */
.filter-page .filters-sidebar .ts-control {
    width: 100% !important;
    padding: 10px 14px !important;
    background: #FFEE58 !important;
    border: 2px solid #e0c800 !important;
    border-radius: 10px !important;
    font-size: 0.9375rem !important;
    font-weight: normal !important;
    color: #000000 !important;
    margin-bottom: 10px !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
}

.filter-page .filters-sidebar .ts-control input {
    color: #000000 !important;
    font-weight: normal !important;
}

.filter-page .filters-sidebar .ts-control.focus,
.filter-page .filters-sidebar .ts-wrapper.focus .ts-control {
    border-color: #cbb300 !important;
    background: #fff176 !important;
    box-shadow: 0 0 0 3px rgba(255, 238, 88, 0.45) !important;
}

.filter-page .filters-sidebar .ts-control .item {
    background-color: #ffffff !important;
    color: #000000 !important;
    font-weight: 700 !important;
    border: 1px solid #cbb300 !important;
    border-radius: 14px !important;
    padding: 2px 8px !important;
}

.filter-page .filters-sidebar .ts-dropdown {
    background: #fffdf0 !important;
    border: 2px solid #ffda6b !important;
    border-radius: 10px !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1) !important;
}

.filter-page .filters-sidebar .ts-dropdown .option.active,
.filter-page .filters-sidebar .ts-dropdown .option:hover {
    background-color: #FFEE58 !important;
    color: #000000 !important;
    font-weight: 700 !important;
}

/* Sort Dropdown (Toolbar / Outside Sidebar) - Restored to original clean white styling */
.filter-page .sort-select,
.filter-page #sortSelect,
.filter-page #sortSelectDesktop,
.filter-page #sortSelectMobile,
.filter-page .sort-wrap .sort-select,
.sort-select {
    width: auto !important;
    background-color: #ffffff !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 10px !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    color: #444444 !important;
    cursor: pointer !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23444444' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 12px 8px !important;
    padding: 0 32px 0 14px !important;
    height: 42px !important;
    line-height: 38px !important;
    display: inline-block !important;
    vertical-align: middle !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

[dir="rtl"] .filter-page .sort-select,
[dir="rtl"] .filter-page #sortSelect,
[dir="rtl"] .filter-page #sortSelectDesktop,
[dir="rtl"] .filter-page #sortSelectMobile,
[dir="rtl"] .filter-page .sort-wrap .sort-select,
[dir="rtl"] .sort-select {
    background-position: left 12px center !important;
    padding: 0 14px 0 32px !important;
}

.filter-page .sort-select:focus,
.filter-page #sortSelect:focus,
.filter-page #sortSelectDesktop:focus,
.filter-page #sortSelectMobile:focus,
.filter-page .sort-wrap .sort-select:focus,
.sort-select:focus {
    border-color: #ffda6b !important;
    background-color: #ffffff !important;
    color: #1a1a1a !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(255, 218, 107, 0.35) !important;
}

.filter-page .sort-select option,
.filter-page #sortSelect option,
.filter-page #sortSelectDesktop option,
.filter-page #sortSelectMobile option,
.sort-select option {
    background-color: #ffffff !important;
    color: #333333 !important;
    font-weight: normal !important;
    padding: 8px 12px;
}

.filter-page .sort-select option:checked,
.filter-page #sortSelect option:checked,
.filter-page #sortSelectDesktop option:checked,
.filter-page #sortSelectMobile option:checked,
.sort-select option:checked {
    background-color: #f3f4f6 !important;
    color: #111111 !important;
    font-weight: 600 !important;
}

.filter-page .sort-select option:hover,
.sort-select option:hover {
    background-color: #e5e7eb !important;
    color: #111111 !important;
}

/* Range Sliders (Year & KM Driven) */
.filter-page .km-slider-wrapper,
.filter-page .year-slider-wrapper {
    padding: 4px 0;
}

.filter-page .km-range-display,
.filter-page .year-range-display {
    text-align: center;
    font-size: 1.05rem;
    font-weight: normal !important;
    color: #1a1a1a;
    margin-bottom: 14px;
    letter-spacing: 0.3px;
    background: #fff9d9 !important;
    border: 1.5px solid #ffda6b !important;
    border-radius: 8px;
    padding: 4px 14px;
    display: inline-block;
}

.filter-page .km-slider-box,
.filter-page .year-slider-box {
    position: relative;
    height: 6px;
    margin: 24px 8px 22px 8px;
}

.filter-page .km-slider-track,
.filter-page .year-slider-track {
    position: absolute;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #fdf3be !important;
    border: 1px solid #ffda6b !important;
    top: 0;
    left: 0;
}

.filter-page .km-slider-progress,
.filter-page .year-slider-progress {
    position: absolute;
    height: 6px;
    border-radius: 3px;
    background: #FFEE58 !important;
    box-shadow: 0 0 8px rgba(255, 238, 88, 0.75) !important;
    top: 0;
    pointer-events: none;
}

.filter-page .km-range-min::-webkit-slider-thumb,
.filter-page .year-range-min::-webkit-slider-thumb,
.filter-page .km-range-min::-moz-range-thumb,
.filter-page .year-range-min::-moz-range-thumb {
    background: #ffffff !important;
    border: 4px solid #FFEE58 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) !important;
}

.filter-page .km-range-max::-webkit-slider-thumb,
.filter-page .year-range-max::-webkit-slider-thumb,
.filter-page .km-range-max::-moz-range-thumb,
.filter-page .year-range-max::-moz-range-thumb {
    background: #FFEE58 !important;
    border: 3px solid #ffda6b !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) !important;
}

.filter-page .km-slider-box input[type="range"]::-webkit-slider-thumb:hover,
.filter-page .year-slider-box input[type="range"]::-webkit-slider-thumb:hover,
.filter-page .km-slider-box input[type="range"]::-moz-range-thumb:hover,
.filter-page .year-slider-box input[type="range"]::-moz-range-thumb:hover {
    box-shadow: 0 0 12px rgba(255, 238, 88, 0.9) !important;
    transform: translateZ(0) scale(1.12);
}

.filter-page .km-sug-btn,
.filter-page .year-sug-btn {
    padding: 5px 2px;
    border: 1.5px solid #ffda6b !important;
    border-radius: 8px;
    background: #fff9d9 !important;
    color: #222222 !important;
    font-size: 0.68rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.filter-page .km-sug-btn:hover,
.filter-page .year-sug-btn:hover {
    background: #fff3b0 !important;
    border-color: #FFEE58 !important;
}

.filter-page .km-sug-btn.active,
.filter-page .year-sug-btn.active {
    background: #FFEE58 !important;
    border-color: #FFEE58 !important;
    color: #000000 !important;
    font-weight: 700 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12) !important;
}

/* ================= CHAT PROFILE AVATAR & UNREAD BADGE ================= */
img.chat-profile,
.chat-profile {
    border: 2px solid #FFEE58 !important;
    border-radius: 50% !important;
}

.unread-count.d-none,
.unread-count[data-count="0"],
.unread-count:empty {
    display: none !important;
}

/* ==========================================================================
   GLOBAL SELECT / DROPDOWN CHEVRON ARROW ALIGNMENT (SITE-WIDE)
   Ensures ALL select dropdowns across the entire website render a sharp,
   perfectly vertically centered down-chevron icon across all browsers/OS.
   ========================================================================== */
select:not([multiple]):not([size]):not(.lang-box select),
select.form-select,
.form-select,
select.form-input,
select.form-control,
select.sort-select,
.sort-select,
.language-select {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 14px 10px !important;
    padding-right: 36px !important;
}

/* RTL Support: flip arrow to left side with proper padding */
[dir="rtl"] select:not([multiple]):not([size]):not(.lang-box select),
[dir="rtl"] select.form-select,
[dir="rtl"] .form-select,
[dir="rtl"] select.form-input,
[dir="rtl"] select.form-control,
[dir="rtl"] select.sort-select,
[dir="rtl"] .sort-select,
[dir="rtl"] .language-select {
    background-position: left 14px center !important;
    padding-right: 14px !important;
    padding-left: 36px !important;
}

/* Yellow sidebar dropdowns in filter page */
.filter-page .filters-sidebar select,
.filter-page .filters-sidebar .form-select,
.filter-page .filters-sidebar .dynamic-filter-select,
.filter-page .filters-sidebar #mainCategory,
.filter-page .filters-sidebar #subCategorySelect {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23000000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
    background-position: right 14px center !important;
    background-size: 14px 10px !important;
    padding-right: 38px !important;
}

[dir="rtl"] .filter-page .filters-sidebar select,
[dir="rtl"] .filter-page .filters-sidebar .form-select,
[dir="rtl"] .filter-page .filters-sidebar .dynamic-filter-select,
[dir="rtl"] .filter-page .filters-sidebar #mainCategory,
[dir="rtl"] .filter-page .filters-sidebar #subCategorySelect {
    background-position: left 14px center !important;
    padding-right: 14px !important;
    padding-left: 38px !important;
}

/* Sort Select specific centering and sizing */
.sort-select,
.filter-page .sort-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23444444' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
    background-position: right 12px center !important;
    background-size: 12px 8px !important;
    padding-right: 32px !important;
    padding-left: 14px !important;
}

[dir="rtl"] .sort-select,
[dir="rtl"] .filter-page .sort-select {
    background-position: left 12px center !important;
    padding-left: 32px !important;
    padding-right: 14px !important;
}

/* Standalone language dropdown */
.language-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23222222' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
    background-position: right 8px center !important;
    background-size: 10px 7px !important;
    padding-right: 22px !important;
    padding-left: 8px !important;
}

[dir="rtl"] .language-select {
    background-position: left 8px center !important;
    padding-left: 22px !important;
    padding-right: 8px !important;
}

/* Mobile responsive alignment for compact toolbar selects */
@media (max-width: 768px) {
    .filter-header .right-controls .sort-select,
    .filter-page .sort-wrap-mobile .sort-select,
    .sort-select {
        height: 32px !important;
        line-height: 30px !important;
        font-size: 11.5px !important;
        font-weight: 500 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        padding-right: 22px !important;
        padding-left: 8px !important;
        border: 1px solid #d1d5db !important;
        border-radius: 8px !important;
        background-position: right 7px center !important;
        background-size: 10px 7px !important;
        display: inline-flex !important;
        align-items: center !important;
        vertical-align: middle !important;
        box-sizing: border-box !important;
    }

    [dir="rtl"] .filter-header .right-controls .sort-select,
    [dir="rtl"] .filter-page .sort-wrap-mobile .sort-select,
    [dir="rtl"] .sort-select {
        padding-left: 22px !important;
        padding-right: 8px !important;
        background-position: left 7px center !important;
    }
}

/* Transparent / overlay select inside header lang-box */
.lang-box select {
    background-image: none !important;
}

/* ==========================================================================
   DROPDOWN OPEN STATE CHEVRON ARROW (FLIPS ARROW TO UP ^ WHEN OPEN)
   Toggles the chevron from pointing down (v) to pointing up (^) whenever
   the dropdown options are open, via CSS :open and JS .is-open class.
   ========================================================================== */

/* 1. General Selects (when open) */
select:not([multiple]):not([size]):not(.lang-box select).is-open,
select.form-select.is-open,
.form-select.is-open,
select.form-input.is-open,
select.form-control.is-open,
select.sort-select.is-open,
.sort-select.is-open,
.language-select.is-open {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 11 6-6 6 6'/%3e%3c/svg%3e") !important;
}

@supports selector(:open) {
    select:not([multiple]):not([size]):not(.lang-box select):open,
    select.form-select:open,
    .form-select:open,
    select.form-input:open,
    select.form-control:open,
    select.sort-select:open,
    .sort-select:open,
    .language-select:open {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 11 6-6 6 6'/%3e%3c/svg%3e") !important;
    }
}

/* 2. Yellow sidebar dropdowns in filter page (when open) */
.filter-page .filters-sidebar select.is-open,
.filter-page .filters-sidebar .form-select.is-open,
.filter-page .filters-sidebar .dynamic-filter-select.is-open,
.filter-page .filters-sidebar #mainCategory.is-open,
.filter-page .filters-sidebar #subCategorySelect.is-open {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23000000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.2' d='m2 11 6-6 6 6'/%3e%3c/svg%3e") !important;
}

@supports selector(:open) {
    .filter-page .filters-sidebar select:open,
    .filter-page .filters-sidebar .form-select:open,
    .filter-page .filters-sidebar .dynamic-filter-select:open,
    .filter-page .filters-sidebar #mainCategory:open,
    .filter-page .filters-sidebar #subCategorySelect:open {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23000000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.2' d='m2 11 6-6 6 6'/%3e%3c/svg%3e") !important;
    }
}

/* 3. Sort Select (when open) */
.sort-select.is-open,
.filter-page .sort-select.is-open,
.filter-page #sortSelect.is-open,
.filter-page #sortSelectDesktop.is-open,
.filter-page #sortSelectMobile.is-open,
.filter-page .sort-wrap .sort-select.is-open {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23444444' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 11 6-6 6 6'/%3e%3c/svg%3e") !important;
}

@supports selector(:open) {
    .sort-select:open,
    .filter-page .sort-select:open,
    .filter-page #sortSelect:open,
    .filter-page #sortSelectDesktop:open,
    .filter-page #sortSelectMobile:open,
    .filter-page .sort-wrap .sort-select:open {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23444444' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 11 6-6 6 6'/%3e%3c/svg%3e") !important;
    }
}

/* 4. Standalone language dropdown (when open) */
.language-select.is-open {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23222222' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 11 6-6 6 6'/%3e%3c/svg%3e") !important;
}

@supports selector(:open) {
    .language-select:open {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23222222' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 11 6-6 6 6'/%3e%3c/svg%3e") !important;
    }
}

/* 5. Lang-box header chevron animation (when open) */
.lang-box:has(select:open) .arrow,
.lang-box:has(select.is-open) .arrow,
.lang-box.is-open .arrow {
    transform: rotate(180deg);
    transition: transform 0.2s ease;
}

/* ==========================================================================
   Category Forms Standardization (Ow#105)
   Consistent spacing, padding, labels, inputs, dividers & buttons across
   Buy & Sell, Services, Real Estate, and Freelancing forms (Desktop & Mobile)
   ========================================================================== */

/* 1. Eliminate double vertical spacing inside grid columns */
.main-from .col-md-6 > .form-group,
.main-from .col-sm-6 > .form-group,
.main-from .col-12 > .form-group,
.main-from .col > .form-group,
.main-from .row > .form-group {
    margin-bottom: 0 !important;
}

.main-from .form-group {
    margin-bottom: 1.25rem;
}

.main-from .row {
    margin-bottom: 0;
}

/* 2. Standardized Form Labels */
.main-from label.form-label,
.main-from label.form-label.fw-medium,
.main-from .form-group label:not(.btn):not(.btn-outline-secondary) {
    display: block !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #374151 !important;
    margin-bottom: 8px !important;
    margin-top: 0 !important;
    line-height: 1.4 !important;
    text-align: left !important;
}

/* 3. Standardized Form Controls (Inputs, Selects, Textareas) */
.main-from .form-input,
.main-from .form-select,
.main-from .form-controlss,
.main-from select.form-input,
.main-from select.form-select,
.main-from input.form-input {
    width: 100% !important;
    min-height: 44px !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    color: #1f2937 !important;
    background-color: #ffffff !important;
    border: 1.5px solid #e5e7eb !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.main-from .form-input:focus,
.main-from .form-select:focus,
.main-from .form-controlss:focus {
    border-color: #facc15 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.2) !important;
}

.main-from textarea.form-input,
.main-from textarea.form-controlss {
    min-height: 110px !important;
    padding: 12px 14px !important;
    resize: vertical !important;
}

/* 4. Standardized Form Section Headers & Dividers */
.main-from .form-header-real-estate,
.main-from .form-header-services {
    margin-bottom: 1.25rem !important;
    text-align: left !important;
}

.main-from .form-header-real-estate h1,
.main-from .form-header-services h1 {
    font-size: 20px !important;
    font-weight: 600 !important;
    color: #111827 !important;
    line-height: 1.3 !important;
    margin-bottom: 4px !important;
}

.main-from .text-descriptions {
    font-size: 13px !important;
    color: #6b7280 !important;
    line-height: 1.4 !important;
    margin-bottom: 0 !important;
}

.main-from hr.action-divider {
    border: none !important;
    border-top: 1px solid #e5e7eb !important;
    margin: 20px 0 !important;
    width: 100% !important;
    margin-left: 0 !important;
    opacity: 1 !important;
}

/* 5. Standardized Pills & Toggle Options */
.main-from .pill-options {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    align-items: center !important;
    margin-top: 6px !important;
    margin-bottom: 4px !important;
}

/* 6. Standardized Form Action Buttons Container */
.main-from .form-actions,
.main-from .form-actions.buy_sell_form {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 12px !important;
    width: 100% !important;
    margin-top: 24px !important;
    box-sizing: border-box !important;
}

.main-from .form-actions .btn,
.main-from .form-actions.buy_sell_form .btn {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 120px !important;
    max-width: none !important;
    padding: 10px 24px !important;
    min-height: 42px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
    text-align: center !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}

/* 7. Mobile View Overrides (max-width: 768px) */
@media (max-width: 768px) {
    .main-from {
        padding: 18px 14px !important;
        border-radius: 12px !important;
    }

    .main-from .form-header-real-estate,
    .main-from .form-header-services {
        margin-bottom: 12px !important;
    }

    .main-from .form-header-real-estate h1,
    .main-from .form-header-services h1 {
        font-size: 17px !important;
        margin-bottom: 2px !important;
    }

    .main-from .text-descriptions {
        font-size: 12px !important;
        margin-bottom: 0 !important;
    }

    .main-from hr.action-divider {
        margin: 14px 0 !important;
    }

    /* ─── NORMALIZED INPUT & FIELD SPACING IN MOBILE VIEW ─── */
    .main-from .col-md-6,
    .main-from .col-md-4,
    .main-from .col-md-3,
    .main-from .col-md-12,
    .main-from .col-sm-6,
    .main-from .col-sm-12,
    .main-from .col-12,
    .main-from .col,
    .main-from .form-group,
    .main-from .mb-3,
    .main-from .mb-4,
    .content-card .col-md-6,
    .content-card .col-md-4,
    .content-card .col-md-3,
    .content-card .col-md-12,
    .content-card .col-sm-6,
    .content-card .col-sm-12,
    .content-card .col-12,
    .content-card .col,
    .content-card .form-group,
    .content-card .mb-3,
    .content-card .mb-4,
    .form-section .form-group,
    .form-row > .form-group,
    #scheduleForm .form-group,
    #scheduleForm .mb-3 {
        margin-bottom: 13px !important;
        padding-top: 0 !important;
    }

    /* Eliminate nested double spacing when .form-group is inside a column or row */
    .main-from .col-md-6 > .form-group,
    .main-from .col-md-4 > .form-group,
    .main-from .col-md-3 > .form-group,
    .main-from .col-md-12 > .form-group,
    .main-from .col-sm-6 > .form-group,
    .main-from .col-sm-12 > .form-group,
    .main-from .col-12 > .form-group,
    .main-from .col > .form-group,
    .main-from .row > .form-group,
    .main-from .form-row > .form-group,
    .content-card .col-md-6 > .form-group,
    .content-card .col-md-4 > .form-group,
    .content-card .col-md-3 > .form-group,
    .content-card .col-md-12 > .form-group,
    .content-card .col-sm-6 > .form-group,
    .content-card .col-sm-12 > .form-group,
    .content-card .col-12 > .form-group,
    .content-card .col > .form-group,
    .content-card .row > .form-group,
    .content-card .form-row > .form-group,
    .form-section .row > .form-group,
    .form-section .form-row > .form-group,
    #scheduleForm .row > .form-group {
        margin-bottom: 0 !important;
    }

    .main-from .row,
    .main-from .form-row,
    .content-card .row,
    .content-card .form-row,
    .form-section .form-row {
        margin-bottom: 0 !important;
    }

    .main-from label.form-label,
    .main-from label.form-label.fw-medium,
    .main-from .form-group label:not(.btn):not(.btn-outline-secondary):not(.toggle-section),
    .content-card label.form-label,
    .content-card label.form-label.fw-medium,
    .content-card .form-group label:not(.btn):not(.btn-outline-secondary):not(.toggle-section),
    .form-section label:not(.btn):not(.btn-outline-secondary):not(.toggle-section),
    #scheduleForm label:not(.btn):not(.btn-outline-secondary):not(.toggle-section) {
        font-size: 12.5px !important;
        font-weight: 500 !important;
        color: #374151 !important;
        margin-bottom: 5px !important;
        margin-top: 0 !important;
        line-height: 1.3 !important;
        display: block !important;
        text-align: left !important;
    }

    .main-from .form-input,
    .main-from .form-select,
    .main-from .form-controlss,
    .main-from select.form-input,
    .main-from select.form-select,
    .main-from input.form-input,
    .content-card .form-input,
    .content-card .form-select,
    .content-card .form-controlss,
    .content-card select.form-input,
    .content-card select.form-select,
    .content-card input.form-input,
    .form-section .form-input,
    #scheduleForm .form-input {
        min-height: 40px !important;
        padding: 8px 12px !important;
        font-size: 13px !important;
        border-radius: 8px !important;
        margin-bottom: 0 !important;
        box-sizing: border-box !important;
        line-height: 1.4 !important;
    }

    .main-from .ts-wrapper,
    .main-from .tom-select,
    .content-card .ts-wrapper,
    .content-card .tom-select {
        margin-bottom: 0 !important;
    }

    .main-from textarea.form-input,
    .main-from textarea.form-controlss,
    .content-card textarea.form-input,
    .content-card textarea.form-controlss,
    .form-section textarea.form-input {
        min-height: 96px !important;
        padding: 9px 12px !important;
        font-size: 13px !important;
        margin-bottom: 0 !important;
        line-height: 1.4 !important;
    }

    /* Normalized Helper & Description Texts under inputs (No bloated gaps) */
    .main-from small.text-muted,
    .main-from .form-text,
    .main-from .text-descriptions.form-text,
    .main-from p.text-descriptions,
    .main-from .text-muted.d-block,
    .main-from small.d-block,
    .main-from .form-group small,
    .main-from .form-group .text-muted,
    .content-card small.text-muted,
    .content-card .form-text,
    .content-card .text-descriptions.form-text,
    .content-card p.text-descriptions,
    .content-card .text-muted.d-block,
    .content-card small.d-block,
    .content-card .form-group small,
    .content-card .form-group .text-muted,
    .form-section small,
    .form-section .form-text,
    .form-section p.text-descriptions,
    #scheduleForm small {
        display: block !important;
        font-size: 11px !important;
        line-height: 1.25 !important;
        color: #6b7280 !important;
        margin-top: 3px !important;
        margin-bottom: 0 !important;
        padding: 0 !important;
        text-align: left !important;
    }

    /* ─── COMPACT ERROR MESSAGE SPACING IN MOBILE VIEW ─── */
    .main-from .text-danger,
    .main-from .field-error,
    .main-from .client-error,
    .main-from .invalid-feedback,
    .main-from .location-suggestion-error,
    .content-card .text-danger,
    .content-card .field-error,
    .content-card .client-error,
    .content-card .invalid-feedback,
    .content-card .location-suggestion-error,
    .form-section .text-danger,
    .form-section .field-error,
    .form-section .client-error,
    .form-section .invalid-feedback,
    #scheduleForm .text-danger,
    #scheduleForm .field-error,
    #scheduleForm .client-error,
    #scheduleForm .invalid-feedback {
        display: block !important;
        font-size: 11px !important;
        font-weight: 500 !important;
        color: #dc2626 !important;
        line-height: 1.25 !important;
        margin-top: 3px !important;
        margin-bottom: 0 !important;
        padding: 0 !important;
        text-align: left !important;
    }

    .main-from small + .text-danger,
    .main-from small + .field-error,
    .main-from .form-text + .text-danger,
    .main-from .form-text + .field-error,
    .main-from .text-descriptions + .text-danger,
    .main-from .text-descriptions + .field-error,
    .content-card small + .text-danger,
    .content-card small + .field-error,
    .content-card .form-text + .text-danger,
    .content-card .form-text + .field-error,
    .content-card .text-descriptions + .text-danger,
    .content-card .text-descriptions + .field-error {
        margin-top: 2px !important;
    }

    /* Automatically tighten field container bottom margin when an error occurs so it does not add excess space */
    .main-from .col-md-6:has(.text-danger:not(:empty)),
    .main-from .col-md-6:has(.field-error:not(:empty)),
    .main-from .col-md-6:has(.client-error:not(:empty)),
    .main-from .col-md-6:has(.invalid-feedback:not(:empty)),
    .main-from .col-md-6:has(.is-invalid),
    .main-from .col-md-6.has-field-error,
    .main-from .col-md-4:has(.text-danger:not(:empty)),
    .main-from .col-md-4:has(.field-error:not(:empty)),
    .main-from .col-md-4:has(.client-error:not(:empty)),
    .main-from .col-md-4:has(.invalid-feedback:not(:empty)),
    .main-from .col-md-4:has(.is-invalid),
    .main-from .col-md-4.has-field-error,
    .main-from .col-12:has(.text-danger:not(:empty)),
    .main-from .col-12:has(.field-error:not(:empty)),
    .main-from .col-12:has(.client-error:not(:empty)),
    .main-from .col-12:has(.invalid-feedback:not(:empty)),
    .main-from .col-12:has(.is-invalid),
    .main-from .col-12.has-field-error,
    .main-from .col-md-12:has(.text-danger:not(:empty)),
    .main-from .col-md-12:has(.field-error:not(:empty)),
    .main-from .col-md-12:has(.client-error:not(:empty)),
    .main-from .col-md-12:has(.invalid-feedback:not(:empty)),
    .main-from .col-md-12:has(.is-invalid),
    .main-from .col-md-12.has-field-error,
    .main-from .form-group:has(.text-danger:not(:empty)),
    .main-from .form-group:has(.field-error:not(:empty)),
    .main-from .form-group:has(.client-error:not(:empty)),
    .main-from .form-group:has(.invalid-feedback:not(:empty)),
    .main-from .form-group:has(.is-invalid),
    .main-from .form-group.has-field-error,
    .main-from .mb-3:has(.text-danger:not(:empty)),
    .main-from .mb-3:has(.field-error:not(:empty)),
    .main-from .mb-3:has(.client-error:not(:empty)),
    .main-from .mb-3:has(.invalid-feedback:not(:empty)),
    .main-from .mb-3:has(.is-invalid),
    .main-from .mb-3.has-field-error,
    .main-from .mb-4:has(.text-danger:not(:empty)),
    .main-from .mb-4:has(.field-error:not(:empty)),
    .main-from .mb-4:has(.client-error:not(:empty)),
    .main-from .mb-4:has(.invalid-feedback:not(:empty)),
    .main-from .mb-4:has(.is-invalid),
    .main-from .mb-4.has-field-error,
    .content-card .form-group:has(.text-danger:not(:empty)),
    .content-card .form-group:has(.field-error:not(:empty)),
    .content-card .form-group:has(.client-error:not(:empty)),
    .content-card .form-group:has(.invalid-feedback:not(:empty)),
    .content-card .form-group:has(.is-invalid),
    .content-card .form-group.has-field-error,
    .content-card .col-md-6:has(.text-danger:not(:empty)),
    .content-card .col-md-6:has(.field-error:not(:empty)),
    .content-card .col-md-6:has(.client-error:not(:empty)),
    .content-card .col-md-6:has(.invalid-feedback:not(:empty)),
    .content-card .col-md-6:has(.is-invalid),
    .content-card .col-md-6.has-field-error,
    .content-card .col-12:has(.text-danger:not(:empty)),
    .content-card .col-12:has(.field-error:not(:empty)),
    .content-card .col-12:has(.client-error:not(:empty)),
    .content-card .col-12:has(.invalid-feedback:not(:empty)),
    .content-card .col-12:has(.is-invalid),
    .content-card .col-12.has-field-error,
    .content-card .mb-3:has(.text-danger:not(:empty)),
    .content-card .mb-3:has(.field-error:not(:empty)),
    .content-card .mb-3:has(.client-error:not(:empty)),
    .content-card .mb-3:has(.invalid-feedback:not(:empty)),
    .content-card .mb-3:has(.is-invalid),
    .content-card .mb-3.has-field-error,
    .content-card .mb-4:has(.text-danger:not(:empty)),
    .content-card .mb-4:has(.field-error:not(:empty)),
    .content-card .mb-4:has(.client-error:not(:empty)),
    .content-card .mb-4:has(.invalid-feedback:not(:empty)),
    .content-card .mb-4:has(.is-invalid),
    .content-card .mb-4.has-field-error,
    .form-section .form-group:has(.text-danger:not(:empty)),
    .form-section .form-group:has(.field-error:not(:empty)),
    .form-section .form-group:has(.client-error:not(:empty)),
    .form-section .form-group:has(.invalid-feedback:not(:empty)),
    .form-section .form-group:has(.is-invalid),
    .form-section .form-group.has-field-error,
    #scheduleForm .form-group:has(.text-danger:not(:empty)),
    #scheduleForm .form-group:has(.field-error:not(:empty)),
    #scheduleForm .form-group:has(.client-error:not(:empty)),
    #scheduleForm .form-group:has(.invalid-feedback:not(:empty)),
    #scheduleForm .form-group:has(.is-invalid),
    #scheduleForm .form-group.has-field-error {
        margin-bottom: 6px !important;
    }

    .main-from .form-actions,
    .main-from .form-actions.buy_sell_form,
    .content-card .form-actions,
    .content-card .form-actions.buy_sell_form {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: stretch !important;
        gap: 8px !important;
        margin-top: 16px !important;
        justify-content: stretch !important;
        width: 100% !important;
    }

    .main-from .form-actions .btn,
    .main-from .form-actions.buy_sell_form .btn,
    .content-card .form-actions .btn,
    .content-card .form-actions.buy_sell_form .btn {
        flex: 1 1 0 !important;
        width: 0 !important;
        min-width: 0 !important;
        min-height: 40px !important;
        padding: 9px 8px !important;
        font-size: 13px !important;
        border-radius: 8px !important;
    }
}

@media (max-width: 480px) {
    .main-from,
    .content-card {
        padding: 16px 12px !important;
    }

    .main-from .col-md-6,
    .main-from .col-md-4,
    .main-from .col-md-3,
    .main-from .col-md-12,
    .main-from .col-sm-6,
    .main-from .col-sm-12,
    .main-from .col-12,
    .main-from .col,
    .main-from .form-group,
    .main-from .mb-3,
    .main-from .mb-4,
    .content-card .col-md-6,
    .content-card .col-md-4,
    .content-card .col-md-3,
    .content-card .col-md-12,
    .content-card .col-sm-6,
    .content-card .col-sm-12,
    .content-card .col-12,
    .content-card .col,
    .content-card .form-group,
    .content-card .mb-3,
    .content-card .mb-4,
    .form-section .form-group,
    .form-row > .form-group,
    #scheduleForm .form-group,
    #scheduleForm .mb-3 {
        margin-bottom: 12px !important;
    }

    .main-from .col-md-6:has(.text-danger:not(:empty)),
    .main-from .col-md-6:has(.field-error:not(:empty)),
    .main-from .col-md-6:has(.client-error:not(:empty)),
    .main-from .col-md-6:has(.invalid-feedback:not(:empty)),
    .main-from .col-md-6:has(.is-invalid),
    .main-from .col-md-6.has-field-error,
    .main-from .col-md-4:has(.text-danger:not(:empty)),
    .main-from .col-md-4:has(.field-error:not(:empty)),
    .main-from .col-md-4:has(.client-error:not(:empty)),
    .main-from .col-md-4:has(.invalid-feedback:not(:empty)),
    .main-from .col-md-4:has(.is-invalid),
    .main-from .col-md-4.has-field-error,
    .main-from .col-12:has(.text-danger:not(:empty)),
    .main-from .col-12:has(.field-error:not(:empty)),
    .main-from .col-12:has(.client-error:not(:empty)),
    .main-from .col-12:has(.invalid-feedback:not(:empty)),
    .main-from .col-12:has(.is-invalid),
    .main-from .col-12.has-field-error,
    .main-from .col-md-12:has(.text-danger:not(:empty)),
    .main-from .col-md-12:has(.field-error:not(:empty)),
    .main-from .col-md-12:has(.client-error:not(:empty)),
    .main-from .col-md-12:has(.invalid-feedback:not(:empty)),
    .main-from .col-md-12:has(.is-invalid),
    .main-from .col-md-12.has-field-error,
    .main-from .form-group:has(.text-danger:not(:empty)),
    .main-from .form-group:has(.field-error:not(:empty)),
    .main-from .form-group:has(.client-error:not(:empty)),
    .main-from .form-group:has(.invalid-feedback:not(:empty)),
    .main-from .form-group:has(.is-invalid),
    .main-from .form-group.has-field-error,
    .main-from .mb-3:has(.text-danger:not(:empty)),
    .main-from .mb-3:has(.field-error:not(:empty)),
    .main-from .mb-3:has(.client-error:not(:empty)),
    .main-from .mb-3:has(.invalid-feedback:not(:empty)),
    .main-from .mb-3:has(.is-invalid),
    .main-from .mb-3.has-field-error,
    .main-from .mb-4:has(.text-danger:not(:empty)),
    .main-from .mb-4:has(.field-error:not(:empty)),
    .main-from .mb-4:has(.client-error:not(:empty)),
    .main-from .mb-4:has(.invalid-feedback:not(:empty)),
    .main-from .mb-4:has(.is-invalid),
    .main-from .mb-4.has-field-error,
    .content-card .form-group:has(.text-danger:not(:empty)),
    .content-card .form-group:has(.field-error:not(:empty)),
    .content-card .form-group:has(.client-error:not(:empty)),
    .content-card .form-group:has(.invalid-feedback:not(:empty)),
    .content-card .form-group:has(.is-invalid),
    .content-card .form-group.has-field-error,
    .content-card .col-md-6:has(.text-danger:not(:empty)),
    .content-card .col-md-6:has(.field-error:not(:empty)),
    .content-card .col-md-6:has(.client-error:not(:empty)),
    .content-card .col-md-6:has(.invalid-feedback:not(:empty)),
    .content-card .col-md-6:has(.is-invalid),
    .content-card .col-md-6.has-field-error,
    .content-card .col-12:has(.text-danger:not(:empty)),
    .content-card .col-12:has(.field-error:not(:empty)),
    .content-card .col-12:has(.client-error:not(:empty)),
    .content-card .col-12:has(.invalid-feedback:not(:empty)),
    .content-card .col-12:has(.is-invalid),
    .content-card .col-12.has-field-error,
    .content-card .mb-3:has(.text-danger:not(:empty)),
    .content-card .mb-3:has(.field-error:not(:empty)),
    .content-card .mb-3:has(.client-error:not(:empty)),
    .content-card .mb-3:has(.invalid-feedback:not(:empty)),
    .content-card .mb-3:has(.is-invalid),
    .content-card .mb-3.has-field-error,
    .content-card .mb-4:has(.text-danger:not(:empty)),
    .content-card .mb-4:has(.field-error:not(:empty)),
    .content-card .mb-4:has(.client-error:not(:empty)),
    .content-card .mb-4:has(.invalid-feedback:not(:empty)),
    .content-card .mb-4:has(.is-invalid),
    .content-card .mb-4.has-field-error,
    .form-section .form-group:has(.text-danger:not(:empty)),
    .form-section .form-group:has(.field-error:not(:empty)),
    .form-section .form-group:has(.client-error:not(:empty)),
    .form-section .form-group:has(.invalid-feedback:not(:empty)),
    .form-section .form-group:has(.is-invalid),
    .form-section .form-group.has-field-error,
    #scheduleForm .form-group:has(.text-danger:not(:empty)),
    #scheduleForm .form-group:has(.field-error:not(:empty)),
    #scheduleForm .form-group:has(.client-error:not(:empty)),
    #scheduleForm .form-group:has(.invalid-feedback:not(:empty)),
    #scheduleForm .form-group:has(.is-invalid),
    #scheduleForm .form-group.has-field-error {
        margin-bottom: 5px !important;
    }

    .main-from .form-actions .btn,
    .main-from .form-actions.buy_sell_form .btn,
    .content-card .form-actions .btn,
    .content-card .form-actions.buy_sell_form .btn {
        min-height: 38px !important;
        padding: 8px 6px !important;
        font-size: 12px !important;
    }
}