/* JustGrill: оформление описания товара 13303 — перенесено из <style> в описании 11.11.2026 (M15). Грузится только на странице этого товара (product.html). */
.jg-product-info {
  margin: 30px 0;
  color: #333333;
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

.jg-product-info * {
  box-sizing: border-box;
}

.jg-product-info h2 {
  margin: 0 0 18px;
  color: #242424;
  font-size: 28px;
  line-height: 1.3;
}

.jg-product-info h3 {
  margin: 0 0 10px;
  color: #242424;
  font-size: 20px;
  line-height: 1.35;
}

.jg-product-info p {
  margin: 0;
}

.jg-product-info a {
  color: inherit;
}

/* Вводный блок */

.jg-product-intro {
  margin-bottom: 22px;
  padding: 26px 28px;
  background: #f7f5f1;
  border: 1px solid #ebe6de;
  border-radius: 18px;
}

.jg-product-intro strong {
  color: #242424;
}

/* Ключевые характеристики */

.jg-product-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 26px;
}

.jg-product-fact {
  min-width: 0;
  padding: 20px 18px;
  color: #ffffff;
  background: #282828;
  border-radius: 16px;
}

.jg-product-fact__value {
  display: block;
  margin-bottom: 5px;
  color: #ffffff;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.25;
}

.jg-product-fact__label {
  display: block;
  color: #d5d5d5;
  font-size: 13px;
  line-height: 1.4;
}

/* Основные разделы */

.jg-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 34px;
}

.jg-product-card {
  position: relative;
  min-width: 0;
  padding: 24px 24px 24px 27px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #ebe6de;
  border-radius: 18px;
}

.jg-product-card::before {
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 0;
  width: 4px;
  background: #ef7d00;
  border-radius: 0 4px 4px 0;
  content: "";
}

.jg-product-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.jg-product-card p {
  color: #555555;
}

/* FAQ */

.jg-product-faq {
  margin-bottom: 36px;
}

.jg-product-faq__title {
  margin-bottom: 18px;
}

.jg-product-faq details {
  overflow: hidden;
  margin-bottom: 10px;
  background: #ffffff;
  border: 1px solid #e8e3dc;
  border-radius: 14px;
}

.jg-product-faq summary {
  position: relative;
  display: block;
  padding: 18px 52px 18px 20px;
  color: #242424;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
}

.jg-product-faq summary::-webkit-details-marker {
  display: none;
}

.jg-product-faq summary::after {
  position: absolute;
  top: 50%;
  right: 20px;
  width: 28px;
  height: 28px;
  color: #ffffff;
  font-size: 20px;
  font-weight: 400;
  line-height: 27px;
  text-align: center;
  background: #ef7d00;
  border-radius: 50%;
  content: "+";
  transform: translateY(-50%);
}

.jg-product-faq details[open] summary::after {
  content: "−";
}

.jg-product-faq__answer {
  padding: 0 20px 19px;
  color: #555555;
}

.jg-product-faq__answer p {
  margin: 0;
}

/* Похожие товары */

.jg-related-products {
  margin-top: 10px;
}

.jg-related-products__header {
  margin-bottom: 20px;
}

.jg-related-products__header p {
  max-width: 850px;
  color: #666666;
}

.jg-related-products__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.jg-related-card {
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #ebe6de;
  border-radius: 18px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.jg-related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(36, 36, 36, 0.09);
}

.jg-related-card__image-link {
  display: flex;
  height: 210px;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: #f7f5f1;
}

.jg-related-card__image {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.jg-related-card:hover .jg-related-card__image {
  transform: scale(1.03);
}

.jg-related-card__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.jg-related-card__brand {
  margin-bottom: 7px;
  color: #8a8177;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.jg-related-card__title {
  margin: 0 0 11px;
  font-size: 17px;
  line-height: 1.4;
}

.jg-related-card__title a {
  color: #242424;
  text-decoration: none;
}

.jg-related-card__title a:hover {
  color: #ef7d00;
}

.jg-related-card__description {
  margin-bottom: 18px !important;
  color: #606060;
  font-size: 14px;
  line-height: 1.55;
}

.jg-related-card__button {
  display: inline-flex;
  min-height: 42px;
  margin-top: auto;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  background: #ef7d00;
  border-radius: 10px;
  transition: background 0.2s ease;
}

.jg-related-card__button:hover {
  background: #d96f00;
}

.jg-related-products__footer {
  margin-top: 20px;
  text-align: center;
}

.jg-related-products__all {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 11px 23px;
  color: #242424 !important;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  background: #f7f5f1;
  border: 1px solid #e4ddd4;
  border-radius: 12px;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.jg-related-products__all:hover {
  background: #ffffff;
  border-color: #ef7d00;
}

/* Адаптивность */

@media (max-width: 1050px) {
  .jg-related-products__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 850px) {
  .jg-product-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .jg-product-info {
    font-size: 15px;
  }

  .jg-product-info h2 {
    font-size: 24px;
  }

  .jg-product-info h3 {
    font-size: 18px;
  }

  .jg-product-intro {
    padding: 21px 20px;
    border-radius: 15px;
  }

  .jg-product-grid {
    grid-template-columns: 1fr;
  }

  .jg-product-card:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .jg-product-card {
    padding: 21px 20px 21px 24px;
    border-radius: 15px;
  }

  .jg-related-products__grid {
    display: flex;
    margin-right: -15px;
    padding: 0 15px 8px 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .jg-related-card {
    min-width: 270px;
    max-width: 270px;
    scroll-snap-align: start;
  }

  .jg-related-card__image-link {
    height: 195px;
  }
}

@media (max-width: 480px) {
  .jg-product-facts {
    grid-template-columns: 1fr;
  }

  .jg-product-fact {
    padding: 17px;
  }

  .jg-product-faq summary {
    padding: 16px 48px 16px 17px;
    font-size: 15px;
  }

  .jg-product-faq summary::after {
    right: 15px;
  }

  .jg-product-faq__answer {
    padding: 0 17px 17px;
  }
}
/* как было со <style> в описании: тема обнуляет отступ сверху у блока сразу после <style> (.content-decorator style+*) */
.content-decorator .jg-product-info { margin-top: 0; }
