/* ==========================================================================
   SINGLE PRODUCT — Pulse CI
   Charcoal #212121 + gold on cream. Accordion tabs, ATC row, related cards.
   ========================================================================== */

body.single-product.pulse-pdp,
body.single-product.pulse-pdp .wd-page-content {
	--pulse-ink: #212121;
	--pulse-gold: #b89d6b;
	--pulse-text: #3b3f44;
	--pulse-muted: #6b7280;
	--pulse-line: #e6e0d6;
	--pulse-bg: #faf8f5;
	--pulse-card: #ffffff;
}

body.single-product.pulse-pdp .wd-page-content {
	background: var(--pulse-bg, #faf8f5);
}

body.single-product.pulse-pdp .product_title,
body.single-product.pulse-pdp .wd-entities-title {
	font-family: var(--wd-title-font), Georgia, "Times New Roman", serif !important;
	font-weight: 500 !important;
	color: var(--pulse-ink, #212121) !important;
}

body.single-product.pulse-pdp .summary .price,
body.single-product.pulse-pdp .summary .price .amount {
	color: var(--pulse-ink, #212121) !important;
	font-weight: 600;
}

body.single-product.pulse-pdp .woocommerce-breadcrumb,
body.single-product.pulse-pdp .woocommerce-breadcrumb a {
	color: var(--pulse-muted, #6b7280);
}

body.single-product.pulse-pdp .woocommerce-breadcrumb a:hover {
	color: var(--pulse-gold, #b89d6b);
}

/* Rating under title */
body.single-product.pulse-pdp .pulse-pdp-rating {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 16px;
}

body.single-product.pulse-pdp .pulse-pdp-rating__link {
	color: var(--pulse-muted, #6b7280);
	font-size: 14px;
	text-decoration: none;
}

body.single-product.pulse-pdp .pulse-pdp-rating__link:hover {
	color: var(--pulse-gold, #b89d6b);
}

/* Qty + ATC */
body.single-product.pulse-pdp .pulse-pdp-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 12px;
	width: 100%;
}

body.single-product.pulse-pdp form.cart {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

body.single-product.pulse-pdp form.cart .quantity,
body.single-product.pulse-pdp .pulse-pdp-actions .quantity {
	display: inline-flex !important;
	align-items: center !important;
	height: 48px !important;
	margin: 0 !important;
	border: 1px solid var(--pulse-line, #e6e0d6) !important;
	border-radius: 4px !important;
	background: #fff !important;
	overflow: hidden;
}

body.single-product.pulse-pdp form.cart .quantity input.qty,
body.single-product.pulse-pdp form.cart .quantity .qty {
	height: 100% !important;
	border: 0 !important;
	background: transparent !important;
	color: var(--pulse-ink, #212121) !important;
	text-align: center;
}

body.single-product.pulse-pdp form.cart .quantity .minus,
body.single-product.pulse-pdp form.cart .quantity .plus,
body.single-product.pulse-pdp form.cart .quantity .wd-quantity-btn {
	border: 0 !important;
	background: transparent !important;
	color: var(--pulse-muted, #6b7280) !important;
}

body.single-product.pulse-pdp form.cart .single_add_to_cart_button,
body.single-product.pulse-pdp form.cart button.alt {
	flex: 1 1 180px;
	min-height: 48px !important;
	border: 0 !important;
	border-radius: 4px !important;
	background: var(--pulse-ink, #212121) !important;
	color: #fff !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

body.single-product.pulse-pdp form.cart .single_add_to_cart_button:hover {
	background: var(--pulse-gold, #b89d6b) !important;
	color: #fff !important;
}

body.single-product.pulse-pdp .pulse-wishlist-ghost,
body.single-product.pulse-pdp .pulse-pdp-actions .wd-wishlist-icon {
	flex: 1 1 100%;
	justify-content: center;
	color: var(--pulse-ink, #212121) !important;
}

body.single-product.pulse-pdp .pulse-wishlist-ghost:hover {
	color: var(--pulse-gold, #b89d6b) !important;
}

body.single-product.pulse-pdp .stock {
	color: var(--pulse-muted, #6b7280);
	font-size: 14px;
}

body.single-product.pulse-pdp .stock.in-stock {
	color: #3d6b4f;
}

body.single-product.pulse-pdp .stock.available-on-backorder {
	color: var(--pulse-gold, #b89d6b);
}

/* Trust */
body.single-product.pulse-pdp .pulse-pdp-trust {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-top: 28px;
	padding-top: 24px;
	border-top: 1px solid var(--pulse-line, #e6e0d6);
}

body.single-product.pulse-pdp .pulse-pdp-trust__item {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

body.single-product.pulse-pdp .pulse-pdp-trust__item strong {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--pulse-ink, #212121);
}

body.single-product.pulse-pdp .pulse-pdp-trust__item span,
body.single-product.pulse-pdp .pulse-pdp-trust__item a {
	font-size: 14px;
	color: var(--pulse-text, #3b3f44);
	text-decoration: none;
}

body.single-product.pulse-pdp .pulse-pdp-trust__item a:hover {
	color: var(--pulse-gold, #b89d6b);
}

@media (max-width: 768px) {
	body.single-product.pulse-pdp .pulse-pdp-trust {
		grid-template-columns: 1fr;
	}
}

/* Accordion — full width under the product, not tucked into the buy column */
body.single-product.pulse-pdp .product-tabs-wrapper,
body.single-product.pulse-pdp .woocommerce-tabs {
	display: block !important;
	visibility: visible !important;
	width: 100%;
	margin-top: 12px;
}

body.single-product.pulse-pdp .woocommerce-tabs.tabs-layout-accordion {
	margin: 8px 0 0;
}

/* Accordion tabs (hide the tab bar; stack WoodMart accordion items) */
body.single-product.pulse-pdp .woocommerce-tabs .wd-nav-tabs-wrapper {
	display: none !important;
}

body.single-product.pulse-pdp .woocommerce-tabs .wd-accordion-item {
	display: block !important;
	margin: 0;
	border: 0;
	border-bottom: 1px solid var(--pulse-line, #e6e0d6) !important;
}

body.single-product.pulse-pdp .woocommerce-tabs .wd-accordion-title {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 16px 0 !important;
	cursor: pointer;
}

body.single-product.pulse-pdp .woocommerce-tabs .wd-nav-tabs .wd-tabs-title,
body.single-product.pulse-pdp .wd-accordion-title-text,
body.single-product.pulse-pdp .wd-accordion-title-text span {
	font-family: var(--wd-title-font), Georgia, "Times New Roman", serif !important;
	font-size: 15px !important;
	font-weight: 500 !important;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--pulse-gold, #b89d6b) !important;
}

body.single-product.pulse-pdp .woocommerce-tabs .wd-accordion-title:hover .wd-accordion-title-text,
body.single-product.pulse-pdp .woocommerce-tabs .wd-accordion-title:hover .wd-accordion-title-text span {
	color: var(--pulse-gold, #b89d6b) !important;
}

body.single-product.pulse-pdp .woocommerce-Tabs-panel,
body.single-product.pulse-pdp .wd-accordion-item .entry-content,
body.single-product.pulse-pdp .woocommerce-tabs .wc-tab {
	color: var(--pulse-text, #3b3f44);
	padding: 0 0 20px !important;
	max-height: none !important;
	overflow: visible !important;
}

body.single-product.pulse-pdp .woocommerce-Tabs-panel.wd-scroll,
body.single-product.pulse-pdp .wd-accordion-content.wd-scroll,
body.single-product.pulse-pdp .wc-tab-inner.wd-scroll-content {
	max-height: none !important;
	height: auto !important;
	overflow: visible !important;
}

body.single-product.pulse-pdp .wd-single-reviews,
body.single-product.pulse-pdp .woocommerce-Reviews,
body.single-product.pulse-pdp .wd-reviews-content,
body.single-product.pulse-pdp .woocommerce-noreviews {
	display: block !important;
	color: var(--pulse-text, #3b3f44);
}

/* Related */
body.single-product.pulse-pdp .related.products .wd-entities-title,
body.single-product.pulse-pdp .related.products .wd-entities-title a,
body.single-product.pulse-pdp .related .title {
	color: var(--pulse-ink, #212121) !important;
}

body.single-product.pulse-pdp .related.products > h2,
body.single-product.pulse-pdp .related .element-title,
body.single-product.pulse-pdp .related .wd-title-wrapper .title {
	font-family: var(--wd-title-font), Georgia, "Times New Roman", serif !important;
	font-weight: 500 !important;
	color: var(--pulse-ink, #212121) !important;
	text-transform: none !important;
}

body.single-product.pulse-pdp .related .wd-product .button,
body.single-product.pulse-pdp .related .wd-product .add_to_cart_button,
body.single-product.pulse-pdp .related .wd-product a.button {
	border: 0 !important;
	border-radius: 4px !important;
	background: var(--pulse-ink, #212121) !important;
	color: #fff !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

body.single-product.pulse-pdp .related .wd-product .button:hover {
	background: var(--pulse-gold, #b89d6b) !important;
	color: #fff !important;
}

body.single-product.pulse-pdp .related .wd-product.color-scheme-light .wd-entities-title a,
body.single-product.pulse-pdp .related .wd-product.color-scheme-light .price {
	color: var(--pulse-ink, #212121) !important;
}

/* Stock dots */
body.single-product.pulse-pdp .stock {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 16px;
}

body.single-product.pulse-pdp .stock::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--pulse-muted, #6b7280);
	flex-shrink: 0;
}

body.single-product.pulse-pdp .stock.in-stock::before {
	background: #3d6b4f;
}

body.single-product.pulse-pdp .stock.out-of-stock::before {
	background: #b42318;
}

body.single-product.pulse-pdp .stock.available-on-backorder::before {
	background: var(--pulse-gold, #b89d6b);
}

/* Trust icons */
body.single-product.pulse-pdp .pulse-pdp-trust__item {
	flex-direction: row;
	align-items: flex-start;
	gap: 12px;
}

body.single-product.pulse-pdp .pulse-pdp-trust__icon {
	flex-shrink: 0;
	color: var(--pulse-gold, #b89d6b);
	margin-top: 2px;
}

/* Accordion — gold uppercase titles + caret, DD stack on cream */
body.single-product.pulse-pdp .wd-accordion-title-text,
body.single-product.pulse-pdp .wd-accordion-title-text span {
	font-family: var(--wd-title-font), Georgia, "Times New Roman", serif !important;
	font-size: 15px !important;
	font-weight: 500 !important;
	letter-spacing: 0.08em;
	text-transform: uppercase !important;
	color: var(--pulse-gold, #b89d6b) !important;
}

body.single-product.pulse-pdp .woocommerce-tabs .wd-accordion-title:hover .wd-accordion-title-text,
body.single-product.pulse-pdp .woocommerce-tabs .wd-accordion-title:hover .wd-accordion-title-text span {
	color: var(--pulse-ink, #212121) !important;
}

body.single-product.pulse-pdp .wd-accordion-title .wd-accordion-icon,
body.single-product.pulse-pdp .wd-accordion-title::after {
	color: var(--pulse-gold, #b89d6b);
}

/* Variations — thumbnail + label pills (WoodMart swatches + Pulse fallback) */
body.single-product.pulse-pdp table.variations {
	width: 100%;
	margin: 0 0 16px;
	border: 0;
}

body.single-product.pulse-pdp table.variations th,
body.single-product.pulse-pdp table.variations td,
body.single-product.pulse-pdp .woocommerce-variation-availability,
body.single-product.pulse-pdp .label-swatch,
body.single-product.pulse-pdp .wd-label-swatch {
	border: 0;
	background: transparent;
	text-align: left;
	font-size: 13px;
	color: var(--pulse-ink, #212121);
}

body.single-product.pulse-pdp .variations .label,
body.single-product.pulse-pdp .wd-swatches-title,
body.single-product.pulse-pdp .wd-label-swatch {
	display: block;
	margin: 0 0 8px;
	font-size: 13px;
	font-weight: 600;
	color: var(--pulse-ink, #212121);
}

body.single-product.pulse-pdp .wd-swatches,
body.single-product.pulse-pdp .pulse-var-swatches,
body.single-product.pulse-pdp .wd-linked-vars,
body.single-product.pulse-pdp .wd-swatches-product {
	display: flex !important;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 8px;
	width: 100%;
	margin: 0 0 16px;
}

body.single-product.pulse-pdp .wd-swatch,
body.single-product.pulse-pdp .pulse-var-swatch,
body.single-product.pulse-pdp .wd-linked-vars .wd-swatch {
	display: inline-flex !important;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: flex-start !important;
	gap: 10px;
	width: auto !important;
	min-width: 0 !important;
	min-height: 48px !important;
	height: auto !important;
	padding: 4px 14px 4px 4px !important;
	margin: 0 !important;
	border: 1px solid var(--pulse-line, #e6e0d6) !important;
	border-radius: 8px !important;
	background: #fff !important;
	box-shadow: none !important;
	cursor: pointer;
}

body.single-product.pulse-pdp .wd-swatch.wd-active,
body.single-product.pulse-pdp .wd-swatch.wd-bg-active,
body.single-product.pulse-pdp .pulse-var-swatch.is-active,
body.single-product.pulse-pdp .wd-swatch:hover:not(.wd-disabled) {
	border-color: var(--pulse-ink, #212121) !important;
}

body.single-product.pulse-pdp .wd-swatch::after {
	display: none !important;
}

body.single-product.pulse-pdp .wd-swatch .wd-swatch-bg,
body.single-product.pulse-pdp .wd-swatch img,
body.single-product.pulse-pdp .pulse-var-swatch img {
	display: block !important;
	width: 40px !important;
	height: 40px !important;
	border-radius: 6px;
	object-fit: cover;
	flex-shrink: 0;
}

body.single-product.pulse-pdp .wd-swatch .wd-swatch-text,
body.single-product.pulse-pdp .wd-swatch .wd-swatch-lable,
body.single-product.pulse-pdp .wd-swatch .wd-swatch-label,
body.single-product.pulse-pdp .pulse-var-swatch span {
	display: inline !important;
	position: static !important;
	width: auto !important;
	height: auto !important;
	padding: 0 !important;
	overflow: visible !important;
	opacity: 1 !important;
	font-size: 13px !important;
	font-weight: 500;
	line-height: 1.3;
	color: var(--pulse-ink, #212121) !important;
	text-transform: none !important;
	white-space: nowrap;
}

body.single-product.pulse-pdp .pulse-var-select-hidden {
	position: absolute !important;
	opacity: 0 !important;
	pointer-events: none !important;
	width: 1px !important;
	height: 1px !important;
}

body.single-product.pulse-pdp .woocommerce-variation.single_variation {
	margin: 0 0 12px;
}

body.single-product.pulse-pdp .reset_variations {
	color: var(--pulse-gold, #b89d6b);
}

/* Waitlist (out of stock) */
body.single-product.pulse-pdp .wd-waitlist,
body.single-product.pulse-pdp .wd-waitlist-form {
	margin: 12px 0 20px;
	padding: 16px;
	border: 1px solid var(--pulse-line, #e6e0d6);
	background: #fff;
}

body.single-product.pulse-pdp .wd-waitlist .button,
body.single-product.pulse-pdp .wd-waitlist-form .button {
	background: var(--pulse-ink, #212121) !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 4px !important;
}

/* Reviews — own section below accordion */
body.single-product.pulse-pdp .pulse-pdp-reviews {
	margin: 40px 0 0;
	padding-top: 8px;
}

body.single-product.pulse-pdp .pulse-pdp-reviews #reviews,
body.single-product.pulse-pdp .pulse-pdp-reviews .woocommerce-Reviews {
	color: var(--pulse-text, #3b3f44);
}

body.single-product.pulse-pdp .pulse-pdp-reviews .comment-reply-title,
body.single-product.pulse-pdp .pulse-pdp-reviews #reply-title,
body.single-product.pulse-pdp #reviews .woocommerce-Reviews-title {
	font-family: var(--wd-title-font), Georgia, "Times New Roman", serif !important;
	font-weight: 500 !important;
	color: var(--pulse-ink, #212121) !important;
	text-transform: none;
}

body.single-product.pulse-pdp .pulse-pdp-reviews .submit,
body.single-product.pulse-pdp #review_form .form-submit input[type="submit"] {
	border: 0 !important;
	border-radius: 4px !important;
	background: var(--pulse-ink, #212121) !important;
	color: #fff !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

body.single-product.pulse-pdp .pulse-pdp-reviews .submit:hover,
body.single-product.pulse-pdp #review_form .form-submit input[type="submit"]:hover {
	background: var(--pulse-gold, #b89d6b) !important;
}

/* Frequently bought together — WoodMart + Pulse upsell fallback */
body.single-product.pulse-pdp .wd-fbt,
body.single-product.pulse-pdp .wd-fbt-wrap,
body.single-product.pulse-pdp .pulse-fbt {
	margin: 40px 0 0;
	padding: 28px 32px;
	background: #fff;
	border: 1px solid var(--pulse-line, #e6e0d6);
}

body.single-product.pulse-pdp .wd-fbt .title,
body.single-product.pulse-pdp .wd-fbt .element-title,
body.single-product.pulse-pdp .wd-fbt-wrap .title,
body.single-product.pulse-pdp .pulse-fbt__title,
body.single-product.pulse-pdp .wd-fbt-form .wd-fbt-title {
	font-family: var(--wd-title-font), Georgia, "Times New Roman", serif !important;
	font-size: 22px !important;
	font-weight: 500 !important;
	color: var(--pulse-ink, #212121) !important;
	text-transform: none !important;
	margin: 0 0 20px;
}

body.single-product.pulse-pdp .pulse-fbt__grid,
body.single-product.pulse-pdp .wd-fbt-form,
body.single-product.pulse-pdp .wd-fbt .wd-fbt-form {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
	gap: 24px;
	align-items: stretch;
}

body.single-product.pulse-pdp .pulse-fbt__list,
body.single-product.pulse-pdp .wd-fbt-products,
body.single-product.pulse-pdp .wd-fbt .wd-fbt-products {
	list-style: none;
	margin: 0;
	padding: 0;
}

body.single-product.pulse-pdp .pulse-fbt__item,
body.single-product.pulse-pdp .wd-fbt-product {
	margin: 0;
	padding: 12px 0;
	border-bottom: 1px solid var(--pulse-line, #e6e0d6);
}

body.single-product.pulse-pdp .pulse-fbt__item:last-child,
body.single-product.pulse-pdp .wd-fbt-product:last-child {
	border-bottom: 0;
}

body.single-product.pulse-pdp .pulse-fbt__item label,
body.single-product.pulse-pdp .wd-fbt-product-heading,
body.single-product.pulse-pdp .wd-fbt-product label {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	cursor: pointer;
}

body.single-product.pulse-pdp .pulse-fbt__check,
body.single-product.pulse-pdp .wd-fbt-product input[type="checkbox"] {
	width: 18px;
	height: 18px;
	accent-color: var(--pulse-gold, #b89d6b);
	flex-shrink: 0;
}

body.single-product.pulse-pdp .pulse-fbt__thumb,
body.single-product.pulse-pdp .wd-fbt-product img,
body.single-product.pulse-pdp .wd-fbt-image {
	width: 56px;
	height: 56px;
	flex-shrink: 0;
	overflow: hidden;
	border-radius: 4px;
	background: var(--pulse-bg, #faf8f5);
}

body.single-product.pulse-pdp .pulse-fbt__thumb img,
body.single-product.pulse-pdp .wd-fbt-product img {
	width: 56px;
	height: 56px;
	object-fit: cover;
}

body.single-product.pulse-pdp .pulse-fbt__meta {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

body.single-product.pulse-pdp .pulse-fbt__name,
body.single-product.pulse-pdp .wd-fbt-product .wd-entities-title,
body.single-product.pulse-pdp .wd-fbt-product-heading .wd-entities-title {
	font-size: 14px;
	font-weight: 500;
	color: var(--pulse-ink, #212121) !important;
}

body.single-product.pulse-pdp .pulse-fbt__price,
body.single-product.pulse-pdp .wd-fbt-product .price,
body.single-product.pulse-pdp .wd-fbt-purchase .price,
body.single-product.pulse-pdp .pulse-fbt__total-amount {
	font-size: 14px;
	font-weight: 600;
	color: var(--pulse-ink, #212121);
}

body.single-product.pulse-pdp .pulse-fbt__summary,
body.single-product.pulse-pdp .wd-fbt-purchase,
body.single-product.pulse-pdp .wd-fbt-form .wd-fbt-purchase {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 12px;
	padding: 8px 0 8px 24px;
	border-left: 1px solid var(--pulse-line, #e6e0d6);
}

body.single-product.pulse-pdp .pulse-fbt__total {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

body.single-product.pulse-pdp .pulse-fbt__total-label,
body.single-product.pulse-pdp .pulse-fbt__count,
body.single-product.pulse-pdp .wd-fbt-purchase .wd-fbt-desc {
	font-size: 13px;
	color: var(--pulse-muted, #6b7280);
}

body.single-product.pulse-pdp .pulse-fbt__submit,
body.single-product.pulse-pdp .wd-fbt-purchase .button,
body.single-product.pulse-pdp .wd-fbt-form .single_add_to_cart_button {
	min-height: 48px;
	border: 0 !important;
	border-radius: 4px !important;
	background: var(--pulse-ink, #212121) !important;
	color: #fff !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

body.single-product.pulse-pdp .pulse-fbt__submit:hover,
body.single-product.pulse-pdp .wd-fbt-purchase .button:hover {
	background: var(--pulse-gold, #b89d6b) !important;
	color: #fff !important;
}

@media (max-width: 768px) {
	body.single-product.pulse-pdp .pulse-fbt__grid,
	body.single-product.pulse-pdp .wd-fbt-form {
		grid-template-columns: 1fr;
	}

	body.single-product.pulse-pdp .pulse-fbt__summary,
	body.single-product.pulse-pdp .wd-fbt-purchase {
		padding: 16px 0 0;
		border-left: 0;
		border-top: 1px solid var(--pulse-line, #e6e0d6);
	}
}
