/**
 * Listeo Custom Search Widget Styles
 * Version: 4.3.0
 *
 * !important usage policy:
 *   - ONLY on properties Listeo theme would override (input padding-left, appearance, map hiding)
 *   - NOT on sizing/spacing that Elementor controls should be able to change
 */

/* ===== Force Remove Map Entirely — needs !important ===== */
#map-container,
#map-container *,
.fullwidth-home-map,
#show-map-button,
#scrollEnabling,
.mobile-map-toggle-btn,
.mobile-map-collapse-btn,
.full-page-map-container,
.fs-inner-container.map-fixed {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
  opacity: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Listings full-width — needs !important to beat theme grid */
.listings-container .col-lg-7,
.listings-container .col-md-7,
.full-width .col-lg-7,
.full-width .col-md-7,
body .col-lg-7,
body .col-md-7 {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
}

.fs-inner-container.content {
  width: 100% !important;
  max-width: 100% !important;
  padding-left: 15px !important;
  padding-right: 15px !important;
}

/* ===== Hero Section — NO !important so Elementor can control ===== */
.lcsw-hero {
  position: relative;
  width: 100%;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #1a1a2e;
  overflow: hidden;
}

.lcsw-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.55) 100%
  );
  z-index: 1;
}

.lcsw-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 20px;
  text-align: center;
}

.lcsw-hero-title {
  font-size: 44px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 14px 0;
  line-height: 1.15;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  letter-spacing: -0.5px;
}

.lcsw-hero-subtitle {
  font-size: 18px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 28px 0;
  line-height: 1.5;
}

/* ===== Hero Badges — NO !important ===== */
.lcsw-hero-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

.lcsw-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  padding: 10px 22px 10px 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.15px;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  animation: lcsw-badge-float 5s ease-in-out infinite;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.lcsw-badge:nth-child(2) {
  animation-delay: 0.8s;
}
.lcsw-badge:nth-child(3) {
  animation-delay: 1.6s;
}

.lcsw-badge:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.lcsw-badge .lcsw-badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, #4caf50, #2e7d32);
  box-shadow: 0 2px 8px rgba(76, 175, 80, 0.4);
}

.lcsw-badge .lcsw-badge-icon svg {
  width: 16px;
  height: 16px;
  fill: #fff;
}

.lcsw-badge-highlight {
  background: linear-gradient(
    135deg,
    rgba(76, 175, 80, 0.3),
    rgba(56, 142, 60, 0.2)
  );
  border-color: rgba(76, 175, 80, 0.4);
}

.lcsw-badge-highlight .lcsw-badge-icon {
  background: linear-gradient(135deg, #ffb300, #ff8f00);
  box-shadow: 0 2px 8px rgba(255, 179, 0, 0.4);
}

@keyframes lcsw-badge-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* ===== Widget Core — NO !important ===== */
.lcsw-widget {
  --lcsw-primary: #4caf50;
  --lcsw-bg: #ffffff;
  --lcsw-text: #1a1a2e;
  --lcsw-text-light: #555;
  --lcsw-text-muted: #888;
  --lcsw-border: #e0e0e0;
  --lcsw-field-bg: #f7f7f9;
  --lcsw-radius: 12px;
  --lcsw-radius-lg: 20px;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  position: relative;
  z-index: 100;
}

.lcsw-widget *,
.lcsw-widget *::before,
.lcsw-widget *::after {
  box-sizing: border-box;
}

/* Container — NO !important */
.lcsw-widget .lcsw-container {
  background: var(--lcsw-bg);
  border-radius: var(--lcsw-radius-lg);
  padding: 24px 28px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.12);
  width: 100%;
}

/* Tabs — NO !important */
.lcsw-widget .lcsw-tabs {
  display: inline-flex;
  justify-content: center;
  gap: 4px;
  margin: 0 auto 20px;
  background: #f5f5f5;
  padding: 5px;
  border-radius: 50px;
}

.lcsw-widget .lcsw-tab {
  padding: 10px 28px;
  border: none;
  background: transparent;
  color: var(--lcsw-text-light);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 50px;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.lcsw-widget .lcsw-tab.active {
  background: #fff;
  color: var(--lcsw-text);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Form — NO !important */
.lcsw-widget .lcsw-form {
  width: 100%;
}

.lcsw-widget .lcsw-fields {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  width: 100%;
}

/* ===== Field Sizing — NO !important ===== */
.lcsw-widget .lcsw-field {
  flex: 1 1 0;
  min-width: 0;
}

.lcsw-widget .lcsw-field-location {
  flex: 2.5 1 0;
  min-width: 0;
}

.lcsw-widget .lcsw-field-category {
  flex: 2 1 0;
  min-width: 0;
}

.lcsw-widget .lcsw-field-date {
  flex: 2.5 1 0;
  min-width: 0;
}

.lcsw-widget .lcsw-field-radius {
  flex: 0 0 130px;
  min-width: 130px;
}

.lcsw-widget .lcsw-field-button {
  flex: 0 0 auto;
}

.lcsw-widget .lcsw-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: var(--lcsw-text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  line-height: 1.2;
}

/* ===== Select / Input Wrapper ===== */
.lcsw-widget .lcsw-select-wrapper {
  position: relative;
  width: 100%;
  z-index: 10;
}

.lcsw-widget .lcsw-field:focus-within {
  z-index: 20;
}

/* ===== Field Icons — needs !important for z-index/pointer-events ===== */
.lcsw-widget .lcsw-icon {
  position: absolute !important;
  left: 14px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 18px;
  height: 18px;
  color: var(--lcsw-primary);
  pointer-events: none !important;
  z-index: 5 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.lcsw-widget .lcsw-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  display: block;
}

/* ===== All Inputs & Selects =====
   padding-left needs !important to beat Listeo theme
   appearance needs !important to remove native styling
   Everything else: NO !important so Elementor can override
*/
.lcsw-widget .lcsw-select,
.lcsw-widget input.lcsw-select,
.lcsw-widget select.lcsw-select,
.lcsw-widget .lcsw-select-wrapper input[type="text"],
.lcsw-widget .lcsw-select-wrapper select {
  width: 100%;
  height: 48px;
  padding: 0 34px 0 42px !important;
  font-size: 13.5px;
  font-family: inherit;
  color: var(--lcsw-text);
  background-color: var(--lcsw-field-bg);
  border: 2px solid transparent;
  border-radius: var(--lcsw-radius);
  cursor: pointer;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  transition: all 0.2s ease;
  line-height: 48px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  outline: none;
  margin: 0;
}

/* Dropdown arrow only on selects */
.lcsw-widget select.lcsw-select,
.lcsw-widget .lcsw-select-wrapper select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23999'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 8px center !important;
  background-size: 18px !important;
}

/* Location input — no dropdown arrow */
.lcsw-widget input.lcsw-location-input,
.lcsw-widget .lcsw-select-wrapper input.lcsw-location-input {
  background-image: none !important;
  padding-right: 14px !important;
  cursor: text;
}

.lcsw-widget .lcsw-select:hover,
.lcsw-widget .lcsw-select:focus,
.lcsw-widget input.lcsw-select:hover,
.lcsw-widget input.lcsw-select:focus {
  background-color: #fff;
  border-color: var(--lcsw-border);
}

.lcsw-widget .lcsw-select:focus,
.lcsw-widget input.lcsw-select:focus {
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.12);
  outline: none;
}

/* ===== Date Fields ===== */
.lcsw-widget .lcsw-date-group {
  display: flex;
  gap: 6px;
  width: 100%;
}

.lcsw-widget .lcsw-date-group .lcsw-date-wrapper {
  flex: 1 1 0;
  min-width: 0;
}

.lcsw-widget .lcsw-date-wrapper {
  position: relative;
  width: 100%;
}

/* Date inputs — padding-left needs !important, rest is Elementor-friendly */
.lcsw-widget .lcsw-date-input,
.lcsw-widget input.lcsw-date-input,
.lcsw-widget .lcsw-date-wrapper input[type="date"] {
  width: 100%;
  height: 48px;
  padding: 0 8px 0 42px !important;
  font-size: 13px;
  font-family: inherit;
  color: var(--lcsw-text);
  background-color: var(--lcsw-field-bg);
  border: 2px solid transparent;
  border-radius: var(--lcsw-radius);
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 48px;
  outline: none;
  margin: 0;
  appearance: none !important;
  -webkit-appearance: none !important;
}

.lcsw-widget .lcsw-date-input:hover,
.lcsw-widget .lcsw-date-input:focus {
  background-color: #fff;
  border-color: var(--lcsw-border);
}

/* Hide native calendar icon, make whole field clickable */
.lcsw-widget .lcsw-date-input::-webkit-calendar-picker-indicator {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  opacity: 0 !important;
  cursor: pointer !important;
  margin: 0 !important;
  padding: 0 !important;
}

.lcsw-widget .lcsw-date-input::-webkit-datetime-edit-fields-wrapper {
  padding: 0 !important;
}

.lcsw-widget .lcsw-date-input::-webkit-inner-spin-button {
  display: none !important;
}

/* ===== Radius — NO !important ===== */
.lcsw-widget .lcsw-radius-wrapper {
  position: relative;
  height: 48px;
  display: flex;
  align-items: center;
  background-color: var(--lcsw-field-bg);
  border: 2px solid transparent;
  border-radius: var(--lcsw-radius);
  padding: 0 12px 0 42px;
  transition: all 0.2s ease;
}

.lcsw-widget .lcsw-radius-wrapper:hover {
  background-color: #fff;
  border-color: var(--lcsw-border);
}

.lcsw-widget .lcsw-radius-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 5px;
  background: #ddd;
  border-radius: 3px;
  outline: none;
  cursor: pointer;
  border: none;
  margin: 0;
  padding: 0;
}

.lcsw-widget .lcsw-radius-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  background: var(--lcsw-primary);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.lcsw-widget .lcsw-radius-slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  background: var(--lcsw-primary);
  border-radius: 50%;
  cursor: pointer;
  border: none;
}

.lcsw-widget .lcsw-radius-value {
  font-weight: 600;
  color: var(--lcsw-primary);
}

/* ===== Search Button — NO !important ===== */
.lcsw-widget .lcsw-button,
.lcsw-widget button.lcsw-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 28px;
  height: 48px;
  background: linear-gradient(135deg, #4caf50, #43a047);
  color: #fff;
  border: none;
  border-radius: var(--lcsw-radius);
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(76, 175, 80, 0.3);
  line-height: 48px;
  text-decoration: none;
}

.lcsw-widget .lcsw-button:hover {
  background: linear-gradient(135deg, #43a047, #388e3c);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.lcsw-widget .lcsw-button svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Loading state */
.lcsw-widget .lcsw-select.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* ===== Nidare Guarantee — NO !important ===== */
.lcsw-widget .lcsw-nidare-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
  padding: 10px 18px;
  background: linear-gradient(135deg, #f1f8e9 0%, #e8f5e9 100%);
  border-radius: 12px;
  border: 1px solid rgba(76, 175, 80, 0.12);
  font-size: 12.5px;
  font-weight: 500;
  color: #2e7d32;
  text-align: center;
  line-height: 1.4;
}

.lcsw-widget .lcsw-nidare-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: linear-gradient(135deg, #4caf50, #2e7d32);
  border-radius: 50%;
  flex-shrink: 0;
}

.lcsw-widget .lcsw-nidare-icon svg {
  fill: #fff;
  width: 14px;
  height: 14px;
}

.lcsw-widget .lcsw-nidare-guarantee strong {
  color: #1b5e20;
  font-weight: 700;
}

/* ===== WhatsApp Float — NO !important ===== */
.lcsw-whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  text-decoration: none;
}

.lcsw-whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

.lcsw-whatsapp-float svg {
  display: block;
}

/* ===== Location Autocomplete ===== */
.lcsw-widget .lcsw-location-wrapper {
  position: relative;
  width: 100%;
}

.lcsw-widget .autocomplete-container {
  position: relative;
  width: 100%;
}

.lcsw-widget .lcsw-location-icon-left {
  position: absolute !important;
  left: 14px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 10 !important;
  pointer-events: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  width: 18px;
  height: 18px;
}

.lcsw-widget .lcsw-location-icon-left svg {
  width: 18px;
  height: 18px;
  fill: var(--lcsw-primary);
  display: block;
}

.lcsw-widget .leaflet-geocode-cont {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--lcsw-border);
  border-top: none;
  border-radius: 0 0 var(--lcsw-radius) var(--lcsw-radius);
  max-height: 300px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.lcsw-widget .leaflet-geocode-cont.active {
  display: block;
}

.lcsw-widget .autocomplete-container.osm-dropdown-active .lcsw-location-input {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-color: var(--lcsw-border);
}

.lcsw-widget .leaflet-geocode-cont ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.lcsw-widget .leaflet-geocode-cont ul li {
  padding: 10px 14px;
  cursor: pointer;
  font-size: 13px;
  color: var(--lcsw-text);
  border-bottom: 1px solid #f5f5f5;
  transition: background 0.15s ease;
  line-height: 1.4;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.lcsw-widget .leaflet-geocode-cont ul li:last-child {
  border-bottom: none;
}

.lcsw-widget .leaflet-geocode-cont ul li:not(.powered-by-osm):hover,
.lcsw-widget .leaflet-geocode-cont ul li:not(.powered-by-osm).selected {
  background-color: #f0f7f0;
  color: var(--lcsw-primary);
}

.lcsw-widget .leaflet-geocode-cont ul li span.highlight {
  font-weight: 700;
  color: var(--lcsw-primary);
  background: transparent;
}

.lcsw-widget .leaflet-geocode-cont ul li.powered-by-osm {
  padding: 8px 14px;
  text-align: right;
  font-size: 11px;
  color: var(--lcsw-text-muted);
  background: #fafafa;
  cursor: default;
  border-top: 1px solid #eee;
  border-radius: 0 0 var(--lcsw-radius) var(--lcsw-radius);
  display: block;
}

/* ===== Spinner ===== */
.lcsw-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid var(--lcsw-border);
  border-top-color: var(--lcsw-primary);
  border-radius: 50%;
  animation: lcsw-spin 0.6s linear infinite;
  vertical-align: middle;
  margin-right: 6px;
}

@keyframes lcsw-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ==========================================================
   RESPONSIVE — TABLET (max 992px)
   ========================================================== */
@media (max-width: 992px) {
  .lcsw-hero {
    min-height: auto;
  }

  .lcsw-hero-content {
    padding: 40px 16px;
    max-width: 100%;
  }

  .lcsw-hero-title {
    font-size: 30px;
  }
  .lcsw-hero-subtitle {
    font-size: 15px;
  }

  .lcsw-hero-badges {
    gap: 10px;
  }
  .lcsw-badge {
    font-size: 12px;
    padding: 8px 16px 8px 8px;
  }
  .lcsw-badge .lcsw-badge-icon {
    width: 26px;
    height: 26px;
  }
  .lcsw-badge .lcsw-badge-icon svg {
    width: 14px;
    height: 14px;
  }

  .lcsw-widget .lcsw-container {
    padding: 20px;
  }

  .lcsw-widget .lcsw-fields {
    flex-wrap: wrap;
  }

  .lcsw-widget .lcsw-field,
  .lcsw-widget .lcsw-field-location,
  .lcsw-widget .lcsw-field-category {
    flex: 1 1 calc(50% - 5px);
    min-width: calc(50% - 5px);
  }

  .lcsw-widget .lcsw-field-date,
  .lcsw-widget .lcsw-field-radius {
    flex: 1 1 100%;
    min-width: 100%;
  }

  .lcsw-widget .lcsw-field-button {
    flex: 1 1 100%;
    margin-top: 4px;
  }

  .lcsw-widget .lcsw-button,
  .lcsw-widget button.lcsw-button {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================
   RESPONSIVE — MOBILE (max 767px)
   ========================================================== */
@media (max-width: 767px) {
  /* ----- Hero: auto height, edge-to-edge content ----- */
  .lcsw-hero {
    min-height: auto !important;
    align-items: flex-start;
  }

  .lcsw-hero-content {
    padding: 24px 12px 28px;
    max-width: 100%;
    width: 100%;
  }

  .lcsw-hero-title {
    font-size: 22px;
    margin-bottom: 6px;
    line-height: 1.25;
  }

  .lcsw-hero-subtitle {
    font-size: 13px;
    margin-bottom: 14px;
  }

  /* ----- Badges: compact row ----- */
  .lcsw-hero-badges {
    gap: 6px;
    margin-bottom: 16px;
  }

  .lcsw-badge {
    font-size: 11px;
    padding: 5px 12px 5px 5px;
    gap: 6px;
  }

  .lcsw-badge .lcsw-badge-icon {
    width: 22px;
    height: 22px;
  }
  .lcsw-badge .lcsw-badge-icon svg {
    width: 12px;
    height: 12px;
  }

  /* ----- Search container: full width edge-to-edge ----- */
  .lcsw-widget {
    padding: 0;
  }

  .lcsw-widget .lcsw-container {
    padding: 20px 16px;
    border-radius: 16px;
    margin: 0;
    width: 100% !important;
    max-width: 100% !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
  }

  /* ----- Tabs: full width row ----- */
  .lcsw-widget .lcsw-tabs {
    display: flex;
    width: 100%;
    padding: 3px;
    gap: 2px;
    margin-bottom: 16px;
  }

  .lcsw-widget .lcsw-tab {
    flex: 1;
    padding: 10px 8px;
    font-size: 13px;
    text-align: center;
  }

  /* ----- Fields: stacked vertically, full width ----- */
  .lcsw-widget .lcsw-fields {
    flex-direction: column;
    gap: 14px;
    width: 100%;
  }

  .lcsw-widget .lcsw-field,
  .lcsw-widget .lcsw-field-location,
  .lcsw-widget .lcsw-field-category,
  .lcsw-widget .lcsw-field-date,
  .lcsw-widget .lcsw-field-radius,
  .lcsw-widget .lcsw-field-button {
    flex: none !important;
    min-width: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .lcsw-widget .lcsw-label {
    text-align: left;
    margin-bottom: 5px;
    font-size: 10px;
  }

  /* ----- Inputs: taller for easy tap, full width ----- */
  .lcsw-widget .lcsw-select,
  .lcsw-widget input.lcsw-select,
  .lcsw-widget select.lcsw-select,
  .lcsw-widget .lcsw-select-wrapper input[type="text"],
  .lcsw-widget .lcsw-select-wrapper select {
    height: 50px;
    line-height: 50px;
    font-size: 14px;
    border-radius: 12px;
    width: 100% !important;
  }

  .lcsw-widget .lcsw-select-wrapper {
    width: 100%;
  }

  .lcsw-widget .lcsw-location-wrapper,
  .lcsw-widget .autocomplete-container {
    width: 100%;
  }

  /* ----- Date fields: side by side but taller ----- */
  .lcsw-widget .lcsw-date-group {
    flex-direction: row;
    gap: 8px;
    width: 100%;
  }

  .lcsw-widget .lcsw-date-group .lcsw-date-wrapper {
    flex: 1 1 0;
    min-width: 0;
  }

  .lcsw-widget .lcsw-date-input,
  .lcsw-widget input.lcsw-date-input,
  .lcsw-widget .lcsw-date-wrapper input[type="date"] {
    height: 50px;
    line-height: 50px;
    font-size: 13px;
    border-radius: 12px;
    width: 100%;
  }

  /* ----- Radius ----- */
  .lcsw-widget .lcsw-radius-wrapper {
    height: 50px;
    border-radius: 12px;
    width: 100%;
  }

  /* ----- Button: big and tappable ----- */
  .lcsw-widget .lcsw-button,
  .lcsw-widget button.lcsw-button {
    width: 100%;
    height: 52px;
    font-size: 16px;
    border-radius: 14px;
    justify-content: center;
    margin-top: 2px;
  }

  /* ----- Nidare: compact with smaller icon ----- */
  .lcsw-widget .lcsw-nidare-guarantee {
    font-size: 11.5px;
    padding: 10px 14px;
    gap: 8px;
    flex-wrap: nowrap;
    border-radius: 10px;
    margin-top: 12px;
    text-align: left;
    width: 100%;
  }

  .lcsw-widget .lcsw-nidare-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
  }

  .lcsw-widget .lcsw-nidare-icon svg {
    width: 12px;
    height: 12px;
  }

  /* ----- WhatsApp ----- */
  .lcsw-whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 16px;
    right: 16px;
  }

  .lcsw-whatsapp-float svg {
    width: 24px;
    height: 24px;
  }
}

/* ==========================================================
   RESPONSIVE — SMALL MOBILE (max 400px)
   ========================================================== */
@media (max-width: 400px) {
  .lcsw-hero-content {
    padding: 20px 8px 24px;
  }

  .lcsw-hero-title {
    font-size: 19px;
  }

  .lcsw-hero-subtitle {
    font-size: 12px;
    margin-bottom: 10px;
  }

  .lcsw-hero-badges {
    gap: 5px;
    margin-bottom: 12px;
  }

  .lcsw-badge {
    font-size: 10px;
    padding: 4px 10px 4px 4px;
    gap: 5px;
  }

  .lcsw-badge .lcsw-badge-icon {
    width: 20px;
    height: 20px;
  }
  .lcsw-badge .lcsw-badge-icon svg {
    width: 11px;
    height: 11px;
  }

  .lcsw-widget .lcsw-container {
    padding: 16px 12px;
    border-radius: 14px;
  }

  .lcsw-widget .lcsw-fields {
    gap: 12px;
  }

  .lcsw-widget .lcsw-tab {
    font-size: 12px;
    padding: 9px 6px;
  }

  .lcsw-widget .lcsw-label {
    font-size: 9px;
    letter-spacing: 0.5px;
  }

  /* Stack date fields vertically on very small screens */
  .lcsw-widget .lcsw-date-group {
    flex-direction: column;
    gap: 8px;
  }

  .lcsw-widget .lcsw-nidare-guarantee {
    font-size: 10.5px;
    padding: 8px 10px;
    gap: 6px;
  }
}
