/* JustGrill: оформление описания товара 9938 — перенесено из <style> в описании 11.11.2026 (M15). Грузится только на странице этого товара (product.html). */
.jg-faq {
    margin-top: 30px;
}

.jg-faq__title {
    margin-bottom: 18px;
}

.jg-faq__list {
    display: grid;
    gap: 10px;
}

.jg-faq__item {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.jg-faq__item:hover {
    border-color: #ddd3c7;
}

.jg-faq__item[open] {
    border-color: #e5c39f;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.jg-faq__question {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 64px;
    padding: 17px 58px 17px 22px;
    color: #242424;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.jg-faq__question::-webkit-details-marker {
    display: none;
}

.jg-faq__question::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 4px;
    content: "";
    background: #f28c00;
}

.jg-faq__question::after {
    position: absolute;
    top: 50%;
    right: 22px;
    width: 28px;
    height: 28px;
    content: "+";
    color: #ffffff;
    font-size: 22px;
    font-weight: 400;
    line-height: 26px;
    text-align: center;
    background: #242424;
    border-radius: 50%;
    transform: translateY(-50%);
    transition: transform 0.2s ease, background 0.2s ease;
}

.jg-faq__item[open] .jg-faq__question::after {
    content: "−";
    background: #f28c00;
    transform: translateY(-50%) rotate(180deg);
}

.jg-faq__answer {
    padding: 0 22px 20px;
    color: #666666;
    font-size: 15px;
    line-height: 1.65;
}

.jg-faq__answer p {
    margin: 0;
}

@media (max-width: 480px) {
    .jg-faq__question {
        min-height: 60px;
        padding: 15px 52px 15px 18px;
        font-size: 16px;
    }

    .jg-faq__question::after {
        right: 16px;
        width: 26px;
        height: 26px;
        font-size: 20px;
        line-height: 24px;
    }

    .jg-faq__answer {
        padding: 0 18px 18px;
    }
}
.justgrill-cta {
  margin-top: 24px;
  padding: 22px 26px;
  color: #333333;
  background: #f7f5f1;
  border: 1px solid #ebe6de;
  border-left: 4px solid #f28c00;
  border-radius: 14px;
}

.justgrill-cta p {
  margin: 0;
  color: #555555;
  font-size: 16px;
  line-height: 1.65;
}

.justgrill-cta__link {
  color: #d97a22;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.justgrill-cta__link:hover {
  color: #f28c00;
  text-decoration: none;
}

@media (max-width: 600px) {
  .justgrill-cta {
    padding: 18px 20px;
  }
}
/* как было со <style> в описании: тема обнуляет отступ сверху у блока сразу после <style> (.content-decorator style+*) */
.content-decorator .jg-faq, .content-decorator .justgrill-cta { margin-top: 0; }
