/* JustGrill: оформление описания товара 13625 — перенесено из <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-intro {
  margin-bottom: 24px;
  padding: 26px 28px;
  background: #f7f5f1;
  border: 1px solid #ebe6de;
  border-radius: 18px;
}

.jg-product-intro strong {
  color: #242424;
}

.jg-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.jg-product-card {
  position: relative;
  padding: 24px;
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 16px;
}

.jg-product-card:before {
  position: absolute;
  top: 24px;
  left: 0;
  width: 4px;
  height: 28px;
  background: #f28c00;
  border-radius: 0 4px 4px 0;
  content: "";
}

.jg-product-card h3 {
  padding-left: 4px;
}

.jg-product-card p {
  color: #555555;
}

.jg-specs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.jg-spec {
  padding: 18px 14px;
  text-align: center;
  background: #242424;
  border-radius: 14px;
}

.jg-spec-value {
  display: block;
  margin-bottom: 4px;
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.jg-spec-label {
  display: block;
  color: #cccccc;
  font-size: 13px;
  line-height: 1.4;
}

.jg-faq {
  margin-top: 32px;
}

.jg-faq-title {
  margin-bottom: 18px;
}

.jg-faq details {
  margin-bottom: 10px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 14px;
}

.jg-faq summary {
  position: relative;
  padding: 18px 52px 18px 20px;
  color: #242424;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
}

.jg-faq summary::-webkit-details-marker {
  display: none;
}

.jg-faq summary:after {
  position: absolute;
  top: 50%;
  right: 20px;
  color: #f28c00;
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
  content: "+";
  transform: translateY(-50%);
}

.jg-faq details[open] summary:after {
  content: "−";
}

.jg-faq-answer {
  padding: 0 20px 18px;
  color: #555555;
}

@media (max-width: 800px) {
  .jg-product-grid {
    grid-template-columns: 1fr;
  }

  .jg-specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jg-product-info h2 {
    font-size: 24px;
  }

  .jg-product-intro,
  .jg-product-card {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .jg-specs {
    grid-template-columns: 1fr;
  }
}
.jg-similar-products {
  margin: 34px 0;
  padding: 28px;
  color: #333333;
  font-family: Arial, sans-serif;
  background: #f7f5f1;
  border: 1px solid #ebe6de;
  border-radius: 18px;
}

.jg-similar-products * {
  box-sizing: border-box;
}

.jg-similar-products__header {
  margin-bottom: 22px;
}

.jg-similar-products__title {
  margin: 0 0 8px;
  color: #242424;
  font-size: 26px;
  line-height: 1.3;
}

.jg-similar-products__subtitle {
  max-width: 780px;
  margin: 0;
  color: #666666;
  font-size: 15px;
  line-height: 1.6;
}

.jg-similar-products__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.jg-similar-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #ebe6de;
  border-radius: 16px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.jg-similar-card:hover {
  transform: translateY(-3px);
  border-color: #ded6ca;
  box-shadow: 0 12px 28px rgba(36, 36, 36, 0.09);
}

.jg-similar-card__label {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  max-width: calc(100% - 28px);
  padding: 7px 10px;
  color: #5b4632;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  background: #f3e8d7;
  border-radius: 20px;
}

.jg-similar-card__image-link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 250px;
  padding: 28px 22px 18px;
  background: #ffffff;
}

.jg-similar-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.jg-similar-card:hover .jg-similar-card__image {
  transform: scale(1.035);
}

.jg-similar-card__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
  border-top: 1px solid #f0ece6;
}

.jg-similar-card__fuel {
  margin-bottom: 8px;
  color: #8a7968;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.jg-similar-card__title {
  margin: 0 0 14px;
  font-size: 18px;
  line-height: 1.35;
}

.jg-similar-card__title a {
  color: #242424;
  text-decoration: none;
}

.jg-similar-card__title a:hover {
  color: #c86c16;
}

.jg-similar-card__specs {
  display: grid;
  gap: 9px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.jg-similar-card__specs li {
  position: relative;
  padding-left: 17px;
  color: #555555;
  font-size: 14px;
  line-height: 1.45;
}

.jg-similar-card__specs li::before {
  position: absolute;
  top: 8px;
  left: 0;
  width: 6px;
  height: 6px;
  content: "";
  background: #d98532;
  border-radius: 50%;
}

.jg-similar-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: auto;
  padding: 11px 18px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  background: #d97a22;
  border: 1px solid #d97a22;
  border-radius: 10px;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.jg-similar-card__button:hover {
  color: #ffffff;
  background: #bd6418;
  border-color: #bd6418;
}

@media (max-width: 1100px) {
  .jg-similar-products__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .jg-similar-products {
    margin: 26px 0;
    padding: 22px 16px;
    border-radius: 14px;
  }

  .jg-similar-products__title {
    font-size: 23px;
  }

  .jg-similar-products__grid {
    display: flex;
    gap: 14px;
    margin-right: -16px;
    padding-right: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .jg-similar-card {
    flex: 0 0 82%;
    scroll-snap-align: start;
  }

  .jg-similar-card__image-link {
    height: 230px;
  }
}
/* как было со <style> в описании: тема обнуляет отступ сверху у блока сразу после <style> (.content-decorator style+*) */
.content-decorator .jg-product-info, .content-decorator .jg-similar-products { margin-top: 0; }
