/* Pure Research Hub — single product page */

.prh-theme.single-product .wd-content-layout { padding-top: 32px; }
.prh-theme .product-image-summary-wrap { margin-bottom: 48px; }

/* Gallery */
.prh-theme .single-product-page .woocommerce-product-gallery .wd-carousel-item,
.prh-theme .single-product-page .woocommerce-product-gallery__image {
	background: var(--prh-bg);
	border-radius: 12px;
	overflow: hidden;
}
.prh-theme .single-product-page .woocommerce-product-gallery .wd-carousel-container:first-child,
.prh-theme .single-product-page .woocommerce-product-gallery > .wd-carousel-container {
	border: 1px solid var(--prh-line);
	border-radius: 12px;
	overflow: hidden;
}
.prh-theme .single-product-page .product-additional-galleries .wd-action-btn > a,
.prh-theme .single-product-page .woodmart-show-product-gallery {
	border-radius: 8px;
	box-shadow: 0 4px 14px rgba(11, 31, 58, .12);
}
.prh-theme .single-product-page .wd-gallery-thumb .wd-carousel-item,
.prh-theme .single-product-page .wd-gallery-thumb img {
	border-radius: 8px;
}
.prh-theme .single-product-page .wd-gallery-thumb .wd-carousel-item {
	border: 1px solid var(--prh-line);
	transition: border-color .2s ease;
}
.prh-theme .single-product-page .wd-gallery-thumb .wd-carousel-item.wd-thumb-active,
.prh-theme .single-product-page .wd-gallery-thumb .wd-carousel-item:hover { border-color: var(--prh-teal); }
.prh-theme .single-product-page .product-labels .product-label { border-radius: 6px; }

/* Summary */
.prh-theme .single-product-page .summary-inner { padding-left: 10px; }
.prh-theme .single-product-page .single-breadcrumbs-wrapper { margin-bottom: 14px; }
.prh-theme .single-product-page .wd-breadcrumbs,
.prh-theme .single-product-page .wd-breadcrumbs a { font-size: 13px; color: #8a97a8; }
.prh-theme .single-product-page .wd-breadcrumbs .wd-last { color: var(--prh-navy); font-weight: 600; }
.prh-theme .single-product-page .wd-product-brands img { max-height: 42px; width: auto; }
.prh-theme .single-product-page .product_title {
	margin-bottom: 12px;
	font-size: clamp(26px, 2.6vw, 36px);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -.02em;
}
.prh-theme .single-product-page .summary-inner > .price {
	display: inline-flex;
	align-items: baseline;
	gap: 10px;
	margin-bottom: 18px;
	font-size: 28px;
	font-weight: 800;
	color: var(--prh-navy);
}
.prh-theme .single-product-page .summary-inner > .price ins { text-decoration: none; color: var(--prh-teal-dark); }
.prh-theme .single-product-page .summary-inner > .price del { font-size: 18px; font-weight: 500; }
.prh-theme .single-product-page .woocommerce-product-details__short-description {
	margin-bottom: 22px;
	padding-bottom: 22px;
	border-bottom: 1px solid var(--prh-line);
	font-size: 15.5px;
	line-height: 1.75;
	color: var(--prh-text);
}

/* Variations & swatches */
.prh-theme .single-product-page .variations_form .variations { margin-bottom: 8px; }
.prh-theme .single-product-page .variations .label label,
.prh-theme .single-product-page .variations th.label {
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: var(--prh-navy);
}
.prh-theme .single-product-page .wd-swatch.wd-text {
	min-width: 44px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid var(--prh-line);
	border-radius: 8px;
	background: #fff;
	font-weight: 600;
}
.prh-theme .single-product-page .wd-swatch.wd-text.wd-active,
.prh-theme .single-product-page .wd-swatch.wd-text:hover { border-color: var(--prh-teal); color: var(--prh-teal-dark); box-shadow: inset 0 0 0 1px var(--prh-teal); }
.prh-theme .single-product-page .wd-swatch.wd-text .wd-swatch-text::after { display: none; }
.prh-theme .single-product-page .wd-swatch.wd-bg { border-radius: 8px; }
.prh-theme .single-product-page .wd-swatch.wd-bg .wd-swatch-bg { border-radius: 6px; }
.prh-theme .single-product-page .reset_variations { font-size: 13px; color: var(--prh-teal); }

/* Quantity + add to cart */
.prh-theme .single-product-page form.cart:not(.variations_form),
.prh-theme .single-product-page .woocommerce-variation-add-to-cart {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 12px;
	margin-bottom: 18px;
}
.prh-theme .single-product-page .summary-inner .quantity {
	display: inline-flex;
	align-items: stretch;
	height: 52px;
	margin: 0;
	border: 1px solid var(--prh-line);
	border-radius: 8px;
	background: #fff;
	overflow: hidden;
}
.prh-theme .single-product-page .summary-inner .quantity input.qty {
	width: 48px;
	height: 100%;
	border: 0;
	border-radius: 0;
	font-size: 16px;
	font-weight: 700;
	color: var(--prh-navy);
	box-shadow: none;
}
.prh-theme .single-product-page .summary-inner .quantity .minus,
.prh-theme .single-product-page .summary-inner .quantity .plus {
	width: 42px;
	height: 100%;
	border: 0;
	border-radius: 0;
	background: var(--prh-bg);
	color: var(--prh-navy);
	font-size: 18px;
	transform: none !important;
}
.prh-theme .single-product-page .summary-inner .quantity .minus:hover,
.prh-theme .single-product-page .summary-inner .quantity .plus:hover { background: var(--prh-mint); color: var(--prh-teal-dark); }
.prh-theme .single-product-page .single_add_to_cart_button {
	flex: 1 1 220px;
	height: 52px;
	padding: 0 28px;
	border-radius: 8px !important;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .02em;
}

/* Wishlist / compare / size guide */
.prh-theme .single-product-page .summary-inner .wd-action-btn > a,
.prh-theme .single-product-page .summary-inner .wd-sizeguide-btn > a {
	font-size: 14px;
	font-weight: 600;
	color: var(--prh-navy);
}
.prh-theme .single-product-page .summary-inner .wd-action-btn > a:hover,
.prh-theme .single-product-page .summary-inner .wd-sizeguide-btn > a:hover { color: var(--prh-teal); }

/* Trust row */
.prh-product-trust {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	margin: 6px 0 22px;
	padding: 0;
	list-style: none;
}
.prh-product-trust li {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 12px 14px;
	border: 1px solid var(--prh-line);
	border-radius: 8px;
	background: var(--prh-bg);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--prh-navy);
}
.prh-product-trust svg { flex: none; color: var(--prh-teal); }

/* Meta + share */
.prh-theme .single-product-page .product_meta {
	display: grid;
	gap: 8px;
	margin: 0 0 18px;
	padding: 16px 18px;
	border: 1px solid var(--prh-line);
	border-radius: 8px;
	font-size: 14px;
}
.prh-theme .single-product-page .product_meta > span { display: block; margin: 0; }
.prh-theme .single-product-page .product_meta .meta-label { font-weight: 700; color: var(--prh-navy); }
.prh-theme .single-product-page .product_meta a { color: var(--prh-teal-dark); }
.prh-theme .single-product-page .wd-social-icons .wd-social-icon {
	width: 34px;
	height: 34px;
	border: 1px solid var(--prh-line);
	border-radius: 8px;
	color: var(--prh-navy);
}
.prh-theme .single-product-page .wd-social-icons .wd-social-icon:hover { border-color: var(--prh-teal); color: var(--prh-teal); }
.prh-theme .single-product-page .share-title { font-weight: 700; color: var(--prh-navy); }

/* Tabs */
.prh-theme .product-tabs-wrapper {
	padding: 40px 0 56px;
	border-top: 1px solid var(--prh-line);
	background: #fff;
}
.prh-theme .product-tabs-wrapper .wd-nav-tabs-wrapper {
	margin-bottom: 32px;
	border-bottom: 1px solid var(--prh-line);
	text-align: center;
}
.prh-theme .product-tabs-wrapper .wd-nav-tabs { justify-content: center; gap: 28px; }
.prh-theme .product-tabs-wrapper .wd-nav-tabs > li > a {
	position: relative;
	padding: 0 0 14px !important;
	font-family: var(--wd-title-font);
	font-size: 16px;
	font-weight: 700;
	text-transform: none;
	color: #8a97a8;
}
.prh-theme .product-tabs-wrapper .wd-nav-tabs > li > a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 3px;
	border-radius: 3px 3px 0 0;
	background: transparent;
	transition: background-color .2s ease;
}
.prh-theme .product-tabs-wrapper .wd-nav-tabs > li.active > a,
.prh-theme .product-tabs-wrapper .wd-nav-tabs > li:hover > a { color: var(--prh-navy); }
.prh-theme .product-tabs-wrapper .wd-nav-tabs > li.active > a::after { background: var(--prh-teal); }
.prh-theme .product-tabs-wrapper .wd-nav-tabs .nav-link-text::after { display: none; }
.prh-theme .product-tabs-wrapper .woocommerce-Tabs-panel { font-size: 15.5px; line-height: 1.8; color: var(--prh-text); }
.prh-theme .product-tabs-wrapper .shop_attributes { border: 1px solid var(--prh-line); border-radius: 8px; overflow: hidden; border-collapse: separate; border-spacing: 0; max-width: 720px; }
.prh-theme .product-tabs-wrapper .shop_attributes th,
.prh-theme .product-tabs-wrapper .shop_attributes td { padding: 14px 18px; border-bottom: 1px solid var(--prh-line); }
.prh-theme .product-tabs-wrapper .shop_attributes tr:last-child th,
.prh-theme .product-tabs-wrapper .shop_attributes tr:last-child td { border-bottom: 0; }
.prh-theme .product-tabs-wrapper .shop_attributes th { width: 32%; background: var(--prh-bg); font-weight: 700; color: var(--prh-navy); }
@media (max-width: 1024px) {
	.prh-theme .product-tabs-wrapper .wd-accordion-item { border: 1px solid var(--prh-line); border-radius: 8px; margin-bottom: 10px; padding: 0 16px; }
	.prh-theme .product-tabs-wrapper .wd-accordion-title-text { font-weight: 700; text-transform: none; }
}

/* Description: always one single full-width column (no side columns, sticky blocks or sidebars) */
.prh-theme .product-tabs-wrapper .woocommerce-Tabs-panel,
.prh-theme .product-tabs-wrapper .wc-tab-inner { width: 100%; max-width: none; }
.prh-theme .product-tabs-wrapper .woocommerce-Tabs-panel .e-con,
.prh-theme .product-tabs-wrapper .woocommerce-Tabs-panel .e-con-inner {
	--flex-direction: column !important;
	--width: 100% !important;
	flex-direction: column !important;
	flex-wrap: nowrap !important;
}
.prh-theme .product-tabs-wrapper .woocommerce-Tabs-panel .e-con > .e-con,
.prh-theme .product-tabs-wrapper .woocommerce-Tabs-panel .e-con-inner > .e-con,
.prh-theme .product-tabs-wrapper .woocommerce-Tabs-panel .elementor-column,
.prh-theme .product-tabs-wrapper .woocommerce-Tabs-panel .elementor-widget {
	width: 100% !important;
	max-width: 100% !important;
	flex: 0 0 auto !important;
}
.prh-theme .product-tabs-wrapper .woocommerce-Tabs-panel .elementor-row,
.prh-theme .product-tabs-wrapper .woocommerce-Tabs-panel .elementor-container,
.prh-theme .product-tabs-wrapper .woocommerce-Tabs-panel .wpb_row,
.prh-theme .product-tabs-wrapper .woocommerce-Tabs-panel .row { display: block !important; }
.prh-theme .product-tabs-wrapper .woocommerce-Tabs-panel .wpb_column,
.prh-theme .product-tabs-wrapper .woocommerce-Tabs-panel [class*="col-"] { width: 100% !important; max-width: 100% !important; float: none !important; }
.prh-theme .product-tabs-wrapper .woocommerce-Tabs-panel [class*="sticky"],
.prh-theme .product-tabs-wrapper .woocommerce-Tabs-panel .elementor-sticky {
	position: static !important;
	top: auto !important;
	transform: none !important;
}
.prh-theme .product-tabs-wrapper .woocommerce-Tabs-panel .elementor-sticky__spacer { display: none !important; }
.prh-theme .product-tabs-wrapper .woocommerce-Tabs-panel aside,
.prh-theme .product-tabs-wrapper .woocommerce-Tabs-panel .sidebar-container,
.prh-theme .product-tabs-wrapper .woocommerce-Tabs-panel .widget-area { display: none !important; }
.prh-theme .product-tabs-wrapper .woocommerce-Tabs-panel img { max-width: 100%; height: auto; }

/* Related products */
.prh-theme .related-products { padding: 56px 0 24px; }
.prh-theme .related-products > .element-title,
.prh-theme .related-products > .slider-title {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	margin-bottom: 28px;
	font-size: clamp(24px, 2.4vw, 32px);
	font-weight: 800;
	text-transform: none;
	letter-spacing: -.01em;
	color: var(--prh-heading);
}
.prh-theme .related-products > .element-title::before {
	content: "You may also like";
	display: block;
	width: max-content;
	margin-bottom: 10px;
	padding: 5px 10px;
	border-radius: 4px;
	background: var(--prh-mint);
	color: var(--prh-teal-dark);
	font-family: var(--wd-text-font);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}
.prh-theme .related-products .wd-nav-arrows,
.prh-theme .related-products .wd-nav-pagin-wrap,
.prh-theme .related-products .wd-nav-scroll { display: none !important; }
/* Static grid instead of a carousel: 4 across on desktop, 2x2 on mobile */
.prh-theme .related-products .wd-carousel { overflow: visible; }
.prh-theme .related-products .wd-carousel-wrap {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	transform: none !important;
}
.prh-theme .related-products .wd-carousel-item { width: auto !important; max-width: none !important; margin: 0 !important; padding: 0 !important; }
@media (max-width: 1024px) {
	.prh-theme .related-products .wd-carousel-wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}

/* Mobile */
@media (max-width: 1024px) {
	.prh-theme .single-product-page .summary-inner { padding-left: 0; }
}
@media (max-width: 767px) {
	.prh-theme.single-product .wd-content-layout { padding-top: 16px; }
	.prh-theme .single-product-page .product_title { font-size: 24px; }
	.prh-theme .single-product-page .summary-inner > .price { font-size: 24px; }
	.prh-product-trust { grid-template-columns: 1fr; gap: 8px; }
	.prh-theme .single-product-page .single_add_to_cart_button { flex-basis: 160px; }
	.prh-theme .product-tabs-wrapper { padding: 24px 0 32px; }
	.prh-theme .related-products { padding-top: 32px; }
}
