/* ==========================================================================
   Single product.

   Measured off the source PDP at 1440 (tools/probe-pdp.js):
     title    Inter 43.2/44.06 w900 UPPERCASE #07090d
     intro h2 Inter 21.12/25.34 w900 #30343a
     intro p  Inter 16/24.96 #3d4047
     copy h2  Inter 24.32/29.18 w900 #30343a
     copy h3  Inter 17.6/21.12 w900 #30343a
     copy p   Inter 15.68/24.77 #555c64
     qty      146x45, bg #f9fbfc, 1px #edf0f2, radius 12
     cta      48px tall, radius 12, uppercase 13.76 w700, ls .2752
   ⚠ The source's add-to-cart measured GREY (#d8dee2 on #8a939b) because it
   renders DISABLED until a variant is chosen. We ship a working, accented CTA —
   hard rule 10 says every product is purchasable.
   ========================================================================== */

.wbs-pdp { padding: clamp(20px, 3vw, 36px) 0 clamp(40px, 6vw, 72px); }

.wbs-crumbs { font-size: 13.5px; color: var(--wbs-muted); margin-bottom: 18px; }
.wbs-crumbs a { color: var(--wbs-muted); }
.wbs-crumbs a:hover { color: var(--wbs-teal-deep); }
.wbs-crumbs span { margin: 0 6px; }
.wbs-crumbs__current { color: var(--wbs-ink); margin-left: 0; }

/* --- hero ------------------------------------------------------------------ */
.wbs-pdp__hero {
	display: grid;
	gap: clamp(24px, 4vw, 56px);
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: start;
}
@media (max-width: 900px) { .wbs-pdp__hero { grid-template-columns: 1fr; } }

.wbs-pdp__gallery {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1 / 1;
	padding: clamp(20px, 3vw, 40px);
	background: var(--wbs-white);
	border: 1px solid var(--wbs-sage-cool);
	border-radius: 28px;
	overflow: hidden;
}
.wbs-pdp__img { max-width: 100%; max-height: 100%; width: auto; object-fit: contain; }
.wbs-pdp__noimg {
	font-family: var(--wbs-font-display);
	font-size: 48px; letter-spacing: .08em; color: var(--wbs-sage-cool);
}

.wbs-pdp__badges { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 12px; padding: 0; }
.wbs-pdp__badge {
	padding: 4px 10px; border-radius: var(--wbs-radius-pill);
	background: rgba(167, 101, 53, .10);
	border: 1px solid rgba(167, 101, 53, .25);
	font-size: 11px; font-weight: 800; letter-spacing: .06em;
	text-transform: uppercase; color: var(--wbs-rust);
}

.wbs-pdp__title {
	font-family: var(--wbs-font-heading);
	font-size: clamp(1.9rem, 3.2vw, 2.7rem);
	font-weight: 900;
	line-height: 1.02;
	text-transform: uppercase;
	color: #07090d;
	margin: 0 0 10px;
}

.wbs-pdp__price {
	font-family: var(--wbs-font-heading);
	font-size: 1.5rem; font-weight: 800;
	color: var(--wbs-rust);
	margin-bottom: 6px;
}
/* Woo's `.woocommerce div.product p.price` is (0,2,2) — beat it here. */
.woocommerce div.product .wbs-pdp__price .price,
.woocommerce div.product .wbs-pdp__price p.price {
	margin: 0; font-size: inherit; font-weight: inherit; color: var(--wbs-rust);
}
.wbs-pdp__price del { opacity: .5; font-weight: 600; }
.wbs-pdp__price ins { text-decoration: none; }

.wbs-pdp__kit {
	display: inline-block;
	margin: 0 0 16px;
	padding: 3px 10px;
	border: 1px solid rgba(73, 132, 133, .25);
	border-radius: 8px;
	background: rgba(73, 132, 133, .10);
	font-size: .68rem; font-weight: 900; letter-spacing: .04em;
	text-transform: uppercase; color: #2e5354;
}

.wbs-pdp__intro { margin-bottom: 18px; }
.wbs-pdp__introheading {
	font-family: var(--wbs-font-heading);
	font-size: 1.32rem; font-weight: 900; line-height: 1.2;
	color: #30343a; margin: 0 0 8px;
}
.wbs-pdp__intro p { font-size: 1rem; line-height: 1.56; color: #3d4047; margin: 0; }

.wbs-pdp__stock {
	display: inline-flex; align-items: center; gap: 7px;
	margin: 0 0 14px; font-size: 14px; font-weight: 600; color: var(--wbs-teal-deep);
}
.wbs-pdp__stock::before {
	content: ""; width: 8px; height: 8px; border-radius: 50%;
	background: var(--wbs-teal);
}

/* --- Woo's add-to-cart form, restyled ---------------------------------------- */
.woocommerce div.product form.cart { margin: 0 0 20px; }
.woocommerce div.product form.cart .variations { margin-bottom: 14px; width: 100%; }
.woocommerce div.product form.cart .variations th,
.woocommerce div.product form.cart .variations td { padding: 6px 0; border: 0; display: block; text-align: left; }
.woocommerce div.product form.cart .variations label {
	font-size: 12px; font-weight: 800; letter-spacing: .08em;
	text-transform: uppercase; color: var(--wbs-muted);
}
.woocommerce div.product form.cart .variations select {
	width: 100%; padding: 12px 14px;
	border: 1px solid var(--wbs-sage-cool); border-radius: 12px;
	background: var(--wbs-white); color: var(--wbs-ink);
	font-family: var(--wbs-font-body); font-size: 15px;
}
.woocommerce div.product form.cart .reset_variations { font-size: 13px; }

.woocommerce div.product form.cart .quantity { margin-right: 10px; }
.woocommerce div.product form.cart .quantity .qty {
	width: 146px; height: 45px;
	background: #f9fbfc; border: 1px solid #edf0f2; border-radius: 12px;
	font-size: 15px; text-align: center; color: var(--wbs-ink);
}

.woocommerce div.product form.cart .button,
.woocommerce div.product form.cart button.single_add_to_cart_button {
	min-height: 48px;
	padding: 0 26px;
	border-radius: 12px;
	background: var(--wbs-teal);
	color: #fff;
	font-family: var(--wbs-font-heading);
	font-size: .86rem; font-weight: 700;
	letter-spacing: .02em; text-transform: uppercase;
}
.woocommerce div.product form.cart button.single_add_to_cart_button:hover { background: var(--wbs-teal-deep); }
.woocommerce div.product form.cart .woocommerce-variation-price { margin-bottom: 10px; }
.woocommerce div.product form.cart .woocommerce-variation-price .price { color: var(--wbs-rust); font-weight: 700; }

/* --- warehouse block ------------------------------------------------------------ */
.wbs-pdp__warehouse {
	margin-top: 18px; padding: 16px;
	background: var(--wbs-mist);
	border-radius: var(--wbs-radius);
}
.wbs-pdp__whlabel {
	display: block; font-size: 11px; font-weight: 800;
	letter-spacing: .1em; text-transform: uppercase; color: var(--wbs-muted);
}
.wbs-pdp__whname {
	display: inline-block; margin: 4px 0 8px;
	font-family: var(--wbs-font-heading); font-size: 1.05rem; font-weight: 700;
	color: var(--wbs-ink);
}
.wbs-pdp__ship { list-style: none; margin: 0; padding: 0; }
.wbs-pdp__ship li { font-size: 13.5px; color: var(--wbs-muted); margin-bottom: 3px; }
.wbs-pdp__ship strong { color: var(--wbs-ink); margin-right: 6px; }

/* --- warehouse order reviews ------------------------------------------------------ */
.wbs-whreviews {
	margin: clamp(32px, 5vw, 56px) 0 0;
	padding: 22px;
	background: var(--wbs-white);
	border: 1px solid var(--review-line);
	border-radius: var(--wbs-radius-lg);
}
.wbs-whreviews__title {
	font-family: var(--wbs-font-heading);
	font-size: 1.2rem; font-weight: 800; color: var(--review-ink); margin: 0 0 4px;
}
.wbs-whreviews__note { font-size: 13px; color: var(--review-muted); margin: 0 0 14px; }
.wbs-whreviews__score { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.wbs-whreviews__avg { font-family: var(--wbs-font-display); font-size: 32px; color: var(--review-ink); }
.wbs-whreviews__count { font-size: 13.5px; color: var(--review-muted); }
.wbs-whreviews__empty { font-size: 14px; color: var(--review-muted); }
.wbs-whreviews__list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 12px; }

/* --- long-form copy ----------------------------------------------------------------- */
.wbs-pdp__copy { margin: clamp(32px, 5vw, 56px) auto 0; max-width: 78ch; }
.wbs-pdp__copy h2 {
	font-family: var(--wbs-font-heading);
	font-size: 1.52rem; font-weight: 900; line-height: 1.2;
	color: #30343a; margin: 1.6em 0 .5em;
}
.wbs-pdp__copy h2:first-child { margin-top: 0; }
.wbs-pdp__copy h3 {
	font-family: var(--wbs-font-heading);
	font-size: 1.1rem; font-weight: 900; line-height: 1.2;
	color: #30343a; margin: 1.4em 0 .35em;
}
.wbs-pdp__copy p { font-size: .98rem; line-height: 1.58; color: #555c64; }

.wbs-pdp__signals { margin: clamp(32px, 5vw, 56px) 0 0; }

/* --- related ------------------------------------------------------------------------- */
.woocommerce .related.products {
	margin-top: clamp(36px, 5vw, 64px);
	width: min(100% - (var(--wbs-gutter) * 2), var(--wbs-container));
	margin-inline: auto;
}
.woocommerce .related.products > h2 {
	font-family: var(--wbs-font-heading);
	font-size: 1.5rem; font-weight: 800; color: var(--wbs-ink-deep); margin-bottom: 18px;
}
.woocommerce .related.products ul.products {
	display: grid; gap: 18px; list-style: none; margin: 0; padding: 0;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}
.woocommerce .related.products ul.products li.product { width: auto; float: none; margin: 0; }
@media (max-width: 900px) { .woocommerce .related.products ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
