/* ==========================================================================
   Giftopedia Storefront: content page parts (about, contact, FAQ, form).
   Self-contained, so it also works when the full design is switched off.
   ========================================================================== */

.gp-page {
	--gpp-ink: #17163f;
	--gpp-indigo: #3a37a8;
	--gpp-marigold: #f4a71d;
	--gpp-mist: #efeefa;
	--gpp-line: #dddbee;
	--gpp-muted: #5b5a7e;
	color: var(--gpp-ink);
}

.gp-page .gp-lead {
	font-size: 1.28rem;
	line-height: 1.5;
	max-width: 60ch;
	margin: 0 0 1.6em;
}

.gp-page h2 { margin: 1.7em 0 0.45em; }

.gp-page .gp-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 16px;
	margin: 1.8em 0;
}

.gp-page .gp-card {
	padding: 20px 22px;
	background: var(--gpp-mist);
	border-radius: 14px;
}

.gp-page .gp-card h3 { margin: 0 0 0.3em; font-size: 1.1rem; }
.gp-page .gp-card p { margin: 0; color: var(--gpp-muted); line-height: 1.55; }
.gp-page .gp-card a { color: var(--gpp-indigo); font-weight: 600; text-decoration: none; }
.gp-page .gp-card a:hover { text-decoration: underline; }

.gp-page .gp-points {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 1em 0 1.6em;
	padding: 0;
}

.gp-page .gp-points li {
	margin: 0;
	padding: 7px 16px;
	border: 1.5px solid var(--gpp-line);
	border-radius: 999px;
	background: #fff;
	font-weight: 600;
}

.gp-page .gp-button,
.gp-page button.gp-button {
	display: inline-block;
	padding: 0.8em 1.5em;
	border: 2px solid var(--gpp-ink);
	border-radius: 10px;
	background: var(--gpp-ink);
	color: #fff;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
}

.gp-page .gp-button:hover { background: var(--gpp-indigo); border-color: var(--gpp-indigo); color: #fff; }
.gp-page .gp-button--ghost { background: transparent; color: var(--gpp-ink); }
.gp-page .gp-button--ghost:hover { background: var(--gpp-ink); border-color: var(--gpp-ink); }

/* FAQ */
.gp-page .gp-faq { display: grid; gap: 10px; }

.gp-page .gp-faq details {
	border: 1.5px solid var(--gpp-line);
	border-radius: 12px;
	background: #fff;
}

.gp-page .gp-faq summary {
	padding: 16px 20px;
	font-weight: 700;
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: space-between;
	gap: 16px;
}

.gp-page .gp-faq summary::-webkit-details-marker { display: none; }

.gp-page .gp-faq summary::after {
	content: "+";
	flex: none;
	font-size: 1.4rem;
	line-height: 1;
	color: var(--gpp-indigo);
}

.gp-page .gp-faq details[open] summary::after { content: "\2212"; }
.gp-page .gp-faq details[open] { border-color: var(--gpp-indigo); }
.gp-page .gp-faq details p { margin: 0; padding: 0 20px 18px; color: var(--gpp-muted); line-height: 1.6; }

/* Contact form (also used outside .gp-page through the shortcode) */
.gp-formwrap { max-width: 720px; margin: 0 0 2em; color: #17163f; }

.gp-form { display: grid; gap: 4px; }
.gp-form p { margin: 0 0 12px; }
.gp-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.gp-form label { display: block; margin-bottom: 5px; font-weight: 600; }

.gp-form input[type="text"],
.gp-form input[type="email"],
.gp-form input[type="tel"],
.gp-form textarea {
	width: 100%;
	padding: 11px 14px;
	border: 1.5px solid #dddbee;
	border-radius: 10px;
	background: #fff;
	color: #17163f;
	font: inherit;
}

.gp-form input:focus,
.gp-form textarea:focus { border-color: #3a37a8; outline: 2px solid rgba(58, 55, 168, 0.25); outline-offset: 0; }

body .gp-form button.gp-button, .gp-form .gp-button { background: #f4a71d; border-color: #f4a71d; color: #17163f; padding: 0.85em 1.8em; }
body .gp-form button.gp-button:hover, .gp-form .gp-button:hover { background: #ffbb3d; border-color: #ffbb3d; color: #17163f; }

.gp-form .gp-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.gp-notice { margin: 0 0 18px; padding: 14px 18px; border-left: 5px solid #3a37a8; border-radius: 10px; background: #efeefa; }
.gp-notice--ok { border-left-color: #1f9d55; background: #e9f7ef; }
.gp-notice--error { border-left-color: #c93a63; background: #fdeff3; }

@media (max-width: 600px) {
	.gp-form__row { grid-template-columns: 1fr; }
	.gp-page .gp-lead { font-size: 1.14rem; }
}

/* ==========================================================================
   About us page ([giftopedia_about])
   ========================================================================== */
.gpa {
	--ink: #17163f; --indigo: #3a37a8; --gold: #f4a71d; --mist: #efeefa; --line: #dddbee; --muted: #5b5a7e;
	color: var(--ink);
	font-family: Figtree, system-ui, sans-serif;
	line-height: 1.6;
	/* Always run edge to edge, even if the page sits inside a narrower box. */
	position: relative;
	left: 50%;
	width: 100vw;
	max-width: none;
	margin: 0 0 0 -50vw;
	padding: 0;
}
body.gpsf { overflow-x: clip; }
.gpa * { box-sizing: border-box; }
.gp-page:empty, .gp-page > p:empty, .page-elementor > p:empty { display: none; }
.gpa h1, .gpa h2, .gpa h3 { font-family: "Bricolage Grotesque", Figtree, sans-serif; line-height: 1.12; margin: 0; color: inherit; letter-spacing: -0.01em; }
.gpa h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 800; }
.gpa h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; margin-bottom: 0.55em; }
.gpa h3 { font-size: 1.2rem; font-weight: 700; }
.gpa p { margin: 0 0 1em; }
.gpa-in { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.gpa-sec { padding: clamp(48px, 7vw, 92px) 0; }
.gpa-sec--mist { background: var(--mist); }

.gpa-eyebrow { display: inline-block; margin: 0 0 14px; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.gpa-eyebrow--dark { color: var(--indigo); }

.gpa p.gpa-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6em 0 0; }
.gpa a.gpa-btn { display: inline-block; padding: 0.9em 1.7em; border-radius: 10px; border: 2px solid transparent; font-weight: 700; text-decoration: none; line-height: 1.2; }
.gpa a.gpa-btn--gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.gpa a.gpa-btn--gold:hover { background: #ffbb3d; border-color: #ffbb3d; color: var(--ink); }
.gpa a.gpa-btn--line { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.gpa a.gpa-btn--line:hover { background: #fff; color: var(--ink); }

/* hero */
.gpa-hero { background: radial-gradient(circle at 85% 20%, #5552cf 0, transparent 45%), var(--ink); color: #fff; padding: clamp(52px, 8vw, 110px) 0; }
.gpa-hero__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.gpa p.gpa-lead { font-size: 1.2rem; max-width: 52ch; margin: 1.1em 0 0; color: #dedcff; }
.gpa-hero__art { position: relative; min-height: 340px; }
.gpa-gift { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); width: 220px; height: 220px; display: grid; place-items: center; font-size: 6rem; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 18px rgba(244, 167, 29, 0.18); }
.gpa-chip { position: absolute; padding: 9px 16px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; font-size: 0.92rem; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25); white-space: nowrap; }
.gpa-chip--1 { top: 6%; left: 8%; } .gpa-chip--2 { top: 18%; right: 0; } .gpa-chip--3 { bottom: 16%; left: 0; } .gpa-chip--4 { bottom: 3%; right: 6%; background: var(--mist); }

/* numbers */
.gpa-stats { background: var(--gold); color: var(--ink); padding: 26px 0; }
.gpa-stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px; text-align: center; }
.gpa-stats strong { display: block; font: 800 clamp(1.8rem, 4vw, 2.6rem)/1.1 "Bricolage Grotesque", sans-serif; }
.gpa-stats span { font-weight: 600; }

/* split + versus */
.gpa-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: start; }
.gpa-split p { color: var(--muted); font-size: 1.08rem; }
.gpa-versus { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.gpa-versus__col { padding: 22px; border-radius: 16px; }
.gpa-versus__col--bad { background: #f6f3f4; border: 1.5px dashed #cfc7cb; }
.gpa-versus__col--good { background: var(--ink); color: #fff; }
.gpa-versus h3 { margin-bottom: 12px; font-size: 1.05rem; }
.gpa-versus ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.gpa-versus li { padding-left: 24px; position: relative; font-size: 0.98rem; line-height: 1.4; }
.gpa-versus li::before { position: absolute; left: 0; font-weight: 800; }
.gpa-versus__col--bad li::before { content: "\2715"; color: #c93a63; }
.gpa-versus__col--good li::before { content: "\2713"; color: var(--gold); }

/* mission */
.gpa-mission { background: var(--indigo); color: #fff; padding: clamp(52px, 8vw, 100px) 0; text-align: center; }
.gpa-mission blockquote { margin: 0 auto; max-width: 880px; font: 800 clamp(1.5rem, 3.4vw, 2.5rem)/1.25 "Bricolage Grotesque", sans-serif; border: 0; padding: 0; color: #fff; }

/* pillars */
.gpa-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.gpa-pillars article { padding: 28px; border: 1.5px solid var(--line); border-radius: 18px; background: #fff; display: flex; flex-direction: column; }
.gpa-pillars article:hover { border-color: var(--indigo); box-shadow: 0 14px 36px rgba(58, 55, 168, 0.12); }
.gpa-pillars p { color: var(--muted); flex: 1; margin-top: 0.6em; }
.gpa-pillars a { color: var(--indigo); font-weight: 700; text-decoration: none; }
.gpa-pillars a:hover { text-decoration: underline; }
.gpa-num { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 16px; border-radius: 12px; background: var(--gold); color: var(--ink); font: 800 1.2rem "Bricolage Grotesque", sans-serif; }

/* steps */
.gpa-steps { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.gpa-steps li { position: relative; padding: 24px 20px 4px 0; border-top: 3px solid var(--ink); margin: 0; }
.gpa-steps li span { position: absolute; top: -17px; left: 0; display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; background: var(--gold); font-weight: 800; }
.gpa-steps h3 { margin: 6px 0 6px; }
.gpa-steps p { color: var(--muted); margin: 0; }

/* promises */
.gpa-promise { background: var(--ink); color: #fff; padding: 34px 0; }
.gpa-promise__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gpa-promise strong { display: block; font-size: 1.1rem; color: var(--gold); }
.gpa-promise span { color: #cfcdf3; font-size: 0.95rem; }

/* quotes */
.gpa-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.gpa-quotes figure { margin: 0; padding: 26px; background: var(--mist); border-radius: 18px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.gpa-quotes blockquote { margin: 0; padding: 0; border: 0; font-size: 1.04rem; line-height: 1.55; }
.gpa-quotes figcaption { min-height: 3.7em; }
.gpa-quotes figcaption strong { display: block; }
.gpa-quotes figcaption span { color: var(--muted); font-size: 0.92rem; }

/* call to action */
.gpa-cta { background: linear-gradient(135deg, var(--indigo), var(--ink)); color: #fff; text-align: center; padding: clamp(52px, 8vw, 96px) 0; }
.gpa-cta p { color: #dedcff; font-size: 1.12rem; }
.gpa-cta .gpa-actions { justify-content: center; }

@media (max-width: 900px) {
	.gpa-hero__grid, .gpa-split { grid-template-columns: 1fr; }
	.gpa-hero__art { min-height: 280px; }
	.gpa-pillars, .gpa-quotes { grid-template-columns: 1fr; }
	.gpa-steps, .gpa-promise__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
	.gpa-in { padding: 0 16px; }
	.gpa-versus { grid-template-columns: 1fr; }
	.gpa-steps { grid-template-columns: 1fr; }
	.gpa-gift { width: 160px; height: 160px; font-size: 4.2rem; }
	.gpa-chip { font-size: 0.8rem; padding: 7px 12px; }
}
