/**
 * /powerpac-360/ and /powerpac-360/terms/. Builds on the theme's pp2 styles
 * (checkout-v2.css: tokens, band type, cards, labels, buttons). The hero is the
 * My Account Powerpac 360 band: the p211 bridge photo under a navy wash.
 * No pills, no coloured dots, no coloured edge bars.
 */

body.pp360p-page { overflow-x: clip; }
/* Our template has no container, so the theme's 100vw full-bleed (which counts the scrollbar) would overflow: plain full width instead. */
.pp2.pp360p { width: 100%; margin-left: 0; margin-right: 0; }

/* ---------- Hero ---------- */
.pp360p-hero {
	background: linear-gradient(100deg, rgba(0, 38, 62, .95) 0%, rgba(0, 38, 62, .84) 50%, rgba(0, 38, 62, .6) 100%), var(--pp360p-hero) center 40% / cover no-repeat, var(--pp-navy);
	padding: 48px var(--pp-gutter) 136px;
}
.pp360p-hero--short { padding-top: 40px; padding-bottom: 128px; }
.pp360p-hero__logo { width: 200px; height: auto; margin-bottom: 6px; }
.pp360p-hero__sub { max-width: 46ch; }
.pp360p-hero__season { margin: 4px 0 0; color: var(--pp-white); font-size: 15px; font-weight: 500; }
.pp360p-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.pp2 a.pp2-btn { text-decoration: none; }
.pp2 a.pp2-btn--primary, .pp2 a.pp2-btn--primary:hover { color: var(--pp-white); }
.pp2 a.pp360p-btn--ghost { background: transparent; color: var(--pp-white); border: 1px solid rgba(255, 255, 255, .75); }
.pp2 a.pp360p-btn--ghost:hover { background: var(--pp-white); color: var(--pp-navy); }
.pp2 a.pp2-btn--outline, .pp2 a.pp2-btn--outline:hover { color: var(--pp-navy); }

/* ---------- Layout ---------- */
.pp360p-grid { margin-top: -96px; }
@media (min-width: 1024px) { .pp360p-side { position: static; } }
.pp360p-side { display: flex; flex-direction: column; gap: 20px; } /* Phone: the theme puts it first (order -1), so How it works leads. */
.pp360p-card { gap: 14px; padding: 28px; }
.pp360p-card p { margin: 0; color: var(--pp-ink); font-size: 16px; line-height: 1.6; }
.pp360p-card a:not(.pp2-btn) { color: var(--pp-red); }
.pp2 .pp360p-h3 { margin: 0 0 4px; font-family: var(--pp-font); font-size: 16px; font-weight: 700; color: var(--pp-navy); text-transform: none; letter-spacing: 0; }

/* ---------- How it works (side column: icon beside the words) ---------- */
.pp360p-steps { display: flex; flex-direction: column; gap: 16px; margin: 4px 0 0; padding: 0; list-style: none; }
.pp360p-steps li { display: flex; align-items: center; gap: 14px; font-size: 15.5px; line-height: 1.5; color: var(--pp-ink); }
.pp360p-steps strong { color: var(--pp-navy); font-weight: 700; }
.pp360p-steps img { width: 56px; height: 56px; flex-shrink: 0; }

/* ---------- Lists ---------- */
.pp360p-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.pp360p-list li { position: relative; padding-left: 18px; font-size: 16px; line-height: 1.6; color: var(--pp-ink); }
.pp360p-list li::before { content: ""; position: absolute; left: 0; top: .78em; width: 8px; height: 1.5px; background: var(--pp-navy); }
.pp360p-list strong, .pp360p-numbered strong { color: var(--pp-ink-strong); font-weight: 600; }
.pp360p-numbered a strong { color: inherit; }
.pp360p-list--tight li { font-size: 15px; }
.pp360p-numbered { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; font-size: 16px; line-height: 1.6; color: var(--pp-ink); }
.pp360p-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-top: 14px; border-top: 1px solid var(--pp-line); }
.pp360p-season { font-size: 15px; }
.pp360p-season strong { font-size: 18px; color: var(--pp-navy); font-weight: 700; }
.pp360p-benefits { margin: 0; padding: 0; list-style: none; }
.pp360p-benefits li { padding: 10px 0; border-top: 1px solid var(--pp-line); font-size: 15.5px; color: var(--pp-ink-strong); }
.pp360p-benefits li:first-child { border-top: 0; padding-top: 0; }

/* ---------- Rewards ---------- */
.pp360p-rewards { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 24px 20px; margin: 4px 0 0; padding: 0; list-style: none; }
.pp360p-reward { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pp360p-reward__img { aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; background: var(--pp-soft); border-radius: 5px; overflow: hidden; margin-bottom: 6px; }
.pp360p-reward__img .pp360-img { width: 100%; height: 100%; object-fit: contain; }
.pp360p-reward__img .pp360-img--none { display: flex; align-items: center; justify-content: center; opacity: .55; }
.pp360p-reward__img .pp360-img--none img { width: 48px; height: 48px; }
.pp2 .pp360p-reward__name { margin: 0; font-family: var(--pp-font); font-size: 15.5px; line-height: 1.3; font-weight: 600; color: var(--pp-navy); text-transform: none; letter-spacing: 0; }
.pp2 .pp360p-reward__pts { margin: auto 0 0; font-size: 18px; font-weight: 700; color: var(--pp-ink-strong); }
.pp360p-reward__pts span { font-size: 13px; font-weight: 500; color: var(--pp-muted); }

/* ---------- FAQ ---------- */
.pp360p-faq details { border-top: 1px solid var(--pp-line); }
.pp360p-faq details:last-child { border-bottom: 1px solid var(--pp-line); }
.pp360p-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; cursor: pointer; list-style: none; font-size: 16.5px; font-weight: 600; color: var(--pp-navy); }
.pp360p-faq summary::-webkit-details-marker { display: none; }
.pp360p-faq summary::after { content: ""; flex-shrink: 0; width: 9px; height: 9px; margin-top: -5px; border-right: 2px solid var(--pp-navy); border-bottom: 2px solid var(--pp-navy); transform: rotate(45deg); transition: transform .15s ease-out; }
.pp360p-faq details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.pp360p-faq summary:focus-visible { outline: 2px solid var(--pp-navy); outline-offset: 2px; }
.pp360p-faq details p { padding: 0 0 18px; max-width: 70ch; }

/* ---------- Closing band ---------- */
.pp360p-close { background: var(--pp-navy); margin-top: 48px; padding: 48px var(--pp-gutter) 56px; }
.pp360p-after { max-width: calc(1467px + 2 * var(--pp-gutter)); margin: 40px auto 0; padding: 0 var(--pp-gutter); display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }
@media (min-width: 1024px) { .pp360p-after--ask { grid-template-columns: minmax(0, 1fr) 440px; gap: 32px; } }
/* The question form: the theme's GF look (wall-planner.css, .pp2-planner), one column in this card, plus the textarea it doesn't style. */
.pp2 .pp360p-ask .gform_fields { grid-template-columns: minmax(0, 1fr); }
.pp2 .pp360p-ask .gfield textarea { display: block; width: 100% !important; min-height: 140px; margin: 0 !important; padding: 13px 14px !important; border: 1px solid #ededed !important; border-radius: 0 !important; background: var(--pp-white) !important; box-shadow: none !important; font-family: var(--pp-font) !important; font-size: 16px !important; font-weight: 400 !important; line-height: 22px !important; color: var(--pp-ink-strong) !important; resize: vertical; }
.pp2 .pp360p-ask .gfield textarea:focus { border-color: var(--pp-navy) !important; box-shadow: 0 0 0 1px var(--pp-navy) !important; outline: none; }
.pp2 .pp360p-ask .gform_footer { margin-top: 20px; }
.pp2 .pp360p-ask .gform_confirmation_message { font-size: 16px; color: var(--pp-ink-strong); }
.pp360p-close__inner { max-width: 1467px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; }
.pp360p-close__text { flex: 1 1 480px; display: flex; flex-direction: column; gap: 12px; }
.pp360p-close__side { flex: 0 1 520px; display: flex; flex-direction: column; gap: 12px; }
.pp360p-close__side .pp360p-small { margin: 0; }
/* The My Account header's Powerpac 360 card (PP360_Account::header_points), larger: logo on the bridge photo, a thin divider, the points. */
.pp2 a.pp360p-pts { position: relative; align-self: flex-start; display: flex; align-items: center; gap: 26px; padding: 28px 40px 28px 32px; border-radius: 6px; text-decoration: none; color: var(--pp-white);
	background: linear-gradient(100deg, rgba(0, 38, 62, .9), rgba(0, 38, 62, .45)), var(--pp360p-hero) center 40% / cover no-repeat, #0b3550;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); transition: box-shadow .2s ease, transform .2s ease; }
.pp2 a.pp360p-pts:hover, .pp2 a.pp360p-pts:focus-visible { color: var(--pp-white); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6), 0 0 0 3px rgba(198, 53, 39, .55); transform: translateY(-1px); outline: none; }
.pp360p-pts__logo { display: block; width: auto; height: 64px; }
.pp360p-pts__num { padding-left: 26px; border-left: 1px solid rgba(255, 255, 255, .3); font-size: 20px; font-weight: 600; line-height: 1; white-space: nowrap; }
.pp360p-pts__num b { font-size: 52px; font-weight: 700; letter-spacing: .01em; margin-right: 4px; }
.pp360p-pts__example { position: absolute; top: 10px; right: 12px; font-size: 11px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--pp-on-navy-soft); }
.pp2 .pp360p-close__title { margin: 0; font-family: var(--pp-font); font-size: 30px; line-height: 1.15; font-weight: 700; color: var(--pp-white); text-transform: none; letter-spacing: .5px; }
.pp360p-small { margin: 12px 0 0; max-width: 80ch; font-size: 13.5px; line-height: 1.6; color: var(--pp-on-navy-soft); }
.pp2 .pp360p-small a, .pp2 .pp360p-small a:hover { color: var(--pp-white); text-decoration: underline; }

/* ---------- Terms ---------- */
.pp360p--terms .pp360p-side { order: 1; } /* The terms come first on a phone. */
.pp360p-terms { margin: 0; padding-left: 26px; display: flex; flex-direction: column; gap: 14px; font-size: 16px; line-height: 1.65; color: var(--pp-ink); }
.pp360p-terms strong { color: var(--pp-ink-strong); font-weight: 600; }

/* ---------- Phone ---------- */
@media (max-width: 767px) {
	.pp360p-hero { padding-top: 32px; padding-bottom: 120px; }
	.pp360p-hero__logo { width: 160px; }
	.pp360p-actions .pp2-btn { width: 100%; }
	.pp360p-card { padding: 22px 18px; }
	.pp360p-pair { grid-template-columns: minmax(0, 1fr); }
	.pp360p-rewards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
	.pp2 .pp360p-close__title { font-size: 26px; }
	.pp360p-close__side { flex-basis: 100%; }
	.pp2 a.pp360p-pts { align-self: stretch; padding: 24px 22px; gap: 18px; justify-content: center; }
	.pp360p-pts__logo { height: 48px; }
	.pp360p-pts__num { padding-left: 18px; font-size: 16px; }
	.pp360p-pts__num b { font-size: 38px; }
}

/* ---------- Hero showcase: one reward card at a time ---------- */
.pp360p-hero__inner { align-items: center; }
.pp360p-show { flex: 1 1 520px; max-width: 680px; margin: 0 0 0 auto; }
.pp360p-phone { flex: 0 0 300px; margin: 0 0 0 auto; }
.pp360p-show__card { background: var(--pp-white); border-radius: 6px; box-shadow: var(--pp-panel-shadow); padding: 22px 24px 16px; }
.pp2 .pp360p-show__label { margin: 0 0 10px; }
.pp360p-show__slide { display: flex; flex-direction: column; gap: 4px; }
/* One fixed landscape frame: a marketing photo fills it (cover); a product cut-out sits inside it on the light panel (contain). */
.pp360p-show__img { aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center; background: var(--pp-soft); border-radius: 5px; overflow: hidden; margin-bottom: 12px; }
.pp360p-show__img .pp360-img { width: 100%; height: 100%; object-fit: contain; padding: 16px; }
.pp360p-show__img--photo { background: var(--pp-navy); }
.pp360p-show__img--photo .pp360p-show__photo { display: block; width: 100%; height: 100%; object-fit: cover; }
.pp360p-show__img .pp360-img--none { display: flex; align-items: center; justify-content: center; opacity: .55; }
.pp360p-show__img .pp360-img--none img { width: 48px; height: 48px; }
.pp2 .pp360p-show__name { margin: 0; font-size: 19px; line-height: 1.3; font-weight: 600; color: var(--pp-navy); }
.pp2 .pp360p-show__pts { margin: 2px 0 0; font-size: 30px; line-height: 1.2; font-weight: 700; color: var(--pp-ink-strong); }
.pp360p-show__pts span { font-size: 14px; font-weight: 500; color: var(--pp-muted); }
.pp360p-show__nav { display: flex; align-items: center; gap: 6px; margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--pp-line); }
.pp360p-show__lines { flex: 1; display: flex; gap: 4px; align-items: center; padding: 0 6px; }
.pp360p-show__lines span { flex: 1; height: 2px; background: var(--pp-line); transition: background-color .2s ease-out; }
.pp360p-show__lines span.is-on { background: var(--pp-navy); height: 3px; }
.pp2 button.pp360p-show__btn { display: inline-flex !important; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0 !important; border: 1px solid var(--pp-line) !important; border-radius: 6px !important; background: var(--pp-white) !important; color: var(--pp-navy) !important; box-shadow: none !important; cursor: pointer; }
.pp2 button.pp360p-show__btn[hidden] { display: none !important; }
.pp2 button.pp360p-show__btn:hover { border-color: var(--pp-navy) !important; }
.pp2 button.pp360p-show__btn:focus-visible { outline: 2px solid var(--pp-navy); outline-offset: 2px; }
.pp360p-show__play { display: none; }
.pp360p-show__btn.is-stopped .pp360p-show__pause { display: none; }
.pp360p-show__btn.is-stopped .pp360p-show__play { display: block; }

/* ---------- Gated fallback: the points screen, for illustration ---------- */
.pp360p-phone { margin-top: 0; margin-bottom: 0; flex-basis: 300px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.pp360p-phone__screen { width: 300px; border: 10px solid #0b1620; border-radius: 34px; overflow: hidden; background: var(--pp-white); box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.pp360p-phone__top { background: linear-gradient(160deg, var(--pp-navy) 0%, #0b3350 100%); color: var(--pp-white); padding: 22px 20px 18px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.pp360p-phone__top img { width: 92px; height: auto; }
.pp2 .pp360p-phone__lead { margin: 0; font-size: 12px; line-height: 1.4; color: var(--pp-on-navy-soft); }
.pp2 .pp360p-phone__bal { margin: 2px 0 0; font-size: 30px; line-height: 1.1; font-weight: 700; color: var(--pp-white); }
.pp360p-phone__bal span { font-size: 15px; font-weight: 600; }
.pp360p-phone__bar { width: 100%; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .9); overflow: hidden; }
.pp360p-phone__bar span { display: block; height: 100%; background: var(--pp-red); border-radius: 4px; }
.pp2 .pp360p-phone__next { margin: 0; align-self: flex-end; font-size: 11px; color: var(--pp-white); }
.pp360p-phone__list { padding: 14px 18px 18px; display: flex; flex-direction: column; }
.pp2 .pp360p-phone__label { margin: 0 0 4px; font-size: 10.5px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--pp-muted); }
.pp2 .pp360p-phone__row { margin: 0; display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--pp-line); font-size: 13px; color: var(--pp-ink); }
.pp360p-phone__row b { color: var(--pp-red); font-weight: 700; }
.pp360p-phone__btn { margin-top: 14px; align-self: stretch; text-align: center; padding: 10px; border-radius: 20px; background: var(--pp-red); color: var(--pp-white); font-size: 13px; font-weight: 700; }
.pp360p-phone__cap { font-size: 12.5px; color: var(--pp-on-navy-soft); }

@media (prefers-reduced-motion: reduce) {
	.pp360p-show__lines span { transition: none; }
}
/* Below 1024px the showcase drops under the hero text, full width; the illustration is hidden there (too tall). */
@media (max-width: 1023px) {
	.pp360p-show { flex: 1 1 100%; margin: 8px 0 0; max-width: 640px; }
	.pp360p-phone { display: none; }
}
@media (max-width: 767px) {
	.pp360p-show__card { padding: 16px 16px 10px; }
	.pp2 .pp360p-show__name { font-size: 17px; }
	.pp2 .pp360p-show__pts { font-size: 24px; }
}

/* Season 1 artwork in the hero: decorative, transparent, no card (replaces the slider). */
.pp360p-show--art .pp360p-show__art { display: block; width: 100%; height: auto; }
