.elementor-18574 .elementor-element.elementor-element-669ae85{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--padding-top:50px;--padding-bottom:50px;--padding-left:20px;--padding-right:20px;}@media(max-width:767px){.elementor-18574 .elementor-element.elementor-element-669ae85{--content-width:100%;}}/* Start custom CSS for container, class: .elementor-element-669ae85 */.fastighetsfilter-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  padding: 24px;
  background: #f9f9f9;
  border-radius: 12px;
  border: 1px solid #ddd;
  max-width: 1000px;
  margin: 0 auto;
  font-family: "Segoe UI", sans-serif;
}

.fastighetsfilter-form .form-group {
  display: flex;
  flex-direction: column;
}

.fastighetsfilter-form label {
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 14px;
  color: #333;
}

.fastighetsfilter-form select,
.fastighetsfilter-form input[type="number"],
.fastighetsfilter-form input[type="text"] {
  padding: 10px 12px;
  font-size: 14px;
  border-radius: 8px;
  border: 1px solid #ccc;
  background: #fff;
  transition: border-color 0.2s;
}

.fastighetsfilter-form select:focus,
.fastighetsfilter-form input:focus {
  outline: none;
  border-color: #0073aa;
}

.fastighetsfilter-form button[type="submit"] {
  padding: 12px 16px;
  font-size: 16px;
  background-color: #0073aa;
  color: #fff;
  margin-top:13px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s;
      width: 100%;
    grid-column: span 1;
}

/* Låt knappen ta hela raden på liten skärm */
@media (max-width: 600px) {
  .fastighetsfilter-form {
    grid-template-columns: 1fr;
  }

  .fastighetsfilter-form button[type="submit"] {
    width: 100%;
    grid-column: span 1;
  }
}

/* Desktop – knappen kan breda ut sig mer */
@media (min-width: 601px) {
  .fastighetsfilter-form button[type="submit"] {
    grid-column: span 2;
  }
}

.fastighetsfilter-form button[type="submit"]:hover {
  background-color: #005f8d;
}
/* 4 kolumner, större gap, hover‐skugga */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 2rem;
  margin: 2rem 0;
}
.property-card {
  background:#fff;
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 2px 8px rgba(0,0,0,0.05);
  transition:transform .2s,box-shadow .2s;
}
.property-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.property-card a { display:flex; flex-direction:column; color:inherit; text-decoration:none; height:100%; }
.property-card-img-wrapper {
  width:100%; height:180px;
  border-radius:12px 12px 0 0; overflow:hidden;
}
.property-card-img-wrapper img {
  width:100%; height:100%; object-fit:cover;
  border-radius:12px 12px 0 0;
}
.property-card-info { padding:1rem; flex:1; display:flex; flex-direction:column; justify-content:space-between; }
.property-card-id       { font-size:.85rem; color:#666; padding:.5rem 1rem 0; }
.property-card-location { font-size:.95rem; color:#777; margin-bottom:.75rem; }
.property-card-meta     { font-size:.9rem;  color:#555; margin-bottom:.75rem; }
.property-card-price    { font-size:1rem;   font-weight:bold; color:#004F7C; }

/* Responsivt: 1 kolumn på mobil */
@media(max-width:600px){
  .properties-grid { grid-template-columns:1fr; gap:1.5rem; }
  .property-card-img-wrapper { height:140px; }
}

/* Form styling (diskret) */
.fastighetsfilter-form { display:flex; flex-wrap:wrap; gap:1rem; margin-bottom:2rem; }
.fastighetsfilter-form .form-group { flex:1 1 200px; display:flex; flex-direction:column; }
.fastighetsfilter-form label { font-size:.9rem; margin-bottom:.25rem; }
.fastighetsfilter-form select,
.fastighetsfilter-form input {
  padding:.5rem; border:1px solid #ccc; border-radius:6px;
}
.fastighetsfilter-form button {
  align-self:flex-end; padding:.5rem 1rem;
  background:transparent; border:none; color:#00658a;
  font-weight:bold; cursor:pointer;
}
.fastighetsfilter-form .sorter { flex:1 1 150px; }/* End custom CSS */