/*
Theme Name: Publish Guest Post
Theme URI: https://publishguestpost.com/
Author: Publish Guest Post
Author URI: https://publishguestpost.com/
Description: A fast, SEO-focused guest post marketplace theme. Ships a Guest Post Sites post type, a filterable marketplace with DA/DR/traffic/price facets, CSV and Excel bulk import, bulk price editing, WhatsApp ordering with pre-filled messages, and a full admin section for non-technical owners.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: publish-guest-post
Tags: marketplace, business, custom-menu, custom-logo, featured-images, translation-ready, block-styles
*/

/* ==========================================================================
   1. Tokens
   ========================================================================== */

:root {
	--pgp-navy: #0d1b34;
	--pgp-ink: #16294a;
	--pgp-body: #46587a;
	--pgp-muted: #6b7c99;
	--pgp-line: #e2e8f2;
	--pgp-line-soft: #eef2f8;
	--pgp-bg: #f5f8fd;
	--pgp-card: #ffffff;

	--pgp-blue: #1d4ed8;
	--pgp-blue-dark: #163fae;
	--pgp-blue-soft: #eaf0ff;
	--pgp-orange: #f97316;
	--pgp-orange-dark: #e2620a;
	--pgp-orange-soft: #fff2e7;
	--pgp-green: #16a34a;
	--pgp-wa: #25d366;
	--pgp-wa-dark: #1aa851;
	--pgp-amber: #b45309;
	--pgp-amber-soft: #fff5e0;

	--pgp-radius: 14px;
	--pgp-radius-sm: 10px;
	--pgp-shadow: 0 1px 2px rgba(13, 27, 52, .05), 0 8px 24px rgba(13, 27, 52, .06);
	--pgp-shadow-sm: 0 1px 2px rgba(13, 27, 52, .06);
	--pgp-shadow-lg: 0 20px 50px rgba(13, 27, 52, .12);

	--pgp-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
	--pgp-max: 1320px;
	--pgp-header-h: 72px;
}

/* ==========================================================================
   2. Base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--pgp-card);
	color: var(--pgp-body);
	font-family: var(--pgp-font);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
	margin: 0 0 .5em;
	color: var(--pgp-navy);
	font-weight: 700;
	line-height: 1.22;
	letter-spacing: -.015em;
}

h1 { font-size: clamp(1.85rem, 1.2rem + 2.2vw, 2.9rem); }
h2 { font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2.1rem); }
h3 { font-size: 1.12rem; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--pgp-blue); text-decoration: none; }
a:hover { color: var(--pgp-blue-dark); text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }

table { border-collapse: collapse; width: 100%; }

button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid rgba(29, 78, 216, .45); outline-offset: 2px; border-radius: 4px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0);
	white-space: nowrap; border: 0;
}

.pgp-skip {
	position: absolute; left: -9999px; top: 0; z-index: 999;
	background: var(--pgp-navy); color: #fff; padding: 12px 20px; border-radius: 0 0 8px 0;
}
.pgp-skip:focus { left: 0; }

.pgp-container {
	width: 100%;
	max-width: var(--pgp-max);
	margin: 0 auto;
	padding: 0 20px;
}
.pgp-container--narrow { max-width: 860px; }

.pgp-icon { flex: none; vertical-align: -.2em; }

/* ==========================================================================
   3. Header
   ========================================================================== */

.pgp-topbar {
	background: var(--pgp-navy);
	color: #b9c6dd;
	font-size: .82rem;
}
.pgp-topbar__inner {
	display: flex; flex-wrap: wrap; gap: 6px 20px;
	align-items: center; justify-content: space-between;
	min-height: 38px; padding-top: 6px; padding-bottom: 6px;
}
.pgp-topbar p { margin: 0; }
.pgp-topbar__contact { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.pgp-topbar a { color: #dbe5f5; display: inline-flex; align-items: center; gap: 6px; }
.pgp-topbar a:hover { color: #fff; text-decoration: none; }
.pgp-topbar .pgp-icon { width: 15px; height: 15px; opacity: .8; }

.pgp-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255, 255, 255, .96);
	backdrop-filter: saturate(180%) blur(8px);
	border-bottom: 1px solid var(--pgp-line);
}
.pgp-header__inner {
	display: flex; align-items: center; gap: 16px;
	min-height: var(--pgp-header-h);
}

.pgp-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.pgp-logo:hover { text-decoration: none; }
.pgp-logo__mark { display: flex; }
.pgp-logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.pgp-logo__name { color: var(--pgp-navy); font-size: 1.06rem; font-weight: 600; letter-spacing: -.02em; }
.pgp-logo__name strong { font-weight: 800; }
.pgp-logo__tag { color: var(--pgp-muted); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; margin-top: 2px; }
.pgp-logo--dark .pgp-logo__name { color: #fff; }
.pgp-logo--dark .pgp-logo__tag { color: #93a5c4; }
.custom-logo-link img { max-height: 44px; width: auto; }

.pgp-nav { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.pgp-menu {
	display: flex; align-items: center; gap: 2px;
	list-style: none; margin: 0; padding: 0;
}
.pgp-menu li { position: relative; }
.pgp-menu a {
	display: block; padding: 9px 10px; border-radius: 8px;
	color: var(--pgp-ink); font-size: .89rem; font-weight: 500;
	white-space: nowrap;
}
.pgp-menu a:hover, .pgp-menu .current-menu-item > a {
	background: var(--pgp-blue-soft); color: var(--pgp-blue-dark); text-decoration: none;
}
.pgp-menu .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 210px;
	background: #fff; border: 1px solid var(--pgp-line); border-radius: var(--pgp-radius-sm);
	box-shadow: var(--pgp-shadow); padding: 6px; margin: 0; list-style: none;
	opacity: 0; visibility: hidden; transform: translateY(4px); transition: .15s;
}
.pgp-menu li:hover > .sub-menu, .pgp-menu li:focus-within > .sub-menu {
	opacity: 1; visibility: visible; transform: none;
}

.pgp-nav__cta { display: flex; align-items: center; gap: 8px; }
/* On desktop the header carries only the WhatsApp CTA — "Browse Websites"
   lives in the hero, the menu and the mobile drawer. */
.pgp-nav__cta .pgp-btn--outline { display: none; }

.pgp-burger {
	display: none; margin-left: auto;
	background: var(--pgp-blue-soft); color: var(--pgp-blue-dark);
	border: 0; border-radius: 10px; padding: 9px 11px; cursor: pointer;
}
.pgp-burger__close { display: none; }
.pgp-burger[aria-expanded="true"] .pgp-burger__open { display: none; }
.pgp-burger[aria-expanded="true"] .pgp-burger__close { display: block; }

/* ==========================================================================
   4. Buttons
   ========================================================================== */

.pgp-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 10px 16px;
	border: 1px solid transparent; border-radius: var(--pgp-radius-sm);
	font-size: .92rem; font-weight: 600; line-height: 1.2;
	text-decoration: none; cursor: pointer;
	transition: background-color .15s, border-color .15s, color .15s, transform .1s;
	white-space: nowrap;
}
.pgp-btn { min-width: 0; }
.pgp-btn:hover { text-decoration: none; }
.pgp-btn:active { transform: translateY(1px); }
.pgp-btn .pgp-icon { width: 18px; height: 18px; }

.pgp-btn--primary { background: var(--pgp-orange); color: #fff; }
.pgp-btn--primary:hover { background: var(--pgp-orange-dark); color: #fff; }

.pgp-btn--order { background: var(--pgp-orange); color: #fff; }
.pgp-btn--order:hover { background: var(--pgp-orange-dark); color: #fff; }

.pgp-btn--whatsapp { background: var(--pgp-wa); color: #06301a; }
.pgp-btn--whatsapp:hover { background: var(--pgp-wa-dark); color: #04250f; }

.pgp-btn--blue { background: var(--pgp-blue); color: #fff; }
.pgp-btn--blue:hover { background: var(--pgp-blue-dark); color: #fff; }

.pgp-btn--outline { background: #fff; border-color: var(--pgp-line); color: var(--pgp-ink); }
.pgp-btn--outline:hover { border-color: var(--pgp-blue); color: var(--pgp-blue); background: var(--pgp-blue-soft); }

.pgp-btn--ghost { background: var(--pgp-blue-soft); color: var(--pgp-blue-dark); }
.pgp-btn--ghost:hover { background: #dde7ff; color: var(--pgp-blue-dark); }

.pgp-btn--ghostlight { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); color: #fff; }
.pgp-btn--ghostlight:hover { background: rgba(255, 255, 255, .2); color: #fff; }

.pgp-btn--lg { padding: 13px 22px; font-size: .98rem; }
.pgp-btn--block { display: flex; width: 100%; }
.pgp-btn--block + .pgp-btn--block { margin-top: 8px; }

/* ==========================================================================
   5. Hero
   ========================================================================== */

.pgp-hero {
	background:
		radial-gradient(900px 420px at 88% -10%, rgba(249, 115, 22, .28), transparent 60%),
		radial-gradient(760px 460px at 8% 0%, rgba(59, 130, 246, .35), transparent 62%),
		linear-gradient(160deg, #10224a 0%, #0b1830 70%);
	color: #d8e2f2;
	padding: 62px 0 54px;
}
.pgp-hero__inner { display: grid; gap: 40px; }
.pgp-hero h1 { color: #fff; max-width: 19ch; }
.pgp-hero__lead { font-size: 1.1rem; color: #c2d0e8; max-width: 58ch; margin-bottom: 24px; }

.pgp-eyebrow {
	display: inline-block; margin-bottom: 14px;
	color: var(--pgp-blue); font-size: .74rem; font-weight: 700;
	letter-spacing: .13em; text-transform: uppercase;
}
.pgp-eyebrow--light { color: #7dabff; }

.pgp-herosearch {
	position: relative; display: flex; gap: 8px; align-items: center;
	background: #fff; border-radius: var(--pgp-radius); padding: 7px 7px 7px 42px;
	box-shadow: var(--pgp-shadow-lg); max-width: 620px; margin-bottom: 22px;
}
.pgp-herosearch > .pgp-icon { position: absolute; left: 14px; color: var(--pgp-muted); }
.pgp-herosearch input {
	flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px 0;
	font-size: .95rem; color: var(--pgp-ink);
}
.pgp-herosearch input:focus { outline: none; }

.pgp-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }

.pgp-hero__stats {
	display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
	list-style: none; margin: 0; padding: 0;
}
.pgp-hero__stats li {
	background: rgba(255, 255, 255, .07);
	border: 1px solid rgba(255, 255, 255, .13);
	border-radius: var(--pgp-radius); padding: 16px 18px;
}
.pgp-hero__stats b { display: block; color: #fff; font-size: 1.35rem; line-height: 1.2; }
.pgp-hero__stats span { display: block; font-size: .82rem; color: #a9bcd9; margin-top: 4px; }

/* ---- trust bar ---- */
.pgp-trustbar { background: var(--pgp-bg); border-bottom: 1px solid var(--pgp-line); }
.pgp-trustbar ul {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
	gap: 10px 26px; list-style: none; margin: 0; padding: 18px 0;
}
.pgp-trustbar li {
	display: flex; align-items: center; gap: 9px;
	color: var(--pgp-ink); font-size: .9rem; font-weight: 500;
}
.pgp-trustbar .pgp-icon { width: 17px; height: 17px; color: var(--pgp-green); }

/* ==========================================================================
   6. Sections
   ========================================================================== */

.pgp-section { padding: 58px 0; }
.pgp-section--tint { background: var(--pgp-bg); border-top: 1px solid var(--pgp-line); border-bottom: 1px solid var(--pgp-line); }
.pgp-section__more { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.pgp-section__note { margin-top: 22px; text-align: center; color: var(--pgp-muted); font-size: .88rem; }

.pgp-sectionhead { max-width: 720px; margin: 0 auto 30px; text-align: center; }
.pgp-sectionhead p { color: var(--pgp-body); font-size: 1.02rem; }

.pgp-pagehead {
	background: var(--pgp-bg);
	border-bottom: 1px solid var(--pgp-line);
	padding: 26px 0 30px;
}
.pgp-pagehead h1 { margin-bottom: 10px; }
.pgp-pagehead__lead { color: var(--pgp-body); font-size: 1.03rem; max-width: 74ch; margin: 0; }
.pgp-pagehead--market { padding-bottom: 26px; }
.pgp-pagehead--detail { background: linear-gradient(180deg, #f2f6fd, #fff); }

.pgp-page { padding: 40px 0 56px; }

.pgp-crumbs { margin-bottom: 12px; font-size: .82rem; }
.pgp-crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.pgp-crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--pgp-muted); }
.pgp-crumbs a { color: var(--pgp-muted); }
.pgp-crumbs a:hover { color: var(--pgp-blue); }
.pgp-crumbs span { color: var(--pgp-ink); font-weight: 500; }

/* ==========================================================================
   7. Listing cards
   ========================================================================== */

.pgp-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
	gap: 18px;
}
.pgp-grid.is-list { grid-template-columns: 1fr; }

.pgp-card {
	position: relative;
	min-width: 0;
	display: flex; flex-direction: column;
	background: var(--pgp-card);
	border: 1px solid var(--pgp-line);
	border-radius: var(--pgp-radius);
	padding: 18px;
	box-shadow: var(--pgp-shadow-sm);
	transition: box-shadow .18s, border-color .18s, transform .18s;
}
.pgp-card:hover { box-shadow: var(--pgp-shadow); border-color: #cfdcf1; transform: translateY(-2px); }
.pgp-card.is-featured { border-color: #ffd9b8; box-shadow: 0 0 0 1px #ffe6cf inset, var(--pgp-shadow-sm); }

.pgp-ribbon {
	align-self: flex-start;
	display: inline-flex; align-items: center; gap: 4px;
	margin: 0 0 12px; padding: 3px 10px;
	background: var(--pgp-orange); color: #fff;
	font-size: .67rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
	border-radius: 999px;
}
.pgp-ribbon .pgp-icon { width: 12px; height: 12px; }

.pgp-card__head { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 14px; }
.pgp-card__id { overflow: hidden; }
.pgp-card__avatar {
	flex: none; width: 40px; height: 40px; border-radius: 11px;
	display: grid; place-items: center;
	background: hsl(var(--h, 220) 68% 95%);
	color: hsl(var(--h, 220) 62% 34%);
	font-weight: 800; font-size: 1.05rem;
}
.pgp-card__id { min-width: 0; }
.pgp-card__title {
	display: block; color: var(--pgp-navy); font-weight: 700; font-size: 1.02rem;
	line-height: 1.3; overflow-wrap: break-word;
}
.pgp-card__title:hover { color: var(--pgp-blue); text-decoration: none; }
.pgp-card__domain {
	display: block; color: var(--pgp-muted); font-size: .82rem;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}


.pgp-card__metrics {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
	list-style: none; margin: 0 0 14px; padding: 0;
	background: var(--pgp-line-soft); border-radius: var(--pgp-radius-sm); overflow: hidden;
}
.pgp-card__metrics li { background: #fbfcfe; padding: 9px 6px; text-align: center; min-width: 0; }
.pgp-card__metrics span { display: block; color: var(--pgp-muted); font-size: .66rem; letter-spacing: .05em; text-transform: uppercase; }
.pgp-card__metrics b { display: block; color: var(--pgp-navy); font-size: .98rem; font-weight: 700; margin-top: 2px; }
.pgp-card__price b { color: var(--pgp-orange-dark); }

.pgp-card__facts {
	display: flex; flex-wrap: wrap; gap: 6px;
	list-style: none; margin: 0 0 16px; padding: 0;
}
.pgp-card__facts li {
	background: var(--pgp-bg); border: 1px solid var(--pgp-line-soft);
	color: var(--pgp-body); font-size: .72rem; font-weight: 500;
	padding: 2px 8px; border-radius: 999px;
}
.pgp-card__facts li a { color: inherit; }
.pgp-card__facts li.is-yes { background: #e9f9ef; border-color: #cdeeda; color: #12703a; }
.pgp-card__facts li.is-no { background: #f3f4f6; border-color: #e5e7eb; color: #4b5563; }
.pgp-card__facts li.is-warn { background: var(--pgp-amber-soft); border-color: #fbe3b5; color: var(--pgp-amber); }
.pgp-card__facts li.is-new { background: var(--pgp-blue-soft); border-color: #d6e2ff; color: var(--pgp-blue-dark); font-weight: 700; }

.pgp-card__actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: auto; }
.pgp-card__actions .pgp-btn { padding: 10px 12px; }

.pgp-tag {
	display: inline-flex; align-items: center; gap: 4px;
	background: var(--pgp-blue-soft); color: var(--pgp-blue-dark);
	font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 999px;
}
.pgp-tag--new { background: #e9f9ef; color: #12703a; }
.pgp-tag--star { background: var(--pgp-orange-soft); color: var(--pgp-orange-dark); }
.pgp-tag--good { background: #e9f9ef; color: #12703a; }
.pgp-tag--warn { background: var(--pgp-amber-soft); color: var(--pgp-amber); }
.pgp-tag--muted { background: #f1f4f9; color: var(--pgp-muted); }
.pgp-tag .pgp-icon { width: 12px; height: 12px; }

/* ---- list view ---- */
.pgp-grid.is-list .pgp-card {
	display: grid;
	grid-template-columns: minmax(190px, 1.4fr) minmax(240px, 1.6fr) minmax(150px, auto);
	grid-template-areas: "flag flag flag" "head metrics actions";
	align-items: center; gap: 12px 18px;
}
.pgp-grid.is-list .pgp-ribbon { grid-area: flag; justify-self: start; margin: 0; }
.pgp-grid.is-list .pgp-card__head { grid-area: head; margin: 0; padding-right: 0; }
.pgp-grid.is-list .pgp-card__metrics { grid-area: metrics; }
.pgp-grid.is-list .pgp-card__actions { grid-area: actions; }
.pgp-grid.is-list .pgp-card__metrics { margin: 0; }
.pgp-grid.is-list .pgp-card__facts { display: none; }
.pgp-grid.is-list .pgp-card__actions { grid-template-columns: 1fr; margin: 0; }

/* ==========================================================================
   8. Marketplace layout
   ========================================================================== */

.pgp-market {
	display: grid;
	grid-template-columns: 282px minmax(0, 1fr);
	gap: 26px;
	padding-top: 26px; padding-bottom: 56px;
	align-items: start;
}

.pgp-market__side { position: sticky; top: calc(var(--pgp-header-h) + 14px); }

.pgp-filters {
	background: #fff; border: 1px solid var(--pgp-line);
	border-radius: var(--pgp-radius); padding: 16px;
	box-shadow: var(--pgp-shadow-sm);
	max-height: calc(100vh - var(--pgp-header-h) - 40px);
	overflow-y: auto;
}
.pgp-filters__head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.pgp-filters__head h2 { display: flex; align-items: center; gap: 7px; font-size: 1rem; margin: 0; }
.pgp-filters__head .pgp-icon { width: 17px; height: 17px; color: var(--pgp-blue); }
.pgp-filters__reset { margin-left: auto; font-size: .82rem; color: var(--pgp-muted); }
.pgp-filters__close { display: none; background: none; border: 0; cursor: pointer; color: var(--pgp-muted); padding: 4px; }

.pgp-search { position: relative; margin: 0 0 12px; }
.pgp-search .pgp-icon { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--pgp-muted); }
.pgp-search input {
	width: 100%; padding: 10px 12px 10px 35px;
	border: 1px solid var(--pgp-line); border-radius: var(--pgp-radius-sm);
	background: #fbfcfe; font-size: .88rem;
}

.pgp-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.pgp-chip { cursor: pointer; }
.pgp-chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.pgp-chip span {
	display: inline-block; padding: 5px 11px; border-radius: 999px;
	border: 1px solid var(--pgp-line); background: #fff;
	font-size: .78rem; font-weight: 500; color: var(--pgp-body);
	transition: .15s;
}
.pgp-chip:hover span { border-color: #c8d6ee; }
.pgp-chip input:checked + span { background: var(--pgp-blue); border-color: var(--pgp-blue); color: #fff; }
.pgp-chip input:focus-visible + span { outline: 3px solid rgba(29, 78, 216, .4); outline-offset: 2px; }

.pgp-filter { border-top: 1px solid var(--pgp-line-soft); padding: 10px 0; }
.pgp-filter > summary {
	cursor: pointer; list-style: none;
	display: flex; align-items: center; justify-content: space-between;
	color: var(--pgp-navy); font-size: .88rem; font-weight: 700; padding: 4px 0;
}
.pgp-filter > summary::-webkit-details-marker { display: none; }
.pgp-filter > summary::after {
	content: ""; width: 8px; height: 8px; margin-left: 8px;
	border-right: 2px solid var(--pgp-muted); border-bottom: 2px solid var(--pgp-muted);
	transform: rotate(45deg) translateY(-2px); transition: transform .15s;
}
.pgp-filter[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
.pgp-filter__body { padding-top: 8px; }
.pgp-filter__scroll { max-height: 210px; overflow-y: auto; padding-right: 4px; }

.pgp-check {
	display: flex; align-items: center; gap: 8px;
	padding: 4px 0; font-size: .85rem; cursor: pointer; color: var(--pgp-body);
}
.pgp-check input { width: 15px; height: 15px; accent-color: var(--pgp-blue); flex: none; }
.pgp-check span { flex: 1; min-width: 0; }
.pgp-check em { color: var(--pgp-muted); font-size: .74rem; font-style: normal; }

.pgp-filter__metrics label { display: block; margin-bottom: 9px; }
.pgp-filter__metrics span { display: block; font-size: .78rem; color: var(--pgp-muted); margin-bottom: 3px; }
.pgp-filter__metrics select,
.pgp-filter__price input {
	width: 100%; padding: 8px 10px; font-size: .86rem;
	border: 1px solid var(--pgp-line); border-radius: 8px; background: #fbfcfe;
}
.pgp-filter__price { display: flex; align-items: center; gap: 8px; }
.pgp-filter__price label { flex: 1; min-width: 0; }
.pgp-filter__dash { color: var(--pgp-muted); }

.pgp-filters__actions { margin-top: 14px; }
.pgp-filters__help { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--pgp-line-soft); }
.pgp-filters__help p { font-size: .84rem; color: var(--pgp-muted); margin-bottom: 8px; }

.pgp-resultsbar {
	display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
	justify-content: space-between; margin-bottom: 16px;
}
.pgp-resultsbar__count { margin: 0; color: var(--pgp-body); font-size: .92rem; }
.pgp-resultsbar__count strong { color: var(--pgp-navy); font-size: 1.05rem; }
.pgp-resultsbar__tools { display: flex; align-items: center; gap: 10px; }

.pgp-sort {
	display: inline-flex; align-items: center; gap: 6px;
	background: #fff; border: 1px solid var(--pgp-line); border-radius: var(--pgp-radius-sm);
	padding: 6px 10px;
}
.pgp-sort .pgp-icon { width: 15px; height: 15px; color: var(--pgp-muted); }
.pgp-sort select { border: 0; background: transparent; font-size: .86rem; font-weight: 500; color: var(--pgp-ink); cursor: pointer; }
.pgp-sort select:focus { outline: none; }

.pgp-viewtoggle { display: flex; background: #fff; border: 1px solid var(--pgp-line); border-radius: var(--pgp-radius-sm); overflow: hidden; }
.pgp-viewtoggle button {
	border: 0; background: transparent; padding: 8px 12px;
	font-size: .82rem; font-weight: 600; color: var(--pgp-muted); cursor: pointer;
}
.pgp-viewtoggle button.is-active { background: var(--pgp-blue-soft); color: var(--pgp-blue-dark); }

.pgp-market__main.is-loading { opacity: .45; pointer-events: none; transition: opacity .12s; }

.pgp-drawer-open {
	display: none; align-items: center; justify-content: center; gap: 8px;
	width: 100%; margin-bottom: 14px; padding: 12px;
	background: #fff; border: 1px solid var(--pgp-line); border-radius: var(--pgp-radius-sm);
	font-weight: 600; color: var(--pgp-ink); cursor: pointer; box-shadow: var(--pgp-shadow-sm);
}
.pgp-drawer-backdrop { display: none; }

.pgp-empty {
	text-align: center; background: #fff; border: 1px dashed var(--pgp-line);
	border-radius: var(--pgp-radius); padding: 44px 24px;
}
.pgp-empty h2 { font-size: 1.4rem; }
.pgp-empty p { max-width: 52ch; margin: 0 auto 20px; color: var(--pgp-body); }
.pgp-empty__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

.pgp-pagination { margin-top: 28px; }
.pgp-pagination ul { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; list-style: none; margin: 0; padding: 0; }
.pgp-pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 40px; height: 40px; padding: 0 12px;
	background: #fff; border: 1px solid var(--pgp-line); border-radius: 10px;
	color: var(--pgp-ink); font-size: .9rem; font-weight: 600;
}
.pgp-pagination .page-numbers:hover { border-color: var(--pgp-blue); color: var(--pgp-blue); text-decoration: none; }
.pgp-pagination .page-numbers.current { background: var(--pgp-blue); border-color: var(--pgp-blue); color: #fff; }
.pgp-pagination .dots { border: 0; background: none; }

/* ==========================================================================
   9. Detail page
   ========================================================================== */

.pgp-detail__head { display: flex; align-items: flex-start; gap: 16px; }
.pgp-detail__avatar {
	flex: none; width: 62px; height: 62px; border-radius: 16px;
	display: grid; place-items: center;
	background: hsl(var(--h, 220) 68% 94%); color: hsl(var(--h, 220) 62% 32%);
	font-size: 1.7rem; font-weight: 800;
}
.pgp-detail__head h1 { margin-bottom: 4px; }
.pgp-detail__domain { color: var(--pgp-muted); margin: 0 0 10px; overflow-wrap: anywhere; }
.pgp-detail__badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }

.pgp-detail__body {
	display: grid; grid-template-columns: minmax(0, 1fr) 330px;
	gap: 30px; padding-top: 32px; padding-bottom: 50px; align-items: start;
}
.pgp-detail__side { position: sticky; top: calc(var(--pgp-header-h) + 16px); display: grid; gap: 16px; }
.pgp-detail__thumb { margin: 0 0 24px; border-radius: var(--pgp-radius); overflow: hidden; border: 1px solid var(--pgp-line); }

.pgp-metricgrid {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(min(140px, 100%), 1fr)); gap: 12px;
	list-style: none; margin: 0 0 26px; padding: 0;
}
.pgp-metricgrid li {
	background: #fff; border: 1px solid var(--pgp-line); border-radius: var(--pgp-radius-sm);
	padding: 13px 15px;
}
.pgp-metricgrid span { display: block; color: var(--pgp-muted); font-size: .74rem; letter-spacing: .04em; text-transform: uppercase; }
.pgp-metricgrid b { display: block; color: var(--pgp-navy); font-size: 1.28rem; margin-top: 3px; }

.pgp-block { margin-bottom: 30px; }
.pgp-block h2 { font-size: 1.28rem; }

.pgp-spectable { background: #fff; border: 1px solid var(--pgp-line); border-radius: var(--pgp-radius); overflow: hidden; }
.pgp-spectable th, .pgp-spectable td { padding: 11px 15px; text-align: left; font-size: .92rem; border-bottom: 1px solid var(--pgp-line-soft); }
.pgp-spectable tr:last-child th, .pgp-spectable tr:last-child td { border-bottom: 0; }
.pgp-spectable th { width: 42%; color: var(--pgp-muted); font-weight: 500; background: #fbfcfe; }
.pgp-spectable td { color: var(--pgp-ink); }

.pgp-orderbox {
	background: #fff; border: 1px solid var(--pgp-line); border-radius: var(--pgp-radius);
	padding: 20px; box-shadow: var(--pgp-shadow);
}
.pgp-orderbox__label { color: var(--pgp-muted); font-size: .8rem; letter-spacing: .05em; text-transform: uppercase; margin: 0; }
.pgp-orderbox__price { color: var(--pgp-navy); font-size: 2.1rem; font-weight: 800; line-height: 1.1; margin: 2px 0 6px; }
.pgp-orderbox__note { color: var(--pgp-muted); font-size: .84rem; margin-bottom: 16px; }
.pgp-orderbox__facts { list-style: none; margin: 16px 0 0; padding: 16px 0 0; border-top: 1px solid var(--pgp-line-soft); display: grid; gap: 9px; }
.pgp-orderbox__facts li { display: flex; align-items: center; gap: 9px; font-size: .87rem; color: var(--pgp-body); }
.pgp-orderbox__facts .pgp-icon { width: 17px; height: 17px; color: var(--pgp-blue); flex: none; }

.pgp-sidecard { background: var(--pgp-bg); border: 1px solid var(--pgp-line); border-radius: var(--pgp-radius); padding: 20px; }
.pgp-sidecard h3 { font-size: 1.02rem; }
.pgp-sidecard p { font-size: .9rem; margin-bottom: 14px; }
.pgp-sidecard__or { text-align: center; color: var(--pgp-muted); font-size: .8rem; margin: 10px 0 8px; }

.pgp-ticklist { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 9px; }
.pgp-ticklist li { display: flex; align-items: flex-start; gap: 9px; font-size: .89rem; }
.pgp-ticklist .pgp-icon { width: 17px; height: 17px; color: var(--pgp-green); flex: none; margin-top: 2px; }

/* ==========================================================================
   10. Content blocks
   ========================================================================== */

.pgp-prose { color: var(--pgp-body); }
.pgp-prose h2 { margin-top: 1.5em; font-size: 1.35rem; }
.pgp-prose h3 { margin-top: 1.3em; }
.pgp-prose ul, .pgp-prose ol { padding-left: 1.2em; }
.pgp-prose li { margin-bottom: .4em; }
.pgp-prose img { border-radius: var(--pgp-radius-sm); }
.pgp-prose blockquote {
	margin: 1.4em 0; padding: 14px 20px; border-left: 3px solid var(--pgp-blue);
	background: var(--pgp-blue-soft); border-radius: 0 var(--pgp-radius-sm) var(--pgp-radius-sm) 0;
}
.pgp-prose code { background: var(--pgp-bg); padding: 2px 6px; border-radius: 5px; font-size: .9em; }
.pgp-prose table th, .pgp-prose table td { border: 1px solid var(--pgp-line); padding: 9px 12px; text-align: left; }

.pgp-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 18px; list-style: none; margin: 0; padding: 0; counter-reset: pgp; }
.pgp-steps li { background: #fff; border: 1px solid var(--pgp-line); border-radius: var(--pgp-radius); padding: 24px; box-shadow: var(--pgp-shadow-sm); }
.pgp-steps__n {
	display: inline-grid; place-items: center; width: 38px; height: 38px; margin-bottom: 12px;
	background: var(--pgp-blue); color: #fff; border-radius: 11px; font-weight: 800;
}
.pgp-steps h2, .pgp-steps h3 { font-size: 1.12rem; margin-bottom: 6px; }
.pgp-steps p { font-size: .93rem; margin: 0; }
.pgp-steps--lg li { padding: 30px; }

.pgp-benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.pgp-benefit { background: #fff; border: 1px solid var(--pgp-line); border-radius: var(--pgp-radius); padding: 20px; }
.pgp-benefit__icon {
	display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 12px;
	background: var(--pgp-blue-soft); color: var(--pgp-blue); border-radius: 11px;
}
.pgp-benefit h3 { font-size: 1rem; margin-bottom: 5px; }
.pgp-benefit p { font-size: .89rem; margin: 0; }

.pgp-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); gap: 12px; }
.pgp-cat {
	display: flex; align-items: center; gap: 10px;
	background: #fff; border: 1px solid var(--pgp-line); border-radius: var(--pgp-radius);
	padding: 15px 17px; transition: .15s;
}
.pgp-cat:hover { border-color: var(--pgp-blue); box-shadow: var(--pgp-shadow-sm); text-decoration: none; transform: translateY(-1px); }
.pgp-cat__name { color: var(--pgp-navy); font-weight: 600; font-size: .96rem; }
.pgp-cat__count { color: var(--pgp-muted); font-size: .8rem; margin-left: auto; }
.pgp-cat__arrow { width: 16px; height: 16px; color: var(--pgp-blue); }
.pgp-cats--small .pgp-cat { padding: 11px 14px; }
.pgp-cats--small .pgp-cat__name { font-size: .89rem; }

.pgp-bands { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: 14px; }
.pgp-band {
	display: block; text-align: center; background: #fff;
	border: 1px solid var(--pgp-line); border-radius: var(--pgp-radius); padding: 22px 16px;
	transition: .15s;
}
.pgp-band:hover { border-color: var(--pgp-orange); box-shadow: var(--pgp-shadow-sm); text-decoration: none; transform: translateY(-2px); }
.pgp-band strong { display: block; color: var(--pgp-navy); font-size: 1.18rem; }
.pgp-band span { display: block; color: var(--pgp-blue); font-size: .84rem; font-weight: 600; margin-top: 5px; }

.pgp-pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr)); gap: 18px; align-items: start; }
.pgp-tier {
	position: relative; background: #fff; border: 1px solid var(--pgp-line);
	border-radius: var(--pgp-radius); padding: 26px 22px; box-shadow: var(--pgp-shadow-sm);
}
.pgp-tier.is-best { border-color: var(--pgp-orange); box-shadow: var(--pgp-shadow); }
.pgp-tier__flag {
	position: absolute; top: -12px; left: 22px;
	background: var(--pgp-orange); color: #fff; font-size: .7rem; font-weight: 700;
	letter-spacing: .05em; text-transform: uppercase; padding: 4px 11px; border-radius: 999px;
}
.pgp-tier__price { color: var(--pgp-navy); font-size: 2rem; font-weight: 800; line-height: 1.1; margin: 6px 0 16px; }
.pgp-tier__price span { display: block; color: var(--pgp-muted); font-size: .82rem; font-weight: 500; margin-top: 4px; }
.pgp-tier ul { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 9px; }
.pgp-tier li { display: flex; align-items: flex-start; gap: 9px; font-size: .9rem; }
.pgp-tier .pgp-icon { width: 17px; height: 17px; color: var(--pgp-green); flex: none; margin-top: 2px; }

.pgp-faq { display: grid; gap: 10px; }
.pgp-faq__item { background: #fff; border: 1px solid var(--pgp-line); border-radius: var(--pgp-radius-sm); padding: 14px 18px; }
.pgp-faq__item summary {
	cursor: pointer; list-style: none; color: var(--pgp-navy); font-weight: 600;
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.pgp-faq__item summary::-webkit-details-marker { display: none; }
.pgp-faq__item summary::after {
	content: "+"; color: var(--pgp-blue); font-size: 1.3rem; font-weight: 400; line-height: 1; flex: none;
}
.pgp-faq__item[open] summary::after { content: "−"; }
.pgp-faq__item p { margin: 10px 0 0; font-size: .93rem; }

.pgp-twocol { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }

.pgp-postgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 20px; }
.pgp-post { background: #fff; border: 1px solid var(--pgp-line); border-radius: var(--pgp-radius); overflow: hidden; box-shadow: var(--pgp-shadow-sm); }
.pgp-post__thumb img { width: 100%; }
.pgp-post__body { padding: 18px; }
.pgp-post__body h2 { font-size: 1.1rem; }
.pgp-post__meta { color: var(--pgp-muted); font-size: .82rem; }
.pgp-post__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .88rem; }
.pgp-post__more .pgp-icon { width: 16px; height: 16px; }

/* ==========================================================================
   11. Forms
   ========================================================================== */

.pgp-requestlayout {
	display: grid; grid-template-columns: minmax(0, 1fr) 320px;
	gap: 30px; padding-top: 36px; padding-bottom: 56px; align-items: start;
}
.pgp-requestlayout__side { display: grid; gap: 16px; position: sticky; top: calc(var(--pgp-header-h) + 16px); }

.pgp-form { background: #fff; border: 1px solid var(--pgp-line); border-radius: var(--pgp-radius); padding: 24px; box-shadow: var(--pgp-shadow-sm); }
.pgp-form__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(215px, 100%), 1fr)); gap: 14px; }
.pgp-form__field { margin: 0; display: flex; flex-direction: column; }
.pgp-form__field.is-wide { grid-column: 1 / -1; }
.pgp-form__field label { color: var(--pgp-ink); font-size: .84rem; font-weight: 600; margin-bottom: 5px; }
.pgp-form__field input,
.pgp-form__field select,
.pgp-form__field textarea {
	width: 100%; padding: 10px 12px;
	border: 1px solid var(--pgp-line); border-radius: var(--pgp-radius-sm);
	background: #fbfcfe; font-size: .92rem;
}
.pgp-form__field textarea { resize: vertical; }
.pgp-form__field input:focus, .pgp-form__field select:focus, .pgp-form__field textarea:focus {
	border-color: var(--pgp-blue); background: #fff;
}
.pgp-req { color: var(--pgp-orange); }
.pgp-form__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.pgp-form__note { color: var(--pgp-muted); font-size: .84rem; margin: 12px 0 0; }
.pgp-hp { position: absolute !important; left: -9999px; }

.pgp-notice { border-radius: var(--pgp-radius); padding: 20px 22px; margin-bottom: 20px; }
.pgp-notice--success { background: #e9f9ef; border: 1px solid #bfe8cf; }
.pgp-notice--success h3 { color: #0f6c37; margin-bottom: 6px; }
.pgp-notice--error { background: #fdecec; border: 1px solid #f6c9c9; color: #a12222; }

/* ==========================================================================
   12. CTA band + footer
   ========================================================================== */

.pgp-cta-band { background: linear-gradient(135deg, #14264d, #0c1a35); color: #cdd9ee; }
.pgp-cta-band__inner {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
	gap: 22px; padding: 40px 20px;
}
.pgp-cta-band h2 { color: #fff; margin-bottom: 6px; font-size: clamp(1.3rem, 1rem + 1.2vw, 1.8rem); }
.pgp-cta-band p { margin: 0; max-width: 60ch; }
.pgp-cta-band__actions { display: flex; flex-wrap: wrap; gap: 10px; }

.pgp-footer { background: var(--pgp-navy); color: #9fb1cd; font-size: .92rem; }
.pgp-footer__grid {
	display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
	gap: 34px; padding-top: 48px; padding-bottom: 38px;
}
.pgp-footer__brand p { margin: 14px 0 16px; max-width: 42ch; }
.pgp-footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.pgp-footer__contact li { display: flex; align-items: center; gap: 9px; }
.pgp-footer__contact .pgp-icon { width: 17px; height: 17px; color: var(--pgp-wa); }
.pgp-footer h3 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.pgp-footer ul.pgp-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.pgp-footer a { color: #b8c7e0; }
.pgp-footer a:hover { color: #fff; text-decoration: none; }
.pgp-footer__bar { border-top: 1px solid rgba(255, 255, 255, .1); }
.pgp-footer__bar-inner {
	display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between;
	padding-top: 18px; padding-bottom: 18px; font-size: .84rem; color: #7f92b1;
}
.pgp-footer__bar p { margin: 0; }

/* ---- floating WhatsApp ---- */
.pgp-float {
	position: fixed; right: 18px; bottom: 18px; z-index: 80;
	display: inline-flex; align-items: center; gap: 9px;
	background: var(--pgp-wa); color: #06301a;
	padding: 13px 18px; border-radius: 999px; font-weight: 700; font-size: .92rem;
	box-shadow: 0 10px 28px rgba(37, 211, 102, .4);
	transition: transform .15s, box-shadow .15s;
}
.pgp-float:hover { transform: translateY(-2px); color: #06301a; text-decoration: none; box-shadow: 0 14px 34px rgba(37, 211, 102, .5); }
.pgp-float .pgp-icon { width: 22px; height: 22px; }

/* ==========================================================================
   13. Responsive
   ========================================================================== */

@media (min-width: 900px) {
	.pgp-hero__inner { grid-template-columns: 1.55fr 1fr; align-items: center; }
	.pgp-hero__stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1080px) {
	.pgp-market { grid-template-columns: 250px minmax(0, 1fr); gap: 20px; }
	.pgp-detail__body { grid-template-columns: minmax(0, 1fr) 300px; }
	.pgp-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
	.pgp-footer__brand { grid-column: 1 / -1; }
}

/* The full eight-item menu plus the logo and the WhatsApp CTA needs a wide
   row; below that the header collapses into the off-canvas drawer. */
@media (max-width: 1359px) {
	.pgp-burger { display: inline-flex; position: relative; z-index: 110; }

	/* Off-canvas panels are removed from the layout when closed, so they can
	   never widen the document and create a horizontal scrollbar. */
	.pgp-nav {
		display: none;
		position: fixed; inset: 0 0 0 auto; width: min(340px, 88vw);
		background: #fff; border-left: 1px solid var(--pgp-line);
		flex-direction: column; align-items: stretch; gap: 0;
		padding: 118px 20px 24px; margin: 0; overflow-y: auto;
		box-shadow: var(--pgp-shadow-lg); z-index: 90;
	}
	.pgp-nav.is-open { display: flex; animation: pgp-slide-right .22s ease; }
	.pgp-menu { flex-direction: column; align-items: stretch; gap: 2px; }
	.pgp-menu a { padding: 12px 14px; font-size: 1rem; }
	.pgp-menu .sub-menu {
		position: static; opacity: 1; visibility: visible; transform: none;
		box-shadow: none; border: 0; padding-left: 12px;
	}
	.pgp-nav__cta { display: flex; flex-direction: column; align-items: stretch; margin-top: 18px; }
	.pgp-nav__cta .pgp-btn { width: 100%; }
	.pgp-nav__cta .pgp-btn--outline { display: flex; }
}

@media (max-width: 900px) {
	.pgp-detail__body,
	.pgp-requestlayout,
	.pgp-twocol { grid-template-columns: minmax(0, 1fr); }
	.pgp-detail__side,
	.pgp-requestlayout__side { position: static; }

	.pgp-market { grid-template-columns: minmax(0, 1fr); }
	.pgp-drawer-open { display: flex; }

	.pgp-market__side {
		display: none;
		position: fixed; inset: 0 auto 0 0; z-index: 120;
		width: min(360px, 92vw); background: #fff;
		box-shadow: var(--pgp-shadow-lg);
	}
	.pgp-market__side.is-open { display: block; animation: pgp-slide-left .22s ease; }
	.pgp-filters {
		height: 100%; max-height: none; border: 0; border-radius: 0;
		box-shadow: none; padding: 18px; overflow-y: auto;
	}
	.pgp-filters__close { display: block; }
	.pgp-drawer-backdrop {
		display: block; position: fixed; inset: 0; z-index: 115;
		background: rgba(11, 24, 48, .5);
	}
	.pgp-drawer-backdrop[hidden] { display: none; }

	.pgp-grid.is-list .pgp-card { grid-template-columns: minmax(0, 1fr); grid-template-areas: "flag" "head" "metrics" "actions"; }
}

@media (max-width: 640px) {
	.pgp-topbar__note { display: none; }
	.pgp-topbar__inner { justify-content: center; }
	.pgp-hero { padding: 40px 0 38px; }
	.pgp-hero__actions .pgp-btn { flex: 1 1 100%; }
	.pgp-herosearch { flex-wrap: wrap; padding-left: 38px; }
	.pgp-herosearch .pgp-btn { width: 100%; }
	.pgp-hero__stats { grid-template-columns: 1fr 1fr; }
	.pgp-section { padding: 42px 0; }
	.pgp-grid { grid-template-columns: 1fr; }
	.pgp-card__actions { grid-template-columns: 1fr; }
	.pgp-footer__grid { grid-template-columns: 1fr 1fr; gap: 26px; }
	.pgp-float { right: 12px; bottom: 12px; padding: 12px 15px; }
	.pgp-float__label { display: none; }
	.pgp-detail__head { flex-direction: column; }
	.pgp-spectable th { width: 50%; }
	.pgp-resultsbar { flex-direction: column; align-items: stretch; }
	.pgp-resultsbar__tools { justify-content: space-between; }
	.pgp-cta-band__inner { flex-direction: column; align-items: flex-start; }
	.pgp-cta-band__actions .pgp-btn { flex: 1 1 auto; }
}

@media (max-width: 420px) {
	.pgp-hero__stats { grid-template-columns: 1fr; }
	.pgp-footer__grid { grid-template-columns: 1fr; }
	.pgp-card__metrics { grid-template-columns: repeat(2, 1fr); }
}

@keyframes pgp-slide-right { from { transform: translateX(100%); } to { transform: none; } }
@keyframes pgp-slide-left { from { transform: translateX(-100%); } to { transform: none; } }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Printing a listing should give a clean spec sheet. */
@media print {
	.pgp-topbar, .pgp-header, .pgp-float, .pgp-cta-band, .pgp-footer,
	.pgp-market__side, .pgp-drawer-open, .pgp-detail__side { display: none !important; }
	body { background: #fff; }
}
