/* ==== WooCommerce – Vistones ==== */
.woo-wrap{width:100%}
.woocommerce-result-count{color:var(--muted);font-size:13px}
.woocommerce-ordering{float:right}
.woocommerce-ordering select{padding:8px 12px;border:1px solid var(--border);border-radius:6px}
.woocommerce .woocommerce-result-count,.woocommerce-page .woocommerce-result-count{margin-bottom:18px}

/* product grid */
.woo-wrap ul.products{display:grid !important;grid-template-columns:repeat(4,1fr);gap:20px;margin:0 0 30px !important;padding:0;list-style:none}
.woo-wrap ul.products::before,.woo-wrap ul.products::after{display:none}
.woo-wrap ul.products li.product{width:auto !important;margin:0 !important;float:none !important;padding:0}
.woo-wrap ul.products li.product.p-card{background:#fff}

/* category header thumbnails on shop */
.woo-wrap ul.products li.product-category a img{border-radius:var(--radius)}

/* pagination */
.woocommerce-pagination ul{display:inline-flex;gap:6px;border:0 !important}
.woocommerce-pagination ul li{border:0 !important;margin:0 !important}
.woocommerce-pagination ul li a,.woocommerce-pagination ul li span{
	display:flex;align-items:center;justify-content:center;min-width:40px;height:40px;border-radius:8px;
	background:#fff;border:1px solid var(--border) !important;color:var(--text);font-weight:600;padding:0 12px}
.woocommerce-pagination ul li a:hover,.woocommerce-pagination ul li span.current{background:var(--primary) !important;color:#fff !important;border-color:var(--primary) !important}

/* ===== Single product ===== */
.woo-wrap div.product{display:grid;grid-template-columns:5fr 6fr;gap:40px}
.woo-wrap div.product .woocommerce-product-gallery{margin:0}
.woo-wrap div.product .woocommerce-product-gallery img{border-radius:var(--radius)}
.woo-wrap div.product .summary{margin:0}
.woo-wrap div.product .product_title{font-size:28px;font-weight:800;text-transform:none;margin-bottom:10px}
.woo-wrap div.product .price{color:var(--secondary);font-size:26px;font-weight:800;margin-bottom:14px}
.woo-wrap div.product .price del{color:#b6bbb8;font-size:18px;font-weight:600;margin-right:8px}
.woo-wrap div.product .price ins{text-decoration:none}
.woo-wrap div.product .price .contact{color:var(--primary)}
.woo-wrap div.product .woocommerce-product-details__short-description{color:var(--text);margin-bottom:18px}
.woo-wrap div.product .product_meta{margin-top:18px;font-size:13px;color:var(--muted);border-top:1px solid var(--border);padding-top:14px}
.woo-wrap div.product .product_meta > span{display:block;padding:3px 0}
.woo-wrap .onsale{position:absolute;top:12px;left:12px;background:#e23b3b;color:#fff;border-radius:20px;padding:3px 12px;font-size:12px;font-weight:700;min-height:auto}

/* single contact cta */
.single-contact-cta{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0 4px}
.single-contact-cta .btn{padding:13px 24px}

/* tabs */
.woocommerce-tabs{grid-column:1/-1;margin-top:36px}
.woocommerce-tabs ul.tabs{display:flex;gap:6px;border-bottom:2px solid var(--border);padding:0;margin:0 0 20px}
.woocommerce-tabs ul.tabs::before{display:none}
.woocommerce-tabs ul.tabs li{background:transparent;border:0;margin:0;list-style:none}
.woocommerce-tabs ul.tabs li a{padding:10px 20px;font-weight:700;color:var(--muted);display:block;border-bottom:3px solid transparent;margin-bottom:-2px}
.woocommerce-tabs ul.tabs li.active a{color:var(--primary);border-color:var(--primary)}
.woocommerce-tabs .panel h2{font-size:20px}

/* related */
.related.products,.up-sells{grid-column:1/-1;margin-top:44px}
.related.products > h2,.up-sells > h2{font-size:22px;font-weight:800;text-transform:uppercase;margin-bottom:22px;position:relative;padding-bottom:12px}
.related.products > h2::after{content:"";position:absolute;left:0;bottom:0;width:60px;height:3px;background:var(--primary)}

/* messages */
.woocommerce-message,.woocommerce-info,.woocommerce-error{border-top-color:var(--primary);border-radius:6px}
.woocommerce-message::before,.woocommerce-info::before{color:var(--primary)}

/* widgets sidebar (nếu có) */
.woo-wrap .widget-title{font-size:16px;font-weight:800;text-transform:uppercase;margin-bottom:14px}

@media(max-width:1024px){
	.woo-wrap ul.products{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:820px){
	.woo-wrap ul.products{grid-template-columns:repeat(2,1fr)}
	.woo-wrap div.product{grid-template-columns:1fr;gap:24px}
	.woocommerce-ordering{float:none;margin-top:10px}
}
@media(max-width:520px){
	.woo-wrap ul.products{grid-template-columns:1fr 1fr;gap:12px}
}
