/* css breadcrumb */
.flex-col.flex-grow.medium-text-center {
	display: block !important;
}
.flex-col.medium-text-center {
	display: none;
}
.single-product .page-title.shop-page-title.product-page-title {
	background: #fff;
/*     box-shadow: 0 4px 6px -1px rgb(0 0 0 / 10%), 0 2px 4px -1px rgb(0 0 0 / 6%); */
    z-index: 9;
}

.single-product .page-title-inner {
    padding: 8px 0 8px 15px;
    min-height: 0;
}

.single-product .woocommerce-breadcrumb a {
    text-transform: capitalize;
    color: #222222b8;
}

#tab-description figure.gallery-item {
    pointer-events: none;
}

/* css alert atc */
.message-container.success-color {
    background-color: #7a9c591c;
    color: #222;
    font-size: 15px;
    padding: 10px 15px !important;
    border: 1px solid #7a9c59;
    border-radius: 8px;
}

.woocommerce-message.message-wrapper {
    padding-bottom: 0 !important;
	margin-top: 20px;
    margin-bottom: 0 !important;
	border: 0 !important;
}

.product-gallery.col .col.large-10 {
	padding-bottom: 0;
	overflow: hidden;
}

.product-gallery.col .col.large-10, .product-info .box-bg {
    background-color: #fff;
}

.block-information__box-right, .product-info .box-bg {
	border-radius: 8px;
	overflow: hidden;
}

/* css galery image */
.product-thumbnails .flickity-slider .col a {
	border: 1px solid #e5e5e5;
    padding: 4px;
}

.product-thumbnails .is-nav-selected a img, .product-thumbnails a:hover img {
    transform: unset !important;
}

.product-thumbnails img {
	margin-bottom: 0 !important;
}

h1.product-title.product_title.entry-title {
    font-size: 20px;
    line-height: 30px;
}

.product-info .box-bg {
	padding: 12px;
}

/* css box in box */
.box-in-box {
    background-color: #fff;
    padding: 12px;
    border-radius: 8px;
    overflow: hidden;
}

.box-in-box h3 {
    font-size: 16px;
    margin-bottom: 15px;
}

ul.policy__list {
    list-style: none;
}

ul.policy__list, ul.policy__list li:last-child {
    margin-bottom: 0;
}

ul.policy__list li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.policy__list .pl-icon {
    width: 32px;
}

ul.policy__list li .pl-txt, ul.policy__list li .pl-txt a {
    font-size: 14px;
    line-height: 20px;
}

ul.policy__list li .pl-txt p {
    margin-bottom: 0;
}

ul.policy__list li .pl-txt p a {
    color: #2a83e9;
}

/* css mo ta ngan */
.product-info .box-grid {
	margin-top: 12px;
}

.product-short-description p:before {
    content: "- ";
}

.product-short-description p {
    margin-bottom: 10px;
}

.product-description {
    position: relative;
}

.product-short-description {
	background-color: #fff;
    max-height: 200px;
    transition: max-height .5s ease;
	overflow: hidden;
}

.product-short-description.show {
	max-height: 2000px;
	padding-bottom: 40px;
}

.product-short-description::before {
	content:'';
	height:150px;
	position:absolute;
	bottom:0px;
	left:0;
	width:100%;
	background: linear-gradient(to bottom,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 60%);
	transition:height .25s ease;
	z-index: 9;
}

.product-short-description::before {
	height: 70px;
}

.show-btn {
	color: var(--colorMain);
	border: none;
	border-radius: 100%;
	bottom: 5px;
	cursor: pointer;
	height: 30px;
	min-height: 30px;
	line-height: 30px;
	left: 48%;
	position: absolute;
	transition: background-color .5s ease;
	width: 30px;
	font-size:20px;
	margin: 0;
	padding: 0;
	z-index: 99;
}

.show-btn.fa.rotate {
	transform:rotate(180deg); 
}

.tai-sao p {
    margin-bottom: 10px;
}

.product-short-description, ul.promoadd_list, .product-description {
    font-size: 14px;
}

.product-short-description ul, ul.promoadd_list, .product-description ul {
    margin-bottom: 0;
}

.product-short-description ul li, ul.promoadd_list li, .product-description ul li, .product-description p {
    margin-bottom: 4px;
}

.single_variation_wrap .woocommerce-variation-price {
    border-top: 0;
    padding-top: 0;
}

p.giaban {
    margin-bottom: 8px;
}

span.phantram {
    display: inline-block;
    padding: 3px 14px;
    margin-right: 10px;
    background: #f2f5fa;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 13px;
    color: #b55d2b;
    vertical-align: text-bottom;
}

span.woocommerce-Price-amount.amount bdi {
    font-size: 18px;
    color: #878c8f;
    margin-right: 10px;
    font-weight: 400;
}

span.price-main .woocommerce-Price-amount.amount bdi, .woocommerce-variation-price .price .amount bdi {
    font-size: 25px;
    font-weight: 600;
    color: var(--primary-color);
}

.product-summary .woocommerce-Price-currencySymbol {
    vertical-align: middle !important;
}

.product-info form.cart {
    margin-bottom: 0;
}

.single-time-order {
    margin-bottom: 10px;
}

.single-time-order strong {
    color: green;
}

/* css bien the */
.ux-swatch__color--single-color {
    background-image: url(/wp-content/uploads/2024/08/bg-Chocolate.png) !important;
    flex-grow: 1;
    background-size: auto 100% !important;
}

.variations .ux-swatches {
    --swatch-size-large: 35px;
}

.ux-swatches--x-large .ux-swatch--image {
	width: unset !important;
	height: unset !important;
}

table.variations .ux-swatch {
	border: 1px solid rgba(0, 0, 0, 0.09);
	box-shadow: 0 0;
	border-radius: 2px;
	overflow: hidden;
	max-width: max-content;
	width: 100%;
	min-height: 2.3rem;
	box-sizing: border-box;
	padding: 0.3rem 0.75rem;
}

table.variations .ux-swatch.ux-swatch--image {
	width: 88px;
	height: 88px;
}

table.variations .ux-swatch.selected, table.variations .ux-swatch:hover {
	box-shadow: 0 0;
    border: 1px solid var(--primary-color);
}

table.variations .ux-swatch .ux-swatch__text {
    color: #222;
}

table.variations .ux-swatch.selected .ux-swatch__text {
    box-shadow: 0 0;
    font-weight: 400;
    color: var(--primary-color);
}

table.variations .ux-swatch.selected:before {
	content: "✓";
	color: #fff;
	font-size: 12px;
	height: 13px;
	right: 0;
	bottom: 0px;
	position: absolute;
	z-index: 5;
}

table.variations .ux-swatch.selected:after {
	content: "";
	border: 1rem solid transparent;
	border-bottom: 1.1rem solid var(--primary-color);
	position: absolute;
	right: -16px;
	bottom: 0px;
}

.variations .reset_variations {
    background: var(--primary-color) !important;
    opacity: 1;
    padding: 1px 8px;
    text-transform: initial;
    color: #000;
    border-radius: 20px;
    text-decoration: underline;
}

/* css thuoc tinh mau sac - cho day dong ho */
table.variations tbody tr .ux-swatches-attribute-ux_color span.ux-swatch__text {
    display: block !important;
    font-size: 12px;
    padding-left: 4px;
}

.ux-swatches-attribute-ux_color .ux-swatch.tooltip.ux-swatch--image {
    padding: 0px 8px 0 6px !important;
    min-height: 2.5rem;
    overflow: hidden;
}

.ux-swatches-attribute-ux_color .ux-swatch.tooltip.ux-swatch--image img {
    width: 28px;
}

/* css form quantity */
.ux-quantity.quantity.buttons_added.form-minimal {
    width: 140px;
}

button.single_add_to_cart_button.button.alt {
    width: calc(100% - 156px);
}

.button.is-form {
    box-shadow: 0 0 !important;
}

input.ux-quantity__button.ux-quantity__button--minus.button.minus, input.ux-quantity__button.ux-quantity__button--plus.button.plus {
    box-shadow: 0 0 !important;
    text-shadow: 0 0;
    background: bottom;
    color: #222;
}

.button.is-form:hover {
    background: #262424;
}

.ux-quantity.quantity .button.minus, .ux-quantity.quantity .button.plus {
    border-radius: 8px !important;
    -moz-border-radius: 8px !important;
    -webkit-border-radius: 8px !important;
    min-width: 40px;
    border: 1px solid #0000001c !important;
    min-height: auto;
    line-height: 1 !important;
}

.ux-quantity.quantity input[type=number] {
    border-radius: 8px !important;
    -moz-border-radius: 8px !important;
    -webkit-border-radius: 8px !important;
    border: 1px solid #0000001c !important;
    margin: 0 5px;
    min-width: 50px;
}

/* css btn contact */
.btn-form {
    margin-bottom: 0;
    width: 100%;
    max-width: 100%;
    border-radius: 8px;
}

.btn-form {
    display: inline-block;
    overflow: hidden;
    clear: both;
    padding: 9px 0;
    border-radius: 4px;
    font-size: 18px;
    line-height: normal;
    text-transform: uppercase;
    color: #fff !important;
    text-align: center;
    background: #b55d2b;
    text-decoration: none;
}

.btn-form span {
    display: block;
    font-size: 14px;
    color: #fff;
    text-transform: none;
    margin: 2px 0 0 0;
}

.product-contact {
    display: flex;
    gap: 0.5em;
}

.product-contact__zalo {
    background-color: #00b1d5;
}

.product-contact__zalo, .product-contact__sms {
    width: calc(50% - 0.25em - 1px);
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    line-height: 0px;
    color: white;
    text-decoration: none;
    gap: 0.75em;
}

.product-contact__form-button, .product-contact__zalo, .product-contact__sms {
    border-radius: 8px;
}

.product-contact__sms {
    background-color: #1877f2;
}

.product-contact__phone {
    display: flex;
    justify-content: center;
    gap: 5px;
    padding: 1em 0;
    width: 100%;
    font-size: 14px;
}

.product-contact__phone a {
    color: #0074BA;
    text-decoration: none;
}

.product-contact__zalo:hover, .product-contact__sms:hover {
    color: white !important;
}

.ux-quantity.quantity, button.single_add_to_cart_button.button.alt, .single_variation_wrap > * {
    display: none !important;
}

/* css dich vu */
.box-dv .icon-box-img {
    height: 60px;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.box-dv .icon-box-text {
    font-size: 14px;
    color: var(--primary-color);
}


/* css footer */
.woocommerce-tabs.wc-tabs-wrapper {
    border-top: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 15px !important;
}

div#tab-reviews {
    background-color: #fff;
    padding: 12px 16px;
}

div#tab-description {
    background: #f5f5f58a;
	padding: 12px 16px;
}

div#tab-reviews {
    margin-top: 12px;
}

div#tab-description img {
    margin-bottom: 0;
}

div#tab-description {
    font-size: 14px;
}

.col.large-9.form-mota {
    padding: 0;
}

.tieude-mota {
    margin-bottom: 12px;
}

.tieude-mota strong {
    font-size: 22px;
}

div#tab-description p a {
    color: var(--colorMain);
    text-decoration: underline;
}

figcaption.wp-caption-text.gallery-caption {
    background: rgba(0, 0, 0, .05);
    font-size: .9em;
    font-style: italic;
    padding: .4em;
}

figure.wp-caption.alignnone, .gallery.gallery-size-full {
    margin-bottom: 12px;
}

.gallery.gallery-size-full {
/*     flex-wrap: nowrap; */
/*     gap: 10px; */
}

figure.gallery-item {
    padding: 6px;
}

div#tab-description ul li {
    margin-left: 20px;
    margin-bottom: 6px;
}

figure.gallery-item a {
    cursor: revert-layer;
}

/* css san pham tuong tu */
.slider-nav-reveal .flickity-prev-next-button, .slider-nav-reveal .flickity-prev-next-button:hover {
    background: bottom !important;
    box-shadow: 0 0 !important;
}

.related.related-products-wrapper.product-section {
    background-color: #fff;
    padding: 12px 12px 0 12px;
    border-top: 0;
	margin-bottom: 12px;
}

h3.product-section-title {
    padding-top: 0;
}

.related.related-products-wrapper.product-section .product-small.box {
    box-shadow: rgb(60 64 67 / 6%) 0px 1px 2px 0px, rgb(60 64 67 / 8%) 0px 2px 6px 2px;
    border-radius: 8px;
    overflow: hidden;
}

.product-small.box .amount bdi {
    font-size: 14px;
    margin-right: 2px;
}

.product-small.box .price del .amount bdi {
	font-size: 14px;
}

.product-small.box .price ins .amount bdi {
	font-size: 15px;
	font-weight: 700 !important;
}

@media (min-width: 850px) {
	.product-gallery.col .col.large-10, div#tab-description, div#tab-reviews, .related.related-products-wrapper.product-section {
		border-radius: 8px;
	}
	
	.woocommerce-product-gallery__wrapper {
		border-radius: 8px;
		overflow: hidden;
	}
	
	.product-gallery.col.large-7 {
		padding-right: 8px;
	}
	
	.product-gallery.col .col.large-10 {
		padding-left: 0;
		padding-right: 0;
	}
	
	.product-info.summary {
		padding-top: 0;
        padding-bottom: 0;
        padding-left: 0;
	}
	
	.product-thumbnails .flickity-slider .col {
		padding-bottom: 6px !important;
	}
	
	.product-footer .container {
		padding-left: 6px;
	}
}

@media (max-width: 850px) {
	.product-gallery.col.large-6 {
		padding: 0 10px !important;
	}
	
	.product-info {
		padding: 10px 10px 0 10px !important;
	}

	.product-gallery.col.large-6 .col.large-10 {
		background: bottom;
		padding-bottom: 12px;
	}
	
	.product-footer .container {
		padding: 0;
	}
}

@media (max-width: 548px) {
	.flex-col.medium-text-center {
		text-align: left !important;
	}
	
	.product-main {
		padding: 6px 0 12px 0 !important;
	}
	
	.product-gallery.col .col.large-10 {
		padding: 0;
	}
	
	.product-info .box-bg {
		padding: 10px;
	}

	h1.product-title.product_title.entry-title {
		font-size: 16px;
        font-weight: 600;
        line-height: 26px;
	}

	button.single_add_to_cart_button.button {
		width: 100%;
	}
	
	.image-tools.absolute.top.show-on-hover.left.z-3 {
		left: 10px;
	}
	
	.image-tools.absolute.top.show-on-hover.right.z-3 {
		left: 5px;
	}
	
	/* css box in box */
	.policy__list .pl-icon {
		width: 40px;
	}
	
	.btn-back {
		width: 36px;
		height: 36px;
		background-color: #fff !important;
		box-shadow: 0 0 1px 1px rgba(20, 23, 28, 0.1), 0 3px 1px 0 rgba(20, 23, 28, 0.1);
		padding: 0;
		border-radius: 20px !important;
		line-height: unset;
		min-height: unset;
		margin: 0;
	}

	form.form-btn-back {
		margin-bottom: 0;
	}

	.btn-back svg {
		width: 24px;
		height: 34px;
	}
	
	/* 	css flash sale */
	.box-flash {
		padding: 0;
	}
	
	.tieude-mota strong {
		font-size: 18px;
	}
	
	.gallery.gallery-size-full {
		flex-wrap: wrap;
		gap: 2%;
	}
	
	figure.gallery-item {
		padding: 0;
	}

	figure.gallery-item {
		width: 49%;
	}

	.gallery.gallery-size-full figure.gallery-item:not(:nth-last-child(-n + 2)) {
		margin-bottom: 10px;
	}
	
	div#tab-description p {
		text-align: justify;
	}
	
	#ez-toc-container li, #ez-toc-container ul.ez-toc-list-level-3 {
		margin-left: 10px !important;
	}
	
	.related-products-wrapper .row-small {
		margin-left: -6px !important;
		margin-right: -6px !important;
	}

	.product-small.col {
		padding: 0 6px 12px !important;
	}
	table.variations .ux-swatch.ux-swatch--image {
    width: 80px;
    height: 80px;
}
}

.ux-swatch.tooltip.ux-swatch--image.tooltipstered {}