/* ==========================================================================
   CODERIVEN - PRODUCT DETAILS & RELATED SECTIONS STYLES (COMPACT EDITION)
   ========================================================================== */

/* Page Background */
body,
.page-container,
.page_content,
main {
	background-color: #ffffff !important;
}

/* 1. Breadcrumbs */
.item-breadcrumbs-container {
	margin-bottom: 10px;
	padding-top: 0;
	padding-bottom: 0;
}

.item-breadcrumbs-container .coderiven-breadcrumb {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	padding: 0;
	margin: 0;
	list-style: none;
	font-size: 12px;
	color: #64748b;
	line-height: 1.4;
}

.item-breadcrumbs-container .breadcrumb-item {
	display: inline-flex;
	align-items: center;
}

.item-breadcrumbs-container .breadcrumb-item + .breadcrumb-item::before {
	content: "";
	display: inline-block;
	width: 4.5px;
	height: 4.5px;
	border-top: 1.5px solid #94a3b8;
	border-right: 1.5px solid #94a3b8;
	transform: rotate(45deg);
	margin: 0 8px;
	padding: 0;
}

.item-breadcrumbs-container .breadcrumb-item a {
	color: #64748b;
	text-decoration: none;
	transition: color 0.15s ease;
	display: inline-flex;
	align-items: center;
}

.item-breadcrumbs-container .breadcrumb-item a:hover {
	color: var(--primary, #007bff);
}

.item-breadcrumbs-container .breadcrumb-item.active {
	color: #0f172a;
	font-weight: 600;
	max-width: 340px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* 2. Main Product Container Card */
.cr-product-main-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 18px 22px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
	margin-bottom: 14px;
}

@media (max-width: 767.98px) {
	.cr-product-main-card {
		padding: 12px 14px;
		border-radius: 8px;
		margin-bottom: 12px;
	}
}

/* 3. Gallery & Image Presentation (Thumbnails Left + Preview Right) */
.cr-gallery-wrapper {
	width: 100%;
	display: flex;
	flex-direction: row;
	gap: 12px;
	align-items: flex-start;
	position: sticky;
	top: 75px;
}

/* Left Vertical Thumbnail Strip */
.cr-thumbnails-col {
	display: flex;
	flex-direction: column;
	gap: 6px;
	width: 56px;
	max-height: 440px;
	overflow-y: auto;
	overflow-x: hidden;
	flex-shrink: 0;
	padding-right: 2px;
	scrollbar-width: thin;
	order: 1;
}

.cr-thumbnails-col::-webkit-scrollbar {
	width: 3px;
}

.cr-thumbnails-col::-webkit-scrollbar-thumb {
	background: #cbd5e1;
	border-radius: 4px;
}

.cr-thumb-item {
	width: 54px;
	height: 54px;
	aspect-ratio: 1 / 1;
	border-radius: 5px;
	border: 1px solid #e2e8f0;
	padding: 3px;
	background: #ffffff;
	cursor: pointer;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: border-color 0.15s ease, transform 0.15s ease;
	box-sizing: border-box;
}

.cr-thumb-item img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	border-radius: 3px;
}

.cr-thumb-item.active {
	border: 1px solid #0f172a !important;
	box-shadow: none !important;
}

.cr-thumb-item:hover:not(.active) {
	border-color: #94a3b8;
}

/* Right Main Image Preview (1:1 Ratio) */
.cr-main-img-container {
	flex: 1 1 auto;
	min-width: 0;
	width: 100%;
	aspect-ratio: 1 / 1;
	background: #ffffff;
	border: 1px solid #f1f5f9;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 12px;
	position: relative;
	overflow: hidden;
	box-sizing: border-box;
	order: 2;
}

.cr-main-img {
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	object-position: center;
	cursor: zoom-in;
	transition: transform 0.25s ease;
}

.cr-main-img:hover {
	transform: scale(1.02);
}

.cr-no-image-box {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #ffffff;
	color: #cbd5e1;
	font-weight: 700;
	font-size: 40px;
	letter-spacing: 2px;
}

/* Responsive Mobile Layout for Gallery (Thumbnails Left + Preview Right on mobile too) */
@media (max-width: 767.98px) {
	.cr-gallery-wrapper {
		flex-direction: row !important;
		gap: 8px !important;
		position: static !important;
		align-items: flex-start !important;
	}

	.cr-thumbnails-col {
		order: 1 !important;
		flex-direction: column !important;
		width: 48px !important;
		max-height: 340px !important;
		overflow-y: auto !important;
		overflow-x: hidden !important;
		gap: 5px !important;
		padding-right: 1px !important;
		flex-shrink: 0 !important;
	}

	.cr-thumb-item {
		width: 46px !important;
		height: 46px !important;
		border-radius: 4px !important;
		padding: 2px !important;
	}

	.cr-main-img-container {
		order: 2 !important;
		flex: 1 1 auto !important;
		min-width: 0 !important;
		width: 100% !important;
		aspect-ratio: 1 / 1 !important;
		padding: 8px !important;
		border-radius: 6px !important;
	}
}

/* Lightbox Modal */
.image-zoom-view {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	height: 100vh;
	width: 100vw;
	display: flex;
	justify-content: center;
	align-items: center;
	background: rgba(15, 23, 42, 0.88);
	backdrop-filter: blur(6px);
	z-index: 9999;
	padding: 20px;
	box-sizing: border-box;
}

.image-zoom-view img {
	max-height: 88vh;
	max-width: 88vw;
	object-fit: contain;
	border-radius: 8px;
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4);
	user-select: none;
}

.image-zoom-view .cr-zoom-close {
	position: absolute;
	right: 1.2rem;
	top: 1.2rem;
	background: rgba(255, 255, 255, 0.15);
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 50%;
	width: 38px;
	height: 38px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	cursor: pointer;
	transition: background 0.2s ease;
	z-index: 10;
}

.image-zoom-view .cr-zoom-close:hover {
	background: rgba(255, 255, 255, 0.3);
}

.image-zoom-view .cr-zoom-nav-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.15);
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 50%;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	cursor: pointer;
	transition: background 0.2s ease;
	z-index: 10;
}

.image-zoom-view .cr-zoom-nav-btn:hover {
	background: rgba(255, 255, 255, 0.3);
}

.image-zoom-view .cr-zoom-prev {
	left: 1.2rem;
}

.image-zoom-view .cr-zoom-next {
	right: 1.2rem;
}

/* 4. Product Info & Details */
.cr-details-wrapper {
	width: 100%;
	display: flex;
	flex-direction: column;
	overflow: visible !important;
}

.product-details {
	overflow: visible !important;
	max-height: none !important;
	height: auto !important;
}

.cr-category-tag {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin: 0 0 4px 0 !important;
	padding: 0 !important;
	line-height: 1.2 !important;
}

.cr-category-tag a {
	color: var(--primary, #007bff);
	text-decoration: none;
	transition: opacity 0.15s ease;
}

.cr-category-tag a:hover {
	opacity: 0.85;
}

.cr-product-title,
h1.cr-product-title,
.product-details .product-title,
.product-details h1 {
	font-size: 20px;
	font-weight: 700;
	color: #0f172a;
	line-height: 1.35 !important;
	margin: 0 0 8px 0 !important;
	padding: 0 !important;
	letter-spacing: -0.2px;
	text-align: justify;
}

@media (max-width: 767.98px) {
	.cr-product-title,
	h1.cr-product-title,
	.product-details .product-title,
	.product-details h1 {
		font-size: 17px;
		margin: 0 0 6px 0 !important;
	}
}

.cr-meta-row {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 10px;
	font-size: 12px;
	color: #64748b;
}

.cr-item-code-badge {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	color: #475569;
	padding: 2px 8px;
	border-radius: 4px;
	font-weight: 500;
	font-size: 11.5px;
}

/* Stock Status Pills */
.cr-stock-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	font-size: 11.5px;
	font-weight: 600;
	padding: 0 10px;
	border-radius: 5px;
	box-sizing: border-box;
	min-height: 35px;
	white-space: nowrap;
	flex-shrink: 0;
}

.cr-stock-pill.in-stock {
	background: #ecfdf5;
	color: #059669;
	border: 1px solid #a7f3d0;
}

.cr-stock-pill.out-of-stock {
	background: #fef2f2;
	color: #dc2626;
	border: 1px solid #fecaca;
}

.cr-stock-pill.backorder {
	background: #eff6ff;
	color: #2563eb;
	border: 1px solid #bfdbfe;
}

/* Short Description Typography & Color Normalization */
.cr-short-description {
	font-size: 13px;
	color: #475569 !important;
	line-height: 1.5;
	margin-bottom: 12px;
	text-align: justify;
	overflow: visible !important;
	max-height: none !important;
	height: auto !important;
	word-break: normal;
	overflow-wrap: break-word;
}

.cr-short-description p,
.cr-short-description span,
.cr-short-description div {
	color: #475569 !important;
	font-size: 13px !important;
	line-height: 1.5 !important;
	background: transparent !important;
	text-align: justify;
	overflow: visible !important;
	max-height: none !important;
	height: auto !important;
}

.cr-short-description a {
	color: var(--primary, #007bff) !important;
	text-decoration: underline;
}

/* Price & Stock Row */
.cr-price-stock-row {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 8px;
	margin-bottom: 12px;
	max-width: 100%;
}

/* Price Box */
.cr-price-box {
	background: #f8fafc;
	border: 1px solid #f1f5f9;
	border-radius: 5px;
	padding: 6px 14px;
	margin-bottom: 0;
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	width: fit-content;
	max-width: 100%;
	box-sizing: border-box;
	min-height: 35px;
	flex: 0 1 auto;
}

.cr-price-current {
	font-size: 20px;
	font-weight: 700;
	color: var(--primary, #007bff);
	line-height: 1;
}

@media (max-width: 767.98px) {
	.cr-price-stock-row {
		display: flex !important;
		flex-wrap: nowrap !important;
		align-items: center !important;
		gap: 6px !important;
		width: 100% !important;
	}

	.cr-price-box {
		padding: 4px 8px !important;
		gap: 6px !important;
		min-height: 32px !important;
		flex: 0 1 auto !important;
	}

	.cr-price-current {
		font-size: 16.5px !important;
	}

	.cr-uom-text {
		font-size: 11px !important;
	}

	.cr-stock-pill {
		font-size: 10.5px !important;
		padding: 0 8px !important;
		min-height: 32px !important;
		height: 32px !important;
		flex-shrink: 0 !important;
		white-space: nowrap !important;
	}

	.cr-stock-pill svg {
		width: 11px !important;
		height: 11px !important;
	}
}

@media (max-width: 420px) {
	.cr-price-box {
		padding: 4px 6px !important;
		gap: 4px !important;
	}

	.cr-price-current {
		font-size: 15px !important;
	}

	.cr-uom-text {
		font-size: 10px !important;
	}

	.cr-stock-pill {
		font-size: 10px !important;
		padding: 0 6px !important;
		gap: 3px !important;
	}
}

.cr-price-mrp {
	font-size: 12.5px;
	color: #94a3b8;
	text-decoration: line-through;
	line-height: 1;
}

.cr-discount-badge {
	font-size: 10.5px;
	font-weight: 700;
	color: #059669;
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	padding: 2px 5px;
	border-radius: 4px;
	line-height: 1.2;
}

.cr-uom-text {
	font-size: 12px;
	color: #64748b;
	margin-left: 2px;
	font-weight: 500;
	line-height: 1;
}

/* Offers Box */
.cr-offers-box {
	background: #fffdf5;
	border: 1px dashed #fcd34d;
	border-radius: 5px;
	padding: 8px 12px;
	margin-bottom: 12px;
	width: fit-content;
	max-width: 100%;
}

.cr-offers-header {
	font-size: 12.5px;
	font-weight: 700;
	color: #92400e;
	display: flex;
	align-items: center;
	margin-bottom: 5px;
	line-height: 1.2;
}

.cr-offer-item {
	font-size: 12px;
	color: #78350f;
	display: flex;
	align-items: center;
	margin-bottom: 3px;
	line-height: 1.35;
}

.cr-offer-item:last-child {
	margin-bottom: 0;
}

.cr-offer-dot {
	margin-right: 5px;
	color: #d97706;
	line-height: 1;
}

.cr-offer-more-btn {
	color: #b45309;
	text-decoration: none;
	font-weight: 600;
	font-size: 10.5px;
	padding: 1px 6px;
	border-radius: 3px;
	background: rgba(245, 158, 11, 0.12);
	margin-left: 5px;
	transition: background 0.15s ease;
	line-height: 1.3;
}

.cr-offer-more-btn:hover {
	background: rgba(245, 158, 11, 0.22);
	color: #92400e;
	text-decoration: none;
}

/* Actions Row (Height: 35px) */
.cr-actions-row {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	margin-top: 10px;
}

/* Action Buttons */
.cr-btn-add-cart {
	flex: 0 0 auto;
	padding: 0 18px;
	height: 35px;
	border-radius: 5px;
	font-size: 13px;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	background-color: var(--primary, #007bff);
	border: 1px solid var(--primary, #007bff);
	color: #ffffff !important;
	text-decoration: none !important;
	transition: all 0.18s ease;
	cursor: pointer;
	box-shadow: 0 1px 2px rgba(0, 123, 255, 0.12);
}

.cr-btn-add-cart:hover {
	background-color: #0062cc;
	border-color: #005cbf;
	box-shadow: 0 2px 8px rgba(0, 123, 255, 0.22);
	color: #ffffff !important;
}

.cr-btn-add-cart:active {
	transform: translateY(1px);
}

.cr-btn-view-cart {
	flex: 0 0 auto;
	padding: 0 18px;
	height: 35px;
	border-radius: 5px;
	font-size: 13px;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	background-color: #10b981;
	border: 1px solid #10b981;
	color: #ffffff !important;
	text-decoration: none !important;
	transition: all 0.18s ease;
	cursor: pointer;
	box-shadow: 0 1px 2px rgba(16, 185, 129, 0.12);
}

.cr-btn-view-cart:hover {
	background-color: #059669;
	border-color: #059669;
	color: #ffffff !important;
	box-shadow: 0 2px 8px rgba(16, 185, 129, 0.22);
}

.cr-btn-view-cart:active {
	transform: translateY(1px);
}

.cr-wishlist-btn {
	width: 35px;
	height: 35px;
	border-radius: 5px;
	border: 1px solid #cbd5e1;
	background: #ffffff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.18s ease;
	flex-shrink: 0;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.cr-wishlist-btn:hover {
	border-color: #fda4af;
	background: #fff1f2;
	transform: scale(1.04);
}

.cr-wishlist-btn:active {
	transform: scale(0.96);
}

.cr-wishlist-btn.like-action-wished {
	border-color: #fda4af !important;
	background: #fff1f2 !important;
}

.cr-wishlist-btn.like-action-wished:hover {
	border-color: #f43f5e !important;
	background: #ffe4e6 !important;
}

.cr-wishlist-btn svg,
.cr-wishlist-btn use {
	pointer-events: none !important;
}

.cr-wishlist-btn .wish-icon {
	width: 15px;
	height: 15px;
	stroke: #64748b;
	fill: none;
	transition: all 0.18s ease;
}

.cr-wishlist-btn.like-action-wished .wish-icon,
.cr-wishlist-btn .wish-icon.wished {
	stroke: #e11d48 !important;
	fill: #e11d48 !important;
}

.cr-wishlist-btn:not(.like-action-wished) .wish-icon.not-wished {
	stroke: #64748b !important;
	fill: none !important;
}

/* Contact Us / Inquiry Button */
.btn-inquiry {
	height: 35px;
	border-radius: 5px;
	font-size: 13px;
	font-weight: 600;
	padding: 0 16px;
	background-color: #f8fafc;
	border: 1px solid #cbd5e1;
	color: #334155 !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: all 0.18s ease;
	text-decoration: none !important;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.btn-inquiry:hover {
	background-color: #f1f5f9;
	border-color: #94a3b8;
	color: #0f172a !important;
}

/* 5. Specifications & Details Tabs */
.cr-spec-section,
.cr-spec-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 18px 22px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
	margin-bottom: 14px;
	background: transparent !important;
	border: none !important;
	border-radius: 0 !important;
	padding: 0 !important;
	box-shadow: none !important;
	margin-top: 20px;
	margin-bottom: 24px;
}

@media (max-width: 767.98px) {
	.cr-spec-section,
	.cr-spec-card {
		padding: 12px 14px;
		border-radius: 8px;
		margin-bottom: 12px;
		padding: 0 !important;
		border: none !important;
		border-radius: 0 !important;
		box-shadow: none !important;
		margin-top: 16px;
		margin-bottom: 18px;
	}
}

.cr-section-heading {
	font-size: 14.5px;
	font-size: 15px;
	font-weight: 700;
	color: #0f172a;
	margin-bottom: 12px;
}

/* Reviews Section Wrapper */
.cr-reviews-card {
	background: transparent !important;
	border: none !important;
	border-radius: 0 !important;
	padding: 0 !important;
	box-shadow: none !important;
	margin-top: 24px;
	margin-bottom: 24px;
}

@media (max-width: 767.98px) {
	.cr-reviews-card {
		padding: 0 !important;
		border: none !important;
		border-radius: 0 !important;
		margin-top: 18px;
		margin-bottom: 18px;
	}
}

/* Category Tabs Navigation */
.category-tabs {
	width: 100%;
}

.category-tabs > div {
	margin-top: 0 !important;
}

.category-tabs .nav-tabs {
	border-bottom: 1px solid #e2e8f0 !important;
	gap: 4px;
	margin-bottom: 16px !important;
	padding-bottom: 0;
	display: flex;
	flex-wrap: wrap;
}

.category-tabs .nav-tabs .nav-item {
	margin-bottom: -1px;
}

.category-tabs .nav-tabs .nav-link {
	border: none !important;
	border-bottom: 2px solid transparent !important;
	background: transparent !important;
	color: #64748b !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	padding: 8px 16px !important;
	border-radius: 0 !important;
	transition: all 0.15s ease;
	cursor: pointer;
	text-decoration: none !important;
}

.category-tabs .nav-tabs .nav-link:hover {
	color: #0f172a !important;
	border-bottom-color: #cbd5e1 !important;
}

.category-tabs .nav-tabs .nav-link.active {
	color: var(--primary, #007bff) !important;
	border-bottom: 2px solid var(--primary, #007bff) !important;
	background: transparent !important;
	font-weight: 700 !important;
}

/* Category Tabs Content & Markdown Styling */
.category-tabs .tab-content {
	margin-top: 0 !important;
	padding: 0 !important;
}

.category-tabs .tab-pane {
	color: #334155 !important;
	font-size: 13px;
	line-height: 1.6;
}

.category-tabs .from-markdown,
.category-tabs .tab-pane > div {
	color: #334155 !important;
	line-height: 1.6;
	font-size: 13px;
}

.category-tabs .from-markdown p,
.category-tabs .from-markdown div,
.category-tabs .from-markdown span {
	color: #334155 !important;
	font-size: 13px !important;
	line-height: 1.6 !important;
}

.category-tabs .from-markdown p {
	margin-bottom: 10px;
}

/* Category Tabs Lists - Zero Indent Left-Start */
.category-tabs ul,
.category-tabs .from-markdown ul,
.category-tabs .tab-pane ul {
	padding-left: 0 !important;
	margin-left: 0 !important;
	margin-top: 0 !important;
	margin-bottom: 10px !important;
	list-style: none !important;
}

.category-tabs ul > li,
.category-tabs .from-markdown ul > li,
.category-tabs .tab-pane ul > li {
	position: relative !important;
	padding-left: 14px !important;
	margin-left: 0 !important;
	margin-bottom: 4px !important;
	color: #334155 !important;
	font-size: 13px !important;
	line-height: 1.6 !important;
	text-align: left !important;
}

.category-tabs ul > li:last-child,
.category-tabs .from-markdown ul > li:last-child,
.category-tabs .tab-pane ul > li:last-child {
	margin-bottom: 0 !important;
}

.category-tabs ul > li::before,
.category-tabs .from-markdown ul > li::before,
.category-tabs .tab-pane ul > li::before {
	content: "•" !important;
	position: absolute !important;
	left: 0 !important;
	top: 0 !important;
	color: #64748b !important;
	font-size: 14px !important;
	line-height: inherit !important;
	font-weight: 700 !important;
}

.category-tabs ol,
.category-tabs .from-markdown ol,
.category-tabs .tab-pane ol {
	padding-left: 18px !important;
	margin-left: 0 !important;
	margin-top: 0 !important;
	margin-bottom: 10px !important;
}

.category-tabs ol > li,
.category-tabs .from-markdown ol > li,
.category-tabs .tab-pane ol > li {
	padding-left: 2px !important;
	margin-left: 0 !important;
	margin-bottom: 4px !important;
	color: #334155 !important;
	font-size: 13px !important;
	line-height: 1.6 !important;
	text-align: left !important;
}

/* Specifications Table */
.cr-specifications-container {
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	overflow: hidden;
	background: #ffffff;
	margin: 4px 0 0 0;
}

.cr-spec-table {
	width: 100% !important;
	border-collapse: collapse;
	margin-bottom: 0 !important;
	background: #ffffff;
}

.cr-spec-table tr {
	border-bottom: 1px solid #f1f5f9;
	transition: background-color 0.12s ease;
}

.cr-spec-table tr:last-child {
	border-bottom: none;
}

.cr-spec-table tr:hover {
	background-color: #fafbfd;
}

.cr-spec-table td.spec-label {
	width: 130px;
	min-width: 110px;
	max-width: 160px;
	font-weight: 600;
	color: #475569;
	font-size: 12px;
	padding: 10px 14px;
	background-color: #f8fafc;
	border-right: 1px solid #f1f5f9;
	vertical-align: top;
	line-height: 1.4;
	text-transform: capitalize;
}

.cr-spec-table td.spec-content {
	color: #1e293b !important;
	font-size: 13px;
	padding: 10px 14px;
	vertical-align: top;
	line-height: 1.55;
	word-break: break-word;
	text-align: left !important;
}

.cr-spec-table td.spec-content p,
.cr-spec-table td.spec-content span,
.cr-spec-table td.spec-content div {
	color: #1e293b !important;
	font-size: 13px !important;
	line-height: 1.55 !important;
	text-align: left !important;
}

/* Feature Checklist Items - Flush Left */
.cr-features-grid {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 0 !important;
	margin: 0 !important;
	width: 100%;
	text-align: left !important;
}

.cr-feature-item {
	display: flex;
	align-items: flex-start;
	gap: 7px;
	font-size: 12.5px;
	color: #1e293b;
	line-height: 1.45;
	padding: 0 !important;
	margin: 0 !important;
	text-align: left !important;
}

.cr-feature-check {
	color: #10b981;
	flex-shrink: 0;
	margin-top: 2.5px;
	margin-left: 0 !important;
}

.cr-spec-para {
	font-size: 13px;
	color: #334155;
	line-height: 1.6;
	margin: 0 0 6px 0 !important;
	padding: 0 !important;
	text-align: left !important;
}

.cr-spec-para:last-child {
	margin-bottom: 0 !important;
}

.cr-spec-table td.spec-content ul,
.cr-specifications-container ul {
	margin: 0 0 6px 0 !important;
	padding-left: 0 !important;
	margin-left: 0 !important;
	list-style: none !important;
}

.cr-spec-table td.spec-content ul > li,
.cr-specifications-container ul > li {
	position: relative !important;
	padding-left: 14px !important;
	margin-left: 0 !important;
	margin-bottom: 3px !important;
	color: #1e293b !important;
	font-size: 13px !important;
	line-height: 1.55 !important;
	text-align: left !important;
}

.cr-spec-table td.spec-content ul > li:last-child,
.cr-specifications-container ul > li:last-child {
	margin-bottom: 0 !important;
}

.cr-spec-table td.spec-content ul > li::before,
.cr-specifications-container ul > li::before {
	content: "•" !important;
	position: absolute !important;
	left: 0 !important;
	top: 0 !important;
	color: #1e293b !important;
	font-size: 14px !important;
	line-height: inherit !important;
	font-weight: 700 !important;
}

.cr-spec-table td.spec-content ol,
.cr-specifications-container ol {
	margin: 0 0 6px 0 !important;
	padding-left: 18px !important;
	margin-left: 0 !important;
}

.cr-spec-table td.spec-content ol > li,
.cr-specifications-container ol > li {
	padding-left: 2px !important;
	margin-left: 0 !important;
	margin-bottom: 3px !important;
	color: #1e293b !important;
	font-size: 13px !important;
	line-height: 1.55 !important;
	text-align: left !important;
}

/* Quill Rich Text Editor Normalization (Flush Left Alignment & No Scroll) */
.cr-spec-table td.spec-content .ql-editor,
.cr-spec-table td.spec-content .ql-editor.read-mode,
.category-tabs .ql-editor,
.category-tabs .ql-editor.read-mode {
	padding: 0 !important;
	margin: 0 !important;
	width: 100% !important;
	height: auto !important;
	min-height: 0 !important;
	max-height: none !important;
	overflow: visible !important;
	overflow-y: visible !important;
	overflow-x: visible !important;
}

.cr-spec-table td.spec-content .ql-editor p,
.category-tabs .ql-editor p {
	margin: 0 0 6px 0 !important;
	padding: 0 !important;
	line-height: 1.55 !important;
}

.cr-spec-table td.spec-content .ql-editor p:last-child,
.category-tabs .ql-editor p:last-child {
	margin-bottom: 0 !important;
}

.cr-spec-table td.spec-content .ql-editor ol,
.cr-spec-table td.spec-content .ql-editor ul,
.category-tabs .ql-editor ol,
.category-tabs .ql-editor ul {
	padding-left: 0 !important;
	margin-left: 0 !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	list-style: none !important;
}

.cr-spec-table td.spec-content .ql-editor li,
.category-tabs .ql-editor li {
	margin-left: 0 !important;
	margin-bottom: 3px !important;
	color: #1e293b !important;
	font-size: 13px !important;
	line-height: 1.55 !important;
	text-align: left !important;
}

.cr-spec-table td.spec-content .ql-editor li:last-child,
.category-tabs .ql-editor li:last-child {
	margin-bottom: 0 !important;
}

/* Bullet list items in Quill (data-list="bullet") */
.cr-spec-table td.spec-content .ql-editor li[data-list="bullet"],
.category-tabs .ql-editor li[data-list="bullet"] {
	position: relative !important;
	padding-left: 12px !important;
	list-style-type: none !important;
}

.cr-spec-table td.spec-content .ql-editor li[data-list="bullet"] > .ql-ui,
.category-tabs .ql-editor li[data-list="bullet"] > .ql-ui {
	position: absolute !important;
	left: 0 !important;
	top: 0 !important;
	width: 12px !important;
	height: 100% !important;
	display: block !important;
}

.cr-spec-table td.spec-content .ql-editor li[data-list="bullet"] > .ql-ui:before,
.category-tabs .ql-editor li[data-list="bullet"] > .ql-ui:before {
	content: "•" !important;
	position: absolute !important;
	left: 0 !important;
	top: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	width: 12px !important;
	text-align: left !important;
	font-size: 14px !important;
	line-height: inherit !important;
	font-weight: 700 !important;
	color: #1e293b !important;
	display: inline-block !important;
}

/* Ordered list items in Quill (data-list="ordered") */
.cr-spec-table td.spec-content .ql-editor li[data-list="ordered"],
.category-tabs .ql-editor li[data-list="ordered"] {
	position: relative !important;
	padding-left: 18px !important;
	list-style-type: none !important;
}

.cr-spec-table td.spec-content .ql-editor li[data-list="ordered"] > .ql-ui,
.category-tabs .ql-editor li[data-list="ordered"] > .ql-ui {
	position: absolute !important;
	left: 0 !important;
	top: 0 !important;
	width: 18px !important;
	height: 100% !important;
	display: block !important;
}

.cr-spec-table td.spec-content .ql-editor li[data-list="ordered"] > .ql-ui:before,
.category-tabs .ql-editor li[data-list="ordered"] > .ql-ui:before {
	position: absolute !important;
	left: 0 !important;
	top: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	width: 16px !important;
	text-align: left !important;
	font-size: 13px !important;
	line-height: inherit !important;
	color: #1e293b !important;
}

@media (max-width: 767.98px) {
	.cr-spec-table tr {
		display: flex;
		flex-direction: column;
		border-bottom: 1px solid #e2e8f0;
	}

	.cr-spec-table td.spec-label {
		width: 100% !important;
		max-width: 100% !important;
		padding: 8px 12px 4px 12px;
		background-color: #f8fafc;
		border-right: none;
		border-bottom: none;
		font-size: 11px;
		color: #64748b;
		text-transform: uppercase;
		letter-spacing: 0.3px;
	}

	.cr-spec-table td.spec-content {
		width: 100% !important;
		padding: 4px 12px 10px 12px;
		font-size: 12px;
	}
}

/* Custom Rich Website Content */
.cr-custom-content {
	font-size: 13.5px;
	color: #334155;
	line-height: 1.6;
	overflow-x: auto;
}

.cr-custom-content img {
	max-width: 100%;
	height: auto;
	border-radius: 6px;
}

.cr-custom-content table {
	width: 100% !important;
	max-width: 100%;
	border-collapse: collapse;
	margin: 10px 0;
}

.cr-custom-content table td,
.cr-custom-content table th {
	padding: 8px 10px;
	border: 1px solid #e2e8f0;
}

/* 6. Customer Reviews Styles */
.cr-reviews-section {
	width: 100% !important;
	max-width: 100% !important;
}

.cr-reviews-header {
	display: flex !important;
	align-items: center !important;
	justify-content: flex-start !important;
	gap: 12px !important;
	width: 100% !important;
	margin-bottom: 14px !important;
	flex-wrap: wrap !important;
}

.cr-reviews-title-wrap {
	display: inline-flex !important;
	align-items: center !important;
}

.cr-reviews-title {
	font-size: 15px !important;
	font-weight: 700 !important;
	color: #0f172a !important;
	margin: 0 !important;
	padding: 0 !important;
	display: inline-flex !important;
	align-items: center !important;
	line-height: 1.2 !important;
}

.cr-review-count-badge {
	background-color: #f1f5f9 !important;
	color: #475569 !important;
	font-size: 11px !important;
	font-weight: 600 !important;
	padding: 1px 6px !important;
	border-radius: 9999px !important;
	border: 1px solid #e2e8f0 !important;
	line-height: 1.2 !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	margin-left: 5px !important;
	vertical-align: middle !important;
}

.cr-btn-write-review {
	background-color: #ffffff;
	color: #334155;
	border: 1px solid #cbd5e1;
	border-radius: 5px;
	height: 30px;
	padding: 0 11px;
	font-size: 11.5px;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	transition: all 0.15s ease;
	white-space: nowrap;
}

.cr-btn-write-review:hover {
	background-color: #f8fafc;
	border-color: #94a3b8;
	color: #0f172a;
}

.cr-btn-write-review:disabled,
.cr-btn-write-review.disabled {
	background-color: #f8fafc !important;
	border-color: #e2e8f0 !important;
	color: #64748b !important;
	cursor: not-allowed !important;
	pointer-events: auto !important;
	opacity: 0.9 !important;
	box-shadow: none !important;
}

/* Compact Rating Summary Card */
.cr-rating-summary-card {
	background-color: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	max-width: 460px;
	display: flex;
	align-items: center;
	margin-bottom: 18px;
	overflow: hidden;
	box-sizing: border-box;
}

.cr-score-box {
	min-width: 125px;
	text-align: center;
	padding: 14px 16px;
	border-right: 1px solid #e2e8f0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
}

.cr-score-number {
	font-size: 2rem;
	font-weight: 700;
	color: #0f172a;
	line-height: 1;
	letter-spacing: -0.5px;
}

.cr-stars-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 2px;
	margin: 5px 0 3px 0;
}

.cr-ratings-count {
	font-size: 11.5px;
	color: #64748b;
}

.cr-breakdown-box {
	flex: 1 1 auto;
	width: 100%;
	padding: 12px 18px;
	box-sizing: border-box;
}

.cr-breakdown-row {
	display: flex;
	align-items: center;
	width: 100%;
	margin-bottom: 4px;
}

.cr-breakdown-row:last-child {
	margin-bottom: 0;
}

.cr-star-label {
	font-size: 11.5px;
	color: #475569;
	min-width: 36px;
	white-space: nowrap;
	flex-shrink: 0;
}

.cr-progress-wrapper {
	flex: 1 1 auto;
	height: 5px;
	background-color: #e2e8f0;
	border-radius: 9999px;
	overflow: hidden;
	margin: 0 8px;
	min-width: 30px;
}

.cr-progress-bar {
	height: 100%;
	background-color: #f59e0b;
	border-radius: 9999px;
	transition: width 0.4s ease;
}

.cr-star-percent {
	font-size: 11px;
	color: #64748b;
	min-width: 28px;
	text-align: right;
	white-space: nowrap;
	flex-shrink: 0;
}

@media (max-width: 575.98px) {
	.cr-reviews-header {
		flex-wrap: wrap !important;
		gap: 8px !important;
		margin-bottom: 12px !important;
	}

	.cr-rating-summary-card {
		flex-direction: column !important;
		width: 100% !important;
		max-width: 100% !important;
	}

	.cr-score-box {
		border-right: none !important;
		border-bottom: 1px solid #e2e8f0 !important;
		width: 100% !important;
		padding: 12px 14px !important;
	}

	.cr-breakdown-box {
		width: 100% !important;
		padding: 10px 14px !important;
	}

	.cr-breakdown-row {
		width: 100% !important;
		display: flex !important;
		align-items: center !important;
	}

	.cr-progress-wrapper {
		flex: 1 1 auto !important;
		width: auto !important;
		min-width: 40px !important;
		margin: 0 8px !important;
	}

	.cr-review-item {
		padding: 12px 14px !important;
	}

	.cr-review-user-row {
		margin-bottom: 6px !important;
	}
}

/* Review List Items */
.cr-reviews-list {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.cr-review-item {
	background-color: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	padding: 15px 18px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.cr-review-item:hover {
	border-color: #cbd5e1;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.cr-review-header-wrap {
	display: flex;
	align-items: flex-start;
	width: 100%;
}

.cr-reviewer-avatar {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background-color: #f1f5f9;
	color: #475569;
	font-size: 11.5px;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	border: 1px solid #e2e8f0;
	text-transform: uppercase;
	margin-top: 1px;
}

.cr-reviewer-info-col {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.cr-reviewer-top-row {
	display: flex;
	align-items: center;
	gap: 4.5px;
	line-height: 1.2;
}

.cr-reviewer-name {
	color: #0f172a;
	font-weight: 600;
	font-size: 12.5px;
	line-height: 1.2;
}

.cr-verified-tick {
	display: inline-flex;
	align-items: center;
	color: #059669;
	line-height: 1;
	cursor: default;
}

.cr-you-tag {
	color: #2563eb;
	font-size: 10.5px;
	font-weight: 600;
	line-height: 1.2;
}

.cr-reviewer-sub-row {
	display: flex;
	align-items: center;
	line-height: 1.15;
}

.cr-review-date {
	font-size: 11px;
	color: #64748b;
	line-height: 1.15;
}

.cr-reviewer-stars-row {
	display: flex;
	align-items: center;
	line-height: 1;
	margin-top: 1px;
}

.cr-stars-group {
	display: inline-flex;
	align-items: center;
	gap: 1.5px;
}

.cr-review-title {
	font-weight: 600;
	font-size: 13px;
	color: #0f172a;
	line-height: 1.35;
	margin-top: 6px;
	margin-bottom: 4px;
}

.cr-review-comment {
	font-size: 13px;
	color: #334155;
	line-height: 1.6;
	margin: 0 !important;
}

.cr-view-all-reviews {
	color: var(--primary, #007bff);
	font-size: 12.5px;
	text-decoration: none;
}

.cr-view-all-reviews:hover {
	text-decoration: underline;
}

/* Empty State Card */
.cr-reviews-empty-card {
	border: 1px dashed #e2e8f0;
	border-radius: 6px;
	background-color: #fafbfd;
}

.cr-empty-icon-circle {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background-color: #f1f5f9;
	display: flex;
	align-items: center;
	justify-content: center;
}

.cr-empty-heading {
	font-size: 14px;
	font-weight: 600;
	color: #0f172a;
}

.cr-empty-subtext {
	font-size: 12.5px;
	color: #64748b;
}

.cr-btn-primary-review {
	background-color: #0f172a;
	color: #ffffff;
	border: 1px solid #0f172a;
	border-radius: 5px;
	height: 34px;
	padding: 0 16px;
	font-size: 12px;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	transition: background-color 0.15s ease;
}

.cr-btn-primary-review:hover {
	background-color: #1e293b;
	color: #ffffff;
}

.cr-btn-primary-review:disabled,
.cr-btn-primary-review.disabled {
	background-color: #f1f5f9 !important;
	border-color: #e2e8f0 !important;
	color: #94a3b8 !important;
	cursor: not-allowed !important;
	pointer-events: auto !important;
	opacity: 0.8 !important;
	box-shadow: none !important;
}

/* 7. Recommended Products Grid */
.cr-recommended-section {
	width: 100%;
}

.cr-recommended-row {
	margin-left: -5px !important;
	margin-right: -5px !important;
}

.cr-recommended-col {
	padding-left: 5px !important;
	padding-right: 5px !important;
	margin-bottom: 10px !important;
	display: flex;
}

.cr-recommended-section .card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	overflow: hidden;
	width: 100%;
	display: flex;
	flex-direction: column;
	position: relative;
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.cr-recommended-section .card:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
	border-color: #e2e8f0 !important;
}

.cr-recommended-section .card-img-container {
	width: 100% !important;
	aspect-ratio: 1 / 1 !important;
	height: auto !important;
	min-height: unset !important;
	max-height: unset !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	background: #ffffff !important;
	padding: 5px !important;
	margin: 0 !important;
	position: relative !important;
	overflow: hidden !important;
	box-sizing: border-box !important;
}

@media (max-width: 575.98px) {
	.cr-recommended-section .card-img-container {
		padding: 3px !important;
	}
}

.cr-recommended-section .card-img-container a {
	width: 100% !important;
	height: 100% !important;
	min-height: 100% !important;
	max-height: 100% !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	text-decoration: none !important;
	padding: 0 !important;
	margin: 0 !important;
	box-sizing: border-box !important;
}

.cr-recommended-section .card-img,
.cr-recommended-section .card-img-top:not(.no-image) {
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	max-height: 100% !important;
	object-fit: contain !important;
	object-position: center !important;
	margin: 0 auto !important;
	margin-top: 0 !important;
	transition: transform 0.25s ease;
}

.cr-recommended-section .card:hover .card-img {
	transform: scale(1.04);
}

.cr-recommended-section .card-img-top.no-image,
.cr-recommended-section .no-image {
	width: 100% !important;
	height: 100% !important;
	min-height: 100% !important;
	max-height: 100% !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	text-align: center !important;
	line-height: 1 !important;
	margin: 0 !important;
	padding: 0 !important;
	font-weight: 700 !important;
	font-size: 22px !important;
	color: #cbd5e1 !important;
	background: #ffffff !important;
	border-radius: 0 !important;
	letter-spacing: 1px !important;
}

.cr-recommended-section .card-body {
	padding: 6px 8px 8px !important;
	display: flex !important;
	flex-direction: column !important;
	flex: 1 1 auto !important;
	justify-content: space-between !important;
	width: 100% !important;
}

@media (max-width: 575.98px) {
	.cr-recommended-section .card-body {
		padding: 4px 6px 6px !important;
	}
}

.cr-recommended-section .product-category {
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
	color: #94a3b8;
	letter-spacing: 0.3px;
	margin-bottom: 2px;
}

.cr-recommended-section .card-body a:not(.hidden):not(.btn-explore-link):not(.go-to-cart-link) {
	text-decoration: none !important;
	color: inherit !important;
	display: block !important;
	width: 100% !important;
}

.cr-recommended-section .product-title {
	font-size: 12.5px !important;
	font-weight: 600 !important;
	color: #0f172a !important;
	line-height: 1.35 !important;
	min-height: 2.7em !important;
	max-height: 2.7em !important;
	height: 2.7em !important;
	display: -webkit-box !important;
	-webkit-line-clamp: 2 !important;
	-webkit-box-orient: vertical !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	word-break: break-word !important;
	overflow-wrap: break-word !important;
	margin-bottom: 3px !important;
	transition: color 0.15s ease;
}

@media (max-width: 575.98px) {
	.cr-recommended-section .product-title {
		font-size: 11.5px !important;
		line-height: 1.35 !important;
		min-height: 2.7em !important;
		max-height: 2.7em !important;
		height: 2.7em !important;
		margin-bottom: 2px !important;
	}
}

.cr-recommended-section .card:hover .product-title {
	color: var(--primary, var(--primary-color, var(--bs-primary, #007bff))) !important;
}

.cr-recommended-section .product-price {
	font-size: 13.5px;
	font-weight: 700;
	color: var(--primary, var(--primary-color, var(--bs-primary, #007bff)));
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 4px;
	margin-top: auto;
	margin-bottom: 4px;
}

@media (max-width: 575.98px) {
	.cr-recommended-section .product-price {
		font-size: 12.5px;
		gap: 3px;
		margin-bottom: 3px;
	}
}

.cr-recommended-section .striked-price {
	font-size: 11px;
	font-weight: 400;
	color: #94a3b8;
	text-decoration: line-through;
}

.cr-recommended-section .out-of-stock {
	font-size: 11px;
	font-weight: 600;
	color: #ef4444;
	display: inline-block;
}

/* Floating Wishlist Button (Top-Right) */
.cr-recommended-section .like-action {
	position: absolute !important;
	top: 6px !important;
	right: 6px !important;
	left: auto !important;
	bottom: auto !important;
	z-index: 5 !important;
	width: 26px !important;
	height: 26px !important;
	border-radius: 50% !important;
	background: #ffffff !important;
	border: 1px solid #e2e8f0 !important;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06) !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	cursor: pointer !important;
	visibility: visible !important;
	opacity: 1 !important;
	transition: all 0.15s ease !important;
}

.cr-recommended-section .like-action:hover {
	transform: scale(1.08);
	border-color: #fda4af !important;
	background: #fff1f2 !important;
}

.cr-recommended-section .like-action .wish-icon {
	width: 13px !important;
	height: 13px !important;
	stroke: #64748b !important;
	fill: none !important;
	transition: all 0.15s ease;
}

.cr-recommended-section .like-action.like-action-wished .wish-icon,
.cr-recommended-section .like-action .wish-icon.wished {
	stroke: #e11d48 !important;
	fill: #e11d48 !important;
}

/* Action Buttons (Always visible) */
.cr-recommended-section .card-body .hidden,
.cr-recommended-section .card-body a.hidden,
.cr-recommended-section .card-body div.hidden,
.cr-recommended-section .hidden,
.cr-recommended-section a.hidden,
.cr-recommended-section div.hidden,
.cr-recommended-section .go-to-cart-link.hidden,
a.hidden,
.hidden {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	height: 0 !important;
	min-height: 0 !important;
	max-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	pointer-events: none !important;
	position: absolute !important;
	overflow: hidden !important;
}

.cr-recommended-section .btn-add-to-cart-list:not(.hidden),
.cr-recommended-section .btn-explore-variants:not(.hidden),
.cr-recommended-section .go-to-cart-grid:not(.hidden),
.cr-recommended-section .like-action {
	visibility: visible !important;
	opacity: 1 !important;
}

.cr-recommended-section a.btn-explore-link:not(.hidden),
.cr-recommended-section a.go-to-cart-link:not(.hidden),
.cr-recommended-section a:has(.btn-explore-variants):not(.hidden),
.cr-recommended-section a:has(.go-to-cart-grid):not(.hidden) {
	margin: 0 !important;
	margin-top: auto !important;
	margin-bottom: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	width: 100% !important;
	text-decoration: none !important;
	display: flex !important;
	align-items: stretch !important;
	box-sizing: border-box !important;
}

.cr-recommended-section .btn-add-to-cart-list:not(.hidden),
.cr-recommended-section .btn-explore-variants:not(.hidden),
.cr-recommended-section .go-to-cart-grid:not(.hidden) {
	margin: 0 !important;
	margin-top: auto !important;
	margin-bottom: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	border-radius: 6px !important;
	font-size: 11.5px !important;
	font-weight: 600 !important;
	padding: 4px 8px !important;
	height: 28px !important;
	min-height: 28px !important;
	max-height: 28px !important;
	width: 100% !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 4px !important;
	transition: all 0.15s ease !important;
	text-decoration: none !important;
	cursor: pointer !important;
	box-sizing: border-box !important;
}

@media (max-width: 575.98px) {
	.cr-recommended-section .btn-add-to-cart-list,
	.cr-recommended-section .btn-explore-variants,
	.cr-recommended-section .go-to-cart-grid {
		font-size: 11px !important;
		padding: 3px 6px !important;
		height: 25px !important;
		min-height: 25px !important;
		max-height: 25px !important;
		margin-top: auto !important;
		box-sizing: border-box !important;
	}
}

.cr-recommended-section .btn-primary {
	background-color: var(--primary, var(--primary-color, var(--bs-primary, #007bff))) !important;
	border-color: var(--primary, var(--primary-color, var(--bs-primary, #007bff))) !important;
	color: #ffffff !important;
}

.cr-recommended-section .btn-primary:hover {
	filter: brightness(0.92);
	box-shadow: 0 2px 6px rgba(0, 123, 255, 0.2);
}

.cr-recommended-section .btn-explore-variants {
	background-color: #f1f5f9;
	color: #334155 !important;
	border: 1px solid #cbd5e1;
}

.cr-recommended-section .btn-explore-variants:hover {
	background-color: #e2e8f0;
	color: #0f172a !important;
}

/* ==========================================================================
   14. VARIANT SELECTOR MODAL DIALOG (OPTION B REDESIGN - COMPACT)
   ========================================================================== */
.item-configurator-dialog .modal-dialog {
	max-width: 400px;
	margin: 1.25rem auto;
}

.item-configurator-dialog .modal-content {
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
	overflow: hidden;
	background: #ffffff;
}

.item-configurator-dialog .modal-header {
	padding: 10px 14px;
	border-bottom: 1px solid #f1f5f9;
	background-color: #f8fafc;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.item-configurator-dialog .modal-header .close {
	padding: 0;
	margin: 0;
	font-size: 18px;
	font-weight: 400;
	color: #64748b;
	opacity: 0.8;
	transition: opacity 0.15s ease, color 0.15s ease;
	line-height: 1;
	border: none;
	background: transparent;
}

.item-configurator-dialog .modal-header .close:hover {
	opacity: 1;
	color: #0f172a;
}

.item-configurator-dialog .cr-dialog-header-wrap {
	display: flex;
	flex-direction: column;
	gap: 1px;
}

.item-configurator-dialog .cr-dialog-title {
	font-size: 13.5px;
	font-weight: 700;
	color: #0f172a;
	line-height: 1.2;
}

.item-configurator-dialog .cr-dialog-subtitle {
	font-size: 11px;
	font-weight: 400;
	color: #64748b;
	line-height: 1.2;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 320px;
}

.item-configurator-dialog .modal-body {
	padding: 12px 14px;
}

/* Fields & Controls */
.item-configurator-dialog .frappe-control {
	margin-bottom: 8px !important;
}

.item-configurator-dialog .frappe-control:last-child {
	margin-bottom: 0 !important;
}

.item-configurator-dialog .control-label {
	font-size: 10.5px;
	font-weight: 600;
	color: #475569;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	margin-bottom: 3px;
	display: block;
}

.item-configurator-dialog .frappe-control[data-fieldtype="Select"] .control-input,
.item-configurator-dialog .frappe-control[data-fieldtype="Select"] {
	position: relative;
	width: 100%;
}

.item-configurator-dialog .select-icon,
.item-configurator-dialog .placeholder {
	pointer-events: none !important;
}

.item-configurator-dialog select.form-control,
.item-configurator-dialog input.form-control {
	height: 34px !important;
	border-radius: 5px !important;
	border: 1px solid #cbd5e1 !important;
	background-color: #ffffff !important;
	font-size: 12.5px !important;
	font-weight: 500 !important;
	color: #0f172a !important;
	padding: 0 8px !important;
	box-shadow: none !important;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
	width: 100% !important;
	cursor: pointer;
	touch-action: manipulation;
}

.item-configurator-dialog select.form-control {
	-webkit-appearance: menulist !important;
	-moz-appearance: menulist !important;
	appearance: menulist !important;
}

.item-configurator-dialog select.form-control:focus,
.item-configurator-dialog input.form-control:focus {
	border-color: var(--primary, #007bff) !important;
	box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.15) !important;
}

@media (max-width: 575.98px) {
	.item-configurator-dialog .modal-dialog {
		margin: 0.5rem auto !important;
		max-width: calc(100% - 1rem) !important;
	}

	.item-configurator-dialog select.form-control,
	.item-configurator-dialog input.form-control {
		height: 38px !important;
		font-size: 14px !important;
	}
}

.item-configurator-dialog .help-box {
	margin-top: 2px;
	font-size: 10.5px;
	line-height: 1.2;
}

.item-configurator-dialog .cr-field-clear-link {
	font-size: 10.5px;
	color: #64748b;
	text-decoration: none;
	transition: color 0.15s ease;
}

.item-configurator-dialog .cr-field-clear-link:hover {
	color: #ef4444;
	text-decoration: underline;
}

/* Variant Match Card */
.cr-variant-match-card {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 5px;
	padding: 10px 12px;
	margin-top: 10px;
}

.cr-variant-match-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 6px;
	margin-bottom: 6px;
	flex-wrap: wrap;
}

.cr-variant-sku-wrap {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 11px;
}

.cr-variant-sku-label {
	color: #64748b;
	font-weight: 500;
}

.cr-variant-sku-val {
	color: #0f172a;
	font-weight: 600;
	font-family: monospace;
	background: #e2e8f0;
	padding: 1px 5px;
	border-radius: 3px;
	font-size: 10.5px;
}

.cr-variant-stock {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	font-size: 10.5px;
	font-weight: 600;
	padding: 1px 6px;
	border-radius: 3px;
}

.cr-variant-stock.in-stock {
	background: #dcfce7;
	color: #15803d;
}

.cr-variant-stock.backorder {
	background: #fef3c7;
	color: #b45309;
}

.cr-variant-stock.out-of-stock {
	background: #fee2e2;
	color: #dc2626;
}

.cr-variant-price-wrap {
	display: flex;
	align-items: baseline;
	gap: 6px;
	margin-top: 2px;
	margin-bottom: 2px;
}

.cr-variant-price-current {
	font-size: 15.5px;
	font-weight: 700;
	color: #0f172a;
}

.cr-variant-price-mrp {
	font-size: 11.5px;
	color: #94a3b8;
	text-decoration: line-through;
}

.cr-variant-discount-badge {
	font-size: 10px;
	font-weight: 700;
	color: #16a34a;
	background: #dcfce7;
	padding: 0 4px;
	border-radius: 3px;
	line-height: 1.4;
}

.cr-variant-actions {
	margin-top: 8px !important;
}

.cr-variant-actions .cr-btn-add-cart,
.cr-actions-row .cr-btn-add-cart {
	height: 32px !important;
	border-radius: 5px !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 6px !important;
	box-shadow: none !important;
	transition: all 0.15s ease !important;
}

.cr-btn-add-cart:disabled,
.cr-btn-add-cart.disabled {
	background-color: #f1f5f9 !important;
	border-color: #e2e8f0 !important;
	color: #94a3b8 !important;
	cursor: not-allowed !important;
	pointer-events: none !important;
	box-shadow: none !important;
}

.cr-variant-card-footer {
	font-size: 11px;
	padding-top: 6px;
}

.cr-variant-clear-link {
	font-size: 11px;
	color: #64748b;
	text-decoration: none;
	font-weight: 500;
	transition: color 0.15s ease;
}

.cr-variant-clear-link:hover {
	color: #ef4444;
	text-decoration: underline;
}

.cr-btn-dialog-close {
	font-size: 11px !important;
	color: #64748b !important;
	padding: 0 !important;
	text-decoration: none !important;
	line-height: 1;
}

.cr-btn-dialog-close:hover {
	color: #0f172a !important;
}

/* Info Cards (Multiple or None) */
.cr-variant-info-card {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 5px;
	padding: 8px 10px;
	margin-top: 8px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.cr-variant-info-card.cr-variant-empty {
	background: #fef2f2;
	border-color: #fee2e2;
	color: #991b1b;
}

.cr-variant-info-text {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 11.5px;
	font-weight: 500;
	color: #475569;
}

.cr-variant-info-card.cr-variant-empty .cr-variant-info-text {
	color: #b91c1c;
}

.cr-variant-loading {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 5px;
	margin-top: 8px;
	padding: 6px 0 !important;
}


