/* =====================================================
   SunMedical — Price List styles
   File: /wp-content/themes/sunmedical/assets/css/price-list.css
   ===================================================== */

/* ── Search ──────────────────────────────────────────── */
.price-header {
	text-align: center;
	margin-bottom: 1.5rem;
}

.price-header h1 {
	font-size: 48px;
  margin-bottom: 20px;
  font-family: Noto Serif;
  font-weight: normal;
  line-height: 120%;
}

.price-license {
	margin: 0;
	font-size: 0.95rem;
	font-weight: 400;
	color: #444;
	line-height: 1.4;
}

.price-search-wrap {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	margin: 0 0 1.25rem;
}

.price-search-wrap label {
	display: block;
	font-size: 0.9rem;
	font-weight: 600;
	color: #333;
	margin-bottom: 0.4rem;
}

.price-search-input {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	padding: 0.65rem 0.85rem;
	font-family: inherit;
	font-size: 1rem;
	line-height: 1.35;
	border: 1px solid #ccc;
	border-radius: 8px;
	background: #fff;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	-webkit-appearance: none;
	appearance: none;
}

.price-search-input:focus {
	outline: none;
	border-color: #A800C7;
	box-shadow: 0 0 0 3px rgba(168, 0, 199, 0.2);
}

.price-search-input::placeholder {
	color: #888;
}

@media (max-width: 576px) {
	.price-search-input {
		font-size: 16px;
		min-height: 44px;
	}
}

/* ── Accordion sections ───────────────────────────────── */
.table-sec {
	margin-bottom: 30px;
}

.table-item {
	margin-bottom: 10px;
}

.table-content {
	display: none;
	margin-bottom: 10px;
}

.table-title {
	display: flex;
	align-items: center;
	gap: 12px;
	background: #f5f6fa;
	transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
	border-radius: 10px;
	padding: 10px 15px;
	font-weight: 600;
	font-size: 18px;
	cursor: pointer;
	color: #333;
	border: 1px solid #f5f6fa;
}

.table-title::before {
	content: "+";
	flex-shrink: 0;
	width: 1.25em;
	text-align: center;
	font-weight: 700;
	font-size: 1.35rem;
	line-height: 1;
	color: inherit;
}

.table-title:hover {
	background-color: #A800C7;
	border: 1px solid #A800C7;
	color: #fff;
}

.table-title.table-line-active {
	background-color: #A800C7;
	border: 1px solid #A800C7;
	color: #fff;
	border-radius: 10px 10px 0 0;
}

.table-title.table-line-active::before {
	content: "\2212";
}

/* ── Table ───────────────────────────────────────────── */
.table-sec table {
	width: 100%;
	max-width: 100%;
	border: 1px solid #f5f6fa;
	border-collapse: collapse;
}

.table-sec thead {
	background-color: #f5f6fa;
}

.table-sec thead th {
	padding: 10px;
	text-align: left;
}

.table-sec thead th:last-child {
	font-weight: bold;
	min-width: 7.5em;
	text-align: right;
	white-space: nowrap;
}

.table-sec tbody td {
	padding: 10px;
	font-weight: 300;
}

.table-sec tbody td:last-child {
	font-weight: bold;
	min-width: 7.5em;
	text-align: right;
	white-space: nowrap;
}

.table-sec tbody tr {
	transition: background-color 0.25s;
}

.table-sec tbody tr:nth-child(even) {
	background-color: #f5f6fa;
}

.table-sec tbody tr:hover {
	background-color: #eee;
}

/* ── Mobile ──────────────────────────────────────────── */
@media (max-width: 576px) {
	.table-sec tbody td,
	.table-sec thead th {
		font-size: 13px;
	}

	.table-sec thead th:last-child,
	.table-sec tbody td:last-child {
		min-width: 5.5em;
	}

	.table-title {
		font-size: 16px;
	}
	.price-header h1 {
		font-size: 24px;
	}
}
