/**
 * WCSF Frontend Styles.
 *
 * Theme-agnostic CSS styles for Badge Overlays, FAQs Accordion,
 * Specifications Table, and Testimonials Grid.
 */

/* Badge Overlays */
.wcsf-badge-overlay {
	position: absolute;
	z-index: 10;
	padding: 4px 10px;
	border-radius: 4px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	pointer-events: none;
}

.wcsf-badge-top-left {
	top: 10px;
	left: 10px;
}

.wcsf-badge-top-right {
	top: 10px;
	right: 10px;
}

.wcsf-badge-bottom-left {
	bottom: 10px;
	left: 10px;
}

.wcsf-badge-bottom-right {
	bottom: 10px;
	right: 10px;
}

/* Single Product Subtitle */
.wcsf-product-subtitle {
	font-size: 15px;
	color: #4b5563;
	margin: -8px 0 12px 0;
	line-height: 1.4;
}

/* Specifications Table */
.wcsf-specs-table {
	width: 100%;
	border-collapse: collapse;
	margin: 15px 0;
}

.wcsf-specs-table th,
.wcsf-specs-table td {
	padding: 10px 14px;
	border-bottom: 1px solid #e5e7eb;
	text-align: left;
}

.wcsf-specs-table th {
	width: 35%;
	font-weight: 600;
	background: #f9fafb;
	color: #1f2937;
}

/* FAQs Accordion */
.wcsf-product-faqs-wrap {
	margin-top: 30px;
}

.wcsf-accordion-item {
	margin-bottom: 10px;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	padding: 12px 16px;
	background: #fff;
	transition: border-color 0.2s ease;
}

.wcsf-accordion-item[open] {
	border-color: #6366f1;
}

.wcsf-accordion-item summary {
	font-weight: 600;
	cursor: pointer;
	font-size: 15px;
	color: #111827;
	outline: none;
}

.wcsf-accordion-content {
	margin-top: 10px;
	font-size: 14px;
	color: #4b5563;
	line-height: 1.6;
}

/* Testimonials Grid */
.wcsf-testimonials-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
	margin: 20px 0;
}

.wcsf-testimonial-card {
	background: #fff;
	border: 1px solid #e5e7eb;
	padding: 20px;
	border-radius: 8px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
