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

:root {
  --navy:    #0d2136;
  --blue:    #1055a0;
  --blue-lt: #dbeafe;
  --teal:    #0891b2;
  --sand:    #f7f4ef;
  --border:  #e2e8f0;
  --text:    #3d5260;
  --muted:   #64748b;
  --white:   #ffffff;
  --success: #16a34a;
  --warn:    #d97706;
  --error:   #dc2626;
  --radius:  10px;
  --shadow:  0 1px 3px rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.06);
}

body { font-family: 'DM Sans', sans-serif; background: var(--sand); color: var(--text); min-height: 100vh; }

/* ── LAYOUT ── */
.sm-form-shell {
  max-width: 1360px;
  margin: 0 auto;
  padding: 32px 16px 80px;
}

/* ── HEADER ── */
.sm-form-head {
  margin-bottom: 32px;
}
.sm-form-head h1 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 32px;
  color: var(--navy);
  line-height: 1.2;
}
.sm-form-head p {
  color: var(--muted);
  margin-top: 6px;
  font-size: 15px;
}

/* ── STEPPER ── */
.sm-stepper {
  display: flex;
  align-items: center;
  margin-bottom: 36px;
  gap: 0;
}
.sm-step-item {
  display: flex;
  align-items: center;
  flex: 1;
  position: relative;
}
.sm-step-item:last-child { flex: 0; }
.sm-step-dot {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600;
  color: var(--muted);
  transition: all .25s;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.sm-step-label {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
  white-space: nowrap;
  position: absolute;
  top: 36px;
  left: 50%;
  transform: translateX(-50%);
}
.sm-step-line {
  flex: 1;
  height: 2px;
  background: var(--border);
  margin: 0 4px;
  transition: background .3s;
}
.sm-step-item.active .sm-step-dot {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.sm-step-item.done .sm-step-dot {
  background: var(--success);
  border-color: var(--success);
  color: #fff;
}
.sm-step-item.done .sm-step-dot::after {
  content: '✓';
  font-size: 14px;
}
.sm-step-item.done .sm-step-label,
.sm-step-item.active .sm-step-label { color: var(--text); font-weight: 500; }
.sm-step-item.done + .sm-step-item .sm-step-line,
.sm-step-line.done { background: var(--success); }

/* ── CARD ── */
.sm-card {
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 36px 40px;
  margin-bottom: 20px;
}
.sm-card-title {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.sm-card-sub {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 28px;
  line-height: 1.5;
}

/* ── FORM ELEMENTS ── */
.sm-row { margin-bottom: 20px; }
.sm-row label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.sm-row label .req { color: var(--error); margin-left: 2px; }
.sm-row label .hint {
  font-weight: 400;
  color: var(--muted);
  font-size: 12px;
  margin-left: 6px;
}
.sm-input, .sm-select, .sm-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--white);
  transition: border-color .15s, box-shadow .15s;
  outline: none;
}
.sm-input:focus, .sm-select:focus, .sm-textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(16,85,160,.1);
}
.sm-textarea { resize: vertical; min-height: 100px; }
.sm-cols { display: grid; gap: 16px; }
.sm-cols-2 { grid-template-columns: 1fr 1fr; }
.sm-cols-3 { grid-template-columns: 1fr 1fr 1fr; }
.sm-cols-4 { grid-template-columns: 1fr 1fr 1fr 1fr; }
@media (max-width: 580px) {
  .sm-cols-2, .sm-cols-3, .sm-cols-4 { grid-template-columns: 1fr; }
  .sm-card { padding: 24px 20px; }
}

/* ── TYPE SELECTOR (step 1) ── */
.sm-type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 8px;
}
.sm-type-card {
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 16px 12px;
  text-align: center;
  cursor: pointer;
  transition: all .15s;
  background: var(--white);
  user-select: none;
}
.sm-type-card:hover { border-color: var(--blue); background: var(--blue-lt); }
.sm-type-card.selected { border-color: var(--blue); background: var(--blue-lt); }
.sm-type-card .icon { font-size: 28px; margin-bottom: 8px; display: block; }
.sm-type-card .label { font-size: 13px; font-weight: 600; color: var(--text); }
.sm-type-card .sub   { font-size: 11px; color: var(--muted); margin-top: 2px; }
.sm-type-radio { display: none; }

/* ── CHECKBOXES ── */
.sm-check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  margin-top: 8px;
}
.sm-check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: all .15s;
  background: var(--white);
}
.sm-check-item:hover { border-color: var(--blue); }
.sm-check-item input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--blue); cursor: pointer; }
.sm-check-item.checked { border-color: var(--blue); background: var(--blue-lt); }
.sm-check-item span { font-size: 13px; font-weight: 500; }

/* ── UNIT TYPES REPEATER ── */
.sm-units-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 16px; }
.sm-unit-card {
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  position: relative;
  background: var(--sand);
}
.sm-unit-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.sm-unit-card-head strong { font-size: 14px; color: var(--navy); }
.sm-unit-remove {
  background: none;
  border: none;
  color: var(--error);
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background .15s;
}
.sm-unit-remove:hover { background: #fee2e2; }
.sm-add-unit-btn {
  width: 100%;
  padding: 12px;
  border: 2px dashed var(--border);
  border-radius: 10px;
  background: none;
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
  font-family: 'DM Sans', sans-serif;
}
.sm-add-unit-btn:hover { border-color: var(--blue); background: var(--blue-lt); }

/* ── PHOTO UPLOAD ── */
.sm-photo-area {
  border: 2px dashed var(--border);
  border-radius: 12px;
  padding: 40px 24px;
  text-align: center;
  cursor: pointer;
  transition: all .2s;
  background: var(--sand);
}
.sm-photo-area:hover { border-color: var(--blue); background: var(--blue-lt); }
.sm-photo-area .icon { font-size: 36px; display: block; margin-bottom: 10px; }
.sm-photo-area p { font-size: 14px; color: var(--muted); }
.sm-photo-area strong { color: var(--blue); }
.sm-photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 10px; margin-top: 16px; margin-bottom: 16px;}
.sm-photo-item { position: relative; border-radius: 8px; overflow: hidden; aspect-ratio: 4/3; }
.sm-photo-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sm-photo-remove {
  position: absolute; top: 4px; right: 4px;
  background: rgba(0,0,0,.6); color: #fff;
  border: none; border-radius: 50%; width: 22px; height: 22px;
  font-size: 12px; cursor: pointer; display: flex; align-items: center; justify-content: center;
}

/* ── SUCCESS STATE ── */
.sm-success {
  text-align: center;
  padding: 60px 20px;
}
.sm-success-icon {
  width: 72px; height: 72px;
  background: #dcfce7;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
}
.sm-success h2 {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  color: var(--navy);
  margin-bottom: 10px;
}
.sm-success p { color: var(--muted); font-size: 15px; line-height: 1.6; margin-bottom: 6px; }

/* ── NAV BUTTONS ── */
.sm-form-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
}
.sm-btn {
  padding: 12px 28px;
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all .15s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.sm-popup-content .sm-btn-primary { 
    color: #fff; 
    background-color: transparent;
    background-image: linear-gradient(90deg, #4A8FA8 0%, #2E6B84 100%);
    box-shadow: 0px 0px 10px 0px rgba(26.000000000000004, 37, 48, 0.1);
    border-radius: 12px 12px 12px 12px;
}
.sm-btn-primary:hover { background: #0d4486; filter: brightness(1.08); }
.sm-btn-ghost { background: transparent; color: var(--muted); border: 1.5px solid var(--border); }
.sm-btn-ghost:hover { border-color: var(--text); color: var(--text); }
.sm-btn-success { background: var(--success); color: #fff; }
.sm-btn:disabled { opacity: .5; cursor: not-allowed; }

/* ── SAVING INDICATOR ── */
.sm-saving {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.sm-spinner {
  width: 14px; height: 14px;
  border: 2px solid var(--border);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin .6s linear infinite;
  display: none;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── ERROR MESSAGE ── */
.sm-error-msg {
  background: #fee2e2;
  border: 1px solid #fecaca;
  color: var(--error);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 16px;
  display: none;
}

/* ── ADDRESS AUTOCOMPLETE HINT ── */
.sm-map-hint {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* =============================================
   STORAGE MARKETPLACE - FACILITY LISTING STYLES
   ============================================= */

.sm-listing-wrapper {
    max-width: 100%;
    margin: 40px auto;
    padding: 0 20px;
}

.sm-listing-header {
    margin-bottom: 32px;
    text-align: center;
}

.sm-listing-header h1 {
    font-size: 2.4rem;
    margin: 0 0 8px 0;
    color: #1e2937;
}

.sm-results-count {
    color: #64748b;
    font-size: 1.05rem;
}

/* Grid */
.sm-facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

/* Card */
.sm-facility-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.25s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.sm-facility-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.sm-card-image-link {
    position: relative;
    display: block;
    height: 200px;
    overflow: hidden;
}

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

.sm-facility-card:hover .sm-card-image {
    transform: scale(1.08);
}

.sm-placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e0f2fe, #bae6fd);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #64748b;
}

/* Type Badge */
.sm-type-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(15, 23, 42, 0.85);
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: capitalize;
}

/* Card Content */
.sm-card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.sm-card-title {
    margin: 0 0 8px 0;
    font-size: 1.35rem;
    line-height: 1.3;
    font-weight: 700;
    color: #1e2937;
}

.sm-card-title a {
    color: inherit;
    text-decoration: none;
}

.sm-card-title a:hover {
    color: #0369a1;
}

.sm-card-location {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

/* Rating */
.sm-card-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.sm-stars {
    display: flex;
}

.sm-stars .star.full {
    color: #fbbf24;
}

.sm-stars .star.half {
    background: linear-gradient(90deg, #fbbf24 50%, #e2e8f0 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sm-stars .star.empty {
    color: #e2e8f0;
}

.sm-review-count {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

.sm-review-count span{
    color: #C47B2B;
}

.sm-no-reviews {
    color: #94a3b8;
    font-style: italic;
    font-size: 13px;
}

/* Price */
.sm-card-price {
    font-size: 1.1rem;
    color: #1e2937;
    margin: 8px 0 16px;
}

.sm-card-price strong {
    color: #0369a1;
    font-weight: 700;
}

/* Button */
.sm-card-btn {
    margin-top: auto;
    width: 100%;
    text-align: center;
    padding: 12px 20px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.sm-btn-primary {
    background: #0369a1;
    color: white;
    border: none;
    text-decoration: none;
    display: inline-block;
}

.sm-btn-primary:hover {
    background: #024d78;
    transform: translateY(-1px);
}

/* Pagination */
.sm-pagination {
    margin-top: 40px;
    text-align: center;
}

.sm-pagination ul {
    display: inline-flex;
    list-style: none;
    padding: 0;
    gap: 8px;
}

.sm-pagination li a,
.sm-pagination li span {
    padding: 10px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #334155;
    text-decoration: none;
    font-size: 0.95rem;
    min-width: 42px;
    text-align: center;
}

.sm-pagination li a:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.sm-pagination .current {
    background: #0369a1;
    color: white;
    border-color: #0369a1;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 640px) {
    .sm-facilities-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .sm-listing-header h1 {
        font-size: 2rem;
    }
}

/* Utility for empty state */
.sm-no-results {
    text-align: center;
    padding: 80px 20px;
    color: #64748b;
    font-size: 1.1rem;
}

/* =============================================
   MAP LISTING - UPDATED WITH USER LOCATION
   ============================================= */

.sm-map-listing {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Search Bar */
.sm-map-search {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    max-width: 720px;
    position: relative;
}

.sm-map-search input {
    flex: 1;
    padding: 16px 35px;
    font-size: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    outline: none;
    transition: all 0.2s ease;
}

.sm-map-search input:focus {
    border-color: #0369a1;
    box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.1);
}

.dokan-layout .dokan-btn,
.entry-content [CLASS*="wc-block"] .wc-block-components-button,
.woocommerce-js #respond input#submit, .woocommerce-js a.button, .woocommerce-js button.button, .woocommerce-js input.button,
input[type='submit'].dokan-btn-theme, a.dokan-btn-theme, .dokan-btn-theme,
.sm-map-search button {
        width: 100%;
    padding: 16px 12px !important;
    background: #4A8FA8 !important;
    color: #fff !important;
    border: none;
    border-radius: 14px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background .15s;
    letter-spacing: .01em;
    max-width: 160px;
    background-image: linear-gradient(90deg, #4A8FA8 0%, #2E6B84 100%) !important;
}

.woocommerce-MyAccount-content .vendor-dashboard.dokan-btn-theme{
    max-width: 180px;
}

.woocommerce-js button.button{
    margin-top: 20px;
}

.sm-map-search button:hover {
    background: #024d78;
}

/* Map + Sidebar Container */
.sm-map-container {
    display: grid;
    grid-template-columns: 1fr 390px;
    gap: 24px;
    height: 640px;                    /* Fixed height for consistency */
}

@media (max-width: 1024px) {
    .sm-map-container {
        grid-template-columns: 1fr;
        height: auto;
    }
}

/* The Map */
#sm-facility-map {
    border-radius: 16px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

/* Sidebar */
.sm-map-list-sidebar {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.sm-map-list-sidebar h3 {
    margin: 0 0 20px 0;
    font-size: 24px;
    color: #1a2530;
    padding-bottom: 16px;
    border-bottom: 2px solid #f1f5f9;
}

/* Scrollable List Area */
.sm-map-list-scroll {
    flex: 1;
    overflow-y: auto;
    padding-right: 8px;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f8fafc;
}

.sm-map-list-scroll::-webkit-scrollbar {
    width: 6px;
}

.sm-map-list-scroll::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 20px;
}

.sm-map-list-scroll::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Facility List Cards */
.sm-map-list-card {
    display: flex;
    gap: 16px;
    padding: 16px;
    margin-bottom: 14px;
    border: 1px solid #f1f5f9;
    border-radius: 14px;
    transition: all 0.25s ease;
    background: #fff;
}

.sm-map-list-card:hover {
    border-color: #0369a1;
    transform: translateX(6px);
    box-shadow: 0 8px 25px rgba(3, 105, 161, 0.12);
}

.sm-map-list-image {
    width: 118px;
    height: 96px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #f8fafc;
}

.sm-map-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sm-map-list-image .placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    color: #cbd5e1;
}

.sm-map-list-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.sm-map-list-info h4 {
    font-size: 14px;
    font-weight: 700;
    color: #1A2530;
    line-height: 1.3;
    margin-bottom: 8px;
}

.sm-map-list-info .location {
    color: #64748b;
    font-size: 11px;
    margin-bottom: 12px;
}

.sm-map-list-info .price {
    color: #1A2530D9;
    font-weight: 800;
    font-size: 16px;
    margin-bottom: 12px;
}

.sm-map-list-info .price span{
    font-size: 11px;
    font-weight: 400;
}

.sm-view-btn {
    margin-top: auto;
    padding: 9px 18px;
    background: #f1f5f9;
    color: #0369a1;
    border: none;
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    align-self: flex-start;
    transition: all 0.2s;
}

.sm-view-btn:hover {
    background: #0369a1;
    color: white;
}

/* Popup Styles */
.sm-popup-content {
    max-width: 340px;
    line-height: 1.5;
}

.sm-popup-content h3 {
    margin: 0 0 6px 0;
    font-size: 1.28rem;
}

.popup-location {
    color: #64748b;
    margin-bottom: 14px;
}

/* Popup Image Carousel */
.popup-carousel {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 8px 0;
    margin-bottom: 14px;
    scrollbar-width: thin;
}

.popup-carousel img {
    width: 110px;
    height: 82px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

/* Popup Button */
.popup-view-btn {
    display: block;
    width: 100%;
    padding: 14px 20px;
    background: #0369a1;
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    margin-top: 10px;
}

.popup-view-btn:hover {
    background: #024d78;
}

/* No Results */
.sm-no-results {
    text-align: center;
    padding: 50px 20px;
    color: #64748b;
    font-style: italic;
}

/* Responsive */
@media (max-width: 1024px) {
    .sm-map-container {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .sm-map-list-sidebar {
        height: 420px;
    }
}

@media (max-width: 640px) {
    .sm-map-search {
        flex-direction: column;
    }
    
    .sm-map-search button {
        padding: 16px;
    }
}


/* Search form */

    .sm-search-wrap { font-family: "Plus Jakarta Sans", Sans-serif; }
    .sm-search-card {
        background: #fff;
        border: 1px solid #e2e8f0;
        border-radius: 14px;
        padding: 10px 10px;
        max-width: 800px;
        display: flex;
        flex-wrap: wrap;
        gap: 0px;
        align-items: center;
    }

    .sm-search-title { font-size: 22px; font-weight: 600; color: #0f172a; margin: 0 0 6px; }
    .sm-search-sub   { font-size: 14px; color: #64748b; margin: 0 0 24px; }
    .sm-field        { width: 100%; flex: 1 1 150px;}
    .sm-field label  { display: none; font-size: 13px; font-weight: 600; color: #374151; margin-bottom: 6px; }
    .sm-input-wrap   { position: relative; }
    .sm-loc-icon     { position: absolute; left: 11px; top: 50%; transform: translateY(-50%);
                       width: 16px; height: 16px; color: #94a3b8; pointer-events: none; }
    .sm-search-card .sm-field:nth-child(2) {
    max-width: 150px;
}
    .sm-search-wrap input[type="text"] {
        width: 100%; padding: 10px 12px 10px 34px;
        border: 0px;
        border-right: 1px solid #e2e8f0; border-radius: 0px;
        font-size: 14px; color: #0f172a; background: #fff; outline: none;
        transition: border-color .15s, box-shadow .15s;
        font-family: inherit;
    }
    .sm-search-wrap input[type="text"]:focus {
        border-color: #1055a0;
        box-shadow: 0 0 0 3px rgba(16,85,160,.1);
    }
    .sm-search-wrap input[type="text"].sm-error {
        border-color: #e24b4a;
        box-shadow: 0 0 0 3px rgba(226,75,74,.12);
    }
    .sm-size-select {
        width: 100%; padding: 10px 36px 10px 12px;
        border: 0px solid #e2e8f0; border-radius: 8px;
        font-size: 14px; color: #0f172a; background: #fff; outline: none;
        appearance: none; font-family: inherit;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 12px center;
        transition: border-color .15s, box-shadow .15s;
        cursor: pointer;
    }
    .sm-size-select:focus {
        border-color: #1055a0;
        box-shadow: 0 0 0 3px rgba(16,85,160,.1);
    }
    .sm-search-btn {
        width: 100%; padding: 16px 12px; 
        background: #4A8FA8; color: #fff; border: none; border-radius: 14px;
        font-size: 15px; font-weight: 600; cursor: pointer; font-family: inherit;
        display: flex; align-items: center; justify-content: center; gap: 8px;
        transition: background .15s; letter-spacing: .01em;
        max-width: 160px;
        background-image: linear-gradient(90deg, #4A8FA8 0%, #2E6B84 100%);
    }
    .sm-search-btn:hover  { background: #0369a1; }
    .sm-search-btn:active { transform: scale(0.99); }
    .sm-divider  { border: none; border-top: 1px solid #f1f5f9; margin: 20px 0; }
    .sm-popular-label { font-size: 12px; color: #94a3b8; font-weight: 600; margin-bottom: 0px;
                        }
    .sm-suburbs  { display: flex; flex-wrap: wrap; gap: 8px; }
    .sm-suburb-pill {
        background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 20px;
        padding: 5px 14px; font-size: 13px; color: #475569;
        cursor: pointer; font-family: inherit; transition: all .15s;
        line-height: 1.4;
    }
    .sm-suburb-pill:hover  { background: #dbeafe; border-color: #1055a0; color: #0c447c; }
    .sm-suburb-pill:active { transform: scale(0.97); }

    .popular-suburbs {
        padding: 20px;
        display: flex;
        align-items: center;
        gap: 20px;
        justify-content: center;
    }

    @media (max-width: 480px) {
        .sm-search-card { padding: 20px 18px; }
        .sm-search-title { font-size: 18px; }
    }


/*search result */ 
    .sm-results-wrap { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
    .sm-results-bar  { margin-bottom: 28px; }
    .sm-results-bar .sm-search-card { margin: auto; }
    .sm-results-header { display: flex; align-items: baseline; justify-content: space-between;
                         margin-bottom: 20px; flex-wrap: wrap; gap: 8px; }
    .sm-results-title  { font-size: 20px; font-weight: 600; color: #0f172a; margin: 0; }
    .sm-results-title em { font-style: normal; color: #1055a0; }
    .sm-results-count  { font-size: 14px; color: #64748b; }
    .sm-no-results { text-align: center; padding: 60px 20px;
                     background: #f8fafc; border-radius: 12px; }
    .sm-no-results h3  { font-size: 18px; margin-bottom: 8px; }
    .sm-results-grid   { display: grid; gap: 16px; }
    .sm-result-card    { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px;
                         overflow: hidden; display: flex; flex-direction: column; transition: border-color .15s; }
    .sm-result-card:hover { border-color: #1055a0; }
    .sm-result-img     { height: 180px; background-size: cover; background-position: center;
                         background-color: #f1f5f9; }
    .sm-result-img--placeholder { background-color: #e2e8f0; }
    .sm-result-body    { padding: 16px 20px 20px; display: flex; flex-direction: column; gap: 12px; }
    .sm-result-top     { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
    .sm-result-name    { font-size: 16px; font-weight: 600; color: #0f172a; margin: 0 0 3px; }
    .sm-result-location{ font-size: 13px; color: #64748b; margin: 0; }
    .sm-result-price   { text-align: right; flex-shrink: 0; }
    .sm-price-from     { display: block; font-size: 11px; color: #94a3b8; }
    .sm-price-amount   { font-size: 22px; font-weight: 700; color: #1055a0; }
    .sm-price-period   { font-size: 12px; color: #94a3b8; }
    .sm-result-tags    { display: flex; flex-wrap: wrap; gap: 6px; }
    .sm-tag            { padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 500; }
    .sm-tag--blue      { background: #dbeafe; color: #1e40af; }
    .sm-tag--gray      { background: #f1f5f9; color: #475569; }
    .sm-result-btn     { display: block; text-align: center; background: #1055a0; color: #fff;
                         padding: 10px; border-radius: 8px; text-decoration: none; font-weight: 600;
                         font-size: 14px; transition: background .15s; }
    .sm-result-btn:hover { background: #0c3d7a; }
    @media (min-width: 640px) {
        .sm-results-grid { grid-template-columns: repeat(2, 1fr); }
        .sm-result-img   { height: 200px; }
    }
    @media (min-width: 960px) {
        .sm-results-grid { grid-template-columns: repeat(3, 1fr); }
    }


/* =============================================
   FACILITY CARD - Matching Screenshot Design
   ============================================= */

.facility-card {
    width: 100%;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 24px;
    max-width: 320px;
}

.facility-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

/* Image Section */
.card-image {
    position: relative;
    background: #e2e8f0;
}

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

/* Badges */
.size-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #E8F5EE;
    color: #3A8A5C;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    z-index: 2;
    border: 1px solid rgba(58, 186, 92, 0.2);
}

.verified-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #E8F5EE;
    color: #3A8A5C;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 4px;
    border: 1px solid rgba(58, 186, 92, 0.2);
}

/* BG Check Badge */
.bgcheck-badge {
    position: absolute;
    top: 48px;
    right: 12px;
    background: #E8F5EE;
    color: #3A8A5C;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 4px;
    border: 1px solid rgba(58, 186, 92, 0.2);
    cursor: default;
    z-index: 2;
}

.verified-badge[data-tooltip]::after,
.bgcheck-badge[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    top: calc(100% + 3px);
    left: 0%;
    transform: translateX(-50%);
    background: #000;
    color: #fff;
    font-size: 11px;
    font-weight: 400;
    padding: 6px 10px;
    border-radius: 6px;
    white-space: normal;
    width: 200px;
    text-align: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 10;
    line-height: 1.4;
}

.verified-badge[data-tooltip]::before,
.bgcheck-badge[data-tooltip]::before {
    content: '';
    position: absolute;
    bottom: calc(-35% + 2px);
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 10;
}

.verified-badge[data-tooltip]:hover::after,
.verified-badge[data-tooltip]:hover::before,
.bgcheck-badge[data-tooltip]:hover::after,
.bgcheck-badge[data-tooltip]:hover::before {
    opacity: 1;
}

/* Price Tag */
.price-tag {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: #1A2530D9;
    color: #fff;
    font-weight: 800;
    font-size: 16px;
    padding: 6px 14px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.price-tag span{
    font-size: 11px;
    font-weight: 400;
}

/* Card Content */
.card-content {
    padding: 18px 20px 20px;
}

.facility-type {
    color: #4A8FA8;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.facility-title {
    font-size: 14px;
    font-weight: 700;
    color: #1A2530;
    line-height: 1.3;
    margin-bottom: 8px;
}

.facility-title a{
    color: inherit;
}

.facility-location {
    color: #64748b;
    font-size: 11px;
    margin-bottom: 12px;
}

/* Rating */
.sm-card-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.sm-stars {
    color: #fbbf24;
    font-size: 16px;
    letter-spacing: 1px;
}

.sm-stars .star.half {
    background: linear-gradient(90deg, #fbbf24 50%, #e2e8f0 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sm-stars .star.empty {
    color: #e2e8f0;
}

.sm-review-count {
    font-size: 0.95rem;
    color: #64748b;
    font-weight: 500;
}

/* Features */
.features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.features br {
    display: none;
}

.feature-tag {
    background: #F8F6F2;
    border: 1px solid rgba(26, 37, 48, 0.1);
    color: #475569;
    font-size: 10px;
    font-weight: 500;
    padding: 5px 11px;
    border-radius: 20px;
    white-space: nowrap;
}

/* Owner Info */
.owner-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid rgba(26, 37, 48, 0.102);
}

.owner-avatar {
    width: 34px;
    height: 34px;
    background: #4A8FA8;
    background-image: linear-gradient(90deg, #4A8FA8 0%, #2E6B84 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
}

.owner-name {
    font-weight: 600;
    color: #3D5260;
    font-size: 12px;
    text-transform: capitalize;
}

.verified {
    background-color: #E8F5EE;
    color: #3A8A5C;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Link */
.sm-card-image-link {
    display: block;
    text-decoration: none;
}


    body, button, input, select, textarea, .ast-button, .ast-custom-button{
        font-family: "Plus Jakarta Sans", Sans-serif;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation,
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li ul.navigation-submenu li,    
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li ul.navigation-submenu,    
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu,
.dokan-dashboard .dokan-dash-sidebar{
    background: #4A8FA8 !important;
}    

.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.dokan-common-links a:hover,
body .woocommerce-MyAccount-navigation-link.is-active a,
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li:hover,
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.active{
    background: #2E6B84 !important;
}

body .woocommerce-MyAccount-navigation-link a,
.woocommerce-MyAccount-navigation-link.is-active a{
    color: #fff !important;
}

.woocommerce-Address-title h2 {
    font-size: 24px;
}

/* ── Vendor store page: custom aggregate star rating ─────────────────────── */
.sm-store-rating {
    display: flex !important;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.sm-store-stars {
    display: inline-flex;
    gap: 1px;
    line-height: 1;
}

.sm-star {
    font-size: 18px;
    line-height: 1;
}

.sm-star-full {
    color: #f59e0b;
}

.sm-star-half {
    background: linear-gradient(90deg, #f59e0b 50%, #cbd5e1 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sm-star-empty {
    color: #cbd5e1;
}

.sm-store-rating-text {
    font-size: 14px;
    color: #e2e8f0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.sm-store-rating-text strong {
    color: #fff;
    font-weight: 600;
}

.sm-rating-count {
    color: #94a3b8;
    font-size: 13px;
}

.sm-rating-no-reviews {
    color: #94a3b8;
    font-style: italic;
    font-size: 13px;
}
/* ─────────────────────────────────────────────────────────────────────────── */