/**
 * Single Product Page Styles
 */

.rec-single-product-wrapper {
	max-width: 1400px;
	margin: 0 auto;
	padding: 40px 20px;
}

.rec-single-product-container {
	background: #fff;
}

/* Product Header */
.rec-product-header {
	margin-bottom: 30px;
}

.rec-product-title {
	font-size: 32px;
	font-weight: 600;
	color: #1e293b;
	display: flex;
	align-items: center;
	gap: 15px;
	margin: 0;
}

.rec-rohs-badge {
	background: #10b981;
	color: #fff;
	padding: 4px 12px;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 500;
}

/* Content Wrapper */
.rec-product-content-wrapper {
	display: grid;
	grid-template-columns: 1fr 350px;
	gap: 30px;
	margin-top: 30px;
}

@media (max-width: 1024px) {
	.rec-product-content-wrapper {
		grid-template-columns: 1fr;
	}
}

/* Left Column */
.rec-product-left-column {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

/* Product Info Section */
.rec-product-info-section {
	display: grid;
	grid-template-columns: 300px 1fr;
	gap: 30px;
}

@media (max-width: 768px) {
	.rec-product-info-section {
		grid-template-columns: 1fr;
	}
}

.rec-product-image-wrapper {
	position: relative;
	background: #f3f4f6;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	padding: 20px;
	text-align: center;
	min-height: 300px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.rec-product-image {
	max-width: 100%;
	height: auto;
	border-radius: 4px;
}

.rec-product-image-placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	color: #9ca3af;
}

.rec-placeholder-icon {
	font-size: 48px;
}

.rec-placeholder-text {
	font-size: 24px;
	font-weight: 600;
	color: #6b7280;
}

.rec-image-note {
	font-size: 12px;
	color: #6b7280;
	margin-top: 10px;
	margin-bottom: 0;
}

.rec-favorite-btn {
	position: absolute;
	top: 15px;
	right: 15px;
	background: transparent;
	border: none;
	cursor: pointer;
	font-size: 24px;
	color: #d1d5db;
	transition: color 0.3s;
	padding: 5px;
}

.rec-favorite-btn:hover,
.rec-favorite-btn.active {
	color: #fbbf24;
}

.rec-favorite-icon {
	display: block;
}

/* Product Details Table */
.rec-product-details-table {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	padding: 20px;
}

.rec-product-details-table table {
	width: 100%;
	border-collapse: collapse;
}

.rec-product-details-table tr {
	border-bottom: 1px solid #f3f4f6;
}

.rec-product-details-table tr:last-child {
	border-bottom: none;
}

.rec-product-details-table td {
	padding: 12px 0;
	vertical-align: top;
}

.rec-product-details-table .rec-label {
	font-weight: 600;
	color: #374151;
	width: 150px;
}

.rec-product-details-table .rec-value {
	color: #1f2937;
	display: flex;
	align-items: center;
	gap: 8px;
}

.rec-copy-value {
	flex: 1;
}

.rec-copy-btn {
	background: transparent;
	border: none;
	cursor: pointer;
	font-size: 16px;
	color: #6b7280;
	padding: 4px;
	transition: color 0.3s;
}

.rec-copy-btn:hover {
	color: #1e293b;
}

.rec-copy-btn.copied {
	color: #10b981;
}

/* Documents Section */
.rec-documents-section {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	padding: 20px;
}

.rec-section-title {
	font-size: 20px;
	font-weight: 600;
	color: #1e293b;
	margin: 0 0 20px 0;
}

.rec-documents-tabs {
	display: flex;
	gap: 10px;
	border-bottom: 2px solid #e5e7eb;
	margin-bottom: 20px;
}

.rec-tab-btn {
	background: transparent;
	border: none;
	padding: 10px 20px;
	cursor: pointer;
	font-size: 14px;
	color: #6b7280;
	border-bottom: 2px solid transparent;
	margin-bottom: -2px;
	transition: all 0.3s;
}

.rec-tab-btn:hover {
	color: #1e293b;
}

.rec-tab-btn.active {
	color: #1e293b;
	border-bottom-color: #1e293b;
	font-weight: 600;
}

.rec-tab-content {
	display: none;
}

.rec-tab-content.active {
	display: block;
}

.rec-document-link {
	display: inline-block;
	color: #2563eb;
	text-decoration: none;
	padding: 8px 16px;
	background: #eff6ff;
	border-radius: 4px;
	transition: background 0.3s;
	margin-bottom: 10px;
	margin-right: 10px;
}

.rec-document-link:hover {
	background: #dbeafe;
}

.rec-no-document {
	color: #6b7280;
	margin: 0;
}

/* Specifications Section */
.rec-specifications-section {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	padding: 20px;
}

.rec-spec-tabs {
	display: flex;
	gap: 10px;
	border-bottom: 2px solid #e5e7eb;
	margin-bottom: 20px;
}

.rec-spec-tab-btn {
	background: transparent;
	border: none;
	padding: 10px 20px;
	cursor: pointer;
	font-size: 14px;
	color: #6b7280;
	border-bottom: 2px solid transparent;
	margin-bottom: -2px;
	transition: all 0.3s;
}

.rec-spec-tab-btn:hover {
	color: #1e293b;
}

.rec-spec-tab-btn.active {
	color: #1e293b;
	background: #1e293b;
	color: #fff;
	border-radius: 4px 4px 0 0;
}

.rec-spec-tab-content {
	display: none;
}

.rec-spec-tab-content.active {
	display: block;
}

.rec-specifications-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 20px;
}

.rec-specifications-table thead {
	background: #f9fafb;
}

.rec-specifications-table th {
	padding: 12px;
	text-align: left;
	font-weight: 600;
	color: #374151;
	border-bottom: 2px solid #e5e7eb;
}

.rec-specifications-table td {
	padding: 12px;
	border-bottom: 1px solid #f3f4f6;
	color: #1f2937;
}

.rec-specifications-table tr:hover {
	background: #f9fafb;
}

.rec-similar-btn {
	background: transparent;
	border: none;
	cursor: pointer;
	color: #2563eb;
	font-size: 18px;
	padding: 4px;
}

.rec-check-icon {
	display: block;
}

.rec-similar-products {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid #e5e7eb;
}

.rec-similar-products p {
	margin: 0;
	color: #6b7280;
}

.rec-similar-count {
	font-weight: 600;
	color: #1e293b;
}

.rec-search-similar-btn {
	background: #2563eb;
	color: #fff;
	border: none;
	padding: 8px 20px;
	border-radius: 4px;
	cursor: pointer;
	font-size: 14px;
	transition: background 0.3s;
}

.rec-search-similar-btn:hover {
	background: #1d4ed8;
}

.rec-no-specs,
.rec-no-faq {
	color: #6b7280;
	margin: 20px 0;
}

/* FAQ Styles - Modern Design */
.rec-faq-list-modern {
	background: #ffffff;
	border-radius: 0;
	padding: 0;
}

.rec-faq-item-modern {
	border-bottom: 1px solid #e5e7eb;
	padding: 0;
	margin: 0;
	background: #ffffff;
	border-radius: 4px;
	overflow: hidden;
}

.rec-faq-item-modern:last-child {
	border-bottom: none;
}

.rec-faq-question-modern {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 20px;
	background: #ffffff;
	border: none;
	cursor: pointer;
	text-align: left;
	transition: background-color 0.2s ease;
	font-family: inherit;
}

.rec-faq-question-modern:hover {
	background-color: #f9fafb;
}

.rec-faq-item-modern.rec-faq-open .rec-faq-question-modern {
	background-color: #ffffff;
}

.rec-faq-number {
	font-weight: 600;
	color: #374151;
	font-size: 16px;
	margin-right: 12px;
	min-width: 24px;
}

.rec-faq-text-modern {
	flex: 1;
	font-weight: 600;
	color: #374151;
	font-size: 16px;
	line-height: 1.5;
}

.rec-faq-chevron {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #6b7280;
	transition: transform 0.3s ease;
	margin-left: 15px;
	flex-shrink: 0;
}

.rec-faq-item-modern.rec-faq-open .rec-faq-chevron {
	transform: rotate(180deg);
}

.rec-faq-item-modern.rec-faq-open .rec-faq-chevron svg {
	color: #6b7280;
}

.rec-faq-answer-modern {
	padding: 0 20px 20px 56px;
	color: #6b7280;
	font-size: 14px;
	line-height: 1.6;
	display: none;
	animation: fadeIn 0.3s ease;
}

.rec-faq-item-modern.rec-faq-open .rec-faq-answer-modern {
	display: block;
}

.rec-faq-answer-text-modern {
	color: #6b7280;
	font-size: 14px;
	line-height: 1.6;
}

.rec-faq-answer-text-modern p {
	margin: 0 0 12px 0;
}

.rec-faq-answer-text-modern p:last-child {
	margin-bottom: 0;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* FAQ Styles - Old (keeping for backward compatibility) */
.rec-faq-list {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.rec-faq-item {
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	overflow: hidden;
}

.rec-faq-question {
	width: 100%;
	background: #f9fafb;
	border: none;
	padding: 15px 20px;
	text-align: left;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 10px;
	transition: background 0.3s;
}

.rec-faq-question:hover {
	background: #f3f4f6;
}

.rec-faq-q {
	font-weight: 600;
	color: #2563eb;
}

.rec-faq-text {
	flex: 1;
	color: #1e293b;
	font-weight: 500;
}

.rec-faq-toggle {
	font-size: 20px;
	color: #6b7280;
	transition: transform 0.3s;
}

.rec-faq-item.active .rec-faq-toggle {
	transform: rotate(45deg);
}

.rec-faq-answer {
	display: none;
	padding: 15px 20px;
	background: #fff;
	border-top: 1px solid #e5e7eb;
}

.rec-faq-item.active .rec-faq-answer {
	display: flex;
	gap: 10px;
}

.rec-faq-a {
	font-weight: 600;
	color: #10b981;
}

.rec-faq-answer-text {
	flex: 1;
	color: #374151;
	line-height: 1.6;
}

/* Right Sidebar */
.rec-product-right-sidebar {
	position: sticky;
	top: 20px;
	height: fit-content;
}

.rec-stock-pricing-section {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	padding: 20px;
}

.rec-sidebar-title {
	font-size: 18px;
	font-weight: 600;
	color: #1e293b;
	margin: 0 0 20px 0;
}

.rec-stock-count {
	color: #ef4444;
}

/* Pricing Table */
.rec-pricing-table-wrapper {
	margin-bottom: 20px;
}

.rec-pricing-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 15px;
}

.rec-pricing-table thead {
	background: #f9fafb;
}

.rec-pricing-table th {
	padding: 10px;
	text-align: left;
	font-weight: 600;
	color: #374151;
	font-size: 14px;
	border-bottom: 2px solid #e5e7eb;
}

.rec-pricing-table td {
	padding: 10px;
	border-bottom: 1px solid #f3f4f6;
	color: #1f2937;
	font-size: 14px;
}

.rec-inquiry-btn {
	width: 100%;
	background: #2563eb;
	color: #fff;
	border: none;
	padding: 12px 20px;
	border-radius: 4px;
	cursor: pointer;
	font-size: 16px;
	font-weight: 600;
	transition: background 0.3s;
	margin-bottom: 15px;
}

.rec-inquiry-btn:hover {
	background: #1d4ed8;
}

.rec-unpacking-note {
	font-size: 12px;
	color: #6b7280;
	margin: 15px 0;
	line-height: 1.5;
}

.rec-mpq-info,
.rec-etd-info,
.rec-lt-orders-info {
	margin: 15px 0;
	font-size: 14px;
	color: #374151;
}

.rec-mpq-info strong,
.rec-etd-info strong,
.rec-lt-orders-info strong {
	color: #1e293b;
}

.rec-etd-info a {
	color: #2563eb;
	text-decoration: none;
}

.rec-etd-info a:hover {
	text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
	.rec-single-product-wrapper {
		padding: 20px 15px;
	}

	.rec-product-title {
		font-size: 24px;
	}

	.rec-product-content-wrapper {
		gap: 20px;
	}

	.rec-product-right-sidebar {
		position: static;
	}
}

/* Login Popup Modal Styles */
.rec-login-popup-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.rec-login-popup-overlay.active {
	opacity: 1;
	visibility: visible;
}

.rec-login-popup-modal {
	background: #fff;
	border-radius: 8px;
	padding: 30px;
	max-width: 500px;
	width: 90%;
	position: relative;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
	transform: scale(0.9);
	transition: transform 0.3s ease;
}

.rec-login-popup-overlay.active .rec-login-popup-modal {
	transform: scale(1);
}

.rec-login-popup-close {
	position: absolute;
	top: 15px;
	right: 15px;
	background: transparent;
	border: none;
	font-size: 28px;
	color: #6b7280;
	cursor: pointer;
	line-height: 1;
	padding: 0;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: color 0.3s;
}

.rec-login-popup-close:hover {
	color: #1e293b;
}

.rec-login-popup-content {
	text-align: center;
}

.rec-login-popup-content h3 {
	font-size: 24px;
	font-weight: 600;
	color: #1e293b;
	margin: 0 0 15px 0;
}

.rec-login-popup-content p {
	font-size: 16px;
	color: #6b7280;
	margin: 0 0 25px 0;
	line-height: 1.6;
}

.rec-login-popup-buttons {
	display: flex;
	gap: 15px;
	justify-content: center;
	flex-wrap: wrap;
}

.rec-login-popup-btn {
	display: inline-block;
	padding: 12px 30px;
	border-radius: 6px;
	text-decoration: none;
	font-size: 16px;
	font-weight: 600;
	transition: all 0.3s;
	cursor: pointer;
	border: 2px solid transparent;
}

.rec-login-btn {
	background: #2563eb;
	color: #fff;
	border-color: #2563eb;
}

.rec-login-btn:hover {
	background: #1d4ed8;
	border-color: #1d4ed8;
	color: #fff;
}

.rec-register-btn {
	background: transparent;
	color: #2563eb;
	border-color: #2563eb;
}

.rec-register-btn:hover {
	background: #2563eb;
	color: #fff;
}

.rec-document-login-note {
	color: #6b7280;
	font-size: 12px;
	margin-top: 8px;
	font-style: italic;
}

@media (max-width: 768px) {
	.rec-login-popup-modal {
		padding: 25px 20px;
		max-width: 90%;
	}

	.rec-login-popup-content h3 {
		font-size: 20px;
	}

	.rec-login-popup-content p {
		font-size: 14px;
	}

	.rec-login-popup-buttons {
		flex-direction: column;
	}

	.rec-login-popup-btn {
		width: 100%;
	}
}


