/*
 * Product page extras (src/ProductPageExtras.php):
 * Germanized shipping costs notice, key facts ("Eckdaten"), review near the buy button, FAQ below the product details,
 * shipping costs table.
 * Only classes prefixed jo-pp- are styled here.
 */

/* Germanized "zzgl. Versandkosten" under the price in the buy box */
.single-product-main .product-infos .jo-pp-shipping-note--single {
  margin: -16px 0 22px;
}

.jo-pp-shipping-note .wc-gzd-additional-info {
  margin: 0;
  font-size: 13px;
  line-height: 18px;
  color: #191919;
}

body .jo-pp-shipping-note .wc-gzd-additional-info a,
body .product-grid-item .info .jo-pp-shipping-note .wc-gzd-additional-info a {
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: normal;
  text-transform: none;
  text-decoration: underline;
}

@media only screen and (min-width: 834px) {
  .single-product-main .product-infos .jo-pp-shipping-note--single {
    margin: -28px 0 30px;
  }

  .jo-pp-shipping-note--single .wc-gzd-additional-info {
    font-size: 14px;
    line-height: 20px;
  }
}

/* key facts ("Eckdaten") right below the price / shipping notice; the bottom margin repeats the notice's own
   bottom margin, so everything below moves down by exactly the height of the box */
.single-product-main .product-infos .jo-pp-key-facts {
  margin: 0 0 22px;
  padding: 0;
  color: #191919;
}

.single-product-main .product-infos .jo-pp-key-facts .jo-pp-key-facts__title {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
  letter-spacing: normal;
  text-transform: uppercase;
}

.single-product-main .product-infos .jo-pp-key-facts .jo-pp-key-facts__list {
  margin: 0;
  padding: 0;
  border-top: 2px solid #d2cdc6;
}

.single-product-main .product-infos .jo-pp-key-facts .jo-pp-key-facts__row {
  display: grid;
  grid-template-columns: minmax(78px, 30%) minmax(0, 1fr);
  column-gap: 12px;
  padding: 6px 0;
  border-bottom: 1px solid #d2cdc6;
  font-size: 14px;
  line-height: 20px;
}

.single-product-main .product-infos .jo-pp-key-facts dt,
.single-product-main .product-infos .jo-pp-key-facts dd {
  margin: 0;
  padding: 0;
  font-size: inherit;
  line-height: inherit;
  overflow-wrap: break-word;
}

.single-product-main .product-infos .jo-pp-key-facts dt {
  font-weight: 600;
}

.single-product-main .product-infos .jo-pp-key-facts dd {
  font-weight: 400;
}

@media only screen and (min-width: 834px) {
  .single-product-main .product-infos .jo-pp-key-facts {
    margin-bottom: 30px;
  }

  .single-product-main .product-infos .jo-pp-key-facts .jo-pp-key-facts__row {
    font-size: 15px;
    line-height: 21px;
  }
}

/* product cards */
.jo-pp-shipping-note--loop .wc-gzd-additional-info {
  margin-top: 2px;
  font-size: 12px;
  line-height: 16px;
  opacity: 0.7;
}

/* review near the buy button */
.single-product-main .product-infos .jo-pp-review {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 2px solid #d2cdc6;
  color: #191919;
  font-size: 14px;
  line-height: 21px;
}

.single-product-main .product-infos .jo-pp-review .jo-pp-review__summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0 0 8px;
}

.single-product-main .product-infos .jo-pp-review .jo-pp-review__summary .star-rating {
  font-size: 14px;
  width: 88px;
  letter-spacing: 4px;
  margin: 0 8px 0 0;
}

.jo-pp-review__count {
  font-size: 13px;
  line-height: 18px;
}

.single-product-main .product-infos .jo-pp-review .jo-pp-review__quote {
  margin: 0;
  padding: 0;
  border: 0;
  quotes: none;
  font-style: normal;
  font-size: 14px;
  line-height: 21px;
}

.single-product-main .product-infos .jo-pp-review .jo-pp-review__quote::before,
.single-product-main .product-infos .jo-pp-review .jo-pp-review__quote::after {
  content: none;
}

.jo-pp-review__author {
  margin-top: 6px;
  font-size: 13px;
  line-height: 18px;
  opacity: 0.7;
}

/* FAQ below the product details (uses the container of .single-product-tabs) */
.single-product-tabs.jo-pp-faq .jo-pp-faq__headline {
  margin: 0 0 20px;
  font-family: 'Open Sans', sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 38px;
  text-align: left;
  text-transform: none;
}

.single-product-tabs.jo-pp-faq .s1xspec-faq-articles {
  padding-bottom: 0;
}

.single-product-tabs.jo-pp-faq .faq-article:last-child {
  margin-bottom: 0;
}

@media only screen and (min-width: 834px) {
  .single-product-tabs.jo-pp-faq .jo-pp-faq__headline {
    font-size: 25px;
  }
}

/* [jo_versandkosten] */
.jo-pp-shipping {
  margin: 24px 0;
}

.jo-pp-shipping__zone + .jo-pp-shipping__zone {
  margin-top: 36px;
}

.jo-pp-shipping .jo-pp-shipping__country {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 28px;
}

.jo-pp-shipping__table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 15px;
  line-height: 22px;
}

.jo-pp-shipping__table th,
.jo-pp-shipping__table td {
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid #d2cdc6;
  text-align: left;
  vertical-align: top;
  overflow-wrap: break-word;
  -webkit-hyphens: auto;
  hyphens: auto;
}

.jo-pp-shipping__table th {
  font-weight: 700;
  border-bottom-width: 2px;
}

.jo-pp-shipping__table th:first-child {
  width: 40%;
}

.jo-pp-shipping__note {
  margin-top: 20px;
}

@media only screen and (max-width: 600px) {
  .jo-pp-shipping__table {
    font-size: 14px;
    line-height: 20px;
    letter-spacing: normal;
  }

  .jo-pp-shipping__table th,
  .jo-pp-shipping__table td {
    padding-right: 8px;
  }
}

/* Phone check 2026-11-12: bigger tap area for the "Versandkosten" link; padding on the inline link widens the tap
   area without moving anything (phones only) */
@media only screen and (max-width: 833.98px) {
  body .jo-pp-shipping-note .wc-gzd-additional-info a,
  body .product-grid-item .info .jo-pp-shipping-note .wc-gzd-additional-info a {
    padding: 10px 0;
  }

  body .single-product-main .jo-pp-shipping-note--single .wc-gzd-additional-info a {
    padding: 13px 0;
  }
}
