/* JustGrill: оформление описания товара 8392 — перенесено из <style> в описании 11.11.2026 (M15). Грузится только на странице этого товара (product.html). */
.jg-product-copy {
    --jg-accent: #f28c00;
    --jg-accent-dark: #d97700;
    --jg-title: #242424;
    --jg-text: #555555;
    --jg-muted: #777777;
    --jg-bg: #f7f5f1;
    --jg-border: #ebe6de;
    --jg-white: #ffffff;

    max-width: 1180px;
    margin: 30px auto;
    color: var(--jg-text);
    font-family: inherit;
    font-size: 16px;
    line-height: 1.65;
}

.jg-product-copy * {
    box-sizing: border-box;
}

.jg-product-copy h2 {
    margin: 0 0 18px;
    color: var(--jg-title);
    font-size: 27px;
    line-height: 1.3;
    font-weight: 700;
}

.jg-product-copy </p> {
    margin: 0 0 10px;
    color: var(--jg-title);
    font-size: 20px;
    line-height: 1.35;
    font-weight: 700;
}

.jg-product-copy p {
    margin: 0 0 14px;
}

.jg-product-intro {
    position: relative;
    margin-bottom: 28px;
    padding: 30px 32px 30px 38px;
    overflow: hidden;
    background: var(--jg-bg);
    border: 1px solid var(--jg-border);
    border-radius: 18px;
}

.jg-product-intro::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 6px;
    background: var(--jg-accent);
    content: "";
}

.jg-product-intro__label {
    display: inline-block;
    margin-bottom: 13px;
    padding: 7px 13px;
    color: #ffffff;
    background: var(--jg-accent);
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.jg-product-intro__title {
    margin: 0 0 14px;
    color: var(--jg-title);
    font-size: 29px;
    line-height: 1.3;
    font-weight: 700;
}

.jg-product-intro__text {
    max-width: 950px;
    margin: 0;
    color: var(--jg-text);
    font-size: 17px;
}

.jg-product-specs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 0 0 30px;
}

.jg-product-spec {
    padding: 20px;
    background: var(--jg-white);
    border: 1px solid var(--jg-border);
    border-radius: 14px;
}

.jg-product-spec__value {
    display: block;
    margin-bottom: 5px;
    color: var(--jg-title);
    font-size: 22px;
    line-height: 1.2;
    font-weight: 700;
}

.jg-product-spec__label {
    display: block;
    color: var(--jg-muted);
    font-size: 14px;
    line-height: 1.45;
}

.jg-product-sections {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 34px;
}

.jg-product-section {
    padding: 24px 26px;
    background: var(--jg-white);
    border: 1px solid var(--jg-border);
    border-radius: 16px;
}

.jg-product-section h3 {
    position: relative;
    padding-left: 17px;
}

.jg-product-section h3::before {
    position: absolute;
    top: 8px;
    left: 0;
    width: 7px;
    height: 7px;
    background: var(--jg-accent);
    border-radius: 50%;
    content: "";
}

.jg-product-note {
    margin: 0 0 34px;
    padding: 22px 26px;
    color: var(--jg-text);
    background: #fff8ef;
    border: 1px solid #f5dcc0;
    border-radius: 14px;
}

.jg-product-note strong {
    color: var(--jg-title);
}

.jg-faq {
    margin-top: 32px;
    padding: 28px;
    background: var(--jg-bg);
    border: 1px solid var(--jg-border);
    border-radius: 18px;
}

.jg-faq__intro {
    margin: -7px 0 20px;
    color: var(--jg-muted);
}

.jg-faq details {
    margin-bottom: 10px;
    overflow: hidden;
    background: var(--jg-white);
    border: 1px solid var(--jg-border);
    border-radius: 12px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.jg-faq details:last-child {
    margin-bottom: 0;
}

.jg-faq details[open] {
    border-color: #e7c49c;
    box-shadow: 0 7px 22px rgba(36, 36, 36, 0.06);
}

.jg-faq summary {
    position: relative;
    padding: 18px 54px 18px 20px;
    color: var(--jg-title);
    cursor: pointer;
    list-style: none;
    font-size: 16px;
    line-height: 1.45;
    font-weight: 700;
}

.jg-faq summary::-webkit-details-marker {
    display: none;
}

.jg-faq summary::after {
    position: absolute;
    top: 50%;
    right: 20px;
    width: 28px;
    height: 28px;
    color: var(--jg-accent);
    background: #fff4e5;
    border-radius: 50%;
    content: "+";
    font-size: 22px;
    line-height: 26px;
    font-weight: 400;
    text-align: center;
    transform: translateY(-50%);
}

.jg-faq details[open] summary::after {
    content: "−";
}

.jg-faq__answer {
    padding: 0 20px 19px;
    color: var(--jg-text);
}

.jg-faq__answer p:last-child {
    margin-bottom: 0;
}

.jg-product-cta {
    margin-top: 28px;
    padding: 25px 28px;
    color: #ffffff;
    background: #2d2d2d;
    border-radius: 16px;
}

.jg-product-cta h2 {
    margin-bottom: 8px;
    color: #ffffff;
    font-size: 23px;
}

.jg-product-cta p {
    margin: 0;
    color: #eeeeee;
}

.jg-product-cta a {
    color: #ffffff;
    text-decoration: underline;
    text-decoration-color: var(--jg-accent);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

@media (max-width: 900px) {
    .jg-product-specs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .jg-product-sections {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .jg-product-copy {
        margin: 22px auto;
        font-size: 15px;
    }

    .jg-product-intro,
    .jg-faq {
        padding: 22px 18px;
        border-radius: 14px;
    }

    .jg-product-intro {
        padding-left: 24px;
    }

    .jg-product-intro__title {
        font-size: 24px;
    }

    .jg-product-intro__text {
        font-size: 16px;
    }

    .jg-product-specs {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .jg-product-spec {
        padding: 16px;
    }

    .jg-product-spec__value {
        font-size: 19px;
    }

    .jg-product-section {
        padding: 20px;
    }

    .jg-faq summary {
        padding: 16px 50px 16px 16px;
        font-size: 15px;
    }

    .jg-faq summary::after {
        right: 15px;
    }

    .jg-faq__answer {
        padding: 0 16px 17px;
    }
}
.jg-similar-products {
  margin: 36px 0;
  padding: 28px;
  background: #f7f5f1;
  border: 1px solid #ebe6de;
  border-radius: 18px;
  font-family: Arial, sans-serif;
}

.jg-similar-products * {
  box-sizing: border-box;
}

.jg-similar-products__header {
  margin-bottom: 22px;
}

.jg-similar-products__header h2 {
  margin: 0 0 8px;
  color: #242424;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
}

.jg-similar-products__header p {
  margin: 0;
  color: #666666;
  font-size: 15px;
  line-height: 1.55;
}

.jg-similar-products__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.jg-similar-product {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e7e2da;
  border-radius: 14px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.jg-similar-product:hover {
  border-color: #d9d1c5;
  box-shadow: 0 10px 24px rgba(36, 36, 36, 0.08);
  transform: translateY(-3px);
}

.jg-similar-product__image {
  display: flex;
  height: 220px;
  padding: 18px;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-bottom: 1px solid #eeeeee;
}

.jg-similar-product__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.jg-similar-product__content {
  display: flex;
  height: 100%;
  padding: 20px;
  flex-direction: column;
}

.jg-similar-product__label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 10px;
  padding: 5px 9px;
  color: #73591f;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  background: #f4e9c7;
  border-radius: 20px;
}

.jg-similar-product h3 {
  margin: 0 0 12px;
  color: #242424;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

.jg-similar-product h3 a {
  color: inherit;
  text-decoration: none;
}

.jg-similar-product h3 a:hover {
  color: #d77900;
}

.jg-similar-product__description {
  margin: 0 0 15px;
  color: #666666;
  font-size: 14px;
  line-height: 1.55;
}

.jg-similar-product__specs {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.jg-similar-product__specs li {
  display: flex;
  gap: 8px;
  margin-bottom: 7px;
  color: #555555;
  font-size: 14px;
  line-height: 1.4;
}

.jg-similar-product__specs li::before {
  flex: 0 0 auto;
  color: #e58a00;
  font-weight: 700;
  content: "•";
}

.jg-similar-product__button {
  display: inline-flex;
  min-height: 44px;
  margin-top: auto;
  padding: 10px 18px;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  background: #ee8b00;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.jg-similar-product__button:hover {
  color: #ffffff;
  background: #d97f00;
}

.jg-similar-products__all {
  margin: 22px 0 0;
  text-align: center;
}

.jg-similar-products__all a {
  color: #444444;
  font-size: 15px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: #ee8b00;
  text-underline-offset: 4px;
}

.jg-similar-products__all a:hover {
  color: #d97f00;
}

@media (max-width: 1050px) {
  .jg-similar-products__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .jg-similar-products {
    margin: 28px 0;
    padding: 20px 16px;
    border-radius: 14px;
  }

  .jg-similar-products__header h2 {
    font-size: 23px;
  }

  .jg-similar-products__grid {
    display: flex;
    gap: 12px;
    margin-right: -16px;
    padding-right: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .jg-similar-product {
    min-width: 270px;
    max-width: 270px;
    scroll-snap-align: start;
  }

  .jg-similar-product__image {
    height: 200px;
  }
}
/* как было со <style> в описании: тема обнуляет отступ сверху у блока сразу после <style> (.content-decorator style+*) */
.content-decorator .jg-product-copy, .content-decorator .jg-similar-products { margin-top: 0; }
