/*
 * Single Product text
 * */
/* Hidden state */
#popup-overlay,
#added-to-cart-popup {
    display: none;
}

/* Overlay background */
#popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
}

/* Popup box */
#added-to-cart-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    background: #fff;
    padding: 20px;
    max-width: 340px;
    width: 90%;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
    text-align: center;
}

/* Product image */
#popup-product-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
}

/* Product title */
#popup-product-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Buttons */
.popup-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.popup-buttons a {
	display: block;
    padding: 10px;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.2s;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
}

.popup-buttons .btn-continue {
    background: #eee;
    color: #333;
}

.popup-buttons .btn-view-cart {
    background: #ccc;
    color: #000;
}

.popup-buttons .btn-checkout {
    background: #000;
    color: #fff;
}

/* Close button */
.popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 22px;
    font-weight: bold;
    background: transparent;
    border: none;
    color: #666;
    cursor: pointer;
}

/* Close hover */
.popup-close:hover {
    color: #fff;
	background: #af2623;
}












a {
	color: var(--su-color-2);
}
.product-page-hg-banner {
    background-color: transparent;
    font-family: 'Montserrat', sans-serif;
    line-height: 21px;
    background-image: linear-gradient(90deg, #B78AD9 10.01%, #87BFE9 105.4%);
    padding: 11px 16px 11px 16px;
    display: inline-block;
    color: white;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 0rem;
    text-transform: uppercase;
    text-align: center;
    background: #af2623;
    background: #333;
}
.woocommerce-product-details__short-description {
    margin-top: 1rem;
}
.woocommerce-Tabs-panel :is(h2, h3, h4){
    margin-top: 0px;
}
.woocommerce-Tabs-panel h2 {
    font-size: 1.5rem;
    line-height: 1.7rem;
    font-weight: 600;
}
.woocommerce-Tabs-panel h3 {
    font-size: 1.2rem;
    line-height: 1.3rem;
    font-weight: 600;
}
.woocommerce-Tabs-panel h4 {
    font-weight: 600;
}
.woocommerce-Tabs-panel > * {
    margin-bottom: 16px;
}

.woocommerce-Tabs-panel li {
    margin-bottom: 8px;
}
.woocommerce-Tabs-panel  * + :is(h2, h3, h4){
    margin-top: 24px !important;
}
.su-button {
    background: linear-gradient(90deg, #B78AD9 10.01%, #87BFE9 105.4%);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 1rem;
    line-height: 1rem;
    font-weight: 600;
}
/*
 * . Single Product text
 * */
.text-sm {
    font-size: 1rem;
	line-height: 1.2rem;
}
.text-bold {
	font-weight: 700;
}
.text-semi {
	font-weight: 600;
}
.text-medium {
	font-weight: 500;
}
.text-normal {
	font-weight: 400;
}

body {
	font-family: 'Montserrat', sans-serif;
}


html {
	font-size: 16px;
}
.page-header .entry-title, .site-footer .footer-inner, .site-footer:not(.dynamic-footer), .site-header .header-inner, .site-header:not(.dynamic-header), body:not([class*=elementor-page-]) .site-main {
	max-width: 100%;
}
.full-width {
	max-width: 100%;
	width: 100%;
}
.padding {
	padding-left: 20px;
	padding-right: 20px;
}
.block-container {
	max-width: var(--su-max-width);
	margin-left: auto;
	margin-right: auto;
}


/*
 * Breadcrumb
 * */
.woocommerce .wc-single-product_breadcrumb {
    margin-bottom: 32px;
}
.woocommerce .wc-single-product_breadcrumb {
    border-color: #f3f4f6;
    border-style: solid;
    border-width: 0px;
    border-bottom-width: 1px;
    background: #f9fafb;
	padding: 16px 0px;
}
.woocommerce .wc-single-product_breadcrumb .woocommerce-breadcrumb {
	margin-top: 0rem;	
	margin-bottom: 0rem;
}
.woocommerce .wc-single-product_breadcrumb .woocommerce-breadcrumb, .woocommerce .wc-single-product_breadcrumb .woocommerce-breadcrumb * {
	font-size: 16px;
    line-height: 20px;
    font-weight: 500;
    letter-spacing: normal;
	color: var(--su-text-gray-900);
}
.woocommerce .wc-single-product_breadcrumb .woocommerce-breadcrumb a {
	font-weight: 500;
	color: var(--su-color-1);	
}
.woocommerce .wc-single-product_breadcrumb .woocommerce-breadcrumb a:hover {
	color: var(--su-color-2);	
	text-decoration: underline;
}
.woocommerce .wc-single-product_breadcrumb .separate-item {
	vertical-align: middle;
}


/*
 * Product details - 
 * */
.woocommerce .summary .product_title {
    font-size: 2rem;
	line-height: 2.2rem;	
    font-weight: 700;
}
.summary .sku_wrapper {
    text-transform: uppercase;
}
.summary .popular-product-block {
    margin-bottom: 1rem;
}
body.single-product div.product, .woocommerce-notices-wrapper {
    max-width: 1220px !important;
    margin: 0 auto !important;
    float: none !important;
}
.woocommerce-product-gallery__wrapper .zoomImg {
  display: none !important;
}


/*
 * Product Gallery
 * */
.woocommerce-product-gallery__image {
    background: #f5f6f9;
    border-radius: 16px;
}

ol.flex-control-nav.flex-control-thumbs {
    margin-top: 32px !important;
}

ol.flex-control-nav.flex-control-thumbs li {
    padding: 8px;
}

ol.flex-control-nav.flex-control-thumbs li img {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
}

ol.flex-control-nav.flex-control-thumbs img {
    height: 80px !important;
    width: 100% !important;
    object-fit: cover;
}






/* .woocommerce-product-gallery__image {
  pointer-events: none !important;
} */
.vimeo-responsive-wrapper {
	position: relative;
	width: 100%;
	padding-top: 56.25%; /* 16:9 */
	overflow: hidden;
}
.vimeo-responsive-wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
	z-index: 99;
}
.summary p.price, p.price * {
    font-weight: 700;
    color: #af2623;
    font-size: 2rem;
	line-height: 2rem;
}

.summary p.price {
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.woocommerce .quantity .qty {
    padding: 8px 16px !important;
    font-size: 16px;
    line-height: 16px;
    box-sizing: border-box;
    display: block !important;
    outline: none;
    font-weight: 700 !important;
    font-family: 'Montserrat', sans-serif !important;
    height: 40px;
    border: 1px solid #e5e7eb;
    border-radius: 0px;
}

.woocommerce div.product form.cart {
	margin-bottom: 1rem;
}

.woocommerce div.product form.cart .button {
    padding: 8px 16px;
    font-size: 16px;
    line-height: 16px;
    text-transform: uppercase;
    font-weight: 700 !important;
    font-family: 'Montserrat', sans-serif !important;
    border: 0px;
    display: block;
    height: 40px;
    background: linear-gradient(90deg, #B78AD9 10.01%, #87BFE9 105.4%);
    border-radius: 0px;
}


.woocommerce div.product form.cart .button:hover {
    transform: scale(1.1);
}

ul.tabs.wc-tabs {
  display: flex;
  flex-wrap: nowrap;         /* Ngăn các tab xuống dòng */
  overflow-x: auto !important;          /* Cho phép scroll ngang */
  -webkit-overflow-scrolling: touch !important;  /* Mượt hơn trên iOS */
  gap: 1rem;
}

/* Mỗi tab item không co lại */
ul.tabs.wc-tabs li {
  flex: 0 0 auto;
  white-space: nowrap;
}

/* Tùy chọn: ẩn thanh scroll cho đẹp */
ul.tabs.wc-tabs::-webkit-scrollbar {
  display: none;
}
ul.tabs.wc-tabs {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {background-color: #F5FAFF;}
/*
 * Related Products 
 * */
.related.products {
	clear: both;
}
.related.products > h2 {
    font-size: 2rem;
    line-height: 2.2rem;
    font-weight: 600;
    letter-spacing: 0px;
    margin-top: 0px !important;
    margin-bottom: 48px !important;
}
.related.products .products::before, .related.products .products::after {
    display: none;
}
.related.products .products {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}
.related.products .products > *  {
	width: 100% !important;
}
@media (max-width: 1200px) {
	.related.products .products {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 900px) {
	.related.products .products {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.related.products .products {
		grid-template-columns: 1fr;
	}
}


.related.products .product.type-product {
	position: relative;
}
.related-products-loop-item-wrraper {
    border: 1px solid #f3f4f6;
    padding: 16px;
    border-radius: 16px;
    transition: transform 0.1s linear;
    overflow: hidden;	
}
.related.products .product.type-product:hover {
    /* width: 100%; */
    /* position: absolute; */

}
.related-products-loop-item-wrraper:hover {
    z-index: 1;
    top: 0px;
    left: 0px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    transform: scale(1.01);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
	position: absolute;
}
.related-products-loop-item-wrraper .woocommerce-loop-product__title {
    font-size: 1rem !important;
    line-height: 1rem !important;
    font-weight: 600 !important;
    color: var(--su-text-gray-900);
    padding: 0px !important;
    margin-bottom: 16px !important;
    min-height: 2rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
/*     transition: max-height 0.4s ease, -webkit-line-clamp 0.4s ease; */
}
.related-products-loop-item-wrraper .woocommerce-loop-product__excerpt {
    font-size: 14px !important;
    line-height: 18px !important;
    font-weight: 400 !important;
    color: var(--su-text-gray-900);
    padding: 0px;
    margin-bottom: 0px;
    min-height: 28px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
/*     transition: max-height 0.1s ease, -webkit-line-clamp 0.1s ease; */
}
.related-products-loop-item-wrraper:hover .woocommerce-loop-product__title {
	display: block;
	font-size: 1rem !important;
    line-height: 1.5rem !important;
}
.related-products-loop-item-wrraper:hover .woocommerce-loop-product__excerpt {
	display: block;
    font-size: 14px !important;
    line-height: 22px !important;	
}

/* .related-products-loop-item-wrraper .woocommerce-loop-product__title:hover {
    display: block;
} */
.related.products .product.type-product span.price * {
    font-family: var(--theme-font-1);
    font-style: normal;
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1.2rem;
    color: #af2623;
}

.related.products .product.type-product a.button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 12px 24px;
    gap: 8px;
    width: 100%;
    background: linear-gradient(90deg, #B78AD9 10.01%, #87BFE9 105.4%);
    border-radius: 16px;
    text-align: center;
    color: #ffffff;
}


/*
 * Product tabs
 * */
.woocommerce-tabs.wc-tabs-wrapper {
    margin-bottom: 64px;
}

/*
 * patch fix
 * */
/* select.wapf-input { padding: 8px 8px; font-size: 1rem; line-height: 1rem; font-weight: 500; color: #111827; border: 0px !important; border-right: 8px solid transparent !important; box-shadow: 0px 0px 2px rgba(0, 0, 0, 1); } .wapf-field-label { font-size: 1rem; font-weight: 600; line-height: 1.2rem; margin-bottom: 1rem; } .wapf-product-totals .wapf--inner > div { border-bottom: 1px solid #e5e7eb; padding-bottom: 0.5rem !important; padding-top: 0.5rem !important; } .wapf-field-container { padding-left: 0px; } .wapf-product-totals .wapf--inner { padding-top: 0px; }
 */
.thwepo-title-above {
    padding-left: 0px;
    padding-right: 0px;
}

.thwepo-select-field select {
    padding: 8px 8px;
    font-size: 1rem;
    line-height: 1rem;
    font-weight: 500;
    color: #111827;
    border: 0px !important;
    border-right: 8px solid transparent !important;
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 1);
}
.whats-included {
	margin-top: 1.5rem;
	margin-bottom: 1rem;
}
.whats-included .label-tag {
	margin-bottom: 1rem;
}
label.label-tag, .label-tag {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.3rem;
    margin-bottom: 0rem;
}
.table-item {
    border-bottom: 1px solid #e5e7eb;
    padding-left: 0px;
    padding-bottom: 8px;
    padding-top: 8px;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.2rem;
}