/**
 * Custom CSS for ACF Price Tables
 * Matches the exact frontend design
 */

/* ====================
   HAIR PRICES - TABLE LAYOUT
   ==================== */

.mh-price-tables.mh-hair-prices {
	width: 100%;
	overflow: visible;
}

.mh-price-tables.mh-hair-prices * {
	overflow: visible;
}

.mh-hair-prices .mh-price-section {
	margin-bottom: 40px;
}

.mh-hair-prices .mh-section-title {
	font-family: "Century Gothic";
	font-weight: 700 !important;
	text-transform: uppercase;
	margin-bottom: 0;
	margin-top: 35px;
	color: #000;
}

.mh-hair-prices .mh-price-section:first-child .mh-section-title {
	margin-top: 0;
}

.mh-hair-prices .mh-price-table {
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0;
	margin: 0 0 30px 0;
	overflow: visible;
	table-layout: fixed;
}

.mh-hair-prices .mh-price-table .col-price {
	width: 90px;
}

.mh-hair-prices .mh-price-table thead th {
	text-align: right;
	font-weight: 700;
	text-transform: uppercase;
	padding: 0;
	padding-left: 15px;
	color: #000;
	border-bottom: none;
	width: 90px;
}

.mh-hair-prices .mh-price-table thead th:first-child {
	text-align: left;
	width: auto;
}

.mh-hair-prices .mh-price-table tbody tr {
	border-bottom: none;
}

.mh-hair-prices .mh-price-table td {
	padding: 0;
	line-height: 1.8;
}

.mh-hair-prices .mh-price-table td.mh-service-name {
	text-align: left;
	font-weight: 400;
	color: #000;
	text-transform: uppercase;
}

.mh-hair-prices .mh-price-table td.mh-price {
	text-align: right;
	font-weight: 400;
	color: #000;
	width: 90px;
	padding-left: 15px;
}

.mh-hair-prices .mh-note {
	display: block;
	color: #666;
	margin-top: 4px;
	text-transform: none;
	font-weight: 300;
}

/* ====================
   SKIN PRICES - CARD LAYOUT
   ==================== */

.mh-price-cards.mh-skin-prices {
	/* Container for skin prices */
}

.mh-skin-prices .mh-price-section {
	margin-bottom: 50px;
}

.mh-skin-prices .mh-price-section:last-child {
	margin-bottom: 0;
}

.mh-skin-prices .mh-section-title {
	font-family: "Lane Narrow";
	font-weight: bold;
	font-size: 1.74em;
	color: var(--cc-color-2);
	text-transform: uppercase;
	letter-spacing: 1.5px;
	margin-bottom: 25px;
	margin-top: 0;
}

.mh-skin-prices .mh-price-section:not(:first-child) .mh-section-title {
	margin-top: 50px;
}

.mh-skin-prices .mh-subsection-title {
	font-family: "Lane Narrow";
	font-weight: bold;
	font-size: 1.2em;
	color: var(--cc-color-2);
	text-transform: uppercase;
	letter-spacing: 1.5px;
	margin-bottom: 20px;
	margin-top: 40px;
}

.mh-skin-prices .mh-service-card {
	margin: 0 0 30px 0;
	padding: 0;
	border-bottom: none;
}

.mh-skin-prices .mh-service-card:last-child {
	margin-bottom: 0;
}

.mh-skin-prices .mh-service-header {
	margin-bottom: 8px;
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	flex-wrap: wrap;
}

.mh-skin-prices .mh-service-name {
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	margin: 0;
}

.mh-skin-prices .mh-service-meta {
	font-weight: 400;
	display: flex;
	align-items: center;
	gap: 8px;
	white-space: nowrap;
}

.mh-skin-prices .mh-duration {
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.mh-skin-prices .mh-separator {
	/* Separator between duration and price */
}

.mh-skin-prices .mh-price {
	font-weight: 400;
}

.mh-skin-prices .mh-service-description {
	margin-bottom: 10px;
}

.mh-skin-prices .mh-service-description p {
	margin: 0 0 10px 0;
}

.mh-skin-prices .mh-service-description p:last-child {
	margin-bottom: 0;
}

.mh-skin-prices .mh-service-features {
	list-style: none;
	padding: 0;
	margin: 10px 0;
}

.mh-skin-prices .mh-service-features li {
	padding-left: 18px;
	position: relative;
	margin-bottom: 6px;
}

.mh-skin-prices .mh-service-features li:before {
	content: "•";
	position: absolute;
	left: 0;
	font-weight: 700;
}

.mh-skin-prices .mh-additional-info {
	margin-top: 8px;
	font-style: italic;
}

/* ====================
   RESPONSIVE
   ==================== */

@media (max-width: 768px) {
	.mh-hair-prices .mh-price-table {
		font-size: 12px;
	}

	.mh-hair-prices .mh-price-table td {
		padding: 8px 6px;
	}

	.mh-hair-prices .mh-price-table .col-price {
		width: 60px;
	}

	.mh-hair-prices .mh-price-table td.mh-price {
		padding-left: 8px;
	}

	.mh-hair-prices .mh-price-table thead th {
		padding: 6px 4px;
		font-size: 11px;
		padding-left: 8px;
	}

	.mh-skin-prices .mh-service-header {
		flex-direction: column;
		align-items: flex-start;
	}

	.mh-skin-prices .mh-service-meta {
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
	}

	.mh-skin-prices .mh-separator {
		display: none;
	}
}
