/* Custom Premium Product Details Styles */
.shop-detail .prod-tabs .tab-btns .tab-btn {
	padding: 12px 25px;
	font-size: 18px;
	border-radius: 8px 8px 0 0;
	border: 1px solid rgba(var(--black-color-rgb), 0.08);
	border-bottom: none;
	background-color: #f9f9f9;
	margin-right: 8px;
	color: #666;
	transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.shop-detail .prod-tabs .tab-btns .tab-btn:hover {
	color: var(--main-color);
	background-color: #f1fbfc;
}

.shop-detail .prod-tabs .tab-btns .tab-btn.active-btn {
	color: #fff;
	background-color: var(--main-color);
	border-color: var(--main-color);
}

.shop-detail .prod-tabs .tab-btns::before {
	top: 47px;
	border-bottom: 2px solid var(--main-color);
	opacity: 0.8;
}

/* Tab Content Styling */
.shop-detail .prod-tabs .tabs-content {
	padding: 30px 20px;
	background: #ffffff;
	border: 1px solid rgba(var(--black-color-rgb), 0.08);
	border-top: none;
	border-radius: 0 0 12px 12px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

/* Base Description Typography & Elements */
#desc-content-body {
	font-size: 16px !important;
	line-height: 1.85 !important;
	color: #4b5563 !important;
}

#desc-content-body p {
	margin-bottom: 20px !important;
}

/* Level 1 Heading (Main Categories / Product Names, e.g. Plain Weave, Twill Weave) */
#desc-content-body .custom-desc-heading-l1,
#desc-content-body h1,
#desc-content-body h2,
#desc-content-body h3 {
	display: block !important;
	font-size: 22px !important;
	font-weight: 700 !important;
	color: #111827 !important;
	background-color: rgba(3, 169, 179, 0.04) !important; /* Soft brand teal tint */
	border-left: 4px solid var(--main-color) !important; /* Prominent brand left highlight */
	padding: 10px 16px !important;
	margin-top: 45px !important;
	margin-bottom: 20px !important;
	border-radius: 0 6px 6px 0 !important;
	letter-spacing: 0.3px !important;
	line-height: 1.4 !important;
	border-bottom: none !important;
	position: relative !important;
}

/* Level 2 Heading (Sub-sections under products, e.g. Key Advantages, Typical Applications) */
#desc-content-body .custom-desc-heading-l2,
#desc-content-body h4,
#desc-content-body h5,
#desc-content-body h6 {
	display: block !important;
	font-size: 17px !important;
	font-weight: 700 !important;
	color: #374151 !important;
	background: transparent !important;
	border-left: 3px solid #9ca3af !important; /* Neutral gray highlight */
	padding: 2px 0 2px 10px !important;
	margin-top: 28px !important;
	margin-bottom: 14px !important;
	letter-spacing: 0.2px !important;
	line-height: 1.4 !important;
	border-radius: 0 !important;
	border-bottom: none !important;
}

/* Remove bottom lines & absolute lines from any heading styles */
#desc-content-body .custom-desc-heading-l1::after,
#desc-content-body .custom-desc-heading-l2::after,
#desc-content-body h1::after,
#desc-content-body h2::after,
#desc-content-body h3::after,
#desc-content-body h4::after {
	display: none !important;
}

/* Prevent inline bold text inside regular paragraphs from getting heading styles */
#desc-content-body p:not(.custom-desc-heading-l1):not(.custom-desc-heading-l2) strong,
#desc-content-body p:not(.custom-desc-heading-l1):not(.custom-desc-heading-l2) b {
	font-weight: 700 !important;
	color: #111827 !important;
	display: inline !important;
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
}

/* Automatically detected Bullet Items (paragraphs starting with · or •) */
#desc-content-body .custom-bullet-item {
	position: relative !important;
	padding-left: 32px !important;
	margin-bottom: 14px !important;
	color: #4b5563 !important;
	font-size: 15.5px !important;
	line-height: 1.75 !important;
	display: block !important;
}

#desc-content-body .custom-bullet-item::before {
	content: "" !important;
	position: absolute !important;
	left: 0 !important;
	top: 5px !important;
	width: 18px !important;
	height: 18px !important;
	background-color: rgba(3, 169, 179, 0.1) !important;
	border-radius: 50% !important;
	box-shadow: none !important;
}

#desc-content-body .custom-bullet-item::after {
	content: "" !important;
	position: absolute !important;
	left: 6px !important;
	top: 8px !important;
	width: 5px !important;
	height: 8px !important;
	border: 2px solid var(--main-color) !important;
	border-top: 0 !important;
	border-left: 0 !important;
	transform: rotate(45deg) !important;
}

/* Bulletproof Modern Minimalist Table Styling */
#prod-specs table,
#desc-content-body table,
.custom-spec-table {
	width: 100% !important;
	max-width: 100% !important;
	border-collapse: collapse !important;
	border-spacing: 0 !important;
	margin: 25px 0 !important;
	font-family: inherit !important;
	border: 1px solid #e5e7eb !important;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02) !important;
	border-radius: 8px !important;
	overflow: hidden !important;
}

/* Ensure table rows are structured */
#prod-specs table tr,
#desc-content-body table tr,
.custom-spec-table tr {
	display: table-row !important;
}

/* Ensure table cells are properly structured */
#prod-specs table th,
#desc-content-body table th,
.custom-spec-table th,
#prod-specs table td,
#desc-content-body table td,
.custom-spec-table td {
	display: table-cell !important;
	padding: 15px 22px !important;
	font-size: 14.5px !important;
	line-height: 1.6 !important;
	text-align: left !important;
	vertical-align: middle !important;
	border: none !important;
	border-bottom: 1px solid #f3f4f6 !important; /* Only horizontal lines */
}

/* Table Header Styles (Clean Minimalist White/Gray Header) */
#prod-specs table th,
#desc-content-body table th,
.custom-spec-table th {
	background: #f8fafc !important;
	color: #1f2937 !important;
	font-weight: 600 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	border-bottom: 2px solid #e5e7eb !important;
}

/* Force first row as header if no <th> tags are present */
#prod-specs table tr:first-child td,
#desc-content-body table tr:first-child td {
	background: #f8fafc !important;
	color: #1f2937 !important;
	font-weight: 600 !important;
	border-bottom: 2px solid #e5e7eb !important;
}

/* Normal row data cells */
#prod-specs table tr:not(:first-child) td,
#desc-content-body table tr:not(:first-child) td,
.custom-spec-table td {
	color: #4b5563 !important;
	background-color: #ffffff !important;
}

/* Zebra Striping */
#prod-specs table tr:nth-child(even) td,
#desc-content-body table tr:nth-child(even) td,
.custom-spec-table tr:nth-child(even) td {
	background-color: #f9fafb !important;
}

/* Hover effect */
#prod-specs table tr:not(:first-child):hover td,
#desc-content-body table tr:not(:first-child):hover td,
.custom-spec-table tr:hover td {
	background-color: #f3f4f6 !important;
	color: #111827 !important;
}

#prod-specs table td strong,
#desc-content-body table td strong {
	color: #111827 !important;
	font-weight: 600 !important;
}

/* Image styling in description */
#desc-content-body img {
	max-width: 100% !important;
	height: auto !important;
	border-radius: 8px !important;
	margin: 20px auto !important;
	display: block !important;
	box-shadow: 0 5px 20px rgba(0,0,0,0.05) !important;
}

/* Responsiveness Container */
.spec-table-wrapper {
	margin: 20px 0 30px !important;
	border-radius: 8px !important;
	overflow: hidden !important;
	border: 1px solid #e5e7eb !important;
}

.table-responsive {
	display: block !important;
	width: 100% !important;
	overflow-x: auto !important;
	-webkit-overflow-scrolling: touch !important;
}
