.edr-archive__bar {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px
}

@media (max-width:992px) {
  .edr-layout {
    grid-template-columns: 1fr
  }

  .edr-filters {
    display: block
  }

  [id="edr-filters"][data-open="0"] {
    display: none
  }
}

.edr-filters {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 16px
}

.edr-filter-group {
  margin-bottom: 16px
}


.edr-filters__actions {
  display: flex;
  gap: 10px;
  margin-top: 8px
}



.edr-btn--ghost {
  display: inline-block;
  margin-top: 8px
}

.edr-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px
}

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

@media (max-width:640px) {
  .edr-grid {
    grid-template-columns: 1fr
  }
}

.edr-card {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
      position: relative;
}

.edr-card__img {
  display: block;
  position: relative;
  aspect-ratio: 4/3;
  background: #f7f7f7;
}

.edr-card__img img {
  width: 100%;
 height: 409px;
  object-fit: cover;
}

.edr-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 12px
}

.edr-card__body {
  padding: 14px
}

.edr-card__title {
 margin: 0 0 6px;
    font-size: 29px;
    text-decoration: none!important;
}


.edr-card__title a{
    text-decoration: none!important;
}

.edr-card__meta {
  display: flex;
  gap: 5px;
  color: #6b7280;
  font-size: 13px;
  margin-bottom: 6px
}

.edr-dotlist {
  position: relative
}

.edr-tag {
  display: inline-block;
  font-size: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 2px 8px;
  margin: 2px 4px 0 0
}

.edr-card__price,.edr-card__features {
  font-weight: 600;
  margin-top: 6px;
  font-size:14px;
}
.edr-card__features {
    margin-top: -10px;
 font-weight: 100;
}

.edt-card-button-wrapper {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

.edr-pagination {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin: 24px 0
}

.edr-pagination button {
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 6px 10px;
  background: #fff
}

.edr-pagination .is-active {
  background: #111;
  color: #fff;
  border-color: #111
}


/* --- Top-Bar kompakter --- */
.edr-filterbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center
}

.edr-fb__item {
  display: flex;
  gap: 8px;
  align-items: center
}

.edr-fb__item input[type="search"],
.edr-fb__item input[type="number"],
.edr-fb__item select {
  min-width: 180px;
  height: 40px
}

.edr-fb__geo {
  position: relative;
  min-width: 240px
}

#ep_geo_suggest {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 20
}







/* ===== Mosaik: links groß (Hero), rechts 5 Slots im Raster ===== */
.ep-mosaic {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: repeat(3, 1fr);
  grid-template-areas:
    "hero slot-b slot-c"
    "hero slot-d slot-e"
    "hero slot-f slot-g";
  gap: 16px;
  margin: 24px 0;

  /* fixe Gesamt-Höhe → gleichmäßige Reihen, kein „Zerfließen“ */
  height: clamp(520px, 70vh, 860px);
}

.ep-mosaic__item {
  border-radius: 12px;
  overflow: hidden;
  background: #f3f4f6;
}

.ep-mosaic__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Grid-Areas binden */
.ep-mosaic__item.is-hero {
  grid-area: hero;
}

.ep-mosaic__item.slot-b {
  grid-area: slot-b;
}

.ep-mosaic__item.slot-c {
  grid-area: slot-c;
}

.ep-mosaic__item.slot-d {
  grid-area: slot-d;
}

.ep-mosaic__item.slot-e {
  grid-area: slot-e;
}

.ep-mosaic__item.slot-f {
  grid-area: slot-f;
}

/* slot-g bleibt ungenutzt, dient nur als Platzhalter für Symmetrie */

/* Mobile: 1 Spalte, natürliche Reihenfolge */
@media (max-width: 900px) {
  .ep-mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas: none;
    height: auto;
    /* Höhe freigeben */
  }

  .ep-mosaic__item.is-hero,
  .ep-mosaic__item.slot-b,
  .ep-mosaic__item.slot-c,
  .ep-mosaic__item.slot-d,
  .ep-mosaic__item.slot-e,
  .ep-mosaic__item.slot-f {
    grid-area: auto;
    aspect-ratio: auto;
  }
}






.ep-sedcard {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px
}

.ep-title {
  font-size: clamp(28px, 4vw, 40px);
  margin: 24px 0 6px
}

.ep-sub {
  color: #6b7280;
  margin-bottom: 16px
}


.ep-wrap {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 36px;
  margin: 8px 0 40px
}

.ep-prose p {
  margin: 0 0 14px;
  line-height: 1.7
}

@media (max-width:900px) {
  .ep-wrap {
    grid-template-columns: 1fr
  }
}

.ep-box {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
  background: #fff
}

.ep-box h2 {
  margin: 0 0 10px;
  font-size: 18px
}

.ep-dl {
  display: grid;
  gap: 8px
}

.ep-dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #f1f5f9;
  padding: 6px 0
}

.ep-dl dt {
  color: #6b7280
}

.ep-dl dd {
  margin: 0;
  font-weight: 600
}

.ep-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px
}

.ep-tag {
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 13px;
  background: #fff
}

.ep-table {
  width: 100%;
  border-collapse: collapse
}

.ep-table td {
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9
}

.ep-table td:first-child {
  color: #6b7280
}

.ep-table td:last-child {
  text-align: right;
  font-weight: 600
}

.ep-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 12px 14px;
  border: 1px solid #111;
  color: #111;
  text-decoration: none
}

.ep-btn--primary {
  background: #111;
  color: #fff;
  border-color: #111
}

.ep-btn--block {
  width: 100%
}


.model-filter,.edr-map-controls{
      margin-top: 25px;
}

.edr-map-controls {
  margin-top: 25px;
  margin-bottom: 25px;
  gap: 6px;
  display: flex;
  flex-direction: column;
}

/* Model Filterbar */
.model-filter {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    background: #f5f5f5;
    padding: 0px 23px 24px 23px;
}

#edr-map-wrap{
    background: #f5f5f5;
    padding: 1px 23px 24px 23px;
}

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

@media (max-width:645px){
  .model-filter {
  
    grid-template-columns: repeat(1, 1fr);
  
   }
}

#edr-filter-form input ,#edr-filter-form select,#edr-map-wrap  input ,#edr-map-wrap select{
    border: 1px solid #d1d5db;
    padding: 8px 12px;
    background: #fff;

    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
    font-size:15px;
}


.filter-headline {
font-size: 16px;
    width: 100%;
    display: block;
}


.filter-subline {
    font-size: 14px;
    margin: 10px 0px;
}

div#edr-map-wrap {
    margin: 20px 0px;
}

.is-active{
    color: var(--ast-global-color-5)!important;
    background-color: var(--ast-global-color-0)!important;
    border-color: var(--ast-global-color-0)!important;
}

#edr-filter-form {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.filterbar {
  display: flex;
  justify-content: space-between;
  flex-direction: row;

}

/* Buttons kompakt */
.edr-fb__actions .edr-btn {
  height: 40px;
  padding: 0 14px
}

.edr-btn {
  border: 1px solid #d1d5db;
  padding: 8px 12px;
  background: #fff;
  font-size:12px;
}

.edr-btn--primary {
  background: #111;
  color: #fff;
  border-color: #111;
    font-size:12px;
}

.filterbar-left button , .filterbar-left div{
 margin-right: 4px;
}

.filterbar-right, .filterbar-left{
    display: flex;
  flex-direction: row;

}

  .edr-fb__item-button{
        margin: 20px 0px;
  }

  .filterbar-footer{
justify-content: flex-end;
  }


  
.edr-chip {
  display: inline-flex;
  align-items: center;
  border-radius: inherit;
  padding: 6px 0px 6px 0px;
  gap: 6px;
  margin-right: 7px;
}

@media (max-width:640px) {

  .filterbar {
    display: flex;
    flex-direction: column;
   }

  .edr-fb__item-button  button {
     width: 100%;
   }

  .edr-fb__item{
     display: flex;
        align-items: center;
        justify-content: space-evenly;
        width: 100%;
        gap: 8px;
        flex-direction: row;
  }

  .edr-fb__item-button{
        display: flex;
        align-items: stretch;
        justify-content: space-evenly;
        width: 100%;
        gap: 8px;
  }

}



/* Range Slider */
.edr-fb__item_Slider {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.edr-slider-container {
  margin: 10px 0 10px;
}

.edr-range-slider {
  margin: 20px 10px 10px;
}

.edr-slider-label {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #111;
  margin-top: 8px;
}

.noUi-target {
  height: 8px;
  border: none;
  background: #e5e7eb;
  box-shadow: none;
}

.noUi-connect {
  background: var(--ast-global-color-0, #111)!important;
}


.noUi-horizontal .noUi-handle {
    width: 15px !important;
    height: 15px !important;
    top: -6px !important;
        right: -10px !important;
  border-radius: 100%;
  border: 3px solid var(--ast-global-color-0, #111)!important;
  background: var(--ast-global-color-0, #111)!important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2)!important;
  cursor: pointer;
}

.edr-range {
    width: 100%;
}

.noUi-horizontal {
    height: 5px!important;
}

.noUi-handle:before,
.noUi-handle:after {
  display: none!important;
}
.price-filter {
  display: flex;
  gap: 6px;
  flex-direction: row;
}

/* Wishlist Icon*/
.product-group-button {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 6;
    gap: 10px;
    display: flex;
    flex-direction: column;
}

a.ts-add-to-wishlist {
   background: #fff;
    border-radius: 100%;
    width: 40px;
    height: 40px;
    text-decoration: none !important;
padding: 9px 8px;
color: #ccc;
}

a.ts-add-to-wishlist:hover {
   color: var(--ast-global-color-0);
}

a.ts-add-to-wishlist .dashicons.dashicons-heart{
 font-size: 25px;
}


