    body {
      font-family: 'Poppins', sans-serif;
      background: #f6f8fb;
    }
    
    /* CONTAINER */
    .builder-container {
      width: 1150px;
      margin: auto;
      padding: 25px 0;
    }
    
    .builder-title {
      font-size: 26px;
      font-weight: 600;
    }
    
    .builder-sub {
      font-size: 13px;
      color: #777;
      margin-bottom: 15px;
    }
    
    /* SINGLE WHITE BOX (LAYOUT ONLY) */
    .main-box {
      background: transparent;
      border-radius: 0;
      padding: 0;
      border: none;
    }
    
    /* FILTER */
    .builder-filter {
      background: #fff;
      border-radius: 16px;
      padding: 14px 20px;
      border: 1px solid #e8eaed;
      box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
      display: flex;
      gap: 14px;
      margin-bottom: 20px;
      align-items: center;
    }
    
    .builder-filter select {
      padding: 10px 16px;
      border-radius: 10px;
      border: 1px solid #e5e7eb;
      font-size: 13px;
      font-weight: 500;
      color: #374151;
      background: #fff;
      outline: none;
      cursor: pointer;
      transition: all 0.2s ease;
    }
    
    .builder-filter select:focus {
      border-color: #f28d35;
      box-shadow: 0 0 0 3px rgba(242, 141, 53, 0.1);
    }
    /* Desktop builder filter same as agent */
.builder-filter__item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 7px 12px;
  min-width: 228px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.builder-filter__label {
  font-size: 0.6875rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.builder-filter__select,
.builder-filter select.builder-filter__select {
  border: none;
  background: transparent;
  color: #111827;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0;
  min-width: 170px;
  height: 26px;
  outline: none;
  cursor: pointer;
  box-shadow: none;
}

    /* GRID */
    .builder-main {
      display: flex;
      gap: 20px;
    }
    
    /* LEFT */
    .builder-left {
      flex: 2;
    }
    
    /* Builder card — horizontal layout */
    .builder-card {
      display: flex;
      align-items: stretch;
      background: #fff;
      border-radius: 16px;
      border: 1px solid #e8eaed;
      box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
      overflow: hidden;
      margin-bottom: 20px;
      transition: box-shadow 0.2s ease, transform 0.2s ease;
    }
    
    .builder-card:hover {
      box-shadow: 0 8px 28px rgba(15, 23, 42, 0.1);
      transform: translateY(-2px);
    }
    
    .builder-card__media {
      flex-shrink: 0;
      width: 200px;
      min-height: 200px;
      display: flex;
      flex-direction: column;
      align-items: stretch;
      overflow: hidden;
      background: #fff;
      border-right: 1px solid #e8eaed;
    }
    
    .builder-card__img {
      width: 100%;
      height: 100%;
      min-height: 200px;
      object-fit: cover;
      display: block;
      padding: 0;
    }
    
    .builder-card__avatar {
      width: 100%;
      height: 100%;
      min-height: 200px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 3.2rem;
      font-weight: 800;
      color: #ffffff;
      background: linear-gradient(140deg, #1e5f7a 0%, #eb8944 100%);
    }
    
    .builder-card__body {
      flex: 1;
      min-width: 0;
      padding: 1.15rem 1.35rem 1.15rem 1.25rem;
      display: flex;
      flex-direction: column;
    }
    
    .builder-card__head {
      margin-bottom: 0.65rem;
    }
    
    .builder-card__name-row {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 0.5rem 0.75rem;
      margin-bottom: 0.25rem;
    }
    
    .builder-card__name {
      margin: 0;
      font-size: 1.125rem;
      font-weight: 700;
      line-height: 1.3;
    }
    
    .builder-card__name a {
      color: #111827;
      text-decoration: none;
    }
    
    .builder-card__name a:hover {
      color: #1e5f7a;
    }
    
    .builder-card__verified {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      padding: 0.25rem 0.65rem;
      font-size: 0.6875rem;
      font-weight: 600;
      border-radius: 999px;
      white-space: nowrap;
    }
    
    .builder-card__verified.verified {
      background: #eef4ff;
      color: #2563eb;
    }
    
    .builder-card__verified.unverified {
      background: #fef2f2;
      color: #ef4444;
    }
    
    .builder-card__verified i {
      font-size: 0.75rem;
    }
    
    .builder-card__builder-name {
      margin: 0 0 0.35rem;
      font-size: 0.8125rem;
      color: #6b7280;
      display: flex;
      align-items: center;
      gap: 6px;
    }
    
    .builder-card__experience {
      margin: 0 0 0.35rem;
      font-size: 0.8125rem;
      color: #4b5563;
      display: flex;
      align-items: center;
      gap: 6px;
    }
    
    .builder-card__experience i {
      margin-right: 0.25rem;
      color: #e67e22;
    }
    
    .builder-card__gst {
      margin: 0 0 0.35rem;
      font-size: 0.875rem;
      font-weight: 500;
      color: #4b5563;
    }
    
    .builder-card__category {
      margin: 0 0 0.35rem;
      font-size: 0.8125rem;
      color: #4b5563;
      display: flex;
      align-items: center;
      gap: 6px;
    }
    
    .builder-card__category i {
      margin-right: 0.25rem;
      color: #e67e22;
    }
    
    .builder-card__location {
      margin: 0;
      font-size: 0.8125rem;
      color: #9ca3af;
      line-height: 1.45;
    }
    
    .builder-card__location i {
      margin-right: 0.25rem;
      color: #9ca3af;
    }
    
    .builder-card__sep {
      margin: 0 0.35rem;
    }
    
    /* Stats strip */
    .builder-card__stats {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 0;
      background: #f8f9fb;
      border: 1px solid #eef0f3;
      border-radius: 12px;
      padding: 0.65rem 0.5rem;
      margin-bottom: 0.75rem;
    }
    
    .builder-card__stat {
      display: flex;
      align-items: center;
      gap: 0.4rem;
      padding: 0 0.85rem;
      font-size: 0.8125rem;
      color: #374151;
      border-right: 1px solid #e5e7eb;
    }
    
    .builder-card__stat:last-child {
      border-right: none;
    }
    
    .builder-card__stat strong {
      font-weight: 700;
      color: #111827;
    }
    
    .builder-card__stat-icon {
      color: #e67e22;
      font-size: 0.875rem;
    }
    
    .builder-card__stat-icon--star {
      color: #f59e0b;
    }
    
    .builder-card__reviews {
      font-weight: 500;
      color: #6b7280;
    }
    
    /* Actions */
    .builder-card__actions {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: flex-end;
      gap: 0.5rem;
      margin-top: auto;
      padding-top: 0.25rem;
    }
    
    .builder-card__btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.4rem;
      font-size: 0.8125rem;
      font-weight: 600;
      border-radius: 10px;
      cursor: pointer;
      text-decoration: none;
      transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
      font-family: inherit;
      line-height: 1.2;
    }
    
    .builder-card__btn--icon {
      width: 38px;
      height: 38px;
      padding: 0;
      border: 1px solid #e5e7eb;
      background: #fff;
      color: #6b7280;
      border-radius: 50%;
      flex-shrink: 0;
    }
    
    .builder-card__btn--icon:hover {
      background: #f9fafb;
      color: #374151;
    }
    
    .builder-card__btn--outline {
      padding: 0.5rem 1rem;
      border: 1px solid #e5e7eb;
      background: #fff;
      color: #374151;
    }
    
    .builder-card__btn--outline:hover {
      background: #f9fafb;
      border-color: #d1d5db;
    }
    
    .builder-card__btn--chat {
      padding: 0.5rem 1rem;
      border: 1.5px solid #e67e22;
      background: #fff;
      color: #e67e22;
    }
    
    .builder-card__btn--chat:hover {
      background: #fff8f3;
    }
    
    .builder-card__btn--primary {
      padding: 0.55rem 1.15rem;
      border: none;
      background: #e67e22;
      color: #fff;
      box-shadow: 0 4px 14px rgba(230, 126, 34, 0.35);
    }
    
    .builder-card__btn--primary:hover {
      background: #d35400;
      color: #fff;
    }
    
    .builder-card__btn--primary i {
      font-size: 0.7rem;
    }
    
    /* Responsive */
    @media (max-width: 991.98px) {
      .builder-container {
        width: 100%;
        max-width: 100%;
        padding-left: 16px;
        padding-right: 16px;
      }

      .builder-card__media {
        width: 160px;
        min-height: 180px;
      }
    
      .builder-card__img {
        min-height: 180px;
      }
    
      .builder-card__avatar {
        min-height: 180px;
        font-size: 2.7rem;
      }
    }
    
    @media (max-width: 767.98px) {
      .builder-card {
        flex-direction: column !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        border: 0 !important;
        background: #fff !important;
        margin-bottom: 20px !important;
      }
    
      .builder-card__media {
        width: 94px !important;
        height: 94px !important;
        min-height: 94px !important;
        border-radius: 50% !important;
        margin: 22px 0 0 28px !important;
        background: #fff !important;
        border: 1px solid #e5e7eb !important;
        overflow: hidden !important;
        border-bottom: none !important;
        border-right: none !important;
      }

      .builder-card__img,
      .builder-card__avatar {
        width: 100% !important;
        height: 100% !important;
        min-height: 94px !important;
        border-radius: 50% !important;
        aspect-ratio: 1 / 1 !important;
        font-size: 2rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
      }

      .builder-card__body {
        padding: 0 28px 24px 28px !important;
      }

      .builder-card__head {
        margin-top: -92px !important;
        padding-left: 128px !important;
        min-height: 92px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
      }

      .builder-card__name-row {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 6px !important;
        margin-bottom: 4px !important;
      }

      .builder-card__name {
        font-size: 1.2rem !important;
        font-weight: 700 !important;
        line-height: 1.2 !important;
      }

      .builder-card__verified {
        display: inline-flex !important;
        align-items: center !important;
        gap: 5px !important;
        padding: 4px 10px !important;
        border-radius: 999px !important;
        font-size: 0.68rem !important;
        font-weight: 600 !important;
        width: fit-content !important;
        height: auto !important;
        margin: 0 !important;
      }

      .builder-card__verified.verified {
        background: #eef4ff !important;
        color: #2563eb !important;
      }

      .builder-card__verified.unverified {
        background: #fef2f2 !important;
        color: #ef4444 !important;
      }

      .builder-card__builder-name,
      .builder-card__experience,
      .builder-card__gst,
      .builder-card__category,
      .builder-rera-desktop {
        display: none !important;
      }

      .builder-card__location {
        font-size: 0.85rem !important;
        color: #777 !important;
        margin-top: 4px !important;
        display: flex !important;
        align-items: center !important;
        gap: 4px !important;
      }

      .builder-card__location i {
        color: #9ca3af !important;
      }
    
      .builder-card__stats {
        display: grid !important;
        grid-auto-flow: column !important;
        grid-auto-columns: 1fr !important;
        align-items: stretch !important;
        background: transparent !important;
        border: 0 !important;
        border-top: 1px solid #e5e7eb !important;
        border-radius: 0 !important;
        padding: 10px 0 8px !important;
        margin: 4px 0 14px !important;
      }
    
      .builder-card__stat {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        border-right: 1px solid #e5e7eb !important;
        border-bottom: 0 !important;
        padding: 0 3px !important;
        gap: 5px !important;
        min-width: 0 !important;
        height: 42px !important;
      }

      .builder-card__stat:last-child {
        border-right: none !important;
      }

      .builder-card__stat>span {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 6px !important;
        font-size: 0 !important;
        height: 100% !important;
        justify-content: space-between !important;
        line-height: 1 !important;
      }

      .builder-card__stat>span>strong {
        display: block !important;
        font-size: 0.95rem !important;
        color: #111827 !important;
        line-height: 1 !important;
        margin: 0 !important;
      }

      .builder-card__stat>span::before {
        font-size: 0.58rem !important;
        color: #6b7280 !important;
        letter-spacing: 0.04em !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        line-height: 1 !important;
      }

      .builder-card__stat:nth-child(1) span::before {
        content: "PROJECTS" !important;
      }

      .builder-card__stat:nth-child(2) span::before {
        content: "DEALS" !important;
      }

      .builder-card__stat:nth-child(3) span::before {
        content: "RATING" !important;
      }

      .builder-card__stat-icon {
        display: none !important;
      }

      .builder-card__reviews {
        display: none !important;
      }

      .builder-card__actions {
        display: grid !important;
        grid-template-columns: 82px 1fr 1fr !important;
        gap: 12px !important;
        padding-top: 18px !important;
        border-top: 1px solid #e5e7eb !important;
        margin-top: auto !important;
        justify-content: stretch !important;
      }

      .builder-card__btn {
        min-height: 52px !important;
        height: 52px !important;
        border-radius: 14px !important;
        font-size: 1rem !important;
      }

      .builder-card__btn--icon {
        width: 82px !important;
        height: 52px !important;
        border-radius: 14px !important;
        background: #fff4ed !important;
        color: #e67e22 !important;
        border: none !important;
      }

      .builder-card__btn--outline {
        display: none !important;
      }

      .builder-card__btn--chat {
        grid-column: 2 !important;
        border: 1.5px solid #e67e22 !important;
        background: #fff !important;
        color: #e67e22 !important;
        padding: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
      }

      .builder-card__btn--primary {
        grid-column: 3 !important;
        background: #e67e22 !important;
        color: #fff !important;
        border: none !important;
        box-shadow: 0 4px 14px rgba(230, 126, 34, 0.35) !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
      }
    }

    @media (max-width: 575.98px) {
      /* Keep standard alignment but prevent conflict with grid actions */
    }
    
    /* RIGHT PANEL */
    .builder-right {
      flex: 1;
    }
    
    .box {
      background: #fff;
      border-radius: 10px;
      padding: 14px;
      border: 1px solid #eee;
      margin-bottom: 12px;
    }
    
    .toggle {
      display: flex;
      gap: 8px;
      margin-top: 10px;
    }
    
    .toggle button {
      flex: 1;
      padding: 8px;
      border-radius: 6px;
      border: none;
      background: #eee;
      font-size: 12px;
    }
    
    .toggle .active {
      background: #111;
      color: #fff;
    }
    
    .box input {
      width: 100%;
      margin-top: 8px;
      padding: 8px;
      border-radius: 6px;
      border: 1px solid #ddd;
      font-size: 12px;
    }

    .box select,
    .box textarea {
      width: 100%;
      margin-top: 8px;
      padding: 8px;
      border-radius: 6px;
      border: 1px solid #ddd;
      font-size: 12px;
      background: #fff;
    }
    
    .full-btn {
      width: 100%;
      margin-top: 10px;
      padding: 9px;
      border-radius: 6px;
      background: #f28d35;
      color: #fff;
      border: none;
      font-size: 12px;
    }
    
    .feature img {
      width: 100%;
      height: 130px;
      border-radius: 10px;
      object-fit: cover;
    }
    
    .loan {
      background: linear-gradient(135deg, #4f46e5, #1e3a8a);
      color: #fff;
    }
    
    .loan button {
      background: #fff;
      color: #000;
    }
    
    .ad {
      text-align: center;
      color: #999;
    }

    /* GLOBAL BOX OVERRIDE */
    .box {
      background: #fff;
      border-radius: 20px;
      /* Softer corners like image */
      padding: 20px;
      border: 1px solid #eee;
      margin-bottom: 15px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    }
    
    /* REQUIREMENT BOX */
    .header-with-icon {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 10px;
    }

    .icon-circle {
      background: #fff7ed;
      color: #f28d35;
      width: 35px;
      height: 35px;
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .box-subtitle {
      font-size: 12px;
      color: #666;
      line-height: 1.4;
      margin-bottom: 15px;
    }
    
    .toggle {
      background: #f8f9fa;
      padding: 4px;
      border-radius: 10px;
      border: 1px solid #eee;
    }
    .toggle button {
      background: transparent;
      color: #666;
      font-weight: 500;
      transition: 0.3s;
    }
    .toggle button.active {
      background: #111827;
      color: #fff;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }
    
    .budget-row {
      display: flex;
      gap: 10px;
    }
    .box input {
      padding: 12px;
      border: 1px solid #e5e7eb;
      border-radius: 10px;
      outline: none;
    }

    .box select,
    .box textarea {
      padding: 12px;
      border: 1px solid #e5e7eb;
      border-radius: 10px;
      outline: none;
    }

    .box input:focus {
      border-color: #f28d35;
    }

    .box select:focus,
    .box textarea:focus {
      border-color: #f28d35;
    }
    
    .orange-shadow {
      box-shadow: 0 6px 15px rgba(242, 141, 53, 0.3);
      font-weight: 600;
      padding: 12px;
      font-size: 14px;
    }
    
    /* FEATURE CARD */
    .feature-card {
      padding: 0;
      overflow: hidden;
      position: relative;
      border: none;
    }
    .featured-tag {
      position: absolute;
      top: 15px;
      left: 15px;
      z-index: 2;
      background: #374151;
      color: #fff;
      padding: 4px 12px;
      border-radius: 6px;
      font-size: 11px;
    }
    .image-container {
      position: relative;
      height: 180px;
    }
    .image-container img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .image-overlay {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      padding: 20px;
      background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
      color: #fff;
    }
    .image-overlay h4 {
      margin: 0;
      font-size: 18px;
    }
    .image-overlay p {
      margin: 0;
      font-size: 13px;
      opacity: 0.9;
    }
    
    .agent-footer {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 12px 15px;
    }
    .agent-info {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .avatar {
      width: 35px;
      height: 35px;
      border-radius: 50%;
      object-fit: cover;
    }
    .agent-name {
      display: block;
      font-size: 13px;
      font-weight: 600;
      color: #111;
    }
    .agency {
      font-size: 11px;
      color: #777;
    }
    .view-details {
      color: #f28d35;
      text-decoration: none;
      font-size: 13px;
      font-weight: 600;
    }
    
    /* LOAN CARD */
    .loan-card {
      background: linear-gradient(135deg, #3b82f6, #1d4ed8);
      color: #fff;
      border: none;
      padding: 25px;
    }
    .loan-header {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 12px;
    }
    .loan-icon {
      background: rgba(255, 255, 255, 0.2);
      width: 35px;
      height: 35px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: bold;
    }
    .loan-card p {
      font-size: 13px;
      line-height: 1.5;
      margin-bottom: 20px;
      opacity: 0.9;
    }
    .loan-btn {
      width: 100%;
      background: #fff;
      color: #1e40af;
      border: none;
      padding: 12px;
      border-radius: 10px;
      font-weight: 700;
      cursor: pointer;
    }
    
    /* AD PLACEHOLDER */
    .ad-placeholder {
      background: #f3f4f6;
      border: none;
      position: relative;
      text-align: center;
    }
    .ad-tag {
      position: absolute;
      top: 10px;
      right: 10px;
      border: 1px solid #ccc;
      padding: 1px 6px;
      border-radius: 4px;
      font-size: 10px;
      color: #999;
    }
    .ad-icon-circle {
      background: #e5e7eb;
      width: 50px;
      height: 50px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 15px;
      color: #999;
      font-size: 20px;
    }
    .ad-title {
      font-weight: 600;
      color: #4b5563;
      margin-bottom: 5px;
    }
    .ad-text {
      font-size: 12px;
      color: #9ca3af;
      line-height: 1.4;
      padding: 0 10px;
    }
    /* 1. Main Container */
    .feature-card {
      background: #fff;
      border-radius: 20px;
      padding: 0;
      overflow: hidden;
      position: relative;
      /* CRITICAL: Keeps the "Featured" tag inside */
      border: 1px solid #eee;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    }
    
    .featured-tag {
      position: absolute;
      /* CRITICAL: Prevents tag from pushing text */
      top: 15px;
      left: 15px;
      z-index: 5;
      background: #374151;
      color: #fff;
      padding: 5px 12px;
      border-radius: 6px;
      font-size: 11px;
      font-weight: 600;
    }
    
    .image-container {
      position: relative;
      height: 180px;
    }
    
    .image-container img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    
    .image-overlay {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      padding: 20px;
      background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
      color: #fff;
    }
    
    .image-overlay h4 {
      margin: 0;
      font-size: 18px;
    }
    .image-overlay p {
      margin: 0;
      font-size: 13px;
      opacity: 0.9;
    }
    
    /* FOOTER FIX */
    .agent-footer {
      display: flex;
      justify-content: space-between;
      /* Pushes View Details to the far right */
      align-items: center;
      padding: 15px 20px;
    }
    
    .agent-info {
      display: flex;
      align-items: center;
      gap: 12px;
    }
    
    .avatar {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      object-fit: cover;
    }
    
    .agent-details {
      display: flex;
      flex-direction: column;
    }
    
    .agent-name {
      font-size: 14px;
      font-weight: 700;
      color: #111;
    }
    
    .agency {
      font-size: 12px;
      color: #777;
    }
    
    .view-details {
      color: #d97706;
      /* Orange color */
      text-decoration: none;
      font-size: 13px;
      font-weight: 700;
      white-space: nowrap;
      /* Prevents text from breaking into two lines */
    }
    
    /* FEATURED VILLA CARD */
    .box.featured-card {
      padding: 0;
      border: 1px solid #eee;
      border-radius: 18px;
      overflow: hidden;
      background: #fff;
      box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
    }
    
    .featured-card .card-image-area {
      position: relative;
      height: 180px;
      overflow: hidden;
    }
    
    .featured-card .card-image-area img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
    
    .featured-card .featured-badge {
      position: absolute;
      top: 12px;
      left: 12px;
      z-index: 2;
      background: #4d4c49;
      color: #fff;
      padding: 5px 10px;
      border-radius: 6px;
      font-size: 11px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }
    
    .featured-card .card-text-overlay {
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      padding: 15px;
      background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.72) 100%);
      color: #fff;
      display: flex;
      flex-direction: column;
      gap: 4px;
    }
    
    .featured-card .card-text-overlay h4 {
      margin: 0;
      font-size: 15px;
      line-height: 1.2;
      font-weight: 700;
    }
    
    .featured-card .card-text-overlay p {
      margin: 0;
      font-size: 12px;
      opacity: 0.95;
    }
    
    .featured-card .agent-bar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 10px;
      padding: 12px 14px;
      border-top: 1px solid #f1f1f1;
    }
    
    .featured-card .agent-profile {
      display: flex;
      align-items: center;
      gap: 8px;
    }
    
    .featured-card .agent-avatar {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      object-fit: cover;
      border: 2px solid #fff;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }
    
    .featured-card .agent-name-group {
      display: flex;
      flex-direction: column;
    }
    
    .featured-card .agent-name {
      font-size: 12px;
      font-weight: 700;
      color: #111;
      line-height: 1.1;
    }
    
    .featured-card .agent-agency {
      font-size: 11px;
      color: #6b7280;
      line-height: 1.2;
    }
    
    .featured-card .view-details-link {
      font-size: 12px;
      color: #f97316;
      font-weight: 700;
      text-decoration: none;
      border: 1px solid #f97316;
      border-radius: 999px;
      padding: 6px 10px;
      white-space: nowrap;
      transition: all 0.2s ease;
    }
    
    .featured-card .view-details-link:hover {
      background: #f97316;
      color: #fff;
    }

    .builder-image-wrapper {

      width: 90px;

      height: 90px;

      min-width: 90px;

      border-radius: 50%;

      overflow: hidden;

      display: flex;

      align-items: center;

      justify-content: center;
    }

    .builder-img {

      width: 100%;

      height: 100%;

      object-fit: cover;

      border-radius: 50%;
    }

    .builder-placeholder {

      width: 100%;

      height: 100%;

      background: #ff6b35;

      color: #fff;

      font-size: 34px;

      font-weight: 700;

      display: flex;

      align-items: center;

      justify-content: center;

      border-radius: 50%;

      text-transform: uppercase;
    }

    .builder-mobile-filter-btn,
    .builder-filter-mobile-head {
      display: none;
    }

    .builder-mobile-head-row {
      display: contents;
    }

    @media (max-width: 767.98px) {

      .builder-container {
        padding-left: 12px;
        padding-right: 12px;
      }

      .builder-mobile-head-row {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 12px;
      }

      .builder-title {
    flex: 1;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.25rem !important;
    font-weight: 800;
    color: #111827;
    line-height: 1.2;
    margin: 0;
}

      .builder-sub {
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
        font-size: 0.72rem;
        color: #6b7280;
        margin-top: 8px;
        margin-bottom: 14px;
      }

      .builder-mobile-filter-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    min-width: 42px;
    border: 1px solid #d9dde3;
    border-radius: 50%;
    background: #f7f8fa;
    color: #6b7280;
    padding: 0;
    margin: 0;
    box-shadow: none;
}

.builder-mobile-filter-btn i {
    font-size: 15px;
}

      .builder-mobile-filter-btn i {
        font-size: 14px;
      }

      .builder-filter {
  display: none;
  background: #f3f4f6;
  border-radius: 14px;
  padding: 8px;
  gap: 8px;
  margin-top: 10px;
  margin-bottom: 16px;
  border: none;
  box-shadow: none;
}

.builder-filter.is-open {
  display: flex;
  flex-direction: column;
}

.builder-filter-mobile-head {
  display: none !important;
}

.builder-filter__item {
  width: 100%;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 6px 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.builder-filter__label {
  font-size: 0.55rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.builder-filter__select,
.builder-filter select {
  width: 100%;
  min-width: 0;
  height: 24px;
  border: none;
  background: transparent;
  color: #111827;
  font-size: 0.70rem;
  font-weight: 600;
  padding: 0;
  outline: none;
  cursor: pointer;
}

      .builder-filter.is-open {
        display: flex;
      }

      .builder-filter {
  display: none;
  background: #f3f4f6;
  border-radius: 14px;
  padding: 8px;
  gap: 8px;
  margin-top: 10px;
  margin-bottom: 16px;
  border: none;
  box-shadow: none;
}

.builder-filter.is-open {
  display: flex;
  flex-direction: column;
}

.builder-filter-mobile-head {
  display: none !important;
}

.builder-filter__item {
  width: 100%;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 6px 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.builder-filter__label {
  font-size: 0.55rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.builder-filter__select,
.builder-filter select {
  width: 100%;
  min-width: 0;
  height: 24px;
  min-height: 24px;
  border: none;
  background: transparent;
  color: #111827;
  font-size: 0.70rem;
  font-weight: 600;
  padding: 0;
  outline: none;
  cursor: pointer;
  box-shadow: none;
}

      .builder-right {
        display: none;
      }
    }

    .builder-view-mobile-text {
      display: none;
    }

    @media (max-width: 767.98px) {
      .builder-view-desktop-text {
        display: none !important;
      }

      .builder-view-mobile-text {
        display: inline !important;
      }
    }

    /* Builder list page UI alignment with agents layout */
    .builder-container {
      width: 100%;
      max-width: 1640px;
      margin: 0 auto;
      padding: 36px 32px 28px;
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    }

    .builder-title {
      font-size: 1.55rem;
      font-weight: 800;
      color: #111827;
      margin: 0 0 0.25rem;
      line-height: 1.22;
      letter-spacing: -0.01em;
    }

    .builder-sub {
      color: #6b7280;
      font-size: 0.84rem;
      margin: 0 0 1.35rem;
    }

    .builder-top-layout {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 520px;
      gap: 26px;
      align-items: start;
      margin-bottom: 18px;
    }

    .builder-filter {
      background: #f3f4f6;
      border-radius: 18px;
      border: none;
      box-shadow: none;
      padding: 12px;
      margin: 0;
      min-height: 98px;
      align-items: center;
      flex-wrap: nowrap;
      gap: 12px;
    }

    .builder-filter__item {
      flex: 0 0 246px;
      min-width: 246px;
      background: #fff;
      border: 1px solid #e5e7eb;
      border-radius: 14px;
      padding: 11px 20px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 5px;
      min-height: 76px;
    }

    .builder-filter__label {
      font-size: 0.70rem;
      color: #6b7280;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      font-weight: 600;
    }

    .builder-filter__select,
    .builder-filter select {
      width: 100%;
      min-width: 0;
      border: none;
      background: transparent;
      color: #111827;
      font-size: 0.86rem;
      font-weight: 600;
      padding: 0;
      outline: none;
      box-shadow: none;
      height: 24px;
    }

    .builder-main {
      display: block;
      min-height: 250px;
    }

    .builder-left {
      width: 100%;
      flex: none;
    }

    .builder-right {
      display: block;
      width: 100%;
      flex: none;
    }

    .ad-placeholder {
      background: #f3f4f6;
      border: none;
      border-radius: 18px;
      box-shadow: none;
      min-height: 200px;
      padding: 26px 24px 22px;
      text-align: center;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .ad-content {
      width: 100%;
    }

    .ad-tag {
      top: 20px;
      right: 22px;
      background: #fff;
      border: 1px solid #d1d5db;
      color: #9ca3af;
      border-radius: 6px;
      padding: 2px 8px;
      font-size: 0.72rem;
    }

    .ad-icon-circle {
      width: 60px;
      height: 60px;
      margin: 4px auto 14px;
      background: #e5e7eb;
      color: #64748b;
      font-size: 22px;
    }

    .ad-title {
      font-size: 0.98rem;
      font-weight: 700;
      color: #475569;
      margin-bottom: 8px;
    }

    .ad-text {
      font-size: 0.82rem;
      color: #6b7280;
      line-height: 1.45;
      padding: 0;
      margin: 0;
    }

    .builder-empty-state {
      min-height: 215px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      padding-top: 48px !important;
    }

    .builder-empty-state h4 {
      margin-bottom: 0.55rem;
      font-size: 1.05rem;
      font-weight: 700;
      color: #111827;
    }

    .builder-empty-state p,
    .builder-empty-state .text-muted {
      font-size: 0.82rem;
      color: #6b7280 !important;
    }

    @media (max-width: 991.98px) {
      .builder-container {
        padding-left: 16px;
        padding-right: 16px;
      }

      .builder-top-layout {
        grid-template-columns: 1fr;
        gap: 16px;
      }

      .builder-right {
        order: 2;
      }

      .ad-placeholder {
        min-height: 160px;
      }
    }

    @media (max-width: 767.98px) {
      .builder-container {
        padding-left: 12px;
        padding-right: 12px;
      }

      .builder-title {
        font-size: 1.15rem;
        line-height: 1.35;
      }

      .builder-sub {
        font-size: 0.8rem;
        margin-bottom: 14px;
      }

      .builder-top-layout {
        display: block;
        margin-bottom: 16px;
      }

      .builder-filter {
        padding: 18px;
      }

      .builder-filter__item {
        width: 100%;
      }

      .builder-right {
        display: none;
      }

      .builder-empty-state {
        min-height: 180px;
      }
    }

/* ===== Mobile — restructured builders list page ===== */

@media (max-width: 767.98px) {
  .builders-list-page .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .builders-list-page .row {
    --bs-gutter-x: 0;
  }

  .builders-list-page__header {
    text-align: left;
  }

  .builders-list-page__title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
  }

  .builders-list-page__title {
    flex: 1;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.25rem !important;
    font-weight: 800;
    color: #111827;
    line-height: 1.2;
    margin: 0;
  }

  .builders-list-page__lead {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.72rem;
    color: #6b7280;
    margin-top: 8px;
    margin-bottom: 14px;
  }

  .builders-mobile-filter-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    min-width: 42px;
    border: 1px solid #d9dde3;
    border-radius: 50%;
    background: #f7f8fa;
    color: #6b7280;
    padding: 0;
    margin: 0;
    box-shadow: none;
  }

  .builders-mobile-filter-btn i {
    font-size: 15px;
  }

  .builders-list-page .col-lg-4 {
    display: none;
  }

  .builders-list-page .builder-filter {
    display: none;
    background: #f3f4f6;
    border-radius: 14px;
    padding: 8px;
    gap: 8px;
    margin-top: 10px;
    margin-bottom: 16px;
    border: none;
    box-shadow: none;
  }

  .builders-list-page .builder-filter.is-open {
    display: flex;
    flex-direction: column;
  }

  .builders-list-page .builder-filter-mobile-head {
    display: none !important;
  }

  .builders-list-page .builder-filter__item {
    width: 100%;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 6px 10px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    min-height: auto;
  }

  .builders-list-page .builder-filter__label {
    font-size: 0.55rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 600;
  }

  .builders-list-page .builder-filter__select,
  .builders-list-page .builder-filter select {
    width: 100%;
    min-width: 0;
    height: 24px;
    min-height: 24px;
    border: none;
    background: transparent;
    color: #111827;
    font-size: 0.70rem;
    font-weight: 600;
    padding: 0;
    outline: none;
    cursor: pointer;
    box-shadow: none;
  }
}

/* ===== Desktop UI — match agents list page (builders page only) ===== */

@media (min-width: 992px) {
  .builders-list-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #f6f7fb;
    min-height: 60vh;
  }

  .builders-list-page__title {
    font-size: 1.625rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.35rem;
    line-height: 1.25;
  }

  .builders-list-page__lead {
    color: #6b7280;
    font-size: 0.875rem;
    margin: 0;
  }

  .builders-list-page__title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
  }

  .builders-mobile-filter-btn {
    display: none;
  }

  .builders-list-page .builder-filter.builders-filter-bar {
    background: #f3f4f6;
    border-radius: 14px;
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    border: none;
    box-shadow: none;
    margin: 0 0 1rem;
    min-height: 0;
    align-items: flex-start;
  }

  .builders-list-page .builder-filter__item,
  .builders-list-page .builders-filter-bar__item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 7px 12px;
    font-size: 0.8125rem;
    color: #374151;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.2rem;
    cursor: pointer;
    flex: 0 0 auto;
    min-width: 0;
    min-height: 0;
  }

  .builders-list-page .builder-filter__label,
  .builders-list-page .builders-filter-bar__label {
    font-size: 0.6875rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 600;
  }

  .builders-list-page .builder-filter__select,
  .builders-list-page .builders-filter-bar__select,
  .builders-list-page .builder-filter select {
    border: none;
    background: transparent;
    color: #111827;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0;
    min-width: 170px;
    outline: none;
    cursor: pointer;
    height: 26px;
    line-height: 1.2;
    box-shadow: none;
  }

  .builders-list-page .builder-filter__select option {
    font-size: 0.8rem;
    padding: 4px 8px;
  }

  .builders-list-page .builder-filter-mobile-head {
    display: none;
  }

  .builders-list {
    display: flex;
    flex-direction: column;
    gap: 1.125rem;
  }

  .builders-list .builder-card {
    margin-bottom: 0;
  }

  .builders-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.125rem;
  }

  .builders-sidebar__ad {
    background: #f3f4f6;
    border-radius: 18px;
    padding: 40px;
    text-align: center;
    color: #6b7280;
  }

  .builders-list__empty h4 {
    font-weight: 700;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .builders-list-page .builder-filter__select,
  .builders-list-page .builders-filter-bar__select,
  .builders-list-page .builder-filter select {
    min-width: 140px;
  }
}
/* FINAL mobile only - builders same as agent */
@media (max-width: 767.98px) {
  .builders-list-page {
    background: #f6f7fb !important;
  }

  .builders-list-page .container {
    max-width: 100% !important;
    padding: 16px 12px !important;
  }

  .builders-list-page__title-row {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 12px !important;
  }

  .builders-list-page__title {
    font-size: 1.15rem !important;
    line-height: 1.35 !important;
    font-weight: 800 !important;
    margin: 0 !important;
  }

  .builders-list-page__lead {
    font-size: 0.8rem !important;
    line-height: 1.45 !important;
    margin: 8px 0 14px !important;
    color: #6b7280 !important;
  }

  .builders-mobile-filter-btn {
    display: inline-flex !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    border-radius: 50% !important;
    border: 1px solid #d9dde3 !important;
    background: #f7f8fa !important;
    color: #6b7280 !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    box-shadow: none !important;
  }

  @media (max-width: 767.98px) {
  .builders-list-page .builder-filter {
    position: fixed !important;
    top: 0 !important;
    right: -100% !important;
    left: auto !important;
    width: 82% !important;
    max-width: 340px !important;
    height: 100vh !important;
    z-index: 9999 !important;

    display: flex !important;
    flex-direction: column !important;
    background: #f3f4f6 !important;
    padding: 16px !important;
    margin: 0 !important;
    border-radius: 18px 0 0 18px !important;
    box-shadow: -8px 0 25px rgba(0,0,0,0.18) !important;

    transform: translateX(0) !important;
    transition: right 0.28s ease !important;
  }

  .builders-list-page .builder-filter.is-open {
    right: 0 !important;
  }

  .builders-list-page .builder-filter-mobile-head {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    min-height: 48px !important;
    width: 100% !important;
}

.builders-list-page .builder-filter-mobile-head strong {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
    margin: 0 !important;
}

#builderFilterCloseBtn {
    position: absolute !important;
    right: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;

    width: 38px !important;
    height: 38px !important;
    border: none !important;
    border-radius: 50% !important;
    background: #ffffff !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    font-size: 18px !important;
    color: #111827 !important;
}

  body.builder-filter-open {
    overflow: hidden !important;
  }
}

  .builders-list-page .builder-filter__item {
    width: 100% !important;
    min-width: 0 !important;
    min-height: auto !important;
    border-radius: 10px !important;
    padding: 6px 10px !important;
  }

  .builders-list-page .builder-filter__label {
    font-size: 0.62rem !important;
  }

  .builders-list-page .builder-filter__select,
  .builders-list-page .builder-filter select {
    height: 24px !important;
    min-height: 24px !important;
    font-size: 0.78rem !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
  }

  .builders-list-page .col-lg-4 {
    display: none !important;
  }
}
@media (max-width: 767.98px) {
  .builders-list-page .builder-filter__item,
  .builders-list-page .builders-filter-bar__item {
    flex: 0 0 auto !important;
    height: auto !important;
    min-height: auto !important;
    padding: 6px 10px !important;
  }
}