/* JustGrill: оформление описания товара 13338 — перенесено из <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-related-products {
  margin: 32px 0;
  padding: 28px;
  color: #333333;
  font-family: Arial, sans-serif;
  background: #f7f5f1;
  border: 1px solid #ebe6de;
  border-radius: 18px;
}

.jg-related-products * {
  box-sizing: border-box;
}

.jg-related-header {
  margin-bottom: 22px;
}

.jg-related-header h2 {
  margin: 0 0 8px;
  color: #242424;
  font-size: 26px;
  line-height: 1.3;
}

.jg-related-header p {
  max-width: 820px;
  margin: 0;
  color: #666666;
  font-size: 16px;
  line-height: 1.6;
}

.jg-related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.jg-related-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e7e2da;
  border-radius: 16px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.jg-related-card:hover {
  transform: translateY(-3px);
  border-color: #d8d0c5;
  box-shadow: 0 12px 28px rgba(36, 36, 36, 0.09);
}

.jg-related-badge {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  max-width: calc(100% - 28px);
  padding: 7px 10px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  background: #242424;
  border-radius: 8px;
}

.jg-related-image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 235px;
  padding: 28px 20px 18px;
  background: #ffffff;
  text-decoration: none;
}

.jg-related-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.jg-related-card:hover .jg-related-image img {
  transform: scale(1.03);
}

.jg-related-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 0 18px 19px;
}

.jg-related-title {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.35;
}

.jg-related-title a {
  color: #242424;
  text-decoration: none;
}

.jg-related-title a:hover {
  color: #000000;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.jg-related-description {
  margin: 0 0 15px;
  color: #666666;
  font-size: 14px;
  line-height: 1.5;
}

.jg-related-specs {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.jg-related-specs li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 7px;
  color: #777777;
  font-size: 13px;
  line-height: 1.35;
  border-bottom: 1px solid #eeeae4;
}

.jg-related-specs li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.jg-related-specs strong {
  color: #333333;
  font-weight: 600;
  text-align: right;
}

.jg-related-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: auto;
  padding: 11px 16px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  background: #242424;
  border: 1px solid #242424;
  border-radius: 10px;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.jg-related-button:hover {
  color: #242424;
  background: #ffffff;
}

.jg-related-all {
  margin-top: 22px;
  text-align: center;
}

.jg-related-all a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 21px;
  color: #242424;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  background: transparent;
  border: 1px solid #cfc7bc;
  border-radius: 10px;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.jg-related-all a:hover {
  background: #ffffff;
  border-color: #242424;
}

@media (max-width: 1100px) {
  .jg-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .jg-related-products {
    padding: 22px 18px;
    border-radius: 16px;
  }

  .jg-related-header h2 {
    font-size: 23px;
  }

  .jg-related-grid {
    display: flex;
    gap: 14px;
    margin-right: -18px;
    padding-right: 18px;
    padding-bottom: 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .jg-related-card {
    flex: 0 0 82%;
    max-width: 300px;
    scroll-snap-align: start;
  }

  .jg-related-image {
    height: 220px;
  }
}
.jg-useful-materials {
  margin: 32px 0;
  padding: 28px;
  color: #333333;
  font-family: Arial, sans-serif;
  background: #f7f5f1;
  border: 1px solid #ebe6de;
  border-radius: 18px;
}

.jg-useful-materials * {
  box-sizing: border-box;
}

.jg-useful-materials__header {
  margin-bottom: 20px;
}

.jg-useful-materials__header h2 {
  margin: 0 0 8px;
  color: #242424;
  font-size: 26px;
  line-height: 1.3;
}

.jg-useful-materials__header p {
  max-width: 850px;
  margin: 0;
  color: #666666;
  font-size: 16px;
  line-height: 1.6;
}

.jg-useful-materials__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.jg-useful-card {
  position: relative;
  padding: 24px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e7e2da;
  border-radius: 16px;
}

.jg-useful-card:before {
  position: absolute;
  top: 24px;
  left: 0;
  width: 4px;
  height: 28px;
  background: #f28c00;
  border-radius: 0 4px 4px 0;
  content: "";
}

.jg-useful-card h3 {
  margin: 0 0 14px;
  padding-left: 4px;
  color: #242424;
  font-size: 20px;
  line-height: 1.35;
}

.jg-useful-card p {
  margin: 0 0 14px;
  color: #555555;
  font-size: 15px;
  line-height: 1.6;
}

.jg-useful-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.jg-useful-list li {
  position: relative;
  padding-left: 18px;
  color: #555555;
  font-size: 15px;
  line-height: 1.55;
}

.jg-useful-list li:before {
  position: absolute;
  top: 9px;
  left: 0;
  width: 7px;
  height: 7px;
  background: #f28c00;
  border-radius: 50%;
  content: "";
}

.jg-useful-list a {
  color: #242424;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: #f28c00;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition:
    color 0.2s ease,
    text-decoration-color 0.2s ease;
}

.jg-useful-list a:hover {
  color: #f28c00;
  text-decoration-color: #242424;
}

@media (max-width: 800px) {
  .jg-useful-materials {
    padding: 22px 20px;
  }

  .jg-useful-materials__header h2 {
    font-size: 24px;
  }

  .jg-useful-materials__grid {
    grid-template-columns: 1fr;
  }

  .jg-useful-card {
    padding: 20px;
  }

  .jg-useful-card:before {
    top: 20px;
  }
}

@media (max-width: 480px) {
  .jg-useful-materials {
    padding: 20px 16px;
    border-radius: 16px;
  }

  .jg-useful-materials__header h2 {
    font-size: 22px;
  }

  .jg-useful-card h3 {
    font-size: 18px;
  }
}
.jg-useful-materials {
  margin: 32px 0;
  padding: 28px;
  color: #333333;
  font-family: Arial, sans-serif;
  background: #f7f5f1;
  border: 1px solid #ebe6de;
  border-radius: 18px;
}

.jg-useful-materials * {
  box-sizing: border-box;
}

.jg-useful-materials__header {
  margin-bottom: 20px;
}

.jg-useful-materials__header h2 {
  margin: 0 0 8px;
  color: #242424;
  font-size: 26px;
  line-height: 1.3;
}

.jg-useful-materials__header p {
  max-width: 850px;
  margin: 0;
  color: #666666;
  font-size: 16px;
  line-height: 1.6;
}

.jg-useful-materials__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.jg-useful-card {
  position: relative;
  padding: 24px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e7e2da;
  border-radius: 16px;
}

.jg-useful-card:before {
  position: absolute;
  top: 24px;
  left: 0;
  width: 4px;
  height: 28px;
  background: #f28c00;
  border-radius: 0 4px 4px 0;
  content: "";
}

.jg-useful-card h3 {
  margin: 0 0 14px;
  padding-left: 4px;
  color: #242424;
  font-size: 20px;
  line-height: 1.35;
}

.jg-useful-card p {
  margin: 0 0 14px;
  color: #555555;
  font-size: 15px;
  line-height: 1.6;
}

.jg-useful-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  list-style: disc;
}

.jg-useful-list li {
  padding-left: 2px;
  color: #555555;
  font-size: 15px;
  line-height: 1.55;
}

/* Убираем дополнительные маркеры из стилей сайта */
.jg-useful-list li:before,
.jg-useful-list li:after {
  display: none !important;
  content: none !important;
}

.jg-useful-list li::marker {
  color: #f28c00;
  font-size: 1em;
}

.jg-useful-list a {
  color: #242424;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: #f28c00;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition:
    color 0.2s ease,
    text-decoration-color 0.2s ease;
}

.jg-useful-list a:hover {
  color: #f28c00;
  text-decoration-color: #242424;
}

@media (max-width: 800px) {
  .jg-useful-materials {
    padding: 22px 20px;
  }

  .jg-useful-materials__header h2 {
    font-size: 24px;
  }

  .jg-useful-materials__grid {
    grid-template-columns: 1fr;
  }

  .jg-useful-card {
    padding: 20px;
  }

  .jg-useful-card:before {
    top: 20px;
  }
}

@media (max-width: 480px) {
  .jg-useful-materials {
    padding: 20px 16px;
    border-radius: 16px;
  }

  .jg-useful-materials__header h2 {
    font-size: 22px;
  }

  .jg-useful-card h3 {
    font-size: 18px;
  }
}
/* как было со <style> в описании: тема обнуляет отступ сверху у блока сразу после <style> (.content-decorator style+*) */
.content-decorator .jg-product-info, .content-decorator .jg-useful-materials { margin-top: 0; }
