/** Product infor **/
.product-detail-left {
	border-top-left-radius: 0.25rem;
	border-bottom-left-radius: 0.25rem;
}
.details-product .details-pro {
	--block-spacing: 10px;
	border-top-right-radius: 0.25rem;
	border-bottom-right-radius: 0.25rem;
}
.title-product, .title-product a {
	font-weight: 700;
	font-size: 20px;
	color: var(--text-color)
}
@media (max-width: 767px) {
	.title-product {
		font-size: 1.2rem;
	}
}
.details-pro .group-status .line {
	color: #999;
}
.details-pro .group-status {
	font-size: 14px;
}
@media (max-width: 575px) {
	.details-pro .group-status .line {
		display: none;
	}
}
.status_name, .status_name a {
	color: #007bff;
}
.details-product .details-pro .price-box {
	position: relative;
	margin: 15px 0 10px;
	background: #f1f1f1;
	border-radius: 4px;
	display: block;
}
.details-product .details-pro .product-badge {
	display: block;
}
.details-product .details-pro .product-price {
	font-size: 26px;
	color: var(--price-color);
	line-height: 24px;
	font-family: inherit;
	font-weight: 900;
}
.details-product .details-pro .product-price-old {
	font-size: 16px;
}

.button_actions .btn_base {
	width: 100%;
}
.button_actions {
	display: flex;
	margin-bottom: 10px;
	flex-wrap: wrap;
}
.button_actions .btn {
	transition: all 0.3s ease;
	font-weight: 700;
	text-decoration: none;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	flex-flow: column;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	height: 55px;
	font-size: 14px;
	line-height: 20px;
	padding: 5px 10px;
}
.button_actions .btn span {
	font-weight: 400;
	font-size: small;
}
.buynow, .quick-view-product .button_actions .btn-cart {
	grid-column: 1 / -1;
	background-color: var(--buynow-bg);
	color: var(--buynow-text-color);
}
.buynow:hover {
	color: var(--buynow-text-color);
	opacity: .8;
}
.button_actions .btn-cart, .btn-installment {
	background-color: #fff;
	color: var(--buynow-bg);
	border: 1px solid var(--buynow-bg);
	margin-top: 10px;
	width: calc(50% - 5px);
}
.button_actions .btn-cart:hover, .btn-installment:hover {
	background-color: var(--buynow-bg);
	color: #fff;
}
.button_actions .btn-cart {
	margin-right: 5px;
}
.btn-installment {
	margin-left: 5px;
}
.button_actions .btn:only-child, .button_actions .btn.is-full {
	width: 100%;
	margin-left: 0;
	margin-right: 0;
}
.button_actions .btn-cart strong {
	font-size: 16px;
}
.button_actions .btn-cart:hover, .btn-installment:hover {
	filter: brightness(1.2);
}
@media (max-width: 575px) {
	.button_actions .btn {
		min-width: 100%;
		margin-left: 0;
		margin-right: 0;
		width: 100%;
	}
}
.soluong.show {
	display: grid;
}
.soluong {
	align-items: center;
	grid-template-columns: 115px 1fr;
	margin-bottom: 20px;
}
.soluong label {
	margin: 0;
	font-weight: bold;
}
#ega-sticky-addcart .soluong {
	margin-bottom: 0;
}
.soluong label {
	color: #727272;
	justify-content: flex-start;
}
.input_number_product, .custom-btn-number {
	border: none;
	display: flex;
	height: 36px;
	margin-bottom: 0;
	margin-top: 0;
	align-items: center;
}
button.btn.btn_num {
	border-radius: 0;
	padding: 4px;
	width: 30px;
	border: 1px solid #ced4da;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #8c9196;
}
button.btn.btn_num.num_1 {
	border-right: none;
	border-radius: 4px 0 0 4px;
}
button.btn.btn_num.num_2 {
	border-radius: 0 4px 4px 0;
	border-left: none;
}
.prd_quantity {
	border: 0;
	width: 55px !important;
	text-align: center;
	border-top: 1px solid #ced4da;
	border-bottom: 1px solid #ced4da;
	border-radius: 0;
	height: 30px;
}
.details-product .details-pro .price-box, #ega-sticky-addcart .price-box {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	background: transparent;
	padding-left: 0;
	padding-right: 0;
	margin-top: calc(var(--block-spacing));
	column-gap: 4px;
}
#ega-sticky-addcart .price-box {
	border-top: none;
}
.details-product .price-box .label_product, #ega-sticky-addcart .label_product {
	border-radius: 4px;
	background: var(--label-background);
	color: var(--label-color);
	display: inline-flex;
	justify-content: center;
	align-items: center;
	font-size: 14px;
	padding: 3px 8px;
	font-weight: bold;
	margin-left: 10px;
}
.product-price-old {
	color: #979797 !important;
	margin-left: 5px;
	font-size: 14px;
	font-weight: 600;
}
.details-product .quickview-info .price-box {
	margin-top: var(--block-spacing);
	padding-top: var(--block-spacing);
	padding-top: var(--block-spacing);
}
.quick-view-product .product-summary {
	padding: var(--block-spacing) 0;
}

.icon-button-play {
	width: 20px !important;
}
.product-promotion {
	background-color: var(--body-background);
	padding: 10px;
	margin-bottom: 10px;
}
.product-promotion__heading {
	color: #fff;
	margin-bottom: 8px;
	background-color: var(--primary-color);
	font-size: 14px;
	font-weight: 700;
	padding: 5px 10px;
}
.product-promotion ul {
	margin-bottom: 0;
	border-radius: 4px;
	padding: 8px 8px 8px 28px;
	background: #fff
}
.product-promotion ul li {
	padding: 3px 0;
}
.product-specifications table {
	border-collapse: unset;
	border-spacing: 0;
}
.product-specifications table td {
	padding: 8px;
	border-right: 1px solid var(--border-color);
	border-bottom: 1px solid var(--border-color);
}
.product-specifications table tr:nth-of-type(odd) {
	background-color: var(--body-background);
}
.product-specifications table tr:first-child td {
	border-top: 1px solid var(--border-color);
}
.product-specifications table tr td:first-child {
	border-left: 1px solid var(--border-color);
	width: 40%;
}
.product-specifications table tr:first-child td:first-child {
	border-top-left-radius: 8px;
}
.product-specifications table tr:first-child td:last-child {
	border-top-right-radius: 8px;
}
.product-specifications table tr:last-child td:last-child {
	border-bottom-right-radius: 8px;
}
.product-specifications table tr:last-child td:first-child {
	border-bottom-left-radius: 8px;
}
.product-hotline a {
	font-weight: bold;
	color: var(--primary-color);
}
.details-product .product-promo-tag {
	margin-top: 5px;
	margin-bottom: 5px;
}





/* -------------------CUSTOM-------------------- */

#policy-box{
	margin-bottom: 0px;
	border: 1px solid #e7e7e7;
}
#policy-box,
#policy-box * {
	font-size: 13px;
}
#product-policises li {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background-color: transparent;
}
#policy-box ul {
	padding: 0px;
}

#product-policises li svg {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}
.product-promotion ul{
	background-color: transparent;
	padding: 0px 0px 0px 30px;
}
#ega-uti-editable-content p {
	font-size: 14px;
	text-align: justify;
	line-height: 1.5;
	color: #363636;
}
#ega-uti-editable-content h3 {
	font-size: 1.2rem;
	font-weight: 600;
}

#tskt p {
	margin: 0;
	font-family: inherit;
	font-size: inherit;
}

.product_getcontent > table {
	width: 100%;
	border-collapse: collapse;
}

.product_getcontent > table td {
	padding: 8px 12px;
	vertical-align: top;
}

.product_getcontent > table td:first-child {
	font-weight: 600;
}

.product_getcontent > table p {
	margin: 0;
	font-family: inherit;
	font-size: inherit;
}


.modal-content{
	font-family: var(--font-primary);;
}

.modal-title{
	font-family: var(--font-primary);;
	font-size:1.2rem;
	font-weight:700;
}

/* Bảng thông số */
.modal-body > table{
	width:100%;
	border-collapse:collapse;
}

.modal-body > table td{
	padding:10px 14px;
	border:1px solid #e5e5e5;
	vertical-align:top;
	line-height:1.6;
}

.modal-body > table td:first-child{
	width:30%;
	font-weight:600;
	background:#fafafa;
}

.modal-body > table td:last-child{
	width:70%;
}

.modal-body > table td[colspan="2"]{
	background:#f3f4f6;
	text-align:center;
	font-weight:700;
}

.modal-body > table p{
	margin:0;
	font:inherit;
}

.modal-body{
	overflow-x:auto;
}
#content iframe, #content video, #content img{
	border-radius: 5px;
	width: 100%
}

#content p img {
	display: block;
	width: 99% !important;
	height: auto !important;
	max-height: 70vh;
	object-fit: cover;
	object-position: center;
	margin: 20px auto;
	box-shadow: 0px 0px 0px 1px rgb(0 0 0 / 10%);
	background-color: #ffffff;
}

.promotion-box li::marker {
	content: "✓  ";
	color: #e84118;
	font-weight: bold;
}

.product-name-main {
	display: block;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.4;
}

.product-name-sub {
	display: block;
	margin-top: 1px;
	font-size: 15px;
	font-weight: 450;
	line-height: 1.3;
	color: #3f3f3f;
}
/* Ghi chú sản phẩm */
.product-note {
	font-size: 14px;
	line-height: 1.3;
}

.product-note__title {
	color: #e14210;
	font-weight: 700;
}

.product-note__list {
	margin: 4px 0 0;
	padding: 0;
	list-style: none;
}

.product-note__list li {
	position: relative;
	padding-left: 14px;
	color: #363636;
}

.product-note__list li::before {
	content: "*";
	position: absolute;
	left: 0;
	top: 0;
	color: #e14210;
	font-weight: 700;
}


@media (max-width: 767px) {

	#gallery_1 {
		height: 30vh;
		max-height: 320px;
		min-height: 240px;
		overflow: hidden;
	}

	#gallery_1 .slick-list,
	#gallery_1 .slick-track,
	#gallery_1 .slick-slide,
	#gallery_1 .item {
		height: 100% !important;
	}

	#gallery_1 .embed-responsive-1by1 {
		height: 100% !important;
		padding: 0 !important;
	}

	#gallery_1 .embed-responsive-1by1::before {
		display: none !important;
	}

	#gallery_1 img {
		width: 100% !important;
		height: 100% !important;
		object-fit: contain;
		object-position: center;
	}

	#gallery_02 .slick-slide {
		padding: 0 3px;
	}

	#gallery_02 .slick-slide img {
		width: 100%;
		height: 58px;
		object-fit: contain;
		border-radius: 5px;
	}
}

@media (min-width: 992px) {

	.details-product > .row {
		align-items: flex-start;
	}
}

.product-detail-tabs-section .product-detail-tabs {
	display: flex;
	align-items: center;
	gap: 28px;

	margin: 0;
	padding: 0;

	border-bottom: 1px solid #e5e5e5;
}

.product-detail-tabs-section .product-detail-tabs .nav-item {
	margin: 0;
	padding: 0;
}
.product-detail-tabs-section .product-detail-tabs .nav-link {
	position: relative;

	display: block;

	padding: 14px 2px;

	border: 0;
	border-radius: 0;

	background: transparent;

	color: #777;

	font-size: 16px;
	font-weight: 600;

	line-height: 1.4;

	cursor: pointer;
}

.product-detail-tabs-section .product-detail-tabs .nav-link:hover {
	border: 0;
	color: #222;
}

.product-detail-tabs-section .product-detail-tabs .nav-link.active {
	border: 0;
	background: transparent;

	color: #222;
	font-weight: 700;
}

.product-detail-tabs-section .product-detail-tabs .nav-link.active::after {
	content: "";

	position: absolute;

	left: 0;
	right: 0;
	bottom: -1px;

	height: 3px;

	background: currentColor;

	border-radius: 3px 3px 0 0;
}

.product-detail-tabs-section .product-detail-tab-content {
	padding-top: 20px;
}

.product-detail-tabs-section
#product-specifications
.product-specifications {
	width: 100%;
}

.product-detail-tabs-section .tab-content {
	display: block !important;
}
.product-detail-tabs-section
.product-detail-tab-content
> .tab-pane {
	display: none !important;
}

.product-detail-tabs-section
.product-detail-tab-content
> .tab-pane.active {
	display: block !important;
}

@media (max-width: 767px) {

	.product-detail-tabs-section .product-detail-tabs {
		gap: 20px;

		overflow-x: auto;
		overflow-y: hidden;

		flex-wrap: nowrap;

		white-space: nowrap;

		-webkit-overflow-scrolling: touch;
	}

	.product-detail-tabs-section .product-detail-tabs .nav-link {
		padding: 12px 0;

		font-size: 14px;
	}

	.product-detail-tabs-section .product-detail-tab-content {
		padding-top: 15px;
	}

}
.col_large_default.large-image{
	overflow: hidden;
	border: 1px solid #e7e7e7;
}

.collection-banner-pd-link {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: 4px;
}


.collection-banner-pd-more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;

	padding: 7px 10px;

	border: 0px;

	background: #fff;
	color: #333;

	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;

	white-space: nowrap;
	cursor: pointer;

	transition:
		background-color .2s ease,
		border-color .2s ease,
		color .2s ease,
		transform .2s ease;
}

.shortdes-spec {
	overflow: hidden;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	background: #fff;
}

.shortdes-spec-header{
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.collection-banner-pd-more img {
	display: block;

	width: 18px;
	height: 18px;

	object-fit: contain;

	transition: transform .2s ease;
}

.collection-banner-pd-link {
	position: relative;
	display: block;
	overflow: hidden;
}

.collection-banner-pd-more {
	position: absolute;
	right: 0;
	bottom: -50px;
	z-index: 2;
	visibility: hidden;
    transition: 0.1s ease;
}
.collection-banner-pd-link:hover .collection-banner-pd-more {
	bottom: 0px;           /* Hiện rõ */
  	visibility: visible;     /* Bật lại trạng thái tương tác */
}

@media (max-width: 575px) {

	.collection-banner-pd-more {
		padding: 7px 9px;
		font-size: 12px;
		gap: 6px;
	}

	.shortdes-spec-detail-btn img,
	.collection-banner-pd-more img {
		width: 16px;
		height: 16px;
	}

	.collection-banner-pd-more {
		right: 10px;
		bottom: 10px;
	}
}


/* =========================================
COMMON UI BOX
========================================= */

.ui-box {
	width: 100%;
	border: 1px solid #dedede;
	border-radius: 5px;
	background: #fff;
	color: var(--text-box);
	overflow: hidden;
}


/* =========================================
HEADER
========================================= */

.ui-box__header {
	display: flex;
	align-items: center;
	justify-content: space-between;

	gap: 12px;
	min-height: 35px;
	padding: 9px 12px;

	/* trắng bạc */
	background: #f5f6f7;

	color: var(--text-box);

	/* đường phân cách header / content */
	border-bottom: 1px solid #dedede;
}


/* =========================================
TITLE
========================================= */

.ui-box__title-wrap {
	display: flex;
	align-items: center;

	gap: 7px;

	min-width: 0;
}

.ui-box__title {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;

	color: var(--text-box);
}


/* =========================================
ICON TRƯỚC TITLE
========================================= */

.ui-box__icon {
	display: flex;
	align-items: center;
	justify-content: center;

	width: 20px;
	height: 20px;

	flex: 0 0 20px;
}

.ui-box__icon img {
	display: block;

	width: 18px;
	height: 18px;

	object-fit: contain;
}


/* =========================================
HEADER ACTION
========================================= */

.ui-box__action {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
	gap: 7px;
	font-size: 12px;
	line-height: 1.2;

	color: var(--text-box);
}


/* =========================================
CONTENT
========================================= */

.ui-box__content {
	padding: 10px;
	color: var(--text-box);
}

.shortdes-promotion>.ui-box__header{
	background: var(--primary-color);

}
.shortdes-promotion .ui-box__title{
	color: #fff;
}

.ui-box__content>ul{
	padding-inline-start: 25px;
}
.ui-box__content>ul>li{
	margin-bottom: 5px;
}
.ui-box__content>ul>li:last-child{
	margin-bottom: 0px;
}

.ui-box_footer {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
	gap: 0px;
	background: #fff;
	border-top: 1px solid #dedede;
	
}

.ui-box_footer-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;

	width: 100%;
	min-width: 0;
	min-height: 30px;
	padding: 5px 5px;

	border-radius: 0;

	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;

	cursor: pointer;

	transition:
		background-color .2s ease,
		border-color .2s ease,
		color .2s ease;
}


/* Xem thêm */
.ui-box_footer-btn--outline {
	background: #fff;
	border: 0px solid var(--primary-color, #d70018);
	color: var(--primary-color, #d70018);
}

.ui-box_footer-btn--outline:hover {
	background: #ff0000;
	color: white;
}


/* So sánh */
.ui-box_footer-btn--primary {
	background: var(--primary-color, #d70018);
	border: 0px solid var(--primary-color, #d70018);
	color: #fff;
}

.ui-box_footer-btn--primary:hover {
	filter: brightness(.92);
}

@media (min-width: 992px) {
  .details-product {
    --product-sticky-top-gap: 16px;
    --product-sticky-bottom-gap: 16px;
  }

  /* Cột ngoài kéo dài theo hàng để khối bên trong có vùng sticky */
  .details-product > .row > .sticky-bottom-div {
    position: relative !important;
    inset: auto !important;
    align-self: stretch !important;
    height: auto !important;
    overflow: visible !important;
  }

  /* Div có sẵn, bao quanh toàn bộ nội dung cột ảnh */
  .details-product > .row > .sticky-bottom-div > div {
    display: flow-root;
    position: sticky !important;
    top: var(
      --product-sticky-offset,
      var(--product-sticky-top-gap)
    ) !important;
    bottom: auto !important;
    height: auto;
    overflow: visible;
  }

  /* Tắt sticky riêng của gallery để tránh hai lớp sticky */
  .details-product .sticky-bottom-div .product-detail-left {
    position: static !important;
    inset: auto !important;
  }
}