.z-999 {
	z-index: 999;
}

.btn {
	border-radius: var(--rounded-button);
}

select {
	padding: 4px;
}

select option {
	padding: 4px;
	/* Add padding around each option */
}

/* ============================================
PRODUCT DETAILS ACCORDION - CLEAN & MODERN
============================================ */

/* Base details/summary reset */
details>summary {
	list-style: none;
	cursor: pointer;
	user-select: none;
}

details>summary::-webkit-details-marker {
	display: none;
}

/* Product details accordion container */
.product-form-wrapper details.group\/details {
	position: relative;
	background: var(--color-background);
	border: 1px solid var(--color-neutral-50);
	border-radius: 12px;
	margin-bottom: 12px;
	overflow: hidden;
}

.product-form-wrapper details.group\/details:hover {
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.product-form-wrapper details.group\/details[open] {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* Summary (header) styling */
.product-form-wrapper details.group\/details summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	font-weight: 600;
	font-size: 1.6rem;
	color: var(--color-foreground);
	background: var(--color-background);
	position: relative;
}

.product-form-wrapper details.group\/details summary:hover {
	background: #f8f8f8;
}

.product-form-wrapper details.group\/details[open] summary {
	background: #f8f8f8;
	color: var(--color-primary);
	border-bottom: 1px solid var(--color-neutral-50);
}

/* Summary title */
.product-form-wrapper details.group\/details summary h3 {
	margin: 0;
	font-size: 1.6rem;
	font-weight: 600;
}

/* Icon styling - no animation */
.product-form-wrapper details.group\/details summary .icon-carret-down {
	color: var(--color-neutral-100);
	font-size: 1.8rem;
}

.product-form-wrapper details.group\/details[open] summary .icon-carret-down {
	transform: rotate(180deg);
	color: var(--color-primary);
}

.product-form-wrapper details.group\/details summary:hover .icon-carret-down {
	color: var(--color-primary);
}

/* Content area - instant display */
.product-form-wrapper details.group\/details .content {
	display: none;
	padding: 20px;
}

.product-form-wrapper details.group\/details[open] .content {
	display: block;
}

/* Content typography */
.product-form-wrapper details.group\/details .content.prose {
	line-height: 1.7;
	color: var(--color-foreground);
}

.product-form-wrapper details.group\/details .content.prose p {
	margin-bottom: 12px;
}

.product-form-wrapper details.group\/details .content.prose ul,
.product-form-wrapper details.group\/details .content.prose ol {
	margin-left: 20px;
	margin-bottom: 12px;
}

.product-form-wrapper details.group\/details .content.prose li {
	margin-bottom: 8px;
}

/* First accordion item special styling */
.product-form-wrapper details.group\/details:first-of-type {
	margin-top: 0;
}

/* Active state indicator */




/* Mobile optimizations */
@media (max-width: 767px) {
	.product-form-wrapper details.group\/details {
		border-radius: 8px;
		margin-bottom: 8px;
	}

	.product-form-wrapper details.group\/details summary {
		padding: 14px 16px;
		font-size: 1.5rem;
	}

	.product-form-wrapper details.group\/details summary h3 {
		font-size: 1.5rem;
	}

	.product-form-wrapper details.group\/details[open] .content {
		padding: 16px;
	}

	.product-form-wrapper details.group\/details summary .icon-carret-down {
		font-size: 1.6rem;
	}
}

/* Tablet optimizations */
@media (min-width: 768px) and (max-width: 1024px) {
	.product-form-wrapper details.group\/details summary {
		padding: 15px 18px;
	}
}

/* Enhanced content styling */
.product-form-wrapper details.group\/details .content.prose img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	margin: 16px 0;
}

.product-form-wrapper details.group\/details .content.prose table {
	width: 100%;
	border-collapse: collapse;
	margin: 16px 0;
}

.product-form-wrapper details.group\/details .content.prose table td,
.product-form-wrapper details.group\/details .content.prose table th {
	padding: 10px;
	border: 1px solid var(--color-neutral-50);
}

.product-form-wrapper details.group\/details .content.prose table th {
	background: var(--color-neutral-50);
	font-weight: 600;
}

/* Smooth scroll behavior when opening */
.product-details-accordion {
	scroll-margin-top: 100px;
}


/* Legacy support for icon-carret-right */
details[open]>summary>.icon-carret-right {
	transform: rotate(90deg);
}

.h-inherit {
	height: inherit !important;
}

.break-word {
	word-break: break-word;
}

.addtocart-btn {
	--color-button-primary: var(--color-addtocart-bg);
	--color-button-primary-text: var(--color-addtocart);
}

.card-product .addtocart-btn {
	padding: 7px;
	width: 3.2rem;
	height: 3.2rem;
	position: relative;
	margin-left: auto;
}

@media (min-width: 1024px) {
	.card-product .addtocart-btn {
		padding: 11px 8px;
		width: 100%;
		height: auto;
		border-radius: var(--rounded-button);
		position: relative;
	}
}

.btn:disabled {
	opacity: 0.5;
}

.collection-item-thumb-bg::after {
	display: block;
	content: "";
	background: #ebebeb;
	width: 50% !important;
	height: 50% !important;
	border-radius: 100%;
	position: absolute;
	margin: auto;
	z-index: -1 !important;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	transition: all .3s ease;
}

.collection-item-thumb-bg:hover::after {
	transform: scale(1.1) translateZ(0);
}

@media (min-width: 768px) {
	.collection-item span {
		font-size: 1.8rem;
	}
}

.collection-item-thumb-bg:hover::after {
	background: var(--coll-bg-hover);
	background: linear-gradient(to top,
		color-mix(in oklab, var(--coll-bg-hover), white 14%) 0%, var(--coll-bg-hover) 55%,
		color-mix(in oklab, var(--coll-bg-hover), black 12%) 100%);
	/* transform: translate(-50%, -50%) scale(1.04); */
}

.section-flashsale:after {
	z-index: -1;
}

.overflow-item {
	display: none;
}

.aside-item {
	background: var(--color-background);
}

.filter-container {
	gap: 1px;
}

@media (max-width: 1269px) {
	.collection-filter {
		position: fixed;
		top: 0 !important;
		right: 0;
		width: 100%;
		z-index: 9999;
		max-height: 100vh;
		overflow: auto;
		border-radius: 0px;
	}
}

.is-empty .cart-form {
	display: none;
}

.portal--modal .portal-inner {
	height: auto;
	max-width: 100.24rem;
	width: 100%;
}

@media(max-width: 1024px) {
	.portal--modal .portal-inner {
		max-width: 72.4rem
	}
}

.portal--modal.portal--modal-sm .portal-inner {
	height: auto;
	max-width: 50rem;
}

.loading-icon {
	height: 2rem;
}

.loading>span:not(.loading-icon) {
	display: none;
}

.map iframe {
	width: 100%;
}

/** compare qv **/

#quick-view-compare .portal-inner {
	width: calc(100% - var(--container-padding) * 2);
	max-width: calc(1440px - var(--container-padding) * 2);
	height: auto;
	bottom: var(--container-padding) !important;
	top: auto !important;
	overflow: initial;
	box-shadow: var(--shadow-l);
	position: absolute;
}

#PortalClose-quick-view {
	top: -5rem;
}

.compare-product__qv-show {
	grid-column: 4;
}

@media (max-width: 767px) {
	.compare-product__qv-show {
		grid-column: 1 / -1;
	}
}

.color-spot {
	width: 30px;
	height: 30px;
	display: block;
	border-radius: var(--rounded-full);
	overflow: hidden;
	border: #fff;
	display: block;
}

.color-swatch {
	width: 38px;
	height: 38px;
	padding: 0;
	box-shadow: 0 0 0 1px var(--color-neutral-50),
		inset 0 0 0 2px var(--color-background);
	overflow: hidden;
}

.product-gallery {
	--thumbs-size: 8rem;
}

/* Mobile - Force bottom layout */
@media (max-width: 767px) {
	.product-gallery.layout-left .gallery-container {
		display: block !important;
	}

	.product-gallery.layout-left .embla-thumbs,
	.product-gallery.layout-left .gallery-main {
		order: initial !important;
		width: auto !important;
		flex: none !important;
	}

	.product-gallery.layout-left .gallery-thumbnails {
		margin-top: 0.75rem !important;
		width: auto !important;
		height: auto !important;
		opacity: 1 !important;
	}

	.product-gallery.layout-left .gallery-thumbnails .embla__container {
		flex-direction: row !important;
		height: auto !important;
	}

	.product-gallery.layout-left .gallery-thumbnails .embla__slide {
		width: 6.1rem !important;
	}
}

/* Desktop only - Left layout */
@media (min-width: 768px) {
	.product-gallery.layout-left .gallery-container {
		display: flex !important;
	}

	.product-gallery.layout-left .embla-thumbs {
		order: 1 !important;
		width: 8rem !important;
		flex-shrink: 0 !important;
	}

	.product-gallery.layout-left .gallery-main {
		order: 2 !important;
		flex: 1 !important;
	}

	.product-gallery.layout-left .gallery-thumbnails .embla__container {
		flex-direction: column !important;
		height: 100% !important;
	}

	.product-gallery.layout-left .gallery-thumbnails .embla__slide {
		width: 100% !important;
	}
}

/* Thumbnail styling improvements */
.gallery-thumbnails .embla__slide {
	opacity: 0.6;
	transition: opacity 0.3s ease;
}

.gallery-thumbnails .embla__slide:hover {
	opacity: 0.8;
}

.gallery-thumbnails .embla__slide.embla-thumbs__slide--selected {
	opacity: 1;
}

.gallery-thumbnails .embla__slide>div {
	border: 2px solid transparent;
	border-radius: 0.5rem;
	transition: border-color 0.3s ease;
}

.product-gallery--vertical .embla-thumbs .embla__container {
	overflow: hidden;
}

@media (min-width: 768px) {
	.product-gallery--vertical .embla-thumbs .embla__container {
		touch-action: pan-x pinch-zoom;
		flex-direction: column;
	}

	.product-gallery--vertical .gallery-container {
		padding-left: calc(var(--thumbs-size) + var(--spacing-3));
	}

	#quick-view-product .gallery-container {
		padding-left: 0;
	}

	.product-gallery--vertical .embla-thumbs {
		position: absolute;
		inset: 0;
		height: 100%;
		z-index: 2;
		width: max-content;
	}

	.product-gallery--vertical .embla-thumbs .embla__slide {
		margin: 0;
	}
}

.ega-badge-ctd__item {
	color: var(--color-flashsale-timer);
	background-color: var(--color-flashsale-timer-bg);
}

.stock-percent {
	background: var(--color-flashsale-process);
}

.flashsale-heading {
	font-weight: var(--font-headings-weight);
	font-family: var(--font-headings-family);
}

.flashsale-tab {
	cursor: pointer;
}

.flashsale-tab.ended {
	cursor: not-allowed;
	display: none;
}

.flashsale-tab .status {
	display: inline-block;
	padding: 4px 8px;
	border-radius: var(--rounded-full);
}

.flashsale-tab.ongoing .status {
	background: var(--color-flashsale-tab-bg);
	color: var(--color-flashsale-tab);
}

.product-flashsale-item {
	color: var(--color-flashsale);
	background: var(--color-flashsale-bg);
}

.flashsale-tab.active {
	background: var(--color-flashsale-tab-bg);
	color: var(--color-flashsale-tab);
	border-radius: 12px;
}

.flashsale-nav {
	border-radius: 12px;
}

.flashsale-background {
	--side-width: 120px;
	width: calc(1440px - var(--spacing-3) - 2 * var(--side-width));
}

.flashsale-heading:hover a {
	color: var(--color-flashsale-title-hover);
}

@media (max-width: 976px) {
	.flashsale-background {
		--side-width: 120px;
		width: 100%;
	}

	.flashsale-nav {
		border-radius: 0;
		padding: 12px 12px;
		/* margin: 0 -12px; */
	}
}

@media (max-width: 767px) {
	.flashsale-nav {
		border-radius: 0;
		/* padding: 0;
		margin: 0 -12px; */
	}

	.flashsale-nav>ul {
		grid-template-columns: repeat(3, auto);
		white-space: nowrap;
		gap: var(--spacing-1);
	}

	.flashsale-tab {
		padding-left: var(--spacing-1);
		padding-right: var(--spacing-1);
	}
}

.product-detail .flashsale__countdown-label {
	display: none !important;
}

.product-flashsale-item .stock-countdown {
	width: 50%;
}

.product-flashsale-item .ega-badge-ctd__item {
	width: 3.2rem;
}

.product-flashsale-item .ega-badge-ctd__h {
	font-size: var(--font-size-h6);
}

.product-flashsale-item .ega-badge-ctd__item span {
	display: none;
}

.product-flashsale-item:has(.active.ongoing) {
	padding: 0.8rem 1.2rem;
}

.product-price-group:has(.active.ongoing) {
	border: 1px solid var(--color-flashsale-bg);
}

.product-price-group:has(.active.ongoing) .price-box {
	padding: 1.2rem 0.8rem 1.2rem;
}

.product-flashsale-item .ega-badge-dot {
	display: block;
}

/* ============================================
COUPON CARDS - MODERN DESIGN
============================================ */

.coupon-list {
	display: flex;
	flex-direction: column;
	grid-gap: 2rem;
	padding: 2rem;
	border-radius: 4px;
	max-height: 100%;
	overflow: auto;
	padding-bottom: calc(2rem + constant(safe-area-inset-bottom)) !important;
	padding-bottom: calc(2rem + env(safe-area-inset-bottom)) !important;
}

/* Coupon Card Container */
.coupon-card {
	position: relative;
	background: var(--coupon-active-bg, #FFFFFF);
	border-radius: 16px;
	padding: 24px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.coupon-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

/* Decorative circles in background */
.coupon-card::before {
	content: '';
	position: absolute;
	width: 120px;
	height: 120px;
	border-radius: 50%;
	background: var(--coupon-badge-color, #FF6B00);
	top: -40px;
	right: -40px;
	z-index: 0;
	opacity: 0.1;
}

/*
.coupon-card::after {
content: '';
position: absolute;
width: 80px;
height: 80px;
border-radius: 50%;
background: var(--coupon-badge-color, #FF6B00);
bottom: -20px;
left: -10px;
z-index: 0;
opacity: 0.1;
}
*/

/* Badge Label */
.coupon-badge {
	display: inline-block;
	width: fit-content;
	max-width: 100%;
	background: var(--coupon-badge-color, #FF6B00);
	color: var(--coupon-active-badge-text, #FFFFFF);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	padding: 6px 12px;
	border-radius: 6px;
	margin-bottom: 16px;
	position: relative;
	z-index: 1;
}

/* Coupon Content */
.coupon-content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.coupon-content copy-button {
	display: block;
}

.coupon-title {
	font-size: 24px;
	font-weight: 700;
	color: var(--coupon-active-title, #1A1A1A);
	margin: 0 0 8px 0;
	letter-spacing: 1px;
}

.coupon-description {
	font-size: 14px;
	color: var(--coupon-active-desc, #666666);
	margin: 0 0 16px 0;
	line-height: 1.5;
}

/* Expiry Date - Always reserve space */
.coupon-expiry {
	font-size: 12px;
	color: #999999;
	margin-top: auto;
	margin-bottom: 16px;
	min-height: 20px;
	line-height: 20px;
}

.coupon-expiry-placeholder {
	opacity: 0;
	visibility: hidden;
}

.coupon-expiry-date {
	display: inline-block;
}

/* Copy Button */
.coupon-copy-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	background: var(--coupon-active-button-bg, #1A1A1A);
	color: var(--coupon-active-button-text, #FFFFFF);
	border: 2px dashed var(--coupon-active-button-bg, #1A1A1A);
	padding: 12px 20px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
}

.coupon-copy-btn:hover {
	background: color-mix(in oklab, var(--coupon-active-button-bg, #1A1A1A), white 20%);
	border-color: color-mix(in oklab, var(--coupon-active-button-bg, #1A1A1A), white 20%);
	transform: scale(1.02);
}

.coupon-copy-btn .icon {
	font-size: 16px;
}

/* ============================================
EXPIRED COUPON STATE - DARK THEME
============================================ */
.coupon-card.expired::before,
.coupon-card.expired::after {
	background: #f6f6f6;
}

.coupon-card.expired .coupon-badge {
	filter: grayscale(1);
	opacity: 0.5;
}

.coupon-card.expired .coupon-copy-btn {
	background: transparent;
	border-color: #4A4A4A;
	color: #888888;
	cursor: not-allowed;
	opacity: 0.6;
}

.coupon-card.expired .coupon-copy-btn:hover {
	transform: none;
	background: transparent;
	border-color: #4A4A4A;
}

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

@media (max-width: 767px) {
	.coupon-card {
		padding: 20px;
		border-radius: 12px;
	}

	.coupon-title {
		font-size: 20px;
	}

	.coupon-description {
		font-size: 13px;
	}

	.coupon-copy-btn {
		padding: 10px 16px;
		font-size: 13px;
	}
}

/* Coupon Carousel - Prevent shadow clipping */
.section-coupons .embla {
	overflow: visible;
}

.section-coupons .embla__viewport {
	overflow-x: clip;
	overflow-y: visible;
}

.section-coupons .embla__container {
	display: flex;
	align-items: stretch;
}

.section-coupons .embla__slide {
	display: flex;
}

.section-coupons .embla__slide coupon-item {
	display: flex;
	width: 100%;
	flex: 1;
}

.section-coupons .coupon-item {
	display: flex;
	flex-direction: column;
	flex: 1;
	width: 100%;
}

/* ============================================
COUPON MODAL - MODERN UI
============================================ */

.coupon-modal-inner {
	max-width: 500px;
	width: 100%;
}

.coupon-modal-content {
	position: relative;
}

/* Modal Badge */
.coupon-modal-badge {
	background: var(--coupon-badge-color, #FF6B00);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	padding: 6px 16px;
	border-radius: 20px;
}

/* Modal Title */
.coupon-modal-title {
	color: var(--color-foreground);
	font-weight: 700;
	letter-spacing: 0.5px;
}

.coupon-modal-subtitle {
	color: var(--color-neutral-300);
	line-height: 1.5;
}

/* Code Display Box */
.coupon-modal-code-box {
	background: linear-gradient(135deg, #F8F9FA 0%, #E9ECEF 100%);
	border: 2px dashed var(--coupon-active-badge-from, #FF6B00);
	border-radius: 12px;
	padding: 20px;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.coupon-modal-code-box::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -50%;
	width: 100px;
	height: 100px;
	background: radial-gradient(circle, rgba(255, 107, 0, 0.1) 0%, transparent 70%);
	border-radius: 50%;
}

.coupon-code-display {
	position: relative;
	z-index: 1;
}

.coupon-code-text {
	font-size: 28px;
	font-weight: 700;
	color: var(--coupon-active-badge-from, #FF6B00);
	letter-spacing: 2px;
	font-family: 'Courier New', monospace;
	text-transform: uppercase;
}

/* Modal Description */
.coupon-desc {
	color: var(--color-foreground);
	line-height: 1.7;
	font-size: 14px;
}

.coupon-desc ul,
.coupon-desc ol {
	margin-left: 20px;
	margin-bottom: 12px;
}

.coupon-desc li {
	margin-bottom: 8px;
}

/* Modal Actions */
.coupon-modal-actions {
	gap: 12px;
}

.coupon-modal-actions .btn {
	font-size: 15px;
	font-weight: 600;
	border-radius: 12px;
	transition: all 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.coupon-modal-actions .btn--secondary:hover {
	background: var(--color-neutral-100);
	border-color: var(--color-neutral-200);
	transform: translateY(-1px);
}

.coupon-modal-actions .btn--primary {
	background: var(--coupon-active-button-bg, #1A1A1A);
	color: var(--coupon-active-button-text, #FFFFFF);
	border: none;
}

.coupon-modal-actions .btn--primary:hover {
	transform: translateY(-2px);
}

.coupon-modal-actions .icon-copy {
	font-size: 18px;
	display: inline-block;
	vertical-align: middle;
}

/* Mobile Responsive */
@media (max-width: 767px) {
	.coupon-modal-inner {
		max-width: 100%;
	}

	.coupon-modal-content {
		padding: 24px !important;
	}

	.coupon-modal-title {
		font-size: 20px !important;
	}

	.coupon-code-text {
		font-size: 22px;
		letter-spacing: 1px;
	}

	.coupon-modal-code-box {
		padding: 16px;
	}
}

/* Legacy support */
#coupon-modal,
.coupon-item {
	--color-primary: var(--color-coupon-primary);
}

.coupon-item-bg {
	background: var(--color-coupon-primary);
}

@media (min-width: 768px) {
	.product-flashsale-item .stock-countdown {
		width: 20rem;
	}
}

.cart-drawer-related-products {
	max-width: calc(1440px - var(--dialog-max-width) - 1.6rem);
	padding-left: 0.8rem;
	margin: auto;
	width: calc(100% - var(--dialog-max-width) - 1.6rem);
}

.cart-releated-products .card-product--horizontal .card-product__cta {
	display: block;
}

.card-product__option.selected .card-product__option-dot {
	box-shadow: none;
}

.card-product__option-dot-lg {
	width: 3.2rem;
	height: 3.2rem;
}

.card-product__option-dot-md {
	width: 2.6rem;
	height: 2.6rem;
}

.card-product__option-dot-sm {
	width: 1.4rem;
	height: 1.4rem;
}

.card-product__option-dot-sm {
	border-radius: 100%;
}

@media (max-width: 1024px) {
	.card-product__option-dot-lg {
		width: 2.4rem;
		height: 2.4rem;
	}

	.card-product__option-dot-md {
		width: 2rem;
		height: 2rem;
	}

	.card-product__option-dot-sm {
		width: 1.4rem;
		height: 1.4rem;
	}
}

.card-product--horizontal form {
	padding-inline: 0;
}

@media (max-width: 767px) {
	.card-product--horizontal form {
		padding-inline: 0;
	}

	.card-product--horizontal form {
		grid-template-columns: 8rem 1fr;
	}
}

.card-product .stock-countdown-inner {
	margin-bottom: var(--spacing-3);
}

@media (max-width: 767px) {
	.card-product .stock-countdown-inner {
		margin-bottom: 0;
	}
}

.slide-in-left {
	-webkit-animation: slide-in-left 0.4s cubic-bezier(0.39, 0.575, 0.565, 1) both;
	animation: slide-in-left 0.4s cubic-bezier(0.39, 0.575, 0.565, 1) both;
}

@-webkit-keyframes slide-in-left {
	0% {
		-webkit-transform: translateX(-1000px);
		transform: translateX(-1000px);
		opacity: 0;
	}

	100% {
		-webkit-transform: translateX(0);
		transform: translateX(0);
		opacity: 1;
	}
}

@keyframes slide-in-left {
	0% {
		-webkit-transform: translateX(-1000px);
		transform: translateX(-1000px);
		opacity: 0;
	}

	100% {
		-webkit-transform: translateX(0);
		transform: translateX(0);
		opacity: 1;
	}
}

.slide-in-right {
	-webkit-animation: slide-in-right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
	animation: slide-in-right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@-webkit-keyframes slide-in-right {
	0% {
		-webkit-transform: translateX(1000px);
		transform: translateX(1000px);
		opacity: 0;
	}

	100% {
		-webkit-transform: translateX(0);
		transform: translateX(0);
		opacity: 1;
	}
}

@keyframes slide-in-right {
	0% {
		-webkit-transform: translateX(1000px);
		transform: translateX(1000px);
		opacity: 0;
	}

	100% {
		-webkit-transform: translateX(0);
		transform: translateX(0);
		opacity: 1;
	}
}

.slide-in-bottom {
	-webkit-animation: slide-in-bottom 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
	animation: slide-in-bottom 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@-webkit-keyframes slide-in-bottom {
	0% {
		-webkit-transform: translateY(1000px);
		transform: translateY(1000px);
		opacity: 0;
	}

	100% {
		-webkit-transform: translateY(0);
		transform: translateY(0);
		opacity: 1;
	}
}

@keyframes slide-in-bottom {
	0% {
		-webkit-transform: translateY(1000px);
		transform: translateY(1000px);
		opacity: 0;
	}

	100% {
		-webkit-transform: translateY(0);
		transform: translateY(0);
		opacity: 1;
	}
}

.scale-in-hor-left {
	-webkit-animation: scale-in-hor-left 0.4s ease-out both;
	animation: scale-in-hor-left 0.4s ease-out both;
}

@-webkit-keyframes scale-in-hor-left {
	0% {
		-webkit-transform: scaleX(0);
		transform: scaleX(0);
		-webkit-transform-origin: 0% 0%;
		transform-origin: 0% 0%;
		opacity: 1;
	}

	100% {
		-webkit-transform: scaleX(1);
		transform: scaleX(1);
		-webkit-transform-origin: 0% 0%;
		transform-origin: 0% 0%;
		opacity: 1;
	}
}

@keyframes scale-in-hor-left {
	0% {
		-webkit-transform: scaleX(0);
		transform: scaleX(0);
		-webkit-transform-origin: 0% 0%;
		transform-origin: 0% 0%;
		opacity: 0;
	}

	100% {
		-webkit-transform: scaleX(1);
		transform: scaleX(1);
		-webkit-transform-origin: 0% 0%;
		transform-origin: 0% 0%;
		opacity: 1;
	}
}

animating:not(.fade-in),
.animating:not(.fade-in)>* {
	opacity: 0;
}

.fade-in {
	-webkit-animation: fade-in 0.4s cubic-bezier(0.39, 0.575, 0.565, 1) both;
	animation: fade-in 0.4s cubic-bezier(0.39, 0.575, 0.565, 1) both;
}

@-webkit-keyframes fade-in {
	0% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}

@keyframes fade-in {
	0% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}

.animation-reverse {
	animation-direction: reverse !important;
}

.cro-btn-item .cart-count {
	margin-right: -1.6rem;
	top: -0.4rem;
}

.cro-btns .cart-limit-note,
.cro-btns .cart-vat-note {
	display: none;
}

.cro-btns .cart-total {
	padding: 0;
	flex-direction: column;
}

.cro-btns .cart-submit button {
	padding: 0.8rem;
}

cart-form,
productform {
	transition: opacity 0.3s ease-out;
}

product-form.loading .product-cta {
	pointer-events: none;
	opacity: 0.5;
}

cart-form.loading,
product-form.loading .product-cta {
	pointer-events: none;
}

.cart-item.loading .cart-total-col .price,
cart-form.loading .cart-total .price {
	display: none;
}

cart-form.loading .cart-total .loading-icon,
.cart-item.loading .cart-total-col .loading-icon {
	display: inline-flex;
	color: var(--color-neutral-50);
	height: 1.6rem;
}

product-form.loading .product-cta .btn .loading-icon {
	display: none;
}

.variant-picker__input input.disabled~label {
	opacity: 0.5;
	position: relative;
	overflow: hidden;
}

.variant-picker__input input.disabled~label:after {
	content: "";
	width: 100%;
	height: 1px;
	background: var(--color-neutral-100);
	position: absolute;
	transform: rotate(200deg) scale(1.1);
	left: 0;
}

.variant-picker__input input.disabled~label.color-swatch:after {
	transform: rotate(220deg) scale(1.1);
}

.portal--modal .portal-close-button {
	position: absolute;
	right: 1rem;
	top: 1rem;
	z-index: 999;
}

@media (max-width: 767px) {
	.portal--modal .portal-close-button {
		right: 0.8rem;
		top: 0.8rem;
	}
}

.sapo-product-reviews-badge .sapo-product-reviews-star i {
	font-size: var(--font-size-body) !important;
}

.bpr-success-popup .icon-checked {
	display: flex;
	justify-content: center;
	align-items: center;
}

@media (max-width: 975px) {
	#product-review {
		display: block;
	}
}

.tiktok-embed {
	margin: 0 auto !important;
}

@media (max-width: 767px) {
	.gallery-main {
		position: relative;
	}
}

.card-product__badges:has(.product-promo-tag) {
	display: block;
}

.card-product__title {
	--font-size-body: 1.6rem;
	font-size: var(--font-size-body);
	font-weight: 500;
	line-height: 1.4;
}

@media (max-width: 767px) {
	.card-product__title {
		--font-size-body: 1.4rem;
	}
}

.card-product--vertical.card-product__title {
	min-height: calc(var(--font-size-body) * 1.4 * 2);
}

.cro-btns {
	display: none;
}

@media (max-width: 767px) {
	.cro-btns:has(.cro-btn-item) {
		display: block;
	}
}

.promo-box__body p {
	margin: 0;
}

.promo-box__body ol,
.promo-box__body ul {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-gap: var(--spacing-2);
}

@media (max-width: 992px) {

	.promo-box__body ol,
	.promo-box__body ul {
		grid-template-columns: 1fr;
	}
}

.tiktok-embed {
	border-radius: var(--rounded);
}

.btn.coupon-expired {
	color: var(--color-neutral-400);
	background: var(--color-neutral-50);
	border-color: var(--color-neutral-50);
	filter: none;
	opacity: 1;
}

.flashsale-ended .tab-content {
	display: none;
}

.flashsale-ended .flashsale-end-message {
	display: block;
	padding: var(--spacing-6) var(--spacing-2);
}

.flashsale-ended .flashsale-nav {
	display: none;
}

.heading-bar {
	position: relative;
}

.heading-bar a:hover {
	opacity: var(--color-link);
}

.heading {
	font-size: var(--font-size-h3);
	position: relative;
	z-index: 1;
	width: auto;
	display: inline-block;
	font-weight: var(--font-headings-weight);
	font-family: var(--font-headings-family);
}

.heading-bar .heading {
	text-wrap: pretty;
}

.heading-bar .heading .heading-icon {
	position: absolute;
	top: 0;
	right: 0;
	width: 45px;
	height: 45px;
	object-fit: contain;
}

.section-flashsale--single .flashsale__countdown-timer {
	flex-direction: row;
}

.heading:not([class*="mb"]) {
	margin-bottom: 3.2rem;
}

.heading span {
	color: var(--color-highlight);
	position: relative;
	display: inline-block;
}

.heading span::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -10px;
	width: 100%;
	height: 11px;
	background-image: url("data:image/svg+xml,%3Csvg height='11' viewBox='0 0 219 11' fill='none' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 8C25.8556 3.07738 53.8451 3.61733 82.4695 3.07653C119.514 2.37666 150.586 6.76911 216 4.41882' stroke='var(--color-highlight)' stroke-width='2' pathLength='1' stroke-linecap='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-size: 100% 100%;
	pointer-events: none;

	/* Fallback: tạo mask để apply màu từ CSS variable */
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg height='11' viewBox='0 0 219 11' fill='none' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 8C25.8556 3.07738 53.8451 3.61733 82.4695 3.07653C119.514 2.37666 150.586 6.76911 216 4.41882' stroke='black' stroke-width='2' pathLength='1' stroke-linecap='round'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg height='11' viewBox='0 0 219 11' fill='none' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 8C25.8556 3.07738 53.8451 3.61733 82.4695 3.07653C119.514 2.37666 150.586 6.76911 216 4.41882' stroke='black' stroke-width='2' pathLength='1' stroke-linecap='round'/%3E%3C/svg%3E");
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;
	background-color: var(--color-highlight);
	background-image: none;
}

@media (max-width: 767px) {
	.heading {
		font-size: var(--font-size-h3);
	}

	.heading:not([class*="mb"]) {
		margin-bottom: 2rem;
	}

	.section-flashsale--single .flashsale__countdown-timer {
		flex-direction: column;
	}

	.section-flashsale .flashsale-heading {
		font-size: var(--font-size-h4) !important;
	}
}

.heading:has(.heading-icon) {
	padding-right: 45px;
}



@media (max-width: 767px) {
	.heading {
		font-size: var(--font-size-h4);
		margin-bottom: 1.2rem;
	}
}

.card-article__desc {
	/* min-height: calc(var(--font-size-body) * 1.5 * 3); */
}

.card-article__title {
	min-height: calc(var(--font-size-body) * 1.5 * 2);
}

.section-main-cart .cart-summary-info {
	position: relative;
}

.section-main-cart .cart-summary-info:before {
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	box-shadow: 0px 0.8rem 2.4rem 0px var(--primary-color);
	top: 0;
	left: 0;
	opacity: 0.1;
	z-index: -1;
}

@media (max-width: 976px) {
	.header-search {
		display: none;
	}

	.search-opener {
		display: block;
	}
}

.landing-page-section.section-flashsale:before,
.landing-page-section.section-flashsale:after {
	content: none;
}

.product-flashsale-item:has(.not-started),
.product-flashsale-item:has(.ended) {
	display: none;
}

.product-flashsale-item:has(.active.ongoing)~.product-flashsale-item {
	display: none;
}

.compare-opener {
	position: fixed;
	bottom: 60px;
	display: block;
	top: auto !important;
	left: 25px;
	transform: translateY(-50%) scale(1);
	z-index: 999;
}

.compare-opener button {
	box-shadow: 0px 12px 32px 0px rgba(0, 0, 0, 0.2);
}

.compare-opener.hidden {
	transform: translateY(-50%) scale(0);
	display: none;
}

#error-modal {
	--dialog-index: 4000;
}

#error-modal .portal-inner {
	max-width: 30rem;
}

.content {
	word-break: break-word;
}

.section-products:has(.no-products) {
	display: none !important;
}

.section-brand__container {
	padding: 1rem 0;
}

footer .btn {
	color: var(--color-footer-text);
}

.footer-copyright {
	text-wrap: balance;
}

.card-product--vertical:after {
	opacity: 0.7;
}

.ega-badge-ctd__h {
	position: relative;
	height: 1em;
	overflow: hidden;
	line-height: 1;
}

.ega-badge-ctd--transition::before {
	transition: all 1s cubic-bezier(0.39, 0.575, 0.565, 1);
}

.ega-badge-ctd--animate:before {
	position: relative;
	content: "00\a 01\a 02\a 03\a 04\a 05\a 06\a 07\a 08\a 09\a 10\a 11\a 12\a 13\a 14\a 15\a 16\a 17\a 18\a 19\a 20\a 21\a 22\a 23\a 24\a 25\a 26\a 27\a 28\a 29\a 30\a 31\a 32\a 33\a 34\a 35\a 36\a 37\a 38\a 39\a 40\a 41\a 42\a 43\a 44\a 45\a 46\a 47\a 48\a 49\a 50\a 51\a 52\a 53\a 54\a 55\a 56\a 57\a 58\a 59\a";
	white-space: pre;
	top: calc(var(--value) * -1em);
	text-align: center;
}

.product-detail .module-buyxgety .list-product-buyxgety .item-product-buyxgety .product-content-buyxgety .product-title-buyxgety {
	white-space: initial;
}

.heading-tabs .tab-btn.active {}

.spl-pane iframe {
	width: 90%;
	height: 90%;
}

#contact_map iframe {
	height: 100%;
}

.card-product .sapo-buyxgety-badge {
	top: auto;
	bottom: 15px;
	right: 15px;
	min-width: 20px;
}

.card-product .sapo-buyxgety-badge .icon-buyxgety {
	max-width: 20px;
}

.card-product .sapo-combo-badge {
	position: absolute;
	left: 15px;
	z-index: 2;
	min-width: 50px;
	bottom: 15px;
	top: auto;
	right: auto;
	font-size: 8px;
}

.card-product .sapo-combo-badge .label-text {
	border-radius: 4px;
}

.card-product .sapo-combo-badge .label-text+.label-text {
	display: none;
}

.ae-lang-selected a {
	display: flex;
	white-space: nowrap;
	overflow: hidden;
}

img.ae-icon-left {
	object-fit: contain;
	width: 16px;
}

.ae-type-dropdown {
	display: flex;
	align-items: center;
}

.ae-lang-selected a .ae-caret {
	width: auto;
}

.ae-lang-selected a span {
	display: none;
}

.ae-box-lang a span {
	display: inline;
}

#desktop-lang {
	min-width: 50px;
}

.prose :where(img):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
	display: inline-block;
}

.no-products {
	display: none;
}

.no-products-content .embla__buttons,
.no-products-content .embla__dots {
	display: none;
}

.sapo-product-reviews-badge:empty {
	display: none;
}

.product-cta .btn,
.product-contact__link {
	min-height: 60px;
}

.product-contact__zalo {
	--color-button-primary: #288ad6;
	--color-button-primary-text: white;
}

.product-contact__messenger {
	--color-button-primary: #3180f3;
	--color-button-primary-text: white;
}

.product-contact__phone {
	--color-button-primary: #d0cfcf;
	--color-button-primary-text: #000;
}

.product-contact__phone:hover {
	filter: brightness(0.9);
}

.btn-live {
	border-radius: 5px;
	padding: 4px 10px 4px 22px;
	color: var(--header-live-color);
	border: 1px solid var(--header-live-color);
	background: transparent;
	outline: none;
	position: relative;
	white-space: nowrap;
	text-overflow: ellipsis;
	vertical-align: middle;
	max-width: 130px;
	cursor: pointer !important;
	overflow: hidden;
	font-size: 13px;
}

.btn-live:after {
	content: " ";
	background: var(--header-live-color);
	width: 8px;
	height: 8px;
	position: absolute;
	left: 7px;
	top: calc(50% - 4px);
	border-radius: 50%;
	animation: pulse-red 1.65s linear infinite;
}

@media (max-width: 991px) {
	.btn-live {
		padding: 2px 5px 0px 20px;
	}

	.btn-live:after {
		left: 6px;
	}
}

@media (max-width: 767px) {
	.addThis_listSharing .btn-live {
		padding: 0;
		width: 40px;
		font-size: 10px;
		height: 40px;
		border-radius: 100%;
		display: flex;
		justify-content: center;
		align-items: center;
		color: #fff;
		border: none;
	}

	.btn-live:after {
		content: " ";
		width: 100%;
		height: 100%;
		position: absolute;
		left: 0;
		top: 0;
		z-index: 0;
	}
}

@keyframes pulselive {
	0% {
		opacity: 1;
	}

	50% {
		opacity: 0.6;
	}

	100% {
		opacity: 0.3;
	}
}

@keyframes pulse-red {
	0% {
		transform: scale(0.8);
		box-shadow: 0 0 0 0 var(--header-live-color);
	}

	70% {
		transform: scale(1);
		box-shadow: 0 0 0 10px rgba(255, 82, 82, 0);
	}

	100% {
		transform: scale(0.8);
		box-shadow: 0 0 0 0 rgba(255, 82, 82, 0);
	}
}

/** end naviagtion **/

.modal-live {
	position: fixed;
	max-width: 45%;
	max-height: 75%;
	bottom: 5px;
	top: auto !important;
	left: 50%;
	z-index: 9999;
	transform: translateY(calc(100% + 5px)) translateX(-50%);
	-webkit-transition: all 500ms ease-in-out;
	-moz-transition: all 500ms ease-in-out;
	-ms-transition: all 500ms ease-in-out;
	-o-transition: all 500ms ease-in-out;
	transition: all 500ms ease-in-out;
}

@media (max-width: 767px) {
	.modal-live {
		display: none !important;
	}
}

.modal-live.opened {
	transform: translateY(0) translateX(-50%);
}

.modal-live .btn-close--live {
	position: absolute;
	right: -40px;
	top: 0;
	cursor: pointer;
	opacity: 0;
	padding: 0 10px;
}

.modal-live iframe {
	border-radius: 10px;
	display: block;
	width: 100%;
	height: 100%;
}

.modal-live .modal-live--inner {
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.modal-live:hover .btn-close--live {
	opacity: 1;
}

.btn--soldout:not(.hidden) {
	display: flex;
	justify-content: center;
	align-items: center;
}

.price {
	font-family: var(--font-body-family);
}

.compare-price {
	font-family: var(--font-body-family);
}

.aspect-custom {
	aspect-ratio: var(--aspect-ratio);
}

cart-form .product-list>div {
	min-width: 270px;
}

.link-underline {
	text-decoration: none;
	background-image: linear-gradient(currentColor, currentColor);
	background-position: 0% 100%;
	background-repeat: no-repeat;
	background-size: 0% 1px;
	transition: background-size 300ms, color 300ms, width 300ms;
	padding-block-end: 3px;
}

.link-underline:hover {
	background-size: 100% 1px;
}

.main-product {
	--header-offset: 1.2rem;
}

.product-detail-info-box-width {
	max-width: 140rem;
	width: 100%;
}

.social-share-group {
	background-color: #f9fafb;
}

.header-pinned .main-product {
	--header-offset: calc(var(--header-height) - 1.2rem);
}

.peer:checked~.peer-checked\:bg-\[var\(--color-button-primary\)\] {
	box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.1) 0px 2px 4px -2px;
}

.card-product .price {
	font-size: 1.6rem;
}

.card-product .compare-price {
	font-size: 1.4rem;
}

@media (max-width: 767px) {
	.card-product .price {
		font-size: 1.4rem;
	}

	.card-product .compare-price {
		font-size: 1.2rem;
	}
}

/* Bundle Section Grid Layout */
.bundle-grid {
	display: grid;
	grid-template-columns: 1fr;
	/* Mobile: Stack vertically, image 100% */
	align-items: start;
	gap: 1.5rem;
	/* 24px on mobile */
	width: 100%;
	max-width: 100%;
}

/* Desktop: 2:3 ratio horizontal */
@media (min-width: 1024px) {
	.bundle-grid {
		grid-template-columns: 2fr 3fr;
		/* Desktop: Image 40%, Products 60% */
		gap: 4rem;
		/* 40px on desktop */
	}
}

/* Product Bundle - Modern Grid Layout */
.product-bundle-grid-wrapper {
	position: relative;
	width: 100%;
	max-width: 100%;
}

.product-bundle-grid {
	display: flex;
	width: 100%;
	gap: 1.5rem;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
}

/* Hide scrollbar but keep functionality */
.product-bundle-grid::-webkit-scrollbar {
	display: none;
}

.product-bundle-grid {
	-ms-overflow-style: none;
	scrollbar-width: none;
}

/* Tablet & Desktop: Grid Layout */
@media (min-width: 768px) {
	.product-bundle-grid {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 1.5rem;
		overflow: visible;
		width: 100%;
	}
}

.product-bundle-card {
	background: transparent;
	border-radius: 0;
	padding: 0;
	transition: all 0.3s ease;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.product-bundle-card:hover {
	box-shadow: none;
	transform: none;
}

.card-product-bundle .card-product__image img {
	transition: transform 0.3s ease;
}

.card-product-bundle:hover .card-product__image img {
	transform: scale(1.05);
}

/* Bundle Card Responsive Fixes */
.card-product-bundle {
	height: 100%;
}

.product-bundle-card {
	height: 100%;
	display: flex;
	flex-direction: column;
}

/* Mobile specific */
@media (max-width: 767px) {

	/* Prevent image overflow */
	.section-bundle hot-spots,
	.section-bundle hot-spots>div,
	.section-bundle hot-spots img {
		max-width: 100%;
		width: 100%;
	}

	.section-bundle hot-spots img {
		height: auto;
		display: block;
		max-height: none;
		object-fit: cover;
	}

	.product-bundle-card {
		width: 280px;
		max-width: 80vw;
		flex: 0 0 auto;
	}

	/* Ensure smooth scrolling on mobile */
	.product-bundle-grid {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scroll-padding: 0;
		gap: 1rem;
		padding-bottom: 1rem;
		width: 100%;
	}
}

@media (min-width: 768px) {
	.product-bundle-card {
		width: auto;
		max-width: none;
		flex: 1 1 auto;
	}

	.product-bundle-grid {
		overflow-x: visible;
		padding-bottom: 0;
	}
}


@media(min-width: 1025px) {
	.product-bundle-grid:has(.active) .product-bundle-card:not(.active) {
		opacity: 0.3;
	}
}


.tab-btn.active {
	background-size: 100% 2px;
	font-weight: 600;
}

.tab-btn:hover {
	background-size: 100% 2px;
}

.scrolling-promotion {
	display: flex;
	overflow: hidden;
}

.scrolling-promotion__container {
	display: flex;
	flex: 0 0 auto;
	width: max-content;
	align-items: center;
}

.scrolling-promotion__container:hover .scrolling-promotion--animated {
	animation-play-state: paused;
}

.scrolling-promotion__item {
	position: relative;
}
.item_brand_img {
	margin: 0 auto;
	max-width: 100%;
	background: #f2f2f2;
	position: relative;
	display: block;
	overflow: hidden;
	padding-bottom: 50%;
	height: auto;
	width: 100%;
	min-width: 210px;
}
@media (max-width: 768px) {
	.item_brand_img {
		min-width: 150px;
	}
}
.item_brand_img img {
	width: auto !important;
	max-height: 100%;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
	will-change: opacify;
	transform: scale(1);
	transition: all 0.5s ease;
	padding: 3px;
}

@media (min-width: 768px) {

	.scrolling-promotion__item img,
	.scrolling-promotion__item svg {
		height: var(--image-height, 100%);
	}
}

.scrolling-promotion--animated {
	animation: scroll var(--animate-duration, 12s) linear infinite;
	animation-iteration-count: infinite;
	animation-timing-function: linear;
	animation-duration: var(--animate-duration, 12s);
	animation-play-state: running;
	will-change: transform;
}

.scrolling-promotion--ltr.scrolling-promotion--animated {
	animation-direction: reverse;
}

.scrolling-promotion--paused.scrolling-promotion--animated,
.scrolling-promotion--hover-pause:hover .scrolling-promotion--animated {
	animation-play-state: paused;
}

@keyframes scroll {
	0% {
		transform: translateX(0);
	}

	100% {
		transform: translateX(-100%);
	}
}

.card-product,
.product-gallery {
	--aspect-ratio: var(--product-aspect-ratio, 1 / 1);
}

.card-article .aspect-custom,
.card-article__image .aspect-custom {
	--aspect-ratio: var(--blogs-aspect-ratio, 1 / 1);
}

@media (max-width: 767px) {
	.hot-spot-item[open] {
		z-index: 9000;
	}

	.hot-spot-overlay {
		top: 0 !important;
	}

	.hot-spot-content.fixed {
		top: auto !important;
		left: 0 !important;
	}
}



.tiktok-embed:not([data-embed-type]) {
	max-width: max-content !important;
}

@media (max-width: 767px) {
	.tiktok-embed:not([data-embed-type]) {
		max-width: 100% !important;
	}
}

.btn.loading .btn-label {
	display: none
}

.embla__container.product-list {
	margin-left: calc(var(--spacing-4)*-1) !important;
}

.embla__container.product-list>div {
	padding-left: var(--spacing-4) !important;
}

@media (max-width: 767px) {
	.embla__container.product-list {
		margin-left: -0.8rem !important;
	}

	.embla__container.product-list>div {
		padding-left: 0.8rem !important;
	}
}

.section-flashsale .flashsale-heading {
	font-size: 4rem;
	line-height: 1;
	font-weight: 900;
	font-style: italic;
}

/* Size Chart Modal Custom Styles */
#size-chart-modal .measurement-input-group input[type="number"] {
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#size-chart-modal .measurement-input-group input[type="number"]:focus {
	border-color: var(--color-primary, #2563eb);
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
	outline: none;
}

#size-chart-modal .size-chart-table-wrapper table {
	min-width: 100%;
	border: 1px solid var(--color-neutral-50);
	border-bottom: none;
}

#size-chart-modal .size-chart-table-wrapper table th {
	font-weight: 600;
	white-space: nowrap;
}

#size-chart-modal .size-chart-table-wrapper table td:first-child {
	border-left: none;
}

#size-chart-modal .size-chart-table-wrapper table td {
	white-space: nowrap;
	border-left: 1px solid var(--color-neutral-50);
	border-bottom: 1px solid var(--color-neutral-50);
}

#size-chart-modal #size-recommendation {
	animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

#size-chart-modal .btn-outline {
	background-color: transparent;
	border: 1px solid var(--color-neutral-30, #d1d5db);
	color: var(--color-text, #1f2937);
}

#size-chart-modal .btn-outline:hover {
	background-color: var(--color-neutral-5, #f9fafb);
}

#size-chart-modal select#product-type-selector,
#product-type-selector-calculator {
	cursor: pointer;
	transition: border-color 0.2s ease;
	line-height: 1.3;
}

#size-chart-modal select#product-type-selector:hover {
	border-color: var(--color-primary, #2563eb);
}

/* Ensure smooth scrolling in modal */
#size-chart-modal .animation {
	-webkit-overflow-scrolling: touch;
}

#size-chart-modal .overflow-y-auto {
	scrollbar-width: thin;
	scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

#size-chart-modal .overflow-y-auto::-webkit-scrollbar {
	width: 6px;
}

#size-chart-modal .overflow-y-auto::-webkit-scrollbar-track {
	background: transparent;
}

#size-chart-modal .overflow-y-auto::-webkit-scrollbar-thumb {
	background-color: rgba(0, 0, 0, 0.2);
	border-radius: 3px;
}

#size-chart-modal .overflow-y-auto::-webkit-scrollbar-thumb:hover {
	background-color: rgba(0, 0, 0, 0.3);
}

/* Warning and Error states for recommendation box */
#size-chart-modal .bg-warning-light {
	background-color: #fef3c7;
}

#size-chart-modal .border-warning {
	border-color: #f59e0b;
}

#size-chart-modal .text-warning {
	color: #f59e0b;
}

#size-chart-modal .bg-error-light {
	background-color: #fee2e2;
}

#size-chart-modal .border-error {
	border-color: #ef4444;
}

#size-chart-modal .text-error {
	color: #ef4444;
}

#size-chart-modal .bg-info-light {
	background-color: #dbeafe;
}

#size-chart-modal .border-info {
	border-color: var(--color-primary);
}

#size-chart-modal .text-info {
	color: var(--color-primary);
}

/* Input validation states */
#size-chart-modal .measurement-input-group input.border-error {
	border-color: var(--color-error);
	background-color: var(--color-error-light);
}

#size-chart-modal .measurement-input-group input.border-error:focus {
	border-color: var(--color-error);
	box-shadow: 0 0 0 3px rgba(var(--color-error), 0.1);
}

#size-chart-modal .measurement-input-group input.border-success {
	border-color: var(--color-success);
	background-color: var(--color-success-light);
}

#size-chart-modal .measurement-input-group input.border-success:focus {
	border-color: var(--color-success);
	box-shadow: 0 0 0 3px rgba(var(--color-success), 0.1);
}

#size-chart-modal .input-error-message {
	display: block;
}

/* Default state styling */
#size-chart-modal .text-neutral-60 {
	color: var(--color-neutral-60);
}

#size-chart-modal .icon-info-circle {
	color: var(--color-neutral-60);
}

/* Modal scrolling optimization */
#size-chart-modal .animation {
	-webkit-overflow-scrolling: touch;
}

#size-chart-modal .flex-1.overflow-y-auto {
	-webkit-overflow-scrolling: touch;
	scroll-behavior: smooth;
}

/* Mobile optimization */
@media (max-width: 768px) {
	#size-chart-modal .flex-1.overflow-y-auto {
		max-height: calc(95vh - 300px) !important;
	}
}

/* Modern UI Enhancements */
@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes bounceSubtle {

	0%,
	100% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(-4px);
	}
}

.animate-fadeIn {
	animation: fadeIn 0.3s ease-out;
}

.animate-bounce-subtle {
	animation: bounceSubtle 2s ease-in-out infinite;
}

/* Enhanced input styling */
#size-chart-modal input[type="number"] {
	transition: all 0.2s ease;
}

#size-chart-modal input[type="number"]:hover {
	border-color: rgba(var(--primary-rgb, 14, 78, 255), 0.3);
	box-shadow: 0 0 0 3px rgba(var(--primary-rgb, 14, 78, 255), 0.05);
}

#size-chart-modal input[type="number"]:focus {
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(var(--primary-rgb, 14, 78, 255), 0.15);
}

/* Table styling enhancements */
#size-chart-modal table {
	border-collapse: separate;
	border-spacing: 0;
}

#size-chart-modal table th {
	background: linear-gradient(to bottom, #f9fafb, #f3f4f6);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 1rem;
	border-bottom: 2px solid #e5e7eb;
}

#size-chart-modal table td {
	padding: 0.875rem 1rem;
	transition: background-color 0.15s ease;
}

#size-chart-modal table tbody tr:hover td {
	background-color: rgba(var(--primary-rgb, 14, 78, 255), 0.02);
}

/* Button hover effects */
#size-chart-modal .btn-primary {
	position: relative;
	overflow: hidden;
}

#size-chart-modal .btn-primary::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.2);
	transform: translate(-50%, -50%);
	transition: width 0.6s, height 0.6s;
}

#size-chart-modal .btn-primary:hover::before {
	width: 300px;
	height: 300px;
}

/* Smooth scrollbar */
#size-chart-modal .overflow-y-auto::-webkit-scrollbar {
	width: 8px;
}

#size-chart-modal .overflow-y-auto::-webkit-scrollbar-track {
	background: #f3f4f6;
	border-radius: 10px;
}

#size-chart-modal .overflow-y-auto::-webkit-scrollbar-thumb {
	background: linear-gradient(to bottom, #d1d5db, #9ca3af);
	border-radius: 10px;
	transition: background 0.2s;
}

#size-chart-modal .overflow-y-auto::-webkit-scrollbar-thumb:hover {
	background: linear-gradient(to bottom, #9ca3af, #6b7280);
}

/* Tabs UI Styling */
#size-chart-modal .tab-button {
	position: relative;
}

#size-chart-modal .tab-button.active {
	color: var(--color-primary);
	border-bottom: 2px solid var(--color-primary);
}

#size-chart-modal .tab-button:not(.active):hover {
	background: #f9fafb;
}

#size-chart-modal .tab-content {
	display: none;
	animation: fadeIn 0.3s ease-out;
}

#size-chart-modal .tab-content.active {
	display: block;
}