/**
 * Aesthetic Services Slider — Frontend Styles
 *
 * Desktop:        3-column grid (tabs | image | content)
 * Tablet/Mobile:  Full-width accordion with square images
 */

/* =========================================
   Wrapper
   ========================================= */
.ass-slider-wrapper {
	background: #FDF5EF;
	padding: 0 !important;
	margin: 0;
	box-sizing: border-box;
}

/* =========================================
   Show/Hide Desktop vs Mobile
   ========================================= */
.ass-accordion.ass-mobile {
	display: none !important;
}

/* =========================================
   DESKTOP: 3-column grid
   ========================================= */
.ass-slider {
	display: grid;
	grid-template-columns: 40% auto 35%;
	gap: 0;
	max-width: 1200px;
	margin: 0 auto;
	align-items: center;
	font-family: 'Parkinsans', sans-serif;
}

/* --- Tabs --- */
.ass-tabs {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-right: 30px;
}

.ass-tab {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 24px 28px;
	border: none;
	border-bottom: 1px solid #F5E6D8;
	background: transparent;
	cursor: pointer;
	text-align: left;
	transition: background 0.3s ease, color 0.3s ease;
	font-family: 'Parkinsans', sans-serif;
	border-radius: 0;
	margin-bottom: 0;
}

.ass-tab:last-child {
	border-bottom: 1px solid #F5E6D8;
}

/* Active tab — background only, no borders */
.ass-tab--active {
	background: #8B0035;
	border: none;
	border-bottom: none;
}

.ass-tab--active:last-child {
	border-bottom: none;
}

.ass-tab__number {
	font-size: 24px;
	font-weight: 400;
	line-height: 1;
	color: #C8A0A0;
	transition: color 0.3s ease;
	min-width: 32px;
	font-family: 'Instrument Sans', sans-serif;
}

.ass-tab__title {
	font-size: 16px;
	font-weight: 500;
	color: #333;
	line-height: 24px;
	transition: color 0.3s ease;
	font-family: 'Parkinsans', sans-serif;
}

.ass-tab--active .ass-tab__number,
.ass-tab--active .ass-tab__title {
	color: #fff;
}

.ass-tab:not(.ass-tab--active):hover {
	background: rgba(139, 0, 53, 0.04);
}

/* --- Image (fixed 373×647) --- */
.ass-image-area {
	position: relative;
	width: 373px;
	height: 647px;
	overflow: hidden;
	border-radius: 0;
	flex-shrink: 0;
}

.ass-image-panel {
	position: absolute;
	top: 0;
	left: 0;
	width: 373px;
	height: 647px;
	opacity: 0;
	transition: opacity 0.4s ease;
	pointer-events: none;
}

.ass-image-panel--active {
	opacity: 1;
	pointer-events: auto;
}

.ass-image-panel img {
	width: 373px;
	height: 647px;
	object-fit: cover;
	display: block;
	border-radius: 0;
}

.ass-image-placeholder {
	width: 373px;
	height: 647px;
	background: linear-gradient(135deg, #e8ddd5, #d4c5b9);
	border-radius: 0;
}

/* --- Content (vertically centered) --- */
.ass-content-area {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 400px;
	padding-left: 36px;
}

.ass-content-panel {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding: 30px 20px 30px 36px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.4s ease;
	pointer-events: none;
}

.ass-content-panel--active {
	opacity: 1;
	pointer-events: auto;
}

/* =========================================
   Shared content styles
   ========================================= */
.ass-content__title {
	font-size: 28px;
	font-weight: 800;
	color: #1a1a1a;
	margin: 0 0 14px;
	line-height: 1.3;
	font-family: 'Abhaya Libre', serif;
}

.ass-content__description {
	font-size: 14px;
	line-height: 1.75;
	color: #666;
	margin: 0 0 22px;
	font-family: 'Parkinsans', sans-serif;
}

.ass-content__bullets {
	list-style: none;
	padding: 0;
	margin: 0 0 28px;
}

.ass-content__bullets li {
	position: relative;
	padding-left: 24px;
	margin-bottom: 8px;
	font-size: 14px;
	line-height: 1.7;
	color: #444;
	font-family: 'Parkinsans', sans-serif;
}

.ass-content__bullets li::before {
	content: "\2192";
	position: absolute;
	left: 0;
	top: 0;
	color: #8B0035;
	font-size: 14px;
	line-height: 1.7;
}

.ass-content__cta {
	display: inline-block;
	padding: 12px 30px;
	background: #8B0035;
	color: #fff;
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	border-radius: 6px;
	transition: background 0.3s ease, transform 0.2s ease;
	font-family: 'Parkinsans', sans-serif;
	align-self: flex-start;
}

.ass-content__cta:hover {
	background: #6e002a;
	transform: translateY(-1px);
	color: #fff;
}

.ass-no-slides {
	text-align: center;
	padding: 40px 20px;
	color: #888;
	font-style: italic;
	font-family: 'Parkinsans', sans-serif;
}

/* =========================================
   ACCORDION STYLES (always rendered, hidden on desktop)
   ========================================= */
.ass-accordion {
	font-family: 'Parkinsans', sans-serif;
	width: 100%;
	margin: 0;
	padding: 0;
}

.ass-acc-item {
	border-bottom: 1px solid #F5E6D8;
}

.ass-acc-item:last-child {
	border-bottom: 1px solid #F5E6D8;
}

.ass-acc-item--active {
	border-bottom: none;
}

/* Accordion header — full width */
.ass-acc__header {
	display: flex;
	align-items: center;
	gap: 16px;
	width: 100%;
	padding: 20px 16px;
	border: none;
	background: transparent;
	cursor: pointer;
	text-align: left;
	font-family: 'Parkinsans', sans-serif;
	transition: background 0.3s ease;
	box-sizing: border-box;
}

.ass-acc-item--active .ass-acc__header {
	background: #8B0035;
}

.ass-acc__number {
	font-size: 24px;
	font-weight: 400;
	color: #C8A0A0;
	min-width: 32px;
	font-family: 'Instrument Sans', sans-serif;
	transition: color 0.3s ease;
}

.ass-acc__title {
	font-size: 16px;
	font-weight: 500;
	color: #333;
	flex: 1;
	transition: color 0.3s ease;
	font-family: 'Parkinsans', sans-serif;
}

/* SVG line arrow icon */
.ass-acc__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-left: auto;
	color: #999;
	transition: color 0.3s ease;
	flex-shrink: 0;
}

.ass-acc__icon svg {
	display: block;
	width: 16px;
	height: 16px;
	stroke: currentColor;
}

.ass-acc-item--active .ass-acc__number,
.ass-acc-item--active .ass-acc__title {
	color: #fff;
}

.ass-acc-item--active .ass-acc__icon {
	color: #fff;
}

/* Accordion body */
.ass-acc__body {
	display: none;
	overflow: hidden;
}

.ass-acc-item--active .ass-acc__body {
	display: block;
}

/* Square image — full width, no gap */
.ass-acc__image {
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
}

.ass-acc__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 0;
}

/* Content below image */
.ass-acc__content {
	padding: 20px 16px 24px;
}

.ass-acc__content .ass-content__title {
	font-size: 22px;
}

.ass-acc__content .ass-content__cta {
	margin-bottom: 8px;
}

/* =========================================
   TABLET + MOBILE: Switch layouts at 820px
   ========================================= */
@media screen and (max-width: 820px) {
	.ass-slider {
		display: none !important;
	}

	.ass-accordion.ass-mobile {
		display: block !important;
	}
}

/* Small mobile */
@media screen and (max-width: 480px) {
	.ass-acc__header {
		padding: 16px 12px;
		gap: 12px;
	}

	.ass-acc__number {
		font-size: 20px;
		min-width: 28px;
	}

	.ass-acc__title {
		font-size: 14px;
	}

	.ass-acc__content {
		padding: 16px 12px 20px;
	}

	.ass-acc__content .ass-content__title {
		font-size: 20px;
	}

	.ass-acc__content .ass-content__description {
		font-size: 13px;
	}

	.ass-acc__content .ass-content__bullets li {
		font-size: 13px;
	}

	.ass-acc__content .ass-content__cta {
		padding: 10px 24px;
		font-size: 13px;
	}
}
