/* =====================================================================
   NOMA MOBILE — Header + menu dùng chung (LUÔN nạp trên mobile, mọi trang).
   Mục tiêu: 1 menu thống nhất. Trên trang KHÔNG phải NOMA (home/giỏ/checkout…)
   chèn thanh .noma-m.noma-m-bar (promo + header + drawer), ẩn header WoodMart.
   ===================================================================== */
.noma-m{ --noma-blue:#1A1A1C; --accent-blue:#2563EB;
  --ink:#1C1C1E; --g900:#1A1A1C; --g700:#44444A; --g500:#8A8A92;
  --g200:#E8E8EC; --g100:#F4F4F7; --g50:#FAFAFC; --white:#FFFFFF;
  --sans:"Noto Sans",system-ui,sans-serif; --mono:"Noto Sans",system-ui,sans-serif;
  --r-sm:4px; --r-md:8px; --r-lg:12px; --r-full:9999px;
  font-family:'Noto Sans',system-ui,-apple-system,sans-serif; -webkit-tap-highlight-color:transparent; }
.noma-m .promo{ background:#111114; color:#fff; text-align:center; font-size:12.5px; font-weight:600; letter-spacing:.01em; padding:9px 16px; }
/* Promo bar — băng chữ CHẠY NGANG 1 dòng (marquee, dùng chung mobile + desktop; nạp mọi trang) */
.promo-mq{ display:block; width:100%; overflow:hidden; white-space:nowrap; }
.promo-mq-track{ display:inline-flex; align-items:center; white-space:nowrap; will-change:transform; animation:noma-promo-scroll 30s linear infinite; }
.promo-mq:hover .promo-mq-track{ animation-play-state:paused; }
.promo-mq-inner{ display:inline-flex; align-items:center; flex:0 0 auto; }
.promo-mq .promo-seg{ padding:0 8px; }
.promo-mq .promo-seg b{ font-weight:800; }
.promo-mq .promo-dot{ opacity:.55; padding:0 2px; }
.promo-mq.is-static .promo-mq-inner .promo-dot:last-child{ display:none; } /* bỏ dấu • thừa cuối khi đứng yên */
@keyframes noma-promo-scroll{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }
@media (prefers-reduced-motion:reduce){ .promo-mq-track{ animation:none; } }
.noma-m .header{ position:sticky; top:0; z-index:50; background:#000; border-bottom:1px solid rgba(255,255,255,.08); }
.noma-m .header .row{ display:grid; grid-template-columns:1fr auto 1fr; align-items:center; padding:13px 16px; }
.noma-m .menu-btn{ justify-self:start; display:flex; align-items:center; gap:9px; background:none; border:none; color:#fff; cursor:pointer; padding:0; font-family:inherit; }
.noma-m .menu-btn svg{ width:21px; height:21px; display:block; }
.noma-m .menu-btn .mlabel{ font-size:11.5px; font-weight:600; letter-spacing:.18em; color:rgba(255,255,255,.9); }
.noma-m .header .logo{ justify-self:center; height:28px; width:auto; display:block; color:#fff; }
.noma-m .header .logo svg{ height:100%; width:auto; display:block; fill:currentColor; }
.noma-m .header .acts{ justify-self:end; display:flex; align-items:center; gap:16px; }
.noma-m .icon-btn{ background:none; border:none; color:#fff; display:flex; align-items:center; position:relative; cursor:pointer; padding:0; }
.noma-m .icon-btn svg{ width:23px; height:23px; }
.noma-m .badge-count{ position:absolute; top:-6px; right:-7px; background:#1C6EF2; color:#fff; font-size:10px; font-weight:700; min-width:16px; height:16px; border-radius:var(--r-full); display:flex; align-items:center; justify-content:center; padding:0 4px; font-family:var(--mono); }
/* Chống icon giỏ phình to (xung đột WoodMart/WooCommerce) — ép cỡ SVG nút thêm-giỏ ở mọi nơi */
.noma-m a.add_to_cart_button svg,
.noma-m button[name="add-to-cart"] svg,
.noma-m .buy svg,
.noma-m .buybar a svg,
.noma-m .buybar-add svg,
.noma-m .buybar-cart svg,
.noma-m .btn-primary svg{ width:18px !important; height:18px !important; flex:0 0 auto; }

/* Mũi tên carousel (Trải nghiệm/Trang chủ): dùng KÝ TỰ chevron ‹ › (glyph văn bản)
   → không phụ thuộc SVG/border nên WoodMart/Elementor không thể đè ẩn/làm lệch. */
.noma-m .navs button,
.noma-m .hnavs button,
.noma-m .expbtn{ color:#1C1C1E !important; font-size:0 !important; line-height:0 !important; }
.noma-m .navs button > svg,
.noma-m .hnavs button > svg,
.noma-m .expbtn > svg{ display:none !important; }
.noma-m .navs button::before,
.noma-m .hnavs button::before,
.noma-m .expbtn::before{ display:inline-block !important; color:#1C1C1E !important;
  font-family:Arial,Helvetica,system-ui,sans-serif !important; font-size:22px !important; font-weight:700 !important;
  line-height:1 !important; -webkit-text-fill-color:#1C1C1E !important; }
.noma-m .navs button[data-dir="1"]::before,
.noma-m .hnavs button[data-dir="1"]::before,
.noma-m .expbtn[data-dir="1"]::before{ content:"\203A" !important; }   /* › */
.noma-m .navs button[data-dir="-1"]::before,
.noma-m .hnavs button[data-dir="-1"]::before,
.noma-m .expbtn[data-dir="-1"]::before{ content:"\2039" !important; }  /* ‹ */

/* ===== Fix trang WooCommerce (giỏ hàng, thanh toán) trên mobile — chặn tràn phải ===== */
@media (max-width:767px){
  body.noma-menubar{ overflow-x:hidden !important; }
  body.noma-menubar .wd-page-wrapper,
  body.noma-menubar .site-content,
  body.noma-menubar .container,
  body.noma-menubar .main-page-wrapper,
  body.noma-menubar .content-area{ max-width:100vw !important; overflow-x:hidden !important; box-sizing:border-box !important; }
  /* Giỏ hàng: chặn bảng/sản phẩm tràn — dùng overflow-x (không overflow) để giữ sticky */
  body.noma-menubar .woocommerce-cart-form,
  body.noma-menubar .woocommerce table.shop_table,
  body.noma-menubar .woocommerce-cart-form__contents{ width:100% !important; max-width:100% !important; table-layout:fixed !important; overflow-x:hidden; }
  body.noma-menubar .woocommerce td,
  body.noma-menubar .woocommerce th{ word-break:break-word !important; overflow-wrap:break-word !important; }
  /* Giá + tiết kiệm: chặn tràn — CHỈ target class cụ thể của WoodMart */
  body.noma-menubar .cart_item .product-price,
  body.noma-menubar .cart_item .product-subtotal,
  body.noma-menubar .amount,
  body.noma-menubar .wd-product-price{ max-width:100% !important; overflow-wrap:break-word !important; word-break:break-word !important; }
  body.noma-menubar .wd-saved-info,
  body.noma-menubar .wd-saved-wrap,
  body.noma-menubar .woodmart-saved-wrap{ max-width:100% !important; white-space:normal !important; word-break:break-word !important; overflow:hidden !important; text-overflow:ellipsis !important; }
  /* Product name trong giỏ: chặn tràn */
  body.noma-menubar .cart_item .product-name,
  body.noma-menubar .cart_item .product-name a{ max-width:100% !important; word-break:break-word !important; overflow-wrap:break-word !important; }
  /* Checkout & các trang WooCommerce khác */
  body.noma-menubar .woocommerce-checkout,
  body.noma-menubar .woocommerce-form-coupon-toggle,
  body.noma-menubar .woocommerce-form-login-toggle{ max-width:100% !important; }
  /* WooCommerce Blocks cart: giữ nguyên layout nút checkout */
  body.noma-menubar .wp-block-woocommerce-proceed-to-checkout-block{ width:100% !important; }
  body.noma-menubar .wp-block-woocommerce-proceed-to-checkout-block .wc-block-cart__submit-button{ width:100% !important; }
  /* Zalo/chat button: không tràn */
  body.noma-menubar .zalo-chat-widget,
  body.noma-menubar [id*="zalo"]{ right:8px !important; max-width:50px !important; }
  /* Ẩn footer WoodMart trên mobile, dùng footer NOMA thay thế */
  body.noma-menubar .website-wrapper > footer,
  body.noma-menubar .website-wrapper .woodmart-footer,
  body.noma-menubar .website-wrapper .footer-container,
  body.noma-menubar .website-wrapper .copyrights-wrapper,
  body.noma-menubar .wd-prefooter,
  body.noma-menubar footer.elementor-location-footer{ display:none !important; }
}
/* Ẩn footer NOMA trên desktop (chỉ hiện trên mobile <=767px) */
@media (min-width:768px){
  .noma-m-footer{ display:none !important; }
}

/* ===== Footer NOMA styles (dùng chung trên mọi trang mobile, kể cả menubar) ===== */
.noma-m-footer .footer{ background:#1A1A1C; color:#fff; padding:30px 20px 0;
  font-family:'Noto Sans',system-ui,-apple-system,sans-serif; -webkit-tap-highlight-color:transparent; }
.noma-m-footer .footer *{ margin:0;padding:0;box-sizing:border-box; }
.noma-m-footer .acc{ border-bottom:1px solid #2c2c30; }
.noma-m-footer .acc summary{ list-style:none; cursor:pointer; display:flex; align-items:center; justify-content:space-between;
  padding:16px 2px; font-size:13px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:#fff; }
.noma-m-footer .acc summary::-webkit-details-marker{ display:none; }
.noma-m-footer .acc summary .plus{ width:18px; height:18px; position:relative; flex:0 0 auto; transition:transform .2s ease; }
.noma-m-footer .acc summary .plus::before, .noma-m-footer .acc summary .plus::after{ content:""; position:absolute; background:#8a8a92; }
.noma-m-footer .acc summary .plus::before{ top:8px; left:1px; right:1px; height:1.5px; }
.noma-m-footer .acc summary .plus::after{ left:8px; top:1px; bottom:1px; width:1.5px; transition:opacity .2s ease; }
.noma-m-footer .acc[open] summary .plus::after{ opacity:0; }
.noma-m-footer .acc ul{ list-style:none; padding:0 2px 16px; display:flex; flex-direction:column; gap:12px; }
.noma-m-footer .acc ul a{ color:#bdbdc4; font-size:14.5px; text-decoration:none; }
.noma-m-footer .fcontact{ padding:22px 2px 4px; display:flex; flex-direction:column; gap:14px; }
.noma-m-footer .fcontact .blk h4{ font-size:11px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:#8a8a92; margin-bottom:7px; }
.noma-m-footer .fcontact .blk p{ font-size:14.5px; color:#e5e5ea; line-height:1.5; }
.noma-m-footer .fcontact .blk a{ color:#fff; font-weight:600; text-decoration:none; }
.noma-m-footer .fmaps h4{ font-size:11px; font-weight:700; letter-spacing:.07em; text-transform:uppercase; color:#8a8a92; margin-bottom:10px; }
.noma-m-footer .legal{ border-top:1px solid #2c2c30; padding:20px 2px 26px; }
.noma-m-footer .legal .co{ font-size:13.5px; font-weight:700; color:#fff; }
.noma-m-footer .legal p{ font-size:12.5px; color:#8a8a92; line-height:1.6; margin-top:8px; }
.noma-m-footer .legal .copy{ margin-top:16px; font-size:12px; color:#6e6e76; }

/* ===== Toast notification (thêm giỏ hàng) ===== */
.noma-toast{
  position:fixed; bottom:80px; left:50%; transform:translateX(-50%) translateY(20px);
  background:#1A1A1C; color:#fff; padding:12px 18px; border-radius:12px;
  display:flex; align-items:center; gap:10px; z-index:9999;
  font-family:'Noto Sans',system-ui,sans-serif; font-size:13.5px; font-weight:500;
  box-shadow:0 8px 30px rgba(0,0,0,.25); opacity:0;
  transition:opacity .3s ease, transform .3s ease;
  max-width:calc(100vw - 40px); white-space:nowrap;
}
.noma-toast--show{ opacity:1; transform:translateX(-50%) translateY(0); }
.noma-toast--success svg{ color:#34C759; flex-shrink:0; }
.noma-toast--error svg{ color:#FF3B30; flex-shrink:0; }
.noma-toast b{ font-weight:700; }
@keyframes nomaBadgeBounce{
  0%{ transform:scale(1); }
  30%{ transform:scale(1.4); }
  60%{ transform:scale(.9); }
  100%{ transform:scale(1); }
}
.noma-badge-bounce{ animation:nomaBadgeBounce .4s ease; }
.noma-adding{ opacity:.6; pointer-events:none; }

/* =====================================================================
   FOOTER NOMA (dùng chung mọi trang) — port thiết kế. Scope .noma-m.
   ===================================================================== */
.noma-m .nf{ background:#000; margin-top:28px; padding:14px 20px 0; }
.noma-m .nf .nf-acc{ border-bottom:1px solid #2C2C30; }
.noma-m .nf .nf-acc summary{ list-style:none; cursor:pointer; display:flex; align-items:center; justify-content:space-between; padding:16px 2px; font-size:15px; font-weight:700; color:#fff; }
.noma-m .nf .nf-acc summary::-webkit-details-marker{ display:none; }
.noma-m .nf .nf-pl{ position:relative; width:14px; height:14px; flex:0 0 14px; }
.noma-m .nf .nf-pl::before,
.noma-m .nf .nf-pl::after{ content:""; position:absolute; background:#8A8A92; border-radius:2px; transition:transform .2s, opacity .2s; }
.noma-m .nf .nf-pl::before{ top:6px; left:0; width:14px; height:2px; }
.noma-m .nf .nf-pl::after{ top:0; left:6px; width:2px; height:14px; }
.noma-m .nf .nf-acc[open] .nf-pl::after{ transform:scaleY(0); opacity:0; }
.noma-m .nf .nf-acc ul{ list-style:none; padding:0 2px 16px; margin:0; display:flex; flex-direction:column; gap:12px; }
.noma-m .nf .nf-acc ul a{ color:#BDBDC4; font-size:14px; text-decoration:none; }
.noma-m .nf .nf-block{ padding:22px 2px 4px; display:flex; flex-direction:column; gap:16px; }
.noma-m .nf .nf-block h4,
.noma-m .nf .nf-branch h4{ font-size:11px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:#8A8A92; margin:0 0 7px; }
.noma-m .nf .nf-block p{ font-size:14px; color:#E5E5EA; line-height:1.6; margin:0; }
.noma-m .nf .nf-mono{ color:#fff; font-weight:600; text-decoration:none; font-family:ui-monospace,monospace; }
.noma-m .nf .nf-branches{ display:flex; flex-direction:column; gap:18px; padding:22px 2px 8px; }
.noma-m .nf .nf-branch h4{ margin-bottom:10px; letter-spacing:.07em; }
.noma-m .nf .nf-map{ width:100%; aspect-ratio:16/9; border-radius:12px; overflow:hidden; background:#1C1C20; }
.noma-m .nf .nf-map iframe{ width:100%; height:100%; border:0; display:block; }
/* Facade bản đồ — chỉ tải Google Maps khi BẤM (tối ưu tốc độ; tránh nhúng iframe nặng mọi trang) */
.noma-mapfacade{ position:relative; cursor:pointer; overflow:hidden; background:linear-gradient(135deg,#2b2f37 0%,#1b1e24 100%); }
.noma-mapfacade .noma-mapfacade-in{ position:absolute; inset:0; display:flex; align-items:center; justify-content:center; }
.noma-mapfacade .noma-mapfacade-btn{ display:inline-flex; align-items:center; gap:8px; background:#fff; color:#111114; font-weight:700; font-size:13px; padding:9px 16px; border-radius:9999px; box-shadow:0 4px 14px rgba(0,0,0,.25); }
.noma-mapfacade iframe{ width:100%; height:100%; border:0; display:block; }
.noma-m .nf .nf-addr{ font-size:13px; color:#CFCFD6; line-height:1.55; margin-top:11px; }
.noma-m .nf .nf-addr b{ display:block; color:#fff; font-weight:700; font-size:14px; margin-bottom:3px; }
.noma-m .nf .nf-dir{ display:inline-flex; align-items:center; gap:5px; color:#4D92FF; font-size:12.5px; font-weight:700; text-decoration:none; margin-top:9px; }
.noma-m .nf .nf-dir svg{ width:14px; height:14px; }
.noma-m .nf .nf-social{ display:flex; gap:12px; padding:20px 2px; }
.noma-m .nf .nf-social a{ width:42px; height:42px; border-radius:12px; background:#1C6EF2; display:flex; align-items:center; justify-content:center; color:#fff; }
.noma-m .nf .nf-social a svg{ width:18px; height:18px; }
.noma-m .nf .nf-news{ padding:6px 2px 22px; }
.noma-m .nf .nf-news label{ font-size:13px; color:#BDBDC4; display:block; margin-bottom:10px; }
.noma-m .nf .nf-newsrow{ display:flex; gap:8px; }
.noma-m .nf .nf-news input[type=email]{ flex:1; min-width:0; background:#26262A; border:1px solid #34343A; border-radius:12px; padding:13px 14px; color:#fff; font-family:inherit; font-size:14px; }
.noma-m .nf .nf-news input[type=email]::placeholder{ color:#8A8A92; }
.noma-m .nf .nf-news button{ background:#1C6EF2; color:#fff; border:none; border-radius:12px; padding:0 18px; font-family:inherit; font-weight:700; font-size:14px; cursor:pointer; white-space:nowrap; }
.noma-m .nf .nf-copy{ border-top:1px solid #2C2C30; padding:20px 2px 26px; }
.noma-m .nf .nf-rights{ margin-bottom:16px; font-size:12px; color:#6E6E76; }
.noma-m .nf .nf-company{ font-size:13.5px; font-weight:700; color:#fff; }
.noma-m .nf .nf-copy p{ font-size:12.5px; color:#8A8A92; line-height:1.6; margin:8px 0 0; }

/* Nút header/menu KHÔNG giữ khung focus sáng sau khi chạm (xung đột focus-ring WoodMart/Elementor) */
.noma-m .menu-btn:focus, .noma-m .menu-btn:focus-visible, .noma-m .menu-btn:active,
.noma-m .icon-btn:focus, .noma-m .icon-btn:focus-visible,
.noma-m .noma-nav .nv-close:focus, .noma-m .noma-nav [data-close]:focus{
  outline:none !important; box-shadow:none !important; background-color:transparent !important; }

/* =====================================================================
   ẨN WISHLIST (yêu thích) — user không dùng. Ẩn icon ♡ ở header WoodMart,
   mục menu wishlist, và widget Elementor wishlist. Áp mọi trang, mọi breakpoint.
   (Header NOMA desktop đã bỏ icon ♡ trong markup.)
   ===================================================================== */
.wd-header-wishlist,
li.menu-item-wishlist,
.elementor-widget-wd_wishlist,
.wd-tools-element.wd-header-wishlist { display: none !important; }

/* =====================================================================
   THANH TOÁN MOBILE — skin form WooCommerce cho giống NOMA desktop.
   Chỉ ÁP GIAO DIỆN (field/nút/thẻ), KHÔNG đổi cấu trúc form → giữ nguyên
   luồng đặt hàng. Scope body.noma-checkout + ≤767px (desktop dùng .nd-checkout).
   ===================================================================== */
@media (max-width: 767px) {
  body.noma-checkout .website-wrapper #customer_details,
  body.noma-checkout .website-wrapper .col2-set { display: block; }
  body.noma-checkout .website-wrapper .col2-set .col-1,
  body.noma-checkout .website-wrapper .col2-set .col-2 { width: 100%; float: none; margin: 0 0 18px; }
  /* Tiêu đề section */
  body.noma-checkout .website-wrapper h3,
  body.noma-checkout .website-wrapper #order_review_heading { font-size: 19px !important; font-weight: 800 !important; letter-spacing: -.02em; color: #111114 !important; margin: 0 0 16px !important; text-transform: none !important; }
  /* Thẻ thông tin liên hệ */
  body.noma-checkout .website-wrapper #customer_details { background: #F7F8FA; border: 1px solid #ECECEF; border-radius: 18px; padding: 20px 18px; }
  /* Mỗi ô 1 dòng full-width (bỏ 2 cột 50%) */
  body.noma-checkout .website-wrapper .woocommerce-billing-fields__field-wrapper,
  body.noma-checkout .website-wrapper .woocommerce-shipping-fields__field-wrapper,
  body.noma-checkout .website-wrapper .woocommerce-additional-fields__field-wrapper { display: block !important; }
  body.noma-checkout .website-wrapper .form-row,
  body.noma-checkout .website-wrapper .form-row-first,
  body.noma-checkout .website-wrapper .form-row-last,
  body.noma-checkout .website-wrapper .form-row-wide { width: 100% !important; float: none !important; clear: both !important; margin: 0 0 14px !important; padding: 0 !important; }
  body.noma-checkout .website-wrapper label { font-size: 13px; font-weight: 700; color: #3A3A42; }
  /* Ô nhập — bắt mọi field trong form-row (bất kể class/type) + select2 */
  body.noma-checkout .website-wrapper .input-text,
  body.noma-checkout .website-wrapper input[type="text"],
  body.noma-checkout .website-wrapper input[type="tel"],
  body.noma-checkout .website-wrapper input[type="email"],
  body.noma-checkout .website-wrapper input[type="password"],
  body.noma-checkout .website-wrapper input[type="number"],
  body.noma-checkout .website-wrapper .form-row input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
  body.noma-checkout .website-wrapper .form-row textarea,
  body.noma-checkout .website-wrapper .form-row select,
  body.noma-checkout .website-wrapper textarea,
  body.noma-checkout .website-wrapper select,
  body.noma-checkout .website-wrapper .select2-selection { width: 100% !important; max-width: 100% !important; box-sizing: border-box !important; background: #fff !important; border: 1px solid #E0E1E6 !important; border-radius: 11px !important; padding: 13px 15px !important; font-family: inherit; font-size: 14.5px; color: #111114; height: auto !important; min-height: 0; line-height: 1.4; box-shadow: none !important; }
  /* Ép full khung: wrapper input + select2 container (select2 hay set width cố định qua JS) */
  body.noma-checkout .website-wrapper .woocommerce-input-wrapper { display: block !important; width: 100% !important; }
  body.noma-checkout .website-wrapper .select2-container,
  body.noma-checkout .website-wrapper .select2 { width: 100% !important; max-width: 100% !important; display: block !important; }
  body.noma-checkout .website-wrapper .input-text:focus,
  body.noma-checkout .website-wrapper textarea:focus,
  body.noma-checkout .website-wrapper select:focus { outline: none; border-color: #1C6EF2; box-shadow: 0 0 0 3px rgba(28,110,242,.12); }
  /* Thẻ tóm tắt đơn */
  body.noma-checkout .website-wrapper #order_review { background: #fff; border: 1px solid #ECECEF; border-radius: 18px; padding: 18px; margin-top: 18px; }
  body.noma-checkout .website-wrapper #order_review .shop_table thead,
  body.noma-checkout .website-wrapper .woocommerce-checkout-review-order-table thead { display: none; }
  body.noma-checkout .website-wrapper .shop_table th,
  body.noma-checkout .website-wrapper .shop_table td { padding: 10px 0; border-bottom: 1px solid #F1F1F4; }
  body.noma-checkout .website-wrapper .order-total .amount { color: #1C6EF2; font-size: 19px; }
  /* Cổng thanh toán */
  body.noma-checkout .website-wrapper #payment { background: #fff; border: 1px solid #ECECEF; border-radius: 18px; padding: 18px; margin-top: 14px; }
  body.noma-checkout .website-wrapper ul.payment_methods { list-style: none !important; margin: 0 0 12px !important; padding: 0 !important; border: none !important; }
  body.noma-checkout .website-wrapper ul.payment_methods > li { list-style: none; border: 1px solid #E6E7EB; border-radius: 12px; padding: 13px 15px; margin: 0 0 10px; }
  body.noma-checkout .website-wrapper ul.payment_methods > li::before { display: none !important; }
  body.noma-checkout .website-wrapper ul.payment_methods input[type="radio"] { -webkit-appearance: radio !important; appearance: auto !important; opacity: 1 !important; position: static !important; width: 18px !important; height: 18px !important; margin: 0 8px 0 0 !important; accent-color: #1C6EF2; }
  body.noma-checkout .website-wrapper ul.payment_methods label { font-size: 14px !important; font-weight: 700 !important; color: #111114 !important; }
  body.noma-checkout .website-wrapper ul.payment_methods label img { display: none; }
  /* Nút đặt hàng đen (pill) */
  body.noma-checkout .website-wrapper #place_order,
  body.noma-checkout .website-wrapper #payment .button { width: 100%; background: #111114 !important; color: #fff !important; border: none !important; border-radius: 9999px !important; padding: 16px 24px !important; font-family: inherit; font-weight: 800; font-size: 15px; letter-spacing: .02em; cursor: pointer; }
  /* BẢO HIỂM — scope thẳng Elementor checkout widget (đè width:48% của Elementor, khớp chắc) */
  .elementor-widget-woocommerce-checkout-page .woocommerce-checkout .form-row,
  .elementor-widget-woocommerce-checkout-page .woocommerce-checkout .form-row-first,
  .elementor-widget-woocommerce-checkout-page .woocommerce-checkout .form-row-last,
  .elementor-widget-woocommerce-checkout-page .woocommerce-checkout .form-row-wide { width: 100% !important; max-width: 100% !important; float: none !important; flex: 0 0 100% !important; }
  .elementor-widget-woocommerce-checkout-page .woocommerce-checkout .input-text,
  .elementor-widget-woocommerce-checkout-page .woocommerce-checkout .woocommerce-input-wrapper,
  .elementor-widget-woocommerce-checkout-page .woocommerce-checkout .select2-container,
  .elementor-widget-woocommerce-checkout-page .woocommerce-checkout .select2 { width: 100% !important; max-width: 100% !important; display: block !important; box-sizing: border-box !important; }
  .elementor-widget-woocommerce-checkout-page .woocommerce-checkout .woocommerce-billing-fields__field-wrapper { display: block !important; }
}

/* =====================================================================
   THANH TOÁN MOBILE — ÉP FULL-WIDTH CẤP ID (dứt điểm).
   Selector cấp #customer_details/#order_review có specificity cao hơn mọi
   rule class → thắng chắc rule width:48% (Elementor/WooCommerce). ≤767px.
   ===================================================================== */
@media (max-width: 767px) {
  body.noma-checkout #customer_details .form-row,
  body.noma-checkout #customer_details p.form-row,
  body.noma-checkout #customer_details .form-row-first,
  body.noma-checkout #customer_details .form-row-last,
  body.noma-checkout #customer_details .form-row-wide,
  body.noma-checkout #order_review .form-row {
    width: 100% !important; max-width: 100% !important; min-width: 0 !important;
    flex: 0 0 100% !important; float: none !important; display: block !important; clear: both !important;
  }
  body.noma-checkout #customer_details .woocommerce-billing-fields__field-wrapper,
  body.noma-checkout #customer_details .woocommerce-shipping-fields__field-wrapper,
  body.noma-checkout #customer_details .woocommerce-additional-fields__field-wrapper {
    display: block !important; grid-template-columns: none !important;
  }
  body.noma-checkout #customer_details .input-text,
  body.noma-checkout #customer_details .woocommerce-input-wrapper,
  body.noma-checkout #customer_details .select2-container,
  body.noma-checkout #customer_details select,
  body.noma-checkout #customer_details textarea { width: 100% !important; max-width: 100% !important; display: block !important; box-sizing: border-box !important; }
}

/* =====================================================================
   THANH TOÁN MOBILE — THÔNG TIN ĐƠN HÀNG: full-width + qty stepper giống desktop.
   (#order_review không dính layout Elementor field-wrapper nên CSS ăn bình thường;
    scope #order_review đè rule .input-text full-width chung để ô số không phình.) ≤767px.
   ===================================================================== */
@media (max-width: 767px) {
  body.noma-checkout .website-wrapper #order_review,
  body.noma-checkout .website-wrapper #order_review table,
  body.noma-checkout .website-wrapper .woocommerce-checkout-review-order-table,
  body.noma-checkout .website-wrapper #order_review .shop_table { width: 100% !important; max-width: 100% !important; }
  /* qty stepper: 1 cụm bo góc gọn - [n] + */
  body.noma-checkout .website-wrapper #order_review .quantity { display: inline-flex !important; align-items: center; border: 1.5px solid #E6E7EB; border-radius: 11px; overflow: hidden; width: auto !important; max-width: none !important; padding: 0 !important; }
  body.noma-checkout .website-wrapper #order_review .quantity > * { border: none !important; border-radius: 0 !important; margin: 0 !important; box-shadow: none !important; outline: none !important; }
  body.noma-checkout .website-wrapper #order_review .quantity .minus,
  body.noma-checkout .website-wrapper #order_review .quantity .plus,
  body.noma-checkout .website-wrapper #order_review .quantity input.minus,
  body.noma-checkout .website-wrapper #order_review .quantity input.plus,
  body.noma-checkout .website-wrapper #order_review .quantity button { width: 38px !important; height: 40px !important; min-width: 0 !important; background: #fff !important; color: #3A3A42 !important; font-size: 19px !important; line-height: 1 !important; padding: 0 !important; cursor: pointer; display: flex !important; align-items: center; justify-content: center; -webkit-appearance: none; appearance: none; }
  body.noma-checkout .website-wrapper #order_review .quantity input.qty,
  body.noma-checkout .website-wrapper #order_review .quantity input[type="number"] { width: 46px !important; max-width: 46px !important; min-width: 0 !important; height: 40px !important; text-align: center !important; border: none !important; background: transparent !important; font-weight: 800 !important; font-size: 15px !important; color: #111114 !important; padding: 0 !important; -moz-appearance: textfield; box-sizing: border-box !important; }
  body.noma-checkout .website-wrapper #order_review .quantity input[type="number"]::-webkit-outer-spin-button,
  body.noma-checkout .website-wrapper #order_review .quantity input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
}

/* --- BẢNG MARKDOWN trong bài viết mobile (fix từ the_content, xem noma_md_table_fix) --- */
.noma-m .nd-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 18px 0; }
.noma-m .nd-md-table { width: 100%; border-collapse: collapse; font-size: 13.5px; line-height: 1.5; min-width: 480px; background: #fff; }
.noma-m .nd-md-table th, .noma-m .nd-md-table td { border: 1px solid #E8E8EC; padding: 9px 11px; text-align: left; vertical-align: top; }
.noma-m .nd-md-table thead th { background: #F5F5F7; font-weight: 700; color: #1C1C1E; }
.noma-m .nd-md-table tbody td { color: #3A3A42; }
.noma-m .nd-md-table tbody tr:nth-child(even) { background: #FAFAFB; }
