/* Product Hero Slider - Frontend Styles */

.phs-wrapper {
	width: 100%;
	overflow: hidden;
}

.phs-heading-wrap {
	margin-bottom: 30px;
	padding-bottom: 20px;
	border-bottom: 1px solid #e5e7eb;
}

.phs-top-heading {
	margin: 0;
	line-height: 1.25;
}

.phs-top-heading .phs-highlight {
	display: inline;
}

.phs-main-row {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-left: 20px;
}

/* ---------- IMAGE COLUMN ---------- */
.phs-image-col {
	position: relative;
	flex: 0 0 auto;
}

.phs-image-stage {
	position: relative;
	width: 420px;
	height: 420px;
	border-radius: 50%;
	overflow: hidden;
	background: #eee;
}

.phs-image-item {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.5s ease;
}

.phs-image-item.is-active {
	opacity: 1;
	visibility: visible;
	z-index: 2;
}

.phs-image-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.phs-arrow {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background-color: #1b4fd6;
	color: #fff;
	border: none;
	cursor: pointer;
	z-index: 5;
	transition: background-color 0.25s ease, transform 0.2s ease;
}

.phs-arrow svg {
	width: 45%;
	height: 45%;
}

.phs-arrow:hover {
	background-color: #12379e;
	transform: scale(1.06);
}

.phs-arrow-prev {
	top: 22%;
	left: -4%;
}

.phs-arrow-next {
	bottom: 12%;
	right: -2%;
}

/* ---------- TEXT COLUMN ---------- */
.phs-text-col {
	flex: 1 1 320px;
	position: relative;
	min-height: 160px;
}

.phs-text-item {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity 0.4s ease, transform 0.4s ease;
}

.phs-text-item.is-active {
	position: relative;
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.phs-slide-title {
	margin: 0 0 14px;
	color: #374151;
	font-size: 28px;
	font-weight: 600;
}

.phs-slide-desc {
	margin: 0 0 26px;
	color: #4b5563;
	line-height: 1.6;
}

.phs-btn {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	padding: 10px 12px 10px 26px;
	border: 1px solid #1b4fd6;
	border-radius: 30px;
	background-color: #fff;
	color: #1b4fd6;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.25s ease;
}

.phs-btn-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background-color: #1b4fd6;
	color: #fff;
	transition: all 0.25s ease;
}

.phs-btn-icon svg {
	width: 55%;
	height: 55%;
}

.phs-btn:hover {
	background-color: #1b4fd6;
	color: #fff;
}

.phs-btn:hover .phs-btn-icon {
	background-color: #fff;
	color: #1b4fd6;
}

/* ---------- NAV COLUMN (RIGHT SIDE LIST) ---------- */
.phs-nav-col {
	flex: 0 0 auto;
	margin-left: auto;
}

.phs-nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.phs-nav-item {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 14px;
	color: #9ca3af;
	font-size: 16px;
	cursor: pointer;
	white-space: nowrap;
	transition: color 0.25s ease;
}

.phs-nav-label {
	text-align: right;
}

.phs-nav-item.is-active {
	color: #1b4fd6;
	font-weight: 600;
}

.phs-nav-line {
	width: 26px;
	height: 1px;
	background-color: #d1d5db;
	transition: background-color 0.25s ease, width 0.25s ease;
}

.phs-nav-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background-color: #d1d5db;
	flex-shrink: 0;
	transition: background-color 0.25s ease, transform 0.25s ease;
}

.phs-nav-item.is-active .phs-nav-line {
	width: 40px;
	background-color: #1b4fd6;
}

.phs-nav-item.is-active .phs-nav-dot {
	background-color: #1b4fd6;
	transform: scale(1.2);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1200px) {
	.phs-nav-col {
		margin-left: 0;
	}
	.phs-nav-item,
	.phs-nav-label {
		justify-content: flex-start;
		text-align: left;
	}
	.phs-nav-item {
		justify-content: flex-start;
	}
}

@media (max-width: 991px) {
	.phs-main-row {
		flex-direction: column;
		align-items: stretch;
		gap: 40px;
	}
	.phs-image-stage {
		width: 100%;
		max-width: 420px;
		height: auto;
		aspect-ratio: 1/1;
		margin: 0 auto;
	}
	.phs-nav-col {
		width: 100%;
	}
	.phs-nav-list {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 14px 24px;
	}
	.phs-nav-item {
		justify-content: flex-start;
	}
}

@media (max-width: 480px) {
	.phs-arrow {
		width: 40px;
		height: 40px;
	}
}
