.product-main {
    padding: 20px 0 !important;
}

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

.dhs-badges {
/*     margin-top: 10px; */
}

h1.product-title.product_title.entry-title {
    color: #222;
    font-size: 25px;
    font-weight: 600;
/*     margin: 14px 0; */
}

.woocommerce-product-rating {
    margin-top: -10px;
}

.star-rating span:before, .star-rating:before, .woocommerce-page .star-rating:before {
    color: var(--colorStar) !important;
}

/* css mo ta ngan */
.product-short-description {
    margin: 14px 0 0 0;
    font-size: 14px;
}

/* css tuy bien gia */
.dhs-price-box {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg,#fff,#fff8f3);
    border: 1px solid #f4e5d8;
    border-radius: 18px;
    padding: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .05), inset 0 1px 0 rgba(255, 255, 255, .8);
}

.dhs-price-box::after {
    content: "";
    position: absolute;
    right: 20px;
    top: 8px;
    width: 135px;
    height: 135px;
    opacity: .08;
    transform: rotate(14deg);
    background: url("data:image/svg+xml,%3Csvg width='160' height='160' viewBox='0 0 160 160' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M54 55V43C54 27 66 16 81 16C96 16 108 27 108 43V55' stroke='%23ff6900' stroke-width='13' stroke-linecap='round'/%3E%3Crect x='35' y='50' width='92' height='92' rx='24' stroke='%23ff6900' stroke-width='13'/%3E%3Ccircle cx='65' cy='82' r='8' stroke='%23ff6900' stroke-width='8'/%3E%3Ccircle cx='99' cy='110' r='8' stroke='%23ff6900' stroke-width='8'/%3E%3Cpath d='M101 77L62 116' stroke='%23ff6900' stroke-width='9' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat
}

.dhs-price-box::before {
    content: "✦";
    position: absolute;
    right: 145px;
    top: 22px;
    color: #ff6900;
    font-size: 28px;
    line-height: 1;
    z-index: 1
}

.dhs-price-box .star1 {
    position: absolute;
    right: 112px;
    top: 13px;
    color: #ffd1ad;
    font-size: 22px;
    line-height: 1;
    z-index: 1
}

.dhs-price-box .star1::before {
    content: "✦"
}

.dhs-price-box .star2 {
    position: absolute;
    right: 130px;
    top: 62px;
    color: #ffe5d4;
    font-size: 16px;
    line-height: 1;
    z-index: 1
}

.dhs-price-box .star2::before {
    content: "✦"
}

.dhs-price-box__main {
    position: relative;
    z-index: 2;
    font-size: 48px;
    font-weight: 900;
    color: #ff6400;
    line-height: 30px;
    letter-spacing: -1px
}

.dhs-price-box__main bdi {
    font-size: 35px;
    font-weight: 700;
    color: var(--colorMain);
    line-height: 1;
}

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

.dhs-price-box__main .woocommerce-Price-currencySymbol {
    font-size: .65em;
    vertical-align: middle;
}

.dhs-price-box__sub {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px
}

.dhs-price-box__old {
    color: #999;
    font-size: 16px;
    font-weight: 500;
    text-decoration-thickness: 2px
}

.dhs-price-box__old .woocommerce-Price-currencySymbol {
    font-size: .8em
}

.dhs-price-box__disc {
    background: #ffe8e3;
    color: #ea4335;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
}

.dhs-price-box__saving {
    position: relative;
    z-index: 2;
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 10px;
    background: #eef9f0;
    color: #1d7d38;
    font-size: 14px;
}

.dhs-price-box__saving::before {
    content: "";
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #28a745 url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20.6 13.4l-7.2 7.2a2 2 0 0 1-2.8 0L3 13V4h9l8.6 8.6a2 2 0 0 1 0 2.8Z' stroke='white' stroke-width='2.3' stroke-linejoin='round'/%3E%3Ccircle cx='7.8' cy='8' r='1.3' fill='white'/%3E%3C/svg%3E") center/15px no-repeat;
    flex: 0 0 24px
}

.dhs-price-box__saving .woocommerce-Price-amount {
    font-weight: 800;
    color: #167b2d
}

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

button.single_add_to_cart_button.button.alt {
    width: calc(100% - 156px);
    border-radius: 6px;
    background-color: #fff;
    color: var(--fs-color-secondary);
    border: 1px solid var(--fs-color-secondary);
}

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

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

button#buy_now_button {
    width: 100%;
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#ffd079), to(var(--colorMain)));
    color: #fff;
    line-height: 25px;
    padding: 8px 10px;
    border-radius: 4px;
    border: 0;
}

button#buy_now_button:hover {
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(var(--colorMain)), to(#ffd079));;
}

button#buy_now_button p {
	margin-bottom: 0;
	line-height: 18px;
}

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

button#buy_now_button b {
	color: #fff200;
}




/* css thong tin tai nghe  */
.dhs-specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 16px 0;
}
@media (max-width: 640px) {
    .dhs-specs-grid { grid-template-columns: repeat(2, 1fr); }
}

.dhs-spec-card {
	background: #fff;
	box-shadow: 0 3px 12px rgb(15 23 42 / 15%);
    border-radius: 10px;
    padding: 10px;
    display: flex;
    gap: 6px;
    align-items: center;
}

.dhs-spec-card .ti {
    font-size: 24px;
    color: var(--colorMain);
}

.dhs-spec-key {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
}

.dhs-spec-value {
    display: flex;
    line-height: 20px;
    flex-direction: column;
}

.dhs-spec-val {
    font-size: 13px;
    color: #38414f;
    font-weight: 500;
}

/*css trong hop co gì*/
.box-polyci {
    margin: 20px 0 10px 0;
}

.box-in-box {
    background-color: #fff;
    /* box-shadow: 0 10px 30px rgba(15, 23, 42, .05); */
    border: 1px solid #e8ecef;
    padding: 12px 12px 16px 12px;
    border-radius: 8px;
    overflow: hidden;
}

.box-in-box h3 {
	color: #222;
    font-size: 16px;
    margin-bottom: 6px;
}

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;
    flex-shrink: 0;
}

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

@media (max-width: 549px) {
    ul.policy__list li .pl-txt, ul.policy__list li .pl-txt a {
        font-size: 13px;
        line-height: 20px;
    }
	h1.product-title.product_title.entry-title {
		font-size: 20px;
	}

}

/* css footer product */


@media (min-width: 992px) {
	.row-divided.row-reverse>.col+.col:not(.large-12) {
		border-right: 0 !important;
	}

	div#product-sidebar {
		margin-top: 25px;
		padding-left: 0;
	}
}

@media (max-width: 767px) {
	.product-main .large-6.col {
		padding-bottom: 4px;
	}
	.dhs-price-box__main bdi {
		font-size: 30px;
	}
}

@media (max-width: 548px) {
	.product-main {
		padding-top: 12px !important;
	}
	.product-main, .product-info {
		padding-bottom: 0 !important;
	}
	.dhs-price-box::after {
        right: 5px;
        top: 12px;
        width: 95px;
        height: 95px
    }

    .dhs-price-box::before {
        right: 100px;
        top: 20px;
        font-size: 20px
    }

    .dhs-price-box .star1 {
        right: 76px;
        top: 10px;
        font-size: 17px
    }

    .dhs-price-box .star2 {
        right: 92px;
        top: 52px;
        font-size: 13px
    }

    .dhs-price-box__main {
        font-size: 38px
    }

    .dhs-price-box__old {
        font-size: 17px
    }

    .dhs-price-box__disc {
        font-size: 13px
    }

    .dhs-price-box__saving {
        display: flex;
        font-size: 13px;
        border-radius: 12px
    }
	/* 	css product footer */
	.single-product .tabbed-content .nav-tabs>li {
		width: 50%;
		float: left;
	}
	.single-product .nav-tabs+.tab-panels {
		padding: 10px;
	}
}

