.gp-catalog {
	width: 100%;
}

.gp-catalog__grid {
	display: grid;
	grid-template-columns: repeat(var(--gp-catalog-columns, 4), minmax(0, 1fr));
	gap: 34px 20px;
}

.gp-product-card {
	display: flex;
	min-width: 0;
	flex-direction: column;
	margin: 0;
	border: 1px solid var(--gp-line, #dfe3e5);
	border-radius: 0;
	background: #fff;
	box-shadow: none;
}

.gp-product-card__media {
	display: block;
	overflow: hidden;
	aspect-ratio: 1 / 1;
	background: #d8dcde;
}

.gp-product-card__media img,
.gp-product-card__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 240ms ease;
}

.gp-product-card__media:hover img {
	transform: scale(1.025);
}

.gp-product-card__placeholder {
	background: #d8dcde;
}

.gp-product-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 18px;
}

.gp-product-card__body h3 {
	min-height: 2.8em;
	margin: 0;
	font-size: 16px;
	line-height: 1.4;
}

.gp-product-card__body h3 a {
	color: var(--gp-text, #252b2f);
	text-decoration: none;
}

.gp-product-card__price {
	min-height: 1.6em;
	margin-top: 10px;
	color: var(--gp-text, #252b2f);
	font-size: 16px;
	font-weight: 700;
}

.gp-product-card__price del {
	margin-left: 5px;
	color: var(--gp-muted, #667078);
	font-size: 12px;
	font-weight: 400;
}

.gp-product-card__actions {
	display: grid;
	grid-template-columns: 1fr;
	gap: 8px;
	margin-top: auto;
	padding-top: 18px;
}

.gp-product-card__actions .button,
.gp-product-card__actions .gp-quote-button,
.woocommerce ul.products li.product .gp-quote-button {
	width: 100%;
	min-height: 44px;
	margin: 0;
	padding: 10px 14px;
	border: 1px solid var(--gp-ink, #222b32);
	border-radius: 2px;
	background: transparent;
	box-shadow: none;
	color: var(--gp-ink, #222b32);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
}

.gp-product-card__actions .button,
.gp-product-card__actions .gp-quote-button:hover,
.woocommerce ul.products li.product .gp-quote-button:hover {
	background: var(--gp-ink, #222b32);
	color: #fff;
}

.gp-pagination {
	display: flex;
	justify-content: center;
	gap: 6px;
	margin-top: 42px;
}

.gp-pagination .page-numbers {
	display: grid;
	width: 42px;
	height: 42px;
	place-items: center;
	border: 1px solid var(--gp-line, #dfe3e5);
	color: var(--gp-text, #252b2f);
	text-decoration: none;
}

.gp-pagination .current {
	border-color: var(--gp-gold, #e8ad4f);
	background: var(--gp-gold, #e8ad4f);
}

.gp-single-quote {
	margin: 14px 0 22px;
}

.gp-single-quote .gp-quote-button {
	width: 100%;
}

/* Global calculation modal. */
.gp-modal {
	position: fixed;
	z-index: 10000;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.gp-modal.is-open {
	display: flex;
}

.gp-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 21, 26, 0.72);
	backdrop-filter: blur(4px);
}

.gp-modal__dialog {
	position: relative;
	z-index: 1;
	overflow: auto;
	width: min(100%, 560px);
	max-height: calc(100vh - 40px);
	padding: 42px;
	background: #fff;
	box-shadow: 0 28px 80px rgba(0, 0, 0, 0.25);
}

.gp-modal__dialog h2 {
	margin: 0;
	font-size: clamp(28px, 5vw, 42px);
}

.gp-modal__intro {
	margin: 12px 0 22px;
	color: var(--gp-muted, #667078);
	line-height: 1.6;
}

.gp-modal__product {
	margin: 0 0 18px;
	padding: 10px 12px;
	border-left: 3px solid var(--gp-gold, #e8ad4f);
	background: #fff8ec;
	font-weight: 700;
}

.gp-modal__close {
	position: absolute;
	top: 10px;
	right: 12px;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--gp-text, #252b2f);
	font-size: 30px;
	font-weight: 300;
	cursor: pointer;
}

.gp-quote-form {
	display: grid;
	gap: 16px;
}

.gp-quote-form > label:not(.gp-consent) {
	display: grid;
	gap: 7px;
	font-size: 13px;
	font-weight: 700;
}

.gp-quote-form label small {
	color: var(--gp-muted, #667078);
	font-weight: 400;
}

.gp-quote-form input[type="text"],
.gp-quote-form input[type="tel"] {
	width: 100%;
	min-height: 50px;
	padding: 11px 13px;
	border: 1px solid var(--gp-line, #dfe3e5);
	border-radius: 2px;
	background: #fff;
	font-size: 16px;
}

.gp-quote-form input:focus {
	border-color: var(--gp-gold-dark, #c78b31);
	box-shadow: 0 0 0 2px rgba(232, 173, 79, 0.2);
	outline: 0;
}

.gp-consent {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	color: var(--gp-muted, #667078);
	font-size: 12px;
	line-height: 1.45;
}

.gp-consent input {
	flex: 0 0 auto;
	margin-top: 2px;
}

.gp-consent a {
	color: inherit;
}

.gp-honeypot {
	position: absolute !important;
	left: -10000px !important;
}

.gp-form-message {
	min-height: 1.4em;
	color: var(--gp-danger, #a53737);
	font-size: 13px;
}

.gp-form-message.is-success {
	color: var(--gp-success, #2f7d55);
}

body.gp-modal-open {
	overflow: hidden;
}

/* Product videos remain in the native Woo gallery carousel. */
.gp-video-slide {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 320px;
	background: #f3f4f4;
}

.gp-video-slide__frame {
	width: min(100%, 760px);
	height: auto;
	max-width: 100%;
	margin-inline: auto;
	aspect-ratio: var(--gp-video-ratio);
	background: #171b1e;
}

.gp-video-slide iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.woocommerce-product-gallery .flex-control-thumbs img[src*="video-thumb.svg"] {
	padding: 18%;
	background: var(--gp-ink, #222b32);
}

/* Regional landing pages. */
.gp-region-hero {
	padding-block: 86px;
	background: var(--gp-ink, #222b32);
	color: #fff;
}

.gp-region-hero h1 {
	max-width: 900px;
	margin: 0;
	color: #fff;
	font-size: clamp(40px, 6vw, 72px);
	font-weight: 500;
	line-height: 1.05;
}

.gp-region-hero .gp-shell > p:not(.gp-eyebrow) {
	max-width: 720px;
	margin: 22px 0 0;
	color: rgba(255,255,255,.72);
	font-size: 18px;
	line-height: 1.65;
}

.gp-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 30px;
}

.gp-region-benefits {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	padding-block: 42px;
}

.gp-region-benefits article {
	padding: 16px 30px;
	border-left: 1px solid var(--gp-line, #dfe3e5);
}

.gp-region-benefits article:last-child {
	border-right: 1px solid var(--gp-line, #dfe3e5);
}

.gp-region-benefits article > span {
	color: var(--gp-gold-dark, #c78b31);
	font-size: 12px;
	font-weight: 800;
}

.gp-region-benefits h2 {
	margin: 8px 0 5px;
	font-size: 18px;
}

.gp-region-benefits p {
	margin: 0;
	color: var(--gp-muted, #667078);
	font-size: 14px;
	line-height: 1.55;
}

.gp-region-categories {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding-bottom: 16px;
}

.gp-region-categories a {
	padding: 9px 13px;
	border: 1px solid var(--gp-line, #dfe3e5);
	color: var(--gp-text, #252b2f);
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
}

.gp-region-categories a:hover {
	border-color: var(--gp-gold, #e8ad4f);
	background: #fff8ec;
}

.gp-region-delivery {
	padding-block: 58px;
	background: var(--gp-ink-2, #34414d);
	color: rgba(255,255,255,.72);
}

.gp-region-delivery__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 60px;
}

.gp-region-delivery h2 {
	margin: 0;
	color: #fff;
	font-size: clamp(28px, 4vw, 44px);
}

.gp-region-delivery__grid > p {
	margin: 0;
	line-height: 1.75;
}

.gp-region-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.gp-region-links a {
	padding: 9px 13px;
	border: 1px solid var(--gp-line, #dfe3e5);
	color: var(--gp-text, #252b2f);
	font-size: 13px;
	text-decoration: none;
}

.gp-region-links a:hover {
	border-color: var(--gp-gold, #e8ad4f);
	background: #fff8ec;
}

.gp-faq {
	padding-top: 0;
}

.gp-faq details {
	border-top: 1px solid var(--gp-line, #dfe3e5);
}

.gp-faq details:last-child {
	border-bottom: 1px solid var(--gp-line, #dfe3e5);
}

.gp-faq summary {
	padding: 20px 4px;
	font-weight: 700;
	cursor: pointer;
}

.gp-faq details p {
	max-width: 850px;
	margin: -4px 0 20px;
	color: var(--gp-muted, #667078);
	line-height: 1.65;
}

@media (max-width: 980px) {
	.gp-catalog__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
	.gp-catalog__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
	.gp-region-benefits { grid-template-columns: 1fr; }
	.gp-region-benefits article { padding: 20px 0; border: 0; border-top: 1px solid var(--gp-line, #dfe3e5); }
	.gp-region-benefits article:last-child { border-right: 0; border-bottom: 1px solid var(--gp-line, #dfe3e5); }
	.gp-region-delivery__grid { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 520px) {
	.gp-modal { padding: 0; align-items: flex-end; }
	.gp-modal__dialog { width: 100%; max-height: 94vh; padding: 34px 20px 24px; }
	.gp-product-card__body { padding: 12px; }
	.gp-product-card__body h3 { font-size: 13px; }
	.gp-product-card__price { font-size: 14px; }
	.gp-product-card__actions .button, .gp-product-card__actions .gp-quote-button { padding-inline: 7px; font-size: 11px; }
	.gp-video-slide { min-height: 0; }
	.gp-video-slide__frame { width: 100%; }
	.gp-region-hero { padding-block: 58px; }
	.gp-region-hero .gp-shell > p:not(.gp-eyebrow) { font-size: 16px; }
	.gp-hero-actions, .gp-hero-actions .gp-button { width: 100%; }
}
