@media (max-width: 768px) {
  .card-title {
    height: 50px;
    overflow: hidden;
  }
}

@font-face {
  font-family: "gilroy-bold";
  font-weight: normal;
  font-style: normal;
  font-display: swap;
  src: url("../assets/fonts/Gilroy-Bold.woff") format("woff");
}

@font-face {
  font-family: "gilroy-medium";
  font-weight: normal;
  font-style: normal;
  font-display: swap;
  src: url("../assets/fonts/Gilroy-Medium.woff") format("woff");
}

@font-face {
  font-family: "gilroy-regular";
  font-weight: normal;
  font-style: normal;
  font-display: swap;
  src: url("../assets/fonts/Gilroy-Regular.woff") format("woff");
}

/* Modal von links erscheinen lassen */
.modal.left .modal-dialog {
  position: fixed;
  margin: auto;
  width: 340px;
  height: 100%;
  left: 0;
  top: 0;
  bottom: 0;
  -webkit-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.modal.left .modal-content {
  height: 100%;
  overflow-y: auto;
}

.modal.left.fade .modal-dialog {
  left: -280px;
  -webkit-transition: left 0.3s ease-out;
  -moz-transition: left 0.3s ease-out;
  transition: left 0.3s ease-out;
}

.modal.left.fade.show .modal-dialog {
  left: 0;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
}

/*.border-gray {
    border-bottom: 1rem solid #ccc !important;
}*/

.modal-content ul li {
  /*border-bottom: 1px solid #ccc;*/
  margin-bottom: 0;
}

.modal-content ul ul {
  padding-left: 1.5rem;
}

.modal-content ul ul li a {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  display: block;
  color: #444;
}

.modal-content ul li > a {
  padding: 0.75rem 1.25rem;
  font-weight: 200;
  color: #222;
}

a[data-toggle="collapse"] > span {
  font-size: 1.2rem;
  float: right;
  transition: transform 0.3s ease;
  line-height: 1;
  margin-left: 0.5rem;
  color: #333;
}

button[aria-expanded="true"] > span {
  transform: rotate(90deg);
}

.no-hover-border:hover {
  /*border: none !important;*/
  border-color: transparent !important;
}

.mobile-search-header {
  display: none;
}
@media (max-width: 1999px) {
  .mobile-search-header {
    display: block;
  }
  .mobile-quick-btn {
    padding: 0.875rem 0.5rem !important;
  }
}

.menu-layer {
  padding: 0.5rem 1rem;
  overflow-y: auto;
  max-height: 80vh;
}

.btn-back {
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
}
.submenu-icon {
  font-size: 1rem;
}

.image--overlay {
  width: 100%;
  /*height: 500px; !* Oder beliebige Höhe *!*/
  background-size: cover;
  background-position: top center;
  overflow: hidden;
  object-fit: cover;
}

.navbar .navbar-brand {
  padding: 0;
}

.navbar-brand img {
  width: 80px;
}

/*
---------------------
=====================
---------------------
*/

/* ================================
   PRODUCT DETAIL PAGE
================================ */

.product-detail-page .price .vat {
  font-size: 14px;
}


/*
---------------------
CARPET CATEGORIES 
---------------------
*/



.carpet-categories .carpet .image {
  /*background-size: contain;*/
  /*background-repeat: no-repeat;*/

}

/* Dauerhafter Rahmen um die gesamte Kategorie-Kachel (das Bild). */
.category--alt {
  border: 1px solid #dee2e6;
}

/* Beschriftung: auf Touch/mobil dauerhaft sichtbar, weil es dort kein Hover
   gibt und die Kachel sonst unbeschriftet bleibt. Auf Desktop bleibt der
   Hover-Effekt der Base (themeassets) unveraendert. */
@media (max-width: 991.98px), (hover: none) {
  .category--alt figcaption {
    bottom: 0;
    opacity: 1;
  }
}

/*
---------------------
ROOM CATEGORIES 
---------------------
*/


/* Zimmer-Kacheln im gleichen Look wie die Kategorie-Kacheln oben:
   quadratisch, randlos gefuellt (Base cover), gleicher Rahmen.
   Raster: 2 pro Reihe mobil, 3 pro Reihe ab md (6 Kacheln = 2 Reihen). */
.room-categories .card-image {
  border: 1px solid #dee2e6;
}

/* vh-75 (75vh hoch) aufheben, damit .equal die Kachel quadratisch macht */
.room-categories .card-image.vh-75 {
  height: auto;
  min-height: 0;
}

.room-categories .col-md-6 {
  flex: 0 0 50%;
  max-width: 50%;
}

@media (min-width: 768px) {
  .room-categories .col-md-6 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

/* Beschriftung als schwarzer Balken am unteren Rand - gleiche Optik wie die
   figcaption der Kategorie-Kacheln (padding/zentriert/schwarz auf weiss).
   !important schlaegt die Utility-Klasse .p-lg-5 (die selbst !important ist). */
.room-categories .card-tile .card-footer {
  top: auto;
  bottom: 0;
  padding: 0 !important;
}

.room-categories .card-footer .card-footer-wrapper {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  background: #000;
  color: #fff;
  text-align: center;
}

/* Titel (h2) ausblenden - die Bezeichnung traegt der Link darunter. */
.room-categories .card-footer .card-title {
  display: none;
}

.room-categories .card-footer a {
  font-size: 0.9375rem;
  color: #fff;
}

/* Desktop: Balken faehrt erst beim Hover ein - wie bei den Kategorie-Kacheln.
   Auf Touch/mobil bleibt er dauerhaft sichtbar (dort gibt es kein Hover).
   overflow:hidden klippt den ausgefahrenen Balken an der Kachelkante. */
@media (min-width: 992px) and (hover: hover) {
  .room-categories .card-tile {
    overflow: hidden;
  }

  .room-categories .card-tile .card-footer {
    transform: translateY(100%);
    opacity: 0;
  }

  .room-categories .card-tile:hover .card-footer {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Auf schmalen Screens Schrift und Padding reduzieren: der dauerhaft sichtbare
   Balken wuerde die kleine Kachel sonst dominieren (Text bricht dort um). */
@media (max-width: 575.98px) {
  .category--alt figcaption {
    padding: 0.5rem 0.625rem;
    font-size: 0.8125rem;
    line-height: 1.25;
  }

  .room-categories .card-footer .card-footer-wrapper {
    padding: 0.5rem 0.625rem;
  }

  .room-categories .card-footer a {
    font-size: 0.8125rem;
    line-height: 1.25;
  }
}

/* ================================
   RANGE-SLIDER (Dual-Range: Preis, Größe …)
================================ */

.range-slider {
  max-width: 22rem;
  margin-top: 0.75rem;
}

.range-slider__track {
  position: relative;
  height: 1.5rem;
}

/* Grund-Schiene */
.range-slider__track::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 4px;
  transform: translateY(-50%);
  background: #e9ecef;
  border-radius: 2px;
}

/* Hervorgehobener gewaehlter Bereich (Position setzt jenny.js per left/right) */
.range-slider__range {
  position: absolute;
  top: 50%;
  height: 4px;
  transform: translateY(-50%);
  background: #caa14e;
  border-radius: 2px;
}

/* Zwei uebereinanderliegende Range-Inputs: Spur transparent, nur der Daumen
   ist klickbar - so lassen sich beide Griffe unabhaengig ziehen. */
.range-slider__input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1.5rem;
  margin: 0;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  pointer-events: none;
}

.range-slider__input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #caa14e;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  pointer-events: auto;
}

.range-slider__input::-moz-range-thumb {
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #caa14e;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  pointer-events: auto;
}

.range-slider__input::-webkit-slider-runnable-track {
  background: transparent;
}

.range-slider__input::-moz-range-track {
  background: transparent;
}

.range-slider__values {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.6rem;
}

.range-slider__value {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  font-size: 0.85rem;
}

.range-slider__number {
  width: 5.5rem;
  padding: 0.3rem 0.5rem;
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  text-align: center;
  font-size: 0.85rem;
}

.range-slider__number:focus {
  outline: none;
  border-color: #caa14e;
}

.range-slider__sep {
  color: #868e96;
}



/* ================================
   PRODUCT GRID LAYOUT
================================ */

/* Container als Flex Grid */
.carpet-container {
  display: flex;
  flex-wrap: wrap;
}

/* Jede Card bekommt definierte Breite */
.carpet-container .card-product {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 15px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

/* Startseite: ab Desktop 4 Produktkarten pro Reihe. Tablet (3) und Smartphone
   (2) kommen weiter aus den col-6/col-md-4-Klassen im Markup. Gezielt nur die
   Produktspalten (col-md-4) unter .carpet-container: die Kategorielisten-Route
   (Grid = row ohne carpet-container) und die Kategorie-Kacheln
   (carpet-container mit col-lg-3) bleiben unberuehrt. */
@media (min-width: 992px) {
  .carpet-container > .col-md-4 {
    flex: 0 0 25%;
    max-width: 25%;
  }
}

/* ================================
   CHECKOUT CART Offcanvas
================================ */

.cart-drawer .cart-item-quantity button {
  border-radius: 50%;
  background: transparent;
  border: 1px solid #bab8b8;
}

.cart-drawer .cart-item-quantity button:focus {
  outline: none;
}

.cart-drawer .cart-item-quantity input {
  width: 30px;
  height: 30px;
  margin: 0 0.5em;
  border-radius: 50%;
}

/* ================================
   CARD HEIGHT FIX
================================ */

.card-product {
  /*border: none;*/
  /*border-radius: 8px;*/
  overflow: hidden;
  background: #fff;
  border: 1px solid #dedbdb;
  /*box-shadow: 1px 1px 3px;*/
}

/* Bildbereich fixe Höhe */
.card-product .card-image {
  height: 450px;
  overflow: hidden;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Bild gleichmäßig skalieren */
.card-product .card-image img {
  max-height: 100%;
  width: auto;
  transition: transform 0.4s ease;
  height: 420px;
}

/* Startseite (Raster + "Neu eingetroffen"-Slider): Bildfläche proportional zur
   (schmaleren) Kartenbreite statt fix 450px hoch -- sonst wirken die Karten
   v.a. mobil sehr hochformatig. Das ganze Motiv bleibt vollständig sichtbar
   (object-fit: contain, heller Hintergrund), nichts wird abgeschnitten. Die
   Bilder werden absolut positioniert, damit die Flex-Zentrierung sie nicht mehr
   verzerrt/beschneidet. Zwei Bilder pro Karte: das zweite dient als
   Hover-Ansicht. Nur .carpet-container/.na-slider gescoped -> die
   Kategorieliste bleibt unverändert. */
.carpet-container .card-product .card-image,
.na-slider .card-product .card-image {
  height: auto;
  aspect-ratio: 1 / 1;
  display: block;
  position: relative;
}

.carpet-container .card-product .card-image img,
.na-slider .card-product .card-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.carpet-container .card-product .card-image img:nth-of-type(2),
.na-slider .card-product .card-image img:nth-of-type(2) {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.carpet-container .card-product:hover .card-image img:nth-of-type(2),
.na-slider .card-product:hover .card-image img:nth-of-type(2) {
  opacity: 1;
}

.card-product .card-title {
  font-size: 1.2rem;
}

.card-product .card-title a:hover {
  color: #4d4646;
}

/* Footer füllt restliche Höhe */
.card-product .card-footer {
  margin-top: auto;
  background: #fff;
  border-top: 1px solid #eee;
  padding-left: 10px;
}

/* ================================
   HOVER ANIMATION
================================ */

/* Card Lift Effekt */
.card-product:hover {
  /*transform: translateY(-6px);*/
  box-shadow: 1px 10px 25px rgba(0, 0, 0, 0.08);
}

/* Image Zoom */
.card-product:hover .card-image img {
  /*transform: scale(0.8);*/
}

/* ================================
   BUTTON ANIMATION
================================ */

.btn-cart-icon {
  top: 10px;
  right: 10px;
  opacity: 0;
  transform: translateY(-5px);
  transition: all 0.3s ease;
}

.card-product:hover .btn-cart-icon {
  opacity: 1;
  transform: translateY(0);
}

/* Auf Touch/mobil dauerhaft sichtbar: dort gibt es kein Hover, sonst wäre der
   Warenkorb-Button nie erreichbar. Auf Desktop bleibt der Hover-Reveal. */
@media (max-width: 991.98px), (hover: none) {
  .btn-cart-icon {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Einzelstück-Hinweis im Warenkorb-Drawer: eigene Zeile, dezent (statt des
   früheren Mengen-Steppers – Teppiche sind Unikate, Menge immer 1). */
.cart-item-single {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.75rem;
}

/* ================================
   TYPOGRAPHY CLEANUP
================================ */

.card-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 5px;
  font-family: "gilroy-bold", avenir;
}

.card-title a {
  color: #212529;
  text-decoration: none;
  letter-spacing: 1px;
}

.card-title a:hover {
  color: #007bff;
}

.card-footer .price {
  font-family: "gilroy-medium";
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
  letter-spacing: 1px;
}



/* ================================
NAVIAGTION
================================ */

/* base navbar */
.container .navbar {
  position: relative;
  width: 100%;
  background: transparent;
  transition: background 220ms ease, padding 220ms ease, box-shadow 220ms ease, transform 220ms ease;
  padding: 1rem 1rem;
  z-index: 1000;
  will-change: transform, padding, box-shadow, background;
}

/* fixed state */
.container .navbar.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  padding: 0.5rem 1rem;
  transform: translateZ(0); /* promote to its own layer */
  backdrop-filter: blur(6px);
}

/* logo resize */
.container .navbar .logo {
  max-height: 5rem;
  transition: max-height 220ms ease;
  display: block;
}

.container .navbar.is-fixed .logo {
  max-height: 5rem;
}

/* spacer to prevent content jump (matches navbar height) */
.navbar-spacer {
  display: none;
  height: 0;
  transition: height 220ms ease;
}

/* when fixed, show spacer with same height as navbar */
.navbar-spacer.active {
  display: block;
}

/* mobile adjustments */
@media (max-width: 991.98px) {
  .container .navbar { padding: 0.9rem 0.9rem; }
  .container .navbar.is-fixed { padding: 0.45rem 0.75rem; }
  .container .navbar .logo { max-height: 5rem; }
  /*.container .navbar.is-fixed .logo { max-height: 2.6rem; }*/
}

/* ================================
   KATEGORIE-NAVIGATION (Zeile unter der Navbar)
================================ */

.category-nav {
  border-top: 1px solid #ececec;
}

.category-nav__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.25rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0.65rem 0;
}

.category-nav__link {
  display: inline-block;
  white-space: nowrap;
  padding: 0.2rem 0;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #212529;
  text-decoration: none;
  transition: color 0.15s ease;
}

.category-nav__link:hover,
.category-nav__link:focus {
  color: #000;
  text-decoration: underline;
}

/* Beim Scrollen mitfixieren: jenny.js setzt is-fixed, dockt die Zeile per
   inline top exakt unter die Navbar und rechnet ihre Hoehe in den
   navbar-spacer. Das top hier ist nur der Fallback, bis JS gemessen hat --
   bewusst etwas groesser als die Navbar, damit nichts ueberlappt. */
.category-nav.is-fixed {
  position: fixed;
  top: 7.5rem;
  left: 0;
  right: 0;
  background: #fff;
  padding: 0 1rem;
  z-index: 999;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Der Schatten sitzt dann an der Unterkante des gesamten Blocks, nicht
   zwischen Navbar und Kategorie-Zeile. */
.container .navbar.is-fixed:has(+ .category-nav.is-fixed) {
  box-shadow: none;
}

/* ================================
   PRODUKTFILTER (Kategorieseite)
================================ */

.product-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.product-filter__option {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.15rem;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 2rem;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.2;
  color: #212529;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.product-filter__option:hover {
  border-color: #e2e2e2;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.12);
}

/* aktiver Zustand: goldener Ring (wie im Referenz-Design) */
.product-filter__option.is-active {
  border-color: transparent;
  box-shadow: 0 0 0 2px #caa14e;
  font-weight: 600;
}

.product-filter__dot {
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  flex: 0 0 auto;
}

/* ================================
   FILTER-DRAWER (ein Panel je Dimension)
   Slide-in wie der Warenkorb-Drawer (siehe cartdrawer.css). Die Unter-Panels
   liegen absolut ueber dem Hauptpanel und schieben von rechts ein.
================================ */

/* Drawer + Overlay */
.filter-drawer {
  position: fixed;
  top: 0;
  left: -30rem;
  width: 30rem;
  max-width: 92vw;
  height: 100vh;
  height: 100dvh;
  background: #fff;
  box-shadow: 2px 0 12px rgba(0, 0, 0, 0.12);
  z-index: 1050;
  transition: left 0.3s ease;
  overflow: hidden;
}

.filter-drawer.open { left: 0; }

.filter-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1040;
  display: none;
}

.filter-drawer-overlay.open { display: block; }

/* Panels: Hauptpanel liegt unten, Unter-Panels schieben darueber ein. */
.filter-drawer__panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
}

.filter-drawer__panel--sub {
  transform: translateX(100%);
  transition: transform 0.28s ease;
  z-index: 2;
}

.filter-drawer__panel--sub.is-open { transform: translateX(0); }

.filter-drawer__header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid #eee;
  flex: 0 0 auto;
}

.filter-drawer__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  flex: 1 1 auto;
}

/* Titel + Ergebnis-Anzahl im Drawer-Header (Hauptpanel). */
.filter-drawer__heading {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}

.filter-drawer__count {
  font-size: 0.8rem;
  font-weight: 400;
  color: #868e96;
}

.filter-drawer__close,
.filter-drawer__back {
  background: none;
  border: none;
  cursor: pointer;
  color: #212529;
  font-size: 1.5rem;
  line-height: 1;
  padding: 0.15rem 0.45rem;
  border-radius: 0.375rem;
}

.filter-drawer__close:hover,
.filter-drawer__back:hover { background: #f1f3f5; }

.filter-drawer__body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 0.5rem 1.15rem 1.15rem;
}

.filter-drawer__footer {
  flex: 0 0 auto;
  padding: 1rem 1.15rem;
  border-top: 1px solid #eee;
}

.filter-drawer__reset {
  display: inline-block;
  margin: 0.5rem 0 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #caa14e;
  text-decoration: none;
}

.filter-drawer__reset:hover { text-decoration: underline; }

.filter-drawer__reset.is-disabled {
  color: #adb5bd;
  pointer-events: none;
}

/* Zeilen im Hauptpanel: Label + aktuelle Auswahl + Chevron */
.filter-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.9rem 0.25rem;
  background: none;
  border: none;
  border-bottom: 1px solid #f1f3f5;
  text-align: left;
  cursor: pointer;
  font-size: 0.95rem;
  color: #212529;
}

.filter-row:hover { background: #faf9f7; }

.filter-row__label {
  font-weight: 600;
  flex: 0 0 auto;
}

.filter-row__value {
  flex: 1 1 auto;
  text-align: right;
  color: #868e96;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.filter-row__value.is-active {
  color: #caa14e;
  font-weight: 600;
}

.filter-row__chevron {
  flex: 0 0 auto;
  color: #adb5bd;
  font-size: 1.2rem;
  line-height: 1;
}

/* Optionen im Unter-Panel als volle Listenzeilen */
.filter-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 0.25rem;
  border-bottom: 1px solid #f1f3f5;
  text-decoration: none;
  color: #212529;
  font-size: 0.95rem;
}

.filter-option:hover { background: #faf9f7; }

.filter-option__text { flex: 1 1 auto; }

.filter-option.is-active {
  color: #caa14e;
  font-weight: 600;
}

.filter-option__check {
  flex: 0 0 auto;
  color: #caa14e;
  font-weight: 700;
}

/* Slider fuellt im Panel die volle Breite */
.filter-drawer .range-slider {
  max-width: none;
  margin-top: 1rem;
}

/* Auf schmalen Screens den Drawer voll ausbreiten */
@media (max-width: 575.98px) {
  .filter-drawer {
    left: -100vw;
    width: 100vw;
    max-width: 100vw;
  }
}

/* ================================
   "NEU EINGETROFFEN"-SLIDER (Startseite)
   Horizontaler, dependency-freier Scroll-Snap-Slider mit Pfeil-Buttons
   (Verhalten in public/js/jenny.js). Nutzt dieselbe Produktkarte wie das
   Raster; die quadratische, nicht beschnittene Bildoptik kommt aus den
   .na-slider-Regeln oben.
================================ */

.na-slider__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.na-slider__title h2 {
  margin-bottom: 0;
}

.na-slider__nav {
  display: flex;
  gap: 0.5rem;
  flex: 0 0 auto;
}

.na-slider__btn {
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 50%;
  color: #212529;
  font-size: 1.1rem;
  cursor: pointer;
  transition: box-shadow 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}

.na-slider__btn:hover {
  border-color: #caa14e;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.12);
}

.na-slider__btn:disabled {
  opacity: 0.35;
  cursor: default;
  box-shadow: none;
  border-color: #ddd;
}

/* Horizontale Spur: scrollbar mit Snap; die Scrollleiste wird versteckt. */
.na-slider__track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 0.25rem;
}

.na-slider__track::-webkit-scrollbar {
  display: none;
}

/* Eine Karte je Slide; feste Breite -> mobil 2, Tablet 3, Desktop 4 sichtbar
   (gap 1rem). flex:0 0 auto verhindert Schrumpfen. */
.na-slider__slide {
  flex: 0 0 auto;
  width: calc((100% - 1rem) / 2);
  scroll-snap-align: start;
}

@media (min-width: 768px) {
  .na-slider__slide {
    width: calc((100% - 2rem) / 3);
  }
}

@media (min-width: 992px) {
  .na-slider__slide {
    width: calc((100% - 3rem) / 4);
  }
}
/* ================================
   SCHWEBENDER FILTER-BUTTON (FAB)
   Fest in der Ecke, immer sichtbar auf der Kategorieseite -> Filter jederzeit
   erreichbar. Traegt data-filter-trigger (oeffnet den Drawer via jenny.js).
================================ */
.filter-fab {
  position: fixed;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1030; /* unter Drawer/Overlay (1040/1050) -> bei offenem Drawer verdeckt */
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.3rem;
  background: #fff;
  color: #212529;
  border: 1px solid #ddd;
  border-radius: 2rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.filter-fab:hover {
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.22);
  transform: translateY(-50%) translateX(3px);
}

.filter-fab i {
  font-size: 1.3rem;
  line-height: 1;
}

.filter-fab__badge {
  min-width: 1.3rem;
  height: 1.3rem;
  padding: 0 0.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #caa14e;
  color: #fff;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Auf schmalen Screens: icon-only Kreis, Badge oben rechts. */
@media (max-width: 575.98px) {
  .filter-fab {
    padding: 0;
    width: 3.35rem;
    height: 3.35rem;
    justify-content: center;
    border-radius: 50%;
  }

  .filter-fab__label {
    display: none;
  }

  .filter-fab__badge {
    position: absolute;
    top: -0.3rem;
    right: -0.3rem;
  }
}

/* ==== WARENKORB ==== */
.cart-page {
  padding: 2.5rem 0 4rem;
}

.cart-page__title {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}

.cart-page__continue {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  color: #333;
  text-decoration: none;
}

.cart-page__continue:hover {
  color: #caa14e;
}

/* -- leerer Warenkorb -- */
.cart-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: #777;
}

.cart-empty .bi {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 0.75rem;
  color: #caa14e;
}

.cart-empty p {
  margin-bottom: 1.25rem;
}

/* -- Positionstabelle -- */
.cart-table {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 0.35rem;
}

.cart-table__head {
  display: flex;
  align-items: center;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid #eee;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #999;
}

.cart-table__col--product { flex: 1 1 auto; }
.cart-table__col--qty     { flex: 0 0 5rem;  text-align: center; }
.cart-table__col--unit    { flex: 0 0 8rem;  text-align: right; }
.cart-table__col--total   { flex: 0 0 8rem;  text-align: right; }
.cart-table__col--remove  { flex: 0 0 2.5rem; }

.cart-line {
  display: flex;
  align-items: center;
  padding: 1.25rem;
  border-bottom: 1px solid #f0f0f0;
}

.cart-line:last-child {
  border-bottom: 0;
}

.cart-line__product {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.cart-line__image {
  flex: 0 0 6rem;
  width: 6rem;
  height: 6rem;
  border: 1px solid #eee;
  border-radius: 0.25rem;
  overflow: hidden;
  background: #fafafa;
}

.cart-line__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-line__info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.cart-line__name {
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
}

.cart-line__name:hover {
  color: #caa14e;
}

.cart-line__sku,
.cart-line__desc {
  font-size: 0.8rem;
  color: #999;
}

.cart-line__desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 32rem;
}

.cart-line__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: #caa14e;
}

.cart-line__qty    { flex: 0 0 5rem;  text-align: center; }
.cart-line__unit   { flex: 0 0 8rem;  text-align: right; color: #666; }
.cart-line__total  { flex: 0 0 8rem;  text-align: right; font-weight: 600; }
.cart-line__remove { flex: 0 0 2.5rem; text-align: right; }

.cart-line__qty-value {
  display: inline-block;
  min-width: 2rem;
}

/* Zell-Labels nur auf Mobile sichtbar. */
.cart-line__qty-label,
.cart-line__cell-label {
  display: none;
}

.cart-line__remove-btn {
  color: #bbb;
  font-size: 0.9rem;
}

.cart-line__remove-btn:hover {
  color: #c0392b;
}

/* -- Zusammenfassung -- */
.cart-summary {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 0.35rem;
  padding: 1.5rem;
  position: sticky;
  top: 1.5rem;
}

.cart-summary__title {
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
}

.cart-summary__list {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem 1rem;
  margin: 0 0 1.25rem;
}

.cart-summary__list dt {
  font-weight: 400;
  color: #555;
}

.cart-summary__list dd {
  margin: 0;
  text-align: right;
}

.cart-summary__grand {
  padding-top: 0.75rem;
  margin-top: 0.25rem;
  border-top: 1px solid #eee;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a1a1a;
}

.cart-summary__net,
.cart-summary__tax {
  font-size: 0.8rem;
  color: #999;
}

.cart-summary__coupon {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.cart-summary__coupon .form-control {
  flex: 1 1 auto;
}

.cart-summary__checkout {
  margin-bottom: 1.25rem;
}

.cart-summary__usps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #666;
}

.cart-summary__usps .bi {
  color: #caa14e;
  margin-right: 0.4rem;
}

/* -- Mobile: Karten statt Tabelle -- */
@media (max-width: 767.98px) {
  .cart-table__head {
    display: none;
  }

  .cart-line {
    flex-wrap: wrap;
    row-gap: 0.5rem;
  }

  .cart-line__product {
    flex: 1 1 100%;
  }

  .cart-line__qty,
  .cart-line__unit,
  .cart-line__total {
    flex: 1 1 auto;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding-left: 7rem;
  }

  .cart-line__remove {
    position: absolute;
    right: 1.25rem;
  }

  .cart-line__qty-label,
  .cart-line__cell-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #aaa;
  }

  .cart-line {
    position: relative;
  }
}

/* ================================
   PRODUKTDETAILSEITE (PDP)
   Galerie (vertikale Thumbs + Bühne + Zoom), Buy-Box, Trust-Zeilen,
   Akkordeon (natives <details>) und Zoom-Lightbox.
================================ */

.pdp { padding: 1.5rem 0 3rem; }

/* --- Galerie --- */
.pdp-gallery {
  display: flex;
  gap: 1rem;
}

.pdp-gallery__thumbs {
  flex: 0 0 5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-height: 42rem;
  overflow-y: auto;
  scrollbar-width: thin;
}

.pdp-gallery__thumb {
  flex: 0 0 auto;
  width: 5rem;
  height: 5rem;
  padding: 0;
  background: #f8f9fa;
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.pdp-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.pdp-gallery__thumb.is-active { border-color: #caa14e; }

.pdp-gallery__stage {
  flex: 1 1 auto;
  position: relative;
  background: #f8f9fa;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
}

.pdp-gallery__image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  cursor: zoom-in;
}

.pdp-gallery__zoom {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #e0e0e0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: #212529;
  cursor: pointer;
}

@media (max-width: 991.98px) {
  .pdp-gallery { flex-direction: column-reverse; }
  .pdp-gallery__thumbs {
    flex: 0 0 auto;
    flex-direction: row;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
  }
}

/* --- Buy-Box --- */
.pdp-buy__title {
  font-size: 1.75rem;
  margin: 0.25rem 0 0.75rem;
}

.pdp-buy__size {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #495057;
  margin-bottom: 0.35rem;
}

.pdp-buy__sku {
  color: #868e96;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.pdp-buy__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.pdp-buy__price-now {
  font-size: 1.6rem;
  font-weight: 700;
  color: #212529;
}

.pdp-buy__price-old {
  font-size: 1.05rem;
  color: #adb5bd;
  text-decoration: line-through;
}

.pdp-buy__vat {
  font-size: 0.8rem;
  color: #868e96;
}

/* --- Trust-/Info-Zeilen --- */
.pdp-info {
  list-style: none;
  margin: 1.5rem 0;
  padding: 1rem 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.pdp-info__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.pdp-info__icon {
  flex: 0 0 auto;
  font-size: 1.25rem;
  color: #caa14e;
  line-height: 1.2;
}

.pdp-info__text {
  font-size: 0.9rem;
  line-height: 1.35;
  color: #495057;
}

.pdp-info__text strong { color: #212529; }

/* --- Akkordeon (natives <details>) --- */
.pdp-acc { border-bottom: 1px solid #eee; }

.pdp-acc__head {
  list-style: none;
  cursor: pointer;
  padding: 0.9rem 0;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pdp-acc__head::-webkit-details-marker { display: none; }

.pdp-acc__head::after {
  content: "+";
  font-size: 1.3rem;
  color: #868e96;
  line-height: 1;
}

.pdp-acc[open] .pdp-acc__head::after { content: "\2013"; }

.pdp-acc__body {
  padding: 0 0 1rem;
  color: #495057;
  font-size: 0.9rem;
  line-height: 1.6;
}

.pdp-specs { width: 100%; border-collapse: collapse; }

.pdp-specs th,
.pdp-specs td {
  text-align: left;
  padding: 0.45rem 0;
  border-bottom: 1px solid #f1f3f5;
  vertical-align: top;
  font-weight: 400;
}

.pdp-specs th { color: #868e96; width: 45%; }
.pdp-specs td { color: #212529; }

/* --- Zoom-Lightbox --- */
.pdp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1060;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.pdp-lightbox.open { display: flex; }

.pdp-lightbox img {
  max-width: 96vw;
  max-height: 92vh;
  object-fit: contain;
}

.pdp-lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
}

/* ==== FOOTER ==== */
.site-footer {
  background: #1a1a1a;
  color: #e9e9e9;
  padding: 3rem 0 0;
}

.site-footer__row {
  padding-bottom: 2.5rem;
}

.site-footer__col {
  margin-bottom: 1.5rem;
}

.site-footer__brand {
  font-size: 1.35rem;
  letter-spacing: 0.12em;
  font-weight: 700;
  margin: 0 0 1rem;
  color: #fff;
}

.site-footer__address {
  font-style: normal;
  line-height: 1.7;
  color: #bdbdbd;
  margin-bottom: 1rem;
}

.site-footer__contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.site-footer__contact .bi {
  color: #caa14e;
  margin-right: 0.4rem;
}

.site-footer__contact a {
  color: #e9e9e9;
  text-decoration: none;
}

.site-footer__contact a:hover {
  color: #caa14e;
}

.site-footer__heading {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  margin: 0 0 1rem;
}

.site-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.site-footer__links a {
  color: #bdbdbd;
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-footer__links a:hover {
  color: #caa14e;
}

/* Zahlungsarten als weiße Chips, damit die Marken-Logos auf dunklem Grund lesbar bleiben. */
.site-footer__pay {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.site-footer__pay-chip {
  background: #fff;
  border-radius: 6px;
  padding: 0.4rem 0.65rem;
  height: 2.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.site-footer__pay-chip img {
  max-height: 1.8rem;
  width: auto;
  display: block;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.25rem 0 1.5rem;
}

.site-footer__bottom .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.site-footer__vat {
  font-size: 0.75rem;
  color: #8f8f8f;
  margin: 0;
  max-width: 46rem;
}

.site-footer__copyright {
  font-size: 0.8rem;
  color: #bdbdbd;
  margin: 0;
  white-space: nowrap;
}

@media (max-width: 767.98px) {
  .site-footer {
    padding-top: 2.25rem;
    text-align: left;
  }

  .site-footer__bottom .container {
    justify-content: flex-start;
  }
}

/* ==== PDP – PRODUKTANFRAGE ("Fragen zu diesem Teppich?") ==== */
.pdp-inquiry {
  margin-top: 0.5rem;
}

/* Honeypot: für echte Nutzer unsichtbar, für Bots ein Köder. */
.pdp-inquiry__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.pdp-inquiry__intro {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1rem;
}

.pdp-inquiry__grid {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.pdp-inquiry__field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.85rem;
}

.pdp-inquiry__field > span {
  font-size: 0.8rem;
  color: #333;
}

.pdp-inquiry__field input,
.pdp-inquiry__field textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid #d8d8d8;
  border-radius: 0.25rem;
  font-size: 0.95rem;
  background: #fff;
}

.pdp-inquiry__field input:focus,
.pdp-inquiry__field textarea:focus {
  outline: none;
  border-color: #caa14e;
  box-shadow: 0 0 0 2px rgba(202, 161, 78, 0.2);
}

.pdp-inquiry__field textarea {
  resize: vertical;
}

.pdp-inquiry__privacy {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #555;
  margin-bottom: 0.75rem;
}

.pdp-inquiry__privacy input {
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.pdp-inquiry__privacy a {
  color: #caa14e;
}

.pdp-inquiry__req {
  font-size: 0.78rem;
  color: #999;
  margin-bottom: 1rem;
}

.pdp-inquiry__submit {
  min-width: 10rem;
}

/* Status-Hinweise nach dem Absenden. */
.pdp-inquiry__note {
  padding: 0.75rem 1rem;
  border-radius: 0.25rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.pdp-inquiry__note--ok {
  background: #edf7ee;
  border: 1px solid #cfe8d2;
  color: #2e6b34;
}

.pdp-inquiry__note--error {
  background: #fdecea;
  border: 1px solid #f5c6c2;
  color: #a32820;
}

/* ==== PREIS-SCHNELLFILTER (Startseite) ==== */
.price-filter__intro {
  margin-bottom: 1.25rem;
}

.price-filter__headline {
  margin: 0.25rem 0 0.35rem;
}

.price-filter__copy {
  color: #666;
  margin: 0;
}

.price-filter__items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.price-filter__item {
  flex: 1 1 12rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.25rem;
  border: 1px solid #ddd;
  border-radius: 0.4rem;
  background: #fff;
  color: #1a1a1a;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.price-filter__item:hover {
  border-color: #caa14e;
  color: #caa14e;
  box-shadow: 0 0 0 1px #caa14e;
}

@media (max-width: 575.98px) {
  .price-filter__item {
    flex-basis: 100%;
  }
}

/* Händlerbund-Mitgliedslogo im Footer: ohne Hintergrund, direkt auf dem Footer
   (der Badge-Code selbst bleibt unverändert). */
.site-footer__trust {
  margin-top: 1.25rem;
}

.site-footer__trust a {
  display: inline-block;
  line-height: 0;
}

.site-footer__trust img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==== COOKIE-/CONSENT-BANNER ==== */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1080;
  background: #1a1a1a;
  color: #e9e9e9;
  border-radius: 0.5rem;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  max-width: 68rem;
  margin: 0 auto;
  padding: 1rem 1.25rem;
}

.cookie-banner__text {
  flex: 1 1 20rem;
  font-size: 0.85rem;
  line-height: 1.5;
}

.cookie-banner__title {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

.cookie-banner__text p {
  margin: 0;
  color: #bdbdbd;
}

.cookie-banner__text a {
  color: #caa14e;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  flex-shrink: 0;
}

.cookie-banner__actions .btn {
  white-space: nowrap;
}

@media (max-width: 575.98px) {
  .cookie-banner__actions {
    width: 100%;
  }
  .cookie-banner__actions .btn {
    flex: 1 1 auto;
  }
}

/* "Cookie-Einstellungen"-Link im Footer: als Text-Link gestylter Button. */
.site-footer__cookie-link {
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.site-footer__cookie-link:hover {
  color: #caa14e;
}

/* ==== SELF-HOSTED FONTS (Lato, Roboto) ==== */
/* Ersetzt den externen Google-Fonts-`@import` in themeassets/style.css:
   DSGVO – keine Anfrage mehr an fonts.googleapis.com / fonts.gstatic.com.
   Nur das latin-Subset (deckt Deutsch inkl. Umlauten + Typo-Zeichen ab). */
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/lato-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/lato-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/roboto-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/roboto-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* ==== KATEGORIE-INTRO (Bild + Titel + Beschreibungstext oben auf Kategorieseiten) ==== */
.category-intro {
  padding-top: 2rem;
}

/* Hero-Band: Bild als Hintergrund, Titel unten links; Verlauf sorgt dafuer,
   dass der weisse Titel auf jedem Teppichbild lesbar bleibt. */
.category-intro__hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 220px;
  padding: 1.5rem;
  margin-bottom: 1.75rem;
  border-radius: 10px;
  overflow: hidden;
  background-color: #2a2a2a;
  background-size: cover;
  background-position: center;
}

@media (min-width: 768px) {
  .category-intro__hero {
    min-height: 320px;
    padding: 2rem;
  }
}

.category-intro__hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.55) 100%);
}

.category-intro__title {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.category-intro__text {
  max-width: 62rem;
  line-height: 1.7;
  color: #333;
}

.category-intro__text h1,
.category-intro__text h2,
.category-intro__text h3 {
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.category-intro__text p {
  margin-bottom: 1rem;
}

/* ==== PRODUKTLISTE: "MEHR LADEN" / LAZY LOADING ==== */
.load-more {
  display: flex;
  justify-content: center;
}

/* Abstand auf den Button legen (nicht auf den Container), damit die leere
   .load-more-Huelle auf Seiten ohne "Mehr laden" keinen Leerraum erzeugt. */
.load-more__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2.5rem;
  min-width: 14rem;
  padding: 0.85rem 2rem;
  border: 1px solid #1a1a1a;
  border-radius: 999px;
  background: transparent;
  color: #1a1a1a;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.load-more__btn:hover,
.load-more__btn:focus {
  background: #1a1a1a;
  border-color: #1a1a1a;
  color: #fff;
}

.load-more__btn.is-loading {
  opacity: 0.7;
  pointer-events: none;
}
