/**
 * File: assets/css/joom-ui.css
 * Theme: Joom
 * Author: Pawan Sharma (SiteExpert.in)
 * Package: Joom_Theme
 * Description: Provides modern UI styles for single product pages, matching the Joom design aesthetic.
 */

/* Joom Modern Product UI */

.single-product,
.single-product .site,
.single-product .site-main {
	background: transparent;
}

.woocommerce-page a.added_to_cart,
.single-product .woocommerce-message a.button.wc-forward {
	display: none;
}

.joom-product-container {
	margin: 14px auto 0;
	padding: 0 1.5rem;
	color: #111;
}

.joom-product-layout {
	display: grid;
	grid-template-columns: minmax(640px, 1fr) minmax(560px, 760px);
	gap: 30px;
	align-items: start;
}

/* Gallery Section */
.joom-product-gallery {
	flex: 1;
	max-width: 550px;
	position: static;
	top: auto;
}

.joom-gallery-wrapper {
	display: flex;
	flex-direction: row;
	gap: 14px;
}

/* Premium Vertical Thumbnail Gallery for WooCommerce Native */
.woocommerce-product-gallery {
	display: flex !important;
	flex-direction: row !important;
	gap: 20px;
	align-items: flex-start;
	justify-content: flex-end;
}

/* Prevent FOUC: Hide extra images before JS initializes */
.woocommerce-product-gallery:not(.flexslider) .woocommerce-product-gallery__image:nth-child(n+2) {
	display: none !important;
}

.woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
	flex: 1;
	width: calc(100% - 106px) !important; /* 86px thumb + 20px gap */
	margin: 0 0 0 auto !important; /* Locks main image to the right before JS runs */
	order: 2 !important;
}

.joom-thumb-nav-wrapper {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 86px;
	flex-shrink: 0;
	height: 486px; /* Lock exact height matching main image */
	max-height: 100%;
	order: 1 !important;
}

.joom-thumbnails-vertical,
.woocommerce-product-gallery .flex-control-nav.flex-control-thumbs {
	position: static !important;
	width: 100% !important;
	flex: 1 1 auto !important; /* Take remaining space inside fixed height parent */
	min-height: 0 !important; /* Crucial for triggering overflow inside flex parent */
	margin: 0 !important;
	padding: 4px 4px 10px 4px !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 10px;
	overflow-y: auto;
	overflow-x: hidden;
	scrollbar-width: none; /* Firefox */
	-webkit-overflow-scrolling: touch;
	scroll-behavior: smooth;
	order: 2 !important; /* Keep thumbnails strictly between Up (1) and Down (3) arrows */
}

.joom-thumbnails-vertical::-webkit-scrollbar,
.woocommerce-product-gallery .flex-control-nav.flex-control-thumbs::-webkit-scrollbar {
	display: none; /* Safari and Chrome */
}

.joom-thumb-item,
.woocommerce-product-gallery .flex-control-nav.flex-control-thumbs li {
	width: 86px !important;
	height: 86px !important;
	min-height: 86px !important;
	flex-shrink: 0;
	margin: 0 !important;
	float: none !important;
	border-radius: 12px;
	overflow: hidden;
	border: 2px solid transparent;
	transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	cursor: pointer;
	background: #f3f4f8;
	display: flex !important;
	align-items: center;
	justify-content: center;
	padding: 0 !important;
}

.joom-thumb-item img,
.woocommerce-product-gallery .flex-control-nav.flex-control-thumbs li img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	display: block;
	opacity: 0.6;
	transition: opacity 0.3s ease;
}

.joom-thumb-item:hover img,
.woocommerce-product-gallery .flex-control-nav.flex-control-thumbs li:hover img {
	opacity: 0.8;
}

.joom-thumb-item.active img,
.woocommerce-product-gallery .flex-control-nav.flex-control-thumbs li img.flex-active {
	opacity: 1;
}

.joom-thumb-item:hover,
.woocommerce-product-gallery .flex-control-nav.flex-control-thumbs li:hover {
	border-color: #cbd5e1;
}

.joom-thumb-item.active,
.woocommerce-product-gallery .flex-control-nav.flex-control-thumbs li:has(img.flex-active) {
	border-color: var(--primary-color, #FA3434);
	box-shadow: 0 4px 12px rgba(250, 52, 52, 0.3);
	z-index: 2;
	position: relative;
}

/* Vertical Navigation Arrows */
.joom-vertical-arrow {
	background: #fff;
	border: 1px solid #e2e8f0;
	color: #0f172a;
	width: 100%;
	height: 28px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 10;
	box-shadow: 0 2px 8px rgba(0,0,0,0.05);
	transition: all 0.2s;
	flex-shrink: 0;
}

.joom-vertical-arrow:hover {
	background: #f8fafc;
	color: #FA3434;
}

.joom-vertical-arrow.joom-arrow-up {
	margin-bottom: 8px;
	order: 1 !important;
}

.joom-vertical-arrow.joom-arrow-down {
	margin-top: 8px;
	order: 3 !important;
}

.joom-main-image {
	width: 486px;
	height: 486px;
	aspect-ratio: 1 / 1;
	position: relative;
	border-radius: 14px;
	overflow: hidden;
	background: #f3f4f8;
	border: 1px solid #eceef3;
	flex-shrink: 0;
	box-shadow: 0 10px 40px rgba(0,0,0,0.04);
	order: 2 !important;
}

.joom-main-image img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}

/* Gallery Navigation Arrows */
.joom-gallery-nav-arrows {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	transform: translateY(-50%);
	display: flex;
	justify-content: space-between;
	padding: 0 10px;
	pointer-events: none; /* Allow clicks through to the image for swiping */
	z-index: 10;
}

.joom-gallery-arrow {
	width: 38px;
	height: 38px;
	min-width: 38px;
	min-height: 38px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	border: 1px solid #f1f5f9;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	pointer-events: auto; /* Re-enable clicks for buttons */
	transition: all 0.2s ease;
	box-shadow: 0 4px 16px rgba(0,0,0,0.1);
	color: #0f172a;
	font-size: 16px;
	padding: 0;
}

.joom-gallery-arrow i {
	line-height: 1;
	display: block;
}

.joom-gallery-arrow:hover {
	background: #fff;
	transform: scale(1.1);
	box-shadow: 0 8px 20px rgba(0,0,0,0.15);
	color: #FA3434;
}

.joom-gallery-arrow.disabled {
	opacity: 0.3;
	cursor: not-allowed;
	pointer-events: none;
}

.joom-image-nav {
	position: absolute;
	bottom: 14px;
	left: 14px;
	background: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	color: #fff;
	padding: 4px 12px;
	border-radius: 100px;
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
}

/* Summary Section */
.joom-product-summary {
	flex: 1;
	padding-top: 10px;
}

.joom-top-breadcrumb {
	font-size: 12px;
	line-height: 1.35;
	color: #8f95a8;
	margin: 0 0 14px;
}

.joom-top-breadcrumb a {
	color: #8f95a8;
	text-decoration: none;
}

.joom-top-breadcrumb .delimiter {
	margin: 0 6px;
	color: #c0c4d0;
}

.joom-title-row {
	position: relative;
	margin-bottom: 4px;
}

.joom-actions-top {
	position: absolute;
	top: 0;
	right: 0;
	display: flex;
	gap: 12px;
}

.site-main .joom-share-btn-round {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: 1px solid #dbdee6;
	font-size: 14px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	color: #111827;
}

/* Hide mobile image overlay version on desktop */
.joom-product-gallery .joom-actions-top {
	display: none;
}

.joom-breadcrumb {
	font-size: 14px;
	color: #64748b;
	margin-bottom: 0;
	flex: 1;
}

.joom-breadcrumb a {
	color: #64748b;
	text-decoration: none;
	transition: color 0.2s ease;
}
.joom-breadcrumb a:hover {
	color: #0f172a;
}

.joom-product-title {
	margin: 0;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0;
	color: #111;
	padding-right: 136px;
}

.joom-rating-row {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
}

.joom-stars {
	display: flex;
	align-items: center;
	gap: 4px;
	color: #FA3434;
}

.joom-rating-score {
	font-weight: 500;
	color: #111;
	font-size: 16px;
	line-height: 1;
}

.joom-sales-count {
	color: #64748b;
	font-size: 14px;
	font-weight: 500;
	border: 0;
	padding: 0;
}

.joom-price-section {
	border-top: none;
	padding-top: 0px;
	margin-bottom: 0;
}

.joom-price-main-row {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 20px;
}

.joom-price-content {
	flex: 1;
}

.joom-price-line {
	display: flex;
	align-items: baseline;
	gap: 8px;
}

.joom-button-content {
	flex: 0 0 172px;
	padding-top: 10px;
}

.joom-price-label {
	font-size: 18px;
	line-height: 1.2;
	font-weight: 500;
	color: #111;
	margin: 0;
}

.joom-price-value,
.joom-price-value .woocommerce-Price-amount {
	font-size: 18px;
	line-height: 1.2;
	font-weight: 500;
	color: #111;
	margin: 0;
}

.site-main .joom-price-value ins {
	text-decoration: none;
}

.joom-price-sub {
	margin: 8px 0 10px;
	font-size: 12px;
	line-height: 1.3;
	color: #8b90a5;
}

.joom-select-badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: #ecfdf5;
	padding: 6px 10px;
	border-radius: 12px;
	border: 1px solid #d1fae5;
	box-sizing: border-box;
	cursor: pointer;
}

.joom-badge-arrow {
	font-size: 14px;
	line-height: 1;
	color: #a5aabc;
	margin-left: 2px;
}

.joom-select-text {
	font-weight: 500;
	font-size: 14px;
	color: #000;
}

.joom-select-sub {
	color: #f64343;
	font-style: italic;
	font-weight: 500;
	font-size: 14px;
}

.joom-badge-delivery-wrap {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 10px;
	flex-wrap: nowrap;
	width: fit-content;
	max-width: 100%;
	min-width: 0;
}

.joom-delivery-dates.joom-delivery-dates-inline {
	margin: 0;
	display: flex;
	align-items: center;
	font-size: 13px;
	color: #059669;
	background: #ecfdf5;
	font-weight: 600;
	padding: 6px 10px;
	border-radius: 12px;
	gap: 6px;
	border: 1px solid #d1fae5;
	box-sizing: border-box;
	min-width: 0;
	flex: 0 1 auto;
	width: fit-content;
}

.joom-delivery-date-text {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Trust Badges Section */
.joom-trust-badges-sec {
	margin: 16px 0 0;
	padding: 12px 20px;
	border-radius: 12px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	box-sizing: border-box;
}
.joom-tb-default {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	width: 100%;
	gap: 16px;
	flex-wrap: wrap;
}
.joom-tb-text {
	font-size: 13px;
	font-weight: 600;
	color: #334155;
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
}
.joom-tb-text i {
	color: #10b981;
	font-size: 14px;
}
.joom-tb-icons {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-size: 28px;
}
.joom-tb-uploaded-icon {
	height: 26px;
	width: auto;
	max-width: 45px;
	object-fit: contain;
}
.joom-tb-separator {
	width: 1px;
	height: 24px;
	background: #cbd5e1;
	display: block;
}

/* Tablet & Mobile Responsive for Trust Badges */
@media (max-width: 1024px) {
	.joom-trust-badges-sec {
		padding: 10px 16px;
	}
	.joom-tb-default {
		gap: 12px;
	}
}
@media (max-width: 768px) {
	.joom-trust-badges-sec {
		margin-top: 0px;
		padding: 10px 12px;
		background: #f8fafc;
		border: 1px solid #e2e8f0;
		box-shadow: none;
		order: 8;
	}
	.joom-pincode-checker {
		order: 7;
		margin-bottom: 16px;
		margin-top: 10px;
	}
	.joom-tb-default {
		flex-direction: row;
		justify-content: center;
		gap: 10px;
	}
	.joom-tb-text {
		font-size: 11.5px;
		gap: 5px;
	}
	.joom-tb-text i {
		font-size: 13px;
	}
	.joom-tb-separator {
		display: none;
	}
	.joom-tb-icons {
		font-size: 22px;
		gap: 8px;
	}
	.joom-tb-uploaded-icon {
		height: 22px;
	}
}
@media (max-width: 380px) {
	.joom-tb-default {
		flex-direction: column;
		gap: 8px;
	}
	.joom-tb-separator {
		display: block;
		width: 40px;
		height: 1px;
		margin: 2px auto;
	}
	.joom-tb-text {
		font-size: 12.5px;
	}
	.joom-tb-icons {
		font-size: 26px;
		gap: 12px;
	}
}

/* Add to Cart styling override */
.site-main .joom-button-content .single_add_to_cart_button,
.joom-modal-body .joom-button-content .single_add_to_cart_button {
	width: 100%;
	background: #FF4747;
	color: #fff !important;
	border-radius: 12px;
	padding: 14px 20px;
	font-size: 18px;
	font-weight: 600;
	border: none;
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.joom-button-content form.cart {
	display: flex;
	flex-direction: column;
	gap: 15px;
	margin: 0;
}

.site-main .joom-button-content .quantity,
.site-main .joom-button-content input.qty:not(.joom-qty-input),
.site-main .joom-button-content table.variations,
.site-main .joom-button-content .single_variation_wrap .woocommerce-variation-price,
.site-main .joom-button-content .single_variation_wrap .woocommerce-variation-description,
.site-main .joom-button-content .single_variation_wrap .quantity {
	display: none !important;
}

.site-main .joom-button-content .stock {
	display: none;
	font-size: 13px;
	font-weight: 700;
	text-align: center;
	margin: 0 0 10px 0;
	width: 100%;
	line-height: 1.2;
}

.site-main .joom-button-content .single_variation_wrap .woocommerce-variation,
.site-main .joom-button-content .single_variation_wrap .woocommerce-variation-availability {
	display: block;
}

.joom-button-content .variations {
	margin-bottom: 10px;
	width: 100%;
}

/* Reviews Section */
.joom-review-email,
.woocommerce-review__author-email,
.comment-author-email {
	display: none !important;
}

.joom-reviews-container {
	border-top: 0;
	margin-top: 20px;
	padding-top: 16px;
	position: relative;
}

.joom-section-title {
	font-size: 18px;
	font-weight: 500;
	margin: 0;
}

.joom-review-count {
	color: #888;
}

.joom-verified-only-msg {
	font-size: 13px;
	color: #8b90a6;
	background: #f8f9fa;
	padding: 8px 14px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	gap: 8px;
	border: 1px solid #eee;
}

.joom-verified-only-msg i {
	color: #ffb800;
}

.joom-rating-summary {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 8px 0 12px;
}

.joom-rating-big {
	font-size: 22px;
	font-weight: 600;
}

.joom-review-filters {
	display: flex;
	flex-wrap: wrap; /* Allow wrapping to avoid horizontal scroll */
	gap: 6px;
	margin-bottom: 14px;
	padding-bottom: 0;
}

.joom-filter-btn {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	padding: 6px 14px;
	border-radius: 8px;
	font-size: 13px;
	cursor: pointer;
	font-weight: 500;
	white-space: nowrap;
	color: #475569;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.joom-filter-btn:hover {
	border-color: #cbd5e1;
	background: #f8fafc;
	color: #1e293b;
}

.joom-filter-btn.active {
	background: #1e293b;
	border-color: #1e293b;
	color: #ffffff;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.joom-promo-card {
	background: #fff5f6;
	border-radius: 20px;
	padding: 20px;
	margin-top: 10px;
	margin-bottom: 20px;
	border: 1px dashed #fca5a5;
	box-shadow: inset 0 0 20px rgba(250,52,52,0.02);
}

.joom-lightning-icon {
	font-size: 20px;
	color: #FA3434;
}

.joom-promo-header strong {
	font-size: 15px;
	line-height: 1.2;
	font-weight: 700;
	color: #FA3434;
}

.joom-promo-card p {
	font-size: 13px;
	line-height: 1.3;
	margin: 8px 0 16px;
	color: #475569;
}

.joom-stock-text {
	font-size: 13px;
	color: #64748b;
	margin-bottom: 6px;
	display: block;
	font-weight: 600;
}

.joom-stock-bar {
	height: 8px;
	border-radius: 100px;
	background: #fecaca;
	overflow: hidden;
}

.joom-stock-progress {
	height: 100%;
	display: block;
	border-radius: 100px;
	background: linear-gradient(90deg, #f87171 0%, #FA3434 100%);
}

.joom-variations-labels {
	font-size: 15px;
	line-height: 1.3;
	color: #64748b;
	margin: 0 0 10px;
	font-weight: 600;
}

.joom-variations-labels strong {
	color: #0f172a;
	font-weight: 700;
}

.joom-color-swatches {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin: 0 0 20px;
}

.joom-swatch {
	width: 76px;
	height: 76px;
	border-radius: 16px;
	background: #f8fafc;
	border: 2px solid transparent;
	padding: 4px;
	cursor: pointer;
	transition: all 0.2s ease;
	overflow: visible;
	position: relative;
}

.joom-swatch.active {
	border: 2px solid #0f172a;
	padding: 4px;
	box-shadow: 0 6px 16px rgba(15, 23, 42, 0.15);
}

.joom-swatch.active::after {
	content: '\f00c';
	font-family: "Font Awesome 6 Free", "FontAwesome";
	font-weight: 900;
	position: absolute;
	top: -6px;
	right: -6px;
	width: 22px;
	height: 22px;
	background: #0f172a;
	color: #fff;
	border: 2px solid #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	z-index: 10;
	box-shadow: 0 3px 8px rgba(15, 23, 42, 0.2);
	animation: joom-tick-pop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes joom-tick-pop {
	0% { transform: scale(0); }
	100% { transform: scale(1); }
}

.joom-swatch:hover {
	border-color: #cbd5e1;
}

.site-main .joom-swatch img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 10px;
	display: block;
}

.joom-swatch-color {
	width: 100%;
	height: 100%;
	display: block;
	border-radius: 10px;
	box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05);
}

.joom-swatch-fallback {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	font-weight: 600;
	color: #444;
}

.joom-size-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 24px;
}

.joom-size-badge {
	border-radius: 12px;
	border: 1px solid #e2e8f0;
	padding: 10px 20px;
	font-size: 15px;
	line-height: 1.2;
	font-weight: 600;
	cursor: pointer;
	background: #ffffff;
	color: #475569;
	transition: all 0.2s ease;
	display: inline-block;
	position: relative;
}

.joom-size-badge.active {
	background: #0f172a;
	color: #fff;
	border-color: #0f172a;
	box-shadow: 0 6px 16px rgba(15, 23, 42, 0.2);
	padding-right: 36px;
}

.joom-size-badge.active::after {
	content: '\f00c';
	font-family: "Font Awesome 6 Free", "FontAwesome";
	font-weight: 900;
	position: absolute;
	top: 50%;
	right: 14px;
	margin-top: -6px;
	color: #fff;
	font-size: 12px;
	animation: joom-tick-pop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.joom-size-badge:hover,
.joom-size-badge.active {
	background: #0f172a;
	color: #fff;
	border-color: #0f172a;
}

/* Trust Card */
.joom-trust-card {
	border: 1px solid #f1f5f9;
	border-radius: 20px;
	padding: 18px 20px;
	background: #fff;
	margin-top: 16px;
	margin-bottom: 16px;
	box-shadow: 0 4px 24px rgba(0,0,0,0.02);
}

.joom-trust-row {
	display: flex;
	align-items: center;
	gap: 12px;
}

.joom-trust-divider {
	height: 1px;
	background: #f1f5f9;
	margin: 14px 0;
}

.joom-trust-icon {
	width: 36px;
	min-width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #10b981;
	font-size: 18px;
	background: #ecfdf5;
	border-radius: 50%;
	line-height: 1;
}

.joom-delivery-section {
	margin: 0;
}

.joom-delivery-text {
	flex: 1;
}

.joom-delivery-title,
.joom-trust-title {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	color: #0f172a;
	line-height: 1.2;
}

.joom-delivery-dates {
	font-size: 13px;
	color: #64748b;
	margin: 4px 0 0;
	font-weight: 500;
}

.joom-payment-section .joom-trust-content {
	flex: 1;
}

.joom-payment-methods {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 10px;
}

.joom-payment-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 24px;
	padding: 4px 10px;
	border-radius: 10px;
	border: 1px solid #d4d7df;
	background: #fff;
	color: #111;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
}

.joom-payment-pill.paypal { color: #0d5bd0; }
.joom-payment-pill.visa { color: #1a40c8; }
.joom-payment-pill.master,
.joom-payment-pill.maestro { color: #ea4335; }
.joom-payment-pill.apple { color: #111; }
.joom-payment-pill.gpay { color: #4a4f5a; }

.joom-guarantee-header .joom-trust-title i {
	font-size: 14px;
	margin-left: 6px;
	color: #94a3b8;
}

.joom-guarantee-grid {
	margin-top: 14px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.joom-guarantee-col {
	background: #f8fafc;
	border: 1px solid #f1f5f9;
	border-radius: 12px;
	padding: 12px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.joom-guarantee-item {
	font-size: 13px;
	color: #334155;
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 500;
}

.joom-guarantee-item i {
	color: #10b981;
	font-size: 12px;
}

.site-main .joom-meta-card {
	margin-top: 0px;
	margin-bottom: 20px;
	padding: 24px;
	background: #f8fafc;
	border: none;
	border-radius: 20px;
}

.joom-meta-title {
	margin: 0 0 20px;
	padding-bottom: 16px;
	font-size: 20px;
	font-weight: 800;
	color: #0f172a;
	border-bottom: 1px solid #e2e8f0;
}

.joom-meta-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 0 0 20px;
	padding-bottom: 16px;
	border-bottom: 1px solid #e2e8f0;
}

.joom-meta-header .joom-meta-title {
	margin: 0;
	padding-bottom: 0;
	border-bottom: none;
}

.joom-meta-list {
	display: grid;
	gap: 14px;
}

.joom-meta-row {
	display: flex;
	align-items: baseline;
	gap: 8px;
	padding: 10px 0;
}

.joom-meta-label {
	font-size: 15px;
	color: #64748b;
	white-space: nowrap;
	font-weight: 500;
}

.joom-meta-dots {
	flex: 1;
	border-bottom: 2px dotted #cbd5e1;
	transform: translateY(-5px);
	min-width: 40px;
}

.joom-meta-value {
	max-width: 58%;
	text-align: right;
	font-size: 15px;
	color: #0f172a;
	font-weight: 600;
}

.joom-meta-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
}

.joom-meta-link {
	display: inline-block;
	margin-top: 16px;
	color: #FA3434;
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	background: transparent;
	border: none;
	padding: 0;
	font-family: inherit;
}

.joom-meta-link:hover {
	color: #e62e2e !important;
	background: transparent !important;
	background-color: transparent !important;
	box-shadow: none !important;
	outline: none;
}

.joom-desc-title {
	margin-top: 20px;
	border-top: 1px solid #e0e3eb;
	padding-top: 16px;
}

.joom-desc-preview {
	position: relative;
	max-height: 120px; /* Limit height to about 5-6 lines */
	overflow: hidden;
	margin: -5px 0 10px;
	font-size: 16px;
	line-height: 1.5;
	color: #333;
	white-space: normal;
	transition: max-height 0.5s ease-in-out;
}

/* Expanded state */
.joom-desc-preview.expanded {
	max-height: 5000px;
}

/* Fade-out effect to indicate more content */
.joom-desc-preview::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 40px;
	background: linear-gradient(to bottom, transparent, #f8fafc);
	pointer-events: none;
	transition: opacity 0.3s ease;
}

.joom-desc-preview.expanded::after {
	opacity: 0;
}

/* Similar Products Section */
.joom-similar-products,
.up-sells,
.upsells,
.cross-sells,
.joom-top-picks-section {
	background: transparent;
	margin-top: 10px;
	padding: 20px 0 0px 0;
	width: 100%;
	flex: 0 0 100%;
	clear: both;
}

.joom-similar-products .joom-product-container,
.up-sells .joom-product-container,
.cross-sells .joom-product-container,
.joom-top-picks-section .joom-product-container {
	margin: 0 auto;
	padding: 0 1.5rem;
}

.joom-similar-title,
.up-sells > h2,
.upsells > h2,
.cross-sells > h2,
.joom-top-picks-title {
	margin: 0 0 20px;
	font-size: 26px;
	font-weight: 800;
	color: #0f172a;
	letter-spacing: -0.5px;
}

html body .joom-similar-products .mj-mega-grid,
html body .up-sells ul.products,
html body .upsells ul.products,
html body .cross-sells ul.products {
	display: flex !important;
	flex-wrap: nowrap !important;
	overflow-x: auto !important;
	overflow-y: hidden !important;
	gap: 20px !important;
	padding-bottom: 15px !important;
	margin-bottom: -5px !important;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	scroll-snap-type: x mandatory;
}

html body .joom-top-picks-section .mj-mega-grid {
	display: grid !important;
	grid-template-columns: repeat(6, 1fr) !important;
	gap: 20px !important;
}

html body .joom-similar-products .mj-mega-grid::-webkit-scrollbar,
html body .up-sells ul.products::-webkit-scrollbar,
html body .upsells ul.products::-webkit-scrollbar,
html body .cross-sells ul.products::-webkit-scrollbar {
	display: none;
}

html body .joom-similar-products .mj-mega-grid > * { --active-cols: var(--mj-rel-cols, 6.3); }
html body .up-sells ul.products > * { --active-cols: var(--mj-up-cols, 6.3); }
html body .upsells ul.products > * { --active-cols: var(--mj-up-cols, 6.3); }
html body .cross-sells ul.products > * { --active-cols: var(--mj-cross-cols, 6.3); }

html body .joom-similar-products .mj-mega-grid > *,
html body .up-sells ul.products > *,
html body .upsells ul.products > *,
html body .cross-sells ul.products > * {
	flex: 0 0 calc( (100% / var(--active-cols, 6.3)) - 20px ) !important;
	min-width: calc( (100% / var(--active-cols, 6.3)) - 20px ) !important;
	max-width: calc( (100% / var(--active-cols, 6.3)) - 20px ) !important;
	width: auto !important;
	scroll-snap-align: start;
	height: auto;
	margin: 0 !important;
}

@media (max-width: 1200px) {
	html body .joom-similar-products .mj-mega-grid > * { --active-cols: var(--mj-rel-cols-tab, 4.3); }
	html body .up-sells ul.products > * { --active-cols: var(--mj-up-cols-tab, 4.3); }
	html body .upsells ul.products > * { --active-cols: var(--mj-up-cols-tab, 4.3); }
	html body .cross-sells ul.products > * { --active-cols: var(--mj-cross-cols-tab, 4.3); }

	html body .joom-similar-products .mj-mega-grid > *,
	html body .up-sells ul.products > *,
	html body .upsells ul.products > *,
	html body .cross-sells ul.products > * {
		flex: 0 0 calc( (100% / var(--active-cols, 4.3)) - 20px ) !important;
		min-width: calc( (100% / var(--active-cols, 4.3)) - 20px ) !important;
		max-width: calc( (100% / var(--active-cols, 4.3)) - 20px ) !important;
	}
	html body .joom-top-picks-section .mj-mega-grid {
		grid-template-columns: repeat(4, 1fr) !important;
	}
}

@media (max-width: 900px) {
	html body .joom-similar-products .mj-mega-grid > * { --active-cols: var(--mj-rel-cols-mob, 3.3); }
	html body .up-sells ul.products > * { --active-cols: var(--mj-up-cols-mob, 3.3); }
	html body .upsells ul.products > * { --active-cols: var(--mj-up-cols-mob, 3.3); }
	html body .cross-sells ul.products > * { --active-cols: var(--mj-cross-cols-mob, 3.3); }

	html body .joom-similar-products .mj-mega-grid > *,
	html body .up-sells ul.products > *,
	html body .upsells ul.products > *,
	html body .cross-sells ul.products > * {
		flex: 0 0 calc( (100% / var(--active-cols, 3.3)) - 20px ) !important;
		min-width: calc( (100% / var(--active-cols, 3.3)) - 20px ) !important;
		max-width: calc( (100% / var(--active-cols, 3.3)) - 20px ) !important;
	}
	html body .joom-top-picks-section .mj-mega-grid {
		grid-template-columns: repeat(3, 1fr) !important;
	}
}

@media (max-width: 600px) {
	html body .joom-similar-products .mj-mega-grid,
	html body .up-sells ul.products,
	html body .upsells ul.products,
	html body .cross-sells ul.products {
		gap: 12px !important;
	}
	html body .joom-similar-products .mj-mega-grid > *,
	html body .up-sells ul.products > *,
	html body .upsells ul.products > *,
	html body .cross-sells ul.products > * {
		flex: 0 0 calc(50% - 6px) !important;
		min-width: calc(50% - 6px) !important;
		max-width: calc(50% - 6px) !important;
	}
	html body .joom-top-picks-section .mj-mega-grid {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 12px;
	}
}

.joom-review-list {
	display: grid;
	gap: 12px;
	margin-top: 15px;
	max-height: 800px;
	overflow-y: auto;
	padding-right: 8px;
}

.joom-review-list::-webkit-scrollbar {
	width: 6px;
}

.joom-review-list::-webkit-scrollbar-thumb {
	background: #e0e0e0;
	border-radius: 10px;
}

.joom-review-item {
	border: 1px solid #f1f5f9;
	border-radius: 12px;
	padding: 14px 16px;
	background: #ffffff;
	margin-bottom: 10px;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.joom-author-meta-wrapper {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
}

.joom-review-author::after {
	display: none;
}

.joom-review-item:hover {
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.joom-review-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 8px;
}

.joom-review-author-info {
	display: flex;
	align-items: center;
	gap: 12px;
}

.joom-review-avatar {
	font-size: 20px;
	color: #94a3b8;
	display: block;
}

.joom-review-author {
	font-size: 14px;
	font-weight: 700;
	color: #0f172a;
	display: flex;
	align-items: center;
}

.joom-review-author::after {
	content: "";
	display: inline-block;
	width: 4px;
	height: 4px;
	background: #cbd5e1;
	border-radius: 50%;
	margin: 0 10px;
}

.joom-verified-owner {
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.025em;
	color: #059669;
	background: #ecfdf5;
	padding: 2px 8px;
	border-radius: 6px;
	font-weight: 700;
	display: flex;
	align-items: center;
	gap: 4px;
}

.joom-review-date {
	font-size: 11px;
	color: #64748b;
}

.joom-review-stars {
	margin-bottom: 8px;
	margin-bottom: 0;
}

.site-main .joom-review-stars .star-rating {
	font-size: 11px;
}

.joom-review-text {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.5;
	color: #334155;
}

@media (max-width: 1200px) {
	.joom-product-layout {
		grid-template-columns: 1fr 1fr;
		gap: 50px;
	}

	.joom-product-title {
		font-size: 16px;
	}

	.joom-rating-score,
	.joom-sales-count,
	.joom-price-label,
	.joom-price-value,
	.joom-price-value .woocommerce-Price-amount,
	.joom-price-sub,
	.joom-select-text,
	.joom-select-sub,
	.joom-promo-header strong,
	.joom-promo-card p,
	.joom-stock-text,
	.joom-variations-labels,
	.joom-size-badge,
	.joom-section-title {
		font-size: 14px;
	}

	.joom-button-content .single_add_to_cart_button {
		height: 44px;
		font-size: 14px !important;
		border-radius: 12px !important;
	}

	.joom-swatch {
		width: 66px;
		height: 66px;
	}

	.joom-delivery-title,
	.joom-trust-title {
		font-size: 15px;
	}

	.joom-delivery-dates {
		font-size: 13px;
	}

	.joom-trust-card {
		border-radius: 18px;
		padding: 14px;
	}

	.joom-guarantee-grid {
		grid-template-columns: 1fr;
	}

	.joom-meta-title {
		font-size: 20px;
	}

	.joom-meta-label,
	.joom-meta-value,
	.joom-meta-link {
		font-size: 16px;
	}

	.joom-meta-value {
		max-width: 62%;
	}

}

@media (max-width: 768px) {
	.joom-similar-products,
	.up-sells,
	.upsells,
	.cross-sells,
	.joom-top-picks-section {
		margin-top: 10px;
		padding: 15px 0;
	}

	.joom-similar-title,
	.up-sells > h2,
	.upsells > h2,
	.cross-sells > h2,
	.joom-top-picks-title {
		font-size: 20px;
		margin-bottom: 16px;
	}

	/* Mobile: Full width for Similar Products and Top Picks */
	.joom-similar-products .joom-product-container,
	.up-sells .joom-product-container,
	.upsells .joom-product-container,
	.cross-sells .joom-product-container,
	.joom-top-picks-section .joom-product-container {
		max-width: 100%;
		margin: 0;
		padding: 0;
	}
}

/* Responsive refinements for single product (non-destructive overrides) */
@media (max-width: 1024px) {
	.joom-product-container {
		padding: 0 1rem;
	}

	.joom-product-layout {
		grid-template-columns: 1fr;
		gap: 0px;
	}

	.joom-product-gallery {
		display: contents;
	}

	.joom-gallery-wrapper {
		grid-row: 1;
	}

	.joom-product-summary {
		grid-row: 2;
	}

	html body .joom-reviews-container.joom-reviews-container {
		grid-row: 3;
		margin-top: 0px;
		padding-top: 20px;
		border-top: 1px solid #e2e8f0;
	}

	html body .joom-trust-card.joom-trust-card {
		margin-top: 0;
	}

	.joom-main-image {
		width: 100%;
		max-width: 640px;
		height: auto;
	}

	.joom-title-row {
		margin-bottom: 8px;
	}

	.joom-product-title {
		padding-right: 0;
	}

	.joom-actions-top {
		position: static;
		margin-top: 10px;
	}
}

@media (max-width: 1264px) {
	.joom-price-main-row {
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
		padding-bottom: 10px;
	}

	.joom-button-content {
		flex: 1;
		width: 100%;
		padding-top: 0;
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: center;
		gap: 12px;
	}

	.joom-button-content form.cart {
		flex: 1;
		width: auto;
		order: 1;
		display: flex;
		flex-direction: row;
		align-items: center;
		gap: 12px;
	}
	.joom-button-content form.variations_form {
		flex-direction: column;
		align-items: stretch;
	}
	.joom-button-content .woocommerce-variation-add-to-cart {
		display: flex;
		flex-direction: row;
		align-items: center;
		gap: 12px;
		width: 100%;
	}
}

@media (max-width: 900px) {
	.joom-product-container {
		padding: 0 1rem;
		max-width: 100%;
	}

	.joom-product-layout {
		gap: 20px;
	}

	.joom-product-gallery {
		max-width: 100%;
	}

	.joom-main-image {
		width: 100%;
		height: auto;
		aspect-ratio: 1/1;
		max-width: none;
	}

	.joom-gallery-wrapper {
		gap: 10px;
	}

	.joom-thumbnails-vertical {
		width: 60px;
		gap: 8px;
	}

	.joom-button-content .single_add_to_cart_button {
		height: 50px;
		font-size: 16px !important;
	}

	.joom-section-title {
		font-size: 18px;
	}

	.joom-reviews-container {
		margin-top: 30px;
		padding-top: 20px;
	}
}

@media (max-width: 768px) {
	.joom-product-container {
		margin-top: 10px;
		padding: 0 0.75rem;
		max-width: 100%;
	}

	.joom-product-layout {
		display: grid;
		grid-template-columns: 1fr;
	}

	.joom-product-gallery {
		display: contents;
	}

	.joom-gallery-wrapper {
		grid-row: 1;
	}

	.joom-reviews-container {
		grid-row: 3;
		margin-top: 20px;
		padding-top: 20px;
		border-top: 1px solid #eee;
	}

	.joom-product-summary {
		grid-row: 2;
		display: flex;
		flex-direction: column;
	}

	.joom-title-row {
		order: 1;
		display: block;
	}

	.joom-rating-row {
		order: 2;
		flex-wrap: wrap;
		margin: 4px 0 8px;
		gap: 8px;
	}

	.joom-price-section {
		order: 3;
		padding: 16px 0 0 0;
		margin: 0 0 15px 0;
	}

	.joom-promo-card {
		order: 4;
		background: #fff5f6;
		border-radius: 14px;
		padding: 14px;
		margin-top: 10px;
		margin-bottom: 16px;
		border: 1px solid #ffe8ea;
	}

	.joom-promo-header strong {
		font-size: 14px;
		font-weight: 700;
	}

	.joom-promo-card p {
		font-size: 13px;
		line-height: 1.4;
	}

	.joom-variations-labels {
		order: 5;
		font-size: 13px;
		font-weight: 600;
		margin-bottom: 10px;
		color: #111;
	}

	.joom-color-swatches {
		order: 5;
	}

	.joom-size-badges {
		order: 6;
		gap: 8px;
		margin-bottom: 18px;
	}

	.joom-meta-card {
		order: 9;
		border-radius: 14px;
		padding: 12px;
		margin-top: 15px;
		margin-bottom: 15px;
		background: #f8f9fb;
		border: 1px solid #e8eaf0;
	}

	.joom-trust-card {
		order: 10;
		border: 1px solid #d9dde7;
		border-radius: 14px;
		padding: 12px;
		margin-top: 15px;
		margin-bottom: 15px;
		background: #fff;
	}

	.joom-gallery-wrapper {
		flex-direction: column !important;
		gap: 10px;
	}

	/* Responsive Native Gallery Overrides */
	.woocommerce-product-gallery {
		flex-direction: column !important;
		justify-content: flex-start;
		gap: 12px;
	}

	.woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
		width: 100% !important;
		margin: 0 !important;
		order: 1 !important;
	}

	.joom-thumb-nav-wrapper {
		width: 100%;
		flex-direction: row !important;
		height: auto !important; /* Un-restrict height on mobile */
		order: 2 !important;
	}

	.joom-vertical-arrow {
		display: none !important;
	}

	.joom-thumbnails-vertical,
	.woocommerce-product-gallery .flex-control-nav.flex-control-thumbs {
		width: 100% !important;
		flex-direction: row !important;
		gap: 10px;
		max-height: none;
		overflow-x: auto !important;
		overflow-y: hidden !important;
		padding-top: 4px !important; /* Fixes top border clipping on active item */
		padding-bottom: 8px !important; /* Extra room for active glow and transform */
		margin-bottom: -16px !important; /* Brings title closer to gallery */
		scroll-snap-type: x mandatory;
		order: 2 !important;
	}

	.joom-thumb-item,
	.woocommerce-product-gallery .flex-control-nav.flex-control-thumbs li {
		width: 76px !important;
		height: 76px !important;
		min-width: 76px;
		min-height: 76px !important;
		scroll-snap-align: start;
		border-radius: 12px;
	}

	.joom-main-image {
		width: 100%;
		max-width: 100%;
		height: auto;
		border-radius: 12px;
		position: relative;
		order: 1 !important;
	}

	.joom-product-title {
		font-size: 17px;
		line-height: 1.4;
		font-weight: 600;
		padding-right: 0;
		letter-spacing: -0.2px;
	}

	.joom-actions-top {
		position: absolute;
		top: 12px;
		right: 12px;
		flex-direction: column;
		gap: 8px;
		z-index: 10;
		display: none; /* Hide by default in summary row on mobile */
	}

	.site-main .joom-product-gallery .joom-actions-top {
		display: flex;
		position: absolute;
		top: 12px;
		right: 12px;
		left: auto;
		bottom: auto;
	}

	/* Hide desktop buttons, show only image overlay version on mobile */
	.joom-actions-desktop {
		display: none;
	}

	.site-main .joom-share-btn-round {
		width: 24px;
		height: 24px;
		min-width: 24px;
		min-height: 24px;
		font-size: 12px;
		background: rgba(255, 255, 255, 0.95);
		backdrop-filter: blur(8px);
		-webkit-backdrop-filter: blur(8px);
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
		border: none;
		border-radius: 50%;
		display: flex;
		align-items: center;
		justify-content: center;
		color: #111827;
	}

	.joom-rating-score {
		font-size: 15px;
		font-weight: 600;
	}

	.joom-sales-count {
		font-size: 14px;
	}

	.joom-price-label {
		font-size: 13px;
	}

	.joom-price-value,
	.joom-price-value .woocommerce-Price-amount {
		font-size: 22px;
		font-weight: 700;
	}

	.joom-price-sub {
		font-size: 12px;
		margin-top: 6px;
	}

	html body .joom-button-content .single_add_to_cart_button.single_add_to_cart_button {
		height: 50px;
		font-size: 16px;
		font-weight: 700;
		border-radius: 14px;
		flex: 1;
	}

	.joom-swatch {
		width: 68px;
		height: 68px;
		border-radius: 12px;
	}

	.joom-swatch img {
		border-radius: 9px;
	}

	.joom-size-badge {
		padding: 10px 16px;
		font-size: 14px;
		font-weight: 500;
		border-radius: 12px;
	}

	.joom-trust-row {
		gap: 12px;
	}

	.joom-trust-icon {
		width: 32px;
		min-width: 32px;
		height: 32px;
		min-height: 32px;
		font-size: 15px;
		color: #09896f;
	}

	.joom-trust-divider {
		margin: 12px 0;
		background: #e6e9f0;
	}

	.joom-delivery-title,
	.joom-trust-title {
		font-size: 14px;
		font-weight: 700;
		color: #09896f;
	}

	.joom-delivery-dates {
		font-size: 12px;
		margin-top: 3px;
		color: #8288a0;
	}

	.joom-payment-methods {
		gap: 7px;
		margin-top: 9px;
	}

	.joom-payment-pill {
		min-height: 24px;
		padding: 4px 10px;
		font-size: 13px;
		border-radius: 10px;
		font-weight: 700;
		border: 1px solid #d4d7df;
		background: #fff;
	}

	.joom-guarantee-grid {
		grid-template-columns: 1fr;
		gap: 10px;
		margin-top: 12px;
	}

	.joom-guarantee-col {
		padding: 10px 12px;
		border-radius: 12px;
		gap: 8px;
		background: #f1f3f8;
	}

	.joom-guarantee-item {
		font-size: 13px;
		font-weight: 400;
		gap: 8px;
	}

	.joom-guarantee-item i {
		font-size: 11px;
		color: #09896f;
	}

	.joom-guarantee-header .joom-trust-title i {
		font-size: 11px;
	}

	.joom-meta-title {
		font-size: 16px;
		font-weight: 700;
		margin-bottom: 12px;
		padding-bottom: 10px;
		border-bottom: 1px solid #e0e3eb;
	}

	.joom-meta-header {
		margin-bottom: 12px;
		padding-bottom: 10px;
	}

	.joom-meta-label,
	.joom-meta-value {
		font-size: 13px;
	}

	.joom-meta-row {
		padding: 8px 0;
	}

	.joom-meta-link {
		font-size: 13px;
		font-weight: 600;
		color: #09896f;
		margin-top: 12px;
	}

	.joom-top-picks-section .mj-mega-grid {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 12px !important;
	}

}

/* Archive Swatches */
.mj-rating-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-top: auto;
	width: 100%;
}
.mj-rating-row .mj-rating-badge {
	flex-shrink: 0;
}
.mj-archive-swatches {
	display: flex;
	align-items: center;
	gap: 4px;
	margin: -4px -4px -4px 0;
	padding: 4px;
	flex-wrap: nowrap;
	justify-content: flex-start;
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}
.mj-archive-swatches::-webkit-scrollbar {
	display: none;
}
.mj-archive-swatch {
	width: var(--mj-archive-swatch-size, 24px);
	height: var(--mj-archive-swatch-size, 24px);
	border-radius: var(--mj-archive-swatch-radius, 50%);
	border: 1px solid #e2e8f0;
	cursor: pointer;
	overflow: hidden;
	position: relative;
	background: #f8fafc;
	transition: all 0.2s ease;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}
.mj-archive-swatch:hover, .mj-archive-swatch.active {
	border-color: var(--primary-color, #FA3434);
	box-shadow: 0 0 0 1px var(--primary-color, #FA3434);
	transform: scale(1.1);
	z-index: 2;
}
.mj-archive-swatch img, .mj-archive-swatch-color {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.mj-archive-swatch-more {
	font-size: 12px;
	color: #64748b;
	font-weight: 600;
	margin-left: 2px;
}

/* Fix for Secondary Image Hover Interference */
.mj-premium-card.mj-swatch-active .mj-primary-img {
	opacity: 1 !important;
	visibility: visible !important;
}
.mj-premium-card.mj-swatch-active .mj-secondary-img {
	display: none !important;
	opacity: 0 !important;
}

@media (max-width: 480px) {
	.joom-price-label,
	.joom-price-value,
	.joom-price-value .woocommerce-Price-amount {
		font-size: 16px;
	}

	.joom-select-badge {
		padding: 5px 8px;
	}

	.joom-select-text,
	.joom-select-sub {
		font-size: 12px;
	}

	.joom-badge-arrow {
		font-size: 12px;
	}

	.joom-swatch {
		width: 56px;
		height: 56px;
	}
}

/* Modal Styling */
.site-wrapper .joom-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 999999;
}

.site-wrapper .joom-modal-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.75);
	cursor: pointer;
}

.joom-modal-content {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: #fff;
	border-radius: 16px;
	max-width: 500px;
	width: 95%;
	max-height: 90vh;
	overflow-y: auto;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
	z-index: 1000000;
}



/* Wider modal for full description */
#joom-description-modal .joom-modal-content {
	max-width: 800px;
}

.joom-modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 24px;
	border-bottom: 1px solid #e6e9f0;
}

.joom-modal-header h2 {
	margin: 0;
	font-size: 22px;
	line-height: 1.2;
	font-weight: 600;
	color: #111;
}

.joom-modal-close {
	background: none;
	border: none;
	font-size: 28px;
	cursor: pointer;
	color: #999;
	padding: 0;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.joom-modal-close:hover {
	color: #ffffff;
}

.joom-modal-body {
	padding: 10px 24px;
}

.joom-characteristics-full {
	display: grid;
	gap: 12px;
}

.joom-characteristics-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	padding: 12px 0;
	border-bottom: 1px solid #f0f0f0;
}

.joom-characteristics-row:last-child {
	border-bottom: none;
}

.joom-char-label {
	font-size: 16px;
	font-weight: 500;
	color: #7f859d;
}

.joom-char-value {
	font-size: 16px;
	font-weight: 500;
	color: #111;
}

.joom-description-full {
	font-size: 15px;
	line-height: 1.6;
	color: #334155;
	overflow-wrap: break-word;
	word-wrap: break-word;
	white-space: normal;
}

/* Review Image Modal (Small Popup) */
#joom-review-image-modal .joom-modal-content {
	max-width: 600px;
	background: transparent;
	box-shadow: none;
	padding: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: visible;
}
#joom-review-image-modal .joom-modal-close {
	position: absolute;
	top: 10px;
	right: 10px;
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	border-radius: 50%;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10;
	border: none;
	font-size: 20px;
	line-height: 1;
}
#joom-review-image-modal .joom-modal-close:hover {
	background: rgba(0, 0, 0, 0.9);
}
#joom-review-modal-img {
	max-width: 100%;
	max-height: 80vh;
	border-radius: 12px;
	object-fit: contain;
	background: #fff;
	box-shadow: 0 10px 40px rgba(0,0,0,0.15);
	display: block;
}

@media (max-width: 768px) {
	.joom-modal-content {
		width: 95%;
		max-height: 85vh;
	}

	.joom-modal-header {
		padding: 16px 16px;
	}

	.joom-modal-header h2 {
		font-size: 18px;
	}

	.joom-modal-body {
		padding: 16px 16px;
	}

	.joom-characteristics-row {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.site-main .joom-thumbnails-vertical {
		display: flex !important;
		flex-direction: row !important;
		overflow-x: auto !important;
		overflow-y: hidden !important;
	}

	.site-main .joom-gallery-wrapper {
		display: flex;
		flex-direction: column !important;
	}

	/* Fixed mobile gaps for Characteristics and delivery boxes */
	.site-main .joom-meta-card {
		margin-top: 0px;
		margin-bottom: 15px;
		padding: 12px;
	}

	.site-main .joom-reviews-container {
		margin-top: 15px;
	}

	.site-main .joom-trust-card {
		margin-top: 15px;
		margin-bottom: 0px;
		padding: 12px;
	}

	.site-main .joom-price-section {
		margin-bottom: 15px;
		padding-bottom: 0;
	}
}

/* Professional Reviews & Write Review Box Styles */
.joom-reviews-header-flex {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 15px;
	flex-wrap: wrap;
	margin-bottom: 20px;
}

@media screen and (max-width: 768px) {
	.joom-reviews-header-flex {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}

	.site-main .joom-write-review-btn {
		width: 100%;
		justify-content: center;
		padding: 14px;
		font-size: 15px;
	}

	.site-main .joom-review-filters {
		flex-wrap: nowrap;
		overflow-x: auto;
		white-space: nowrap;
		padding-bottom: 10px;
		-webkit-overflow-scrolling: touch;
		width: 100%;
		max-width: 100%;
		margin-left: 0;
		padding-left: 0;
		box-sizing: border-box;
	}

	.joom-filter-btn {
		flex-shrink: 0;
	}

	.site-main .joom-review-list {
		max-height: none;
		overflow-y: visible;
		padding-right: 0;
	}

	.joom-review-item {
		padding: 15px;
		margin-bottom: 10px;
	}

	.site-main .joom-review-head {
		flex-wrap: nowrap;
		align-items: flex-start;
		gap: 8px;
	}

	.site-main .joom-review-date {
		width: auto;
		white-space: nowrap;
		text-align: right;
		font-size: 11px;
		order: unset;
	}

	body .joom-modal-content {
		width: 95%;
		margin: 5% auto;
		padding: 15px;
	}

	.site-main .joom-form-row {
		flex-direction: column;
		gap: 0;
	}
}

.joom-write-review-btn {
	background: #0f172a;
	color: #fff;
	border: none;
	padding: 12px 24px;
	border-radius: 12px;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.2s ease;
	display: flex;
	align-items: center;
	gap: 8px;
	box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.joom-write-review-btn:hover {
	background: #1e293b;
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(15, 23, 42, 0.25);
}

.joom-review-media {
	display: flex;
	gap: 10px;
	margin-top: 12px;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	padding-bottom: 4px;
}

.joom-review-media::-webkit-scrollbar {
	display: none;
}

.joom-review-img-link {
	display: block;
	cursor: zoom-in;
	flex-shrink: 0;
}

.joom-review-img-box {
	width: 80px;
	height: 80px;
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid #eee;
	background: #f8f9fb;
}

.joom-review-img-box img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Pagination */
.joom-reviews-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid #f0f2f7;
}

.joom-pagi-btn {
	background: #111827;
	border: 1px solid #111827;
	padding: 8px 16px;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 6px;
	color: #ffffff;
	transition: all 0.2s ease;
}

.joom-pagi-btn:hover:not(.disabled) {
	border-color: #000000;
	background: #000000;
	color: #ffffff;
}

.joom-pagi-btn.disabled {
	opacity: 0.5;
	cursor: not-allowed;
	background: #111827;
}

.joom-pagi-info {
	font-size: 14px;
	color: #7f859d;
	font-weight: 500;
}

/* Form Styles */
.joom-rating-input {
	display: flex;
	flex-direction: row-reverse;
	justify-content: flex-end;
	gap: 4px;
}

.joom-rating-input input { display: none; }
.joom-rating-input label {
	font-size: 24px;
	color: #ddd;
	cursor: pointer;
}

.joom-rating-input input:checked ~ label,
.joom-rating-input label:hover,
.joom-rating-input label:hover ~ label {
	color: #f59e0b; /* Premium Golden Yellow */
}

.joom-form-group {
	margin-bottom: 20px;
}

.joom-form-group label {
	display: block;
	font-size: 15px;
	font-weight: 600;
	margin-bottom: 8px;
	color: #334155;
}

.joom-pro-form input[type="text"],
.joom-pro-form input[type="email"],
.joom-pro-form textarea {
	width: 100%;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 14px 16px;
	font-size: 15px;
	background: #f8fafc;
	transition: all 0.2s ease;
	outline: none;
	font-family: inherit;
}

.joom-pro-form textarea {
	resize: vertical;
}

.joom-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 15px;
	margin-bottom: 0;
}

.joom-pro-form input:focus,
.joom-pro-form textarea:focus {
	background: #ffffff;
	border-color: #FA3434;
	box-shadow: 0 0 0 3px rgba(250, 52, 52, 0.1);
}

.joom-upload-zone {
	border: 2px dashed #e0e3eb;
	border-radius: 12px;
	padding: 20px;
	text-align: center;
	cursor: pointer;
	position: relative;
	color: #7f859d;
}

.joom-upload-zone:hover {
	border-color: #111;
	background: #f8f9fb;
}

.joom-upload-zone input {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0; left: 0;
	opacity: 0;
	cursor: pointer;
}

.joom-upload-zone i {
	display: block;
	font-size: 24px;
	margin-bottom: 8px;
}

.joom-submit-review {
	width: 100%;
	background: #FA3434;
	color: #fff;
	border: none;
	padding: 16px;
	border-radius: 12px;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	box-shadow: 0 4px 12px rgba(250, 52, 52, 0.2);
	min-height: 54px;
	margin-bottom: 10px;
}

.joom-submit-review:hover {
	background: #e62e2e;
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(250, 52, 52, 0.3);
}

@media (max-width: 600px) {
	.joom-form-row {
		grid-template-columns: 1fr;
		gap: 0;
	}
}

.joom-upload-preview {
	display: flex;
	gap: 10px;
	margin-top: 10px;
}

.joom-preview-thumb {
	width: 60px;
	height: 60px;
	border-radius: 8px;
	object-fit: cover;
}

.joom-report-modal-content {
	width: 95%;
	max-width: 500px;
	padding: 10px;
}

.joom-report-modal-header {
	border-bottom: 0;
	padding-bottom: 12px;
	text-align: center;
}

.joom-report-modal-header h2 {
	font-size: 22px;
	font-weight: 800;
	color: #0f172a;
}

.joom-report-modal-body {
	padding-top: 0;
}

.joom-report-issue-form {
	display: grid;
	gap: 12px;
}

.joom-report-option {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 16px;
	background: #f8fafc;
	border: 1px solid #f1f5f9;
	border-radius: 16px;
	cursor: pointer;
	transition: all 0.2s ease;
}

.joom-report-option:hover {
	background: #ffffff;
	border-color: #e2e8f0;
	box-shadow: 0 4px 12px rgba(0,0,0,0.03);
	transform: translateY(-1px);
}

.joom-report-option input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.joom-report-radio {
	width: 24px;
	height: 24px;
	border: 2px solid #cbd5e1;
	border-radius: 50%;
	display: inline-block;
	box-sizing: border-box;
	transition: all 0.2s ease;
	background: #ffffff;
	flex-shrink: 0;
}

.joom-report-text {
	font-size: 15px;
	line-height: 1.4;
	color: #475569;
	font-weight: 600;
}

.joom-report-option input:checked ~ .joom-report-text {
	color: #0f172a;
}

.joom-report-option input:checked + .joom-report-radio {
	border-color: #FA3434;
	background: #FA3434;
	box-shadow: inset 0 0 0 4px #fff;
}

.joom-report-option:has(input:checked) {
	background: #fff5f5;
	border-color: #fca5a5;
}

.joom-report-continue {
	margin-top: 20px;
	width: 100%;
	border: none;
	border-radius: 12px;
	padding: 16px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	color: #fff;
	background: #e2e8f0;
	cursor: not-allowed;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	min-height: 54px;
	transition: all 0.3s ease;
}

.joom-report-continue:not(:disabled) {
	background: #0f172a;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.joom-report-continue:not(:disabled):hover {
	background: #FA3434;
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(250, 52, 52, 0.25);
}

@media (max-width: 768px) {
	.joom-report-radio {
		width: 22px;
		height: 22px;
	}

	.joom-report-text {
		font-size: 14px;
	}

	.joom-report-option {
		padding: 12px 14px;
	}

	.joom-report-continue {
		font-size: 15px;
		border-radius: 14px;
		padding: 14px;
	}
}

/* Small mobile overflow guard (align with Similar Products stable behavior) */
@media (max-width: 600px) {
	body.single-product,
	body.single-product .site,
	body.single-product .site-main,
	body.single-product .joom-product-container {
			overflow-x: clip;
	}

	body.single-product .site-main .joom-product-container {
		padding-left: 8px;
		padding-right: 8px;
	}

	.joom-product-container,
	.joom-product-layout,
	.joom-product-gallery,
	.joom-product-summary,
	.joom-gallery-wrapper,
	.joom-main-image,
	.joom-price-main-row,
	.joom-price-content,
	.joom-reviews-container,
	.joom-review-list,
	.joom-review-item {
		width: 100%;
		max-width: 100%;
		min-width: 0;
		box-sizing: border-box;
	}

	.joom-review-head {
		flex-wrap: wrap !important;
		min-width: 0;
	}

	.joom-review-author-info,
	.joom-review-author,
	.joom-review-text {
		min-width: 0;
		overflow-wrap: anywhere;
	}

	body.single-product .site-main .joom-product-summary,
	body.single-product .site-main .joom-reviews-container {
		margin-left: 0;
		margin-right: 0;
	}
}

/* No Products Found UI - Box Style */
.mj-no-products-found {
	grid-column: 1 / -1;
	text-align: center;
	padding: 40px 20px;
	background: #fff;
	border-radius: 24px;
	border: 1px solid #f1f5f9;
	box-shadow: 0 10px 40px rgba(0,0,0,0.03);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin: 40px auto;
	width: 100%;
	max-width: 400px;
	aspect-ratio: 1 / 1;
}

.mj-no-products-icon {
	width: 140px;
	height: 140px;
	margin-bottom: 24px;
	opacity: 0.8;
}

.mj-no-products-icon svg {
	width: 100%;
	height: 100%;
}

.mj-no-products-found h3 {
	font-size: 24px;
	margin-bottom: 10px;
	color: #111827;
	font-weight: 800;
	text-transform: none;
	letter-spacing: 0px;
	line-height: 1.2;
	font-family: inherit;
}

/* Single Product Share Modal + Clickability Fix (non-destructive overrides) */
body.single-product .joom-actions-top {
	z-index: 30;
	pointer-events: auto;
}

body.single-product .joom-share-btn-round {
	position: relative;
	z-index: 31;
	pointer-events: auto;
}

body.single-product .joom-share-modal {
	position: fixed;
	inset: 0;
	width: 100vw;
	height: 100vh;
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 99999;
	background: transparent;
}

body.single-product .joom-share-modal.open {
	display: flex;
}

body.single-product .joom-share-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
}

body.single-product .joom-share-content {
	position: relative;
	z-index: 1;
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
	padding: 26px 18px 18px;
	max-width: 430px;
	width: min(92vw, 430px);
}

body.single-product .joom-share-close {
	position: absolute;
	top: 14px;
	right: 14px;
	background: none;
	border: none;
	font-size: 22px;
	color: #888;
	cursor: pointer;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

body.single-product .joom-share-close:hover {
	color: #fa3434;
}

body.single-product .joom-share-lock {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin: 0 auto 16px;
	background: #ffeaea;
	color: #fa3434;
	border-radius: 50%;
	font-size: 20px;
}

body.single-product .joom-share-title {
	font-size: 22px;
	font-weight: 700;
	color: #fa3434;
	margin: 0 0 14px;
	text-align: center;
	line-height: 1.2;
}

body.single-product .joom-share-options {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-bottom: 18px;
}

body.single-product .joom-share-option {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #f9fafb;
	border: 1px solid #e5e7eb;
	border-radius: 999px;
	padding: 8px 12px;
	font-size: 13px;
	color: #333;
	cursor: pointer;
	font-weight: 600;
	transition: all 0.2s ease;
}

body.single-product .joom-share-option:hover {
	background: #ffeaea;
	border-color: #fa3434;
	color: #fa3434;
}

body.single-product .joom-share-link-section {
	display: flex;
	gap: 8px;
	margin-top: 14px;
}

body.single-product .joom-share-link-input {
	flex: 1;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	padding: 10px 12px;
	font-size: 14px;
	background: #f9fafb;
	height: 40px;
}

body.single-product .joom-share-copy-btn {
	background: #fa3434;
	color: #fff;
	border: none;
	border-radius: 8px;
	padding: 10px 14px;
	font-size: 14px;
	cursor: pointer;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

body.single-product .joom-share-copy-btn:hover {
	background: #d32f2f;
}

@media (max-width: 768px) {
	body.single-product .joom-share-content {
		width: min(94vw, 560px);
		padding: 22px 16px;
	}

	body.single-product .joom-share-option {
		flex: 1 1 calc(50% - 6px);
		justify-content: center;
	}
}

@media (max-width: 640px) {
	body.single-product .joom-share-content {
		width: min(94vw, 360px);
		padding: 20px 14px 14px;
	}

	body.single-product .joom-share-option {
		flex: 1 1 calc(50% - 8px);
		justify-content: center;
		border-radius: 10px;
	}

	body.single-product .joom-share-link-section {
		flex-direction: column;
	}

	body.single-product .joom-share-copy-btn {
		width: 100%;
	}
}

/* =================================================
	FREQUENTLY BOUGHT TOGETHER
	================================================= */
.joom-fbt-title {
	margin: 0 0 24px;
	font-size: 28px;
	font-weight: 900;
	color: #0f172a;
	letter-spacing: -0.8px;
	position: relative;
	display: inline-block;
}
.joom-fbt-wrapper {
	margin-top: 30px;
	padding-top: 40px;
	border-top: 1px dashed #e2e8f0;
}
.joom-fbt-inner {
	display: grid;
	grid-template-columns: auto 1fr 250px;
	gap: 32px;
	align-items: stretch;
	background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
	border: 1px solid #e2e8f0;
	border-radius: 32px;
	padding: 32px;
	box-shadow: 0 20px 60px rgba(15, 23, 42, 0.04), inset 0 0 0 2px #ffffff;
}
.joom-fbt-images {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	flex-wrap: wrap;
	padding: 10px;
}
.joom-fbt-img-wrap {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
}
.joom-fbt-img {
	width: 100px;
	height: 100px;
	border-radius: 20px;
	border: 4px solid #ffffff;
	overflow: hidden;
	transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
	background: #ffffff;
	box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}
.joom-fbt-img:hover {
	transform: translateY(-8px) scale(1.05);
	box-shadow: 0 16px 40px rgba(250,52,52,0.15);
	border-color: #fff5f5;
	z-index: 2;
}
.joom-fbt-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.joom-fbt-img.joom-fbt-disabled {
	opacity: 0.3;
	filter: grayscale(100%) blur(1px);
	box-shadow: none;
	transform: scale(0.95);
}
.joom-fbt-plus {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #ffffff;
	color: #FA3434;
	font-size: 14px;
	box-shadow: 0 4px 12px rgba(250,52,52,0.12);
	z-index: 2;
}
.joom-fbt-img-wrap:last-child .joom-fbt-plus {
	display: none;
}
.joom-fbt-list {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	gap: 12px;
	justify-content: center;
}
.joom-fbt-item {
	display: flex;
	align-items: center;
	gap: 16px;
	font-size: 15px;
	color: #334155;
	cursor: pointer;
	padding: 14px 20px;
	border-radius: 20px;
	background: #ffffff;
	border: 1px solid #f1f5f9;
	box-shadow: 0 4px 16px rgba(0,0,0,0.02);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.joom-fbt-item:hover {
	transform: translateX(6px);
	border-color: #e2e8f0;
	box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}
.joom-fbt-item > div {
	flex: 1;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
}
.joom-fbt-item input[type="checkbox"] {
	appearance: none;
	-webkit-appearance: none;
	width: 24px;
	height: 24px;
	border: 2px solid #cbd5e1;
	border-radius: 8px;
	margin: 0;
	cursor: pointer;
	position: relative;
	transition: all 0.2s ease;
	flex-shrink: 0;
	background: #f8fafc;
}
.joom-fbt-item input[type="checkbox"]:checked {
	background: #FA3434;
	border-color: #FA3434;
}
.joom-fbt-item input[type="checkbox"]:checked::after {
	content: '';
	position: absolute;
	left: 7px;
	top: 3px;
	width: 6px;
	height: 11px;
	border: solid white;
	border-width: 0 2.5px 2.5px 0;
	transform: rotate(45deg);
}
.joom-fbt-item input[type="checkbox"]:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}
.joom-fbt-item-title {
	font-weight: 600;
	color: #0f172a;
	text-decoration: none;
	transition: color 0.2s;
	line-height: 1.4;
	flex: 1;
}
.joom-fbt-item-title:hover {
	color: #FA3434;
}
.joom-fbt-item-price {
	font-weight: 800;
	color: #0f172a;
	font-size: 16px;
	white-space: nowrap;
	background: #f8fafc;
	padding: 6px 12px;
	border-radius: 10px;
	flex-shrink: 0;
}
.joom-fbt-checkout {
	background: #0f172a;
	padding: 24px 20px;
	border-radius: 20px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	text-align: center;
	justify-content: center;
	align-items: center;
	align-self: center;
	box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
	position: relative;
	overflow: hidden;
}
.joom-fbt-checkout::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle at center, rgba(250,52,52,0.15) 0%, transparent 60%);
	pointer-events: none;
}
.joom-fbt-total-label {
	font-size: 14px;
	color: #94a3b8;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: 700;
	margin-bottom: 8px;
	display: block;
}
.joom-fbt-total-price {
	font-size: 28px;
	font-weight: 900;
	color: #ffffff;
	line-height: 1;
	letter-spacing: -1px;
}
.site-main .joom-fbt-total-price .woocommerce-Price-amount,
.site-main .joom-fbt-total-price bdi,
.site-main .joom-fbt-total-price .amount {
	color: #ffffff;
}
.joom-fbt-add-btn {
	width: 100%;
	background: #FA3434;
	color: #fff;
	border: none;
	padding: 12px 16px;
	border-radius: 12px;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	box-shadow: 0 8px 24px rgba(250, 52, 52, 0.3);
	position: relative;
	z-index: 1;
	white-space: nowrap;
}
.joom-fbt-add-btn:hover:not(:disabled) {
	transform: translateY(-3px) scale(1.02);
	box-shadow: 0 12px 32px rgba(250, 52, 52, 0.4);
	background: #ff4747;
}
.joom-fbt-add-btn:active:not(:disabled) {
	transform: translateY(0) scale(0.98);
}
.joom-fbt-add-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}
@media (max-width: 1150px) {
	.joom-fbt-inner {
		grid-template-columns: 1fr;
		gap: 28px;
	}
}
@media (max-width: 768px) {
	.joom-fbt-title {
		font-size: 20px;
		margin-bottom: 16px;
	}
	.joom-fbt-inner {
		display: flex;
		flex-direction: column;
		padding: 24px 16px;
		border-radius: 24px;
		gap: 20px;
	}
	.joom-fbt-images {
		justify-content: center;
		width: 100%;
	}
	.joom-fbt-img {
		width: 76px;
		height: 76px;
		border-width: 3px;
	}
	.joom-fbt-item {
		padding: 14px 16px;
	}
	.joom-fbt-item > div {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}
	.joom-fbt-item-title {
		font-size: 14px;
	}
	.joom-fbt-item-price {
		font-size: 15px;
		padding: 4px 10px;
	}
	.joom-fbt-checkout {
		width: 100%;
		padding: 24px 20px;
		align-self: stretch;
	}
}

/* =================================================
	STICKY ADD TO CART BAR
	================================================= */
.joom-sticky-cart {
	position: fixed;
	bottom: 24px;
	left: 24px;
	right: 24px;
	width: auto;
	max-width: 1300px;
	margin: 0 auto;
	background: rgba(255, 255, 255, 0.98);
	backdrop-filter: saturate(180%) blur(20px);
	-webkit-backdrop-filter: saturate(180%) blur(20px);
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1), 0 2px 10px rgba(0, 0, 0, 0.05);
	z-index: 9999;
	transform: translateY(calc(100% + 60px));
	opacity: 0;
	transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.4s;
	visibility: hidden;
	border: 1px solid rgba(0, 0, 0, 0.06);
	border-radius: 20px;
}

.joom-sticky-cart.show {
	transform: translateY(0);
	opacity: 1;
	visibility: visible;
}

.joom-sticky-cart-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1300px;
	margin: 0 auto;
	padding: 14px 24px;
}

.joom-sticky-cart-info {
	display: flex;
	align-items: center;
	gap: 18px;
}

.joom-sticky-cart-info img {
	width: 54px;
	height: 54px;
	border-radius: 12px;
	object-fit: cover;
	border: 1px solid #f1f5f9;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.joom-sticky-cart-meta {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.joom-sticky-title {
	font-size: 16px;
	font-weight: 700;
	color: #0f172a;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.joom-sticky-price {
	font-size: 18px;
	font-weight: 800;
	color: var(--primary-color, #FA3434);
	line-height: 1;
	margin-top: 2px;
}

.joom-sticky-price .woocommerce-Price-amount {
	color: inherit;
}

.joom-sticky-price del {
	display: none !important;
}

.joom-sticky-price ins {
	text-decoration: none !important;
}

.joom-sticky-cart-actions {
	display: flex;
	align-items: center;
	gap: 16px;
}

.joom-sticky-cart-actions .joom-qty-control {
	height: 50px;
	border-radius: 12px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	display: flex;
	align-items: center;
	overflow: hidden;
}

.joom-sticky-cart-actions .joom-qty-btn {
	width: 40px;
	height: 100%;
	background: transparent;
	border: none;
	font-size: 20px;
	color: #475569;
	cursor: pointer;
	transition: all 0.2s;
	display: flex;
	align-items: center;
	justify-content: center;
}

.joom-sticky-cart-actions .joom-qty-btn:hover {
	background: #e2e8f0;
	color: #0f172a;
}

.joom-sticky-cart-actions .joom-qty-input {
	width: 40px;
	height: 100%;
	border: none;
	background: transparent;
	text-align: center;
	font-weight: 700;
	font-size: 16px;
	color: #0f172a;
	padding: 0;
	-moz-appearance: textfield;
	appearance: textfield;
}

.joom-sticky-cart-actions .joom-qty-input::-webkit-outer-spin-button,
.joom-sticky-cart-actions .joom-qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

html body button.joom-sticky-add-to-cart.button.alt {
	background: var(--add-to-cart-bg, #0f172a);
	color: var(--btn-text-color, #ffffff);
	border: none;
	height: 50px;
	padding: 0 32px;
	border-radius: 12px;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.2s ease;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	white-space: nowrap;
}

html body button.joom-sticky-add-to-cart.button.alt:hover {
	background: var(--add-to-cart-hover, #FA3434);
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

/* Mobile 50/50 Layout */
@media (max-width: 768px) {
	.joom-sticky-cart {
		bottom: 16px;
		left: 16px;
		right: 16px;
		border-radius: 12px;
		box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
		background: rgba(255, 255, 255, 0.98);
		backdrop-filter: saturate(180%) blur(20px);
		-webkit-backdrop-filter: saturate(180%) blur(20px);
		border: 1px solid rgba(0, 0, 0, 0.06);
		pointer-events: auto;
	}

	.joom-sticky-cart-inner {
		padding: 12px;
		pointer-events: auto;
	}

	.joom-sticky-cart-info {
		display: none; /* Hide product info on mobile for clean UX */
	}

	.joom-sticky-cart-actions {
		width: 100%;
		gap: 12px;
		justify-content: space-between;
	}

	.joom-sticky-cart-actions .joom-qty-control {
		flex: 1; /* Perfect 50% width distribution */
		height: 50px;
		border-radius: 12px;
		margin: 0;
		box-sizing: border-box;
		justify-content: space-between;
	}

	.joom-sticky-cart-actions .joom-qty-input {
		flex: 1;
		width: auto;
	}

	.joom-sticky-cart-actions .joom-qty-btn {
		width: 50px;
		font-size: 22px;
		padding: 0;
		background: #f1f5f9;
		border-radius: 8px;
		margin: 4px;
		height: calc(100% - 8px);
	}

	html body button.joom-sticky-add-to-cart.button.alt {
		flex: 1;
		height: 50px;
		border-radius: 12px;
		margin: 0;
		box-sizing: border-box;
		padding: 0 16px;
		font-size: 16px;
		font-weight: 800;
		letter-spacing: -0.2px;
		box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1), 0 4px 14px rgba(250, 52, 52, 0.25);
	}
	html body button.joom-sticky-add-to-cart.button.alt i {
		font-size: 18px;
	}
}

/* Hide default icon pseudo-elements for remove and add buttons ONLY on wishlist page */
html body .woosw-list .woosw-item--remove span::before,
html body .woosw-list .woosw-item--add span::before {
	display: none !important;
	content: none !important;
}
