/* ========================================   REFLOW – KATALOG KARTENLAYOUT   ======================================== */

/* Produktcontainer */

.reflow-product-list.ref-cards .ref-products {
  align-items: stretch;
}

/* Produktkarte */

.reflow-product-list.ref-cards .ref-product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto 1fr auto;
  column-gap: 12px;
  height: 100%;
  align-content: stretch;
}

/* Produktbild über beide Spalten */

.reflow-product-list.ref-cards .ref-media {
  grid-column: 1 / -1;
  grid-row: 1;
}

/* Reflow-Wrapper für Grid öffnen */

.reflow-product-list.ref-cards .ref-product-data {
  display: contents;
}

/* Produktname und Beschreibung */

.reflow-product-list.ref-cards .ref-product-info {
  grid-column: 1 / -1;
  grid-row: 2;
  align-self: start;
  min-width: 0;
}

/* ========================================   REFLOW – KATALOG PREISE   ======================================== */

.reflow-product-list.ref-cards .ref-product-data > strong.ref-price {
  grid-column: 1 / -1;
  grid-row: 3;
  justify-self: center;
  align-self: center;
  font-size: 20px !important;
  font-weight: 600;
  line-height: 1.2;
  color: #0d8cdb !important;
  position: static;
  margin: 0;
}

/* ========================================   REFLOW – KATALOG WARENKORB   ======================================== */

/* Warenkorb-Container */

.reflow-product-list.ref-cards .ref-addons {
  grid-column: 2;
  grid-row: 3;
  justify-self: end;
  align-self: center;
  z-index: 1;
  margin-bottom: 12px;
  margin-right: 2px;
}

/* Kompakter Icon-Button */

.reflow-product-list.ref-cards.ref-addons .product-list-add-to-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  padding: 0;
  background-color: #0d8cdb;
  border: 1px solid #0d8cdb;
  border-radius: 6px;
  color: #fff;
  font-size: 0;
  line-height: 1;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

/* Font Awesome 4 – Einkaufswagen */

.reflow-product-list.ref-cards.product-list-add-to-cart::before {
  content: "\f07a";
  font-family: "FontAwesome";
  font-size: 19px;
  font-weight: normal;
  line-height: 1;
}

/* Hover */

.reflow-product-list.ref-cards.product-list-add-to-cart:hover {
  background-color: #0a72b3;
  border-color: #0a72b3;
  color: #fff;
}

/* Tastaturfokus */

.reflow-product-list.ref-cards.product-list-add-to-cart:focus-visible {
  outline: 2px solid #0d8cdb;
  outline-offset: 3px;
}

/* ========================================   REFLOW – PRODUKTSUCHE   ======================================== */

/* Suchleiste */

[data-reflow-type="product-search"].reflow-product-search {
  display: flex;
  align-items: stretch;
  gap: 12px;
}

/* Eingabefeld-Container */

[data-reflow-type="product-search"].ref-input-wrapper {
  flex: 1;
  min-width: 0;
}

/* Eingabefeld */

[data-reflow-type="product-search"].ref-search {
  width: 100%;
  height: 42px;
  box-sizing: border-box;
  background-color: #212529;
  border: 1px solid #495057;
  border-radius: 4px;
  color: #dee2e6;
  font-family: 'Kanit', sans-serif;
  font-size: 15px;
  padding: 0 12px;
  outline: none;
}

/* Platzhalter */

[data-reflow-type="product-search"].ref-search::placeholder {
  color: #89939d;
  opacity: 1;
}

/* Fokus */

[data-reflow-type="product-search"].ref-search:focus {
  border-color: #0d8cdb;
  box-shadow: 0 0 0 2px rgba(13, 140, 219, 0.12);
}

/* Suchbutton */

[data-reflow-type="product-search"].reflow-product-search > .ref-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  height: 42px;
  box-sizing: border-box;
  padding: 0 20px;
  background-color: #343a40;
  border: 1px solid #495057;
  border-radius: 4px;
  color: #dee2e6;
  font-family: 'Kanit', sans-serif;
  font-size: 15px;
  font-weight: 400;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

/* Hover */

[data-reflow-type="product-search"].reflow-product-search > .ref-button:hover {
  background-color: #0d8cdb;
  border-color: #0d8cdb;
  color: #fff;
}

/* Tastaturfokus */

[data-reflow-type="product-search"].reflow-product-search > .ref-button:focus-visible {
  outline: 2px solid #0d8cdb;
  outline-offset: 3px;
}

/* ========================================   REFLOW – SUCHFELD RAHMEN   ======================================== */

/* Äußerer Eingabefeld-Container */

[data-reflow-type="product-search"] .ref-input-wrapper {
  border: 1px solid #495057 !important;
  border-radius: 4px;
  background-color: #212529;
  box-shadow: none !important;
}

/* Inneres Suchfeld */

[data-reflow-type="product-search"] .ref-search {
  border: none !important;
  background: transparent;
  box-shadow: none !important;
  outline: none;
}

/* Fokus auf dem gesamten Eingabefeld */

[data-reflow-type="product-search"].ref-input-wrapper:focus-within {
  border-color: #0d8cdb !important;
  box-shadow: 0 0 0 2px rgba(13, 140, 219, 0.12) !important;
}

/* Reflow – kompakte Katalog-Typografie */

/* Produktname */

@media (min-width: 992px) {
  .reflow-product-list.ref-cards .ref-name {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
  }
}

/* Kurzbeschreibung */

@media (min-width: 992px) {
  .reflow-product-list.ref-cards .ref-excerpt {
    font-size: 14px;
    line-height: 1.4;
  }
}

/* Preis */

@media (min-width: 992px) {
  .reflow-product-list.ref-cards .ref-product-data > strong.ref-price {
    font-size: 18px !important;
  }
}

