/* PBP Z121 – chỉ tải ở trang WooCommerce */
.woo-wrap{padding:18px 0 48px}
.woo-wrap .crumbs{margin-bottom:12px}
.woocommerce-products-header__title,.product_title{font-size:clamp(24px,4.5vw,34px);font-weight:800}
.woocommerce .woocommerce-result-count{color:var(--muted);font-size:14px}
.woocommerce .woocommerce-ordering select{min-height:40px;border:1px solid var(--line);border-radius:10px;padding:0 10px;font:inherit}

/* Lưới sản phẩm */
.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 24px!important;padding:0;list-style:none}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none!important}
.woocommerce ul.products li.pli{width:auto!important;margin:0!important;float:none!important;padding:0!important}
@media (min-width:700px){.woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}}
@media (min-width:1024px){.woocommerce ul.products{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* Nút WooCommerce theo style theme */
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,.woocommerce a.button.alt,.woocommerce button.button.alt{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:10px 18px;border-radius:999px;font-weight:700;font-size:15px;line-height:1.2;background:linear-gradient(135deg,#f7931e,#e5600b);color:#fff;border:0}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce button.button.alt:hover,.woocommerce a.button.alt:hover{color:#fff;filter:brightness(1.05);background:linear-gradient(135deg,#f7931e,#e5600b)}
.woocommerce a.added_to_cart{display:block;text-align:center;font-size:13px;margin-top:4px}
.woocommerce .pcard .button{width:100%;min-height:38px;font-size:14px;padding:7px 12px}

/* Trang sản phẩm */
.woocommerce div.product{display:grid;gap:24px}
.woocommerce div.product div.images,.woocommerce div.product div.summary{width:auto!important;float:none!important;margin:0!important}
.woocommerce div.product div.images img{border-radius:var(--r)}
.woocommerce div.product .flex-control-thumbs{display:flex;gap:8px;margin-top:8px!important}
.woocommerce div.product .flex-control-thumbs li{width:64px!important}
.woocommerce div.product .flex-control-thumbs img{border-radius:8px}
.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--orange-d);font-size:28px;font-weight:800}
.woocommerce div.product p.price del{color:#8a97aa;font-size:17px;font-weight:500}
.woocommerce div.product p.price ins{text-decoration:none}
.woocommerce span.onsale{background:#e5304a;border-radius:999px;min-height:0;min-width:0;padding:4px 10px;line-height:1.4;font-size:13px;top:10px;left:10px}
.woocommerce div.product form.cart{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:18px 0}
.woocommerce div.product form.cart div.quantity{float:none;margin:0}
.woocommerce .quantity .qty{width:72px;min-height:48px;border:1px solid var(--line);border-radius:12px;font:inherit;font-weight:700}
.woocommerce div.product form.cart .button{min-height:48px;flex:1;font-size:16px}
.specs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:14px 0}
.specs div{background:var(--soft);border-radius:10px;padding:8px 12px}
.specs dt{font-size:12px;color:var(--muted)}
.specs dd{margin:0;font-weight:700;font-size:14.5px}
.trust{list-style:none;padding:0;margin:14px 0;display:grid;gap:8px;font-size:14.5px}
.trust li{display:flex;gap:8px;align-items:center}
.trust .ico{color:var(--blue-d)}
.pextra{grid-column:1/-1;display:grid;gap:24px}
.pextra h2{font-size:21px}
.pextra__safety ul{list-style:none;padding:0;margin:0;display:grid;gap:8px}
.woocommerce div.product .woocommerce-tabs{grid-column:1/-1}
.woocommerce div.product .woocommerce-tabs ul.tabs{padding:0;margin:0 0 16px;display:flex;gap:6px;overflow-x:auto}
.woocommerce div.product .woocommerce-tabs ul.tabs::before{display:none}
.woocommerce div.product .woocommerce-tabs ul.tabs li{border:1px solid var(--line)!important;background:#fff!important;border-radius:999px!important;margin:0!important;padding:0!important}
.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:8px 16px!important;font-weight:700}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active{background:var(--night)!important;border-color:var(--night)!important}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{color:#fff!important}
.woocommerce div.product .woocommerce-tabs .panel{font-size:16.5px}
.woocommerce div.product .related,.woocommerce div.product .upsells{grid-column:1/-1}
.woocommerce div.product .related>h2{font-size:22px}
@media (min-width:900px){
	.woocommerce div.product{grid-template-columns:1fr 1fr;gap:40px;align-items:start}
	.pextra{grid-template-columns:1.3fr 1fr}
}

/* Giỏ & thanh toán */
.woocommerce table.shop_table{border-radius:var(--r);border-color:var(--line);overflow:hidden}
.woocommerce table.shop_table th,.entry .woocommerce table.shop_table thead th{background:var(--soft);color:var(--ink)}
.entry .woocommerce table.shop_table tbody tr:nth-child(even){background:transparent}
.entry .woocommerce-checkout table{display:table}
.woocommerce-cart .cart-collaterals .cart_totals,.woocommerce-checkout #order_review{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:18px}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select,.woocommerce-page form .form-row .select2-selection{min-height:46px;border:1px solid var(--line);border-radius:10px;padding:8px 12px;font:inherit;background:#fff}
.woocommerce form .form-row textarea{min-height:90px}
.woocommerce form .form-row label{font-weight:600;font-size:14.5px}
.woocommerce-checkout h3{font-size:20px}
.woocommerce #payment{background:var(--soft)!important;border-radius:var(--r)!important}
.woocommerce #payment ul.payment_methods{border-bottom-color:var(--line)!important;padding:14px!important}
.woocommerce #payment ul.payment_methods li{padding:12px;border:1px solid var(--line);border-radius:12px;background:#fff;margin-bottom:8px;list-style:none}
.woocommerce #payment ul.payment_methods li label{font-weight:700}
.woocommerce #payment div.payment_box{background:#fff!important;border:1px dashed var(--line);font-size:14.5px}
.woocommerce #payment div.payment_box::before{display:none}
.woocommerce #payment #place_order{width:100%;min-height:54px;font-size:17px}
.woocommerce-message,.woocommerce-info,.woocommerce-error{border-radius:var(--r-sm);border-top-width:0!important;border-left:4px solid var(--blue)!important;background:var(--soft)!important}
.woocommerce-error{border-left-color:#e5304a!important}
.woocommerce-message::before,.woocommerce-info::before{color:var(--blue)!important}
@media (min-width:1024px){
	.woocommerce-checkout form.checkout{display:grid;grid-template-columns:1.15fr 1fr;gap:32px;align-items:start}
	.woocommerce-checkout form.checkout #customer_details{grid-column:1}
	.woocommerce-checkout form.checkout #customer_details .col-1,.woocommerce-checkout form.checkout #customer_details .col-2{width:100%;float:none}
	.woocommerce-checkout form.checkout #order_review_heading,.woocommerce-checkout form.checkout #order_review{grid-column:2}
	.woocommerce-checkout form.checkout #order_review_heading{grid-row:1;margin:0}
	.woocommerce-checkout form.checkout #order_review{grid-row:1;margin-top:40px;position:sticky;top:90px}
}

/* Khối ưu điểm mua online (trang Sản phẩm) */
.benefits{margin:8px 0 28px;padding:20px;border:1px solid var(--line);border-radius:var(--r);background:linear-gradient(180deg,#fff,var(--soft))}
.benefits__title{font-size:clamp(19px,2.6vw,24px);font-weight:800;margin:0 0 16px;text-wrap:balance}
.benefits__grid{list-style:none;margin:0;padding:0;display:grid;gap:12px;grid-template-columns:1fr}
.benefits__item{display:flex;gap:12px;align-items:flex-start;background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px}
.benefits__ico{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#e9f6fd;color:var(--blue-d);flex:none}
.benefits__item:nth-child(even) .benefits__ico{background:#fff1e5;color:var(--orange-d)}
.benefits__item h3{font-size:15.5px;margin:0 0 3px;line-height:1.3}
.benefits__item p{font-size:14px;color:var(--muted);margin:0;line-height:1.5}
@media (min-width:700px){.benefits__grid{grid-template-columns:repeat(2,1fr)}}
@media (min-width:1024px){.benefits{padding:24px}.benefits__grid{grid-template-columns:repeat(3,1fr)}}
