/* Block slider layout */
.prbn-products-block {
	max-width: 100%;
  margin: 40px auto;
}


.prbn-products-track {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	padding: 6px 2px;
	-webkit-overflow-scrolling: touch;
	scroll-snap-type: x mandatory;
}

.prbn-product-card {
	flex: 0 0 auto;
	scroll-snap-align: start;
	border-radius: 0px;
	overflow: hidden;
	text-align: center;
}

.prbn-product-link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.prbn-product-media {
  background: rgba(0, 0, 0, 0.04);
  overflow: hidden;
  width: 300px;
  height: 300px;
  overflow: hidden;
  border-radius: var(--img-radius);
}

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

.prbn-product-title {
	margin: 12px 12px 12px;
	font-size: 1.05rem;
	line-height: 1.2;
}

.prbn-products-nav {
  display: flex;
  gap: 10px;
  justify-content: center;
  width: auto;
}

.prbn-products-nav button {
	cursor: pointer;
}

/* Editor: etwas Abstand */
.prbn-products-block-editor .prbn-products-nav {
	display: none;
}

.prbn-empty {
	opacity: 0.8;
}



.prbn-product-summary {
  display: flex;
  flex-flow: column;
  justify-content: normal;
  align-items: baseline;
  height: 100%;
  margin-top: 60px;
  margin-left: 20px;
}

.prbn-related-products {
  margin: 120px auto;
}


.prbn-product-layout {
  display: flex;
  grid-template-columns: 1.1fr .9fr;
  gap: 24px;
  align-items: center;

}



.prbn-product-gallery  {
  display: flex;
  justify-content: center;
  align-items: center;
  width: auto;
  border-radius: var(--img-radius);
  overflow: hidden;
}



.prbn-product-gallery .prbn-post-slider {
  position: relative;
  touch-action: pan-y;
width: 600px;
  height: 600px;
    justify-content: center;
  align-items: center;
}


.produkt-bild {
border-radius: var(--img-radius);
  overflow: hidden;
  width: 600px;
  height: 600px;
}


.prbn-product-gallery .prbn-post-slider-nav {
  position: absolute;
  display: flex;
  justify-content: space-between;
  width: 95%;
}

.product {
  margin-top: 60px;
}

.prbn-product-cats a {
  text-decoration: none;
  color: var(--accent-color);
}







.prbn-product-items  {
  display: flex;
  gap: 24px;
}

.single .site-news,.archive .site-news {
	display: none;
} 




.prbn-products-title {
  text-align: center;
}





.prbn-products-toolbar {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100px;
  height: auto;
  z-index: 999;
}


.prbn-products-view-toggle  {

  z-index: 9999;
}


.prbn-products-nav-list {
  display: flex;
  gap: 24px;
  list-style: none;
  padding: 10px 25px;
  background-color: var(--primary-color);
  border-radius: var(--btn-radius);
}

.prbn-products-nav-list a {
  text-decoration: none;

}


.prbn-products-view {
margin-top: 60px;
}








.prbn-products-section {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  scroll-margin-top: 140px;
}


.archive section {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  margin: 80px auto;
}



.product .prbn-products-nav {
  position: unset;
}

.product .wp-block-buttons .wp-block-button__link {
  width: auto;
}





.prbn-product-cats-below {
  opacity: .85;
  display: flex;
  gap: 14px;
  margin: 30px 0px;
}

.prbn-product-cats-below a {
  border: 1px solid;
  border-radius: 9999px;
  padding: 6px 16px;
}


.prbn-product-cats-above {
  opacity: .85;
  margin: 20px auto;
}



.prbn-related-products h2 {
  text-align: center;
}



.prbn-view-btn svg {
  width: 20px;
  height: 20px;
  display: block;
}


.prbn-view-btn svg path {
 fill:white;
}

.prbn-view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  border-radius: var(--btn-radius);
  padding: 9px;
  border: 0px;

}





.prbn-products-header {
  position: sticky;
  top: 100px;
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-flow: row-reverse;
  gap: 10px;
}



.prbn-products-nav-link {
  transition: 0.4s all ease;
  color:#a7a7a7;
}

.prbn-products-nav-link.active, .prbn-products-nav-link:hover {
  color:white;
}



.prbn-view-btn path {
    transition: 0.4s all ease;
fill: #a7a7a7;
}

.prbn-view-btn.is-active path, .prbn-view-btn path:hover {
  fill: white;
}


.blog .site-news, .blog .prbn-kontaktdaten--header, .blog .site-header, .blog .site-footer {
  display:none;
}





.prbn-products-qtybtn {
  border: 0px;
  background-color: var(--primary-color);
  color: white;
  padding: 10px 14px;
  border-radius: var(--btn-radius);
}


.prbn-products-qtyinput {
  width: 50px;
}

.prbn-form-wrapper p {
  text-align: center;
}


.prbn-products-ordermedia  {
  flex: 0 0 auto;
  border-radius: var(--img-radius);
  overflow: hidden;
  justify-content: center;
  align-items: center;
  display: flex;
}

.prbn-produtcs-orderform .prbn-form-label {
  margin-bottom: 8px;
  text-align: center;
  font-size: var(--h2-size);
  font-weight: 600;
}















/* ==========================================================================
   PRBN Products – Overview (Raster/List Toggle + Jumpnav + Groups)
   Datei: assets/prbn-products-overview.css
   ========================================================================== */

/* Layout container */
.produkte-uebersicht {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px;
}

/* Header */
.produkte-uebersicht > header {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.produkte-uebersicht > header h1 {
  margin: 0;
}

/* Toggle Buttons */
.prbn-view-toggle {
  display: flex;
  gap: 10px;
  align-items: center;
}

.prbn-view-toggle .prbn-toggle-view {
  cursor: pointer;
}

/* Jump Navigation */
.prbn-category-jumpnav {
  margin: 0 0 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.prbn-category-jumpnav .prbn-jump-link {
  text-decoration: none;
}

/* View root */
#prbn-products-view.prbn-products-view {
  width: 100%;
}

/* Groups */
.prbn-product-group {
  margin: 0 0 34px;
}

.prbn-product-group > h2 {
  margin: 0 0 14px;
}

/* =========================
   GRID VIEW
   ========================= */

 .prbn-products-view.grid .prbn-products-items {
  display: flex;
  flex-flow: row;
  gap: 24px;
}




.prbn-products-view.grid .prbn-product-link  {
  display: flex;
  gap: 24px;
  flex-flow: column;
  justify-content: flex-start;
  align-items: center;
}

.prbn-products-view.grid .prbn-product-body {
  text-align: center;
}


.prbn-products-view.grid .prbn-product-card {
  width: 300px;
  height: auto;
}


.prbn-products-view.grid .prbn-products-items  {
  display: flex;
  gap: 24px;
  margin: 20px auto;
  display: flex;
  flex-flow: row;
  gap: 24px;
}




.prbn-products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 980px) {
  .prbn-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

/* =========================
   LIST VIEW
   ========================= */


 .prbn-products-view.list .prbn-products-items  {
  display: flex;
  gap: 24px;
  margin: 20px auto;
  display: flex;
  flex-flow: column;
  gap: 24px;
}


.prbn-products-view.list .prbn-product-link  {
  display: flex;
  gap: 24px;
  flex-flow: row;
  justify-content: flex-start;
  align-items: center;
}

.prbn-products-view.list .prbn-product-body {
  text-align: left;
}


.prbn-products-view.list .prbn-product-card {
  width: 800px;
  height: auto;
}




.prbn-products-list {
  display: none; /* wird per JS umgeschaltet */
  flex-direction: column;
  gap: 10px;
}

/* Product row */
.prbn-product-row {
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 12px;
  padding: 12px;
}

.prbn-product-row > a {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
}

.prbn-product-row img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

/* Row title/text truncation */
.prbn-product-row .prbn-row-title,
.prbn-product-row .prbn-row-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Prices in row */
.prbn-product-row .prbn-product-prices {
  text-align: right;
}

/* Offer styling marker */
.angebot {}

/* =========================
   Shared Card Styles (Grid + Slider Cards)
   ========================= */
.prbn-product-card {}

.prbn-product-link {
  display: block;
  text-decoration: none;
}

.prbn-product-media {
  border-radius: 14px;
  overflow: hidden;
}

.prbn-product-img {
  width: 100%;
  height: 100%;
  display: block;
}

.prbn-product-title {
  margin: 10px 0 6px;
}

.prbn-product-content {
  opacity: 0.85;
}

.prbn-product-price,
.prbn-product-prices {
  margin-top: 10px;
}

.prbn-product-prices.angebot .prbn-product-price-regular {
  opacity: .75;
  text-decoration: line-through;
}

.prbn-product-prices.angebot .prbn-product-price-sale {
  font-weight: 700;
}

/* =========================
   Toggle behavior driven by classes (optional)
   ========================= */
#prbn-products-view.prbn-view-grid .prbn-products-grid {
  display: grid;
}
#prbn-products-view.prbn-view-grid .prbn-products-list {
  display: none;
}

#prbn-products-view.prbn-view-list .prbn-products-grid {
  display: none;
}
#prbn-products-view.prbn-view-list .prbn-products-list {
  display: flex;
}

/* Optional: Smooth anchor jump nicer */
html {
  scroll-behavior: smooth;
}
















.prbn-products-orderform-wrap{
  max-width: 1000px;
}


.prbn-form-field--products {
  width:100%;
}

.prbn-products-orderlist {
  width:100%;
}


.prbn-products-orderitem {
  display: flex;
  gap: 40px;
  align-items: center;
  margin: 20px 0px;
}


.prbn-products-qtyinput {
  width: 50px !important;
  text-align: center;
}


.prbn-products-orderform .prbn-form-field {
  
}

.prbn-products-ordermedia {
  flex: 0 0 auto;
  width: 100px;
}