/* Trang WooCommerce dùng cùng hệ màu và chữ */
.hv-shop{padding-block:18px 24px}
.woocommerce .woocommerce-breadcrumb,.woocommerce-breadcrumb{font-size:14.5px;color:var(--phu);margin:0 0 14px}
.woocommerce-breadcrumb a{color:var(--phu);text-decoration:none}
.woocommerce-breadcrumb a:hover{color:var(--cam-dam);text-decoration:underline}
.hv-crumb-sep{margin-inline:8px;opacity:.6}
.woocommerce-products-header__title,.product_title{color:var(--cam-dat);font-size:clamp(26px,3vw,34px);letter-spacing:-.01em}
.term-description,.page-description{max-width:860px}
.hv-chips ul{display:flex;gap:8px;list-style:none;margin:0 0 18px;padding:2px;flex-wrap:wrap}
.hv-chips a{display:inline-flex;align-items:center;min-height:44px;padding:6px 16px;border:1px solid var(--vien);border-radius:999px;background:#fff;color:var(--chu);text-decoration:none;font-size:15px;white-space:nowrap}
.hv-chips a:hover{border-color:var(--cam);color:var(--cam-dam)}
.hv-chips a[aria-current]{background:var(--cam-dam);border-color:var(--cam-dam);color:#fff}
.woocommerce .woocommerce-result-count{float:none;margin:0;color:var(--phu);display:inline-block;padding-block:10px}
.woocommerce .woocommerce-ordering{float:right;margin:0 0 18px}
.woocommerce select,.woocommerce .orderby{min-height:44px;border:1px solid var(--vien-xam);border-radius:12px;background-color:#fff;padding:6px 12px;max-width:100%}
.woocommerce ul.products,.woocommerce-page ul.products,ul.hv-grid.products{clear:both;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--khe);list-style:none;margin:0;padding:0}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none!important;content:none}
.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{width:auto!important;float:none;margin:0;padding:0}
.woocommerce ul.products li.product .hv-card__media img{margin:0;width:100%;height:100%}
.woocommerce ul.products li.product .hv-card__name{padding:0;margin:0 0 4px;font-size:17px}

/* Nút WooCommerce */
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt,.wp-element-button,.comment-form .submit{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:10px 22px;border:1.5px solid var(--cam);border-radius:999px;background:#fff;color:var(--cam-dam);font-weight:600;font-size:15.5px;line-height:1.2;text-decoration:none;transition:background var(--t),color var(--t)}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover,.woocommerce #respond input#submit:hover,.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt,.comment-form .submit{background:var(--cam-dam);border-color:var(--cam-dam);color:#fff}
.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover,.woocommerce input.button.alt:hover{background:#9A3605;border-color:#9A3605;color:#fff}
.woocommerce button.button:disabled,.woocommerce button.button:disabled[disabled],.woocommerce button.button.alt.disabled{background:#F3EEEA;border-color:#D9D0C9;color:#6B635C;opacity:1;padding:10px 22px}
.woocommerce a.added_to_cart{padding:10px}

/* Thông báo */
.woocommerce-message,.woocommerce-info,.woocommerce-error,.woocommerce-notices-wrapper>*{list-style:none!important}
.woocommerce .woocommerce-message,.woocommerce .woocommerce-info,.woocommerce .woocommerce-error,.woocommerce-page .woocommerce-message,.woocommerce-page .woocommerce-info,.woocommerce-page .woocommerce-error{background:var(--kem);border:1px solid var(--vien);border-left:4px solid var(--cam-dam);border-radius:12px;color:var(--chu);padding:14px 18px;margin:0 0 20px}
.woocommerce .woocommerce-message::before,.woocommerce .woocommerce-info::before,.woocommerce .woocommerce-error::before{display:none}
.woocommerce .woocommerce-error{background:#FDECE8;border-color:#F2C2B8;border-left-color:#A3210B}
.woocommerce .woocommerce-message .button{float:right;margin-left:16px}
.woocommerce .woocommerce-message::after{content:"";display:block;clear:both}

/* Form */
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select,.woocommerce .quantity .qty,.woocommerce #coupon_code,.select2-container--default .select2-selection--single,.woocommerce table.cart td.actions .coupon .input-text{min-height:46px;border:1px solid #8F857D;border-radius:12px;padding:8px 14px;background:#fff;font-size:16px;line-height:1.5;color:var(--chu)}
.woocommerce form .form-row textarea{min-height:96px}
.select2-container--default .select2-selection--single{height:46px!important;padding:8px 6px}
.select2-container--default .select2-selection--single .select2-selection__arrow{height:44px!important}
.woocommerce form .form-row label{font-weight:500;line-height:1.6}
.woocommerce form .form-row .required{color:#A3210B}
.woocommerce form.login,.woocommerce form.register,.woocommerce form.checkout_coupon,.woocommerce form.lost_reset_password{border:1px solid var(--vien);border-radius:var(--r-the);padding:22px;background:#fff}

/* Chi tiết sản phẩm */
.woocommerce div.product{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 48px;align-items:start}
.woocommerce div.product>*{grid-column:1/-1}
.woocommerce div.product div.images,.woocommerce #content div.product div.images{grid-column:1;width:100%;float:none;margin:0 0 32px}
.woocommerce div.product div.summary,.woocommerce #content div.product div.summary{grid-column:2;width:100%;float:none;margin:0 0 32px}
.woocommerce div.product span.onsale{grid-column:1;grid-row:1;z-index:5;justify-self:start;position:relative;top:12px;left:12px;min-height:0;min-width:0;margin:0;background:var(--cam-dam);color:#fff;border-radius:8px;padding:8px 12px;line-height:1;font-size:14px}
.woocommerce div.product div.images .woocommerce-product-gallery__image img,.woocommerce div.product div.images>.woocommerce-product-gallery__wrapper img{border-radius:var(--r-the)}
.woocommerce div.product div.images .flex-control-thumbs{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px;padding:0}
.woocommerce div.product div.images .flex-control-thumbs li{width:76px!important;float:none;margin:0}
.woocommerce div.product div.images .flex-control-thumbs img{border-radius:10px}
.woocommerce div.product .product_title{font-size:clamp(24px,2.4vw,32px)}
.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--gia);font-size:28px;font-weight:700;margin:0 0 8px}
.woocommerce div.product p.price del{color:var(--phu);font-size:18px;font-weight:400;opacity:1}
.woocommerce div.product p.price ins{text-decoration:none}
.hv-single-net{color:var(--phu);margin:0 0 14px}
.hv-single-net strong{color:var(--chu)}
.woocommerce div.product .stock{color:#2E6B2C;font-weight:600}
.woocommerce div.product .out-of-stock{color:#A3210B}
.woocommerce div.product form.cart{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:20px 0}
.woocommerce div.product form.cart::before,.woocommerce div.product form.cart::after{display:none}
.woocommerce div.product form.cart div.quantity{float:none;margin:0}
.woocommerce .quantity .qty{width:84px;text-align:center}
.woocommerce div.product form.cart .button{float:none;min-height:50px;padding-inline:32px}
.product_meta{font-size:14.5px;color:var(--phu)}
.product_meta>span{display:block}
.woocommerce div.product .woocommerce-tabs{margin-top:8px}
.woocommerce div.product .woocommerce-tabs ul.tabs{display:flex;gap:6px;flex-wrap:wrap;padding:0;margin:0 0 20px}
.woocommerce div.product .woocommerce-tabs ul.tabs::before{border-color:var(--vien)}
.woocommerce div.product .woocommerce-tabs ul.tabs li{border:0;background:none;border-radius:999px;margin:0;padding:0}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,.woocommerce div.product .woocommerce-tabs ul.tabs li::after{display:none}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{padding:11px 20px;border-radius:999px;background:var(--kem);color:var(--chu);font-weight:600}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{background:var(--cam-dam);color:#fff}
.woocommerce div.product .woocommerce-tabs .panel{max-width:900px}
.woocommerce div.product .woocommerce-tabs .panel h2{font-size:22px}
.woocommerce table.shop_attributes td,.woocommerce table.shop_attributes th{padding:10px 14px;font-style:normal;border-color:var(--vien)}
.related.products>h2,.upsells.products>h2,.cross-sells>h2,.cart_totals>h2,#order_review_heading,.woocommerce-billing-fields>h3,.woocommerce-additional-fields>h3{color:var(--cam-dat);font-size:24px}
.woocommerce .star-rating span::before,.woocommerce p.stars a{color:var(--cam-dam)}

/* Giỏ hàng */
.woocommerce table.shop_table{border:1px solid var(--vien);border-radius:var(--r-the);border-collapse:separate;overflow:hidden;background:#fff}
.woocommerce table.shop_table th{background:var(--kem);padding:12px 14px}
.woocommerce table.shop_table td{border-top:1px solid var(--vien);padding:12px 14px}
.woocommerce table.cart img{width:80px;border-radius:10px}
.woocommerce table.cart .product-name a{color:var(--chu);font-weight:600;text-decoration:none}
.woocommerce a.remove{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;color:#A3210B!important;font-size:22px}
.woocommerce a.remove:hover{background:#A3210B;color:#fff!important}
.woocommerce table.cart td.actions .coupon .input-text{width:200px!important;margin-right:8px}
.woocommerce .cart-collaterals .cart_totals{width:min(480px,100%)}
.woocommerce .wc-proceed-to-checkout a.checkout-button{font-size:17px;min-height:54px;display:flex}
.order-total .amount{color:var(--gia);font-size:20px}

/* Thanh toán */
.woocommerce-checkout form.checkout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:0 40px;align-items:start}
.woocommerce-checkout form.checkout>*{grid-column:2}
.woocommerce-checkout form.checkout>#customer_details{grid-column:1;grid-row:1/span 20}
.woocommerce-checkout form.checkout>.woocommerce-NoticeGroup{grid-column:1/-1}
.woocommerce-checkout #customer_details .col-1,.woocommerce-checkout #customer_details .col-2{width:100%;float:none}
.woocommerce-checkout #payment,#add_payment_method #payment{background:var(--kem);border-radius:var(--r-the)}
.woocommerce-checkout #payment div.payment_box{background:#fff;color:var(--chu)}
.woocommerce-checkout #payment div.payment_box::before{border-bottom-color:#fff}
.woocommerce #payment #place_order{width:100%;min-height:54px;font-size:17px}
.woocommerce-privacy-policy-text{font-size:14.5px}
.woocommerce ul.order_details{padding:0}

/* Tài khoản */
.woocommerce-account .woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:8px;background:var(--kem);border-radius:var(--r-the)}
.woocommerce-account .woocommerce-MyAccount-navigation a{display:block;padding:11px 14px;border-radius:10px;color:var(--chu);text-decoration:none}
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a{background:var(--cam-dam);color:#fff;font-weight:600}

@media (max-width:1199px){
	.woocommerce ul.products,.woocommerce-page ul.products,ul.hv-grid.products{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (min-width:900px) and (max-width:1199px){.hv-shop ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:900px){
	.woocommerce div.product{grid-template-columns:1fr}
	.woocommerce div.product div.images,.woocommerce div.product div.summary,.woocommerce #content div.product div.images,.woocommerce #content div.product div.summary{grid-column:1}
	.woocommerce-checkout form.checkout{grid-template-columns:1fr}
	.woocommerce-checkout form.checkout>*,.woocommerce-checkout form.checkout>#customer_details{grid-column:1;grid-row:auto}
}
@media (max-width:767px){
	.hv-chips{margin-inline:-16px}
	.hv-chips ul{flex-wrap:nowrap;overflow-x:auto;padding-inline:16px;scrollbar-width:none}
	.woocommerce ul.products li.product .hv-card__name{font-size:15.5px}
	.woocommerce .woocommerce-ordering{float:none}
	.woocommerce .woocommerce-ordering select{width:100%}
	.woocommerce div.product form.cart .button{flex:1}
	.woocommerce table.cart td.actions .coupon{display:flex;gap:8px;float:none;padding-bottom:8px}
	.woocommerce table.cart td.actions .coupon .input-text{flex:1;width:auto!important;margin:0}
	.woocommerce #content table.cart td.actions .button,.woocommerce table.cart td.actions .button{width:auto;white-space:nowrap}
	.woocommerce table.cart td.actions>.button{width:100%}
	.woocommerce-checkout .hv-zalo,.woocommerce-cart .hv-zalo{bottom:calc(84px + env(safe-area-inset-bottom))}
}
@media (max-width:339px){.woocommerce ul.products,.woocommerce-page ul.products{grid-template-columns:1fr}}

.hv-desc{margin-top:32px;border:1px solid var(--vien);border-radius:16px;background:#FFF8F2;overflow:hidden}
.hv-desc>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:56px;padding:8px 20px;cursor:pointer;list-style:none;color:var(--cam-dat);font-size:17px;font-weight:600}
.hv-desc>summary::-webkit-details-marker{display:none}
.hv-desc>summary:hover{background:var(--kem)}
.hv-desc>summary:focus-visible{outline-offset:-3px;border-radius:16px}
.hv-desc__hint{display:inline-flex;align-items:center;gap:6px;flex:none;font-size:15px}
.hv-desc__hint .hv-i{width:18px;height:18px;transition:transform var(--t)}
.hv-desc__less,.hv-desc[open] .hv-desc__more{display:none}
.hv-desc[open] .hv-desc__less{display:inline}
.hv-desc[open] .hv-desc__hint .hv-i{transform:rotate(180deg)}
.hv-desc .term-description{max-width:none;padding:18px 20px 4px;border-top:1px solid var(--vien);font-size:15.5px}
.hv-desc .term-description h2{font-size:20px}
.hv-desc .term-description h3{font-size:18px}
.hv-desc .term-description img{border-radius:12px}
.hv-desc__close{display:block;margin:0 20px 14px;min-height:44px;border:0;background:none;padding:0;color:var(--cam-dat);font-weight:600;text-decoration:underline;text-underline-offset:3px}
.woocommerce ul.products[class*=columns-] li.product,.woocommerce-page ul.products[class*=columns-] li.product{margin:0!important;width:auto!important;clear:none!important}
.hv-empty .hv-search{max-width:560px;margin-top:10px;background:#fff}
.woocommerce table.shop_table{border-spacing:0}
.woocommerce table.shop_table td,.woocommerce table.shop_table th{border-left:0;border-right:0;border-bottom:0}
.woocommerce table.cart tbody th{background:#fff;font-weight:600;border-top:1px solid var(--vien)}
.woocommerce-checkout .hv-zalo,.woocommerce-cart .hv-zalo{right:auto;left:16px}
/* Phân trang: mọi ô cùng cỡ, chữ và mũi tên nằm giữa */
.woocommerce nav.woocommerce-pagination{margin-top:32px;text-align:center}
.woocommerce nav.woocommerce-pagination ul.page-numbers{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;margin:0;padding:0;border:0;white-space:normal}
.woocommerce nav.woocommerce-pagination ul.page-numbers li{display:flex;float:none;margin:0;padding:0;border:0;overflow:visible}
.woocommerce nav.woocommerce-pagination ul.page-numbers li a.page-numbers,.woocommerce nav.woocommerce-pagination ul.page-numbers li span.page-numbers{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:44px;min-width:44px;height:44px;margin:0;padding:0;border:1px solid var(--vien);border-radius:12px;background:#fff;color:var(--chu);font-size:16px;font-weight:500;line-height:1;text-decoration:none}
.woocommerce nav.woocommerce-pagination ul.page-numbers li span.page-numbers.current,.woocommerce nav.woocommerce-pagination ul.page-numbers li a.page-numbers:hover{background:var(--cam-dam);border-color:var(--cam-dam);color:#fff}
.woocommerce nav.woocommerce-pagination ul.page-numbers li span.page-numbers.dots{border-color:transparent;background:none}
