/* css breadcrumb */
.single-product .page-title.shop-page-title.product-page-title {
    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;
    min-height: 0;
}

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

.product-main {
	padding-top: 20px !important;
    padding-bottom: 12px !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-images.woocommerce-product-gallery--columns-4.images {
    border-radius: 8px;
    overflow: hidden;
}
.product-thumbnails .flickity-slider .col a {
	border-radius: 6px;
	border-color: rgba(0, 0, 0, .2);
	overflow: hidden;
}
::-webkit-scrollbar {
    width: 6px;
    background-color: #F5F5F5;
}
::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 5px;
    height: 200px;
    opacity: 0.6;
}

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

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

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

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

/* css tskt */

.box-thongso {
    margin-top: 10px;
}

.box-thongso th, .box-thongso td {
    font-size: 14px;
    font-weight: 400;
    border: 1px solid #dddddd;
    padding: 5px 10px!important;
	text-transform: none;
}

.box-thongso table{
    border-collapse:collapse;
}

.box-thongso th {
    width: 30%;
}


.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: #f94c43;
    vertical-align: text-bottom;
}

.sale-price 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, .product-info .price span.woocommerce-Price-amount.amount bdi {
    font-size: 25px;
    font-weight: 600;
    color: var(--colorMain);
}

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

/* 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;
}

.product-info table.variations .ux-swatch--label {
	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;
}

.product-info table.variations .ux-swatch--label.selected, .product-info table.variations .ux-swatch--label:hover {
	box-shadow: 0 0;
    border: 1px solid var(--colorMain);
    background-color: #1b5b4c29;
}

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

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

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

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

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

/* 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 button ATC */
.product-info form.cart {
    margin-bottom: 0;
}

button.single_add_to_cart_button.button {
    background-color: #fff;
    width: 400px;
    max-width: 100%;
    border: 1px solid #0000001c;
	border-radius: 4px;
    font-weight: 600;
    color: #000;
    opacity: 1;
    display: block;
}

button#buy_now_button, button.single_add_to_cart_button.button:hover {
    background-color: var(--colorMain);
    color: #fff;
}

button#buy_now_button {
    width: 100%;
    background-color: var(--colorMain);
    line-height: 25px;
    padding: 5px 10px;
    border-radius: 4px;
    border: 0;
}

button#buy_now_button p {
	margin-bottom: 0;
}

button#buy_now_button strong, button#buy_now_button span {
    width: 100%;
    display: block;
}

button#buy_now_button span {
    font-weight: 500;
    font-size: 13px;
}

button#buy_now_button strong {
    text-transform: uppercase;
	font-family: 'Muli', sans-serif, Arial;
}

button#buy_now_button b {
	color: #fff200;
}


/* css service */
.accordion-title, .accordion-title.active {
    background: bottom;
    background-color: #ff000000 !important;
    border-color: #ff000000 !important;
}

a.accordion-title.plain {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
}

.accordion-title.active {
    color: var(--colorMain) !important;
}

.icon-card {
    height: 27px;
}

.icon-card svg {
    width: 27px;
    height: 27px;
}

.icon-card-color svg path {
    stroke: var(--colorMain);
}

.service-left {
    display: flex;
    align-items: center;
}

.service-left span {
    padding-left: 10px;
    font-size: 16px;
}

.box-service .accordion-inner {
    background: #f5f5f5;
    padding: 8px 10px;
    margin-top: 10px;
}

.box-service .accordion-inner p {
    margin-bottom: 0;
    font-size: 14px;
}

.accordion-inner a {
    color: #008fff;
    text-decoration: underline;
    transition: all .3s;
}

.accordion-inner a:hover {
    color: var(--colorMain);
}

.noidung-left {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
    padding-top: 6px;
}

.icon-card-black svg path {
    stroke: #222;
}

.noidung-left span {
    padding-left: 8px;
    font-size: 15px;
}



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

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

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

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

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

/* div#tab-description :nth-last-child(3) {
    margin-bottom: 50px;
} */

div#tab-description ul
 {
    margin: 0 0 0 18px;
}

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

/* 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;
	}
	
	.product-gallery.col .col.large-10 {
		padding-left: 0;
		padding-right: 0;
	}
	
	.product-gallery.col.large-6 {
		padding-left: 6px;
		padding-right: 6px;
	}
	
	.product-info.summary {
		margin-left: 8px !important;
		padding-top: 0;
        padding-bottom: 0;
        padding-left: 0;
	}
	
	.product-thumbnails .flickity-slider .col {
		padding-bottom: 6px !important;
	}

	.product-thumbnails .flickity-slider .col.is-selected.is-nav-selected a {
		border-color: #0be4b9;
		box-shadow: 0 0 6px #00000052;
	}
	
	.product-footer .container {
		padding-left: 6px;
	}
}

@media (max-width: 850px) {
	.product-gallery.col.large-6 {
		padding: 0 !important;
	}
	
	.product-info {
		padding: 10px 10px 0 10px !important;
	}
	
	.product-thumbnails .flickity-slider .col a {
		border-color: transparent;
	}
	
	.product-gallery.col.large-6 .col.large-10 {
		background: bottom;
		padding-bottom: 12px;
	}
	
	.product-footer .container {
		padding: 0;
	}
}

@media (max-width: 549px) {

	.product-main {
		padding: 6px 0 12px 0 !important;
	}
	
	.product-gallery.col .col.large-10 {
		padding: 0;
	}
	
	.product-gallery.col.large-6 {
		padding-left: 10px !important;
		padding-right: 10px !important;
	}
	
	.product-thumbnails.thumbnails.row.row-small.row-slider {
		padding-left: 6px !important;
		padding-right: 6px !important;
	}

	h1.product-title.product_title.entry-title {
		font-size: 18px;
	}
	
	.product-thumbnails.thumbnails .flickity-viewport {
		height: 56px !important;
        padding-top: 5px;
	}
	
	.product-thumbnails .flickity-slider .col {
		padding: 0 5px !important;
	}

	.product-thumbnails .flickity-slider .col a {
		height: 50px;
	}
	
	.product-thumbnails .flickity-slider .col.is-selected.is-nav-selected a {
        /* border-color: #00000052; */
        box-shadow: 0 0 6px #00000052;
    }

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

}