/* Service product descriptions: shared WOW Merid type, colour and spacing.
   Loaded only for the original twelve service pages. */

.woocommerce.wows-service-page #content div.product .wows-pdp .product_title {
	font-size: clamp(30px, 3.2vw, 40px);
	line-height: 1.15;
	max-width: 25ch;
	margin-bottom: var(--wows-sp-6);
	text-wrap: balance;
}

.woocommerce.wows-service-page #content div.product .woocommerce-tabs #tab-description {
	max-width: none;
}

.wows-service-copy {
	font-family: var(--wows-font-body);
	font-size: var(--wows-fs-md);
	line-height: var(--wows-lh-lede);
	color: var(--wows-text);
}

.wows-service-copy :is(h2, h3, h4, h5, h6) {
	font-family: var(--wows-font-display);
	font-weight: 600;
	letter-spacing: var(--wows-ls-h2);
	line-height: 1.25;
	color: var(--wows-ink);
	text-wrap: balance;
}

.wows-service-copy h2 { font-size: var(--wows-fs-band); }
.wows-service-copy h3 { font-size: var(--wows-fs-xl); }
.wows-service-copy :is(h4, h5, h6) { font-size: var(--wows-fs-lg); }

.wows-service-copy p {
	margin: 0 0 var(--wows-sp-5);
}

.wows-service-copy strong {
	font-weight: 600;
	color: var(--wows-ink);
}

.wows-service-intro {
	max-width: 84ch;
	padding: var(--wows-sp-6) 0 var(--wows-sp-9);
}

.wows-service-intro > p:first-of-type:not(.wows-service-notice),
.wows-service-intro > .wows-service-notice + p {
	font-size: var(--wows-fs-lede);
	line-height: var(--wows-lh-lede);
	color: var(--wows-ink);
}

.wows-service-intro .wows-service-intro__label {
	font-family: var(--wows-font-body);
	font-size: var(--wows-fs-xs);
	font-weight: 700;
	letter-spacing: var(--wows-ls-eyebrow);
	text-transform: uppercase;
	color: var(--wows-text-faint);
	margin: 0 0 var(--wows-sp-4);
}

.wows-service-intro .wows-service-notice {
	padding: var(--wows-sp-5) var(--wows-sp-6);
	margin-bottom: var(--wows-sp-8);
	border-left: 3px solid var(--wows-accent);
	border-radius: 0 var(--wows-r-sm) var(--wows-r-sm) 0;
	background: var(--wows-surface);
	font-size: var(--wows-fs-base);
}

.wows-service-intro img {
	display: block;
	border-radius: var(--wows-r-panel);
	margin: var(--wows-sp-8) 0;
}

.wows-service-section {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr);
	gap: clamp(28px, 4.5vw, 64px);
	padding: var(--wows-sp-9) 0;
	border-top: 1px solid var(--wows-border);
	align-items: start;
}

.wows-service-section > .wows-service-section__heading {
	margin: 0;
	padding-top: var(--wows-sp-5);
	position: relative;
}

.wows-service-section__heading::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 32px;
	height: 3px;
	border-radius: 2px;
	background: var(--wows-accent);
}

.wows-service-section__body {
	min-width: 0;
	max-width: 78ch;
}

.wows-service-section__body > :first-child {
	margin-top: 0;
}

.wows-service-section__body > :last-child,
.wows-service-intro > :last-child {
	margin-bottom: 0;
}

.wows-service-section__body > ul {
	list-style: none;
	padding: 0;
	margin: 0 0 var(--wows-sp-7);
}

.wows-service-section__body > ul > li {
	position: relative;
	padding: var(--wows-sp-2) 0 var(--wows-sp-2) var(--wows-sp-6);
	margin: 0;
	border-bottom: 1px solid var(--wows-divider);
}

.wows-service-section__body > ul > li:first-child {
	padding-top: 0;
}

.wows-service-section__body > ul > li::before {
	content: '';
	position: absolute;
	left: 0;
	top: calc(var(--wows-sp-2) + 0.65em);
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--wows-accent);
}

.wows-service-section__body > ul > li:first-child::before {
	top: 0.65em;
}

.wows-service-section__body > ul > li > p {
	margin-bottom: 0;
}

/* Keep the existing shared accordion, including its responsive icon rules. */
.wows-service-section .wows-service-faq {
	border-top: 0;
}

.wows-service-section .wows-service-faq > details:first-child > summary {
	padding-top: 0;
}

/* Booking: explanatory copy beside contact actions, supporting links below. */
.wows-service-booking {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
	gap: var(--wows-sp-8) var(--wows-sp-9);
	padding: var(--wows-gutter-panel);
	margin-top: var(--wows-sp-6);
	border-radius: var(--wows-r-xl);
	background: var(--wows-gradient-accent);
	color: var(--wows-white);
	align-items: center;
}

.wows-service-booking__copy h3 {
	font-size: var(--wows-fs-band);
	color: var(--wows-white);
	margin: 0 0 var(--wows-sp-4);
	max-width: 23ch;
}

.wows-service-booking p {
	color: var(--wows-on-accent);
}

.wows-service-booking__copy p {
	margin-bottom: 0;
	max-width: 52ch;
}

.wows-service-booking__actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--wows-sp-2);
	min-width: 0;
}

.wows-service-booking .wows-service-booking__action {
	padding: var(--wows-sp-4) var(--wows-sp-3);
	line-height: 1.4;
	min-height: 52px;
	text-align: center;
	color: var(--wows-white);
	background: transparent;
	border-color: var(--wows-btn-ghost-border);
	font-size: var(--wows-fs-base);
	/* Foreground and background switch together to retain hover contrast. */
	transition: none;
}

.wows-service-booking .wows-service-booking__action--receipt {
	grid-column: 1 / -1;
	background: var(--wows-white);
	color: var(--wows-accent);
	border-color: var(--wows-white);
}

.wows-service-booking .wows-service-booking__action:hover {
	background: var(--wows-white);
	color: var(--wows-accent-dark);
	border-color: var(--wows-white);
}

/* Match the WhatsApp buttons on the Contact Us page. */
.wows-service-booking .wows-service-booking__action--chat {
	background: var(--wows-success);
	color: var(--wows-white);
	border-color: var(--wows-success);
}

.wows-service-booking .wows-service-booking__action--chat:hover {
	background: var(--wows-success-text);
	color: var(--wows-white);
	border-color: var(--wows-success-text);
}

.wows-service-booking .wows-icon {
	width: 19px;
	height: 19px;
	flex: 0 0 19px;
}

.wows-service-booking__notes {
	grid-column: 1 / -1;
	border-top: 1px solid var(--wows-btn-ghost-border);
	padding-top: var(--wows-sp-6);
	font-size: var(--wows-fs-base);
}

.wows-service-booking__notes p:last-child {
	margin-bottom: 0;
}

.wows-service-booking__notes a {
	color: var(--wows-white);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.wows-service-booking a:focus-visible {
	outline: 2px solid var(--wows-white);
	outline-offset: 4px;
}

@media (max-width: 900px) {
	.wows-service-section {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--wows-sp-7);
	}

	.wows-service-section__body {
		max-width: none;
	}

	.wows-service-booking {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 480px) {
	.wows-service-section {
		padding: var(--wows-sp-8) 0;
	}

	.wows-service-booking__actions {
		grid-template-columns: minmax(0, 1fr);
	}

	.wows-service-booking .wows-service-booking__action {
		min-height: 48px;
	}
}
