/* ==========================================================================
   Homepower Premium Single Product Layout - Vanilla CSS
   ========================================================================== */

/* 1. Global Container & Layout */
.product-detail-container,
.homepower-wc-container {
	max-width: 1400px !important;
	margin: 0 auto;
	padding: 0 12px 2.5rem 12px;
	user-select: none;
}

.product-detail-section {
	padding-top: 12px !important;
	padding-bottom: 20px !important;
}

.product-detail-section > .section-content > .row {
	margin-left: 0 !important;
	margin-right: 0 !important;
	width: 100% !important;
	max-width: 100% !important;
}

.product-detail-section > .section-content > .row > .col {
	padding: 0 !important;
}

/* Breadcrumbs Override */
.product-detail-container .bg-transparent {
	background-color: transparent !important;
}

/* Upper Main Product Card */
.hp-product-main-card {
	background-color: #ffffff;
	border: 1px solid #f1f5f9; /* slate-100 */
	padding: 0.875rem;
	border-radius: 0.75rem;
	box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
	margin-bottom: 1rem;
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.875rem;
	align-items: start;
}

/* Reset Flatsome column width and padding constraints inside main grid card */
.hp-product-main-card > .col {
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	flex-basis: auto !important;
	padding: 0 !important;
}

@media (min-width: 640px) {
	.hp-product-main-card {
		padding: 1.125rem;
		border-radius: 1rem;
	}
}

@media (min-width: 1024px) {
	.hp-product-main-card {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		gap: 1.25rem;
	}
	.hp-product-main-card > .col:first-child,
	.hp-product-gallery-col {
		grid-column: span 5 / span 5 !important; /* Spans 5 columns */
	}
	.hp-product-main-card > .col:last-child,
	.hp-product-info-col {
		grid-column: span 7 / span 7 !important; /* Spans 7 columns */
	}
}

@media (min-width: 1280px) {
	.hp-product-main-card {
		gap: 1.5rem;
	}
}

/* ==========================================================================
   2. Product Gallery & Zoom Lens
   ========================================================================== */
.product-gallery {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	position: relative;
	width: 100%;
}

/* Main Large Image Container */
.hp-product-zoom-frame {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	max-height: 500px;
	background-color: #f8fafc; /* slate-50 */
	border: 1px solid #f1f5f9; /* slate-100 */
	border-radius: 0.75rem;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

@media (min-width: 640px) {
	.hp-product-zoom-frame {
		border-radius: 1rem;
	}
}

@media (max-width: 767px) {
	.hp-product-zoom-frame {
		aspect-ratio: 1 / 1;
		max-height: none;
	}
}

.zoom-image-wrapper {
	width: 100% !important;
	height: 100% !important;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hp-product-zoom-frame img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	border-radius: 0.75rem;
	transition: transform 150ms ease-out;
}

@media (min-width: 640px) {
	.hp-product-zoom-frame img {
		border-radius: 1rem;
	}
}

/* Focus lens magnifier */
#product-zoom-lens {
	position: absolute;
	border: 1px solid rgba(226, 232, 240, 0.8);
	background-color: rgba(0, 158, 227, 0.15); /* primary-blue light tint */
	cursor: crosshair;
	pointer-events: none;
	border-radius: 0.75rem;
	z-index: 5;
}

/* Main image nav arrows */
.main-img-nav-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 9999px;
	background-color: rgba(255, 255, 255, 0.8);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(226, 232, 240, 0.8);
	color: #475569;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
	cursor: pointer;
	transition: all 200ms ease-out;
	opacity: 0.5;
	outline: none;
}

.hp-product-zoom-frame:hover .main-img-nav-btn {
	opacity: 0.85;
}

.main-img-nav-btn:hover {
	background-color: #009EE3;
	color: #ffffff;
	border-color: #009EE3;
	box-shadow: 0 4px 12px rgba(0, 158, 227, 0.3);
	opacity: 1 !important;
}

.main-img-nav-btn:active {
	transform: translateY(-50%) scale(0.9);
}

.main-img-nav-btn:disabled {
	opacity: 0 !important;
	cursor: not-allowed;
	pointer-events: none;
}

.main-img-nav-btn.prev-btn {
	left: 0.75rem;
}

.main-img-nav-btn.next-btn {
	right: 0.75rem;
}

.main-img-nav-btn svg {
	width: 1.25rem;
	height: 1.25rem;
	stroke: currentColor;
}

/* Mobile & Tablet optimizations */
@media (max-width: 1023px) {
	.main-img-nav-btn {
		opacity: 0.85;
		width: 2rem;
		height: 2rem;
	}
	.main-img-nav-btn.prev-btn {
		left: 0.5rem;
	}
	.main-img-nav-btn.next-btn {
		right: 0.5rem;
	}
	.main-img-nav-btn svg {
		width: 1rem;
		height: 1rem;
	}
}

/* Image badge */
.hp-product-badge {
	display: none !important;
}

/* Thumbnails Strip */
#thumb-container {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 0.375rem;
	overflow-x: auto;
	padding: 0.125rem 0.25rem;
	scroll-behavior: smooth;
	-ms-overflow-style: none;
	scrollbar-width: none;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
}

#thumb-container::-webkit-scrollbar {
	display: none;
}

.thumb-btn {
	aspect-ratio: 1/1;
	width: 3.25rem !important;
	height: 3.25rem !important;
	margin: 0 !important;
	padding: 0 !important;
	flex: 0 0 auto !important;
	border: 1px solid #e2e8f0; /* slate-200 */
	border-radius: 0 !important;
	overflow: hidden;
	cursor: pointer;
	background: transparent;
	transition: all 200ms ease;
	outline: none;
	scroll-snap-align: start;
}

@media (min-width: 640px) {
	.thumb-btn {
		width: 4rem !important;
		height: 4rem !important;
	}
}

.thumb-btn img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.thumb-btn:hover {
	border-color: #009EE3;
}

.thumb-btn.active {
	border-color: #009EE3;
	box-shadow: 0 0 0 2px #e6f4ff; /* sky-blue ring */
}

.variation-thumb-btn {
	display: none;
}

.hp-gallery-selected-variant {
	display: none;
}

@media (max-width: 767px) {
	.gallery-media-thumb {
		display: none;
	}

	.variation-thumb-btn {
		display: block;
	}

	.hp-buy-box .hp-variants-section {
		display: none !important;
	}

	.hp-gallery-selected-variant:not([hidden]) {
		display: flex;
		align-items: baseline;
		min-height: 1.5rem;
		padding: 0.25rem 0.625rem 0;
		font-size: 0.8125rem;
		line-height: 1.25rem;
	}

	.hp-gallery-selected-variant__label {
		color: #64748b;
		font-weight: 600;
	}
}

/* Zoom Result Floating Box (Desktop only) */
#product-zoom-result {
	position: absolute;
	display: none;
	z-index: 40;
	border: 1px solid #e2e8f0;
	background-color: #ffffff;
	border-radius: 1rem;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
	overflow: hidden;
	pointer-events: none;
	width: 420px;
	height: 420px;
	left: 103%;
	top: 0;
	transition: opacity 200ms ease;
	opacity: 0;
}

#product-zoom-result.active {
	display: block;
	opacity: 1;
}

#product-zoom-result img {
	position: absolute;
	max-width: none !important;
	max-height: none !important;
	width: 180%;
	height: 180%;
}

/* ==========================================================================
   3. Product Details Summary & Buy Box
   ========================================================================== */
.hp-buy-box {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	width: 100%;
	box-sizing: border-box;
}

/* Quick Stats Bar */
.hp-meta-stats {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	column-gap: 0.875rem;
	row-gap: 0.375rem;
	border-bottom: 1px solid #f1f5f9; /* slate-100 */
	padding-bottom: 0.5rem;
	margin-top: -0.25rem; /* Reduce the flex gap from title to stats */
	font-size: 0.875rem; /* text-sm (14px) for better readability, Shopee style */
	font-weight: 500;
	color: #757575; /* Shopee style gray */
}

/* Rating container and average rating styling */
.hp-meta-stats .hp-rating-container {
	display: flex;
	align-items: center;
	gap: 0.25rem;
}

.hp-meta-stats .hp-rating-container .rating-avg {
	color: #009EE3; /* Website brand blue */
	font-weight: 700;
	line-height: 1.2;
}

.hp-meta-stats .rating-stars-symbol {
	display: inline-flex;
	align-items: center;
	gap: 1px;
}

.hp-meta-stats .star-symbol {
	font-size: 0.8125rem; /* 13px */
	line-height: 1;
	user-select: none;
}

.hp-meta-stats .star-symbol.filled {
	color: #009EE3; /* Website brand blue for filled stars */
}

.hp-meta-stats .star-symbol.half {
	position: relative;
	color: #e2e8f0; /* Gray for empty background */
	display: inline-block;
}

.hp-meta-stats .star-symbol.half::after {
	content: "★";
	position: absolute;
	left: 0;
	top: 0;
	width: 50%;
	overflow: hidden;
	color: #009EE3; /* Website brand blue for left half */
}

.hp-meta-stats .star-symbol.empty {
	color: #d1d5db; /* Gray-300 for empty stars */
}

/* Separator styling */
.hp-meta-stats .stat-sep {
	width: 1px;
	height: 14px;
	background-color: rgba(0, 0, 0, 0.09);
	flex-shrink: 0;
	margin: 0 0.125rem;
}

/* Reviews count styling */
.hp-meta-stats .hp-reviews-count {
	display: flex;
	align-items: center;
	gap: 0.25rem;
}

.hp-meta-stats .hp-reviews-count .bold-value {
	color: #222222;
	font-weight: 700;
	line-height: 1.2;
}

.hp-meta-stats .hp-reviews-count .reviews-lbl {
	color: #757575;
}

.hp-meta-stats .sales-count {
	display: flex;
	align-items: center;
	gap: 0.25rem;
}

.hp-meta-stats .sales-count .bold-value {
	color: #222222;
	font-weight: 500;
}

.hp-meta-stats .sales-count .sales-lbl {
	color: #757575;
}



/* Sales Tooltip */
.hp-sales-tooltip-wrapper {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-left: 0.35rem;
}

.hp-sales-tooltip-trigger {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background-color: #e2e8f0; /* slate-200 */
	color: #64748b; /* slate-500 */
	font-size: 10px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 150ms ease;
	line-height: 1;
}

.hp-sales-tooltip-trigger:hover {
	background-color: #cbd5e1; /* slate-300 */
	color: #334155; /* slate-700 */
}

.hp-sales-tooltip-box {
	position: absolute;
	bottom: 150%;
	left: 50%;
	transform: translateX(-50%) translateY(4px);
	width: 240px;
	background-color: #1e293b; /* slate-800 */
	color: #ffffff;
	text-align: center;
	border-radius: 0.5rem;
	padding: 0.5rem 0.75rem;
	font-size: 0.75rem;
	font-weight: 500;
	line-height: 1.4;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
	pointer-events: none;
	opacity: 0;
	transition: opacity 200ms ease, transform 200ms ease;
	z-index: 999;
}

.hp-sales-tooltip-box::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	margin-left: -6px;
	border-width: 6px;
	border-style: solid;
	border-color: #1e293b transparent transparent transparent;
}

.hp-sales-tooltip-wrapper:hover .hp-sales-tooltip-box {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}

/* Product Title */
.hp-product-title {
	font-size: 1rem; /* 16px on mobile */
	font-weight: 700;
	color: #0f172a;
	line-height: 1.3;
	margin: 0;
	text-transform: none;
	letter-spacing: normal;
	overflow-wrap: break-word;
}

@media (min-width: 1024px) {
	.hp-product-title {
		font-size: 1.375rem; /* 22px on desktop for sophisticated look */
	}
}

/* Price Box Card */
.hp-price-card {
	background-color: #f8fafc; /* slate-50/70 */
	border: 1px solid #f1f5f9;
	border-radius: 0.625rem;
	padding: 0.625rem 0.875rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	column-gap: 0.875rem;
	row-gap: 0.5rem;
}

.hp-price-sale,
.hp-price-sale .amount {
	font-size: 1.375rem; /* 22px on mobile */
	font-weight: 900;
	color: #009EE3 !important;
	line-height: 1;
}

@media (min-width: 1024px) {
	.hp-price-sale,
	.hp-price-sale .amount {
		font-size: 1.625rem; /* 26px on desktop */
	}
}

.hp-price-original,
.hp-price-original .amount {
	font-size: 0.8125rem; /* 13px */
	color: #64748b !important;
	font-weight: 600;
	text-decoration: line-through;
	line-height: 1;
}

.hp-price-discount-badge {
	padding: 0.125rem 0.375rem;
	font-size: 9px;
	font-weight: 700;
	color: #009EE3;
	background-color: #e6f4ff;
	border-radius: 4px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

/* Shipping Notice */
.hp-shipping-row {
	display: flex;
	align-items: start;
	gap: 0.5rem;
	font-size: 0.75rem; /* text-xs */
	border-top: 1px solid rgba(241, 245, 249, 0.6);
	padding-top: 0.625rem;
}

@media (min-width: 640px) {
	.hp-shipping-row {
		font-size: 0.8125rem; /* 13px */
	}
}

.hp-shipping-label {
	color: #64748b; /* slate-500 */
	font-weight: 700;
	width: 5.5rem; /* w-22 (88px) to prevent wrapping */
	flex-shrink: 0;
	text-transform: none; /* remove uppercase */
	letter-spacing: normal;
	margin-top: 0.125rem;
}

.hp-shipping-content {
	display: flex;
	flex-direction: column;
	gap: 0.125rem;
	color: #475569; /* slate-600 */
	font-weight: 500;
}

.hp-shipping-title {
	display: flex;
	align-items: center;
	gap: 0.375rem;
	color: #1e293b; /* slate-800 */
	font-weight: 700; /* font-bold */
}

.hp-shipping-title svg {
	width: 1rem;
	height: 1rem;
	stroke: #10b981; /* emerald-500 */
	stroke-width: 2.5px;
}

.hp-shipping-desc {
	color: #64748b; /* slate-500 */
	font-size: 0.6875rem;
	font-weight: 500;
	margin: 0;
	padding-left: 1.375rem; /* aligned perfectly with title text */
}

/* Shopee-style dynamic shipping fees */
.hp-shipping-method-row {
	display: flex;
	flex-direction: column;
	gap: 0;
}
.hp-fee-free {
	color: #10b981 !important; /* emerald-500 */
}
.hp-fee-charge {
	color: #1e293b !important; /* slate-800 */
}
.hp-shipping-threshold-lbl {
	color: #64748b;
	font-size: 0.75rem;
	font-weight: 500;
	margin-left: 0.25rem;
}

/* Short Description */
.hp-short-desc {
	font-size: 0.8125rem;
	color: #475569;
	font-weight: 500;
	line-height: 1.45;
	border-top: 1px solid rgba(241, 245, 249, 0.6);
	padding-top: 0.625rem;
}

.hp-short-desc p,
.hp-short-desc ul,
.hp-short-desc ol {
	margin-bottom: 0.35rem;
}

@media (min-width: 640px) {
	.hp-short-desc {
		font-size: 0.8125rem;
	}
}

/* Variant Selection */
.hp-variants-section {
	display: flex;
	flex-direction: column;
	gap: 0.25rem; /* further reduced space from label to buttons */
	border-top: 1px solid rgba(241, 245, 249, 0.6);
	padding-top: 0.5rem; /* slightly tighter section padding */
}

.hp-variants-label {
	font-size: 0.75rem;
	font-weight: 700;
	color: #64748b;
	text-transform: none; /* remove uppercase */
	letter-spacing: normal;
	margin: 0;
}

.hp-selected-variant-name-highlight {
	color: #009EE3;
	font-weight: 700;
	margin-left: 0.25rem;
}

.hp-variants-container {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
}

.variant-btn {
	margin: 0 6px 6px 0 !important;
	background-color: #ffffff;
	border: 1px solid #e2e8f0;
	color: #334155;
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.25;
	min-height: 38px;
	padding: 3px 10px 3px 3px;
	border-radius: 0.375rem;
	cursor: pointer;
	transition: all 200ms ease;
	outline: none;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	text-align: left;
	text-transform: none;
	white-space: normal;
	max-width: 100%;
	overflow: hidden;
}

@media (min-width: 1024px) {
	.variant-btn {
		font-size: 0.8125rem;
	}
}

.variant-btn:hover {
	border-color: #94a3b8;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.variant-btn.active {
	border: 2px solid #009EE3;
	background-color: rgba(230, 244, 255, 0.4); /* sky-blue 40% */
	color: #009EE3;
	box-shadow: 0 1px 3px rgba(0, 158, 227, 0.05);
	padding: 2px 9px 2px 2px;
}

.variant-btn:active {
	transform: scale(0.97);
}

.variant-btn:focus-visible {
	outline: 2px solid rgba(0, 158, 227, 0.35);
	outline-offset: 2px;
}

.variant-btn__image {
	width: 32px;
	height: 32px;
	flex: 0 0 32px;
	border-radius: 0.25rem;
	object-fit: cover;
	background: #f8fafc;
}

.variant-btn__label {
	max-width: 12rem;
	font-weight: 500;
	overflow-wrap: anywhere;
}

.hp-mobile-variant-modal {
	display: none;
}

@media (max-width: 767px) {
	.hp-variants-container {
		gap: 0.375rem;
	}

	.variant-btn {
		font-size: 0.6875rem;
		min-height: 36px;
		padding-right: 0.5rem;
		gap: 0.375rem;
		flex: 1 1 calc(50% - 0.1875rem);
		max-width: calc(50% - 0.1875rem);
	}

	.variant-btn.active {
		padding-right: calc(0.5rem - 1px);
	}

	.variant-btn__image {
		width: 30px;
		height: 30px;
		flex-basis: 30px;
	}

	.variant-btn__label {
		max-width: none;
	}

	body.hp-mobile-variant-modal-open {
		overflow: hidden;
		touch-action: none;
	}

	body.hp-mobile-variant-modal-open .hp-mobile-sticky-bar {
		transform: translateY(calc(100% + env(safe-area-inset-bottom, 0px))) !important;
		opacity: 0 !important;
		pointer-events: none !important;
		transition: transform 220ms ease, opacity 160ms ease !important;
	}

	.hp-mobile-variant-modal:not([hidden]) {
		position: fixed;
		inset: 0;
		z-index: 2147483000;
		display: block;
	}

	.hp-mobile-variant-modal__backdrop {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		margin: 0 !important;
		padding: 0 !important;
		border: 0 !important;
		border-radius: 0 !important;
		background: rgba(15, 23, 42, 0.56) !important;
		backdrop-filter: blur(3px);
		-webkit-backdrop-filter: blur(3px);
		opacity: 0;
		transition: opacity 220ms ease;
	}

	.hp-mobile-variant-modal__sheet {
		position: absolute;
		right: 0;
		bottom: 0;
		left: 0;
		display: flex;
		flex-direction: column;
		max-height: min(calc(100dvh - 1rem), 720px);
		background: #ffffff;
		border: 1px solid rgba(226, 232, 240, 0.9);
		border-bottom: 0;
		border-radius: 1.25rem 1.25rem 0 0;
		box-shadow: 0 -18px 50px rgba(15, 23, 42, 0.22);
		transform: translateY(100%);
		transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
		overflow: hidden;
	}

	.hp-mobile-variant-modal__sheet::before {
		content: "";
		align-self: center;
		width: 2.75rem;
		height: 0.25rem;
		margin-top: 0.625rem;
		border-radius: 999px;
		background: #cbd5e1;
		flex: 0 0 auto;
	}

	.hp-mobile-variant-modal.is-open .hp-mobile-variant-modal__backdrop {
		opacity: 1;
	}

	.hp-mobile-variant-modal.is-open .hp-mobile-variant-modal__sheet {
		transform: translateY(0);
	}

	.hp-mobile-variant-modal__header {
		position: relative;
		display: flex;
		align-items: center;
		gap: 0.875rem;
		padding: 0.875rem 3.25rem 0.875rem 1rem;
		border-bottom: 1px solid #e2e8f0;
		background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
	}

	.hp-mobile-variant-modal__image {
		width: 5.75rem;
		height: 5.75rem;
		flex: 0 0 5.75rem;
		object-fit: cover;
		border: 1px solid #e2e8f0;
		border-radius: 0.75rem;
		background: #ffffff;
	}

	.hp-mobile-variant-modal__summary {
		min-width: 0;
		padding-bottom: 0.125rem;
	}

	.hp-mobile-variant-modal__prices {
		display: flex;
		flex-wrap: wrap;
		align-items: baseline;
		gap: 0.5rem;
	}

	.hp-mobile-variant-modal__sale-price {
		color: #009EE3;
		font-size: 1.25rem;
		font-weight: 900;
		line-height: 1.25;
	}

	.hp-mobile-variant-modal__regular-price {
		color: #94a3b8;
		font-size: 0.875rem;
		text-decoration: line-through;
	}

	.hp-mobile-variant-modal__stock {
		margin: 0.375rem 0 0;
		color: #64748b;
		font-size: 0.8125rem;
		font-weight: 600;
	}

	.hp-mobile-variant-modal__close {
		position: absolute;
		top: 0.625rem;
		right: 0.75rem;
		display: grid;
		width: 2.25rem !important;
		height: 2.25rem !important;
		min-width: 0 !important;
		margin: 0 !important;
		padding: 0 !important;
		place-items: center;
		border: 0 !important;
		border-radius: 50% !important;
		background: #f8fafc !important;
		color: #475569 !important;
		box-shadow: inset 0 0 0 1px #e2e8f0 !important;
	}

	.hp-mobile-variant-modal__close svg {
		width: 1.75rem;
		height: 1.75rem;
		fill: none;
		stroke: currentColor;
		stroke-width: 1.75;
		stroke-linecap: round;
	}

	.hp-mobile-variant-modal__body {
		min-height: 0;
		padding: 0.875rem 1rem 1rem;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}

	.hp-mobile-variant-modal__body h2 {
		margin: 0 0 0.75rem;
		color: #0f172a;
		font-size: 1rem;
		font-weight: 800;
	}

	.hp-mobile-variant-modal__options {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.625rem;
	}

	.hp-mobile-variant-option {
		display: flex !important;
		align-items: center !important;
		gap: 0.5rem !important;
		min-width: 0 !important;
		min-height: 3rem !important;
		height: 100% !important;
		margin: 0 !important;
		padding: 0.25rem 0.5rem 0.25rem 0.25rem !important;
		border: 1px solid #dbeafe !important;
		border-radius: 0.625rem !important;
		background: #f8fafc !important;
		color: #1e293b !important;
		font-size: 0.75rem !important;
		font-weight: 500 !important;
		line-height: 1.25 !important;
		text-align: left !important;
		text-transform: none !important;
		box-shadow: none !important;
	}

	.hp-mobile-variant-option:focus-visible {
		outline: 2px solid rgba(0, 158, 227, 0.35) !important;
		outline-offset: 2px !important;
	}

	.hp-mobile-variant-option img {
		width: 2.25rem;
		height: 2.25rem;
		flex: 0 0 2.25rem;
		object-fit: cover;
		border-radius: 0.375rem;
		background: #ffffff;
		border: 1px solid #e2e8f0;
	}

	.hp-mobile-variant-option span {
		min-width: 0;
		overflow-wrap: anywhere;
	}

	.hp-mobile-variant-option.active {
		border-color: #009EE3 !important;
		background: #ffffff !important;
		color: #009EE3 !important;
		box-shadow: inset 0 0 0 1px #009EE3, 0 8px 20px rgba(0, 158, 227, 0.12) !important;
	}

	.hp-mobile-variant-modal__footer {
		padding: 0.75rem 1rem calc(0.875rem + env(safe-area-inset-bottom, 0px));
		border-top: 1px solid #e2e8f0;
		background: rgba(255, 255, 255, 0.96);
		box-shadow: 0 -10px 24px rgba(15, 23, 42, 0.06);
	}

	.hp-mobile-variant-modal__confirm {
		width: 100% !important;
		min-height: 3.25rem !important;
		margin: 0 !important;
		padding: 0.75rem 1rem !important;
		border: 0 !important;
		border-radius: 9999px !important;
		background: #009EE3 !important;
		color: #fff !important;
		font-size: 1rem !important;
		font-weight: 800 !important;
		text-transform: none !important;
		box-shadow: 0 8px 20px rgba(0, 158, 227, 0.16) !important;
	}

	.hp-mobile-variant-modal__confirm:not(:disabled):active {
		transform: translateY(1px);
	}

	.hp-mobile-variant-modal__confirm:disabled {
		background: #cbd5e1 !important;
		cursor: not-allowed;
	}
}

/* Quantity Selection */
.hp-quantity-row {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	border-top: 1px solid rgba(241, 245, 249, 0.6);
	padding-top: 0.625rem;
}

.hp-qty-label {
	font-size: 0.75rem;
	font-weight: 700;
	color: #64748b;
	text-transform: none; /* remove uppercase */
	letter-spacing: normal;
	margin: 0 !important;
	line-height: 1 !important;
	width: 5.5rem; /* Align vertically with other fields (e.g. shipping) */
	flex-shrink: 0;
}

.hp-qty-selectors {
	display: flex;
	align-items: center;
	gap: 0.875rem;
}

.hp-qty-input-box {
	display: inline-flex !important;
	align-items: center !important;
	border: 1px solid #e2e8f0 !important;
	border-radius: 9999px !important; /* Pill shape */
	overflow: hidden !important;
	padding: 2px !important; /* Create space for buttons */
	background-color: #ffffff !important; /* Premium clean white background */
	width: max-content !important;
	height: 1.875rem !important; /* Sleek 30px height */
}

.hp-qty-adjust {
	width: 1.625rem !important;
	height: 1.625rem !important;
	min-width: 1.625rem !important;
	min-height: 1.625rem !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-weight: 700 !important;
	font-size: 0.75rem !important;
	color: #94a3b8 !important; /* Subtle gray icon */
	background: transparent !important;
	border: 0 !important;
	cursor: pointer !important;
	border-radius: 50% !important; /* Perfect circle shape */
	transition: all 150ms ease !important;
	outline: none !important;
	padding: 0 !important;
	margin: 0 !important;
	box-shadow: none !important;
	box-sizing: border-box !important;
	flex-shrink: 0 !important;
}

.hp-qty-adjust:hover {
	background-color: #f1f5f9 !important; /* Soft gray background on hover */
	color: #1e293b !important; /* Darker gray icon on hover */
}

.hp-qty-adjust:active {
	background-color: #e2e8f0 !important;
}

#qty-val {
	width: 1.75rem !important; /* 28px width for perfect spacing */
	height: 1.625rem !important;
	line-height: 1.625rem !important;
	padding: 0 !important;
	text-align: center !important;
	background: transparent !important;
	border: 0 !important;
	outline: none !important;
	box-shadow: none !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	color: #1e293b !important;
	margin: 0 !important;
}

.hp-stock-badge {
	font-size: 0.875rem;
	font-weight: 500;
	text-transform: none; /* remove uppercase */
	letter-spacing: normal;
	margin: 0 !important;
	line-height: 1 !important;
}

.hp-stock-badge.in-stock {
	color: #10b981; /* emerald-500 */
}

.hp-stock-badge.out-of-stock {
	color: #ef4444; /* red-500 */
}

/* Call To Action Buttons */
.hp-cta-actions {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	flex-wrap: wrap;
	gap: 0.5rem; /* Space between buttons */
	margin-top: 0.25rem;
}

.hp-cta-actions .hp-btn-outline,
.hp-cta-actions .hp-btn-solid {
	width: 180px !important;
	font-size: 0.875rem !important;
	padding: 0.45rem 0 !important;
	border-radius: 9999px !important;
	flex: none !important;
	text-align: center;
}

.hp-btn-buy {
	background-color: #009EE3;
	border: none;
	color: #ffffff;
	box-shadow: 0 4px 6px -1px rgba(0, 158, 227, 0.1);
}

.hp-btn-buy:hover {
	background-color: #0a6cb7; /* ocean-blue */
	box-shadow: 0 10px 15px -3px rgba(0, 158, 227, 0.2);
	transform: translateY(-1px);
}

.hp-btn-cart {
	background: transparent;
	border: 1px solid rgba(0, 158, 227, 0.3);
	color: #009EE3;
}

.hp-btn-cart:hover {
	border-color: #009EE3;
	background-color: #009EE3;
	color: #ffffff;
	transform: translateY(-1px);
}

/* ==========================================================================
   4. Frequently Bought Together (FBT) Combo
   ========================================================================== */
.hp-fbt-section {
	border-top: 1px solid #f1f5f9;
	padding-top: 0.625rem;
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
}

.hp-fbt-header {
	font-size: 0.75rem;
	font-weight: 900;
	color: #009EE3;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	display: flex;
	align-items: center;
	gap: 0.375rem;
	margin: 0;
}

.hp-fbt-header svg {
	width: 1rem;
	height: 1rem;
	stroke: currentColor;
	stroke-width: 2.5px;
}

.hp-fbt-list {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
}

.hp-fbt-item {
	display: flex;
	align-items: start;
	gap: 0.5rem;
	cursor: pointer;
}

/* FBT custom checkboxes */
.fbt-cb {
	-webkit-appearance: none;
	appearance: none;
	width: 1.125rem;
	height: 1.125rem;
	border: 2px solid #cbd5e1;
	border-radius: 0.25rem;
	outline: none;
	cursor: pointer;
	display: inline-grid;
	place-content: center;
	background-color: #ffffff;
	transition: all 200ms ease;
	position: relative;
	margin-top: 0.125rem;
	flex-shrink: 0;
}

.fbt-cb:hover {
	border-color: #009EE3;
}

.fbt-cb:checked {
	background-color: #009EE3;
	border-color: #009EE3;
}

.fbt-cb:checked::before {
	content: "";
	width: 8px;
	height: 4px;
	border-left: 2px solid #ffffff;
	border-bottom: 2px solid #ffffff;
	transform: rotate(-45deg) translate(0.5px, -1px);
}

.fbt-cb:disabled {
	opacity: 0.6;
	background-color: #f1f5f9;
	border-color: #e2e8f0;
	cursor: not-allowed;
}

.fbt-cb:disabled:checked::before {
	border-color: #94a3b8;
}

.hp-fbt-info {
	display: flex;
	flex-direction: column;
	line-height: 1.35;
}

.hp-fbt-title {
	font-weight: 800;
	color: #1e293b;
	font-size: 0.8125rem;
}

@media (min-width: 640px) {
	.hp-fbt-title {
		font-size: 0.875rem;
	}
}

.hp-fbt-pricing {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: 0.125rem;
}

.hp-fbt-price {
	color: #009EE3;
	font-weight: 900;
	font-size: 0.75rem;
}

.hp-fbt-original-price {
	color: #64748b;
	text-decoration: line-through;
	font-size: 10px;
}

/* Combo Summary Box */
.hp-fbt-summary-box {
	background-color: #f8fafc;
	border: 1px solid #f1f5f9;
	padding: 0.75rem;
	border-radius: 0.625rem;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.hp-fbt-total-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 0.8125rem;
}

@media (min-width: 640px) {
	.hp-fbt-total-row {
		font-size: 0.875rem;
	}
}

.hp-fbt-total-label {
	font-weight: 700;
	color: #475569;
}

.hp-fbt-total-price {
	font-weight: 900;
	color: #009EE3;
	font-size: 1rem;
}

@media (min-width: 640px) {
	.hp-fbt-total-price {
		font-size: 1.125rem;
	}
}

.hp-fbt-buy-btn {
	width: 100%;
	padding: 0.5rem 1rem;
	border-radius: 0.5rem;
	background-color: #f97316; /* orange-500 */
	border: 0;
	color: #ffffff;
	font-weight: 900;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	cursor: pointer;
	box-shadow: 0 1px 3px rgba(249, 115, 22, 0.1);
	transition: all 200ms ease;
	outline: none;
}

.hp-fbt-buy-btn:hover {
	background-color: #ea580c; /* orange-600 */
	box-shadow: 0 4px 6px rgba(249, 115, 22, 0.2);
}

.hp-fbt-buy-btn:active {
	transform: scale(0.98);
}

.hp-fbt-buy-btn:disabled {
	opacity: 0.7;
	cursor: not-allowed;
	background-color: #94a3b8;
	box-shadow: none;
}

/* ==========================================================================
   5. Warranty & Assurance Items
   ========================================================================== */
/* ==========================================================================
   5. Interactive Trust & Assurance Tooltip
   ========================================================================== */
.hp-assurance-tooltip-wrapper {
	position: relative;
	display: inline-block;
	margin-top: 0;
}

.hp-assurance-trigger {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	font-size: 0.75rem; /* 12px */
	font-weight: 600;
	color: #009EE3;
	cursor: pointer;
	padding: 0.25rem 0.625rem;
	background-color: rgba(0, 158, 227, 0.05);
	border: 1px dashed rgba(0, 158, 227, 0.25);
	border-radius: 99px;
	transition: all 200ms ease;
	user-select: none;
}

.hp-assurance-trigger:hover {
	background-color: rgba(0, 158, 227, 0.1);
	border-color: #009EE3;
}

.hp-assurance-trigger-icon {
	width: 0.875rem;
	height: 0.875rem;
	stroke: currentColor;
	stroke-width: 2.5px;
}

.hp-assurance-info-icon {
	width: 0.8125rem;
	height: 0.8125rem;
	stroke: #64748b;
	stroke-width: 2.5px;
	margin-left: 0.125rem;
}

/* Floating Tooltip Box (Shopee-like dropdown styling) */
.hp-assurance-tooltip-box {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	z-index: 99;
	width: 290px;
	padding: 1rem;
	background-color: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 0.75rem;
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
	
	/* Hidden state */
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: all 250ms cubic-bezier(0.16, 1, 0.3, 1);
	pointer-events: none;
}

/* Hover and Active behaviors */
.hp-assurance-tooltip-wrapper:hover .hp-assurance-tooltip-box,
.hp-assurance-tooltip-wrapper.active .hp-assurance-tooltip-box {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}

/* Little triangle pointer (tooltip arrow) pointing up */
.hp-assurance-tooltip-box::before {
	content: '';
	position: absolute;
	top: -6px;
	left: 24px;
	width: 10px;
	height: 10px;
	background-color: #ffffff;
	border-left: 1px solid #e2e8f0;
	border-top: 1px solid #e2e8f0;
	transform: rotate(45deg);
	z-index: 100;
}

.hp-assurance-tooltip-header {
	font-size: 10px;
	font-weight: 700;
	color: #64748b; /* slate-500 softer header */
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-top: 0;
	margin-bottom: 0.625rem;
	border-bottom: 1px solid #f1f5f9;
	padding-bottom: 0.375rem;
}

.hp-assurance-tooltip-list {
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
}

.hp-assurance-tooltip-item {
	display: flex;
	align-items: center;
	gap: 0.625rem;
}

.hp-assurance-tooltip-icon {
	width: 1.625rem;
	height: 1.625rem;
	border-radius: 6px;
	background-color: rgba(248, 250, 252, 0.8);
	border: 1px solid rgba(226, 232, 240, 0.5);
	color: #009EE3;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.hp-assurance-tooltip-icon svg {
	width: 0.875rem;
	height: 0.875rem;
	stroke: currentColor;
	stroke-width: 2.5px;
}

.hp-assurance-tooltip-text {
	font-size: 0.75rem; /* 12px */
	color: #475569;
	font-weight: 500;
	text-align: left;
}

.hp-assurance-tooltip-text strong {
	color: #1e293b; /* slate-800 */
	font-weight: 700;
}

/* ==========================================================================
   6. Tabs Component (Description, Specs, User Guide)
   ========================================================================== */
.hp-product-video-section {
	background-color: #ffffff;
	border: 1px solid #f1f5f9;
	border-radius: 0.75rem;
	padding: 1rem;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
	margin-bottom: 1rem;
}

.hp-product-video-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 0.875rem;
}

.hp-product-video-title-wrap {
	display: flex;
	align-items: center;
	gap: 0.625rem;
}

.hp-product-video-chevron {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #94a3b8; /* slate-400 */
	width: 1.25rem;
	height: 1.25rem;
}

.hp-product-video-chevron svg {
	width: 1.125rem;
	height: 1.125rem;
}

.hp-product-video-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border-radius: 9999px;
	background-color: #e6f4ff;
	color: #009EE3;
	flex: 0 0 auto;
}

.hp-product-video-icon svg {
	width: 1.125rem;
	height: 1.125rem;
	transform: translateX(1px);
}

.hp-product-video-heading h2 {
	margin: 0;
	font-size: 1rem;
	line-height: 1.25;
	font-weight: 900;
	text-transform: uppercase;
	color: #009EE3;
	letter-spacing: 0;
}

.hp-product-video-list {
	display: flex;
	gap: 0.75rem;
	overflow-x: auto;
	scrollbar-width: none;
	-ms-overflow-style: none;
	padding: 0.25rem 0;
	cursor: grab;
}

.hp-product-video-list::-webkit-scrollbar {
	display: none;
}

.hp-product-video-card {
	position: relative;
	flex: 0 0 135px;
	aspect-ratio: 4 / 5;
	border-radius: 0.75rem;
	overflow: hidden;
	background-color: #0f172a;
	cursor: pointer;
	transition: transform 200ms ease;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.hp-product-video-card:hover {
	transform: translateY(-2px);
}

.hp-product-video-card-thumb-wrap {
	width: 100%;
	height: 100%;
}

.hp-product-video-card-thumb-wrap img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hp-product-video-play-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(15, 23, 42, 0.15);
	transition: background 200ms ease;
}

.hp-product-video-card:hover .hp-product-video-play-overlay {
	background: rgba(15, 23, 42, 0.25);
}

.hp-product-video-play-btn-icon {
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 9999px;
	background: rgba(15, 23, 42, 0.6);
	backdrop-filter: blur(4px);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	box-shadow: 0 4px 10px rgba(0,0,0,0.3);
	transition: background 200ms ease, transform 200ms ease;
}

.hp-product-video-play-btn-icon svg {
	width: 1rem;
	height: 1rem;
	transform: translateX(1px);
	fill: currentColor;
}

.hp-product-video-card:hover .hp-product-video-play-btn-icon {
	background: #009EE3;
	transform: scale(1.1);
}

.hp-product-video-card-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 60%;
	background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0) 100%);
	display: flex;
	align-items: flex-end;
	padding: 0.5rem;
	pointer-events: none;
}

.hp-product-video-card-title {
	color: #ffffff !important;
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1.25;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

@media (min-width: 640px) {
	.hp-product-video-section {
		padding: 1.25rem;
		border-radius: 1rem;
	}

	.hp-product-video-heading h2 {
		font-size: 1.125rem;
	}

	.hp-product-video-card {
		flex: 0 0 155px;
		border-radius: 1rem;
	}
}

.hp-product-tabs-wrapper {
	background-color: #ffffff;
	border: 1px solid #f1f5f9;
	border-radius: 0.75rem;
	padding: 1rem;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
	margin-bottom: 1rem;
}

@media (min-width: 640px) {
	.hp-product-tabs-wrapper {
		padding: 1.25rem;
		border-radius: 1rem;
	}
}

/* Tab Bar */
.hp-tabs-nav {
	position: relative;
	display: flex;
	border-bottom: 1px solid #f1f5f9;
	margin-bottom: 1rem;
	overflow-x: auto;
	flex-wrap: nowrap;
	-ms-overflow-style: none;
	scrollbar-width: none;
}

.hp-tabs-nav::-webkit-scrollbar {
	display: none;
}

@media (min-width: 768px) {
	.hp-tabs-nav {
		flex-wrap: wrap;
	}
}

.product-tab-btn {
	padding-bottom: 0.625rem;
	padding-left: 0.75rem;
	padding-right: 0.75rem;
	font-weight: 700;
	font-size: 0.875rem;
	color: #64748b;
	background: transparent;
	border: 0;
	cursor: pointer;
	white-space: nowrap;
	transition: all 200ms ease;
	outline: none;
}

@media (min-width: 640px) {
	.product-tab-btn {
		font-size: 1rem;
	}
}

.product-tab-btn:hover {
	color: #334155;
}

.product-tab-btn.active {
	font-weight: 900;
	color: #009EE3;
}

/* Sliding underline line */
#tab-slider-line {
	position: absolute;
	bottom: 0;
	height: 2px;
	background-color: #009EE3;
	transition: all 300ms cubic-bezier(0.16, 1, 0.3, 1);
	pointer-events: none;
}

/* Tab panels */
.product-tab-panel {
	display: none;
	opacity: 0;
	transition: opacity 300ms ease;
}

.product-tab-panel.active {
	display: block;
	opacity: 1;
}

/* Detailed Description Panel styles */
.hp-description-article {
	color: #475569;
	font-size: 0.875rem;
	line-height: 1.6;
	font-weight: 500;
}

@media (min-width: 640px) {
	.hp-description-article {
		font-size: 1rem;
	}
}

.hp-description-article p {
	margin-bottom: 0.75rem;
}

.hp-description-article strong {
	font-weight: 800;
	color: #0f172a;
}

/* Grid highlights layout inside description */
.hp-desc-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.875rem;
	margin: 0.875rem 0;
}

@media (min-width: 768px) {
	.hp-desc-grid {
		grid-template-columns: 1fr 1fr;
	}
}

.hp-desc-highlight-box {
	background-color: rgba(230, 244, 255, 0.3); /* sky-blue/30 */
	border: 1px solid rgba(230, 244, 255, 0.6);
	padding: 0.875rem;
	border-radius: 0.75rem;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.hp-desc-highlight-box h4 {
	font-weight: 800;
	color: #009EE3;
	margin: 0;
	font-size: 0.875rem;
}

@media (min-width: 640px) {
	.hp-desc-highlight-box h4 {
		font-size: 1rem;
	}
}

.hp-desc-highlight-box p {
	font-size: 0.75rem;
	color: #475569;
	margin: 0;
	line-height: 1.5;
}

@media (min-width: 640px) {
	.hp-desc-highlight-box p {
		font-size: 0.8125rem;
	}
}

/* Specifications Table */
.hp-specs-table-wrapper {
	overflow: hidden;
	border: 1px solid #f1f5f9;
	border-radius: 1rem;
	max-width: 48rem; /* max-w-3xl */
}

.hp-specs-table {
	width: 100%;
	text-align: left;
	border-collapse: collapse;
	font-size: 0.875rem;
}

.hp-specs-table tr {
	border-bottom: 1px solid rgba(241, 245, 249, 0.5);
}

.hp-specs-table tr:last-child {
	border-bottom: 0;
}

.hp-specs-table tr.odd {
	background-color: #ffffff;
}

.hp-specs-table tr.even {
	background-color: rgba(248, 250, 252, 0.5); /* slate-50/50 */
}

.hp-specs-table th {
	padding: 0.625rem 0.875rem;
	font-weight: 800;
	color: #1e293b; /* slate-800 */
	width: 33.333333%;
	border-right: 1px solid rgba(241, 245, 249, 0.5);
}

.hp-specs-table td {
	padding: 0.625rem 0.875rem;
	color: #475569;
	font-weight: 600;
}

/* User Guide Step List */
.hp-guide-container {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	max-width: 56rem; /* max-w-4xl */
}

.hp-guide-warning {
	background: linear-gradient(to right, rgba(230, 244, 255, 0.2), rgba(230, 244, 255, 0.05));
	border: 1px solid rgba(230, 244, 255, 0.1);
	border-radius: 1rem;
	padding: 1.25rem;
	margin-bottom: 1rem;
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.hp-guide-warning .warning-emoji {
	font-size: 1.5rem;
}

.hp-guide-warning p {
	font-size: 0.75rem;
	color: #334155;
	font-weight: 700;
	line-height: 1.625;
	margin: 0;
}

@media (min-width: 640px) {
	.hp-guide-warning p {
		font-size: 0.875rem;
	}
}

.hp-guide-warning strong {
	color: #009EE3;
	display: block;
	margin-bottom: 0.125rem;
}

/* Guide Timeline Steps */
.hp-guide-timeline {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 2rem;
	padding-left: 2rem;
	border-left: 2px solid #f1f5f9;
	margin: 0.5rem 0 0.5rem 1rem;
}

.hp-guide-step {
	position: relative;
}

/* Circular Badge step counter */
.hp-step-badge {
	position: absolute;
	left: calc(-2rem - 1rem - 1px); /* center over the border-left */
	top: 0.125rem;
	width: 2rem;
	height: 2rem;
	border-radius: 9999px;
	background-color: #009EE3;
	color: #ffffff;
	font-weight: 900;
	font-size: 0.875rem;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 10px 15px -3px rgba(0, 158, 227, 0.3);
	border: 4px solid #ffffff;
	outline: 2px solid rgba(230, 244, 255, 0.3);
}

.hp-step-details {
	display: flex;
	flex-direction: column;
	gap: 0.375rem;
}

.hp-step-title {
	font-size: 0.875rem;
	font-weight: 900;
	color: #0f172a;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

@media (min-width: 640px) {
	.hp-step-title {
		font-size: 1rem;
	}
}

.hp-step-subtitle {
	font-size: 10px;
	color: #64748b;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin: 0;
}

.hp-step-desc {
	font-size: 0.75rem;
	color: #475569;
	font-weight: 600;
	line-height: 1.625;
	margin: 0;
}

@media (min-width: 640px) {
	.hp-step-desc {
		font-size: 0.875rem;
	}
}

/* ==========================================================================
   7. Customer Reviews Section (Shopee-Style)
   ========================================================================== */
.hp-reviews-wrapper {
	background-color: #ffffff !important;
	border: 1px solid #e2e8f0 !important;
	border-radius: 0.875rem !important;
	box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.03) !important;
	padding: 1rem !important;
	margin-bottom: 2rem;
}

@media (min-width: 640px) {
	.hp-reviews-wrapper {
		padding: 1.25rem !important;
	}
}

.hp-reviews-wrapper h2 {
	font-size: 1.125rem;
	font-weight: 900;
	color: #0f172a;
	margin: 0 0 1rem 0;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid #f1f5f9;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	text-transform: none;
	letter-spacing: normal;
}

@media (min-width: 640px) {
	.hp-reviews-wrapper h2 {
		font-size: 1.25rem;
	}
}

.hp-reviews-wrapper h2::before {
	content: '';
	display: none;
}

/* Overall Star Rating Summary Box */
.hp-rating-overall-box {
	background-color: #f8fafc;
	border: 1px solid #f1f5f9;
	padding: 1rem;
	border-radius: 0.75rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	text-align: center;
	margin-bottom: 1rem;
}

@media (min-width: 768px) {
	.hp-rating-overall-box {
		flex-direction: row;
		text-align: left;
		gap: 2rem;
		padding: 1rem 1.25rem;
	}
}

.hp-rating-score-col {
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.hp-rating-score-col .score-num {
	font-size: 2.25rem;
	font-weight: 900;
	color: #0f172a;
	line-height: 1;
	margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
	.hp-rating-score-col .score-num {
		font-size: 3rem;
	}
}

.hp-rating-score-col .stars {
	color: #fbbf24;
	font-size: 1.125rem;
	margin-bottom: 0.25rem;
	letter-spacing: 1px;
}

.hp-rating-score-col .count-lbl {
	font-size: 0.75rem;
	color: #475569;
	font-weight: 700;
}

/* Progress bar breakdowns */
.hp-rating-breakdown-col {
	flex-grow: 1;
	width: 100%;
	max-width: 28rem; /* max-w-md */
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	font-weight: 700;
	font-size: 0.75rem;
}

.hp-breakdown-row {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.hp-breakdown-row .stars-lbl {
	width: 2rem;
	color: #475569;
	text-align: right;
}

.hp-breakdown-row .progress-bar-bg {
	flex-grow: 1;
	height: 0.625rem;
	background-color: #e2e8f0;
	border-radius: 9999px;
	overflow: hidden;
}

.hp-breakdown-row .progress-bar-fill {
	height: 100%;
	background-color: #fbbf24;
	border-radius: 9999px;
}

.hp-breakdown-row .percentage-lbl {
	width: 2rem;
	color: #475569;
	text-align: left;
}

/* Shopee-style review filters row */
.hp-review-filters-bar {
	background-color: #f8fafc;
	border: 1px solid rgba(241, 245, 249, 0.6);
	padding: 0.75rem;
	border-radius: 0.75rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1rem;
	font-size: 13px;
	font-weight: 700;
	color: #475569;
}

@media (max-width: 639px) {
	.hp-review-filters-bar {
		display: block !important;
		white-space: nowrap !important;
		overflow-x: auto !important;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		width: 100% !important;
		box-sizing: border-box !important;
		padding: 0.625rem !important;
	}
	.hp-review-filters-bar::-webkit-scrollbar {
		display: none !important;
	}
	.hp-review-filters-bar .review-filter-btn {
		display: inline-block !important;
		vertical-align: middle !important;
		margin-right: 0.4rem !important;
		float: none !important;
	}
	.hp-review-filters-bar .review-filter-btn:last-child {
		margin-right: 0 !important;
	}
}

@media (min-width: 640px) {
	.hp-review-filters-bar {
		font-size: 0.875rem;
	}
}

.review-filter-btn {
	padding: 0.4rem 0.875rem;
	border-radius: 0.5rem;
	border: 1px solid #e2e8f0;
	background-color: #ffffff;
	color: #475569;
	cursor: pointer;
	transition: all 200ms ease;
	outline: none;
	font-weight: 700;
}

@media (max-width: 639px) {
	.review-filter-btn {
		font-size: 10px !important;
		padding: 0.35rem 0.625rem !important;
		flex-shrink: 0;
	}
}

.review-filter-btn:hover {
	border-color: #cbd5e1;
}

.review-filter-btn.active {
	border: 2px solid #009EE3;
	background-color: rgba(230, 244, 255, 0.4);
	color: #009EE3;
	padding: calc(0.5rem - 1px) calc(1.125rem - 1px);
}

@media (max-width: 639px) {
	.review-filter-btn.active {
		padding: calc(0.35rem - 1px) calc(0.625rem - 1px) !important;
	}
}

/* Reviews List */
.hp-reviews-list {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.review-item {
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
	border-top: 1px solid #f1f5f9;
	padding-top: 1.5rem;
}

.review-item:first-child {
	border-top: 0;
	padding-top: 0;
}

.review-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.review-author {
	font-weight: 800;
	font-size: 0.875rem;
	color: #1e293b;
}

@media (min-width: 640px) {
	.review-author {
		font-size: 1rem;
	}
}

.review-date {
	font-size: 0.75rem;
	color: #94a3b8;
	font-weight: 600;
}

.review-stars {
	color: #fbbf24;
	font-size: 0.75rem;
	line-height: 1;
}

.review-variant-tag {
	font-size: 0.75rem;
	color: #64748b;
	font-weight: 700;
	margin: 0;
}

.review-comment {
	font-size: 0.75rem;
	color: #475569;
	font-weight: 600;
	line-height: 1.625;
	margin: 0;
}

@media (min-width: 640px) {
	.review-comment {
		font-size: 0.875rem;
	}
}

/* ---- Review Submission Form ---- */
.hp-write-review-section {
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid #f1f5f9;
}

.hp-write-review-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.375rem 1.125rem;
	border: 1px solid #009EE3;
	border-radius: 99px !important;
	background-color: transparent;
	color: #009EE3;
	font-size: 0.75rem;
	font-weight: 800 !important;
	font-family: 'Inter', sans-serif !important;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
	text-decoration: none;
}

.hp-write-review-btn:hover {
	background-color: #009EE3;
	color: #ffffff !important;
	box-shadow: 0 4px 12px rgba(0, 158, 227, 0.15) !important;
	transform: translateY(-2px) !important;
}

.hp-write-review-btn:active {
	transform: scale(0.98);
}

.hp-review-purchase-notice {
	font-size: 0.875rem;
	font-weight: 600;
	color: #94a3b8;
	margin: 0;
	padding: 0.75rem 1rem;
	background-color: #f8fafc;
	border: 1px solid #f1f5f9;
	border-radius: 0.5rem;
}

/* Form – hidden by default, slide open */
.hp-review-form {
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	transition: max-height 0.4s ease, opacity 0.3s ease, margin 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
	margin-top: 0;
	padding: 0;
	border: 0 solid transparent;
	background-color: transparent;
	box-shadow: none;
	box-sizing: border-box;
	position: relative;
}

.hp-review-form.open {
	max-height: 800px;
	opacity: 1;
	margin-top: 1.5rem;
	background-color: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 1rem;
	padding: 1.5rem;
	box-shadow: none;
}

.hp-review-form-close {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	background: transparent !important;
	border: none !important;
	color: #94a3b8 !important;
	cursor: pointer !important;
	padding: 0.25rem !important;
	transition: all 0.2s ease-in-out !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	box-shadow: none !important;
	height: auto !important;
	width: auto !important;
}

.hp-review-form-close svg {
	width: 1.125rem !important;
	height: 1.125rem !important;
	fill: none !important;
	stroke: currentColor !important;
	stroke-width: 2.5 !important;
	stroke-linecap: round !important;
	stroke-linejoin: round !important;
}

.hp-review-form-close:hover {
	color: #ef4444 !important;
	transform: rotate(90deg) !important;
}

/* Star rating selector */
.hp-form-rating {
	margin-bottom: 0.75rem;
}

.hp-form-rating > label {
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	color: #1e293b;
	margin-bottom: 0.25rem;
}

.hp-star-selector {
	display: flex;
	gap: 0.25rem;
}

.hp-form-star {
	font-size: 1.75rem;
	color: #cbd5e1;
	cursor: pointer;
	transition: color 150ms ease, transform 150ms ease;
	line-height: 1;
	user-select: none;
}

.hp-form-star:hover {
	transform: scale(1.15);
}

.hp-form-star.active {
	color: #fbbf24;
}

/* Form groups */
.hp-form-group {
	display: flex;
	flex-direction: column;
	margin-bottom: 0.75rem;
}

.hp-form-group label {
	font-size: 0.875rem;
	font-weight: 700;
	color: #1e293b;
	margin-bottom: 0.25rem;
}

.hp-form-group .required {
	color: #ef4444;
}

.hp-form-group input,
.hp-form-group textarea {
	width: 100%;
	background-color: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 0.5rem;
	color: #1e293b;
	font-size: 0.875rem;
	font-weight: 400;
	transition: all 0.2s ease-in-out;
	box-shadow: none;
	outline: none;
	font-family: inherit;
	box-sizing: border-box;
}

.hp-form-group input {
	height: 2.5rem !important;
	padding: 0 1rem;
}

.hp-form-group textarea {
	padding: 0.75rem 1rem;
	resize: vertical;
	min-height: 100px;
}

.hp-form-group input::placeholder,
.hp-form-group textarea::placeholder {
	color: #94a3b8;
	font-weight: 400;
}

.hp-form-group input:focus,
.hp-form-group textarea:focus {
	outline: none;
	border-color: #009EE3;
	background-color: #ffffff;
	box-shadow: 0 0 0 1px #009EE3;
}

/* 2-column row for Name + Email (guest users) */
.hp-form-row {
	display: flex;
	gap: 1rem;
}

.hp-form-row .hp-form-group {
	flex: 1;
}

@media (max-width: 639px) {
	.hp-form-row {
		flex-direction: column;
		gap: 0;
	}
	.hp-form-star {
		font-size: 1.5rem;
	}
}

/* Submit button */
.hp-submit-review-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.5rem 1.5rem;
	background-color: #009EE3;
	color: #ffffff !important;
	border: none;
	border-radius: 99px !important;
	font-size: 0.75rem;
	font-weight: 800 !important;
	font-family: 'Inter', sans-serif !important;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(0, 158, 227, 0.15) !important;
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.hp-submit-review-btn:hover {
	background-color: #0082ba !important;
	box-shadow: 0 8px 16px rgba(0, 158, 227, 0.25) !important;
	transform: translateY(-2px) !important;
}

.hp-submit-review-btn:active {
	transform: scale(0.98);
}

/* ==========================================================================
   8. Related Products Grid
   ========================================================================== */
.hp-related-section {
	border-top: 1px solid #f1f5f9;
	padding-top: 4rem;
	margin-bottom: 2rem;
}

.hp-related-section .related-title-box {
	text-align: center;
	margin-bottom: 2.5rem;
}

.hp-related-section .hp-section-header {
	display: inline-flex;
	align-items: center;
	gap: 1rem;
	margin: 0;
}

.hp-related-section .header-line {
	width: 3rem;
	height: 1px;
	background: linear-gradient(to right, transparent, #009EE3);
}

.hp-related-section .header-line.line-rev {
	background: linear-gradient(to left, transparent, #009EE3);
}

.hp-related-section .header-dot {
	width: 8px;
	height: 8px;
	border-radius: 9999px;
	background-color: rgba(0, 158, 227, 0.6);
}

.hp-related-section .header-title {
	font-size: 1.125rem;
	font-weight: 900;
	color: #009EE3;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin: 0;
}

@media (min-width: 640px) {
	.hp-related-section .header-title {
		font-size: 1.5rem;
	}
}

/* Related Grid Columns classes */
.hp-related-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
}

@media (min-width: 768px) {
	.hp-related-grid.cols-3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.hp-related-grid.cols-4,
	.hp-related-grid.cols-5 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.hp-related-grid.cols-4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
	.hp-related-grid.cols-5 {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}
}

/* Related Product Cards Layout Overrides (For pages where Tailwind CSS is not loaded) */
.hp-related-grid > div {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 100%;
	background-color: transparent;
	transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	box-sizing: border-box;
}

.hp-related-grid > div:hover {
	transform: translateY(-2px) scale(1.01);
}

/* Image container */
.hp-related-grid > div > div:first-child {
	aspect-ratio: 1 / 1;
	width: 100%;
	background-color: transparent;
	border-radius: 12px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	position: relative;
	box-sizing: border-box;
}

/* Badge inside image wrapper */
.hp-related-grid > div > div:first-child span {
	display: none !important;
}

/* Badge background colors matching helpers.php */
.hp-related-grid > div > div:first-child span.bg-orange-500 {
	background-color: #f97316;
}
.hp-related-grid > div > div:first-child span.bg-emerald-500 {
	background-color: #10b981;
}
.hp-related-grid > div > div:first-child span.bg-orange-600 {
	background-color: #ea580c;
}

/* Link containing the image */
.hp-related-grid > div > div:first-child a {
	display: block;
	width: 100%;
	height: 100%;
}

/* Image */
.hp-related-grid > div > div:first-child img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 12px;
	transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	user-select: none;
	display: block;
}

.hp-related-grid > div:hover img {
	transform: scale(1.05);
}

/* Commented out conflicting related cards layout overrides to use the standard product loop card design
.hp-related-grid > div > div:nth-child(2) {
	padding-top: 0.5rem;
	padding-left: 0.25rem;
	padding-right: 0.25rem;
	padding-bottom: 0;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	box-sizing: border-box;
}

.hp-related-grid > div > div:nth-child(2) > div:first-child .flex.justify-between.items-center {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 0.5rem;
}

.hp-related-grid > div > div:nth-child(2) > div:first-child .flex.items-center.gap-1 {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	flex-direction: row;
	flex-wrap: nowrap;
	white-space: nowrap;
}

.hp-related-grid > div > div:nth-child(2) > div:first-child svg {
	width: 0.875rem;
	height: 0.875rem;
	fill: #fbbf24;
	color: #fbbf24;
	flex-shrink: 0;
}

.hp-related-grid > div > div:nth-child(2) > div:first-child span.text-slate-600 {
	font-size: 0.75rem;
	color: #475569;
	font-weight: 700;
	line-height: 1;
}

.hp-related-grid > div > div:nth-child(2) > div:first-child span.text-slate-500 {
	font-size: 0.75rem;
	color: #64748b;
	font-weight: 500;
	line-height: 1;
}

/* Title (h3) */
.hp-related-grid > div > div:nth-child(2) h3 {
	color: #0f172a;
	font-weight: 800;
	font-size: 0.875rem;
	line-height: 1.35;
	margin-top: 0;
	margin-bottom: 0.5rem;
	transition: color 0.2s ease;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	height: 4.1em;
}

.hp-related-grid > div > div:nth-child(2) h3 a {
	color: #0f172a;
	text-decoration: none;
	transition: color 0.2s ease;
}

.hp-related-grid > div:hover h3 a {
	color: #009EE3;
}

/* Price wrapper */
.hp-related-grid > div > div:nth-child(2) > div:last-child {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	margin-top: auto;
	padding-top: 0.75rem;
	border-top: 1px solid rgba(241, 245, 249, 0.5);
}

.hp-related-grid > div > div:nth-child(2) > div:last-child .flex-col {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.hp-related-grid > div > div:nth-child(2) > div:last-child span.text-primary-blue,
.hp-related-grid > div > div:nth-child(2) > div:last-child span.text-primary-blue .amount,
.hp-related-grid > div > div:nth-child(2) > div:last-child span.text-primary-blue bdi {
	color: #009EE3 !important;
	font-weight: 800;
	font-size: 1rem;
	line-height: 1.25;
}

.hp-related-grid > div > div:nth-child(2) > div:last-child span.text-slate-600.line-through,
.hp-related-grid > div > div:nth-child(2) > div:last-child span.text-slate-600.line-through .amount,
.hp-related-grid > div > div:nth-child(2) > div:last-child span.text-slate-600.line-through bdi {
	color: #64748b !important;
	font-size: 0.75rem;
	text-decoration: line-through;
	line-height: 1;
}

/* Responsive adjustments */
@media (min-width: 1200px) {
	.hp-related-grid > div > div:nth-child(2) h3 {
		font-size: 1rem;
		height: 4.1em;
	}
	.hp-related-grid > div > div:nth-child(2) > div:last-child span.text-primary-blue,
	.hp-related-grid > div > div:nth-child(2) > div:last-child span.text-primary-blue .amount,
	.hp-related-grid > div > div:nth-child(2) > div:last-child span.text-primary-blue bdi {
		font-size: 1.125rem;
	}
}
*/

/* ==========================================================================
   9. Premium Toast Notifications
   ========================================================================== */
.hp-toast-container {
	position: fixed;
	bottom: 1.5rem;
	right: 1.5rem;
	z-index: 999999;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	max-width: 24rem; /* w-96 */
	width: calc(100% - 3rem);
}

.hp-toast {
	display: flex;
	align-items: start;
	gap: 0.75rem;
	background-color: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-radius: 1rem;
	padding: 1rem;
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
	transition: all 300ms cubic-bezier(0.16, 1, 0.3, 1);
	transform: translateY(20px) scale(0.95);
	opacity: 0;
}

.hp-toast.active {
	transform: translateY(0) scale(1);
	opacity: 1;
}

.hp-toast.toast-success {
	border: 1px solid rgba(16, 185, 129, 0.15); /* green */
}

.hp-toast.toast-error {
	border: 1px solid rgba(239, 68, 68, 0.15); /* red */
}

.hp-toast.toast-slate {
	border: 1px solid rgba(148, 163, 184, 0.15); /* slate */
}

.hp-toast .action-lbl {
	font-size: 10px;
	font-weight: 800;
	color: #94a3b8;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin: 0;
}

.hp-toast .msg-text {
	font-size: 0.75rem;
	font-weight: 600;
	color: #334155;
	line-height: 1.35;
	margin: 0.125rem 0 0 0;
}

@media (min-width: 640px) {
	.hp-toast .msg-text {
		font-size: 0.875rem;
	}
}

.hp-toast .close-toast-btn {
	background: transparent;
	border: 0;
	color: #94a3b8;
	font-size: 1.25rem;
	line-height: 1;
	font-weight: 700;
	cursor: pointer;
	padding: 0 0.25rem;
	transition: color 150ms ease;
	margin-left: auto;
}

.hp-toast .close-toast-btn:hover {
	color: #475569;
}

/* Giao diện Popup thêm giỏ hàng phong cách Shopee */
.hp-shopee-toast-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: transparent;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: auto;
	opacity: 0;
	transition: opacity 150ms ease-out;
}
.hp-shopee-toast-overlay.active {
	opacity: 1;
}
.hp-shopee-toast-box {
	background: rgba(0, 0, 0, 0.7);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border-radius: 8px;
	padding: 24px;
	width: 260px;
	max-width: 90%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 16px;
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
	transform: scale(0.9);
	transition: transform 150ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.hp-shopee-toast-overlay.active .hp-shopee-toast-box {
	transform: scale(1);
}
.hp-shopee-toast-icon {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background-color: #00bfa5;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	box-shadow: 0 4px 10px rgba(0, 191, 165, 0.3);
}
.hp-shopee-toast-text {
	color: #ffffff;
	font-size: 14px;
	font-weight: 600;
	text-align: center;
	line-height: 1.4;
	margin: 0 !important;
}

@media (max-width: 767px) {
	.hp-btn-outline,
	.hp-btn-solid {
		padding-left: 0.5rem !important;
		padding-right: 0.5rem !important;
		font-size: 10px !important;
		white-space: nowrap !important;
	}
}

/* ==========================================================================
   Custom Product Video Gallery Styling
   ========================================================================== */
.hp-main-play-btn {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 10;
	width: 64px;
	height: 64px;
	background: rgba(15, 23, 42, 0.6); /* slate-900 / 60% */
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	border: 2px solid #ffffff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
	transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
	outline: none;
	padding: 0;
	margin: 0;
}

.hp-main-play-btn svg {
	width: 28px;
	height: 28px;
	color: #ffffff;
	transform: translateX(2px); /* Shift right slightly to align visual center of triangle */
	transition: transform 250ms ease;
}

.hp-main-play-btn:hover {
	background: #009EE3;
	border-color: #009EE3;
	transform: translate(-50%, -50%) scale(1.1);
	box-shadow: 0 10px 25px -5px rgba(0, 158, 227, 0.5);
}

.hp-main-play-btn:hover svg {
	transform: translateX(2px) scale(1.05);
}

.hp-video-player-container {
	border-radius: 1rem;
	overflow: hidden;
}

@media (min-width: 640px) {
	.hp-video-player-container {
		border-radius: 1.5rem;
	}
}

.thumb-video-wrapper {
	width: 100%;
	height: 100%;
	position: relative;
}

.play-icon-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(15, 23, 42, 0.15);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 200ms ease;
}

.play-icon-overlay svg {
	width: 20px;
	height: 20px;
	color: #ffffff !important;
	filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.thumb-btn.thumb-video:hover .play-icon-overlay {
	background: rgba(0, 158, 227, 0.35);
}

.thumb-btn.thumb-video.active .play-icon-overlay {
	background: rgba(0, 158, 227, 0.18);
}

@media (max-width: 767px) {
	/* 1. Global Container Full-width on mobile */
	.product-detail-container,
	.homepower-wc-container {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	/* 2. Main Product Card Full-width & Borderless */
	.hp-product-main-card {
		padding: 0 !important;
		border-radius: 0 !important;
		border-left: none !important;
		border-right: none !important;
		margin-bottom: 0.5rem !important;
		gap: 0.625rem !important;
	}

	/* 3. Product Gallery (Adjusted with margins to not touch screen edges) */
	.hp-product-zoom-frame {
		border-radius: 0.75rem !important;
		border: 1px solid #f1f5f9 !important;
		margin-left: 10px !important;
		margin-right: 10px !important;
		width: calc(100% - 20px) !important;
	}

	.hp-product-zoom-frame img {
		border-radius: 0.75rem !important;
	}

	#thumb-container {
		margin-left: 10px !important;
		margin-right: 10px !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	/* 4. Product Info Column Padding to prevent text sticking to screen edge */
	.hp-product-main-card > .col.hp-product-info-col {
		padding: 0 !important;
		max-width: 100vw !important;
		overflow: hidden !important;
		box-sizing: border-box !important;
	}

	.hp-product-title {
		max-width: calc(100vw - 20px) !important;
	}

	.hp-buy-box {
		padding-left: 10px !important;
		padding-right: 10px !important;
		padding-bottom: 0.75rem !important;
		gap: 0.625rem !important;
	}

	.hp-fbt-section {
		padding-left: 10px !important;
		padding-right: 10px !important;
		padding-top: 0.5rem !important;
		gap: 0.5rem !important;
	}

	/* 5. Tabs Component Card Layout (Restored side margins and border radius) */
	.hp-product-video-section {
		margin-left: 0 !important;
		margin-right: 0 !important;
		padding: 0.875rem 10px !important;
		border-radius: 0 !important;
		border-left: none !important;
		border-right: none !important;
		margin-bottom: 0.5rem !important;
	}

	.hp-product-video-heading {
		margin-bottom: 0.75rem !important;
	}

	.hp-product-video-icon {
		width: 1.75rem;
		height: 1.75rem;
	}

	.hp-product-video-heading h2 {
		font-size: 0.9375rem !important;
	}

	.hp-product-video-card {
		border-radius: 0.625rem !important;
	}

	.hp-product-tabs-wrapper {
		margin-left: 0 !important;
		margin-right: 0 !important;
		padding: 0.875rem 10px !important;
		border-radius: 0 !important;
		border-left: none !important;
		border-right: none !important;
		margin-bottom: 1rem !important;
	}

	/* 6. Customer Reviews Section Card Layout (Restored side margins and border radius) */
	.hp-reviews-wrapper {
		margin-left: 0 !important;
		margin-right: 0 !important;
		padding: 0.875rem 10px !important;
		border-radius: 0 !important;
		border-left: none !important;
		border-right: none !important;
		margin-bottom: 1.25rem !important;
	}

	.hp-rating-overall-box {
		padding: 10px !important;
		flex-direction: column !important;
		gap: 0.875rem !important;
	}

	/* 7. Related Products Grid */
	.hp-related-section {
		padding-left: 10px !important;
		padding-right: 10px !important;
		padding-top: 1rem !important;
		margin-bottom: 1rem !important;
	}

	.hp-related-grid {
		gap: 8px !important;
	}

	/* 8. Shipping Notice vertical stack to prevent text wrapping */
	.hp-shipping-row {
		flex-direction: column !important;
		gap: 0.5rem !important;
	}
	.hp-shipping-label {
		width: auto !important;
		margin-bottom: 0.25rem !important;
	}

	/* 9. Product CTA buttons 50/50 horizontal width to prevent wrapping */
	.hp-cta-actions {
		flex-wrap: nowrap !important;
	}
	.hp-cta-actions .hp-btn-outline,
	.hp-cta-actions .hp-btn-solid {
		width: calc(50% - 0.375rem) !important;
		flex: 1 !important;
	}
}

/* ==========================================================================
   Review Media Gallery Styles
   ========================================================================== */
.review-media-gallery {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 0.5rem;
}

.review-image-link,
.review-video-link {
	display: block;
	width: 4.5rem;
	height: 4.5rem;
	border-radius: 0.5rem;
	overflow: hidden;
	border: 1px solid #e2e8f0;
	cursor: zoom-in;
	transition: transform 0.2s ease, border-color 0.2s ease;
	position: relative;
	background-color: #000000;
}

.review-image-link:hover,
.review-video-link:hover {
	transform: scale(1.04);
	border-color: #009EE3;
}

.review-image-link img,
.review-video-link video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Play Icon Overlay for Review Video Thumbnails */
.play-icon-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: rgba(0, 0, 0, 0.2);
	pointer-events: none;
}

.play-icon-overlay svg {
	width: 1.5rem;
	height: 1.5rem;
	color: #ffffff;
	filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

/* ==========================================================================
   Review Pagination Styles
   ========================================================================== */
.hp-reviews-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.375rem;
	margin-top: 1.5rem;
	margin-bottom: 0.5rem;
}

.hp-page-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 0.375rem;
	border: 1px solid #e2e8f0;
	background-color: #ffffff;
	color: #475569;
	font-size: 0.875rem;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.2s ease;
	outline: none;
}

.hp-page-btn:hover:not(:disabled) {
	border-color: #cbd5e1;
	color: #1e293b;
	background-color: #f8fafc;
}

.hp-page-btn.active {
	background-color: #009EE3;
	border-color: #009EE3;
	color: #ffffff;
}

.hp-page-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	background-color: #f1f5f9;
	color: #94a3b8;
}

.hp-page-ellipsis {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	color: #94a3b8;
	font-size: 0.875rem;
	font-weight: 700;
}

/* ==========================================================================
   Review Responsive Mobile Styles
   ========================================================================== */
@media (max-width: 767px) {
	/* Review Media Gallery on Mobile */
	.review-image-link,
	.review-video-link {
		width: 3.5rem;
		height: 3.5rem;
		border-radius: 0.375rem;
	}
	
	.play-icon-overlay svg {
		width: 1.25rem;
		height: 1.25rem;
	}
	
	.review-media-gallery {
		gap: 0.375rem;
		margin-top: 0.375rem;
	}

	/* Review Pagination on Mobile */
	.hp-page-btn {
		width: 1.875rem;
		height: 1.875rem;
		font-size: 0.75rem;
		border-radius: 0.25rem;
	}
	
	.hp-page-ellipsis {
		width: 1.875rem;
		height: 1.875rem;
		font-size: 0.75rem;
	}
	
	.hp-reviews-pagination {
		gap: 0.25rem;
		margin-top: 1rem;
	}
}

/* ==========================================================================
   Review Media Lightbox Styles
   ========================================================================== */
.hp-media-lightbox {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(15, 23, 42, 0.95);
	z-index: 99999;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 250ms ease;
	user-select: none;
}

.hp-media-lightbox-container {
	position: relative;
	width: 90%;
	max-width: 500px; /* Reduced from 800px */
	height: 500px;    /* Squarish, neat box instead of full height */
	max-height: 70vh;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Content Wrapper */
.hp-media-lightbox-content {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 0.75rem;
	overflow: hidden;
	background: #000000;
}

.hp-media-lightbox-content img,
.hp-media-lightbox-content video {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	display: block;
}

.hp-media-lightbox-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: #ffffff !important;
	border: none !important;
	color: #0f172a !important; /* Slate 900 */
	font-size: 1.125rem !important;
	width: 2.75rem !important; /* 44px */
	height: 2.75rem !important; /* 44px */
	border-radius: 9999px !important;
	cursor: pointer;
	display: none;
	align-items: center;
	justify-content: center;
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4), 0 8px 10px -6px rgba(0, 0, 0, 0.4) !important;
	transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
	z-index: 10;

	/* Reset Flatsome button overrides */
	padding: 0 !important;
	margin: 0 !important;
	min-width: 0 !important;
	min-height: 0 !important;
	line-height: 1 !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	font-weight: normal !important;
}

@media (hover: hover) {
	.hp-media-lightbox-nav:hover {
		background: #009EE3 !important;
		color: #ffffff !important;
		transform: translateY(-50%) scale(1.08) !important;
	}
}

.hp-media-lightbox-nav:active {
	background: #009EE3 !important;
	color: #ffffff !important;
	transform: translateY(-50%) scale(0.95) !important;
}

.hp-media-lightbox-prev {
	left: -1.375rem; /* Offsets half of the width (-22px) */
}

.hp-media-lightbox-next {
	right: -1.375rem; /* Offsets half of the width (-22px) */
}

.hp-media-lightbox-close {
	position: absolute;
	top: -40px;
	right: 0;
	background: transparent !important;
	border: none !important;
	color: #ffffff !important;
	font-size: 30px !important;
	cursor: pointer;
	line-height: 1;

	/* Reset Flatsome button overrides */
	padding: 0 !important;
	margin: 0 !important;
	min-width: 0 !important;
	min-height: 0 !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	font-weight: normal !important;
}

.hp-media-lightbox-counter {
	position: absolute;
	bottom: -30px;
	left: 0;
	width: 100%;
	text-align: center;
	color: #ffffff;
	font-size: 14px;
	font-weight: 700;
}

/* Responsive adjustments for mobile */
@media (max-width: 1024px) {
	.hp-media-lightbox-container {
		width: 90%;
		height: 380px; /* Compact box on mobile */
		max-height: 60vh;
	}
	.hp-media-lightbox-nav {
		width: 2.25rem !important; /* 36px */
		height: 2.25rem !important; /* 36px */
		font-size: 0.875rem !important;
	}
	.hp-media-lightbox-prev {
		left: 0.5rem; /* Positioned inside the container on mobile to prevent clipping */
	}
	.hp-media-lightbox-next {
		right: 0.5rem; /* Positioned inside the container on mobile to prevent clipping */
	}
}

/* Out of stock variants (Shopee style) */
.variant-btn:disabled,
.variant-btn.out-of-stock {
	background-color: #f8fafc !important;
	border: 1px dashed #cbd5e1 !important;
	color: #94a3b8 !important;
	cursor: not-allowed !important;
	opacity: 0.6 !important;
	pointer-events: none;
	box-shadow: none !important;
	transform: none !important;
}

.variant-btn:disabled .variant-btn__image,
.variant-btn.out-of-stock .variant-btn__image {
	opacity: 0.5 !important;
	filter: grayscale(100%);
}

@media (max-width: 767px) {
	.hp-mobile-variant-option:disabled,
	.hp-mobile-variant-option.out-of-stock {
		background-color: #f8fafc !important;
		border: 1px dashed #cbd5e1 !important;
		color: #94a3b8 !important;
		cursor: not-allowed !important;
		opacity: 0.6 !important;
		pointer-events: none;
		box-shadow: none !important;
	}

	.hp-mobile-variant-option:disabled img,
	.hp-mobile-variant-option.out-of-stock img {
		opacity: 0.5 !important;
		filter: grayscale(100%);
	}
}
