/* Scrollbar to?n site: k?ch th??c v?a (10px), ??ng nh?t m?i m?n h?nh */
body.ega-theme {
	--ww-scrollbar-size: 10px;
	--ww-scrollbar-thumb: rgba(2, 132, 199, 0.55);
	--ww-scrollbar-thumb-hover: rgba(2, 132, 199, 0.85);
	--ww-scrollbar-track: rgba(148, 163, 184, 0.22);
	scrollbar-width: thin;
	scrollbar-color: var(--ww-scrollbar-thumb) var(--ww-scrollbar-track);
}

body.ega-theme *,
body.ega-theme *::before,
body.ega-theme *::after {
	scrollbar-width: thin;
	scrollbar-color: var(--ww-scrollbar-thumb) var(--ww-scrollbar-track);
}

body.ega-theme::-webkit-scrollbar,
body.ega-theme *::-webkit-scrollbar {
	width: var(--ww-scrollbar-size);
	height: var(--ww-scrollbar-size);
}

body.ega-theme::-webkit-scrollbar-track,
body.ega-theme *::-webkit-scrollbar-track {
	background: var(--ww-scrollbar-track);
	border-radius: 999px;
}

body.ega-theme::-webkit-scrollbar-thumb,
body.ega-theme *::-webkit-scrollbar-thumb {
	background-color: var(--ww-scrollbar-thumb);
	border-radius: 999px;
	border: 2px solid transparent;
	background-clip: padding-box;
}

body.ega-theme::-webkit-scrollbar-thumb:hover,
body.ega-theme *::-webkit-scrollbar-thumb:hover {
	background-color: var(--ww-scrollbar-thumb-hover);
}

body.ega-theme::-webkit-scrollbar-corner,
body.ega-theme *::-webkit-scrollbar-corner {
	background: transparent;
}

/* Ch? ?n khi class no-scrollbar (menu / carousel c? ?) */
body.ega-theme .no-scrollbar {
	scrollbar-width: none !important;
	-ms-overflow-style: none;
}

body.ega-theme .no-scrollbar::-webkit-scrollbar {
	display: none !important;
	width: 0 !important;
	height: 0 !important;
}

select {
  padding: 4px;
}
select option {
  padding: 4px; /* Add padding around each option */
}
header .search-bar .form-select {
    padding-left: 4px;
    padding-right: 30px;
    text-overflow: ellipsis;
    overflow: hidden;
}

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

details[open] > summary > .icon-carret-right {
  transform: rotate(90deg);
}
.h-inherit {
  height: inherit !important;
}
.break-word{
	    word-break: break-word;
}
.addtocart-btn {
  background-color: var(--color-addtocart-bg);
  color: var(--color-addtocart);
}
.card-product .addtocart-btn {
    padding: 7px;
    width: 3.6rem;
    height: 3.6rem;
    background: transparent;
    color: #f97316;
    border-color: #f97316;
    position: relative;
  }

.header.active {
  box-shadow: 0px -11px 20px 3px rgba(0, 0, 0, 0.2);
  min-height: auto;
  height: 6.4rem;
  position: sticky;
  position: -webkit-sticky;
  -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;
}

@media (min-width: 1271px) {
  .header .logo-wrapper {
    transition: all 0.3s 0.1s ease;
    /* transform: translateX(-4.4rem); */
  }
  .header .menu-opener {
    /* transform: scale(0); */
    transition: transform 0.3s ease-out;
    /* display: block; */
  }
  .header.active .logo-wrapper {
    transform: translateX(0);
  }
  .header.active .menu-opener {
    transform: scale(1);
  }
}
@media (max-width: 767px) {
  .header {
    padding: var(--spacing-2) 0;
  }
	
}
@media(max-width: 374px){
	.header .logo-wrapper {
		width: 77px
	}
}

.btn:disabled {
  opacity: 0.5;
}
.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;
}

/** header **/
.navigation-vertical ul + ul {
  border-top: 2px solid var(--color-neutral-50);
  margin-top: 2rem;
  padding-top: 2rem;
}
.submenu{
  overflow-y: auto;
  scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
}
#menu-drawer  .submenu[class*="mega-menu--"]{
  grid-template-columns: 100%;
}
@media(min-width:1023px){
  .navigation-vertical .submenu{
    right: auto;
    border-radius: 0 4px 4px 0;
    left: calc(var(--navigation-width) - 2px);
}
 .index-container .navigation-vertical .submenu[class*="mega-menu--"]{
    width: calc(var(--container-width) - var(--navigation-width) - var(--container-padding)*2 );
    min-height: 450px;
    min-width: 100%
  } 
 
}
@media(min-width: 1200px){
  #menu-drawer  .submenu[class*="mega-menu--"]{
   /* grid-template-columns: 50% 50%;*/
  }
}
.navigation-vertical .section-card{
  padding: 0
}
.navigation-vertical .container{
  padding: 0
}
#menu-drawer .brand-list{
  --grid-col: repeat(2,1fr)!important;
}

.navigation-vertical .mega-menu__inner{
    display: flex;
    gap: 1.2rem;
}
.mega-menu  .heading{
	font-size:var(--font-size-h5)
}
#menu-drawer  .mega-menu__inner{
  flex-direction: column;
}
.index-container [class*="mega-menu--"]  .mega-menu__inner{
  display: grid;
  grid-template-columns: 2fr 400px
}
.index-container [class*="mega-menu--"] .submenu__list{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  width:100%;
}
.index-container [class*="mega-menu--"] .releated-products{
	padding-left: 20px;
	border-left: 1px solid var(--color-neutral-50);
}
.index-container [class*="mega-menu--"] .releated-products .embla{
	padding-bottom: 0px
}
.navigation-vertical .submenu__list .submenu__col{ 
  margin: 0;
}
.navigation-vertical .card-product__cta {
	display: block;
}

.submenu .product-promo-tag, .submenu .card-product__cta, .submenu .card-product__option-wrapper {
display: none
}

@media (max-width: 1023px) {
  .submenu {
    right: 0;
  }
  .navigation-vertical .menu-item.group > a {
    padding-right: 4.4rem;
    position: relative;
  }
  .navigation-vertical .menu-item.group > a > [data-toggle-submenu] {
    position: absolute;
    right: 0;
    width: 4.4rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
  .menu-active .submenu {
    display: block;
  }
}

.navigation-horizontal .submenu {
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s 0.1s ease-out;
  display: block;
}
.navigation-horizontal .menu-item:hover .submenu {
  opacity: 1;
  visibility: visible;
  top: 100% !important;
}
.navigation-horizontal-wrapper.overflow + .navigation-arrows {
  display: flex;
}

.portal--modal .portal-inner {
  position: relative;
  max-height: 80vh;
  height: auto;
  max-width: 100.24rem;
  width: 100%;
  border-radius: var(--rounded);
  margin: auto;
}
.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: auto;
}
.quick-search .search-loading,
.quick-search.loading .search-history-list,
.quick-search.loading .search-keywords,
.quick-search.loading .search-result,
.quick-search.loaded .search-keywords,
.quick-search.loaded .search-history-list {
  display: none;
}
.quick-search.loaded .search-result {
  display: block;
}
.search-loading .loading-icon,
.quick-search.loading .search-loading {
  display: flex;
  color: var(--color-neutral-100);
}
.loading > .loading-icon {
  display: flex;
}
.search-bar form {
  /* padding-right: 0; */
  overflow: hidden;
}
.search-dropdown {
  max-height: 100%;
  width: 100%;
    word-break: break-word;
  overflow: auto;
}

header .search-bar:has(input:focus) .search-dropdown,
header .search-dropdown:hover {
  display: block;
  max-height: 24rem;
  height: fit-content;
}
.search-input-group {
  padding-right: 0;
}
.search-bar input{
	padding-left: 0.4rem;
	padding-right: 1.2rem;
}
.search-bar .search-button {
  right: 0;
  margin: 0;
  top: 0;
  width: 5.2rem;
  min-width: 5.2rem;
  height: var(--search-bar-height, 4rem);
  min-height: 100%;
  --search-button-width: 5.2rem;
  --search-bar-height: 4rem;
  border-radius: 0 var(--rounded) var(--rounded) 0;
}
#search-drawer .search-bar .search-button {
  right: 0;
  top: 0;
  width: 5.2rem;
  min-width: 5.2rem;
  height: auto !important;
  min-height: 100%;
  align-self: stretch;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0 var(--rounded) var(--rounded) 0 !important;
}
#search-drawer .search-input-group {
  height: 4.4rem;
  min-height: 4.4rem;
  display: flex;
  align-items: stretch;
  padding: 0;
  border: none;
  background: transparent;
}
#search-drawer form {
  flex-direction: row;
  align-items: stretch;
  border: 1px solid var(--color-neutral-50);
  border-radius: var(--rounded);
  padding: 0 0 0 0.75rem !important;
  gap: 0;
  overflow: hidden;
  background-color: var(--color-background);
}
#search-drawer [name="query"] {
  display: block;
  width: 100%;
  height: 100%;
  background-color: transparent;
  font-size: var(--font-size-body);
  line-height: 1;
  padding-right: 0.75rem;
}
#search-drawer .search-dropdown {
  position: relative;
  display: block;
  max-height: none;
  box-shadow: none;
  margin-top: var(--spacing-3);
  padding: 0;
}
#search-drawer .form-select {
  display: none;
}

.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-tab.active {
    /* border-radius: 0; */
  }
  .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);
  }
}
.ega-badge-dot {
  display: none;
}
.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-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-modal,
.coupon-item {
  --color-primary: var(--color-coupon-primary);
  --color-secondary: var(--color-coupon-secondary);
  /* box-shadow: 6px 6px 0px 0px rgba(0, 0, 0, 0.04);/ */
}
 .collection-item-thumb {
  /* box-shadow: 6px 6px 0px 0px rgba(0, 0, 0, 0.1); */
 }
@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-dot-lg {
  width: 3.6rem;
  height: 3.6rem;
}
.card-product__option-dot-md {
  width: 3.2rem;
  height: 3.2rem;
}
.card-product__option-dot-sm {
  width: 2.4rem;
  height: 2.4rem;
}

@media (max-width: 1024px) {
 
  .card-product__option-dot-lg {
    width: 2.6rem;
    height: 2.6rem;
  }
  .card-product__option-dot-md {
    width: 2.4rem;
    height: 2.4rem;
  }
  .card-product__option-dot-sm {
    width: 2rem;
    height: 2rem;
  }
}
@media (max-width: 767px) {
  .card-product--horizontal form {
    grid-template-columns: 12rem 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-btn-item--cart .cro-btn-cart-icon {
  font-size: 1.6rem;
  line-height: 1;
  display: block;
}
.cro-btn-item--cart .cart-count {
  right: -0.6rem;
  top: -0.55rem;
  width: 1.6rem;
  height: 1.6rem;
  font-size: 1rem;
  margin-right: 0;
}
.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: 0.75rem;
  top: 0.75rem;
  left: auto;
  z-index: 30;
  background: #b91c1c !important;
  border-color: #991b1b !important;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(153, 27, 27, 0.35);
}
.portal--modal .portal-close-button:hover {
  background: #991b1b !important;
  border-color: #7f1d1d !important;
  color: #fff !important;
}

/* Menu sidebar close ? ??ng b? v?i modal */
#menu-drawer .portal-close-button,
#PortalClose-menu-crawer,
#cart-drawer .portal-close-button,
#PortalClose-cart-crawer {
  background: #b91c1c !important;
  border-color: #991b1b !important;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(153, 27, 27, 0.35);
  flex-shrink: 0;
}
#menu-drawer .portal-close-button:hover,
#PortalClose-menu-crawer:hover,
#cart-drawer .portal-close-button:hover,
#PortalClose-cart-crawer:hover {
  background: #991b1b !important;
  border-color: #7f1d1d !important;
  color: #fff !important;
}

#add-to-cart-popup .portal-close-button {
  position: absolute !important;
  right: 0.75rem !important;
  top: 0.75rem !important;
  left: auto !important;
  z-index: 30;
  background: #b91c1c !important;
  border-color: #991b1b !important;
  color: #fff !important;
}
#add-to-cart-popup .portal-close-button:hover {
  background: #991b1b !important;
  border-color: #7f1d1d !important;
  color: #fff !important;
}

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

.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 {
  min-height: calc(var(--font-size-body) * 1.5 * 3);
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  text-overflow: ellipsis;
  word-break: break-word;
  overflow-wrap: break-word;
}

.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 {
  font-size: 1.6rem;
  position: relative;
  text-align: center;
}
.heading-bar::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 10px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  border-top: 2px solid var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
  opacity: 0.1;
}
.heading-bar a:hover {
  opacity: 0.8;
} */
.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;
}

@media (max-width: 767px) {

  .heading {
    font-size: var(--font-size-h3);
  }
}
.heading:has(.heading-icon){
  padding-right: 45px
}
.heading:not([class*="mb"]) {
  margin-bottom: 2.4rem;
}
/* .heading-bar .heading {
  padding: 0 24px;
} */
.section-card{
  background: #fff;
  border-radius: 0.8rem;
  padding: 2.4rem 2rem
}
@media (max-width: 767px) {
 
  .heading {
    font-size: var(--font-size-h4);
    margin-bottom: 1.2rem;
  }
  .section-card{
    padding:  1.2rem;
	border-radius: 0;
    margin-inline: calc(-1* var(--container-padding));
  }
}
.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;
}


.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;
}
@media (max-width: 991px) {
  .submenu .submenu__list {
    max-height: calc(100% - 45px);
  }
}

.heading-tabs .tab-btn.active{
	background: var(--color-secondary);
	color: #fff;
}

/* L??i s?n ph?m ? chu?n responsive
   < 480px: 2 c?t (mobile nh?)
   480px?975px: 3 c?t (mobile l?n / tablet)
   ? 976px: gi? lg/xl (4?5 c?t) t? utility class */
@media (min-width: 480px) and (max-width: 975px) {
	body.ega-theme .product-list.grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* CTA "Xem t?t c?" ? v? tr? d??i grid; style gi?ng section Video */
.ww-home-viewmore {
	display: flex;
	justify-content: center;
	margin-top: 1.25rem;
	padding: 0.25rem 0 0.35rem;
}

@media (min-width: 768px) {
	.ww-home-viewmore {
		margin-top: 1.75rem;
	}
}

.ww-home-viewmore__btn {
	--ww-vm-from: #0284c7;
	--ww-vm-to: #0ea5e9;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 3rem;
	padding: 0.55rem 1.35rem;
	border-radius: 999px;
	border: 0;
	background: linear-gradient(135deg, var(--ww-vm-from) 0%, var(--ww-vm-to) 100%);
	color: #fff !important;
	font-size: var(--font-size-body, 1.5rem);
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.2;
	text-decoration: none !important;
	box-shadow: 0 6px 16px rgba(2, 132, 199, 0.22);
	transition:
		transform 0.22s ease,
		box-shadow 0.22s ease,
		filter 0.22s ease;
	position: relative;
	overflow: hidden;
	flex-shrink: 0;
}

.ww-home-viewmore__btn::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.22) 50%, transparent 70%);
	transform: translateX(-120%);
	transition: transform 0.55s ease;
	pointer-events: none;
}

.ww-home-viewmore__btn:hover {
	transform: translateY(-2px) scale(1.02);
	filter: brightness(1.05);
	box-shadow: 0 10px 22px rgba(2, 132, 199, 0.32);
	color: #fff !important;
}

.ww-home-viewmore__btn:hover::before {
	transform: translateX(120%);
}

.ww-home-viewmore__btn:active {
	transform: translateY(0) scale(0.99);
}

.ww-home-viewmore__label {
	position: relative;
	z-index: 1;
}

.ww-home-viewmore__icon {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.45rem;
	height: 1.45rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.22);
	transition: transform 0.22s ease, background-color 0.22s ease;
}

.ww-home-viewmore__icon .icon {
	font-size: 0.85rem;
	line-height: 1;
}

.ww-home-viewmore__btn:hover .ww-home-viewmore__icon {
	transform: translateX(3px);
	background: rgba(255, 255, 255, 0.32);
}

/* Alias gi? class compact = c?ng style (section Video / s?n ph?m) */
.ww-home-viewmore__btn--compact {
	min-height: 3rem;
	padding: 0.55rem 1.35rem;
	font-size: var(--font-size-body, 1.5rem);
	gap: 0.5rem;
}

.ww-home-viewmore__btn--compact .ww-home-viewmore__icon {
	width: 1.45rem;
	height: 1.45rem;
}

/* Kho?ng tr?ng d??i v?ng cu?n ngang (tab / filter / list scroll) */
body.ega-theme .heading-tabs.heading-tabs--scroll,
body.ega-theme .ww-search-price-filters--inline,
body.ega-theme .navigation-horizontal-wrapper,
body.ega-theme .brand-list.overflow-auto,
body.ega-theme .cart-left.overflow-y-auto,
body.ega-theme #cart-drawer .overflow-x-auto {
	padding-bottom: 5px;
	margin-bottom: 5px;
}

/* Tab sort / filter: cu?n ngang + scrollbar v?a ph?i (inherits global) */
.heading-tabs.heading-tabs--scroll {
	display: flex;
	flex-wrap: nowrap;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-x: contain;
	touch-action: pan-x;
	padding-bottom: 5px;
	margin-bottom: 5px;
}

.heading-tabs.heading-tabs--scroll > .tab-btn {
	flex: 0 0 auto;
}

/* B? l?c gi? trang t?m ki?m / danh s?ch s?n ph?m */
.ww-search-layout {
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

/* Tr?nh chip l?c gi? / tab sort k?o r?ng viewport tr?n mobile */
body.ega-theme.search,
body.ww-all-products {
	overflow-x: hidden;
	max-width: 100%;
	position: relative;
}

/* Ch? thu h?p v?ng n?i dung l?c/grid ? gi? .container max-width nh? trang ch? (c? margin L/R) */
body.ega-theme.search main .ww-search-layout,
body.ww-all-products main .ww-search-layout,
body.ega-theme.search main .min-w-0,
body.ww-all-products main .min-w-0,
body.ega-theme.search #search-results-grid,
body.ww-all-products #search-results-grid {
	min-width: 0;
	max-width: 100%;
	overflow-x: clip;
}

body.ega-theme.search .index-container,
body.ww-all-products .index-container,
body.ega-theme.search .section-main-search,
body.ww-all-products .section-main-search,
body.ega-theme.search main,
body.ww-all-products main {
	min-width: 0;
	max-width: 100%;
	overflow-x: clip;
}

html:has(body.ega-theme.search),
html:has(body.ww-all-products) {
	overflow-x: hidden;
	max-width: 100%;
}

.ww-search-filter-card {
	background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
	border: 1px solid rgba(2, 132, 199, 0.14);
	border-radius: 1.2rem;
	box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
	overflow: hidden;
	max-width: 100%;
}

.ww-search-filter-card--inline {
	overflow: hidden;
	max-width: 100%;
}

.ww-search-filter-card__row {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	padding: 0.85rem 1rem;
	min-width: 0;
	max-width: 100%;
	overflow: hidden;
}

.ww-search-filter-card__head {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	flex-shrink: 0;
	white-space: nowrap;
}

.ww-search-filter-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.6rem;
	height: 2.6rem;
	border-radius: 999px;
	background: linear-gradient(135deg, rgba(2, 132, 199, 0.16), rgba(14, 165, 233, 0.1));
	color: var(--color-secondary, #0284c7);
	flex-shrink: 0;
	font-size: 1.25rem;
}

.ww-search-filter-card__title {
	margin: 0;
	font-size: var(--font-size-body, 1.4rem);
	line-height: 1.35;
	font-weight: 600;
	color: var(--color-foreground, #0f172a);
}

.ww-search-price-filters {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 0.55rem;
}

.ww-search-price-filters--inline {
	flex: 1;
	min-width: 0;
	flex-wrap: nowrap;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-x: contain;
	touch-action: pan-x;
	padding: 0.2rem 0.35rem 0.55rem;
	margin-bottom: 0;
	scrollbar-gutter: stable;
}

.ww-search-price-filters--inline > li {
	flex: 0 0 auto;
	max-width: none;
}

.ww-search-price-chip {
	position: relative;
	display: block;
	cursor: pointer;
	overflow: hidden;
	max-width: 100%;
}

.ww-search-price-checkbox {
	position: absolute;
	left: 0;
	top: 0;
	opacity: 0;
	width: 1px;
	height: 1px;
	margin: 0;
	padding: 0;
	border: 0;
	pointer-events: none;
	clip: rect(0 0 0 0);
}

.ww-search-price-chip__inner {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	min-height: 3.4rem;
	padding: 0.65rem 1.15rem;
	border-radius: 999px;
	border: 1.5px solid #dbe3ee;
	background: #fff;
	color: #1e293b;
	font-size: var(--font-size-body, 1.4rem);
	font-weight: 600;
	line-height: 1.35;
	white-space: nowrap;
	box-sizing: border-box;
	transition:
		border-color 0.2s ease,
		background-color 0.2s ease,
		color 0.2s ease;
}

.ww-search-price-chip:hover .ww-search-price-chip__inner {
	border-color: rgba(2, 132, 199, 0.4);
	background: #f8fbff;
}

.ww-search-price-chip__label {
	letter-spacing: 0.01em;
}

.ww-search-price-chip__tick {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.55rem;
	height: 1.55rem;
	border-radius: 999px;
	background: rgba(2, 132, 199, 0.12);
	color: var(--color-secondary, #0284c7);
	font-size: 0.9rem;
	flex-shrink: 0;
	opacity: 0;
	visibility: hidden;
	transform: none;
	transition: opacity 0.2s ease, visibility 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.ww-search-price-checkbox:checked + .ww-search-price-chip__inner {
	border-color: var(--color-secondary, #0284c7);
	background: var(--color-secondary, #0284c7);
	color: #fff;
	/* Kh?ng d?ng box-shadow: d? l?m scrollWidth v??t viewport tr?n mobile */
	box-shadow: none;
}

.ww-search-price-checkbox:checked + .ww-search-price-chip__inner .ww-search-price-chip__tick {
	opacity: 1;
	visibility: visible;
	background: rgba(255, 255, 255, 0.2);
	color: #fff;
}

.ww-search-price-checkbox:focus-visible + .ww-search-price-chip__inner {
	outline: 2px solid rgba(2, 132, 199, 0.45);
	outline-offset: 0;
}

.ww-search-price-clear {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	flex-shrink: 0;
	min-height: 3.4rem;
	padding: 0.65rem 1.1rem;
	border: 1.5px solid #ef4444;
	border-radius: 999px;
	background: #fff;
	color: #dc2626;
	font-size: var(--font-size-body, 1.4rem);
	font-weight: 600;
	white-space: nowrap;
	transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.ww-search-price-clear .icon {
	font-size: 1.2rem;
	color: #dc2626;
}

.ww-search-price-clear__text {
	color: #dc2626;
}

.ww-search-price-clear:hover {
	border-color: #dc2626;
	color: #b91c1c;
	background: #fef2f2;
}

.ww-search-price-clear:hover .icon,
.ww-search-price-clear:hover .ww-search-price-clear__text {
	color: #b91c1c;
}

.ww-search-price-clear[hidden] {
	display: inline-flex !important;
	visibility: hidden;
	pointer-events: none;
}

/* Trang t?t c? s?n ph?m: gi? menu tr?i ?n ??nh khi filter l?m ??i chi?u cao danh s?ch */
@media (min-width: 1280px) {
	body.ww-all-products .index-container {
		align-items: start;
		grid-template-columns: 300px minmax(0, 1fr);
	}

	body.ww-all-products .index-container > div:first-child {
		align-self: start;
		width: 100%;
		max-width: 300px;
	}

	body.ww-all-products .index-container > div:first-child > .sticky {
		width: 100%;
	}
}

/* Gi? ch? n?t X?a ?? filter kh?ng co gi?n layout khi tick gi? */
body.ww-all-products .ww-search-price-clear[hidden] {
	display: inline-flex !important;
	visibility: hidden;
	pointer-events: none;
}

body.ww-all-products #search-results-grid {
	min-height: 28rem;
}

@media (min-width: 1024px) {
	.ww-search-filter-card__row {
		padding: 0.95rem 1.15rem;
		gap: 1rem;
	}
}

@media (max-width: 767px) {
	.ww-search-filter-card__row {
		flex-wrap: nowrap;
		padding: 0.75rem 0.85rem;
		gap: 0.65rem;
	}

	.ww-search-filter-card__title {
		display: none;
	}

	.ww-search-price-filters--inline {
		flex: 1 1 auto;
		width: 0; /* bu?c flex item co l?i ?? overflow-x:auto ho?t ??ng */
	}

	.ww-search-price-clear__text {
		display: none;
	}

	.ww-search-price-clear {
		padding: 0.55rem 0.7rem;
	}
}

.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
}

@media(max-width: 767px){

	.article-list--scroll{
	    display: grid;
	    grid-auto-columns: var(--article-width,65%);
    	grid-template-columns: var(--article-width,65%);
		grid-auto-flow: column;
    	overflow: auto;
	}

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

.product-contact__zalo{
	background: #288AD6;
    color: white;
}
.product-contact__messenger{
    background: #3180f3;
    color: white;
}
.product-contact__phone{
    background: #d0cfcf;
}

.product-contact__phone:hover{
	filter: brightness(0.9)
}
.embla-thumbs .embla__slide:last-of-type{
	margin-right: auto
}
.embla-thumbs .embla__slide:first-of-type{
	margin-left: auto
}
.embla .embla__button:hover{
	background: #e0f2fe;
	color: #0284c7;
}

.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;
}
.modal-live.opened {
  transform: translateY(0) translateX(-50%);
}

.modal-live .btn-close--live {
  position: absolute;
  right: 0.75rem;
  top: 0.75rem;
  left: auto;
  z-index: 30;
  cursor: pointer;
  opacity: 1;
  padding: 0;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  border: 1px solid #991b1b;
  background: #b91c1c;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.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
}

.ww-pd-stock #ww-pd-stock-label.text-success {
	color: #16a34a;
}

.ww-pd-stock #ww-pd-stock-label.text-error {
	color: #dc2626;
}

.ww-pd-attachments-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 0.75rem;
}

.ww-pd-attachment-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.7rem 1.1rem;
	border: 1px solid var(--color-secondary, #2563eb);
	border-radius: 0.25rem;
	color: var(--color-secondary, #2563eb);
	font-size: 1.25rem;
	line-height: 1.4;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.ww-pd-attachment-link:hover {
	background-color: var(--color-secondary, #2563eb);
	color: #fff;
}

.ww-pd-attachment-link .icon {
	flex-shrink: 0;
}
.card-product__body .price {
	font-size: 1.4rem;

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

/* Gi? g?c g?ch ngang: r?, c?n gi?a ch? */
.compare-price.price--struck {
	color: var(--color-price-compare, #929292);
	text-decoration: line-through;
	text-decoration-thickness: max(1px, 0.07em);
	text-decoration-color: rgba(100, 100, 100, 0.55);
	-webkit-text-decoration-skip: ink;
	text-decoration-skip-ink: auto;
}

/* Flash sale: gi? b?n v? gi? g?c (g?ch) c?ng c? ch? (?u ti?n h?n utility Tailwind) */
.card-product__body .card-product__price-row .price-box .price,
.card-product__body .card-product__price-row .price-box .compare-price.price--struck {
	font-size: 1.45rem !important;
	font-weight: 600 !important;
	line-height: 1.25 !important;
}

/* H?ng gi? flash sale: hai gi? c?n gi?a theo tr?c d?c v?i c?t gi? + % */
.card-product__body .card-product__price-row {
	align-items: center;
	gap: 0.75rem;
}

.card-product__body .card-product__price-row .price-box {
	min-width: 0;
	padding-right: 0.25rem;
	display: flex !important;
	flex-direction: column !important;
	flex-wrap: nowrap !important;
	align-items: flex-start !important;
	gap: 0.15rem 0 !important;
}
.card-product__body .card-product__price-row .price-box > .flex {
	display: flex;
	flex-direction: column !important;
	flex-wrap: nowrap !important;
	align-items: flex-start !important;
	gap: 0.15rem !important;
	width: 100%;
}
.card-product__body .card-product__price-row .price-box .price,
.card-product__body .card-product__price-row .price-box .compare-price {
	display: block;
	width: 100%;
}

.card-product__body .card-product__price-actions {
	align-items: center;
	justify-content: center;
	min-height: 100%;
	gap: 0.35rem;
}

.card-product__body .card-product__price-actions .flashsale-discount-badge {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 2.6rem;
	height: 2.6rem;
	min-width: 2.6rem;
	min-height: 2.6rem;
	padding: 0 !important;
	margin: 0 auto;
	border-radius: 9999px !important;
	font-size: 1.05rem !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	text-align: center;
}
.card-product__body .card-product__cart-btn .btn.add_to_cart {
	width: 3.6rem;
	height: 3.6rem;
	min-width: 3.6rem;
	min-height: 3.6rem;
	padding: 0;
	border-radius: 0.85rem;
	gap: 0;
	color: #f97316;
	border-color: #f97316 !important;
}

/* Icon tr?n card s?n ph?m: xanh da tr?i + to h?n d? b?m */
.card-product .ww-quick-view-btn {
  width: 5rem !important;
  height: 5rem !important;
  color: #0ea5e9 !important;
  border: 1px solid #0ea5e9 !important;
  box-shadow: 0 6px 18px rgba(14, 165, 233, 0.18);
}
.card-product .ww-quick-view-btn .icon-eye,
.card-product .ww-quick-view-btn .icon-eye::before {
  color: #0ea5e9 !important;
  font-size: 2.45rem !important;
  line-height: 1;
  -webkit-text-stroke: 0.35px #0ea5e9;
  paint-order: stroke fill;
}
.card-product .addtocart-btn {
  width: 3.6rem !important;
  height: 3.6rem !important;
  color: #f97316 !important;
  border-color: #f97316 !important;
}
.card-product .addtocart-btn .icon-cart,
.card-product .addtocart-btn .icon-cart::before,
.card-product .card-product__cart-btn .icon-cart,
.card-product .card-product__cart-btn .icon-cart::before {
  color: #f97316 !important;
  font-size: 1.8rem !important;
  line-height: 1;
  -webkit-text-stroke: 0.35px #f97316;
  paint-order: stroke fill;
}
.card-product .addtocart-btn:hover,
.card-product .ww-quick-view-btn:hover {
  filter: brightness(0.95);
}

/* N?t m?i t?n carousel (embla) ? xanh da tr?i */
.embla .embla__button {
  color: #0ea5e9;
  border: 1px solid #0ea5e9;
}
.embla .embla__button .icon,
.embla .embla__button .icon::before {
  color: #0ea5e9;
}
.embla .embla__button:hover {
  background: #e0f2fe;
  color: #0284c7;
  border-color: #0284c7;
}
.embla .embla__button[disabled],
.embla .embla__button:disabled {
  color: #7dd3fc;
  border-color: #7dd3fc;
  opacity: 0.55;
}

.btn-add-to-cart span {
	font-size: 1.2rem;
	font-weight: 400
}
 
.aspect-custom{
	aspect-ratio: var(--aspect-ratio)

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

/** ?n n?t LIVE v? modal livestream (b? block n?y n?u c?n b?t l?i) **/
.header-box-live {
	display: none !important;
}
.modal-live {
	display: none !important;
	pointer-events: none;
	visibility: hidden;
}

/* ?nh trong ??c ?i?m n?i b?t ? click m? lightbox */
#ww-pd-desc .ww-pd-desc-spotlight,
#ww-pd-desc .swiper-spotlight {
	cursor: zoom-in;
	max-width: 100%;
	display: block;
}

#ww-pd-desc .ww-pd-desc-spotlight img,
#ww-pd-desc .swiper-spotlight img {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 0.75rem auto;
}

/* Emoji / icon nh? trong m? t? SP: lu?n inline c?ng d?ng ch? */
#ww-pd-desc img[src*="emoji.php"],
#ww-pd-desc img[src*="/emoji/"],
#ww-pd-desc img[width="16"],
#ww-pd-desc img[height="16"],
#ww-pd-desc img[width="18"],
#ww-pd-desc img[height="18"] {
	display: inline !important;
	width: 1.15em !important;
	height: 1.15em !important;
	max-width: 1.15em !important;
	max-height: 1.15em !important;
	margin: 0 0.1em !important;
	vertical-align: -0.2em;
	border-radius: 0;
	object-fit: contain;
}
#ww-pd-desc span.html-span {
	display: inline !important;
}

/* HTML d?n t? Facebook: m?i kh?i div l? 1 d?ng/?o?n */
#ww-pd-desc > div {
	display: block;
	margin: 0 0 0.85em;
}
#ww-pd-desc > div:last-child {
	margin-bottom: 0;
}
#ww-pd-desc div[dir="auto"] {
	display: block;
	margin: 0 0 0.35em;
	line-height: 1.55;
}
#ww-pd-desc div[dir="auto"]:last-child {
	margin-bottom: 0;
}
#ww-pd-desc br {
	display: block;
	content: "";
	margin-top: 0.35em;
}

/* Gradient "Xem th?m" kh?ng ch?n click ?nh */
.product-description .expandable-content:not(.show-all)::after {
	pointer-events: none;
}
/* Homepage video section */
.ww-home-video-card {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.65rem;
	padding: 0;
	border: 0;
	background: transparent;
	text-align: left;
	cursor: pointer;
	color: inherit;
}
.ww-home-video-card__thumb {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: 0.85rem;
	background: #f1f5f9;
}
.ww-home-video-card__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.25s ease;
}
.ww-home-video-card:hover .ww-home-video-card__thumb img {
	transform: scale(1.04);
}
.ww-home-video-card__play {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
}
.ww-home-video-card__title {
	font-size: 1.45rem;
	font-weight: 700;
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.ww-home-video-card__summary {
	font-size: 1.2rem;
	color: #475569;
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.ww-video-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0.75rem;
}
.ww-video-modal[hidden] {
	display: none !important;
}
.ww-video-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(2, 6, 23, 0.82);
	backdrop-filter: blur(4px);
}
.ww-video-modal__panel {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	width: min(560px, calc(100vw - 1.5rem));
	height: 80vh;
	max-height: 80vh;
	overflow: hidden;
	background: #0b1220;
	border-radius: 1.25rem;
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}
.ww-video-modal__scroll {
	flex: 1 1 auto;
	min-height: 0;
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}
.ww-video-modal__close {
	position: absolute;
	top: 0.85rem;
	right: 0.85rem;
	left: auto;
	z-index: 5;
	width: 2.4rem;
	height: 2.4rem;
	border-radius: 999px;
	border: 1px solid #991b1b;
	background: #b91c1c;
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(153, 27, 27, 0.35);
}
.ww-video-modal__close:hover {
	background: #991b1b;
	border-color: #7f1d1d;
	color: #fff;
}
.ww-video-modal__media {
	position: relative;
	display: block;
	/* ?? l?i kho?ng cho title/m? t? b?n d??i trong modal 80vh */
	width: min(100%, calc(70vh * 9 / 16));
	max-width: 100%;
	aspect-ratio: 9 / 16;
	max-height: 70vh;
	margin: 0 auto;
	background: #000;
	overflow: hidden;
	box-sizing: border-box;
}
.ww-video-modal__media iframe,
.ww-video-modal__media video,
.ww-video-modal__media embed,
.ww-video-modal__player {
	display: block;
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: 100%;
	border: 0;
	background: #000;
	object-fit: contain;
}
.ww-video-modal__media img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	object-fit: contain;
}
.ww-video-modal__body {
	display: block;
	overflow: visible;
	padding: 0.9rem 1rem 1.15rem;
	background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
	color: #e2e8f0;
}
.ww-video-modal__title {
	margin: 0 0 0.4rem;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.35;
	color: #fff;
}
.ww-video-modal__summary {
	margin: 0 0 0.65rem;
	color: #94a3b8;
	line-height: 1.5;
	font-size: 0.95rem;
}
.ww-video-modal__content {
	line-height: 1.6;
	color: #cbd5e1;
	font-size: 0.95rem;
}
.ww-video-modal__content iframe,
.ww-video-modal__content video {
	max-width: 100%;
	border-radius: 0.5rem;
}
.ww-video-modal__content a {
	color: #86efac;
}
@media (max-width: 480px) {
	.ww-video-modal {
		padding: 0.75rem;
		align-items: center;
		justify-content: center;
	}
	.ww-video-modal__panel {
		width: min(100%, calc(100vw - 1.5rem));
		max-height: 80vh;
		height: 80vh;
		border-radius: 1.25rem;
		margin: 0 auto;
	}
	.ww-video-modal__media {
		width: min(100%, calc(68vh * 9 / 16));
		max-width: 100%;
		aspect-ratio: 9 / 16;
		max-height: 68vh;
		margin: 0 auto;
	}
	.ww-video-modal__body {
		max-height: none;
		overflow: visible;
	}
}
@media (min-width: 768px) {
	.ww-video-modal__panel {
		width: min(640px, calc(100vw - 2rem));
	}
}
html.ww-video-modal-open,
html.ww-video-modal-open body {
	overflow: hidden;
}

/* Cart header: icon + badge cam, s? nh?y t? d??i l?n */
.mini-cart .header-icon {
  border-width: 1.5px !important;
  border-color: #f97316 !important;
  color: #f97316;
}
.mini-cart .icon-cart,
.mini-cart .icon-cart::before {
  color: #f97316 !important;
  font-weight: 600 !important;
  -webkit-text-stroke: 0.45px #f97316;
  text-stroke: 0.45px #f97316;
  paint-order: stroke fill;
}
.cart-count {
  background-color: var(--color-cart-bubble-bg, #f97316) !important;
  color: var(--color-cart-bubble, #fff) !important;
  overflow: hidden;
  line-height: 1;
}
.cart-count .cart-count__num {
  display: inline-block;
  transform: translateY(0);
  will-change: transform, opacity;
}
.cart-count.cart-count--bump .cart-count__num {
  animation: ww-cart-count-up 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes ww-cart-count-up {
  0% {
    transform: translateY(110%);
    opacity: 0;
  }
  55% {
    transform: translateY(-12%);
    opacity: 1;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Skeleton danh m?c trang ch? (tr??c khi AJAX ?? section) */
#ww-home-products-skeleton .section-card {
	background: transparent;
}
#ww-home-products-skeleton[hidden] {
	display: none !important;
}

body.checkout .section-checkout,
body.checkout .section-checkout .container,
body.checkout .section-checkout .grid,
body.checkout #ww-checkout-form,
body.checkout #ww-checkout-form > div {
	max-width: 100%;
	min-width: 0;
}

body.checkout .section-checkout .form-input,
body.checkout .section-checkout .form-textarea,
body.checkout .section-checkout .form-select {
	display: block;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	box-sizing: border-box !important;
}

body.checkout .checkout-order-item {
	min-width: 0;
	max-width: 100%;
}

@media (max-width: 767px) {
	body.checkout .section-checkout .container {
		padding-left: 1.2rem;
		padding-right: 1.2rem;
		box-sizing: border-box;
	}

	body.checkout .section-checkout > .container > .grid {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
	}

	body.checkout .section-checkout .bg-background {
		padding-left: 1.2rem;
		padding-right: 1.2rem;
		box-sizing: border-box;
		overflow-x: clip;
	}
}

/* Confirm x?a s?n ph?m trong gi? */
.ww-cart-remove-confirm {
	position: fixed;
	inset: 0;
	z-index: 10050;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.6rem;
	pointer-events: none;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.18s ease, visibility 0.18s ease;
}
.ww-cart-remove-confirm.is-open {
	pointer-events: auto;
	opacity: 1;
	visibility: visible;
}
.ww-cart-remove-confirm__overlay {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.48);
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
}
.ww-cart-remove-confirm__panel {
	position: relative;
	z-index: 1;
	width: min(100%, 36rem);
	padding: 2.4rem 2rem 2rem;
	border-radius: 1.6rem;
	background: #fff;
	box-shadow: 0 20px 50px rgba(15, 23, 42, 0.22);
	text-align: center;
	transform: translateY(10px) scale(0.96);
	opacity: 0;
	transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.22s ease;
}
.ww-cart-remove-confirm__panel.is-in {
	transform: translateY(0) scale(1);
	opacity: 1;
}
.ww-cart-remove-confirm__icon {
	width: 5.6rem;
	height: 5.6rem;
	margin: 0 auto 1.2rem;
	border-radius: 9999px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ee1926;
	background: linear-gradient(180deg, #fff1f2 0%, #ffe4e6 100%);
	border: 1px solid #fecdd3;
}
.ww-cart-remove-confirm__title {
	margin: 0 0 0.6rem;
	font-size: 1.8rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--color-foreground, #111);
}
.ww-cart-remove-confirm__desc {
	margin: 0 0 1.4rem;
	font-size: 1.4rem;
	line-height: 1.5;
	color: var(--color-neutral-300, #666);
}
.ww-cart-remove-confirm__product {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem 1.2rem;
	margin: 0 0 1.8rem;
	border-radius: 1.2rem;
	background: linear-gradient(180deg, #f0f9ff 0%, #e0f2fe 100%);
	border: 1px solid #bae6fd;
	text-align: left;
}
.ww-cart-remove-confirm__thumb {
	width: 5.6rem;
	height: 5.6rem;
	object-fit: contain;
	border-radius: 0.8rem;
	background: #fff;
	border: 1px solid #e0f2fe;
	flex-shrink: 0;
}
.ww-cart-remove-confirm__name {
	margin: 0;
	font-size: 1.4rem;
	font-weight: 600;
	line-height: 1.4;
	color: var(--color-foreground, #111);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.ww-cart-remove-confirm__actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.8rem;
}
.ww-cart-remove-confirm__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 4.4rem;
	padding: 0.8rem 1.2rem;
	border-radius: 9999px;
	font-size: 1.4rem;
	font-weight: 600;
	cursor: pointer;
	transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.ww-cart-remove-confirm__btn:active {
	transform: scale(0.97);
}
.ww-cart-remove-confirm__btn--ghost {
	border: 1px solid var(--color-neutral-50, #ebebeb);
	background: #fff;
	color: var(--color-foreground, #111);
}
.ww-cart-remove-confirm__btn--ghost:hover {
	background: #f8fafc;
	border-color: #cbd5e1;
}
.ww-cart-remove-confirm__btn--danger {
	border: 1px solid transparent;
	background: #ee1926;
	color: #fff;
}
.ww-cart-remove-confirm__btn--danger:hover {
	background: #dc2626;
}
@media (max-width: 480px) {
	.ww-cart-remove-confirm__panel {
		padding: 2rem 1.6rem 1.6rem;
	}
	.ww-cart-remove-confirm__actions {
		grid-template-columns: 1fr;
	}
}
