/* Cửa hàng mayai.vn — theo mayai-moi.css bản SUBACO "H2 giấy sáng" (02/11/2026): Space Grotesk, nền giấy,
   nút than chì chữ trắng, thẻ gói nền amber nhạt; bo thẻ 10px, nút 8px (Brand Kit SUBACO v1.1). */
:root {
	--muc: #211F1C;
	--chu: #4A4744;
	--nhat: #6B6660;
	--vien: #E6E2DC;
	--nen: #FFFFFF;
	--trang: #FFFFFF;
	--ho-phach: #E49B27;
	--ho-phach-dam: #9A610B;
	--tieu-de: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
	--than: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
}
body { margin: 0; background: var(--nen); color: var(--muc); font-family: var(--than); font-size: 16px; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
.mayai-khung { max-width: 1180px; margin: 0 auto; padding: clamp(28px, 5vw, 56px) clamp(18px, 4vw, 28px) 72px; box-sizing: border-box; }
.mayai-tieu-de, .mayai-khung h1, .woocommerce-products-header__title, .product_title {
	font-family: var(--tieu-de); font-weight: 600; letter-spacing: -.03em; line-height: 1.12;
	font-size: clamp(34px, 5vw, 54px); margin: 0 0 24px; color: var(--muc);
}
.mayai-khung h2 { font-family: var(--tieu-de); font-weight: 600; letter-spacing: -.02em; font-size: clamp(24px, 3vw, 32px); margin: 32px 0 14px; }
.mayai-khung h3 { font-size: 18px; margin: 20px 0 10px; }

/* nút */
.woocommerce .button, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button,
.woocommerce #respond input#submit, .woocommerce button.button.alt, .woocommerce a.button.alt,
.wc-block-components-button, .checkout-button, #place_order {
	background: var(--muc) !important; color: #fff !important; border: 0 !important; border-radius: 8px !important;
	font-family: var(--than) !important; font-weight: 600 !important; font-size: 16px !important;
	padding: 15px 26px !important; min-height: 50px; line-height: 1.2 !important; cursor: pointer; text-transform: none;
}
.woocommerce .button:hover, #place_order:hover { background: #3A3632 !important; }
.woocommerce .button.disabled, .woocommerce .button:disabled { opacity: .5; }

/* thẻ gói thay ảnh */
.mayai-the-goi { background: #FBF1DE; border: 1px solid #F5DCB3; color: var(--muc); aspect-ratio: 4 / 3; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; box-sizing: border-box; border-radius: 10px; margin-bottom: 16px; position: relative; overflow: hidden; }
.mayai-the-goi::before { content: ""; position: absolute; right: -24px; top: -30px; width: 190px; height: 190px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cg fill='%23E49B27'%3E%3Cpath d='M0 -3.2C-4.6 -6 -9.2 -11.6 -8.4 -16.6C-7.6 -21.6 7.6 -21.6 8.4 -16.6C9.2 -11.6 4.6 -6 0 -3.2Z' transform='translate(22 26) rotate(0)'/%3E%3Cpath d='M0 -3.2C-4.6 -6 -9.2 -11.6 -8.4 -16.6C-7.6 -21.6 7.6 -21.6 8.4 -16.6C9.2 -11.6 4.6 -6 0 -3.2Z' transform='translate(22 26) rotate(72)'/%3E%3Cpath d='M0 -3.2C-4.6 -6 -9.2 -11.6 -8.4 -16.6C-7.6 -21.6 7.6 -21.6 8.4 -16.6C9.2 -11.6 4.6 -6 0 -3.2Z' transform='translate(22 26) rotate(144)'/%3E%3Cpath d='M0 -3.2C-4.6 -6 -9.2 -11.6 -8.4 -16.6C-7.6 -21.6 7.6 -21.6 8.4 -16.6C9.2 -11.6 4.6 -6 0 -3.2Z' transform='translate(22 26) rotate(216)'/%3E%3Cpath d='M0 -3.2C-4.6 -6 -9.2 -11.6 -8.4 -16.6C-7.6 -21.6 7.6 -21.6 8.4 -16.6C9.2 -11.6 4.6 -6 0 -3.2Z' transform='translate(22 26) rotate(288)'/%3E%3C/g%3E%3Ccircle cx='22' cy='26' r='3.1' fill='%23211F1C'/%3E%3Cpath d='M0 -3.2C-4.6 -6 -9.2 -11.6 -8.4 -16.6C-7.6 -21.6 7.6 -21.6 8.4 -16.6C9.2 -11.6 4.6 -6 0 -3.2Z' fill='%23211F1C' transform='translate(40.5 10) rotate(38) scale(0.42) translate(0 11)'/%3E%3C/svg%3E") no-repeat center / contain; opacity: .9; }
.mayai-the-goi span { position: relative; align-self: flex-start; background: #fff; border: 1px solid #F5DCB3; border-radius: 99px; padding: 5px 12px; font-size: 12px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muc); }
.mayai-the-goi strong { position: relative; font-family: var(--tieu-de); font-weight: 600; font-size: clamp(30px, 4vw, 46px); line-height: 1.02; letter-spacing: -.028em; margin-top: 8px; }

/* danh sách gói */
.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; margin: 0; padding: 0; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; background: var(--trang); border: 1px solid var(--vien); border-radius: 10px; padding: 16px 16px 22px; list-style: none; display: flex; flex-direction: column; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--tieu-de); font-weight: 600; letter-spacing: -.02em; font-size: 26px !important; padding: 0 !important; margin: 0 0 6px; }
.woocommerce ul.products li.product .price { color: var(--muc) !important; font-weight: 800; font-size: 20px !important; }
.woocommerce ul.products li.product .button { margin-top: auto !important; text-align: center; }
.woocommerce-result-count, .woocommerce-ordering { display: none; }

/* trang một gói */
.woocommerce div.product { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(22px, 4vw, 48px); align-items: start; }
.woocommerce div.product .mayai-the-goi--lon { grid-column: 1; margin: 0; }
.woocommerce div.product div.summary { width: auto !important; float: none !important; grid-column: 2; margin: 0 !important; }
.woocommerce div.product .woocommerce-tabs, .woocommerce div.product .related, .woocommerce div.product .upsells { grid-column: 1 / -1; }
.woocommerce div.product .product_title { font-size: clamp(32px, 4vw, 48px); }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--muc) !important; font-size: 28px !important; font-weight: 800; }
.mayai-ky { font-size: .6em; font-weight: 500; color: var(--chu); }
.mayai-vat { display: block; font-size: 13px; font-weight: 500; color: var(--nhat); }
.woocommerce div.product .woocommerce-product-details__short-description { color: var(--chu); font-size: 17px; }
.woocommerce div.product form.cart { margin: 22px 0; }
.woocommerce div.product form.cart .quantity { display: none !important; }
.woocommerce div.product form.cart .variations { margin-bottom: 14px; border: 0; }
.woocommerce div.product form.cart .variations th, .woocommerce div.product form.cart .variations td { display: block; padding: 0 0 6px; text-align: left; }
.woocommerce div.product form.cart .variations select { width: 100%; min-height: 48px; border: 1px solid #D9D3CA; border-radius: 10px; padding: 0 12px; font: inherit; background: var(--trang); }
.woocommerce div.product .woocommerce-variation-price { margin-bottom: 12px; }
.woocommerce div.product .product_meta { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs { display: none; }
.woocommerce div.product .woocommerce-tabs .panel { background: var(--trang); border: 1px solid var(--vien); border-radius: 10px; padding: clamp(18px, 3vw, 32px); }
.woocommerce div.product .woocommerce-tabs .panel > h2:first-child { display: none; }
.woocommerce div.product .woocommerce-tabs .panel ul { padding-left: 20px; }
.woocommerce div.product .woocommerce-tabs .panel li { margin: 6px 0; color: var(--chu); }
.woocommerce div.product .related { display: none; }

/* giỏ + thanh toán */
.woocommerce table.shop_table { border: 1px solid var(--vien); border-radius: 10px; background: var(--trang); border-collapse: collapse; }
.woocommerce table.shop_table th { font-size: 13px; letter-spacing: .6px; text-transform: uppercase; color: var(--nhat); }
.woocommerce table.shop_table td, .woocommerce table.shop_table th { border-top: 1px solid var(--vien); padding: 14px 12px; }
.woocommerce-cart .product-thumbnail { display: none; }
.woocommerce .cart-collaterals .cart_totals { float: none; width: 100%; max-width: 480px; margin-left: auto; }
.woocommerce .cart-collaterals .cart_totals h2 { font-size: 26px; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select {
	border: 1px solid #D9D3CA; border-radius: 10px; min-height: 48px; padding: 10px 12px; font: inherit; background: var(--trang); box-sizing: border-box;
}
.woocommerce form .form-row textarea { min-height: 96px; }
.woocommerce form .form-row label { font-size: 14px; font-weight: 600; color: var(--chu); }
.woocommerce-checkout #customer_details .col-1, .woocommerce-checkout #customer_details .col-2 { width: 100%; float: none; }
.woocommerce-checkout #order_review_heading { margin-top: 32px; }
.woocommerce-checkout #payment { background: var(--trang) !important; border: 1px solid var(--vien); border-radius: 10px !important; }
.woocommerce-checkout #payment div.payment_box { background: #F7F6F3 !important; border-radius: 10px; color: var(--chu); }
.woocommerce-checkout #payment div.payment_box::before { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-top-color: #E49B27 !important; background: var(--trang) !important; border-radius: 10px; }
.woocommerce-message::before, .woocommerce-info::before { color: #9A610B !important; }
.woocommerce-cart .woocommerce-cart-form .coupon { display: none; }

/* đặt xong + mã QR */
.woocommerce-order-overview { padding: 0; }
.mayai-qr { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 28px; background: var(--trang); border: 1px solid var(--vien); border-left: 4px solid #E49B27; border-radius: 10px; padding: 24px; margin: 0 0 32px; align-items: start; }
.mayai-qr-anh img { width: 100%; height: auto; display: block; }
.mayai-nhan { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; color: #9A610B; margin-bottom: 8px; }
.mayai-qr-bang { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 16px 0; }
.mayai-qr-bang dt { color: var(--nhat); font-size: 14px; }
.mayai-qr-bang dd { margin: 0; font-weight: 600; word-break: break-word; }
.mayai-qr-luu, .mayai-buoc-tiep { color: var(--chu); font-size: 15px; }
.mayai-buoc-tiep { background: var(--trang); border: 1px solid var(--vien); padding: 16px 18px; border-radius: 10px; }

@media (max-width: 767px) {
	.woocommerce div.product { grid-template-columns: 1fr; }
	.woocommerce div.product .mayai-the-goi--lon, .woocommerce div.product div.summary { grid-column: 1; }
	.mayai-the-goi--lon { aspect-ratio: 16 / 9; }
	.mayai-qr { grid-template-columns: 1fr; padding: 18px; }
	.mayai-qr-anh { max-width: 300px; margin: 0 auto; }
	.woocommerce table.shop_table_responsive tr td { padding: 10px 12px; }
}

/* một quốc gia (Việt Nam) — ẩn ô quốc gia ở trang thanh toán */
#billing_country_field { display: none !important; }

/* ---------- trang một sản phẩm (02/11/2026): khung theo trang sản phẩm froga.vn + chất social ----------
   Khuôn: woocommerce/content-single-product.php, dữ liệu + JS: san-pham.php */
.woocommerce div.product.mayai-sp { display: block; }
.mayai-sp__dd { font-size: 13px; color: var(--nhat); margin: 0 0 14px; }
.mayai-sp__dd a:hover { color: var(--muc); text-decoration: underline; }
.mayai-sp__dau { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 22px; }
.woocommerce div.product.mayai-sp .product_title { font-size: clamp(30px, 4vw, 44px); margin: 0; }
.mayai-sp__nhan { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.mayai-sp__nhan li { font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 99px; background: #fff; border: 1px solid var(--vien); color: var(--chu); }
.mayai-sp__nhan li:first-child { background: #FBF1DE; border-color: #F5DCB3; color: var(--muc); }
.mayai-sp__luoi { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(22px, 3.5vw, 40px); align-items: start; }

/* khung hình + ảnh nhỏ */
.mayai-sp__trai { background: #fff; border: 1px solid var(--vien); border-radius: 14px; padding: 14px; }
.mayai-sp__trang { display: none; }
.mayai-sp__trang.dang { display: block; }
.mayai-reel { position: relative; aspect-ratio: 5 / 4.4; border-radius: 12px; overflow: hidden; color: #fff; background: radial-gradient(circle at 50% 30%, #4A4744 0%, #211F1C 65%); padding: 18px; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; }
.mayai-reel__tren { display: flex; gap: 8px; align-items: center; }
.mayai-reel__live { background: #C0392B; font-size: 11px; font-weight: 700; letter-spacing: 1px; padding: 3px 9px; border-radius: 6px; }
.mayai-reel__kenh { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; background: rgba(255,255,255,.12); padding: 4px 12px 4px 4px; border-radius: 99px; }
.mayai-reel__kenh i { width: 22px; height: 22px; border-radius: 50%; background: #E49B27; }
.mayai-reel__mc { align-self: center; width: 34%; aspect-ratio: 1; border-radius: 50%; background: rgba(228,155,39,.14); box-shadow: 0 0 0 16px rgba(228,155,39,.06); display: flex; align-items: center; justify-content: center; animation: mayai-tho 3.2s ease-in-out infinite; }
.mayai-reel__mc svg { width: 58%; }
@keyframes mayai-tho { 50% { transform: scale(1.05); } }
.mayai-reel__bl p { margin: 0 0 8px; font-size: 13px; background: rgba(0,0,0,.38); padding: 6px 10px; border-radius: 12px; width: fit-content; }
.mayai-reel__bl b { color: #E49B27; margin-right: 6px; font-weight: 600; }
.mayai-reel__bang { display: grid; gap: 8px; }
.mayai-reel__bang div { background: #fff; color: var(--muc); border-radius: 10px; padding: 11px 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.mayai-reel__bang b { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 99px; background: #E49B27; color: var(--muc); white-space: nowrap; }
.mayai-reel__bang b.xanh { background: #E3F1EA; color: #2E7D5B; }
.mayai-reel__bang b.den { background: var(--muc); color: #fff; }
.mayai-reel__duoi strong { display: block; font-family: var(--tieu-de); font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.mayai-reel__duoi small { display: block; margin-top: 6px; font-size: 12px; opacity: .65; }
.mayai-sp__nho { display: flex; gap: 10px; margin-top: 12px; }
.mayai-sp__nho button { width: 64px; height: 64px; padding: 4px; border: 1.5px solid var(--vien); border-radius: 10px; background: #fff; cursor: pointer; }
.mayai-sp__nho button.dang { border-color: var(--muc); }
.mayai-nho { display: block; width: 100%; height: 100%; border-radius: 6px; background: #211F1C; position: relative; }
.mayai-nho::after { content: ""; position: absolute; left: 18%; right: 18%; top: 30%; height: 6px; border-radius: 3px; background: #E49B27; box-shadow: 0 10px 0 #fff, 0 20px 0 rgba(255,255,255,.6); }
.mayai-nho--2::after { background: #fff; box-shadow: 0 10px 0 #E49B27, 0 20px 0 rgba(255,255,255,.6); }
.mayai-nho--3 { background: #FBF1DE; }
.mayai-nho--3::after { background: #211F1C; box-shadow: 0 10px 0 #E49B27, 0 20px 0 #211F1C; }

/* cam kết */
.mayai-sp__ck { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--vien); }
.mayai-sp__ck h2 { font-size: 15px !important; font-weight: 600; margin: 0 0 12px !important; letter-spacing: 0 !important; font-family: var(--than) !important; }
.mayai-sp__ck ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.mayai-sp__ck li { display: grid; grid-template-columns: 34px 1fr; column-gap: 10px; align-items: start; }
.mayai-sp__ck i { grid-row: span 2; width: 34px; height: 34px; border-radius: 50%; background: #FBF1DE; color: #9A610B; font-style: normal; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.mayai-sp__ck b { font-size: 14.5px; }
.mayai-sp__ck span { font-size: 13px; color: var(--chu); line-height: 1.45; }

/* hộp mua */
.mayai-sp__hop { background: #fff; border: 1px solid var(--vien); border-radius: 14px; padding: 20px; }
.mayai-sp__gia .price, .mayai-sp__gia { color: var(--muc); font-size: 30px; font-weight: 700; line-height: 1.15; font-variant-numeric: tabular-nums; }
.mayai-sp__gia .mayai-vat { font-size: 13px; font-weight: 500; color: var(--nhat); margin-top: 4px; }
.mayai-sp__mo { margin: 14px 0; padding: 12px 14px; background: #FBF1DE; border-radius: 10px; font-size: 14.5px; color: var(--chu); }
.mayai-sp__mo p { margin: 0 0 4px; }
.mayai-sp__mo p:last-child { margin: 0; }
.woocommerce div.product.mayai-sp form.cart { margin: 0; }
.woocommerce div.product.mayai-sp form.cart .variations { margin: 0 0 10px; }
.woocommerce div.product.mayai-sp form.cart .variations th { display: block; padding: 0 0 8px; font-size: 14px; font-weight: 600; color: var(--chu); text-align: left; }
.woocommerce div.product.mayai-sp form.cart .variations td { display: block; padding: 0; }
.woocommerce div.product form.cart .reset_variations { display: none !important; }
.mayai-an { position: absolute !important; opacity: 0 !important; pointer-events: none; width: 1px !important; height: 1px !important; min-height: 0 !important; }
.mayai-chip { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; }
.mayai-chip button { text-align: left; background: #fff; border: 1.5px solid var(--vien); border-radius: 10px; padding: 10px 12px; cursor: pointer; font: inherit; color: var(--muc); transition: border-color .15s, background .15s; }
.mayai-chip button:hover { border-color: #D9D3CA; }
.mayai-chip button b { display: block; font-size: 14.5px; font-weight: 600; }
.mayai-chip button small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--chu); font-variant-numeric: tabular-nums; }
.mayai-chip button.on { border-color: var(--muc); background: #FBF1DE; box-shadow: inset 0 0 0 1px var(--muc); }
.woocommerce div.product.mayai-sp .woocommerce-variation-description { font-size: 14px; color: var(--chu); margin: 10px 0 0; }
.woocommerce div.product.mayai-sp .woocommerce-variation-description p { margin: 0 0 2px; }
.woocommerce div.product.mayai-sp .woocommerce-variation-price { display: none; }
.woocommerce div.product.mayai-sp .woocommerce-variation-add-to-cart, .woocommerce div.product.mayai-sp form.cart:not(.variations_form) { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.woocommerce div.product.mayai-sp form.cart .single_add_to_cart_button { width: 100%; margin: 0 !important; background: #fff !important; color: var(--muc) !important; box-shadow: inset 0 0 0 1.5px var(--muc); }
.woocommerce div.product.mayai-sp form.cart .single_add_to_cart_button:hover { background: #FBF1DE !important; }
.mayai-mua-ngay { min-height: 50px; border: 0; border-radius: 8px; background: var(--muc); color: #fff; font: inherit; font-weight: 600; font-size: 16px; cursor: pointer; }
.mayai-mua-ngay:hover { background: #3A3632; }
.mayai-sp__zalo { margin-top: 14px; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: #FBF1DE; border: 1px solid #F5DCB3; }
.mayai-sp__zalo div { flex: 1; }
.mayai-sp__zalo b { display: block; font-size: 15px; }
.mayai-sp__zalo span { display: block; font-size: 13.5px; color: var(--chu); }
.mayai-sp__zalo .m-nut { min-height: 40px; padding: 0 16px; font-size: 14.5px; flex-shrink: 0; }
.mayai-sp__xh { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.mayai-sp__xh a, .mayai-sp__xh button { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--vien); background: #fff; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--muc); cursor: pointer; }
.mayai-sp__xh a:hover, .mayai-sp__xh button:hover { border-color: var(--muc); }

/* tab */
.mayai-sp__tab { margin-top: 36px; background: #fff; border: 1px solid var(--vien); border-radius: 14px; padding: clamp(16px, 3vw, 28px); }
.mayai-sp__tab-nut { display: flex; gap: 6px; justify-content: center; margin-bottom: 20px; flex-wrap: wrap; }
.mayai-sp__tab-nut button { min-height: 40px; padding: 0 18px; border-radius: 99px; border: 1px solid var(--vien); background: #fff; font: inherit; font-size: 14.5px; font-weight: 600; color: var(--chu); cursor: pointer; }
.mayai-sp__tab-nut button.dang { background: var(--muc); border-color: var(--muc); color: #fff; }
.mayai-sp__panel { display: none; }
.mayai-sp__panel.dang { display: block; }
.mayai-sp__bang { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.mayai-sp__bang th, .mayai-sp__bang td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--vien); vertical-align: top; }
.mayai-sp__bang th { width: 32%; font-weight: 500; color: var(--chu); }
.mayai-sp__bang tr.nhom th { background: #FBF1DE; color: var(--muc); font-weight: 700; width: auto; }
.mayai-sp__bai .mayai-bai__dau { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--vien); }
.mayai-bai__anh { width: 40px; height: 40px; border-radius: 50%; background: var(--muc); display: flex; align-items: center; justify-content: center; }
.mayai-bai__anh svg { width: 22px; }
.mayai-bai__dau b { display: block; font-size: 15px; }
.mayai-bai__dau small { display: block; font-size: 13px; color: var(--chu); }
.mayai-sp__noi-dung { color: var(--chu); font-size: 15.5px; line-height: 1.7; }
.mayai-sp__noi-dung h3 { color: var(--muc); font-size: 18px; margin: 20px 0 8px; }
.mayai-sp__noi-dung ul { padding-left: 20px; }
.mayai-sp__bl { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.mayai-sp__bl li { display: grid; gap: 8px; }
.mayai-sp__bl .hoi, .mayai-sp__bl .dap { display: flex; gap: 10px; align-items: flex-start; }
.mayai-sp__bl .dap { margin-left: 44px; }
.mayai-sp__bl .av { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; }
.mayai-sp__bl .av--khach { background: #E6E2DC; color: var(--chu); }
.mayai-sp__bl .av--mayai { background: var(--muc); }
.mayai-sp__bl .av--mayai svg { width: 18px; }
.mayai-sp__bl p { margin: 0; padding: 10px 14px; border-radius: 4px 14px 14px 14px; background: #F3EEE6; font-size: 14.5px; line-height: 1.5; }
.mayai-sp__bl .dap p { background: #FBF1DE; }
.mayai-sp__bl p b { display: block; font-size: 12.5px; color: var(--chu); margin-bottom: 2px; }
.mayai-sp__hoi-them { display: inline-block; margin-top: 18px; font-weight: 600; color: #9A610B; }

/* sản phẩm khác */
.mayai-khac { margin-top: 40px; }
.mayai-khac h2 { font-family: var(--tieu-de); font-weight: 600; font-size: clamp(24px, 3vw, 32px); letter-spacing: -.02em; margin: 0 0 16px; }
.mayai-khac__luoi { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(190px, 220px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; }
.mayai-khac__the { scroll-snap-align: start; position: relative; aspect-ratio: 9 / 13; border-radius: 14px; padding: 14px; display: flex; flex-direction: column; justify-content: space-between; color: #fff; background: linear-gradient(170deg, #4A4744, #211F1C 70%); transition: transform .2s; }
.mayai-khac__the:hover { transform: translateY(-4px); }
.mayai-khac__the--live { background: linear-gradient(170deg, #F5DCB3, #E49B27); color: var(--muc); }
.mayai-khac__the--cc { background: linear-gradient(170deg, #FBF1DE, #F5DCB3); color: var(--muc); }
.mayai-khac__nhan { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; padding: 4px 10px; border-radius: 99px; background: rgba(255,255,255,.2); }
.mayai-khac__the--live .mayai-khac__nhan, .mayai-khac__the--cc .mayai-khac__nhan { background: rgba(255,255,255,.7); }
.mayai-khac__phat { position: absolute; top: 44%; left: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid currentColor; opacity: .7; display: flex; align-items: center; justify-content: center; font-size: 14px; padding-left: 3px; }
.mayai-khac__duoi b { display: block; font-family: var(--tieu-de); font-size: 18px; font-weight: 600; line-height: 1.15; letter-spacing: -.02em; }
.mayai-khac__duoi em { display: block; margin-top: 6px; font-style: normal; font-size: 13px; font-weight: 600; }
.mayai-khac__duoi em .mayai-vat { display: none; }
.mayai-khac__duoi em .mayai-ky { font-size: 1em; color: inherit; }

.mayai-thanh-mua { display: none; }
@media (max-width: 860px) {
	.mayai-sp__luoi { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}
@media (max-width: 767px) {
	.mayai-sp__trai { padding: 10px; }
	.mayai-reel { aspect-ratio: auto; min-height: 330px; }
	.mayai-sp__ck ul { grid-template-columns: 1fr; }
	.mayai-sp__bang th { width: 40%; }
	.mayai-sp__bl .dap { margin-left: 20px; }
	.mayai-sp__zalo { flex-wrap: wrap; }
	.mayai-thanh-mua { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--vien); padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); gap: 12px; align-items: center; }
	.mayai-thanh-mua div { min-width: 0; flex: 1; }
	.mayai-thanh-mua small { display: block; font-size: 12px; color: var(--chu); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.mayai-thanh-mua b { display: block; font-size: 16px; }
	.mayai-thanh-mua b .mayai-vat { display: none; }
	.mayai-thanh-mua .m-nut { flex-shrink: 0; }
	.single-product .m-chan { padding-bottom: 80px; }
}
@media (prefers-reduced-motion: reduce) { .mayai-reel__mc { animation: none; } }

/* --- 02/11 khuya: trình bày như hàng vật lý (ảnh hộp sản phẩm thật, thư viện ảnh Woo) + cân hai cột --- */
.mayai-sp__luoi { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
.mayai-sp__trai { display: flex; flex-direction: column; justify-content: center; }
.woocommerce div.product.mayai-sp div.images { width: 100% !important; float: none !important; margin: 0 !important; position: relative; }
.woocommerce div.product.mayai-sp div.images .woocommerce-product-gallery__image img { border-radius: 10px; background: #FAF8F4; }
.woocommerce div.product.mayai-sp div.images .flex-control-thumbs { display: flex; gap: 10px; margin: 12px 0 0; padding: 0; }
.woocommerce div.product.mayai-sp div.images .flex-control-thumbs li { width: 76px !important; float: none !important; list-style: none; }
.woocommerce div.product.mayai-sp div.images .flex-control-thumbs li img { border: 1.5px solid var(--vien); border-radius: 10px; opacity: 1; cursor: pointer; }
.woocommerce div.product.mayai-sp div.images .flex-control-thumbs li img.flex-active { border-color: var(--muc); }
.woocommerce div.product.mayai-sp .woocommerce-product-gallery__trigger { position: absolute; top: 12px; right: 12px; z-index: 5; width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid var(--vien); text-indent: -9999px; overflow: hidden; }
.woocommerce div.product.mayai-sp .woocommerce-product-gallery__trigger::after { content: "⤢"; position: absolute; inset: 0; text-indent: 0; display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--muc); }
.mayai-sp__phai { display: flex; flex-direction: column; gap: 14px; }
.mayai-sp__hop { flex: 1; display: flex; flex-direction: column; }
.woocommerce div.product.mayai-sp .mayai-sp__hop form.cart { margin-top: auto; }
.mayai-sp__zalo { margin-top: 0; }
.mayai-sp__xh { margin-top: 0; }
.mayai-sp__meta { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13.5px; color: var(--nhat); }
.mayai-sp__meta b { color: var(--muc); font-weight: 600; }
.mayai-sp__meta b.xanh { color: #2E7D5B; }
.mayai-sp__ck { margin-top: 18px; padding: 18px 20px; border: 1px solid var(--vien); border-radius: 14px; background: #fff; }
.mayai-sp__ck ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.woocommerce ul.products li.product a img { border-radius: 10px; margin: 0 0 14px; background: #FAF8F4; }
@media (max-width: 960px) {
	.mayai-sp__ck ul { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
	.mayai-sp__luoi { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
	.mayai-sp__ck ul { grid-template-columns: 1fr; }
	.woocommerce div.product.mayai-sp div.images .flex-control-thumbs li { width: 64px !important; }
}


/* ---------- trang cửa hàng kiểu trang shop mạng xã hội (03/11/2026, cua-hang.php + content-product.php) ---------- */
.mayai-ho { background: #fff; border: 1px solid var(--vien); border-radius: 18px; overflow: hidden; margin-bottom: 18px; }
.mayai-ho__bia { height: 150px; background: radial-gradient(circle at 80% 20%, rgba(228,155,39,.55), transparent 45%), radial-gradient(circle at 15% 90%, rgba(228,155,39,.35), transparent 40%), #211F1C; }
.mayai-ho__than { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 14px 24px 20px; }
.mayai-ho__av { margin-top: -58px; align-self: flex-start; width: 96px; height: 96px; border-radius: 50%; background: #211F1C; border: 5px solid #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 0 0 3px #E49B27; }
.mayai-ho__av svg { width: 52px; }
.mayai-ho__ten { flex: 1; min-width: 240px; }
.mayai-ho__ten h1 { font-family: var(--tieu-de); font-size: clamp(26px, 3vw, 34px) !important; font-weight: 600; letter-spacing: -.02em; margin: 0 0 2px !important; }
.mayai-ho__ten p { margin: 0; color: var(--chu); font-size: 15px; }
.mayai-ho__so { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--chu); }
.mayai-ho__so b { color: var(--muc); }
.mayai-ho__nut { display: flex; gap: 10px; }
.mayai-ho__nut .m-nut { min-height: 42px; padding: 0 18px; font-size: 15px; }
.mayai-loc { display: flex; gap: 18px; overflow-x: auto; padding: 6px 4px 14px; margin-bottom: 18px; scrollbar-width: none; }
.mayai-loc::-webkit-scrollbar { display: none; }
.mayai-loc button { display: flex; flex-direction: column; align-items: center; gap: 6px; background: none; border: 0; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--chu); cursor: pointer; flex-shrink: 0; }
.mayai-loc .vong { width: 64px; height: 64px; border-radius: 50%; padding: 3px; background: #E6E2DC; display: flex; }
.mayai-loc .vong span { flex: 1; border-radius: 50%; background: #fff; border: 3px solid #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 17px; color: var(--muc); box-shadow: inset 0 0 0 100px #FBF1DE; }
.mayai-loc button.dang { color: var(--muc); }
.mayai-loc button.dang .vong { background: conic-gradient(#E49B27, #C0392B, #E49B27); }

.woocommerce ul.products { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)) !important; justify-content: stretch; gap: 22px; }
@media (max-width: 767px) {
	.mayai-ho__bia { height: 110px; }
	.mayai-ho__than { padding: 0 16px 18px; }
	.mayai-ho__av { width: 80px; height: 80px; }
	.mayai-ho__nut { width: 100%; }
	.mayai-ho__nut .m-nut { flex: 1; }
	.woocommerce ul.products { grid-template-columns: minmax(0, 1fr) !important; }
	.mayai-ho__av { margin-top: -48px; }
}


/* ---------- trang cửa hàng: LƯỚI BENTO kiểu tạp chí (03/11/2026, anh chọn hướng A) — cua-hang.php ----------
   4 cột, hàng cao 210px, dense: ô lớn 2×2 nền đen · ô ngang 2×1 · ô dọc 1×2 · ô nhỏ 1×1 · dải ngang 4 cột */
.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; grid-auto-rows: 210px; grid-auto-flow: dense; gap: 16px; margin: 0; padding: 0; }
.woocommerce ul.products li.bt, .bt { position: relative; list-style: none; margin: 0 !important; width: auto !important; float: none !important; padding: 22px; border-radius: 20px; overflow: hidden; display: flex; background: #fff; border: 1px solid var(--vien); transition: transform .25s, box-shadow .25s; }
.bt:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(33,31,28,.1); }
.bt[hidden] { display: none !important; }
.woocommerce ul.products li.bt--lon { grid-column: span 2; grid-row: span 2; background: radial-gradient(circle at 78% 70%, #4A4744 0%, #211F1C 62%); border-color: #211F1C; color: #fff; padding: 30px; }
.woocommerce ul.products li.bt--ngang { grid-column: span 2; background: linear-gradient(120deg, #FBF1DE 0%, #F5DCB3 100%); border-color: #F5DCB3; }
.woocommerce ul.products li.bt--doc { grid-row: span 2; background: linear-gradient(180deg, #FBF1DE, #fff 70%); flex-direction: column; }
.woocommerce ul.products li.bt--nho { background: #fff; }
.woocommerce ul.products li.bt--nho:nth-of-type(odd) { background: #F3EEE6; }
.bt__chu { position: relative; z-index: 2; display: flex; flex-direction: column; max-width: 58%; }
.bt--lon .bt__chu { max-width: 58%; justify-content: center; }
.bt--nho .bt__chu, .bt--doc .bt__chu { max-width: none; }
.bt__nhan { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; font-size: 11.5px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: #9A610B; }
.bt__nhan i { font-style: normal; background: #C0392B; color: #fff; padding: 2px 6px; border-radius: 5px; font-size: 10px; letter-spacing: 1px; }
.bt--lon .bt__nhan { color: #E49B27; }
.bt h2 { font-family: var(--tieu-de) !important; font-weight: 600; letter-spacing: -.03em !important; line-height: 1.05; margin: 8px 0 8px !important; font-size: 24px !important; color: inherit; }
.bt--lon h2 { font-size: clamp(30px, 3.2vw, 40px) !important; margin: 14px 0 12px !important; }
.bt--nho h2 { font-size: 19px !important; }
.bt h2 a { color: inherit; }
.bt p { margin: 0 0 14px; font-size: 14.5px; line-height: 1.5; color: var(--chu); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bt--lon p { color: #C9C4BD; font-size: 16px; -webkit-line-clamp: 3; }
.bt__mua { margin-top: auto; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.bt--lon .bt__mua { margin-top: 10px; }
.bt__gia { font-weight: 700; font-size: 16px; font-variant-numeric: tabular-nums; }
.bt__gia .mayai-vat { display: block; margin: 2px 0 0; font-size: 11.5px; font-weight: 500; opacity: .8; }
.bt--lon .bt__gia { font-size: 20px; color: #E49B27; }
.bt--lon .bt__gia .mayai-vat, .bt--lon .bt__gia .mayai-ky { color: #C9C4BD; }
.bt__nut { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px; border-radius: 8px; background: var(--muc); color: #fff; font-weight: 600; font-size: 14.5px; }
.bt__nut span { transition: transform .2s; }
.bt:hover .bt__nut span { transform: translateX(3px); }
.bt--lon .bt__nut { background: #E49B27; color: var(--muc); min-height: 46px; padding: 0 22px; font-size: 16px; }
.bt--nho .bt__nut { background: none; color: var(--muc); padding: 0; min-height: 0; text-decoration: underline; text-underline-offset: 3px; }
.woocommerce ul.products li.product .bt__anh, .bt__anh { position: absolute; z-index: 1; margin: 0; border-radius: 0; background: none; height: auto; filter: drop-shadow(0 22px 24px rgba(33,31,28,.32)); transition: transform .4s cubic-bezier(.16,1,.3,1); }
.woocommerce ul.products li.bt--lon .bt__anh { width: 40%; right: 6%; bottom: 8%; transform: rotate(4deg); }
.woocommerce ul.products li.bt--ngang .bt__anh { width: 27%; right: 6%; bottom: -14%; transform: rotate(-5deg); }
.woocommerce ul.products li.bt--doc .bt__anh { position: relative; width: 55%; margin: auto auto 0; transform: rotate(-3deg); }
.woocommerce ul.products li.bt--lon:hover .bt__anh { transform: rotate(1deg) translateY(-8px) scale(1.03) !important; }
.woocommerce ul.products li.bt--ngang:hover .bt__anh { transform: rotate(-2deg) translateY(-8px) !important; }
.bt__hinh { position: absolute; right: 16px; bottom: 16px; width: 64px; height: 64px; border-radius: 18px; background: var(--muc); color: #E49B27; display: flex; align-items: center; justify-content: center; font-family: var(--tieu-de); font-size: 34px; font-weight: 600; transform: rotate(-6deg); transition: transform .3s; }
.bt:hover .bt__hinh { transform: rotate(0) scale(1.06); }
.bt__luu { position: absolute; z-index: 3; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--vien); background: rgba(255,255,255,.9); color: var(--muc); font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.bt--lon .bt__luu { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.2); color: #fff; }
.bt__luu.on { color: #C0392B; }
.bt--lon .bt__luu.on { color: #FF8A7A; }
.mc-an { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.bt--dai { margin-top: 16px; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; background: #E49B27; border-color: #E49B27; padding: 20px 26px; }
.bt--dai b { display: block; font-family: var(--tieu-de); font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.bt--dai span { display: block; font-size: 15px; }
.woocommerce ul.products { grid-auto-rows: minmax(210px, auto); }
@media (max-width: 960px) {
	.woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 767px) {
	.woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; grid-auto-rows: minmax(170px, auto); gap: 10px; }
	.woocommerce ul.products li.bt, .bt { padding: 14px; border-radius: 16px; }
	.woocommerce ul.products li.bt--lon { padding: 20px; min-height: 360px; }
	.bt--lon .bt__chu { max-width: 62%; }
	.bt--lon h2 { font-size: 30px !important; }
	.woocommerce ul.products li.bt--lon .bt__anh { width: 44%; right: 2%; bottom: 6%; }
	.woocommerce ul.products li.bt--ngang { min-height: 190px; }
	.bt h2, .bt--nho h2 { font-size: 16px !important; }
	.bt p { display: none; }
	.bt--lon p { display: -webkit-box; font-size: 14px; }
	.bt__chu { max-width: 62%; }
	.bt__hinh { width: 48px; height: 48px; font-size: 26px; right: 12px; bottom: 12px; }
	.bt__nut { min-height: 36px; padding: 0 12px; font-size: 13.5px; }
	.bt__luu { width: 32px; height: 32px; top: 10px; right: 10px; }
	.bt--dai { padding: 16px; }
	.bt--dai .m-nut { width: 100%; }
	.bt--lon h2 { font-size: 26px !important; }
	.bt--lon .bt__chu { max-width: 56%; }
	.woocommerce ul.products li.bt--lon .bt__anh { width: 40%; }
}

/* --- 03/11 tinh chỉnh ô bento (anh: "đưa Gói livestream lên nổi bật, thẻ thẩm mỹ hơn") ---
   nhãn thành viên thuốc, giá + "chưa gồm VAT" một dòng, hộp sản phẩm hiện trọn (không cắt mép),
   ô lớn có tia sáng chìm + chấm LIVE nhấp nháy */
.bt__nhan { padding: 5px 11px; border-radius: 99px; background: #fff; border: 1px solid #F5DCB3; font-size: 11px; letter-spacing: 1px; }
.bt__nhan i { margin-right: -5px; }
.woocommerce ul.products li.bt--lon .bt__nhan { background: rgba(228,155,39,.14); border-color: rgba(228,155,39,.35); color: #E49B27; }
.woocommerce ul.products li.bt--lon .bt__nhan i { animation: bt-nhay 1.6s ease-in-out infinite; }
@keyframes bt-nhay { 50% { opacity: .45; } }
.bt h2 { margin: 12px 0 8px !important; font-size: 26px !important; }
.bt--nho h2 { font-size: 19px !important; margin: 10px 0 0 !important; }
.bt p { font-size: 14.5px; color: var(--chu); margin-bottom: 0; }
.bt__mua { gap: 12px; }
.bt__gia { font-size: 17px; }
.bt__gia .mayai-vat { display: inline !important; margin: 0 0 0 6px !important; font-size: 12px; font-weight: 500; color: var(--nhat); opacity: 1; }
.bt__gia .mayai-ky { font-size: 12.5px; font-weight: 500; color: var(--chu); }
.woocommerce ul.products li.bt--lon { padding: 34px; background: radial-gradient(circle at 76% 72%, #4A4744 0%, #211F1C 60%); }
.woocommerce ul.products li.bt--lon::after { content: ""; position: absolute; z-index: 0; top: -40px; right: -40px; width: 260px; height: 260px; opacity: .1; pointer-events: none;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cg fill='%23E49B27'%3E%3Cpath d='M0 -3.2C-4.6 -6 -9.2 -11.6 -8.4 -16.6C-7.6 -21.6 7.6 -21.6 8.4 -16.6C9.2 -11.6 4.6 -6 0 -3.2Z' transform='translate(22 26) rotate(0)'/%3E%3Cpath d='M0 -3.2C-4.6 -6 -9.2 -11.6 -8.4 -16.6C-7.6 -21.6 7.6 -21.6 8.4 -16.6C9.2 -11.6 4.6 -6 0 -3.2Z' transform='translate(22 26) rotate(72)'/%3E%3Cpath d='M0 -3.2C-4.6 -6 -9.2 -11.6 -8.4 -16.6C-7.6 -21.6 7.6 -21.6 8.4 -16.6C9.2 -11.6 4.6 -6 0 -3.2Z' transform='translate(22 26) rotate(144)'/%3E%3Cpath d='M0 -3.2C-4.6 -6 -9.2 -11.6 -8.4 -16.6C-7.6 -21.6 7.6 -21.6 8.4 -16.6C9.2 -11.6 4.6 -6 0 -3.2Z' transform='translate(22 26) rotate(216)'/%3E%3Cpath d='M0 -3.2C-4.6 -6 -9.2 -11.6 -8.4 -16.6C-7.6 -21.6 7.6 -21.6 8.4 -16.6C9.2 -11.6 4.6 -6 0 -3.2Z' transform='translate(22 26) rotate(288)'/%3E%3C/g%3E%3Ccircle cx='22' cy='26' r='3.1' fill='%23FFFFFF'/%3E%3Cpath d='M0 -3.2C-4.6 -6 -9.2 -11.6 -8.4 -16.6C-7.6 -21.6 7.6 -21.6 8.4 -16.6C9.2 -11.6 4.6 -6 0 -3.2Z' fill='%23E49B27' transform='translate(40.5 10) rotate(38) scale(0.42) translate(0 11)'/%3E%3C/svg%3E") center / contain no-repeat; }
.woocommerce ul.products li.bt--lon h2 { font-size: clamp(32px, 3.4vw, 44px) !important; margin: 18px 0 12px !important; }
.woocommerce ul.products li.bt--lon p { font-size: 16px; color: #C9C4BD; }
.woocommerce ul.products li.bt--lon .bt__mua { margin-top: 26px; }
.woocommerce ul.products li.bt--lon .bt__gia { font-size: 24px; color: #E49B27; }
.woocommerce ul.products li.bt--lon .bt__gia .mayai-ky, .woocommerce ul.products li.bt--lon .bt__gia .mayai-vat { color: #C9C4BD; }
.woocommerce ul.products li.bt--lon .bt__anh { width: auto; height: 74%; right: 7%; bottom: 9%; transform: rotate(4deg); }
.woocommerce ul.products li.bt--lon:hover .bt__anh { transform: rotate(1deg) translateY(-8px) !important; }
.woocommerce ul.products li.bt--ngang { padding: 24px 26px; }
.woocommerce ul.products li.bt--ngang .bt__chu { max-width: 60%; }
.woocommerce ul.products li.bt--ngang .bt__anh { width: auto; height: 78%; right: 8%; bottom: 11%; transform: rotate(-5deg); }
.woocommerce ul.products li.bt--ngang:hover .bt__anh { transform: rotate(-2deg) translateY(-6px) !important; }
.woocommerce ul.products li.bt--ngang p { -webkit-line-clamp: 2; }
.bt__nut { min-height: 42px; padding: 0 18px; border-radius: 10px; }
.woocommerce ul.products li.bt--lon .bt__nut { min-height: 50px; padding: 0 24px; border-radius: 10px; }
@media (max-width: 767px) {
	.woocommerce ul.products li.bt--lon { padding: 22px; min-height: 380px; }
	.woocommerce ul.products li.bt--lon h2 { font-size: 28px !important; }
	.woocommerce ul.products li.bt--lon .bt__anh { height: 52%; right: 5%; bottom: 6%; }
	.woocommerce ul.products li.bt--ngang .bt__anh { height: 62%; right: 4%; bottom: 10%; }
	.woocommerce ul.products li.bt--lon::after { width: 180px; height: 180px; }
}
@media (prefers-reduced-motion: reduce) { .woocommerce ul.products li.bt--lon .bt__nhan i { animation: none; } }
.bt:not(.bt--dai) { cursor: pointer; }

/* --- ô lớn + ô ngang chia hai cột cố định: chữ trái, hộp phải (không bao giờ đè chữ) --- */
.woocommerce ul.products li.bt--lon, .woocommerce ul.products li.bt--ngang { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .78fr); align-items: center; column-gap: 18px; }
.woocommerce ul.products li.bt--ngang { grid-template-columns: minmax(0, 1fr) minmax(0, .5fr); }
.woocommerce ul.products li.bt--lon .bt__chu, .woocommerce ul.products li.bt--ngang .bt__chu { max-width: none; align-self: stretch; justify-content: center; }
.woocommerce ul.products li.bt--lon .bt__anh, .woocommerce ul.products li.bt--ngang .bt__anh { position: relative; right: auto; bottom: auto; width: 100%; height: auto; max-height: 92%; object-fit: contain; justify-self: center; }
.woocommerce ul.products li.bt--lon .bt__anh { width: 92%; }
.woocommerce ul.products li.bt--lon .bt__mua { margin-top: 22px; }
@media (max-width: 767px) {
	.woocommerce ul.products li.bt--lon { grid-template-columns: minmax(0, 1fr) minmax(0, .62fr); column-gap: 10px; min-height: 0; }
	.woocommerce ul.products li.bt--ngang { grid-template-columns: minmax(0, 1fr) minmax(0, .5fr); }
	.woocommerce ul.products li.bt--lon .bt__anh, .woocommerce ul.products li.bt--ngang .bt__anh { height: auto; right: auto; bottom: auto; width: 100%; }
	.woocommerce ul.products li.bt--lon h2 { font-size: 26px !important; }
}
.bt.bt--dai { margin-top: 16px !important; }

/* ---------- trang một sản phẩm: bố cục C "gọn kiểu sàn TMĐT" (03/11/2026) ---------- */
.mayai-sp--san { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr) !important; gap: clamp(22px, 3.5vw, 44px) !important; align-items: start !important; }
.mayai-sp--san .mayai-sp__trai { background: #fff; border: 1px solid var(--vien); border-radius: 14px; padding: 12px; display: block; position: sticky; top: 96px; }
.mayai-sp--san .mayai-sp__phai { display: block; }
.mayai-sp--san .mayai-sp__nhan { margin: 0 0 10px; }
.mayai-sp--san .mayai-sp__nhan li { font-size: 12px; padding: 4px 10px; }
.woocommerce div.product.mayai-sp .mayai-sp--san .product_title { font-size: clamp(28px, 3vw, 38px); margin: 0 0 8px; }
.mayai-sp--san .mayai-sp__meta { margin: 0 0 14px; }
.mayai-sp__dai-gia { background: #FBF1DE; border-radius: 12px; padding: 14px 18px; margin-bottom: 14px; }
.mayai-sp--san .mayai-sp__gia, .mayai-sp--san .mayai-sp__gia .price { font-size: 32px; font-weight: 700; color: #9A610B; line-height: 1.15; }
.mayai-sp--san .mayai-sp__gia .mayai-ky { font-size: 15px; font-weight: 500; color: var(--chu); }
.mayai-sp--san .mayai-sp__gia .mayai-vat { display: inline; margin-left: 8px; font-size: 13px; font-weight: 500; color: var(--nhat); }
.mayai-sp--san .mayai-sp__mo { background: none; padding: 0; margin: 0 0 14px; font-size: 15px; }
.mayai-sp__dong, .woocommerce div.product.mayai-sp .mayai-sp--san form.cart .variations tr { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px; align-items: center; margin: 0; }
.mayai-sp__dong { row-gap: 12px; padding: 12px 0; border-top: 1px solid var(--vien); border-bottom: 1px solid var(--vien); margin-bottom: 14px; font-size: 14.5px; }
.mayai-sp__dong dt { color: var(--nhat); font-weight: 500; }
.mayai-sp__dong dd { margin: 0; color: var(--chu); }
.mayai-sp__dong a { color: #9A610B; }
.woocommerce div.product.mayai-sp .mayai-sp--san form.cart .variations th { padding: 0; font-weight: 500; color: var(--nhat); font-size: 14.5px; }
.woocommerce div.product.mayai-sp .mayai-sp--san form.cart .variations { margin: 0 0 6px; width: 100%; }
.mayai-sp--san .mayai-chip { display: flex; flex-wrap: wrap; gap: 8px; }
.mayai-sp--san .mayai-chip button { padding: 8px 14px; border-radius: 8px; min-width: 120px; }
.mayai-sp--san .mayai-chip button b { font-size: 14px; }
.mayai-sp--san .mayai-chip button small { font-size: 12px; }
.woocommerce div.product.mayai-sp .mayai-sp--san .woocommerce-variation-description { margin: 8px 0 0 106px; padding: 0; background: none; border: 0; font-size: 13.5px; color: var(--nhat); }
.woocommerce div.product.mayai-sp .mayai-sp--san .woocommerce-variation-add-to-cart, .woocommerce div.product.mayai-sp .mayai-sp--san form.cart:not(.variations_form) { max-width: 460px; margin-top: 16px; }
.mayai-sp--san .mayai-sp__xh { margin-top: 16px; }
@media (max-width: 860px) {
	.mayai-sp--san { grid-template-columns: minmax(0, 1fr) !important; }
	.mayai-sp--san .mayai-sp__trai { position: relative; top: 0; }
}
@media (max-width: 767px) {
	.mayai-sp__dong, .woocommerce div.product.mayai-sp .mayai-sp--san form.cart .variations tr { grid-template-columns: 70px minmax(0, 1fr); }
	.woocommerce div.product.mayai-sp .mayai-sp--san .woocommerce-variation-description { margin-left: 0; }
	.mayai-sp--san .mayai-sp__gia, .mayai-sp--san .mayai-sp__gia .price { font-size: 26px; }
	.mayai-sp--san .mayai-chip button { min-width: 0; flex: 1 1 calc(50% - 8px); }
	.woocommerce div.product.mayai-sp .mayai-sp--san form.cart .variations tr { grid-template-columns: minmax(0, 1fr); gap: 8px; }
	.woocommerce div.product.mayai-sp .mayai-sp--san form.cart .variations, .woocommerce div.product.mayai-sp .mayai-sp--san form.cart .variations td { width: 100%; min-width: 0; }
}

.mayai-loc .vong span svg { width: 30px; }

/* giỏ trống: gợi ý sản phẩm (02/11/2026) */
.mayai-gio-trong { margin: 18px 0 8px; }
.mayai-gio-trong__tieu { font-weight: 600; margin: 0 0 12px; }
.mayai-gio-trong__ds { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mayai-gio-trong__the { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; align-items: center; padding: 12px 14px; border: 1px solid #E6E2DC; border-radius: 10px; background: #fff; color: #211F1C; text-decoration: none; transition: border-color .15s; }
.mayai-gio-trong__the:hover { border-color: #E49B27; }
.mayai-gio-trong__the img { width: 76px; height: auto; display: block; }
.mayai-gio-trong__the b { display: block; font-size: 17px; line-height: 1.25; }
.mayai-gio-trong__the em { display: block; font-style: normal; color: #9A610B; font-weight: 600; margin-top: 4px; }
.mayai-gio-trong__the small { display: block; margin-top: 6px; font-size: 13px; font-weight: 600; }
.mayai-gio-trong__phu { margin: 14px 0 0; font-size: 14px; color: #6B6660; }
.mayai-gio-trong__phu a { text-decoration: underline; }
@media (max-width: 600px) { .mayai-gio-trong__ds { grid-template-columns: minmax(0, 1fr); } }

/* 02/11/2026: dịch vụ làm thay (Thiết kế website, Zalo Mini App) — báo giá theo việc, nút Zalo / gọi thay giỏ */
.mayai-sp--san .mayai-sp__gia--bao { font-size: 26px; color: var(--den); }
.mayai-sp__gia--bao small { display: block; margin-top: 4px; font-size: 13.5px; font-weight: 500; color: var(--chu); }
.mayai-sp__tu-van { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mayai-sp__tu-van a { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 50px; border-radius: 8px; font-weight: 600; font-size: 16px; text-decoration: none; }
.mayai-sp__tu-van .mayai-mua-ngay { color: #fff; }
.mayai-sp__goi { background: #fff; color: var(--den); box-shadow: inset 0 0 0 1.5px var(--den); }
.mayai-sp__goi:hover { background: #FBF1DE; }
@media (max-width: 480px) { .mayai-sp__tu-van { grid-template-columns: 1fr; } }

/* ---------- 02/11/2026: trang cửa hàng — thẻ dọc 9:16 giống trang chủ (thay lưới bento) — cua-hang.php mayai_bai_dang() ----------
   Kiểu thẻ .msp nằm ở mayai-moi.css; ở đây chỉ: lưới 4/3/2 cột, gỡ kiểu mặc định li.product của Woo, nền tối cho thẻ livestream,
   ô ký hiệu cho công cụ miễn phí, nút Lưu, và bản gọn cho điện thoại 2 cột. */
.woocommerce ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; grid-auto-rows: auto !important; grid-auto-flow: row; gap: 20px; }
.woocommerce ul.products li.product.msp { min-width: 0; width: auto !important; margin: 0 !important; float: none !important; padding: 0 !important; list-style: none;
	border: 0; border-radius: 22px; background: #fff; display: flex; flex-direction: column; aspect-ratio: 9 / 16; }
.woocommerce ul.products li.product.msp[hidden] { display: none !important; }
.msp--toi .msp-nen { background: radial-gradient(60% 55% at 50% 58%, rgba(228,155,39,.35) 0%, rgba(228,155,39,0) 72%), linear-gradient(180deg, #2C2925 0%, #211F1C 100%); }
.msp--toi .msp-chim { opacity: .22; }
.msp--toi .msp-nhan::before { background: #C0392B; }
.msp h2 { margin: 0 !important; padding: 0 !important; font-family: var(--tieu-de) !important; font-weight: 600; font-size: clamp(17px, 1.6vw, 20px) !important; line-height: 1.15; letter-spacing: -.025em !important; }
.msp h2 a { color: #211F1C; text-decoration: none; }
.msp h2 a::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: 22px; }
.msp-ky { position: absolute; left: 50%; bottom: 22%; transform: translateX(-50%); width: 84px; height: 84px; border-radius: 24px; display: grid; place-items: center;
	background: #211F1C; color: #E49B27; font-family: var(--tieu-de); font-size: 40px; font-weight: 700; box-shadow: 0 16px 28px rgba(33,31,28,.25); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.msp:hover .msp-ky { transform: translateX(-50%) translateY(-6px) rotate(-4deg); }
.msp-luu { position: absolute; z-index: 3; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center;
	background: rgba(255,255,255,.86); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #211F1C; font-size: 17px; line-height: 1; box-shadow: 0 4px 12px rgba(33,31,28,.12); }
.msp-luu.on { color: #C0392B; }
@media (max-width: 960px) { .woocommerce ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (max-width: 767px) {
	.woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px; }
	.woocommerce ul.products li.product.msp, .woocommerce ul.products .msp h2 a::after { border-radius: 16px; }
	.woocommerce ul.products .msp-san, .woocommerce ul.products .msp-nen { border-radius: 16px 16px 0 0; }
	.woocommerce ul.products .msp-nhan { left: 8px; top: 8px; padding: 4px 8px; font-size: 9.5px; letter-spacing: .04em; }
	.woocommerce ul.products .msp-luu { top: 6px; right: 6px; width: 28px; height: 28px; font-size: 14px; }
	.woocommerce ul.products .msp-san img { bottom: -10px; height: calc(100% - 30px); }
	.woocommerce ul.products .msp-ky { width: 60px; height: 60px; border-radius: 18px; font-size: 28px; }
	.woocommerce ul.products .msp-chu { padding: 18px 11px 11px; }
	.woocommerce ul.products .msp h2 { font-size: 15px !important; }
	.woocommerce ul.products .msp-mo { display: none; }
	.woocommerce ul.products .msp-gia b { font-size: 14px; }
	.woocommerce ul.products .msp-gia em { font-size: 10.5px; }
	.woocommerce ul.products .msp-mui { width: 32px; height: 32px; font-size: 14px; }
}

/* 02/11/2026: "Có thể bạn cũng cần" trên trang sản phẩm — thẻ 9:16 có ảnh giống cửa hàng (san-pham.php mayai_san_pham_khac),
   một hàng vuốt ngang, thẻ rộng 220px; ẩn mô tả cho gọn. */
.mayai-khac__luoi.msp-hang { list-style: none; margin: 0; padding: 6px 2px 20px; display: grid; grid-template-columns: none; grid-auto-flow: column;
	grid-auto-columns: 220px; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.msp-hang .msp { scroll-snap-align: start; margin: 0; list-style: none; }
.msp-hang .msp-mo { display: none; }
.msp-hang .msp h2 { font-size: 17px !important; }
@media (max-width: 767px) { .mayai-khac__luoi.msp-hang { grid-auto-columns: min(60vw, 220px); gap: 12px; } }
