/* ==========================================================================
   Help pages — Preguntas frecuentes / Envíos y entregas / Formas de pago.
   Built on the existing legacy design tokens (--blue/--navy/--muted/--line)
   and components (.simple-page-hero, .contact-cards, .tips-filter) so these
   pages read as native extensions of the site, not a bolt-on.
   ========================================================================== */

.help-page .section { padding: 56px 0; }
.help-page .section + .section { padding-top: 0; }
.help-page-intro { max-width: 640px; margin: 0 0 36px; color: var(--muted); font-size: 15px; }

.help-section-title { margin: 0 0 8px; font-size: 26px; color: var(--navy); letter-spacing: -.01em; }
.help-section-kicker { display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: .13em; color: var(--blue); font-size: 11px; font-weight: 850; margin-bottom: 10px; }
.help-section-kicker::before { content: ""; width: 20px; height: 2px; background: currentColor; border-radius: 4px; }

/* ---------- FAQ: category filter + grouped accordion ---------- */

.help-faq-filter { display: flex; gap: 9px; flex-wrap: wrap; margin: 28px 0 40px; }
.help-faq-filter button { border: 1px solid var(--line); background: #fff; padding: 10px 16px; border-radius: 999px; font-weight: 800; font-size: 13px; color: var(--navy); cursor: pointer; transition: .18s ease; }
.help-faq-filter button:hover { border-color: var(--blue); color: var(--blue); }
.help-faq-filter button.is-active { background: var(--blue); color: #fff; border-color: var(--blue); }

.help-faq-groups { display: flex; flex-direction: column; gap: 46px; }
.help-faq-group__heading { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; }
.help-faq-group__heading i { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 11px; background: var(--soft); display: grid; place-items: center; color: var(--blue); font-style: normal; }
.help-faq-group__heading i .shelo-icon { width: 19px; height: 19px; }
.help-faq-group__heading h2 { margin: 0; font-size: 19px; color: var(--navy); }

.help-faq-list { display: grid; gap: 10px; }
.help-faq-list details { border: 1px solid var(--line); border-radius: 16px; background: #fff; overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease; }
.help-faq-list details[open] { border-color: var(--blue); box-shadow: 0 10px 26px rgba(9,104,220,.08); }
.help-faq-list summary { padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; list-style: none; cursor: pointer; font-weight: 800; color: var(--navy); font-size: 14.5px; line-height: 1.4; }
.help-faq-list summary::-webkit-details-marker { display: none; }
.help-faq-list summary::after {
	content: "+";
	flex: 0 0 auto;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border: 1px solid var(--line);
	display: grid;
	place-items: center;
	font-size: 18px;
	line-height: 1;
	color: var(--blue);
}
.help-faq-list details[open] summary::after { content: "–"; background: var(--blue); color: #fff; border-color: var(--blue); }
.help-faq-list details p { margin: 0; padding: 0 20px 20px; color: var(--muted); font-size: 13.5px; line-height: 1.65; }
.help-faq-list details p a { color: var(--blue); font-weight: 700; }

.help-faq-cta { margin-top: 44px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 28px; border-radius: var(--radius); background: var(--soft); border: 1px solid var(--line); flex-wrap: wrap; }
.help-faq-cta h3 { margin: 0 0 4px; font-size: 16px; color: var(--navy); }
.help-faq-cta p { margin: 0; color: var(--muted); font-size: 13px; }
.help-faq-cta .btn { flex: 0 0 auto; }

/* ---------- Envíos y entregas: timeline + info cards ---------- */

.shipping-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 8px 0 12px; position: relative; }
.shipping-timeline::before { content: ""; position: absolute; top: 23px; left: 12.5%; right: 12.5%; height: 2px; background: var(--line); z-index: 0; }
.shipping-timeline__step { position: relative; z-index: 1; text-align: center; padding: 0 12px; }
.shipping-timeline__step span { display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto 14px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); color: var(--blue); font-weight: 900; font-size: 15px; }
.shipping-timeline__step h3 { margin: 0 0 6px; font-size: 14.5px; color: var(--navy); }
.shipping-timeline__step p { margin: 0; font-size: 12.5px; color: var(--muted); line-height: 1.5; }

.shipping-info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.shipping-info-cards article { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 24px; background: #fff; }
.shipping-info-cards .shelo-icon { width: 26px; height: 26px; color: var(--blue); }
.shipping-info-cards h3 { margin: 12px 0 6px; font-size: 15px; color: var(--navy); }
.shipping-info-cards p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.55; }
.shipping-info-cards strong { display: block; color: var(--navy); font-size: 20px; margin-bottom: 2px; }

.shipping-note { margin-top: 28px; padding: 18px 22px; border-radius: 14px; background: var(--soft); border: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.6; }
.shipping-note strong { color: var(--navy); }

/* ---------- Formas de pago: security hero + method card + steps ---------- */

.payment-security-band { display: flex; align-items: center; gap: 18px; padding: 26px 28px; border-radius: var(--radius); background: linear-gradient(135deg, var(--navy), #0d3566); color: #fff; }
.payment-security-band .shelo-icon { width: 30px; height: 30px; flex: 0 0 30px; }
.payment-security-band strong { display: block; font-size: 16px; margin-bottom: 3px; }
.payment-security-band span { display: block; font-size: 13px; color: #c9dcf3; }

.payment-method-card { display: flex; align-items: center; gap: 22px; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: #fff; box-shadow: var(--shadow-sm); margin-top: 28px; flex-wrap: wrap; }
.payment-method-card img { height: 34px; flex: 0 0 auto; }
.payment-method-card div { flex: 1 1 260px; }
.payment-method-card h3 { margin: 0 0 6px; font-size: 16px; color: var(--navy); }
.payment-method-card p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.55; }

.payment-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.payment-steps article { position: relative; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 26px 22px 22px; background: var(--soft); overflow: hidden; }
.payment-steps .step-number { position: absolute; top: -6px; right: 12px; font-size: 46px; font-weight: 900; color: #d9eafb; line-height: 1; }
.payment-steps h3 { position: relative; margin: 0 0 6px; font-size: 15px; color: var(--navy); }
.payment-steps p { position: relative; margin: 0; font-size: 13px; color: var(--muted); line-height: 1.55; }

.payment-trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.payment-trust-grid article { text-align: center; padding: 20px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.payment-trust-grid .shelo-icon { width: 24px; height: 24px; color: var(--blue); }
.payment-trust-grid strong { display: block; margin: 10px 0 4px; font-size: 13px; color: var(--navy); }
.payment-trust-grid span { display: block; font-size: 11.5px; color: var(--muted); line-height: 1.4; }

/* ---------- Mobile ---------- */

@media (max-width: 780px) {
	.shipping-info-cards,
	.payment-steps,
	.payment-trust-grid { grid-template-columns: 1fr; }
	.shipping-timeline { grid-template-columns: 1fr 1fr; row-gap: 28px; }
	.shipping-timeline::before { display: none; }
	.payment-security-band { flex-direction: column; text-align: center; }
	.help-faq-cta { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
	.shipping-timeline { grid-template-columns: 1fr 1fr; }
}
