/**
 * PaneoVR WooCommerce catalogue and product presentation.
 *
 * The stylesheet is enqueued only on shop, product taxonomy and single-product
 * routes. It deliberately leaves cart, checkout and My Account to their own
 * audited presentation layers.
 */

body.paneovr-commerce-storefront {
	overflow-x: hidden;

	--paneovr-store-navy: #0b233a;
	--paneovr-store-blue: #204a73;
	--paneovr-store-blue-hover: #173b5f;
	--paneovr-store-ink: #10283e;
	--paneovr-store-muted: #617283;
	--paneovr-store-line: #d8e3eb;
	--paneovr-store-soft: #eef4f8;
	--paneovr-store-surface: #ffffff;
	--paneovr-store-radius: 20px;
	--paneovr-store-shadow: 0 18px 48px rgba(11, 35, 58, 0.09);
}

body.paneovr-commerce-storefront #primary {
	float: none;
	width: 100%;
	min-width: 0;
}

body.paneovr-commerce-storefront #secondary {
	display: none;
}

body.paneovr-commerce-storefront .breadcrumb-trail {
	margin-block-end: 0;
}

body.paneovr-commerce-storefront .site-content {
	padding-block: clamp(12px, 1.4vw, 20px) clamp(20px, 2.4vw, 36px);
	background:
		radial-gradient(circle at 94% 1%, rgba(32, 74, 115, 0.11), transparent 30rem),
		linear-gradient(180deg, #f9fbfc 0%, #eef4f8 100%);
}

body.paneovr-commerce-storefront .site-content > .tg-container {
	width: calc(100% - clamp(24px, 5vw, 72px));
	max-width: 1320px;
}

body.paneovr-commerce-storefront :where(#main, .woocommerce, div.product, ul.products, li.product) {
	min-inline-size: 0;
}

body.paneovr-commerce-storefront :where(a, button, input, select):focus-visible {
	outline: 3px solid rgba(32, 74, 115, 0.36);
	outline-offset: 3px;
}

/* Shop introduction */
.paneovr-storefront-intro {
	position: relative;
	margin: 0 0 12px;
	padding: clamp(20px, 3vw, 40px);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: clamp(18px, 2.2vw, 24px);
	background:
		radial-gradient(circle at 88% 8%, rgba(255, 255, 255, 0.15), transparent 18rem),
		linear-gradient(135deg, var(--paneovr-store-blue), var(--paneovr-store-navy));
	box-shadow: 0 18px 48px rgba(11, 35, 58, 0.17);
	color: #ffffff;
	overflow: hidden;
}

.paneovr-storefront-intro::after {
	position: absolute;
	inset: auto -4rem -6rem auto;
	width: 18rem;
	height: 18rem;
	border: 1px solid rgba(255, 255, 255, 0.11);
	border-radius: 50%;
	content: '';
	pointer-events: none;
}

.paneovr-storefront-intro__eyebrow {
	margin: 0 0 7px;
	color: rgba(255, 255, 255, 0.72);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.12em;
	line-height: 1.3;
	text-transform: uppercase;
}

.paneovr-storefront-intro h2 {
	max-width: 980px;
	margin: 0;
	color: #ffffff;
	font-size: clamp(28px, 3.4vw, 46px);
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 1.08;
}

.paneovr-storefront-intro__copy {
	max-width: 900px;
	margin: 12px 0 0;
	color: rgba(255, 255, 255, 0.84);
	font-size: clamp(15px, 1.45vw, 17px);
	line-height: 1.55;
}

.paneovr-storefront-intro__benefits {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
}

.paneovr-storefront-intro__benefits li {
	position: relative;
	margin: 0;
	padding: 7px 12px 7px 32px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.09);
	color: #ffffff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.25;
}

.paneovr-storefront-intro__benefits li::before {
	position: absolute;
	top: 50%;
	left: 14px;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #ffffff;
	box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.13);
	content: '';
	transform: translateY(-50%);
}

/* Professional-audience guidance: intentionally quiet, never warning-like. */
.paneovr-commerce-audience-hint {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	color: var(--paneovr-store-muted);
	font-size: 13px;
	line-height: 1.5;
}

.paneovr-commerce-audience-hint p {
	margin: 0;
}

.paneovr-commerce-audience-hint__marker {
	flex: 0 0 auto;
	width: 6px;
	height: 6px;
	margin-block-start: 0.5em;
	border-radius: 50%;
	background: currentColor;
	opacity: 0.7;
}

.paneovr-commerce-audience-hint--intro {
	max-width: 900px;
	margin-block-start: 14px;
	color: rgba(255, 255, 255, 0.7);
}

/* Product archive and related-product cards */
body.paneovr-commerce-storefront.woocommerce :where(ul.products, .related.products ul.products) {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(16px, 2.2vw, 28px);
	margin: 0;
	padding: 0;
}

body.paneovr-commerce-storefront.woocommerce :where(ul.products, .related.products ul.products)::before,
body.paneovr-commerce-storefront.woocommerce :where(ul.products, .related.products ul.products)::after {
	display: none;
	content: none;
}

body.paneovr-commerce-storefront.woocommerce ul.products li.product {
	display: flex;
	float: none;
	clear: none;
	flex-direction: column;
	width: auto;
	height: 100%;
	margin: 0;
	padding: 14px 14px 16px;
	border: 1px solid rgba(32, 74, 115, 0.14);
	border-radius: var(--paneovr-store-radius);
	background: var(--paneovr-store-surface);
	box-shadow: 0 12px 34px rgba(11, 35, 58, 0.07);
	overflow: hidden;
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

body.paneovr-commerce-storefront.woocommerce ul.products li.product:hover {
	border-color: rgba(32, 74, 115, 0.3);
	box-shadow: var(--paneovr-store-shadow);
	transform: translateY(-4px);
}

body.paneovr-commerce-storefront.woocommerce ul.products li.product .woocommerce-LoopProduct-link {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	color: var(--paneovr-store-ink);
	text-decoration: none;
}

body.paneovr-commerce-storefront.woocommerce ul.products li.product img {
	width: 100%;
	margin: 0 0 17px;
	border-radius: 14px;
	aspect-ratio: 1;
	object-fit: cover;
	transition: transform 220ms ease;
}

body.paneovr-commerce-storefront.woocommerce ul.products li.product:hover img {
	transform: scale(1.018);
}

body.paneovr-commerce-storefront.woocommerce ul.products li.product .woocommerce-loop-product__title {
	margin: 0 3px 9px;
	padding: 0;
	color: var(--paneovr-store-navy);
	font-size: clamp(17px, 1.7vw, 20px);
	font-weight: 800;
	letter-spacing: -0.018em;
	line-height: 1.25;
}

.paneovr-storefront-card-subtitle {
	min-height: 3em;
	margin: 0 3px 15px;
	color: var(--paneovr-store-muted);
	font-size: 13.5px;
	line-height: 1.5;
}

body.paneovr-commerce-storefront.woocommerce ul.products li.product .price {
	margin: auto 3px 16px;
	color: var(--paneovr-store-blue);
	font-size: 15px;
	font-weight: 750;
	line-height: 1.4;
}

@media (min-width: 1180px) {
	body.woocommerce-shop.paneovr-commerce-storefront.woocommerce ul.products {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}
}

body.paneovr-commerce-storefront.woocommerce ul.products li.product .price :where(.woocommerce-price-suffix, .wps_sfw_interval) {
	color: var(--paneovr-store-muted);
	font-size: 12px;
	font-weight: 600;
}

body.paneovr-commerce-storefront.woocommerce ul.products li.product .button {
	display: inline-flex;
	width: 100%;
	min-height: 46px;
	align-items: center;
	justify-content: center;
	margin: auto 0 0;
	padding: 10px 14px;
	border: 1px solid var(--paneovr-store-blue);
	border-radius: 11px;
	background: var(--paneovr-store-blue);
	box-shadow: none;
	color: #ffffff;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

body.paneovr-commerce-storefront.woocommerce ul.products li.product .button:hover {
	border-color: var(--paneovr-store-navy);
	background: var(--paneovr-store-navy);
	color: #ffffff;
	transform: translateY(-1px);
}

body.paneovr-commerce-storefront.woocommerce :where(.woocommerce-result-count, .woocommerce-ordering) {
	margin-block-end: 24px;
	color: var(--paneovr-store-muted);
}

body.paneovr-commerce-storefront.woocommerce .woocommerce-ordering select {
	min-height: 44px;
	padding: 8px 36px 8px 13px;
	border: 1px solid var(--paneovr-store-line);
	border-radius: 10px;
	background-color: #ffffff;
	color: var(--paneovr-store-ink);
}

/* Payment overview at the end of the main Shop catalogue. */
body.woocommerce-shop.paneovr-commerce-storefront .paneovr-storefront-payments {
	clear: both;
	margin-block-start: clamp(22px, 3vw, 34px);
	padding: clamp(15px, 1.8vw, 20px);
	border: 1px solid rgba(32, 74, 115, 0.15);
	border-radius: var(--paneovr-store-radius);
	background:
		radial-gradient(circle at 100% 0%, rgba(32, 74, 115, 0.1), transparent 24rem),
		linear-gradient(145deg, #ffffff, #f6f9fb);
	box-shadow: 0 10px 28px rgba(11, 35, 58, 0.07);
}

body.woocommerce-shop.paneovr-commerce-storefront .paneovr-storefront-payments__header {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
	column-gap: clamp(24px, 5vw, 68px);
	align-items: end;
}

body.woocommerce-shop.paneovr-commerce-storefront .paneovr-storefront-payments__eyebrow {
	grid-column: 1 / -1;
	margin: 0 0 4px;
	color: var(--paneovr-store-blue);
	font-size: 10.5px;
	font-weight: 800;
	letter-spacing: 0.12em;
	line-height: 1.3;
	text-transform: uppercase;
}

body.woocommerce-shop.paneovr-commerce-storefront .paneovr-storefront-payments__header h2 {
	margin: 0;
	color: var(--paneovr-store-navy);
	font-size: clamp(22px, 2.4vw, 30px);
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1.1;
}

body.woocommerce-shop.paneovr-commerce-storefront .paneovr-storefront-payments__header > p:last-child {
	margin: 0;
	color: var(--paneovr-store-muted);
	font-size: 13px;
	line-height: 1.45;
}

body.woocommerce-shop.paneovr-commerce-storefront .paneovr-storefront-payments__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	margin-block-start: 12px;
}

body.woocommerce-shop.paneovr-commerce-storefront .paneovr-storefront-payment-method {
	display: flex;
	min-width: 0;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	padding: 11px;
	border: 1px solid var(--paneovr-store-line);
	border-radius: 15px;
	background: rgba(255, 255, 255, 0.88);
	box-shadow: 0 8px 22px rgba(11, 35, 58, 0.045);
	overflow-wrap: anywhere;
}

body.woocommerce-shop.paneovr-commerce-storefront .paneovr-storefront-payment-method__icon {
	display: inline-flex;
	flex: 0 0 34px;
	width: 34px;
	height: 34px;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	background: var(--paneovr-store-soft);
	color: var(--paneovr-store-blue);
}

body.woocommerce-shop.paneovr-commerce-storefront .paneovr-storefront-payment-method__icon svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.7;
}

body.woocommerce-shop.paneovr-commerce-storefront .paneovr-storefront-payment-method h3 {
	margin: 0 0 2px;
	color: var(--paneovr-store-navy);
	font-size: 14.5px;
	font-weight: 800;
	line-height: 1.3;
}

body.woocommerce-shop.paneovr-commerce-storefront .paneovr-storefront-payment-method p {
	margin: 0;
	color: var(--paneovr-store-muted);
	font-size: 12px;
	line-height: 1.45;
}

body.woocommerce-shop.paneovr-commerce-storefront .paneovr-storefront-payments__note {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	margin: 8px 2px 0;
	color: var(--paneovr-store-muted);
	font-size: 11.5px;
	line-height: 1.4;
}

body.woocommerce-shop.paneovr-commerce-storefront .paneovr-storefront-payments__note > span {
	flex: 0 0 auto;
	width: 6px;
	height: 6px;
	margin-block-start: 0.5em;
	border-radius: 50%;
	background: var(--paneovr-store-blue);
}

@media (min-width: 981px) {
	body.woocommerce-shop.paneovr-commerce-storefront .paneovr-storefront-payments {
		display: grid;
		grid-template-columns: minmax(245px, 0.7fr) minmax(0, 2.3fr);
		column-gap: 22px;
		row-gap: 6px;
		align-items: center;
	}

	body.woocommerce-shop.paneovr-commerce-storefront .paneovr-storefront-payments__header {
		display: block;
	}

	body.woocommerce-shop.paneovr-commerce-storefront .paneovr-storefront-payments__eyebrow {
		grid-column: auto;
	}

	body.woocommerce-shop.paneovr-commerce-storefront .paneovr-storefront-payments__header > p:last-child {
		margin-block-start: 8px;
	}

	body.woocommerce-shop.paneovr-commerce-storefront .paneovr-storefront-payments__grid {
		align-self: stretch;
		margin-block-start: 0;
	}

	body.woocommerce-shop.paneovr-commerce-storefront .paneovr-storefront-payments__note {
		grid-column: 2;
		margin-block-start: 0;
	}
}

/* Single-product hero */
body.single-product.paneovr-commerce-storefront div.product {
	display: grid;
	grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1.12fr);
	gap: clamp(24px, 4vw, 52px);
	align-items: start;
}

body.single-product.paneovr-commerce-storefront div.product::before,
body.single-product.paneovr-commerce-storefront div.product::after {
	display: none;
	content: none;
}

body.single-product.paneovr-commerce-storefront div.product .woocommerce-product-gallery {
	float: none !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 14px;
	border: 1px solid rgba(32, 74, 115, 0.14);
	border-radius: clamp(18px, 2.4vw, 26px);
	background: #ffffff;
	box-shadow: var(--paneovr-store-shadow);
	overflow: hidden;
}

body.single-product.paneovr-commerce-storefront div.product .woocommerce-product-gallery img {
	border-radius: 16px;
}

body.single-product.paneovr-commerce-storefront div.product .summary {
	float: none !important;
	width: 100% !important;
	margin: 0 !important;
	padding: clamp(24px, 4vw, 46px);
	border: 1px solid rgba(32, 74, 115, 0.14);
	border-radius: clamp(18px, 2.4vw, 26px);
	background:
		radial-gradient(circle at 100% 0%, rgba(32, 74, 115, 0.1), transparent 18rem),
		#ffffff;
	box-shadow: var(--paneovr-store-shadow);
}

body.single-product.paneovr-commerce-storefront div.product .product_title {
	margin: 0 0 14px;
	color: var(--paneovr-store-navy);
	font-size: clamp(32px, 4.5vw, 52px);
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 1.06;
}

body.single-product.paneovr-commerce-storefront div.product .summary .price {
	margin: 0 0 25px;
	color: var(--paneovr-store-blue);
	font-size: clamp(21px, 2.5vw, 29px);
	font-weight: 800;
}

body.single-product.paneovr-commerce-storefront .woocommerce-product-details__short-description {
	margin-block: 0 28px;
	color: var(--paneovr-store-muted);
	font-size: 16px;
	line-height: 1.65;
}

body.single-product.paneovr-commerce-storefront div.product .summary :where(.cart, .single_add_to_cart_button, .single_add_to_cart_button.button) {
	margin-block: 0;
}

body.single-product.paneovr-commerce-storefront div.product .summary :where(.single_add_to_cart_button, .single_add_to_cart_button.button) {
	display: inline-flex;
	min-height: 49px;
	align-items: center;
	justify-content: center;
	padding: 12px 21px;
	border: 1px solid var(--paneovr-store-blue);
	border-radius: 11px;
	background: var(--paneovr-store-blue);
	box-shadow: none;
	color: #ffffff;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.2;
}

body.single-product.paneovr-commerce-storefront div.product .summary :where(.single_add_to_cart_button, .single_add_to_cart_button.button):hover {
	border-color: var(--paneovr-store-navy);
	background: var(--paneovr-store-navy);
	color: #ffffff;
}

body.single-product.paneovr-commerce-storefront div.product .product_meta {
	margin-block-start: 28px;
	padding-block-start: 22px;
	border-block-start: 1px solid var(--paneovr-store-line);
	color: var(--paneovr-store-muted);
	font-size: 13px;
	line-height: 1.65;
}

body.single-product.paneovr-commerce-storefront div.product .product_meta a {
	color: var(--paneovr-store-blue);
	font-weight: 700;
	text-underline-offset: 3px;
}

body.single-product.paneovr-commerce-storefront div.product .woocommerce-tabs {
	grid-column: 1 / -1;
	width: 100%;
	margin: clamp(4px, 2vw, 18px) 0 0;
	padding: clamp(22px, 4vw, 42px);
	border: 1px solid rgba(32, 74, 115, 0.14);
	border-radius: var(--paneovr-store-radius);
	background: #ffffff;
	box-shadow: var(--paneovr-store-shadow);
}

body.single-product.paneovr-commerce-storefront div.product .woocommerce-tabs ul.tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 26px;
	padding: 0;
	border-block-end: 1px solid var(--paneovr-store-line);
}

body.single-product.paneovr-commerce-storefront div.product .woocommerce-tabs ul.tabs::before,
body.single-product.paneovr-commerce-storefront div.product .woocommerce-tabs ul.tabs::after {
	display: none;
	content: none;
}

body.single-product.paneovr-commerce-storefront div.product .woocommerce-tabs ul.tabs li {
	margin: 0 0 -1px;
	padding: 0;
	border: 0;
	border-block-end: 3px solid transparent;
	border-radius: 0;
	background: transparent;
}

body.single-product.paneovr-commerce-storefront div.product .woocommerce-tabs ul.tabs li.active {
	border-block-end-color: var(--paneovr-store-blue);
	background: transparent;
}

body.single-product.paneovr-commerce-storefront div.product .woocommerce-tabs ul.tabs li a {
	padding: 10px 5px 13px;
	color: var(--paneovr-store-muted);
	font-weight: 800;
	text-decoration: none;
}

body.single-product.paneovr-commerce-storefront div.product .woocommerce-tabs ul.tabs li.active a {
	color: var(--paneovr-store-navy);
}

body.single-product.paneovr-commerce-storefront .woocommerce-Tabs-panel {
	color: var(--paneovr-store-muted);
	font-size: 15px;
	line-height: 1.7;
}

body.single-product.paneovr-commerce-storefront .woocommerce-Tabs-panel > h2:first-child {
	display: none;
}

body.single-product.paneovr-commerce-storefront .woocommerce-Tabs-panel :where(h2, h3, h4, strong) {
	color: var(--paneovr-store-navy);
}

body.single-product.paneovr-commerce-storefront .woocommerce-Tabs-panel ul {
	margin-inline-start: 0;
	padding-inline-start: 1.35em;
}

body.single-product.paneovr-commerce-storefront div.product :where(.up-sells.upsells.products, .related.products) {
	grid-column: 1 / -1;
	width: 100%;
	margin-block-start: clamp(34px, 5vw, 68px);
}

body.single-product.paneovr-commerce-storefront div.product :where(.up-sells.upsells.products, .related.products) > h2 {
	margin: 0 0 24px;
	color: var(--paneovr-store-navy);
	font-size: clamp(27px, 3vw, 38px);
	font-weight: 800;
	letter-spacing: -0.03em;
}

@media (max-width: 980px) {
	body.paneovr-commerce-storefront.woocommerce :where(ul.products, .up-sells.upsells.products ul.products, .related.products ul.products) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	body.woocommerce-shop.paneovr-commerce-storefront .paneovr-storefront-payments__header {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 10px;
	}

	body.woocommerce-shop.paneovr-commerce-storefront .paneovr-storefront-payments__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	body.single-product.paneovr-commerce-storefront div.product {
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
	}

	body.single-product.paneovr-commerce-storefront div.product .woocommerce-tabs,
	body.single-product.paneovr-commerce-storefront div.product .up-sells.upsells.products,
	body.single-product.paneovr-commerce-storefront div.product .related.products {
		grid-column: 1;
	}

	body.single-product.paneovr-commerce-storefront div.product .summary {
		padding: 24px;
	}
}

@media (max-width: 540px) {
	body.paneovr-commerce-storefront .site-content > .tg-container {
		width: calc(100% - 24px);
	}

	.paneovr-storefront-intro {
		padding: 20px 18px;
	}

	.paneovr-storefront-intro__benefits {
		gap: 7px;
	}

	body.woocommerce-shop.paneovr-commerce-storefront .paneovr-storefront-payments {
		padding: 14px;
	}

	body.woocommerce-shop.paneovr-commerce-storefront .paneovr-storefront-payment-method {
		padding: 10px;
	}

	body.paneovr-commerce-storefront.woocommerce :where(ul.products, .up-sells.upsells.products ul.products, .related.products ul.products) {
		grid-template-columns: minmax(0, 1fr);
	}

	body.paneovr-commerce-storefront.woocommerce ul.products li.product {
		padding: 12px 12px 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.paneovr-commerce-storefront.woocommerce ul.products li.product,
	body.paneovr-commerce-storefront.woocommerce ul.products li.product img,
	body.paneovr-commerce-storefront.woocommerce ul.products li.product .button {
		transition: none;
	}
}
