/* =============================================================
   Einzelprodukt-Seite
   ============================================================= */

body.single-product .site-content {
  background: #e8f7fd;
}

.pn24-product-detail {
  background: #e8f7fd;
  padding: 0 0 56px;
}

.pn24-product-detail .pn24-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.pn24-product-heading-band {
  background: #fff;
  padding: 18px 0 28px;
}

.pn24-product-cat-tag {
  color: #0096d6;
  font-size: 12px;
  line-height: 1.5;
  margin-bottom: 10px;
}

.pn24-product-cat-tag a {
  color: #0096d6;
  text-decoration: none;
}

.pn24-product-cat-tag a:hover {
  text-decoration: underline;
}

.pn24-product-heading-row {
  align-items: flex-start;
  display: flex;
  gap: 24px;
  justify-content: space-between;
}

.pn24-product-title {
  color: #008dcc;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.25;
  margin: 0 0 10px;
}

.pn24-product-artnr {
  color: #666;
  font-size: 14px;
}

.pn24-product-artnr strong {
  color: #555;
}

.pn24-product-group-link {
  color: #008dcc;
  flex: 0 0 auto;
  font-size: 13px;
  margin-top: 34px;
  text-decoration: none;
}

.pn24-product-group-link::before {
  content: "\2630";
  display: inline-block;
  font-size: 12px;
  margin-right: 6px;
}

.pn24-product-group-link:hover {
  text-decoration: underline;
}

.pn24-product-stage-band {
  padding: 0 0 48px;
}

.pn24-product-stage {
  background: #fff;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 360px);
  gap: 32px;
  min-height: 360px;
  padding: 24px 22px 28px;
  position: relative;
}

.pn24-product-stage::after {
  border-color: #23a43a #23a43a transparent transparent;
  border-style: solid;
  border-width: 18px;
  content: "";
  height: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: 0;
}

/* Gallery */
.pn24-product-media {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
  min-width: 0;
}

.pn24-product-thumbs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 420px;
  overflow-y: auto;
  padding-right: 2px;
}

.pn24-product-thumb {
  align-items: center;
  background: #fff;
  border: 1px solid #d7dfe4;
  border-radius: 0;
  cursor: pointer;
  display: flex;
  height: 64px;
  justify-content: center;
  padding: 4px;
  transition: border-color .15s, box-shadow .15s;
  width: 64px;
}

.pn24-product-thumb img {
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.pn24-product-thumb.is-active,
.pn24-product-thumb:hover {
  border-color: #008dcc;
  box-shadow: inset 3px 0 0 #008dcc;
}

.pn24-product-image-frame {
  align-items: center;
  background: #fff;
  border: 1px solid #c9d2d8;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  min-height: 310px;
  padding: 18px;
}

.pn24-product-image-link {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 270px;
  width: 100%;
}

.pn24-product-main-image {
  display: block;
  height: auto;
  max-height: 300px;
  max-width: 100%;
  object-fit: contain;
  width: auto;
}

.pn24-product-image-frame figcaption {
  align-self: flex-start;
  color: #777;
  font-size: 11px;
  line-height: 1.4;
  margin-top: 12px;
}

.pn24-product-image-frame--empty {
  color: #777;
  font-size: 14px;
}

/* Buy box */
.pn24-product-buybox {
  color: #333;
  padding: 10px 6px 0;
}

.pn24-price-label {
  color: #333;
  font-size: 11px;
  margin-bottom: 16px;
  text-align: left;
}

.pn24-price-main {
  color: #333;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 4px;
}

.pn24-price-main .price,
.pn24-price-main .woocommerce-Price-amount {
  color: #333;
  font-size: inherit;
  font-weight: inherit;
}

.pn24-price-main del {
  color: #777;
  display: block;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 4px;
}

.pn24-price-main ins {
  text-decoration: none;
}

.pn24-price-main .p24-tax-suffix {
  color: #666;
  display: inline-block;
  font-size: 12px;
  font-weight: 400;
  margin-left: 3px;
}

.pn24-price-note {
  color: #777;
  font-size: 12px;
  min-height: 16px;
}

.pn24-vpe-info {
  background: #f5f7f8;
  border: 1px solid #e2e7ea;
  border-radius: 0;
  color: #555;
  font-size: 12px;
  line-height: 1.45;
  margin: 14px 0;
  padding: 9px 10px;
}

.pn24-stock-box {
  margin: 18px 0 10px;
}

.pn24-avail {
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.pn24-avail-green {
  color: #20a03a;
}

.pn24-avail-red {
  color: #c73535;
}

.pn24-delivery-info {
  color: #20a03a;
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  margin-top: 3px;
}

.pn24-cart-box form.cart {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}

.pn24-cart-box .quantity {
  align-items: center;
  display: flex;
  gap: 8px;
  margin: 0;
}

.pn24-cart-box .quantity::before {
  color: #555;
  content: "Menge";
  font-size: 13px;
}

.pn24-cart-box input.qty {
  border: 1px solid #ccd4d9;
  border-radius: 0;
  font-size: 13px;
  height: 34px;
  padding: 0 6px;
  text-align: center;
  width: 54px !important;
}

.pn24-cart-box .single_add_to_cart_button {
  background: #f18500 !important;
  border: 0 !important;
  border-radius: 2px !important;
  color: #fff !important;
  cursor: pointer;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  min-height: 34px;
  padding: 9px 16px 9px 34px !important;
  position: relative;
  text-transform: none !important;
}

.pn24-cart-box .single_add_to_cart_button::before {
  content: "\1F6D2";
  font-size: 14px;
  left: 12px;
  line-height: 1;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.pn24-cart-box .single_add_to_cart_button:hover {
  background: #d87300 !important;
}

.pn24-cart-box .stock {
  display: none;
}

/* Information columns */
.pn24-product-info-grid {
  background: #f0f0f0;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, .9fr) minmax(260px, 1fr);
  gap: 34px;
  padding: 24px 20px 30px;
}

.pn24-product-info-col h2 {
  color: #008dcc;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.25;
  margin: 0 0 18px;
}

.pn24-product-info-col h3 {
  color: #008dcc;
  font-size: 17px;
  font-weight: 700;
  margin: 24px 0 12px;
}

.pn24-description,
.pn24-description p {
  color: #333;
  font-size: 13px;
  line-height: 1.55;
}

.pn24-description p {
  margin: 0 0 12px;
}

.pn24-description ul,
.pn24-description ol {
  margin: 0 0 12px 18px;
  padding: 0;
}

.pn24-no-content {
  color: #777;
  font-size: 13px;
  margin: 0;
}

.pn24-attr-table {
  border-collapse: collapse;
  font-size: 12px;
  width: 100%;
}

.pn24-attr-table tr:nth-child(odd) {
  background: #fff;
}

.pn24-attr-table tr:nth-child(even) {
  background: #e7e7e7;
}

.pn24-attr-table th,
.pn24-attr-table td {
  border: 0;
  color: #333;
  line-height: 1.35;
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}

.pn24-attr-table th {
  font-weight: 700;
  width: 46%;
}

.pn24-attr-table--compact th {
  width: 50%;
}

.pn24-download-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pn24-download-list a {
  color: #008dcc;
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  padding-left: 24px;
  position: relative;
  text-decoration: none;
}

.pn24-download-list a::before {
  color: #008dcc;
  content: "\2193";
  font-size: 17px;
  font-weight: 700;
  left: 0;
  position: absolute;
  top: -1px;
}

.pn24-download-list a:hover {
  text-decoration: underline;
}

/* Related products */
.pn24-related {
  background: #fff;
  margin-top: 34px;
  padding: 0 0 12px;
}

.pn24-section-title {
  border-bottom: 3px solid #008dcc;
  color: #222;
  display: inline-block;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 24px;
  padding-bottom: 8px;
}

.pn24-related-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pn24-related-card {
  background: #fff;
  border: 1px solid #d9e0e4;
  color: #333;
  display: flex;
  flex-direction: column;
  min-width: 0;
  text-decoration: none;
}

.pn24-related-card:hover {
  border-color: #008dcc;
  box-shadow: 0 3px 12px rgba(0,0,0,.08);
}

.pn24-related-img {
  align-items: center;
  background: #fff;
  display: flex;
  height: 145px;
  justify-content: center;
  padding: 12px;
}

.pn24-related-img img {
  display: block;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.pn24-related-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px 14px;
}

.pn24-related-sku {
  color: #777;
  font-size: 11px;
  font-weight: 700;
}

.pn24-related-name {
  color: #333;
  font-size: 12px;
  line-height: 1.35;
}

.pn24-related-price {
  color: #f18500;
  font-size: 13px;
  font-weight: 700;
  margin-top: auto;
}

@media (max-width: 980px) {
  .pn24-product-stage {
    grid-template-columns: 1fr;
  }

  .pn24-product-buybox {
    border-top: 1px solid #e0e5e8;
    padding-top: 22px;
  }

  .pn24-product-info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .pn24-product-detail .pn24-container {
    padding: 0 12px;
  }

  .pn24-product-heading-row {
    display: block;
  }

  .pn24-product-group-link {
    display: inline-block;
    margin-top: 14px;
  }

  .pn24-product-title {
    font-size: 21px;
  }

  .pn24-product-stage {
    gap: 18px;
    padding: 16px 12px 20px;
  }

  .pn24-product-media {
    grid-template-columns: 1fr;
  }

  .pn24-product-thumbs {
    flex-direction: row;
    max-height: none;
    order: 2;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 0 6px;
  }

  .pn24-product-image-frame {
    min-height: 260px;
    padding: 12px;
  }

  .pn24-product-image-link {
    min-height: 220px;
  }

  .pn24-product-main-image {
    max-height: 240px;
  }

  .pn24-cart-box form.cart {
    align-items: flex-start;
    flex-direction: column;
  }

  .pn24-cart-box .single_add_to_cart_button {
    width: 100%;
  }

  .pn24-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .pn24-related-grid {
    grid-template-columns: 1fr;
  }
}
