/* WO Cart Wording 1.2.4: premium single-product presentation */

body.single-product {
	background: #f7f3ec;
}

body.single-product main,
body.single-product .wp-site-blocks {
	background: #f7f3ec;
}

body.single-product .wp-block-woocommerce-breadcrumbs,
body.single-product .woocommerce-breadcrumb {
	box-sizing: border-box;
	width: min(1200px, calc(100% - 48px));
	margin: 30px auto 22px !important;
	color: #716860;
	font-size: 0.86rem;
	line-height: 1.5;
}

body.single-product .wp-block-woocommerce-breadcrumbs a,
body.single-product .woocommerce-breadcrumb a {
	color: #8b2930;
	text-decoration: none;
}

body.single-product .wp-block-woocommerce-store-notices,
body.single-product .woocommerce-notices-wrapper {
	box-sizing: border-box;
	width: min(1200px, calc(100% - 48px));
	margin: 0 auto 28px !important;
}

body.single-product .woocommerce-message,
body.single-product .woocommerce-info,
body.single-product .woocommerce-error {
	padding: 18px 22px;
	background: #fff;
	border: 1px solid #ddd2c6;
	border-left: 4px solid #8b2930;
	border-radius: 10px;
	color: #342e2a;
}

body.single-product .wo-btb-product-layout {
	box-sizing: border-box;
	align-items: center !important;
	gap: clamp(46px, 7vw, 92px) !important;
	width: min(1200px, calc(100% - 48px));
	margin: 0 auto 86px !important;
	padding: 16px 0 0;
}

body.single-product .wo-btb-product-layout > .wp-block-column {
	min-width: 0;
}

body.single-product .wo-btb-gallery-column {
	align-self: flex-start;
}

body.single-product .wo-btb-product-gallery {
	box-sizing: border-box;
	width: 100%;
	height: auto;
	padding: clamp(22px, 3vw, 34px);
	overflow: hidden;
	background: #fff;
	border: 1px solid #e3d9cd;
	border-radius: 22px;
	box-shadow: 0 22px 55px rgba(45, 31, 24, 0.10), 0 3px 10px rgba(45, 31, 24, 0.04);
}

body.single-product .wo-btb-product-gallery img {
	box-sizing: border-box;
	display: block;
	max-width: 100% !important;
	height: auto !important;
	margin-right: auto !important;
	margin-left: auto !important;
	object-fit: contain !important;
}

body.single-product .wo-btb-product-gallery .flex-control-thumbs,
body.single-product .wo-btb-product-gallery [class*="thumbnail"] {
	margin-top: 18px;
}

body.single-product .wo-btb-product-gallery .flex-control-thumbs img,
body.single-product .wo-btb-product-gallery [class*="thumbnail"] img {
	border: 1px solid #ded4c9;
	border-radius: 8px;
}

body.single-product .wo-btb-product-summary {
	box-sizing: border-box;
	width: 100%;
	padding: 10px 0;
}

body.single-product .wo-btb-product-summary .wp-block-post-title,
body.single-product .wo-btb-product-summary h1.product_title {
	max-width: 650px;
	margin: 0 0 20px !important;
	color: #1d1b19;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: clamp(3.4rem, 5.7vw, 5.8rem);
	font-weight: 500;
	line-height: 0.95;
	letter-spacing: -0.035em;
}

body.single-product .wo-btb-product-summary .wp-block-woocommerce-product-price,
body.single-product .wo-btb-product-summary .price {
	margin: 0 0 24px !important;
	color: #8b2930 !important;
	font-size: clamp(1.35rem, 2vw, 1.65rem) !important;
	font-weight: 700 !important;
	line-height: 1.4;
}

body.single-product .wo-btb-product-summary .price del {
	color: #81776f !important;
	opacity: 0.75;
}

body.single-product .wo-btb-product-summary .price ins {
	color: #8b2930 !important;
	text-decoration: none;
}

body.single-product .wo-btb-product-summary .wp-block-woocommerce-product-summary,
body.single-product .wo-btb-product-summary .wp-block-post-excerpt,
body.single-product .wo-btb-product-summary .woocommerce-product-details__short-description {
	max-width: 650px;
	margin-bottom: 28px;
	color: #574f48;
	font-size: 1.08rem;
	line-height: 1.75;
}

body.single-product .wo-btb-product-summary table.variations {
	width: 100%;
	max-width: 560px;
	margin: 0 0 20px;
}

body.single-product .wo-btb-product-summary table.variations th,
body.single-product .wo-btb-product-summary table.variations td {
	display: block;
	width: 100%;
	padding: 0;
	text-align: left;
}

body.single-product .wo-btb-product-summary table.variations label {
	display: block;
	margin-bottom: 8px;
	color: #292522;
	font-size: 0.9rem;
	font-weight: 700;
}

body.single-product .wo-btb-product-summary select,
body.single-product .wo-btb-product-summary .wc-block-components-select__select {
	box-sizing: border-box;
	width: 100%;
	min-height: 54px;
	padding: 12px 44px 12px 15px;
	background: #fff;
	border: 1px solid #cabfb3;
	border-radius: 10px;
	color: #1d1b19;
	font-size: 1rem;
}

body.single-product .wo-btb-product-summary select:focus {
	border-color: #8b2930;
	outline: 3px solid rgba(139, 41, 48, 0.12);
}

body.single-product .wo-btb-product-summary form.cart {
	display: flex;
	align-items: stretch;
	flex-wrap: wrap;
	gap: 12px;
	margin: 24px 0 0 !important;
}

body.single-product .wo-btb-product-summary .quantity {
	margin: 0 !important;
}

body.single-product .wo-btb-product-summary .quantity input.qty {
	box-sizing: border-box;
	width: 72px;
	min-height: 56px;
	padding: 10px;
	background: #fff;
	border: 1px solid #cabfb3;
	border-radius: 10px;
	color: #1d1b19;
	font-size: 1rem;
	text-align: center;
}

body.single-product .wo-btb-product-summary .single_add_to_cart_button,
body.single-product .wo-btb-product-summary button[type="submit"],
body.single-product .wo-btb-product-summary .wp-element-button {
	min-height: 56px;
	padding: 15px 32px !important;
	background: #8b2930 !important;
	border: 2px solid #8b2930 !important;
	border-radius: 999px !important;
	color: #fff !important;
	font-size: 1rem !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	cursor: pointer;
	transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

body.single-product .wo-btb-product-summary .single_add_to_cart_button:hover,
body.single-product .wo-btb-product-summary button[type="submit"]:hover,
body.single-product .wo-btb-product-summary .wp-element-button:hover {
	background: #a1363e !important;
	border-color: #a1363e !important;
	color: #fff !important;
	transform: translateY(-2px);
	box-shadow: 0 11px 25px rgba(92, 31, 35, 0.18);
}

body.single-product .wo-btb-product-trust {
	margin: 30px 0 0;
	padding: 23px 0 0;
	border-top: 1px solid #dfd5ca;
	list-style: none;
}

body.single-product .wo-btb-product-trust li {
	position: relative;
	margin: 11px 0;
	padding-left: 28px;
	color: #625a53;
	font-size: 0.93rem;
	line-height: 1.5;
}

body.single-product .wo-btb-product-trust li::before {
	content: "✓";
	position: absolute;
	top: 0;
	left: 0;
	color: #8b2930;
	font-weight: 800;
}

body.single-product .wo-btb-product-summary .wp-block-woocommerce-product-meta,
body.single-product .wo-btb-product-summary .product_meta {
	margin-top: 26px;
	padding-top: 20px;
	border-top: 1px solid #dfd5ca;
	color: #756d66;
	font-size: 0.8rem;
	line-height: 1.7;
}

body.single-product .wo-btb-product-summary .product_meta a {
	color: #8b2930;
	text-decoration: none;
}

@media (max-width: 781px) {
	body.single-product .wp-block-woocommerce-breadcrumbs,
	body.single-product .woocommerce-breadcrumb,
	body.single-product .wp-block-woocommerce-store-notices,
	body.single-product .woocommerce-notices-wrapper,
	body.single-product .wo-btb-product-layout {
		width: calc(100% - 40px);
	}

	body.single-product .wo-btb-product-layout {
		gap: 42px !important;
		margin-bottom: 64px !important;
	}

	body.single-product .wo-btb-product-gallery {
		max-width: 520px;
		margin: 0 auto;
	}

	body.single-product .wo-btb-product-summary {
		padding: 0;
	}

	body.single-product .wo-btb-product-summary .wp-block-post-title,
	body.single-product .wo-btb-product-summary h1.product_title {
		font-size: clamp(3rem, 14vw, 4.6rem);
	}

	body.single-product .wo-btb-product-summary form.cart {
		align-items: stretch;
		flex-direction: column;
	}

	body.single-product .wo-btb-product-summary .quantity,
	body.single-product .wo-btb-product-summary .quantity input.qty,
	body.single-product .wo-btb-product-summary .single_add_to_cart_button,
	body.single-product .wo-btb-product-summary button[type="submit"] {
		width: 100%;
	}
}


/* Single-product sale badge */
body.single-product div.product span.onsale,
body.single-product .woocommerce-product-gallery span.onsale {
	left: 18px !important;
	right: auto !important;
	top: 18px !important;
	min-width: auto !important;
	min-height: auto !important;
	margin: 0 !important;
	padding: 11px 16px !important;
	background: #8b2930 !important;
	border: 0 !important;
	border-radius: 999px !important;
	color: #ffffff !important;
	font-size: 0.82rem !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	z-index: 6 !important;
}

/* Related products */
body.single-product .related.products {
	box-sizing: border-box;
	width: min(1200px, calc(100% - 48px));
	margin: 56px auto 96px !important;
}

body.single-product .related.products > h2,
body.single-product .related.products > h3,
body.single-product .related.products .wp-block-heading {
	margin: 0 0 28px !important;
	color: #1d1b19;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: clamp(2rem, 3.2vw, 3rem) !important;
	font-weight: 600;
	line-height: 1.05;
}

body.single-product .related.products ul.products {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 30px !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

body.single-product .related.products ul.products::before,
body.single-product .related.products ul.products::after {
	display: none !important;
}

body.single-product .related.products ul.products li.product {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100% !important;
	min-width: 0;
	margin: 0 !important;
	padding: 22px 22px 28px !important;
	background: #ffffff;
	border: 1px solid #e2d8cc;
	border-radius: 20px;
	box-shadow: 0 16px 40px rgba(45, 31, 24, 0.07), 0 2px 8px rgba(45, 31, 24, 0.04);
	text-align: center;
	overflow: hidden;
	transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

body.single-product .related.products ul.products li.product::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	z-index: 3;
	width: 64px;
	height: 3px;
	background: #b58a4b;
	border-radius: 0 0 4px 4px;
	transform: translateX(-50%);
}

body.single-product .related.products ul.products li.product:hover {
	transform: translateY(-6px);
	border-color: rgba(139, 41, 48, 0.28);
	box-shadow: 0 24px 54px rgba(45, 31, 24, 0.12), 0 4px 12px rgba(45, 31, 24, 0.06);
}

body.single-product .related.products ul.products li.product a img {
	box-sizing: border-box;
	display: block;
	width: 100% !important;
	height: 360px !important;
	margin: 0 0 22px !important;
	padding: 20px !important;
	object-fit: contain !important;
	background: #eee7dc;
	border-radius: 14px;
}

body.single-product .related.products ul.products li.product .woocommerce-loop-product__title {
	min-height: 2.2em;
	margin: 0 0 16px !important;
	padding: 0 !important;
	color: #1d1b19;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: clamp(1.7rem, 2vw, 2rem) !important;
	font-weight: 600;
	line-height: 1.08;
}

body.single-product .related.products ul.products li.product .wo-book-formats,
body.single-product .related.products ul.products li.product .product-formats,
body.single-product .related.products ul.products li.product p {
	font-size: 0.95rem;
}

body.single-product .related.products ul.products li.product .price {
	display: block;
	margin: 18px 0 22px !important;
	color: #1d1b19 !important;
	font-size: 1.08rem !important;
	font-weight: 700 !important;
	line-height: 1.5;
}

body.single-product .related.products ul.products li.product .button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	min-height: 54px;
	margin: auto 0 0 !important;
	padding: 15px 24px !important;
	background: #8b2930 !important;
	border: 2px solid #8b2930 !important;
	border-radius: 999px !important;
	color: #ffffff !important;
	font-size: 1rem !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	text-align: center;
	text-decoration: none !important;
}

body.single-product .related.products ul.products li.product .button:hover {
	background: #a1363e !important;
	border-color: #a1363e !important;
	color: #ffffff !important;
}

body.single-product .related.products ul.products li.product span.onsale {
	left: 34px !important;
	right: auto !important;
	top: 34px !important;
	padding: 10px 14px !important;
	font-size: 0.72rem !important;
	z-index: 5 !important;
}

@media (max-width: 781px) {
	body.single-product .related.products {
		width: calc(100% - 40px);
		margin: 44px auto 72px !important;
	}

	body.single-product .related.products ul.products {
		grid-template-columns: 1fr;
		gap: 24px !important;
	}

	body.single-product .related.products ul.products li.product a img {
		height: 320px !important;
	}
}


/* Related products: block and classic layouts */
body.single-product .wo-btb-related-products {
	box-sizing: border-box;
	width: min(1200px, calc(100% - 48px));
	margin: 58px auto 96px !important;
}

body.single-product .wo-btb-related-products > h2,
body.single-product .wo-btb-related-products > h3,
body.single-product .wo-btb-related-products .wp-block-heading,
body.single-product .wo-btb-related-products .related-products-title {
	margin: 0 0 30px !important;
	color: #1d1b19 !important;
	font-family: "Cormorant Garamond", Georgia, serif !important;
	font-size: clamp(2.4rem, 4vw, 3.8rem) !important;
	font-weight: 600 !important;
	line-height: 1.02 !important;
	letter-spacing: -0.02em;
}

body.single-product .wo-btb-related-products .wc-block-product-template,
body.single-product .wo-btb-related-products ul.products {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 30px !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

body.single-product .wo-btb-related-products .wc-block-product,
body.single-product .wo-btb-related-products ul.products li.product {
	box-sizing: border-box;
	position: relative;
	display: flex !important;
	flex-direction: column !important;
	width: 100% !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 22px 22px 28px !important;
	overflow: hidden;
	background: #ffffff;
	border: 1px solid #e2d8cc;
	border-radius: 20px;
	box-shadow: 0 16px 40px rgba(45, 31, 24, 0.07), 0 2px 8px rgba(45, 31, 24, 0.04);
	text-align: center;
	transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

body.single-product .wo-btb-related-products .wc-block-product:hover,
body.single-product .wo-btb-related-products ul.products li.product:hover {
	transform: translateY(-6px);
	border-color: rgba(139, 41, 48, 0.28);
	box-shadow: 0 24px 54px rgba(45, 31, 24, 0.12), 0 4px 12px rgba(45, 31, 24, 0.06);
}

body.single-product .wo-btb-related-products .wc-block-components-product-image {
	box-sizing: border-box;
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	aspect-ratio: 4 / 5;
	margin: 0 0 24px !important;
	padding: 20px !important;
	overflow: hidden;
	background: #eee7dc;
	border-radius: 14px;
}

body.single-product .wo-btb-related-products .wc-block-components-product-image > a {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	height: 100% !important;
}

body.single-product .wo-btb-related-products .wc-block-components-product-image img {
	display: block;
	width: auto !important;
	max-width: 100% !important;
	height: 100% !important;
	max-height: 100% !important;
	margin: 0 auto !important;
	padding: 0 !important;
	object-fit: contain !important;
	object-position: center !important;
	border-radius: 4px;
}

body.single-product .wo-btb-related-products ul.products li.product a img {
	box-sizing: border-box;
	display: block;
	width: 100% !important;
	height: 360px !important;
	margin: 0 0 24px !important;
	padding: 20px !important;
	object-fit: contain !important;
	object-position: center !important;
	background: #eee7dc;
	border-radius: 14px;
}

body.single-product .wo-btb-related-products .wc-block-components-product-name,
body.single-product .wo-btb-related-products .woocommerce-loop-product__title {
	min-height: 2.2em;
	margin: 0 0 14px !important;
	padding: 0 !important;
	color: #1d1b19 !important;
	font-family: "Cormorant Garamond", Georgia, serif !important;
	font-size: clamp(1.8rem, 2.3vw, 2.15rem) !important;
	font-weight: 600 !important;
	line-height: 1.08 !important;
	text-decoration: none !important;
}

body.single-product .wo-btb-related-products .wc-block-components-product-price,
body.single-product .wo-btb-related-products ul.products li.product .price {
	display: block !important;
	margin: 16px 0 22px !important;
	color: #1d1b19 !important;
	font-size: 1.1rem !important;
	font-weight: 700 !important;
	line-height: 1.5 !important;
}

body.single-product .wo-btb-related-products .wp-block-woocommerce-product-button,
body.single-product .wo-btb-related-products .wc-block-components-product-button {
	width: 100%;
	margin-top: auto !important;
}

body.single-product .wo-btb-related-products .wp-element-button,
body.single-product .wo-btb-related-products .button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	min-height: 54px !important;
	margin: auto 0 0 !important;
	padding: 15px 24px !important;
	background: #8b2930 !important;
	border: 2px solid #8b2930 !important;
	border-radius: 999px !important;
	color: #ffffff !important;
	font-size: 1rem !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	text-decoration: none !important;
}

body.single-product .wo-btb-related-products .wp-element-button:hover,
body.single-product .wo-btb-related-products .button:hover {
	background: #a1363e !important;
	border-color: #a1363e !important;
	color: #ffffff !important;
}

@media (max-width: 781px) {
	body.single-product .wo-btb-related-products {
		width: calc(100% - 40px);
		margin: 46px auto 72px !important;
	}

	body.single-product .wo-btb-related-products .wc-block-product-template,
	body.single-product .wo-btb-related-products ul.products {
		grid-template-columns: 1fr !important;
		gap: 24px !important;
	}

	body.single-product .wo-btb-related-products ul.products li.product a img {
		height: 320px !important;
	}
}
