/* ==========================================================================
   Peplogy — pages (designs: About, Contact Support, Default page — with
   content / blank; 1440px artboards). Also 404, search, COA library and
   private ticket pages, which follow the same system.
   1. Page header band   2. Content typography   3. Buttons & fields
   4. About   5. Contact   6. COA library   7. 404 & search
   8. Ticket page   9. Responsive   10. Wholesale
   ========================================================================== */

.page-hero,
.page-body,
.about-page,
.contact-wrap {
	--pl-page-pad: var(--pl-gutter-wide);
}

/* 1. Page header band ------------------------------------------------------ */
.page-hero {
	padding: 32px var(--pl-page-pad) 44px;
}

.page-hero--bordered {
	border-bottom: 1px solid var(--pl-line);
}

.page-hero--contact {
	padding-bottom: 40px;
}

.page-hero__inner {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	max-width: 1216px;
}

.page-hero--center .page-hero__inner {
	align-items: center;
	margin-inline: auto;
	text-align: center;
}

.page-hero__title {
	margin: 0;
	font-size: clamp(36px, 3.7vw, 52px);
	font-weight: 500;
	line-height: 1.05;
	color: var(--pl-ink);
}

.page-hero__text {
	max-width: 700px;
	margin: 0;
	font-size: 17px;
	line-height: 1.6;
	color: #34445e;
}

.page-hero__meta {
	margin: 0;
	font-size: 14px;
	color: var(--pl-muted);
}

.page-hero__meta time {
	font-weight: 700;
	color: var(--pl-ink);
}

/* 2. Content typography (Classic Editor output) ---------------------------- */
.page-body {
	padding: 56px var(--pl-page-pad) 88px;
}

.page-body--empty {
	min-height: 160px;
	padding-block: 64px;
}

.page-body--wide {
	display: flex;
	flex-direction: column;
	gap: 56px;
}

.prose {
	max-width: 760px;
	margin-inline: auto;
	display: flex;
	flex-direction: column;
	gap: 20px;
	font-size: 17px;
	line-height: 1.8;
	color: #2e3d55;
	/* Long compound names, lot numbers and URLs wrap instead of widening the page on phones. */
	overflow-wrap: break-word;
	min-width: 0;
}

.prose > * {
	margin: 0;
}

.prose h2 {
	margin-top: 16px;
	font-size: 32px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--pl-ink);
}

.prose h3 {
	margin-top: 8px;
	font-family: var(--pl-sans);
	font-size: 22px;
	font-weight: 800;
	line-height: 1.3;
	color: var(--pl-ink);
}

.prose h4 {
	font-family: var(--pl-sans);
	font-size: 18px;
	font-weight: 800;
	color: var(--pl-ink);
}

.prose a:not(.btn) {
	font-weight: 700;
	color: var(--pl-blue);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.prose a:not(.btn):hover {
	color: var(--pl-navy);
}

.prose strong,
.prose b {
	color: var(--pl-ink);
}

.prose ul,
.prose ol {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding-left: 22px;
	line-height: 1.7;
}

.prose li > ul,
.prose li > ol {
	margin-top: 8px;
}

.prose blockquote {
	margin: 8px 0;
	padding: 18px 24px;
	border-left: 4px solid var(--pl-sky);
	border-radius: 0 12px 12px 0;
	background: var(--pl-white);
	font-family: var(--pl-serif);
	font-size: 21px;
	line-height: 1.5;
	color: var(--pl-navy);
}

.prose blockquote p {
	margin: 0;
}

.prose blockquote cite {
	display: block;
	margin-top: 8px;
	font-family: var(--pl-sans);
	font-size: 14px;
	font-style: normal;
	color: var(--pl-muted);
}

.notice-box {
	margin: 0;
	padding: 18px 22px 18px 54px;
	border: 1px solid #b7d8f7;
	border-radius: 14px;
	background: #e8f3fe url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%231668C7' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 8v.01M12 11v5'/%3E%3C/svg%3E") no-repeat 22px 20px;
	font-size: 15px;
	line-height: 1.6;
	color: var(--pl-ink);
}

.prose figure,
.prose .wp-caption {
	max-width: 100%;
	margin: 8px 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.prose img {
	border-radius: 16px;
}

.prose figcaption,
.prose .wp-caption-text {
	font-size: 13px;
	line-height: 1.5;
	color: var(--pl-muted);
}

.prose table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	border: 1px solid var(--pl-line);
	border-radius: 14px;
	overflow: hidden;
	background: var(--pl-white);
	font-size: 14px;
	line-height: 1.5;
}

.prose th,
.prose td {
	padding: 13px 18px;
	border-top: 1px solid var(--pl-line-soft);
	text-align: left;
	vertical-align: top;
}

.prose thead th,
.prose table > tbody:first-child > tr:first-child > th {
	border-top: none;
	background: var(--pl-navy);
	color: var(--pl-white);
	font-size: 13px;
	font-weight: 800;
}

.prose tbody tr:nth-child(even) td {
	background: #f7fafe;
}

.prose tbody td:first-child {
	font-weight: 700;
	color: var(--pl-ink);
}

.prose hr {
	width: 100%;
	height: 1px;
	margin: 8px 0;
	border: none;
	background: var(--pl-line);
}

.prose code,
.prose kbd {
	padding: 2px 6px;
	border-radius: 6px;
	background: var(--pl-tint);
	font-size: 0.9em;
}

.prose pre {
	overflow-x: auto;
	padding: 16px 18px;
	border-radius: 12px;
	background: var(--pl-deep-navy);
	color: var(--pl-on-dark-strong);
	font-size: 14px;
	line-height: 1.6;
}

/* Code inside a block keeps the dark block's colours, not the inline-code chip. */
.prose pre code {
	padding: 0;
	border-radius: 0;
	background: none;
	color: inherit;
	font-size: inherit;
}

.prose .btn-row,
.prose p:has(> .btn + .btn) {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.prose .alignleft {
	float: left;
	margin: 6px 24px 12px 0;
}

.prose .alignright {
	float: right;
	margin: 6px 0 12px 24px;
}

.prose .aligncenter {
	margin-inline: auto;
}

.page-links {
	display: flex;
	gap: 8px;
	font-weight: 700;
}

/* 3. Buttons & fields ------------------------------------------------------ */
.field-label {
	font-size: 13px;
	font-weight: 700;
	color: var(--pl-ink);
}

.field {
	width: 100%;
	height: 46px;
	padding: 0 14px;
	border: 1px solid #c6d3e2;
	border-radius: 10px;
	background: var(--pl-white);
	color: var(--pl-ink);
	font: inherit;
	font-size: 15px;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.field::placeholder {
	color: #7c8ba1;
}

.field:focus {
	border-color: var(--pl-sky);
	outline: none;
	box-shadow: 0 0 0 3px rgba(77, 163, 245, 0.25);
}

.field[aria-invalid="true"] {
	border-color: #c62828;
}

.field--select {
	padding-right: 36px;
	appearance: none;
	background: var(--pl-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230B1F3F' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
}

.field--area {
	height: auto;
	min-height: 120px;
	padding: 12px 14px;
	line-height: 1.55;
	resize: vertical;
}

.form-error {
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	color: #b3261e;
}

.form-error[data-error-for="form"] {
	padding: 12px 14px;
	border-radius: 10px;
	background: #fdecea;
}

.status-pill {
	height: 26px;
	padding: 0 12px;
	display: inline-flex;
	align-items: center;
	border-radius: var(--pl-radius-pill);
	background: var(--pl-tint);
	color: var(--pl-navy);
	font-size: 12px;
	font-weight: 800;
	vertical-align: middle;
}

.status-pill--completed,
.status-pill--open {
	background: #d8f3e1;
	color: #0a5c24;
}

.status-pill--on-hold,
.status-pill--pending,
.status-pill--waiting {
	background: #fcf0cf;
	color: #6e4c00;
}

.status-pill--cancelled,
.status-pill--failed,
.status-pill--refunded,
.status-pill--closed {
	background: #eceff3;
	color: #4a5b75;
}

/* 4. About ------------------------------------------------------------------ */
.about-hero {
	display: flex;
	flex-direction: column;
	gap: 28px;
	padding: 32px var(--pl-page-pad) 72px;
	color: var(--pl-white);
}

.about-hero .breadcrumbs ol,
.about-hero .breadcrumbs a {
	color: #9db4d6;
}

.about-hero .breadcrumbs [aria-current="page"] {
	color: var(--pl-white);
}

.about-hero__grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 48px;
	align-items: center;
}

.about-hero__copy {
	grid-column: span 7;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 18px;
}

.about-hero__grid--solo .about-hero__copy {
	grid-column: span 9;
}

.about-hero__title {
	margin: 0;
	font-size: clamp(40px, 4vw, 58px);
	font-weight: 500;
	line-height: 1.04;
	color: var(--pl-white);
}

.about-hero__line {
	display: inline-block;
}

.about-hero__text {
	max-width: 600px;
	margin: 0;
	font-size: 18px;
	line-height: 1.7;
	color: #d8e4f3;
}

.about-hero .home-buttons {
	padding-top: 6px;
}

.about-hero .home-btn {
	height: 50px;
	padding: 0 24px;
}

.about-hero__media {
	grid-column: span 5;
	height: 380px;
	margin: 0;
	overflow: hidden;
	border-radius: 22px;
}

.about-hero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.about-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 0;
	padding-top: 28px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.about-stats__item {
	display: flex;
	flex-direction: column-reverse;
	justify-content: flex-end;
	gap: 6px;
	padding-left: 28px;
	border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.about-stats__item:first-child {
	padding-left: 0;
	border-left: none;
}

.about-stats__value {
	margin: 0;
	font-family: var(--pl-serif);
	font-size: 40px;
	font-weight: 600;
	line-height: 1.1;
	color: var(--pl-white);
}

.about-stats__label {
	font-size: 14px;
	color: var(--pl-on-dark);
}

.about-h2 {
	margin: 0;
	font-size: clamp(30px, 2.8vw, 40px);
	font-weight: 600;
	line-height: 1.12;
	color: var(--pl-ink);
}

.about-h2--light {
	font-size: clamp(30px, 2.9vw, 42px);
	color: var(--pl-white);
}

.about-h2--sm {
	font-size: clamp(28px, 2.5vw, 36px);
}

.about-story {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 56px;
	padding: 88px var(--pl-page-pad);
}

.about-story__head {
	grid-column: span 5;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.about-story__body {
	grid-column: span 7;
	display: flex;
	flex-direction: column;
	gap: 16px;
	font-size: 17px;
	line-height: 1.8;
	color: #2e3d55;
}

.about-story__body > * {
	margin: 0;
}

.about-story__body a {
	font-weight: 700;
}

.about-commitments {
	display: flex;
	flex-direction: column;
	gap: 28px;
	padding: 88px var(--pl-page-pad);
	background: var(--pl-page);
}

.about-commitments .home-head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	text-align: center;
}

.about-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.about-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 28px;
	border: 1px solid var(--pl-line);
	border-radius: 18px;
	background: var(--pl-white);
}

.about-card__num {
	font-family: var(--pl-serif);
	font-size: 28px;
	font-weight: 600;
	line-height: 1;
	color: #4f95dc;
}

.about-card__title {
	margin: 0;
	font-family: var(--pl-sans);
	font-size: 20px;
	font-weight: 800;
	color: var(--pl-ink);
}

.about-card__text {
	margin: 0;
	font-size: 15px;
	line-height: 1.65;
	color: var(--pl-muted);
}

.about-process {
	display: flex;
	flex-direction: column;
	gap: 36px;
	padding: 88px var(--pl-page-pad);
}

.about-process__head {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.about-steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.about-step {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 26px;
	border: 1px solid var(--pl-dark-line);
	border-radius: 16px;
	background: rgba(18, 37, 74, 0.72);
}

.about-step__num {
	font-family: var(--pl-serif);
	font-size: 34px;
	font-weight: 600;
	line-height: 1;
	color: var(--pl-sky);
}

.about-step__title {
	margin: 0;
	font-family: var(--pl-sans);
	font-size: 18px;
	font-weight: 800;
	color: var(--pl-white);
}

.about-step__text {
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	color: var(--pl-on-dark);
}

.about-compliance {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 48px;
	align-items: center;
	padding: 80px var(--pl-page-pad);
	background: var(--pl-white);
}

.about-compliance__copy {
	grid-column: span 7;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.about-compliance__text {
	margin: 0;
	font-size: 16px;
	line-height: 1.75;
	color: #2e3d55;
}

.about-cta {
	grid-column: span 5;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	padding: 32px;
	border-radius: 20px;
}

.about-cta__title {
	margin: 0;
	font-family: var(--pl-sans);
	font-size: 22px;
	font-weight: 800;
	color: var(--pl-white);
}

.about-cta__text {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
	color: #c9d6e8;
}

.about-content {
	background: var(--pl-white);
}

/* 5. Contact ---------------------------------------------------------------- */
.contact-wrap {
	padding: 48px var(--pl-page-pad) 72px;
}

.contact-panel {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 28px;
	align-items: start;
	padding: 40px;
	border-radius: 24px;
}

.contact-panel__side {
	grid-column: span 5;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.contact-panel__main {
	grid-column: span 7;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.contact-points {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	padding: 4px 0 8px;
	list-style: none;
}

.contact-points li {
	display: flex;
	gap: 10px;
	font-size: 15px;
	line-height: 1.55;
	color: #e6eef8;
}

.contact-points .icon {
	flex-shrink: 0;
	margin-top: 3px;
	color: var(--pl-sky);
}

.contact-card {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 24px;
	border-radius: 16px;
	background: var(--pl-white);
	color: var(--pl-ink);
	text-decoration: none;
}

a.contact-card:hover {
	color: var(--pl-ink);
}

.contact-card__icon {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	background: var(--pl-navy);
	color: var(--pl-sky);
}

.contact-card__title {
	padding-top: 6px;
	font-size: 18px;
	font-weight: 800;
}

.contact-card__link {
	align-self: flex-start;
	font-size: 15px;
	font-weight: 700;
	color: var(--pl-blue);
	text-decoration: none;
}

.contact-card__link:hover {
	color: var(--pl-navy);
}

.contact-card__text {
	font-size: 14px;
	line-height: 1.55;
	color: var(--pl-muted);
}

/* "Track my tickets": hidden until the link is used (or :target without JS). */
.track-form {
	display: none;
	flex-direction: column;
	gap: 8px;
	margin-top: 8px;
	padding-top: 14px;
	border-top: 1px solid var(--pl-line-soft);
}

.contact-card--tickets.is-open .track-form,
.track-form:target {
	display: flex;
}

.track-form__fields {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.track-form__fields[hidden],
.track-form__sent[hidden] {
	display: none;
}

.track-form__row {
	display: flex;
	gap: 8px;
}

.track-form__row .field {
	flex: 1 1 auto;
	min-width: 0;
}

.track-form__sent {
	display: flex;
	gap: 8px;
	font-size: 14px;
	line-height: 1.55;
	color: var(--pl-ink);
}

.track-form__sent .icon {
	flex-shrink: 0;
	margin-top: 3px;
	color: #1a8a45;
}

.contact-details {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0;
	padding: 22px 24px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.06);
	color: #e6eef8;
}

.contact-details > div {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.contact-details dt {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #9db4d6;
}

.contact-details dd {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.5;
	color: var(--pl-white);
}

.contact-details a {
	color: var(--pl-white);
	text-decoration: none;
}

.contact-details a:hover {
	color: var(--pl-sky);
}

.contact-box {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 26px 28px;
	border-radius: 18px;
	background: var(--pl-white);
	color: var(--pl-ink);
	scroll-margin-top: calc(var(--pl-header-h) + 16px);
}

.contact-box__head {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.contact-box__title {
	margin: 0;
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: var(--pl-sans);
	font-size: 18px;
	font-weight: 800;
	line-height: 1.3;
	color: var(--pl-ink);
}

.contact-box__title .icon {
	fill: var(--pl-sky);
	color: var(--pl-blue);
}

.contact-box__text {
	margin: 0;
	font-size: 14px;
	color: var(--pl-muted);
}

.contact-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.contact-form[hidden] {
	display: none;
}

.contact-form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.contact-form__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
}

.contact-form__note {
	margin: 0;
	font-size: 13px;
	line-height: 1.5;
	color: var(--pl-muted);
}

.lookup-result {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 14px 16px;
	border: 1px solid #b7d8f7;
	border-radius: 12px;
	background: #e8f3fe;
	font-size: 14px;
	line-height: 1.5;
	color: var(--pl-navy);
}

.lookup-result[hidden] {
	display: none;
}

.lookup-result > * {
	margin: 0;
}

.lookup-result__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	font-size: 15px;
}

.lookup-result__facts {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.lookup-result__facts > div {
	display: flex;
	gap: 8px;
}

.lookup-result__facts dt {
	min-width: 72px;
	font-weight: 700;
}

.lookup-result__facts dd {
	margin: 0;
}

.lookup-result__facts a {
	font-weight: 700;
	color: var(--pl-blue);
}

.lookup-result__error {
	color: var(--pl-ink);
}

.ticket-sent {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	padding: 36px 12px;
	text-align: center;
}

.ticket-sent[hidden] {
	display: none;
}

.ticket-sent:focus {
	outline: none;
}

.ticket-sent__icon {
	width: 56px;
	height: 56px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--pl-tint);
	color: var(--pl-blue);
}

.ticket-sent__title {
	margin: 0;
	font-family: var(--pl-sans);
	font-size: 20px;
	font-weight: 800;
	color: var(--pl-ink);
}

.ticket-sent__text {
	max-width: 420px;
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
	color: var(--pl-muted);
}

.ticket-sent .btn--outline {
	border-color: #c6d3e2;
}

.contact-note {
	margin: 18px 0 0;
	font-size: 13px;
	color: var(--pl-muted);
}

.contact-content {
	margin-top: 48px;
}

/* 6. COA library ------------------------------------------------------------ */
.coa-search {
	position: relative;
	width: min(100%, 640px);
	display: flex;
	gap: 8px;
	margin-top: 8px;
}

.coa-search__icon {
	position: absolute;
	top: 50%;
	left: 16px;
	display: flex;
	color: var(--pl-muted);
	transform: translateY(-50%);
	pointer-events: none;
}

.coa-search__field {
	flex: 1 1 auto;
	min-width: 0;
	height: 48px;
	padding: 0 16px 0 44px;
	border: 1px solid #c6d3e2;
	border-radius: var(--pl-radius-pill);
	background: var(--pl-white);
	color: var(--pl-ink);
	font: inherit;
	font-size: 15px;
}

.coa-search__field:focus {
	border-color: var(--pl-sky);
	outline: none;
	box-shadow: 0 0 0 3px rgba(77, 163, 245, 0.25);
}

.coa-search .btn {
	height: 48px;
}

.coa-h2 {
	margin: 0;
	font-size: clamp(24px, 2.2vw, 30px);
	font-weight: 600;
	line-height: 1.2;
	color: var(--pl-ink);
}

.coa-lots {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.coa-lots__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}

.coa-lots__count {
	margin: 0;
	font-size: 14px;
	font-weight: 700;
	color: var(--pl-muted);
}

.coa-table-wrap {
	position: relative;
	overflow-x: auto;
	border: 1px solid var(--pl-line);
	border-radius: 14px;
	background: var(--pl-white);
}

.coa-table {
	width: 100%;
	min-width: 720px;
	border-collapse: collapse;
	font-size: 14px;
	line-height: 1.5;
}

.coa-table th,
.coa-table td {
	padding: 13px 18px;
	border-top: 1px solid var(--pl-line-soft);
	text-align: left;
	vertical-align: middle;
}

.coa-table thead th {
	border-top: none;
	background: var(--pl-navy);
	color: var(--pl-white);
	font-size: 13px;
	font-weight: 800;
}

.coa-table tbody tr:nth-child(even) {
	background: #f7fafe;
}

.coa-table tbody th {
	font-weight: 800;
}

.coa-table a {
	color: var(--pl-ink);
	text-decoration: none;
}

.coa-table a:hover {
	color: var(--pl-blue);
}

.coa-table__lot {
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.02em;
}

.coa-table__docs a {
	margin: 2px 6px 2px 0;
}

.coa-table .coa-doc__tag {
	height: 24px;
	padding: 0 9px;
	display: inline-flex;
	align-items: center;
	font-size: 11px;
}

.coa-table a.coa-doc__tag,
.coa-table a.coa-doc__tag:hover {
	color: var(--pl-white);
}

.coa-table a.coa-doc__tag:hover {
	opacity: 0.85;
}

.coa-table a.coa-doc__tag--sds,
.coa-table a.coa-doc__tag--sds:hover {
	color: var(--pl-ink);
}

.coa-lots__none,
.coa-empty {
	margin: 0;
	padding: 18px 22px;
	border: 1px dashed #c6d3e2;
	border-radius: 14px;
	font-size: 15px;
	color: var(--pl-muted);
}

.coa-lots__none a {
	font-weight: 700;
	color: var(--pl-blue);
}

.coa-compounds {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.coa-compounds__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.coa-compounds .coa-group {
	background: var(--pl-white);
}

.coa-content {
	width: 100%;
}








.coa-file {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px 18px;
	border: 1px solid var(--pl-line);
	border-radius: 14px;
	background: var(--pl-white);
	color: var(--pl-ink);
	text-decoration: none;
}

.coa-file:hover {
	border-color: var(--pl-sky);
	color: var(--pl-ink);
}

.coa-file__icon {
	width: 44px;
	height: 44px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	background: var(--pl-tint);
	color: var(--pl-blue);
}

.coa-file__body {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.coa-file__title {
	font-size: 16px;
	font-weight: 800;
}

.coa-file__meta {
	font-size: 13px;
	color: var(--pl-muted);
}

.coa-file__action {
	flex-shrink: 0;
	font-size: 14px;
	font-weight: 800;
	color: var(--pl-blue);
}



/* 7. 404 & search ----------------------------------------------------------- */
.notfound-search,
.search-page__form {
	width: min(100%, 560px);
	margin-top: 8px;
}

.notfound-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-top: 4px;
}

.notfound-products,
.search-group {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.search-group__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}

.search-group__more {
	font-size: 14px;
	font-weight: 800;
	color: var(--pl-blue);
	text-decoration: none;
}

.search-lots {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.search-lot {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 14px 16px;
	border: 1px solid var(--pl-line);
	border-radius: 12px;
	background: var(--pl-white);
	color: var(--pl-ink);
	text-decoration: none;
}

.search-lot:hover {
	border-color: var(--pl-sky);
	color: var(--pl-ink);
}

.search-lot__lot {
	font-weight: 800;
}

.search-lot__meta {
	font-size: 13px;
	color: var(--pl-muted);
}

.search-results {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
	list-style: none;
	border: 1px solid var(--pl-line);
	border-radius: 14px;
	background: var(--pl-white);
}

.search-result {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 18px 22px;
}

.search-result + .search-result {
	border-top: 1px solid var(--pl-line-soft);
}

.search-result > * {
	margin: 0;
}

.search-result__type {
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--pl-blue);
}

.search-result__title {
	font-family: var(--pl-sans);
	font-size: 18px;
	font-weight: 800;
}

.search-result__title a {
	color: var(--pl-ink);
	text-decoration: none;
}

.search-result__title a:hover {
	color: var(--pl-blue);
}

.search-result__excerpt {
	font-size: 15px;
	line-height: 1.6;
	color: var(--pl-muted);
}

.search-page .navigation.pagination {
	margin-top: 8px;
}

.search-page .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.search-page .page-numbers {
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--pl-line);
	border-radius: var(--pl-radius-pill);
	background: var(--pl-white);
	color: var(--pl-ink);
	font-weight: 700;
	text-decoration: none;
}

.search-page .page-numbers.current {
	border-color: var(--pl-navy);
	background: var(--pl-navy);
	color: var(--pl-white);
}

.search-empty {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.search-empty > p {
	margin: 0;
	color: var(--pl-muted);
}

.search-empty__sub {
	margin: 16px 0 0;
	font-family: var(--pl-sans);
	font-size: 18px;
	font-weight: 800;
}

/* 8. Ticket page ------------------------------------------------------------ */
.ticket-page {
	max-width: calc(760px + 2 * var(--pl-page-pad));
	margin-inline: auto;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.ticket-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.ticket-thread {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ticket-msg {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 18px 22px;
	border: 1px solid var(--pl-line);
	border-radius: 16px;
	background: var(--pl-white);
	scroll-margin-top: calc(var(--pl-header-h) + 16px);
}

.ticket-msg--team {
	border-color: #b7d8f7;
	background: #f0f7ff;
}

.ticket-msg__meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px;
	margin: 0;
	font-size: 13px;
	color: var(--pl-muted);
}

.ticket-msg__meta strong {
	color: var(--pl-ink);
}

.ticket-msg__body {
	font-size: 16px;
	line-height: 1.7;
	color: #2e3d55;
	overflow-wrap: anywhere;
}

.ticket-msg__body p {
	margin: 0 0 10px;
}

.ticket-msg__body p:last-child {
	margin-bottom: 0;
}

.ticket-reply {
	border: 1px solid var(--pl-line);
}

.ticket-reply .btn {
	align-self: flex-start;
}

/* 9. Responsive -------------------------------------------------------------- */
@media (max-width: 1100px) {
	.about-hero__grid,
	.about-story,
	.about-compliance,
	.contact-panel {
		grid-template-columns: minmax(0, 1fr);
	}

	.about-hero__copy,
	.about-hero__grid--solo .about-hero__copy,
	.about-hero__media,
	.about-story__head,
	.about-story__body,
	.about-compliance__copy,
	.about-cta,
	.contact-panel__side,
	.contact-panel__main {
		grid-column: 1 / -1;
	}

	.about-hero__media {
		height: 320px;
	}

	.about-story {
		gap: 24px;
	}

	.about-steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.coa-compounds__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.contact-panel {
		padding: 28px;
	}
}

@media (max-width: 782px) {
	/* Wide content tables scroll inside their own box on phones. */
	.prose table {
		display: block;
		max-width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.prose th,
	.prose td {
		white-space: nowrap;
	}

	.about-cards {
		grid-template-columns: 1fr;
	}

	.about-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: 24px;
	}

	.about-stats__item:nth-child(3) {
		padding-left: 0;
		border-left: none;
	}

	.about-stats__value {
		font-size: 32px;
	}

	.page-body {
		padding-block: 40px 64px;
	}

	.about-hero,
	.about-story,
	.about-commitments,
	.about-process,
	.about-compliance {
		padding-block: 56px;
	}

	.about-hero {
		padding-top: 24px;
	}
}

@media (max-width: 600px) {
	.page-hero {
		padding-block: 24px 32px;
	}

	.prose {
		font-size: 16px;
	}

	.prose h2 {
		font-size: 26px;
	}

	.prose h3 {
		font-size: 20px;
	}

	.prose blockquote {
		font-size: 19px;
	}

	.prose .alignleft,
	.prose .alignright {
		float: none;
		margin: 8px 0;
	}

	.contact-wrap {
		padding-inline: 0;
	}

	.contact-panel {
		gap: 20px;
		padding: 20px 16px;
		border-radius: 0;
	}

	.contact-note {
		padding-inline: 16px;
	}

	.contact-box {
		padding: 22px 18px;
	}

	.contact-form__grid,
	.about-steps,
	.coa-compounds__grid {
		grid-template-columns: 1fr;
	}

	.track-form__row,
	.coa-search {
		flex-direction: column;
	}

	.coa-search__icon {
		top: 24px;
	}

	.coa-file {
		flex-wrap: wrap;
	}

	.coa-file__action {
		width: 100%;
		padding-left: 60px;
	}

	.about-cta {
		padding: 24px;
	}

	.notfound-actions .btn {
		flex: 1 1 100%;
	}
}

/* 10. Wholesale ---------------------------------------------------------------- */
.wholesale-page {
	--pl-page-pad: var(--pl-gutter-wide);
}

.wholesale-section {
	display: flex;
	flex-direction: column;
	gap: 36px;
	padding: 88px var(--pl-page-pad);
}

.wholesale-head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	max-width: 760px;
	margin: 0 auto;
	text-align: center;
}

.wholesale-head__text {
	margin: 4px 0 0;
	font-size: 16px;
	line-height: 1.65;
	color: var(--pl-muted);
}

.wholesale-cards {
	width: 100%;
	max-width: 1216px;
	margin: 0 auto;
}

/* Pricing tiers */
.wholesale-tiers {
	background: var(--pl-white);
}

.tier-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: stretch;
	gap: 20px;
	width: 100%;
	max-width: 1216px;
	margin: 0 auto;
	padding: 14px 0 0;
	list-style: none;
}

.tier-grid--1 {
	grid-template-columns: minmax(0, 1fr);
	max-width: 440px;
}

.tier-grid--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	max-width: 860px;
}

.tier-grid--4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tier {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 32px 28px 28px;
	border: 1px solid var(--pl-line);
	border-radius: 20px;
	background: #f7fafe;
}

.tier--featured {
	border: 2px solid var(--pl-blue);
	background: var(--pl-white);
	box-shadow: 0 20px 44px rgba(11, 42, 91, 0.12);
}

.tier__badge {
	position: absolute;
	top: -13px;
	left: 26px;
	display: inline-flex;
	align-items: center;
	height: 26px;
	padding: 0 12px;
	border-radius: var(--pl-radius-pill);
	background: var(--pl-blue);
	color: var(--pl-white);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.tier__name {
	margin: 0;
	font-family: var(--pl-serif);
	font-size: 28px;
	font-weight: 600;
	line-height: 1.15;
	color: var(--pl-ink);
}

.tier__audience {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: var(--pl-muted);
}

.tier__terms {
	align-self: flex-start;
	margin: 4px 0 6px;
	padding: 5px 12px;
	border-radius: var(--pl-radius-pill);
	background: var(--pl-tint);
	color: var(--pl-navy);
	font-size: 12px;
	font-weight: 800;
}

.tier__features {
	display: grid;
	flex: 1;
	align-content: start;
	gap: 12px;
	margin: 0 0 12px;
	padding: 18px 0 0;
	border-top: 1px solid var(--pl-line);
	list-style: none;
}

.tier__features li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 15px;
	line-height: 1.45;
	color: #2e3d55;
}

.tier__features svg {
	flex: none;
	margin-top: 2px;
	color: var(--pl-blue);
}

.tier__button {
	margin-top: auto;
}

/* Request panel */
.wholesale-panel {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: 48px;
	width: 100%;
	max-width: 1216px;
	margin: 0 auto;
	padding: 48px;
	border-radius: 28px;
	color: var(--pl-white);
}

.wholesale-panel__copy {
	display: flex;
	flex-direction: column;
	align-self: center;
	gap: 16px;
}

.wholesale-panel__text {
	margin: 0;
	font-size: 16px;
	line-height: 1.7;
	color: #d8e4f3;
}

.wholesale-panel__email {
	margin: 0;
	font-size: 15px;
	color: var(--pl-on-dark);
}

.wholesale-panel__email a {
	color: var(--pl-sky);
	font-weight: 700;
}

.wholesale-panel__points {
	display: grid;
	gap: 12px;
	margin: 8px 0 0;
	padding: 18px 0 0;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	list-style: none;
}

.wholesale-panel__points li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 15px;
	line-height: 1.45;
	color: #e6eef9;
}

.wholesale-panel__points svg {
	flex: none;
	margin-top: 2px;
	color: var(--pl-sky);
}

.wholesale-panel__card {
	padding: 30px;
	border-radius: 20px;
	background: var(--pl-white);
	color: var(--pl-ink);
}

.wholesale-form .contact-form__note {
	text-align: center;
}

/* FAQ, content and footnote */
.wholesale-faq {
	padding-top: 24px;
	padding-bottom: 48px;
}

.wholesale-content .prose {
	width: 100%;
	max-width: 760px;
	margin: 0 auto;
}

.wholesale-note {
	margin: 0;
	padding: 0 var(--pl-page-pad) 72px;
	font-size: 13px;
	text-align: center;
	color: var(--pl-muted);
}

@media (max-width: 1100px) {
	.wholesale-panel {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
		padding: 36px;
	}

	.tier-grid,
	.tier-grid--4 {
		grid-template-columns: minmax(0, 1fr);
		max-width: 560px;
		gap: 28px;
	}
}

@media (max-width: 782px) {
	.wholesale-section {
		gap: 28px;
		padding-block: 56px;
	}

	.wholesale-faq {
		padding-top: 8px;
	}

	.wholesale-panel {
		padding: 28px 20px;
		border-radius: 22px;
	}

	.wholesale-panel__card {
		padding: 22px 18px;
	}

	.tier-grid--2 {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 600px) {
	.wholesale-form .contact-form__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.wholesale-note {
		padding-bottom: 56px;
	}
}
