/* ==========================================================================
   FLAMTEES — WooCommerce Single Product Page
   ========================================================================== */

body.single-product {
	background: #ffffff;
}

body.single-product .site-main,
body.single-product main {
	width: 100%;
}

/*
 * Main container:
 * 160px kat3ni 80px espace mn lisar w 80px mn limn.
 * Haka image, breadcrumb, reviews w related products ma يبقاوش las9in.
 */
body.single-product .woocommerce {
	width: min(
		calc(100% - 160px),
		var(--flamtees-container-width, 1280px)
	);
	margin: 0 auto;
	padding: 36px 0 80px;
	box-sizing: border-box;
}

/* ==========================================================================
   Breadcrumb
   ========================================================================== */

body.single-product .woocommerce-breadcrumb {
	width: 100%;
	margin: 0 0 28px;
	padding: 0;
	overflow: hidden;
	font-size: 0.78rem;
	font-weight: 500;
	line-height: 1.55;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: #777777;
}

body.single-product .woocommerce-breadcrumb a {
	color: #333333;
}

body.single-product .woocommerce-breadcrumb a:hover {
	color: var(--flamtees-color-primary);
}

/* ==========================================================================
   Main Product Layout
   ========================================================================== */

body.single-product div.product {
	display: grid;
	grid-template-columns:
		minmax(0, 1.08fr)
		minmax(340px, 0.92fr);
	align-items: start;
	column-gap: 54px;
	row-gap: 0;
	width: 100%;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body.single-product div.product::before,
body.single-product div.product::after {
	display: none;
	content: none;
}

body.single-product div.product div.images,
body.single-product div.product div.summary {
	float: none;
	width: 100%;
	margin: 0;
	box-sizing: border-box;
}

/* ==========================================================================
   Product Gallery
   ========================================================================== */

body.single-product div.product div.images {
	position: relative;
	grid-column: 1;
	min-width: 0;
}

body.single-product .woocommerce-product-gallery {
	width: 100%;
	margin: 0;
}

body.single-product .woocommerce-product-gallery__wrapper {
	width: 100%;
	margin: 0;
}

body.single-product .woocommerce-product-gallery__image {
	width: 100%;
	overflow: hidden;
	background: #f5f5f5;
}

body.single-product .woocommerce-product-gallery__image a {
	display: block;
	width: 100%;
}

body.single-product .woocommerce-product-gallery__image img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	object-fit: cover;
}

body.single-product .woocommerce-product-gallery__trigger {
	top: 16px;
	right: 16px;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: #ffffff;
	box-shadow: 0 5px 18px rgba(0, 0, 0, 0.1);
}

body.single-product .flex-control-thumbs {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	margin: 12px 0 0;
	padding: 0;
}

body.single-product .flex-control-thumbs li {
	float: none;
	width: 100%;
	margin: 0;
}

body.single-product .flex-control-thumbs img {
	display: block;
	width: 100%;
	margin: 0;
	cursor: pointer;
	background: #f4f4f4;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

body.single-product span.onsale {
	display: none;
}

/* ==========================================================================
   Product Summary
   ========================================================================== */

body.single-product div.product div.summary {
	position: static;
	grid-column: 2;
	min-width: 0;
	padding: 18px 8px 0 0;
}

/* Product title — smaller and maximum 3 lines */
body.single-product div.product .product_title {
	display: -webkit-box;
	width: 100%;
	max-height: 3.66em;
	margin: 0 0 24px;
	padding: 0 0 4px;
	overflow: hidden;
	font-size: clamp(1.7rem, 2.25vw, 2.4rem);
	font-weight: 600;
	line-height: 1.22;
	letter-spacing: -0.025em;
	text-transform: none;
	color: #111111;
	overflow-wrap: normal;
	word-break: normal;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

body.single-product div.product p.price,
body.single-product div.product span.price {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 24px;
	font-size: 1.3rem;
	font-weight: 800;
	line-height: 1.3;
	color: var(--flamtees-color-primary);
}

body.single-product div.product p.price del,
body.single-product div.product span.price del {
	margin: 0;
	font-size: 0.92rem;
	font-weight: 500;
	opacity: 0.45;
	color: #555555;
}

body.single-product div.product p.price ins,
body.single-product div.product span.price ins {
	text-decoration: none;
	color: var(--flamtees-color-primary);
}

body.single-product .woocommerce-product-details__short-description {
	max-width: 580px;
	margin: 0 0 26px;
	font-size: 0.95rem;
	line-height: 1.7;
	color: #4f4f4f;
}

body.single-product
	.woocommerce-product-details__short-description
	p {
	margin: 0 0 14px;
}

/* ==========================================================================
   Variations
   ========================================================================== */

body.single-product form.variations_form {
	width: 100%;
}

body.single-product table.variations {
	width: 100%;
	margin: 0 0 22px;
	border: 0;
}

body.single-product table.variations tr,
body.single-product table.variations th,
body.single-product table.variations td {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
}

body.single-product table.variations th {
	margin-bottom: 8px;
}

body.single-product table.variations label {
	font-size: 0.82rem;
	font-weight: 700;
	text-transform: uppercase;
	color: #222222;
}

body.single-product table.variations select {
	width: 100%;
	min-height: 50px;
	padding: 10px 14px;
	border: 1px solid #d9d9d9;
	border-radius: 0;
	background: #ffffff;
	font-size: 0.9rem;
	color: #111111;
}

body.single-product .reset_variations {
	display: inline-block;
	margin-top: 8px;
	font-size: 0.75rem;
	color: #777777;
}

/* ==========================================================================
   Add to Cart
   ========================================================================== */

body.single-product form.cart {
	display: flex;
	align-items: stretch;
	flex-wrap: wrap;
	gap: 12px;
	width: 100%;
	margin: 0 0 32px;
}

body.single-product form.cart .quantity {
	float: none;
	flex: 0 0 76px;
	margin: 0;
}

body.single-product form.cart .qty {
	display: block;
	width: 76px;
	height: 52px;
	padding: 8px;
	border: 1px solid #d7d7d7;
	border-radius: 0;
	background: #ffffff;
	font-size: 1rem;
	font-weight: 600;
	text-align: center;
	color: #111111;
	box-sizing: border-box;
}

body.single-product form.cart .single_add_to_cart_button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 188px;
	min-height: 52px;
	padding: 13px 30px;
	border: 2px solid var(--flamtees-color-primary);
	border-radius: 0;
	background: var(--flamtees-color-primary);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-align: center;
	text-transform: uppercase;
	color: #ffffff;
	cursor: pointer;
	transition:
		background-color var(--flamtees-transition-fast),
		color var(--flamtees-transition-fast),
		transform var(--flamtees-transition-fast);
}

body.single-product form.cart .single_add_to_cart_button:hover {
	background: #467fa8;
	color: #ffffff;
	transform: translateY(-1px);
}

body.single-product
	form.cart
	.single_add_to_cart_button.disabled,
body.single-product
	form.cart
	.single_add_to_cart_button:disabled {
	cursor: not-allowed;
	opacity: 0.55;
}

/* ==========================================================================
   Product Meta
   ========================================================================== */

body.single-product .product_meta {
	display: grid;
	gap: 8px;
	width: 100%;
	margin-top: 4px;
	padding-top: 24px;
	border-top: 1px solid #e5e5e5;
	font-size: 0.8rem;
	line-height: 1.6;
	color: #666666;
}

body.single-product .product_meta > span {
	display: block;
}

body.single-product .product_meta a {
	color: #333333;
}

body.single-product .product_meta a:hover {
	color: var(--flamtees-color-primary);
}

/* ==========================================================================
   Tabs and Reviews
   ========================================================================== */

body.single-product .woocommerce-tabs {
	grid-column: 1 / -1;
	clear: both;
	width: 100%;
	margin: 58px 0 0;
	padding: 0;
	box-sizing: border-box;
}

body.single-product .woocommerce-tabs ul.tabs {
	display: flex;
	align-items: flex-end;
	gap: 0;
	width: 100%;
	margin: 0;
	padding: 0 0 0 4px;
	border-bottom: 1px solid #cbd6e3;
	box-sizing: border-box;
}

body.single-product .woocommerce-tabs ul.tabs::before,
body.single-product .woocommerce-tabs ul.tabs::after {
	display: none;
	content: none;
}

body.single-product .woocommerce-tabs ul.tabs li {
	margin: 0;
	padding: 0;
	border: 1px solid #d5d5d5;
	border-bottom: 0;
	border-radius: 0;
	background: #ffffff;
}

body.single-product .woocommerce-tabs ul.tabs li::before,
body.single-product .woocommerce-tabs ul.tabs li::after {
	display: none;
	content: none;
}

body.single-product .woocommerce-tabs ul.tabs li a {
	display: block;
	min-width: 126px;
	padding: 15px 20px 13px;
	border-bottom: 3px solid transparent;
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-align: center;
	text-transform: uppercase;
	color: #333333;
}

body.single-product .woocommerce-tabs ul.tabs li.active a {
	border-bottom-color: var(--flamtees-color-primary);
	color: #111111;
}

/*
 * Reviews padding:
 * kayb3ed lktaba mn janb lisar aktar.
 */
body.single-product .woocommerce-tabs .panel {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 32px 34px 22px;
	box-sizing: border-box;
}

body.single-product .woocommerce-tabs .panel h2 {
	margin: 0 0 22px;
	font-size: clamp(1.55rem, 2.2vw, 2rem);
	font-weight: 800;
	line-height: 1.15;
	color: #111111;
}

body.single-product .woocommerce-tabs .panel p {
	max-width: 920px;
	margin: 0 0 18px;
	font-size: 0.94rem;
	line-height: 1.75;
	color: #4f4f4f;
}/* ==========================================================================
   Reviews
   ========================================================================== */

body.single-product #reviews {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body.single-product #reviews::before,
body.single-product #reviews::after {
	display: none;
	content: none;
}

body.single-product #reviews #comments,
body.single-product #reviews #review_form_wrapper {
	float: none;
	width: 100%;
	max-width: 940px;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body.single-product #reviews #comments {
	margin-bottom: 30px;
}

body.single-product #reviews #comments ol.commentlist {
	margin: 0;
	padding: 0;
}

body.single-product #reviews #comments ol.commentlist li {
	margin-bottom: 24px;
	padding: 0;
}

body.single-product #reviews #review_form_wrapper {
	margin-top: 24px;
}

body.single-product #reviews #reply-title {
	display: block;
	max-width: 900px;
	margin: 0 0 20px;
	font-size: 0.98rem;
	font-weight: 600;
	line-height: 1.6;
	color: #222222;
}

body.single-product #reviews .comment-form {
	display: grid;
	width: 100%;
	gap: 18px;
	margin: 0;
	padding: 0;
}

body.single-product #reviews .comment-form p {
	width: 100%;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body.single-product #reviews .comment-form label {
	display: block;
	margin-bottom: 9px;
	font-size: 0.82rem;
	font-weight: 700;
	color: #222222;
}

body.single-product #reviews .comment-form-rating {
	display: block;
	width: 100%;
}

body.single-product #reviews .comment-form-rating .stars {
	display: block;
	margin: 8px 0 0;
}

body.single-product #reviews .comment-form-rating .stars a {
	color: var(--flamtees-color-primary);
}

body.single-product #reviews .comment-form-comment {
	width: 100%;
}

body.single-product #reviews .comment-form textarea,
body.single-product #reviews .comment-form input[type="text"],
body.single-product #reviews .comment-form input[type="email"] {
	display: block;
	width: 100%;
	padding: 14px 16px;
	border: 1px solid #d8d8d8;
	border-radius: 0;
	background: #ffffff;
	font: inherit;
	color: #111111;
	box-sizing: border-box;
}

body.single-product #reviews .comment-form textarea {
	min-height: 165px;
	resize: vertical;
}

body.single-product #reviews .form-submit {
	margin-top: 2px;
}

body.single-product
	#reviews
	.form-submit
	input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 130px;
	min-height: 48px;
	padding: 12px 26px;
	border: 2px solid var(--flamtees-color-primary);
	border-radius: 0;
	background: var(--flamtees-color-primary);
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: #ffffff;
	cursor: pointer;
}

/* ==========================================================================
   Related Products
   ========================================================================== */

body.single-product .related.products {
	grid-column: 1 / -1;
	clear: both;
	width: 100%;
	margin: 66px 0 0;
	padding: 0 34px;
	box-sizing: border-box;
}

body.single-product .related.products > h2 {
	margin: 0 0 28px;
	font-size: clamp(1.8rem, 3vw, 2.7rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.03em;
	text-transform: uppercase;
	color: var(--flamtees-color-primary);
}

body.single-product .related.products ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 26px 18px;
	width: 100%;
	margin: 0;
	padding: 0;
}

body.single-product
	.related.products
	ul.products
	li.product {
	float: none;
	width: 100%;
	margin: 0;
	padding: 0;
}

body.single-product
	.related.products
	ul.products
	li.product
	a
	img {
	display: block;
	width: 100%;
	margin: 0 0 14px;
	background: #f3f3f3;
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

body.single-product .related.products .onsale {
	display: none;
}

body.single-product
	.related.products
	.woocommerce-loop-product__title {
	display: -webkit-box;
	height: 42px;
	margin: 0;
	overflow: hidden;
	font-size: 0.86rem;
	font-weight: 700;
	line-height: 1.4;
	text-transform: none;
	color: #111111;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

body.single-product .related.products .price {
	display: block;
	margin-top: 10px;
	font-size: 0.88rem;
	font-weight: 700;
	color: var(--flamtees-color-primary);
}

body.single-product .related.products .button {
	display: none;
}

/* ==========================================================================
   Tablet
   ========================================================================== */

@media (max-width: 1100px) {
	body.single-product .woocommerce {
		width: calc(100% - 80px);
		padding-top: 28px;
	}

	body.single-product div.product {
		grid-template-columns:
			minmax(0, 1fr)
			minmax(300px, 0.85fr);
		column-gap: 36px;
	}

	body.single-product div.product .product_title {
		font-size: clamp(1.65rem, 2.8vw, 2.2rem);
	}

	body.single-product .woocommerce-tabs .panel {
		padding-right: 26px;
		padding-left: 26px;
	}

	body.single-product .related.products {
		padding-right: 26px;
		padding-left: 26px;
	}

	body.single-product .related.products ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* ==========================================================================
   Mobile
   ========================================================================== */

@media (max-width: 768px) {
	body.single-product .woocommerce {
		width: calc(100% - 28px);
		padding: 20px 0 50px;
	}

	body.single-product .woocommerce-breadcrumb {
		margin-bottom: 18px;
		font-size: 0.7rem;
	}

	body.single-product div.product {
		display: block;
	}

	body.single-product div.product div.images,
	body.single-product div.product div.summary {
		width: 100%;
	}

	body.single-product div.product div.summary {
		position: static;
		margin-top: 26px;
		padding: 0 4px;
	}

	body.single-product div.product .product_title {
		max-height: 3.75em;
		margin-bottom: 18px;
		font-size: clamp(1.5rem, 7vw, 2rem);
		line-height: 1.2;
		-webkit-line-clamp: 3;
	}

	body.single-product div.product p.price,
	body.single-product div.product span.price {
		margin-bottom: 20px;
		font-size: 1.13rem;
	}

	body.single-product form.cart {
		flex-wrap: nowrap;
		width: 100%;
	}

	body.single-product form.cart .quantity {
		flex: 0 0 68px;
	}

	body.single-product form.cart .qty {
		width: 68px;
	}

	body.single-product
		form.cart
		.single_add_to_cart_button {
		flex: 1;
		min-width: 0;
		padding-right: 12px;
		padding-left: 12px;
	}

	body.single-product .woocommerce-tabs {
		margin-top: 48px;
	}

	body.single-product .woocommerce-tabs ul.tabs {
		overflow-x: auto;
		padding-left: 0;
	}

	body.single-product .woocommerce-tabs ul.tabs li a {
		min-width: 116px;
		padding: 14px 15px 12px;
		white-space: nowrap;
	}

	body.single-product .woocommerce-tabs .panel {
		padding: 26px 12px 16px;
	}

	body.single-product #reviews #comments,
	body.single-product #reviews #review_form_wrapper {
		max-width: 100%;
	}

	body.single-product #reviews #reply-title {
		font-size: 0.9rem;
	}

	body.single-product #reviews .comment-form textarea {
		min-height: 145px;
	}

	body.single-product .related.products {
		margin-top: 48px;
		padding: 0 12px;
	}

	body.single-product .related.products ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 26px 10px;
	}

	body.single-product
		.related.products
		.woocommerce-loop-product__title {
		height: 38px;
		font-size: 0.74rem;
	}

	body.single-product .related.products .price {
		font-size: 0.78rem;
	}
}

/* ==========================================================================
   Small Mobile
   ========================================================================== */

@media (max-width: 390px) {
	body.single-product .woocommerce {
		width: calc(100% - 22px);
	}

	body.single-product div.product .product_title {
		font-size: 1.45rem;
	}

	body.single-product
		form.cart
		.single_add_to_cart_button {
		font-size: 0.7rem;
	}

	body.single-product .woocommerce-tabs .panel {
		padding-right: 8px;
		padding-left: 8px;
	}

	body.single-product .related.products {
		padding-right: 8px;
		padding-left: 8px;
	}
}/* ==========================================================================
   FINAL SINGLE PRODUCT SPACING FIX
   ========================================================================== */

/*
 * Force real spacing on both sides of the complete product page.
 * This affects:
 * - Breadcrumb
 * - Product image
 * - Product information
 * - Reviews
 * - Related products
 */
body.single-product .woocommerce {
	width: 100% !important;
	max-width: 1440px !important;
	margin-right: auto !important;
	margin-left: auto !important;
	padding-right: 80px !important;
	padding-left: 80px !important;
	box-sizing: border-box !important;
}

/*
 * Keep the main product grid inside the same spacing.
 */
body.single-product div.product {
	width: 100% !important;
	max-width: 100% !important;
	margin-right: auto !important;
	margin-left: auto !important;
	box-sizing: border-box !important;
}

/*
 * The summary must scroll with its row. A sticky summary remains attached to
 * the viewport while the full-width tabs pass underneath it.
 */
body.single-product div.product > .summary {
	position: static !important;
	top: auto !important;
}

/*
 * Reviews tabs stay aligned with the product image,
 * but their text receives additional internal spacing.
 */
body.single-product .woocommerce-tabs {
	width: 100% !important;
	margin-right: 0 !important;
	margin-left: 0 !important;
	box-sizing: border-box !important;
}

body.single-product .woocommerce-tabs .panel {
	width: 100% !important;
	padding-right: 36px !important;
	padding-left: 36px !important;
	box-sizing: border-box !important;
}

/*
 * Review content and form.
 */
body.single-product #reviews,
body.single-product #reviews #comments,
body.single-product #reviews #review_form_wrapper {
	width: 100% !important;
	max-width: 100% !important;
	margin-right: 0 !important;
	margin-left: 0 !important;
	box-sizing: border-box !important;
}

body.single-product #reviews .comment-form {
	width: 100% !important;
	max-width: 940px !important;
}

body.single-product #reviews .comment-form textarea,
body.single-product #reviews .comment-form input[type="text"],
body.single-product #reviews .comment-form input[type="email"] {
	width: 100% !important;
	box-sizing: border-box !important;
}

/*
 * Product title slightly smaller.
 */
body.single-product div.product .product_title {
	font-size: clamp(1.6rem, 2.1vw, 2.25rem) !important;
	line-height: 1.2 !important;
}

/*
 * Tablet spacing.
 */
@media (max-width: 1100px) {
	body.single-product .woocommerce {
		padding-right: 40px !important;
		padding-left: 40px !important;
	}

	body.single-product .woocommerce-tabs .panel {
		padding-right: 26px !important;
		padding-left: 26px !important;
	}
}

/*
 * Mobile spacing.
 */
@media (max-width: 768px) {
	body.single-product .woocommerce {
		padding-right: 14px !important;
		padding-left: 14px !important;
	}

	body.single-product .woocommerce-tabs .panel {
		padding-right: 10px !important;
		padding-left: 10px !important;
	}

	body.single-product div.product .product_title {
		font-size: clamp(1.45rem, 6.5vw, 1.9rem) !important;
	}
}/* ==========================================================================
   Emergency Add to Cart Visibility Fix
   ========================================================================== */

body.single-product form.cart {
	display: flex !important;
	align-items: stretch !important;
	gap: 12px !important;
}

body.single-product form.cart .quantity {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
}

body.single-product form.cart .qty {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	color: #111111 !important;
	background: #ffffff !important;
	font-size: 1rem !important;
	line-height: 1 !important;
	-webkit-text-fill-color: #111111 !important;
	appearance: auto;
	border-radius: 8px !important;
}

body.single-product form.cart .single_add_to_cart_button {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	visibility: visible !important;
	opacity: 1 !important;
	min-width: 190px !important;
	min-height: 52px !important;
	padding: 13px 30px !important;
	background: var(--flamtees-color-primary) !important;
	border: 2px solid var(--flamtees-color-primary) !important;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	font-size: 0.8rem !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	letter-spacing: 0.06em !important;
	text-indent: 0 !important;
	text-transform: uppercase !important;
	overflow: visible !important;
	white-space: nowrap !important;
	border-radius: 10px !important;
}

body.single-product form.cart .single_add_to_cart_button::before,
body.single-product form.cart .single_add_to_cart_button::after {
	display: none !important;
	content: none !important;
}

body.single-product form.cart .single_add_to_cart_button:hover {
	background: #467fa8 !important;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
}

/* ==========================================================================
   Final Product Page Structure and Related Products
   ========================================================================== */

body.single-product #primary.content-area {
	width: 100%;
}

body.single-product #main.site-main {
	width: 100%;
	max-width: var(--flamtees-container-width);
	margin: 0 auto;
	padding: 34px 48px 76px;
	box-sizing: border-box;
}

body.single-product #main.site-main > .woocommerce-breadcrumb {
	margin-bottom: 30px;
}

body.single-product #main.site-main > div.product {
	column-gap: clamp(36px, 4vw, 64px);
}

body.single-product #sidebar {
	display: none !important;
}

body.single-product .related.products {
	width: 100%;
	margin-top: 72px;
	padding: 0;
}

/* Keep post-summary sections out of the gallery/checkout columns. */
body.single-product div.product > .woocommerce-tabs,
body.single-product div.product > .related.products {
	grid-column: 1 / -1 !important;
	min-width: 0;
	width: 100% !important;
	float: none !important;
	clear: both !important;
}

body.single-product div.product > .woocommerce-tabs {
	grid-row: 2;
}

body.single-product div.product > .related.products {
	grid-row: 3;
}

body.single-product .related.products > h2 {
	margin-bottom: 28px;
}

body.single-product .related.products ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 28px 18px !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

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

body.single-product .related.products ul.products li.product {
	display: flex;
	flex-direction: column;
	float: none !important;
	clear: none !important;
	width: 100% !important;
	height: 100%;
	margin: 0 !important;
	padding: 0 !important;
	background: #ffffff;
}

body.single-product .related.products li.product > a.woocommerce-loop-product__link {
	display: flex;
	flex: 1;
	flex-direction: column;
}

body.single-product .related.products li.product a img {
	width: 100% !important;
	height: auto !important;
	margin: 0 0 14px !important;
	background: #f3f3f3;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: 8px;
}

body.single-product .related.products .woocommerce-loop-product__title {
	height: 44px;
	min-height: 44px;
	margin: 0;
	padding: 0 6px;
	font-size: 0.86rem;
	line-height: 1.4;
}

body.single-product .related.products .price {
	display: flex !important;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 7px;
	width: 100%;
	min-height: 50px;
	margin-top: auto !important;
	padding: 10px 8px;
	background: var(--flamtees-color-primary);
	font-size: 0.9rem;
	color: #ffffff !important;
	box-sizing: border-box;
	border-radius: 8px;
}

body.single-product .related.products .price del {
	font-size: 0.75rem;
	opacity: 0.62;
	color: #ffffff !important;
}

body.single-product .related.products .price ins,
body.single-product .related.products .price .woocommerce-Price-amount,
body.single-product .related.products .price .woocommerce-Price-currencySymbol {
	text-decoration: none;
	color: #ffffff !important;
}

body.single-product .related.products .button,
body.single-product .related.products li.product > .added_to_cart,
body.single-product .related.products li.product > .screen-reader-text {
	display: none !important;
}

@media (max-width: 1100px) {
	body.single-product #main.site-main {
		padding-right: 36px;
		padding-left: 36px;
	}

	body.single-product .related.products ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 768px) {
	body.single-product #main.site-main {
		padding: 20px 14px 52px;
	}

	body.single-product .related.products {
		margin-top: 50px;
	}

	body.single-product .woocommerce-tabs {
		min-width: 0;
		overflow: visible;
	}

	body.single-product .woocommerce-tabs ul.tabs {
		display: flex !important;
		flex-wrap: nowrap !important;
		gap: 8px !important;
		width: 100% !important;
		max-width: 100%;
		margin: 0 0 18px !important;
		padding: 0 0 8px !important;
		overflow-x: auto !important;
		overflow-y: hidden !important;
		scrollbar-width: thin;
		-webkit-overflow-scrolling: touch;
	}

	body.single-product .woocommerce-tabs ul.tabs li {
		flex: 0 0 auto !important;
		white-space: nowrap;
	}

	body.single-product .woocommerce-tabs ul.tabs li a {
		display: block !important;
		padding: 10px 14px !important;
	}

	body.single-product .woocommerce-tabs .panel,
	body.single-product .woocommerce-tabs .panel * {
		max-width: 100%;
		box-sizing: border-box;
		overflow-wrap: anywhere;
	}

	body.single-product .woocommerce-tabs .panel table {
		display: block;
		width: 100% !important;
		overflow-x: auto;
	}

	body.single-product .woocommerce-tabs .panel img,
	body.single-product .woocommerce-tabs .panel iframe,
	body.single-product .woocommerce-tabs .panel video {
		max-width: 100% !important;
		height: auto;
	}

	body.single-product .related.products ul.products {
		gap: 26px 10px !important;
	}

	body.single-product .related.products .woocommerce-loop-product__title {
		height: 44px;
		min-height: 44px;
		max-height: 44px;
		padding: 0 2px;
		overflow: hidden;
		font-size: 0.74rem;
		line-height: 1.3;
		-webkit-line-clamp: 2;
	}

	body.single-product .related.products .price {
		min-height: 46px;
		font-size: 0.78rem;
	}
}
