main#main {
    background-color: #f5f5f5;
}

/* css breadcrumb */
.page-title-inner {
    padding: 12px 0 12px 14px !important;
    min-height: 40px !important;
}

.page-title.shop-page-title.product-page-title {
    background: #f5f5f5;
}

.page-title-inner .flex-col.medium-text-center {
    padding: 0;
}

nav.woocommerce-breadcrumb.breadcrumbs {
    text-transform: inherit;
}

nav.woocommerce-breadcrumb.breadcrumbs a {
    color: #222;
    font-size: 13px;
}


nav.woocommerce-breadcrumb.breadcrumbs a:last-child {
    color: #05a;
}

.product-main {
    padding-top: 5px !important;
	padding-bottom: 15px !important;
}

.product-main .content-row .product-gallery.large-5.col, .product-main .content-row .product-info {
    background-color: #fff;
	box-shadow: 0 1px 1px 0 rgba(0,0,0,.05);
}

.product-info {
    padding-bottom: 10px;
}

/* css image thumbnail */
.single-product .product-images img {
    border-radius: 8px;
}

.product-thumbnails .col.is-nav-selected a, .product-thumbnails .col a:hover {
    border-color: var(--redColor);
}

h1.product-title.product_title.entry-title {
    font-size: 20px;
    font-weight: 400;
}

/* css review star, da ban */
.woocommerce-product-rating {
    display: flex;
    align-items: center;
}

span.rating-average {
    color: #d0011b !important;
    font-weight: 700;
}

.star-rating.star-rating--inline {
    margin: 0px !important;
	height: 22px;
}

span.ct-daban {
    font-size: .875rem;
    color: #767676;
}

a.woocommerce-review-link span.count {
    font-size: 16px;
}

a.woocommerce-review-link {
    border-left: 1px solid rgba(0,0,0,.14);
    border-right: 1px solid rgba(0,0,0,.14);
    padding: 0 15px;
    margin: 0 15px
}

/* css price */
.custom-gia {
    padding: 15px 20px;
    background: #fafafa;
}

span.gia-goc bdi {
    text-decoration: line-through;
    color: #929292;
    font-weight: 500;
}

span.gia-ban bdi {
    color: #d0011b;
    font-size: 1.875rem;
    font-weight: 500;
}

span.phantram {
    background-color: #d0011b;
    margin-left: 15px;
    font-size: .75rem;
    color: #fff;
    padding: 2px 4px;
}

/* css bien the */
.product-info 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.125rem;
	box-sizing: border-box;
	padding: 0.25rem 0.75rem;
}

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

.product-info table.variations .ux-swatch__text {
    box-shadow: 0 0;
    font-weight: 400;
    color: #000;
}

.product-info table.variations .ux-swatch.selected .ux-swatch__text, .product-info table.variations .ux-swatch:hover .ux-swatch__text {
	color: var(--redColor);
}

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

.product-info table.variations .ux-swatch.selected:after {
	content: "✓";
	border: 0.9375rem solid transparent;
	border-bottom: 0.9375rem solid var(--redColor);
	content: "";
	position: absolute;
	right: -15px;
	bottom: 0;
}

.product-info .ux-swatch {
	background: #fff;
	padding: 0;
}

.product-info table.variations {
	margin-top: 20px;
}

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

.product-info .ux-swatch--image img {
    display: none;
}

.product-info .ux-swatch--image .ux-swatch__text {
    display: block !important;
}

/* css form add to cart */
.product-info form.cart {
	margin-bottom: 0;
}

.quantity.buttons_added {
    width: 70%;
}

.soluong {
    display: inline-flex;
    font-size: 14px;
    padding-right: 14px;
}

.product-main .product-info.summary .quantity .button.minus,.shop-container .product-main .product-info.summary .quantity .button.plus {
    width: 32px;
    height: 32px;
    line-height: 32px;
    border-radius: 2px !important;
    background: transparent;
    border: 1px solid rgba(0,0,0,.09);
    font-weight: bold;
    text-shadow: 0px 0px #ff000000;
    color: #000;
    min-height: unset;
}

.product-main .product-info.summary .quantity input[type="number"] {
    height: 32px;
    width: 50px;
    border: 1px solid rgba(0,0,0,.09);
    box-shadow: none !important;
    max-width: 48px;
}

button.single_add_to_cart_button.button.alt {
    opacity: 1;
    background: rgba(208,1,27,.08);
    color: var(--redColor);
    border: 1px solid var(--redColor);
    border-radius: 2px;
    font-weight: 500;
    text-transform: initial;
    font-family: sans-serif;
    font-size: 15px;
    height: 45px;
    padding: 0 25px;
}

button#buy_now_button {
    background-color: var(--redColor);
    color: #fff;
}

button#buy_now_button:before {
    content: "";
}

button.single_add_to_cart_button:before {
    display: inline-block;
    font-family: FontAwesome;
    float: left;
    content: "\f217";
    font-weight: 300;
    margin-right: 5px;
}

/* css countdown */
.product-flashsale {
    display: flex;
    width: 100%;
    padding: 3px 10px;
    margin: 15px 0 0 0;
    align-items: center;
    background-image: url(/wp-content/uploads/2023/09/bg-flash-sale.jpg),linear-gradient(-90deg,#f0451e 9%,#f32424 96%);
}

.product-flashsale .product-flash-icon {
    line-height: 0px;
    width: 150px;
    padding-top: 5px;
}

.product-flashsale .product-flash-icon svg, .product-flashsale .product-flash-title svg {
    color: #fff;
}

.product-flashsale .product-flash-title svg {
    margin-right: 4px;
}

.product-flashsale .product-flash-title {
    text-transform: uppercase;
    text-align: center;
    color: #fff;
    font-size: 14px;
    line-height: 20px;
    padding: 0px 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.product-flashsale .product-flash-date .countdown-timer {
    display: flex;
    padding: 5px;
}

.product-flashsale .product-flash-date .countdown-timer label {
    margin: 0 5px;
    color: #fff;
    background: #000;
    border-radius: 3px;
    width: 25px;
    height: 20px;
    position: relative;
    display: inline-block;
    line-height: 20px;
    font-weight: 700;
    font-size: 14px;
    text-align: center;
}

.product-flashsale .product-flash-date .countdown-timer label:first-child {
    margin-left: 0px !important;
}

.product-flashsale .product-flash-date .countdown-timer label:last-child {
    margin-right: 0px !important;
}

.product-flashsale .product-flash-date .home-title-clock {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0px;
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 700;
    color: #000;
}

label#days::after, label#hour::after, label#minute::after {
    content: ":";
    position: absolute;
    right: -7px;
    top: -2px;
    font-size: 18px;
    color: #000;
    font-weight: bold;
}

.product-flash-date {
    display: flex;
    width: calc(100% - 150px);
    justify-content: end;
    align-items: center;
}

.text-m {
    display: none;
}

.clockFlashsale {
    display: flex;
    width: 100%;
    background: #000;
    padding: 10px;
    margin-bottom: 15px;
}

.clockFlashsale .clock-item {
    width: calc(100% / 4);
    padding: 3px;
    text-align: center;
}

.clockFlashsale .clock-item label {
    color: #fff;
    font-weight: normal;
    font-size: 14px;
    margin: 0 0 5px 0;
}

.clockFlashsale .clock-date {
    background: #d0011b;
    color: #fff;
    width: 100%;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 25px;
    font-weight: 700;
}

@media only screen and (max-width: 768px) {
    .text-m {
        display: block;
    }

    .text-d {
        display: none;
    }
}

/* css dich vu doi tra */
.dv-doi-tra {
    width: 100%;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 10px;
}

.box-doi-tra img {
    width: 18px;
}

.box-doi-tra span {
    font-size: 14px;
}

/* css mo ta san pham */
.product-footer .woocommerce-tabs.wc-tabs-wrapper {
    padding-top: 0;
    border: 0;
}

div#tab-description {
    margin-top: 10px
}

div#reviews .col.large-12 {
	padding: 0;
}

div#tab-description, div#tab-reviews {
    background-color: #fff;
    padding: 20px 30px;
    font-size: 14px;
}

div#tab-description {
	box-shadow: 0 1px 1px 0 rgba(0,0,0,.05);
}

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

.p-video {
    background-color: #fff;
	margin-top: 15px !important;
    margin-bottom: 15px !important;
    padding: 15px !important;
}

h2.titl-mota {
    color: rgba(0,0,0,.87);
    font-size: 1.125rem;
    font-weight: 400;
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* css san pham lien quan */
h3.product-section-title.container-width.product-section-title-related {
    padding-top: 0;
    text-align: center;
    margin-bottom: 0;
}

.product-small.box {
    background: #fff;
}

.related.related-products-wrapper.product-section {
    border: 0;
}

@media (min-width: 850px) {
	.product-main .row.content-row.mb-0 {
		padding-left: 15px;
		padding-right: 15px;
	}
	
	h2.titl-mota {
		background: rgba(0,0,0,.02);
		padding: 0.875rem;
		margin-left: -13px;
	}
}

@media (max-width: 767px) {
	.product-footer>.container {
		padding: 0;
	}
	
	div#tab-description, div#tab-reviews {
		padding: 10px;
	}
	
	h2.titl-mota {
		font-size: 15px;
		text-transform: initial;
		font-weight: 500;
	}
}

@media (max-width: 548px) {
	
	.product-info {
		padding: 10px 8px !important;
	}
	
	span.gia-ban bdi {
		font-size: 1.5rem;
	}
	
	.dv-doi-tra {
		overflow-x: auto;
	}

	.box-doi-tra {
		min-width: 55%;
	}
	
	.related.related-products-wrapper.product-section {
		padding: 0 10px;
	}
	
	/* 	css san pham hottrend */
	.sp-hottrend-mb>.col-inner {
		height: 257px;
		overflow-x: auto;
		overflow-y: hidden;
	}

	.sp-hottrend-mb .sp-hottrend {
		height: inherit;
		flex-direction: column;
		margin-left: 0 !important;
	}

	.sp-hottrend-mb .product-small.col, .related-products-wrapper .product-small.col {
		width: 40%;
		flex-basis: 150px;
	}

	.sp-hottrend-mb .product-small.box .star-rating, .sp-hottrend-mb .product-small.box span.review-count, .related-products-wrapper .star-rating {
		display: none;
	}

	/* 	css san pham hottrend mobile */
	.sp-hottrend .box-text.box-text-products, .related-products-wrapper .box-text.box-text-products {
		min-height: 90px !important;
		padding: 4px !important;
	}

	.sp-hottrend .product-small.box .ux-swatch, .related-products-wrapper .product-small.box .ux-swatch {
		width: 20px;
		height: 20px;
	}

	.sp-hottrend .product-small.box .ux-swatch, .related-products-wrapper .product-small.box .ux-swatch {
		margin: 4px 4px 4px 0;
	}

	.sp-hottrend .product-small.box ins bdi, .related-products-wrapper .product-small.box ins bdi {
		font-size: 12px !important;
	}

	.sp-hottrend .product-small.box span.review-count, .related-products-wrapper .product-small.box span.review-count {
		display: none;
	}

	.sp-hottrend .product-small.box .box-text.box-text-products, .related-products-wrapper .box-text.box-text-products {
		min-height: 85px;
	}

	.sp-hottrend .product-small.box a.woocommerce-LoopProduct-link.woocommerce-loop-product__link, .related-products-wrapper a.woocommerce-LoopProduct-link.woocommerce-loop-product__link {
		-webkit-line-clamp: 1 !important;
		height: unset !important;
		margin-bottom: 5px;
	}

	.sp-hottrend .product-small.box del bdi, .related-products-wrapper {
		font-size: 12px !important;
	}
	
	/* 	css san pham lien quan */
	.related-products-wrapper .row.large-columns-4.medium-columns-3.small-columns-2.row-small {
		height: 270px;
		overflow-x: auto;
		overflow-y: hidden;
		flex-direction: column;
	}
	
	.related-products-wrapper .product-small.col {
		padding: 2px;
	}
	
}

@media (max-width: 280px) {
	.sp-hottrend-mb .product-small.col, .related-products-wrapper .product-small.col {
		width: 60%;
		flex-basis: 60%;
		max-width: 60%;
	}
}
