/* Matýsek P4c + P9C — GPSR accordion (DOCX 6.2 / 6.4 / 6.5) */
body#product .m-product-gpsr {
  margin: var(--m-space-xl, 2rem) 0;
  padding: 0;
  max-width: 100%;
  color: var(--m-text, #2a1f25);
  font-size: 0.95rem;
  line-height: 1.65;
  background: var(--m-bg-page, #faf5f0);
  border: 1px solid var(--m-border, #e8d9df);
  border-radius: 14px;
  overflow: hidden;
}

body#product .m-product-gpsr__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;
  margin: 0;
  user-select: none;
}

body#product .m-product-gpsr__summary::-webkit-details-marker {
  display: none;
}

body#product .m-product-gpsr__summary::marker {
  content: "";
}

body#product .m-product-gpsr__summary:focus {
  outline: none;
}

body#product .m-product-gpsr__summary:focus-visible {
  outline: 2px solid var(--m-primary, #7f435e);
  outline-offset: 2px;
  border-radius: 12px;
}

body#product .m-product-gpsr__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--m-primary, #7f435e);
  line-height: 1.35;
}

body#product .m-product-gpsr__chevron {
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--m-primary, #7f435e);
  border-bottom: 2px solid var(--m-primary, #7f435e);
  transform: rotate(45deg);
  transition: transform 0.18s ease;
  opacity: 0.65;
  margin-top: -5px;
  margin-right: 2px;
}

body#product .m-product-gpsr[open] > .m-product-gpsr__summary .m-product-gpsr__chevron {
  transform: rotate(225deg);
  margin-top: 2px;
}

body#product .m-product-gpsr__body {
  padding: 0 18px 18px;
  border-top: 1px solid var(--m-border, #e8d9df);
}

body#product .m-product-gpsr__block {
  margin: 1rem 0 0;
}

body#product .m-product-gpsr__block:first-child {
  margin-top: 1rem;
}

body#product .m-product-gpsr__block:last-of-type {
  margin-bottom: 0;
}

body#product .m-product-gpsr__label {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--m-primary, #7f435e);
}

body#product .m-product-gpsr__text {
  margin: 0 0 0.5rem;
}

body#product .m-product-gpsr__text:last-child {
  margin-bottom: 0;
}

body#product .m-product-gpsr__list {
  margin: 0.35rem 0 0;
  padding-left: 1.25rem;
}

body#product .m-product-gpsr__list li {
  margin: 0 0 0.35rem;
}

body#product .m-product-gpsr__list li:last-child {
  margin-bottom: 0;
}

body#product .m-product-gpsr a {
  color: var(--m-primary, #7f435e);
}

/* P9C — center CTA / button inside GPSR (wording + URL untouched) */
body#product .m-product-gpsr__cta-wrap:empty {
  display: none;
}

body#product .m-product-gpsr__cta-wrap:not(:empty),
body#product .m-product-gpsr__body > .m-product-gpsr__cta,
body#product .m-product-gpsr__body > a.btn,
body#product .m-product-gpsr__body > .btn {
  display: flex;
  justify-content: center;
  margin-top: 1.15rem;
}

body#product .m-product-gpsr__cta-wrap .btn,
body#product .m-product-gpsr__cta-wrap a,
body#product .m-product-gpsr__body > a.btn {
  width: auto;
  max-width: 100%;
}

@media (max-width: 767.98px) {
  body#product .m-product-gpsr {
    font-size: 0.92rem;
  }

  body#product .m-product-gpsr__summary {
    padding: 14px 16px;
  }

  body#product .m-product-gpsr__body {
    padding: 0 16px 16px;
  }
}
