/*
 * Help pages: FAQ (page) and the "Policy page" single template (Shipping & Returns, Privacy, Terms).
 * Ported from reference site.css (base block: .two, .toc, .faqgrp, .faq, .policy, .tbl, .note; no later
 * version block touches them). Colours, type and spacing that a widget control can set live in the
 * Elementor data (scripts/templates/parts/faq.php, policy.php); this file only does what controls can't.
 *
 * Classes (Advanced → CSS Classes): be-help-toc (Table of Contents), be-faq-h2 (group heading),
 * be-faq-acc (Nested Accordion), be-faq-a (answer text), be-help-note (Icon Box), be-policy-body (Post Content).
 */

/* ---------------------------------------------------------------- Table of Contents (.toc) */

/* No box, no header: the list is the whole widget. */
.be-help-toc.elementor-widget-table-of-contents .elementor-widget-container,
.be-help-toc.elementor-widget-table-of-contents:not(:has(.elementor-widget-container)) {
	border: 0;
	border-radius: 0;
	background: transparent;
	overflow: visible;
}

.be-help-toc .elementor-toc__header {
	display: none;
}

.be-help-toc .elementor-toc__body {
	padding: 0;
	max-height: none;
	overflow: visible;
}

.be-help-toc .elementor-toc__list-wrapper {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 0;
	padding: 0;
}

.be-help-toc .elementor-toc__list-item {
	margin: 0;
}

.be-help-toc .elementor-toc__list-item.elementor-item-active {
	font-weight: inherit;
}

.be-help-toc .elementor-toc__list-item-text-wrapper::before {
	display: none;
}

.be-help-toc .elementor-toc__list-item-text {
	min-height: 38px;
	display: flex;
	align-items: center;
}

@media (max-width: 900px) {
	.be-help-toc .elementor-toc__list-wrapper {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 4px 18px;
	}
}

/* Anchor targets land under the sticky header (reference .policy h2 scroll-margin-top). */
.be-faq-h2,
.be-policy-body h2 {
	scroll-margin-top: calc(var(--hdr, 84px) + 20px);
}

/* ---------------------------------------------------------------- FAQ accordion (.faq details) */

/* Items share their borders (reference: every details has margin-top: -1px). */
.be-faq-acc .e-n-accordion-item {
	margin-top: -1px;
}

/* Summary: 62px tall inside a 1px frame. */
.be-faq-acc .e-n-accordion-item > .e-n-accordion-item-title {
	min-height: 64px;
}

.be-faq-acc .e-n-accordion-item[open] > .e-n-accordion-item-title {
	min-height: 63px;
}

/* The reference "+" / "−" are 20px text glyphs: a slightly heavier stroke on the shared plus/minus icons. */
.be-faq-acc .e-n-accordion-item-title-icon svg {
	stroke-width: 2.4;
}

.be-faq-acc .e-n-accordion-item-title-text {
	text-align: start;
}

.be-faq-acc .e-n-accordion-item-title:focus-visible {
	outline: 2px solid var(--amber, #B97F35);
	outline-offset: -2px;
}

/* Reference .a: max-width 64ch including its 20px side padding (now on the panel container). */
.elementor .be-faq-acc .e-con > .elementor-widget.be-faq-a {
	max-width: calc(64ch - 40px);
}

.be-faq-a a {
	color: var(--amber, #B97F35);
	text-decoration: underline;
}

/* ---------------------------------------------------------------- Info note (.note) */

.be-help-note .elementor-icon-box-icon {
	line-height: 0;
	margin-top: 2px;
}

.be-help-note .elementor-icon-box-icon svg {
	fill: none;
	stroke: currentColor;
}

.be-help-note .elementor-icon-box-description {
	margin: 0;
}

/* ---------------------------------------------------------------- Policy body (.policy) */

.be-policy-body h2 {
	margin: 44px 0 12px;
	padding: 0;
	font-size: 22px;
	font-weight: 600;
	line-height: 1.7;
	letter-spacing: -.01em;
	text-wrap: balance;
	color: var(--text, #16120E);
}

.be-policy-body h2:first-child {
	margin-top: 0;
}

.be-policy-body p {
	margin: 0;
}

.be-policy-body p + p {
	margin-top: 1em;
}

.be-policy-body ul {
	margin: 1em 0;
	padding-left: 1.2em;
}

.be-policy-body li {
	margin: 0;
}

.be-policy-body a {
	color: var(--amber, #B97F35);
	text-decoration: underline;
}

/* Table block (reference .tbl). ".elementor" outranks the theme's table reset
   (e.g. "table thead:first-child tr:first-child th"). */
.elementor .be-policy-body .wp-block-table {
	overflow-x: auto;
	margin: 16px 0;
	background: #fff;
	border: 1px solid var(--line, #D8CCBB);
}

.elementor .be-policy-body .wp-block-table table {
	width: 100%;
	min-width: 460px;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	font-size: 14px;
	line-height: 1.7;
	color: var(--text, #16120E);
}

.elementor .be-policy-body .wp-block-table thead,
.elementor .be-policy-body .wp-block-table tfoot {
	border: 0;
}

.elementor .be-policy-body .wp-block-table th,
.elementor .be-policy-body .wp-block-table td {
	padding: 13px 16px;
	border: 0;
	border-bottom: 1px solid var(--line, #D8CCBB);
	background: none;
	line-height: 1.7;
	text-align: left;
	vertical-align: middle;
}

.elementor .be-policy-body .wp-block-table th {
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--soft, #7A6D5E);
}

.elementor .be-policy-body .wp-block-table tbody tr:last-child td {
	border-bottom: 0;
}
