/* Motion and chevrons come from the shared assets/css/accordion.css. */
.wp-block-accordion.tpx-product-information {
    --tpx-accordion-text: #0d0f12;
    max-width: none;
    gap: 8px;
}

.wp-block-accordion.tpx-product-information > .tpx-product-information__item {
    min-width: 0;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
}

.wp-block-accordion.tpx-product-information .tpx-product-information__heading {
    min-height: 0;
    padding: 24px 72px 24px 24px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

/* Content owns its spacing; the shared animation wrappers must add none. */
.wp-block-accordion.tpx-product-information .wp-block-accordion-panel:not(.tpx-accordion__panel) {
    padding: 0 !important;
}

.wp-block-accordion.tpx-product-information .tpx-accordion__panel-inner {
    padding: 0;
    font-size: inherit;
    line-height: inherit;
}

.tpx-product-information__content {
    padding: 0 24px 24px;
    font-size: inherit;
    line-height: 1.6;
    overflow-wrap: anywhere;
    overflow-x: auto;
}

.tpx-product-information__content > :first-child { margin-top: 0; }
.tpx-product-information__content > :last-child { margin-bottom: 0; }
.tpx-product-information__content :where(p, ul, ol, blockquote, table, figure) { margin-block: 0 1em; }
.tpx-product-information__content :where(h1, h2, h3, h4, h5, h6) { margin-block: 1.25em .5em; line-height: 1.3; }
.tpx-product-information__content :where(ul) { list-style: disc; padding-inline-start: 1.5em; }
.tpx-product-information__content :where(ol) { list-style: decimal; padding-inline-start: 1.5em; }
.tpx-product-information__content :where(li + li) { margin-top: .35em; }
.tpx-product-information__content :where(a) { color: inherit; text-decoration: underline; }
.tpx-product-information__content :where(strong, b) { font-weight: 700; }
.tpx-product-information__content :where(em, i) { font-style: italic; }
.tpx-product-information__content :where(img, video) { max-width: 100%; height: auto; }
.tpx-product-information__content :where(table) { width: 100%; border-collapse: collapse; }
.tpx-product-information__content :where(th, td) { padding: .75em; border: 1px solid #e6e6e6; text-align: start; }

@media (max-width: 480px) {
    .wp-block-accordion.tpx-product-information .tpx-product-information__heading { padding: 20px 64px 20px 16px; font-size: 16px; }
    .tpx-product-information__content { padding: 0 16px 20px; }
}
