/* 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-gallery.col.large-5 {
    padding-top: 8px;
}

.product-thumbnails.thumbnails.slider .flickity-prev-next-button {
    top: 20% !important;
}

.badge-container.is-larger.absolute.left.top.z-1 {
    display: none;
}

#main .product-images svg.flickity-button-icon, #main .product-thumbnails svg.flickity-button-icon {
    background-color: #00000024 !important;
    box-shadow: 0 0 1px 1px rgba(20, 23, 28, 0.1), 0 3px 1px 0 rgba(20, 23, 28, 0.1);
    padding: 10px;
    border-radius: 20px;
    border: 0;
}

#main .product-images svg, #main .product-thumbnails svg, #main  .product-images .flickity-prev-next-button:hover .arrow {
    fill: #ffffff !important;
}

.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: 24px;
    font-weight: 600;
	padding-top: 8px;
}

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

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

.product-info .star-rating.star-rating--inline {
    margin: 0px !important;
}

.product-info .star-rating {
    font-size: 13px !important;
    line-height: unset !important;
}

span.ct-daban {
    font-size: 12px;
    color: #767676;
}

a.woocommerce-review-link span.count, .daban span.count, span.rating-average span.count {
    font-size: 15px;
    text-decoration: underline;
}

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: #ee4d2d;
    font-size: 1.875rem;
    font-weight: 500;
}

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

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

/* css mo ta ngan */
.product-short-description {
    padding-top: 10px;
}

/* 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;
	font-size: 13px;
}

.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: 15px;
}

table.variations tbody tr {
    display: block;
    width: 100%;
    padding: 5px 0;
    border: 0 !important;
}

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

.woocommerce-variation-price {
	border: 0 !important;
}

/* css form add to cart */
form.cart, .woocommerce-variation-add-to-cart {
    display: block !important;
    width: 100%;
}

.woocommerce-variation-add-to-cart {
	padding: 22px 0;
}

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

.product-summary .quantity {
    margin-bottom: 25px;
}

.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: 30px;
    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;
    margin-right: 10px;
}

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 san pham hottrend */
.sp-hottrend-mb .product-small.col {
    padding: 0 3px 0 3px !important;
}

.sp-hottrend-mb .flickity-viewport {
    height: 280px !important;
}

.sp-hottrend-mb .slider-nav-push:not(.slider-nav-reveal) .flickity-prev-next-button {
    margin-top: 0 !important;
}

/* css product shop */
.product-shop .icon-box-img img {
    padding-top: 0;
    border-radius: 50%;
    border: 1px solid #ccc;
}

.product-shop .icon-box-text p {
    margin-bottom: 0;
    font-family: sans-serif;
}

.product-shop .icon-box-text p:nth-child(1) {
    font-size: 14px;
}

.product-shop .icon-box-text p:nth-child(2) {
    color: rgba(0,0,0,.54);
    margin-bottom: 6px !important;
    font-size: 13px;
}

a.button.primary.is-outline.btn-chat, a.button.primary.is-outline.btn-shop {
    font-size: 13px;
    font-weight: 300;
    margin-bottom: 0;
    margin-right: 6px;
}

a.button.primary.is-outline.btn-chat {
    border: 1px solid var(--fs-color-primary);
    background: rgba(255,87,34,.1);
    color: var(--fs-color-primary);
}

a.button.primary.is-outline.btn-shop {
    border: 1px solid #ccc;
    background: #fff;
    color: #222;
}


/* box camket */
.col-inner {}

.box-camket .col-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px 0 30px !important;
}

.box-camket .col-inner .icon-box p {
    font-size: 12px;
}

.box-camket .col-inner .icon-box {
    border: 1px solid var(--fs-color-primary);
    border-radius: 4px;
    padding: 8px 10px;
}

.box-camket .col-inner .icon-box .icon-box-img {
    margin-bottom: 10px;
}

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

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

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

div#tab-description, div#tab-reviews {
    font-size: 15px;
}

div#tab-description, div#tab-reviews, .sp-hottrend-bg>.col-inner, .related.related-products-wrapper.product-section, .box-daxem > .col-inner {
    background-color: #fff;
    padding: 20px;
}

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

div#tab-description strong {
    font-weight: 700;
}

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

.box-daxem {
	margin-bottom: 15px !important;
}

.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;
	background: rgba(0,0,0,.02);
	padding: 0.875rem;
}

/* css san pham lien quan */
.related.related-products-wrapper .product-small.col {
	padding: 0 3px 0 3px !important;
}

.related.related-products-wrapper .row.slider.row-slider {
	margin-left: -4px !important;
	margin-right: -4px !important;
}

.related.related-products-wrapper.product-section .product-small.col {
    padding-bottom: 0 !important;
}

h3.product-section-title.container-width.product-section-title-related {
    padding-top: 0;
    text-align: left;
    margin-bottom: 0;
    color: rgba(0, 0, 0, .87);
    font-size: 1.125rem;
    font-weight: 400;
    margin-bottom: 20px;
    text-transform: uppercase;
    background: rgba(0, 0, 0, .02);
    padding: 0.875rem;
}

.slider-nav-reveal .flickity-prev-next-button, .slider-nav-reveal .flickity-prev-next-button:hover {
    background-color: #ff000000 !important;
    box-shadow: 0 0 !important;!i;!;
}

.slider-nav-reveal .flickity-prev-next-button {
    transform: translateX(0) !important;
}

.slider-nav-reveal .flickity-prev-next-button, .slider-nav-reveal .flickity-prev-next-button:hover {
    top: 14% !important;
}

.related.related-products-wrapper.product-section {
    border: 0;
	margin-bottom: 40px;
}

div#reviews.woocommerce-Reviews, .devvn_prod_cmt {
    max-width: 100%;
}

.product-small.box .price-wrapper span.price {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

@media (max-width: 1160px) and (min-width: 850px) {
	.left-ipadpro {
		flex-basis: 40.333333% !important;
		max-width: 40.333333% !important;
	}

	.right-ipadpro {
		flex-basis: 59.666667% !important;
		max-width: 59.666667% !important;
	}

	.box-camket .col-inner {
		padding: 0 0px 0 10px !important;
		gap: 6px;
	}

	.box-camket .col-inner .icon-box p {
		font-size: 11px;
	}
}

@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: 768px) {
	.product-footer>.container {
		padding: 0;
	}
	
	div#tab-description, div#tab-reviews, .sp-hottrend-bg>.col-inner, .box-daxem > .col-inner {
		padding: 10px;
	}
	
	h2.titl-mota {
		font-size: 15px;
		text-transform: initial;
		font-weight: 600;
	}
	
	/* 	css box cam ket */
	.sp-hottrend-bg .row>.col:after {
		border: 0 !important;
	}
	.box-camket .col-inner {
		justify-content: unset;
		gap: 10px;
	}
	.box-camket .col-inner {
		padding: 16px 0 0 0 !important;
	}
}

@media (max-width: 548px) {
	
	.product-info {
		padding: 10px 8px !important;
	}
	
	.product-thumbnails.thumbnails.slider .flickity-prev-next-button {
		top: 14% !important;
	}
	
	span.gia-ban bdi {
		font-size: 1.5rem;
	}
	
	.dv-doi-tra {
		overflow-x: auto;
	}

	.box-doi-tra {
		min-width: 55%;
	}
	
	form.cart {
		padding-bottom: 5px !important;
	}
	
	table.variations tbody tr {
		padding: 3px 0 !important;
	}
	
	.related.related-products-wrapper.product-section {
		padding: 10px;
	}
	
	/* 	css san pham hottrend */
	.sp-hottrend-mb>.col-inner {
		height: 190px;
		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: 30%;
		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: 70px !important;
		padding: 4px !important;
	}
	
	.related.related-products-wrapper .product-small.box del bdi {
		display: none;
	}
	
	.related.related-products-wrapper .product-small.box .price {
        line-height: 16px;
    }

	.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 {
		height: unset !important;
		margin-bottom: 5px;
	}

	.sp-hottrend .product-small.box del bdi, .related-products-wrapper {
		font-size: 12px !important;
	}
	
	.p-video {
		padding: 0 !important;
	}
	
	.sp-hottrend .product-small.box a.woocommerce-LoopProduct-link.woocommerce-loop-product__link, .related-products-wrapper a.woocommerce-LoopProduct-link.woocommerce-loop-product__link {
		overflow: hidden;
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
		font-size: 12px;
		line-height: 16px;
	}

	.sp-hottrend .product-small.box .price {
		line-height: 16px;
	}

	.sp-hottrend .product-small.box del bdi {
		display: none;
	}
	
	/* 	css box camket */
	.box-camket .col-inner {
		gap: 5px;
	}

	.box-camket .col-inner .icon-box p {
		font-size: 11px;
		line-height: 15px;
	}

	/* 	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;
	}
	
	/* 	css san pham da xem */
	.container .box-daxem .row-small:not(.row-collapse), .row .row-small:not(.row-collapse) {
		margin-bottom: 0;
		margin-left: -5px;
		margin-right: -5px;
	}
	.box-daxem .product-small.col {
		width: 33.33%;
		flex-basis: 33.33%;
		padding: 4px;
	}

	.box-daxem .product-small.box .box-image img {
		height: 120px;
		object-fit: contain;
	}

	.box-daxem  a.woocommerce-LoopProduct-link.woocommerce-loop-product__link {
		line-height: 15px !important;
		height: 30px !important;
	}

	.box-daxem  .box-text.box-text-products {
		padding: 6px 4px !important;
	}
	
}

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