/* Trang sản phẩm — chặng 6 (Thiết kế §4.4). Chỉ nạp ở trang sản phẩm. Dùng token của cxd.css. */

/* ── khung 2 cột: ẢNH · KHỐI MUA (dính) · NỘI DUNG DÀI ────────────────────── */
body.cxd .cxd-sp{padding-top:var(--s-4);padding-bottom:var(--s-8)}
body.cxd .cxd-sp__row{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);grid-template-areas:"gal buy" "more buy";column-gap:var(--s-12);row-gap:var(--s-8);align-items:start;margin:0 auto}
/* .row của Flatsome có lề âm ±15px (bù padding cột) → lưới rộng hơn khung header 30px; cột đã bỏ padding nên bỏ luôn lề âm */
body.cxd .cxd-sp__row,body.cxd .cxd-sp__rel{margin-left:auto;margin-right:auto;width:min(calc(100% - 30px),1250px);max-width:none}
body.cxd .cxd-sp__row>.col,body.cxd .cxd-sp__rel>.col{padding:0;max-width:none;flex:none}
body.cxd .cxd-sp__rel>.col{width:100%}
body.cxd .cxd-sp__gal{grid-area:gal}
body.cxd .cxd-sp__more{grid-area:more}
body.cxd .cxd-sp__buy{grid-area:buy;position:sticky;top:var(--cxd-stick-top,16px);align-self:start;max-height:calc(100vh - var(--cxd-stick-top,16px) - 16px);overflow-y:auto;scrollbar-width:thin;transition:top var(--t-base) var(--ease)} /* KHÔNG overscroll-behavior:contain: cột không có gì để cuộn mà vẫn nuốt bánh xe → con trỏ ở cột phải trang không cuộn, khách tưởng web lỗi (04/11/2026) */
body.cxd .cxd-sp__rel{margin-top:var(--s-12)}
/* cột mua dài hơn khung nhìn: "dính đáy" — cuộn theo trang tới khi lộ hết rồi dính mép dưới; không cuộn trong cột (class + biến do cxd-product.js đặt) */
body.cxd .cxd-sp__buy.is-dai{top:var(--cxd-stick-day,16px);max-height:none;overflow:visible;transition:none}
@media (max-width:849px){
  body.cxd .cxd-sp__row{grid-template-columns:minmax(0,1fr);grid-template-areas:"gal" "buy" "more";row-gap:var(--s-6)}
  body.cxd .cxd-sp__buy{position:static;max-height:none;overflow:visible}
}
@media (prefers-reduced-motion:reduce){body.cxd .cxd-sp__buy{transition:none}}

/* ── breadcrumb ──────────────────────────────────────────────────────────────── */
body.cxd .cxd-sp__gal .product-breadcrumb-container{margin:0 0 var(--s-4);padding:0}
body.cxd .cxd-sp__gal .woocommerce-breadcrumb{margin:0;font-size:var(--fs-14);color:var(--ink-3)}

/* ── thư viện ảnh ────────────────────────────────────────────────────────────── */
body.cxd .cxd-sp__gal .product-images{margin:0 0 var(--s-3);border:1px solid var(--line);border-radius:var(--r-lg);overflow:hidden;background:var(--surface)}
/* Khung ảnh 4:3 (ảnh xe là ảnh ngang ~3:2 — khung vuông thừa khoảng trắng trên dưới) và KHÔNG cao quá màn hình: cả ảnh chính
   lẫn dải ảnh nhỏ nằm gọn trong một màn hình máy tính (Tình yêu cầu 16/11/2026; trước: bộ ảnh cao 919px ở khổ 1440×900). */
body.cxd .cxd-sp__gal .woocommerce-product-gallery__image{aspect-ratio:4/3;max-height:max(300px,calc(100svh - 330px));background:var(--surface)}
body.cxd .cxd-sp__gal .woocommerce-product-gallery__image a{display:flex;align-items:center;justify-content:center;width:100%;height:100%}
body.cxd .cxd-sp__gal .woocommerce-product-gallery__image img{width:100%;height:100%;object-fit:contain}
/* lớp phóng to khi rê chuột (EasyZoom): Flatsome ép rộng 1000px — khung CAO cũng 1000px để ảnh giữ đúng tỉ lệ (contain như ảnh thường), không bị bó 1:1 làm mất độ phóng */
body.cxd .cxd-sp__gal .product-gallery-slider .slide .easyzoom-flyout img{height:1000px;max-height:none;object-fit:contain}
/* nút phóng to / xem video nằm gọn ở góc ảnh */
body.cxd .cxd-sp__gal .image-tools.bottom{left:var(--s-3);bottom:var(--s-3);display:flex;gap:var(--s-2);align-items:center}
body.cxd .cxd-sp__gal .image-tools .button{margin:0;min-width:44px;min-height:44px;background:rgba(255,255,255,.92);border:1px solid var(--line);color:var(--ink);box-shadow:var(--shadow-1)}
body.cxd .cxd-sp__gal .image-tools .button:hover{border-color:var(--ink);color:var(--ink)}
/* nút video: viên thuốc có chữ — ở thư viện ảnh, không chỉ một biểu tượng trơ trọi */
body.cxd .cxd-sp__gal .product-video-popup{width:auto;padding:0 var(--s-4);border-radius:var(--r-pill);gap:var(--s-2)}
body.cxd .cxd-sp__gal .product-video-popup::after{content:"Xem video";font:600 var(--fs-14)/1 var(--font-head);text-transform:none;letter-spacing:0}
/* ảnh nhỏ bên dưới */
body.cxd .cxd-sp__gal .product-thumbnails{margin:0}
body.cxd .cxd-sp__gal .product-thumbnails .col{width:19%;max-width:19%;flex-basis:19%;padding:0 var(--s-2) 0 0}   /* ~5,3 ô/hàng, lộ mẩu ô kế tiếp. CÙNG % ở mọi khổ: Flickity đặt vị trí ô theo % (percentPosition) — đổi % theo khổ thì đổi cỡ cửa sổ là các ô đè lên nhau (16/11/2026) */
body.single-product .cxd-sp__gal .product-thumbnails:not(:has(.col:nth-child(6))) .flickity-prev-next-button{display:none!important}   /* ≤ 5 ảnh: vừa một hàng, không cần mũi tên */
/* Mũi tên dải ảnh nhỏ: kiểu RIÊNG, nhỏ và nhẹ hơn mũi tên ảnh lớn (trước dùng chung nút tròn 44px → trùng, thô trên ô cao 82px) */
body.single-product .cxd-sp__gal .product-thumbnails .flickity-prev-next-button{width:32px!important;min-width:32px!important;height:32px!important;margin-top:-16px!important;background:rgba(255,255,255,.96);border:1px solid var(--line);box-shadow:0 1px 4px rgba(0,0,0,.12)}
body.single-product .cxd-sp__gal .product-thumbnails .flickity-prev-next-button .flickity-button-icon{width:14px!important;height:14px!important}
body.single-product .cxd-sp__gal .product-thumbnails .flickity-prev-next-button.previous{left:4px}
body.single-product .cxd-sp__gal .product-thumbnails .flickity-prev-next-button.next{right:12px}   /* ô cuối có lề phải 8px */
body.single-product .cxd-sp__gal .product-thumbnails .flickity-prev-next-button:disabled{display:none!important}   /* hết ảnh phía đó → ẩn, không để nút mờ */
body.cxd .cxd-sp__gal .product-thumbnails .col a{display:block;aspect-ratio:4/3;border:1px solid var(--line);border-radius:var(--r-md);overflow:hidden;background:var(--surface);transition:border-color var(--t-fast) var(--ease)}
body.cxd .cxd-sp__gal .product-thumbnails .col a img{width:100%;height:100%;object-fit:contain;opacity:1}
body.cxd .cxd-sp__gal .product-thumbnails .col.is-nav-selected a{border-color:var(--ink)}
body.cxd .cxd-sp__gal .product-thumbnails .col a:hover{border-color:var(--ink)}
body.cxd .cxd-sp__gal .badge-container{margin:var(--s-3) 0 0 var(--s-3)}
@media (max-width:849px){
  /* điện thoại: dải ảnh nhỏ vuốt được — bỏ 2 mũi tên (to 44px trên ô cao ~60px nên trông lệch, che ảnh) */
  body.single-product .cxd-sp__gal .product-thumbnails .flickity-prev-next-button{display:none!important}
}

/* ── cột mua ─────────────────────────────────────────────────────────────────── */
body.cxd .cxd-sp__buy .is-divider,body.cxd .cxd-sp__buy .next-prev-thumbs{display:none}
body.cxd .cxd-sp__hang{display:inline-flex;align-items:center;min-height:44px;font:600 var(--fs-14)/1 var(--font-head);color:var(--cyan-700);text-decoration:none;text-transform:none;letter-spacing:0}
body.cxd .cxd-sp__hang:hover{color:var(--ink);text-decoration:underline}
body.cxd .cxd-sp__buy .product-title{font:700 clamp(1.5rem,2.4vw,2rem)/1.25 var(--font-head);margin:0 0 var(--s-4);color:var(--ink);text-transform:none;letter-spacing:-.005em;text-wrap:wrap}
body.cxd .cxd-sp__buy .price-wrapper{margin:0 0 var(--s-4)}
body.cxd .cxd-sp__buy .price-wrapper .price,body.cxd .cxd-sp__buy .price-wrapper .price .amount{font:700 2rem/1.15 var(--font-head);color:var(--ink);font-variant-numeric:tabular-nums}
body.cxd .cxd-sp__buy .price-wrapper .price ins,body.cxd .cxd-sp__buy .price-wrapper .price ins .amount{color:var(--danger);text-decoration:none}
body.cxd .cxd-sp__buy .price-wrapper del,body.cxd .cxd-sp__buy .price-wrapper del .amount{font:500 var(--fs-16)/1.2 var(--font-body);color:var(--ink-3)}
body.cxd .cxd-sp__buy .price-wrapper .cxd-lien-he{font:700 1.5rem/1.2 var(--font-head);color:var(--cyan-700)}
body.cxd .cxd-sp__buy .product-short-description{margin:0 0 var(--s-6);color:var(--ink-2);line-height:1.65;text-wrap:pretty}
body.cxd .cxd-sp__buy .product-short-description p{margin:0}

/* giỏ hàng: số lượng + Thêm vào giỏ (phụ) / Mua ngay (chính — MỘT điểm nhấn) */
body.cxd .cxd-sp__buy form.cart{display:flex;flex-wrap:wrap;align-items:stretch;gap:var(--s-3);margin:0 0 var(--s-4)}
body.cxd .cxd-sp__buy form.cart .ux-quantity,body.cxd .cxd-sp__buy form.cart .quantity{flex:none;margin:0}
body.cxd .cxd-sp__buy form.cart .single_add_to_cart_button{flex:1 1 180px;margin:0;min-height:48px;background:transparent;border:1px solid var(--ink);color:var(--ink);box-shadow:none}
body.cxd .cxd-sp__buy form.cart .single_add_to_cart_button:hover{background:var(--bg)}
body.cxd .cxd-sp__buy form.cart .ux-buy-now-button{flex:1 1 100%;margin:0;min-height:48px;background:var(--brand-yellow);border:1px solid var(--brand-yellow);color:var(--ink);font-weight:700;box-shadow:none}
body.cxd .cxd-sp__buy form.cart .ux-buy-now-button:hover{background:var(--yellow-600);border-color:var(--yellow-600)}
/* khi KHÔNG có Mua ngay thì Thêm vào giỏ là nút chính */
body.cxd .cxd-sp__buy form.cart:not(:has(.ux-buy-now-button)) .single_add_to_cart_button{background:var(--brand-yellow);border-color:var(--brand-yellow);font-weight:700}

/* sản phẩm không có giá → lối gọi / hẹn */
body.cxd .cxd-lienhe{background:var(--yellow-50);border-radius:var(--r-lg);padding:var(--s-6);margin:0 0 var(--s-4)}
body.cxd .cxd-lienhe p{margin:0 0 var(--s-4);color:var(--ink-2)}
body.cxd .cxd-lienhe__nut{display:flex;flex-wrap:wrap;gap:var(--s-3)}
body.cxd .cxd-lienhe__nut .button{margin:0;min-height:48px}
body.cxd .cxd-lienhe__goi svg{width:18px;height:18px;margin-right:6px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}

/* hệ thống cửa hàng (gập) */
body.cxd .cxd-ct{border:1px solid var(--line);border-radius:var(--r-lg);margin:0 0 var(--s-4);background:var(--surface)}
body.cxd .cxd-ct summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:var(--s-3);min-height:52px;padding:0 var(--s-4);font:600 var(--fs-16)/1.3 var(--font-head);color:var(--ink)}
body.cxd .cxd-ct summary::-webkit-details-marker{display:none}
body.cxd .cxd-ct summary span{flex:1}
body.cxd .cxd-ct summary svg{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
body.cxd .cxd-ct summary svg:last-child{transition:transform var(--t-base) var(--ease)}
body.cxd .cxd-ct[open] summary svg:last-child{transform:rotate(180deg)}
body.cxd .cxd-ct__ghichu{margin:0;padding:0 var(--s-4) var(--s-2);font-size:var(--fs-14);color:var(--ink-3)}
body.cxd .cxd-ct ul{list-style:none;margin:0;padding:0 var(--s-4) var(--s-2)}
body.cxd body .cxd-ct li,body.cxd .cxd-ct li{margin:0!important;display:flex;align-items:center;gap:var(--s-2);padding:var(--s-3) 0;border-top:1px solid var(--line)}
body.cxd .cxd-ct li>div{flex:1;min-width:0}
body.cxd .cxd-ct li strong{display:block;font:600 var(--fs-14)/1.3 var(--font-head);color:var(--ink)}
body.cxd .cxd-ct li span{display:block;font-size:var(--fs-12);line-height:1.4;color:var(--ink-3)}
body.cxd .cxd-ct__goi,body.cxd .cxd-ct__chi{flex:none;display:inline-grid;place-items:center;width:44px;height:44px;border:1px solid var(--line);border-radius:var(--r-md);color:var(--ink)}
body.cxd .cxd-ct__goi{background:var(--ink);border-color:var(--ink);color:#fff}
body.cxd .cxd-ct__goi:hover{background:#000;color:#fff}
body.cxd .cxd-ct__chi:hover{border-color:var(--ink);color:var(--ink)}
body.cxd .cxd-ct__goi svg,body.cxd .cxd-ct__chi svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}

/* mã SP · danh mục — chip, đủ vùng chạm */
body.cxd .cxd-sp__buy .product_meta{border-top:1px solid var(--line);padding-top:var(--s-3);margin:0;font-size:var(--fs-14);color:var(--ink-3)}
/* gọn (16/11/2026): nhãn cột trái cố định, chip nhỏ 30px (trước 44px), không dấu phẩy (inc/cxd-product.php), ẩn Mã SP khi chưa có mã */
body.cxd .cxd-sp__buy .product_meta>span{display:grid;grid-template-columns:84px 1fr;align-items:center;column-gap:var(--s-2);margin:0 0 6px;border:0}
body.cxd .cxd-sp__buy .product_meta>span.posted_in{display:flex;flex-wrap:wrap;gap:6px}
body.cxd .cxd-sp__buy .product_meta>span.posted_in::first-line{line-height:30px}
body.cxd .cxd-sp__buy .product_meta .sku_wrapper.cxd-sku-trong{display:none}
body.cxd .cxd-sp__buy .product_meta a{display:inline-flex;align-items:center;min-height:30px;padding:0 10px;border:1px solid var(--line);border-radius:var(--r-pill);color:var(--ink);font-size:13px;font-weight:500;text-decoration:none}
body.cxd .cxd-sp__buy .product_meta a:hover{border-color:var(--ink)}

/* ── các mục: mô tả · thông số · đánh giá ───────────────────────────────────── */
body.cxd .cxd-muc__item{margin:0 0 var(--s-12);padding:0;border:0}
body.cxd .cxd-muc__tieude{font:700 var(--fs-25)/1.25 var(--font-head);margin:0 0 var(--s-4);color:var(--ink);text-transform:none;letter-spacing:0;text-wrap:balance}
body.cxd .cxd-muc .panel{padding:0;border:0}
body.cxd .cxd-muc .entry-content h3{font:700 var(--fs-20)/1.3 var(--font-head);margin:var(--s-6) 0 var(--s-2);text-transform:none;color:var(--ink)}
body.cxd .cxd-muc .entry-content p,body.cxd .cxd-muc .entry-content li{color:var(--ink-2);line-height:1.7;text-wrap:pretty}
body.cxd .cxd-muc .entry-content ul{margin:0 0 var(--s-4) var(--s-4)}
/* bảng thông số kẻ sọc: tên --ink-3, giá trị --ink; KHÔNG viết hoa toàn bộ (Thiết kế §4.5) */
body.cxd .cxd-muc table.woocommerce-product-attributes,body.cxd .cxd-muc table.shop_attributes{width:100%;border:0;border-collapse:collapse;margin:0}
body.cxd .cxd-muc table.shop_attributes tr:nth-child(odd){background:var(--bg)}
body.cxd .cxd-muc table.shop_attributes th{width:34%;padding:var(--s-3) var(--s-4);border:0;font:600 var(--fs-14)/1.4 var(--font-body);color:var(--ink-3);text-transform:none;letter-spacing:0;text-align:left;vertical-align:top}
body.cxd .cxd-muc table.shop_attributes td{padding:var(--s-3) var(--s-4);border:0;color:var(--ink);font-style:normal}
body.cxd .cxd-muc table.shop_attributes td p{margin:0}

/* ── sản phẩm tương tự ───────────────────────────────────────────────────────── */
body.cxd .related-products-wrapper .product-section-title,body.cxd .related-products-wrapper h3{font:700 var(--fs-25)/1.25 var(--font-head);text-transform:none;border:0;margin:0 0 var(--s-6);padding:0;color:var(--ink)}
body.cxd .related-products-wrapper .row{margin:0}

/* ── thanh hành động cố định ở đáy — CHỈ điện thoại; thay thanh điều hướng đáy ───────────────────── */
body.cxd .cxd-pbar{display:none}
@media (max-width:849px){
  body.single-product .cxd-bottomnav{display:none}
  body.cxd .cxd-pbar{display:flex;gap:var(--s-2);position:fixed;left:0;right:0;bottom:0;z-index:var(--z-bottomnav);background:var(--surface);border-top:1px solid var(--line);padding:var(--s-2) var(--s-3) calc(var(--s-2) + env(safe-area-inset-bottom));box-shadow:0 -4px 16px rgba(35,31,32,.06)}
  body.cxd .cxd-pbar>*{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:48px;margin:0;padding:0 var(--s-4);border-radius:var(--r-md);font:600 var(--fs-14)/1 var(--font-head);text-decoration:none;text-transform:none;letter-spacing:0;cursor:pointer;border:1px solid var(--ink);background:transparent;color:var(--ink)}
  body.cxd .cxd-pbar svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
  body.cxd .cxd-pbar__goi{flex:none;background:var(--ink)!important;color:#fff!important}
  body.cxd .cxd-pbar__them{flex:1 1 0}
  body.cxd .cxd-pbar__mua,body.cxd .cxd-pbar__cuahang{flex:1 1 0}
  body.cxd .cxd-pbar__mua{background:var(--brand-yellow);border-color:var(--brand-yellow);font-weight:700}
  body.cxd .cxd-pbar__goi:only-child{flex:1}
  body.cxd .cxd-pbar>*{padding:0 var(--s-3);white-space:nowrap}
  @media (max-width:400px){body.cxd .cxd-pbar__them svg{display:none}}   /* hẹp: không đủ chỗ cho cả biểu tượng lẫn "Thêm vào giỏ" trên một dòng */
  @media (max-width:340px){body.cxd .cxd-pbar>*{padding:0 var(--s-2);font-size:var(--fs-12)}}
  body.cxd.single-product #footer{padding-bottom:calc(var(--h-bottomnav) + env(safe-area-inset-bottom))}
}

/* ── vùng chạm ≥44×44 (audit 02/10) ────────────────────────────────────────── */
body.cxd .cxd-sp__hang{min-width:44px;padding-right:var(--s-3)}
body.cxd .cxd-sp__buy form.cart .ux-quantity input.qty,body.cxd .cxd-sp__buy form.cart input.qty{width:52px;min-width:44px;min-height:48px}
/* mũi tên các thanh trượt (thư viện ảnh + sản phẩm tương tự): nút tròn 44px (Flatsome để cột hẹp 24×232) */
body.single-product .flickity-prev-next-button{width:44px!important;min-width:44px!important;height:44px!important;top:50%;margin-top:-22px;border-radius:50%;background:rgba(255,255,255,.92);border:1px solid var(--line);box-shadow:var(--shadow-1);opacity:1}
body.single-product .flickity-prev-next-button.previous{left:var(--s-3)}
body.single-product .flickity-prev-next-button.next{right:var(--s-3)}
body.single-product .flickity-prev-next-button:hover{border-color:var(--ink)}
/* Kiểu "reveal" của Flatsome (khối sản phẩm liên quan) có quy tắc :hover riêng (top:-2px, margin:0, cao 100%, trượt 10%) mạnh hơn quy tắc trên
   → rê chuột vào mũi tên là nó nhảy lên đỉnh, rời chuột, rơi về giữa, lại bị rê… giật liên tục (Tình 16/11/2026; đo: top −2px ↔ 174px mỗi ~0,3s).
   Ghim vị trí cho CẢ trạng thái thường và :hover, bỏ trượt ngang. */
body.single-product .slider-nav-reveal .flickity-prev-next-button,body.single-product .slider-nav-reveal .flickity-prev-next-button:hover{top:50%!important;bottom:auto!important;height:44px!important;width:44px!important;margin:-22px 0 0!important;transform:none!important;box-shadow:var(--shadow-1)!important;background:rgba(255,255,255,.96)!important;transition:border-color var(--t-fast) var(--ease),opacity var(--t-fast) var(--ease)!important}
body.single-product .slider-nav-reveal .flickity-prev-next-button svg{margin-top:0!important}
body.single-product .flickity-prev-next-button{display:flex!important;align-items:center;justify-content:center;bottom:auto!important;margin-top:-22px!important;padding:0!important}
body.single-product .flickity-prev-next-button .flickity-button-icon{position:static!important;transform:none!important;width:20px!important;height:20px!important;max-width:none;max-height:none;padding:0!important;margin:0!important;fill:var(--ink)}   /* FE-06 vòng 3: nút là flex căn giữa icon, không còn phụ thuộc translate/top của Flatsome (khối "Sản phẩm tương tự" từng lệch icon lên 28px) */

/* ── khối "sản phẩm được quan tâm" (plugin cxd-product-extras): tiêu đề cùng cỡ với "Sản phẩm tương tự" ─────── */
body.cxd .cxd-xh__tieu{font:700 var(--fs-25)/1.25 var(--font-head);margin:0 0 var(--s-6);padding:0;color:var(--ink);text-transform:none;letter-spacing:0}


/* FE2-03 (vòng 3): nhấn mạnh khối cỡ khi bấm "Thêm vào giỏ" ở thanh dưới mà chưa chọn */
body.cxd .cxd-nhac-chon{margin:0 0 var(--s-2);padding:var(--s-2) var(--s-3);border-radius:var(--r-md);background:#FDECEC;color:#9B1C1C;border:1px solid #E7A3A3;font:600 var(--fs-14)/1.4 var(--font-head)}
body.cxd .cxd-can-chon{outline:2px solid #C62828;outline-offset:4px;border-radius:var(--r-md);animation:cxd-lac .4s ease-in-out 1}
@keyframes cxd-lac{0%,100%{transform:translateX(0)}25%{transform:translateX(-6px)}75%{transform:translateX(6px)}}
@media (prefers-reduced-motion:reduce){body.cxd .cxd-can-chon{animation:none}}
/* 30/10/2026: 4 biến thể nằm một hàng, kể cả điện thoại. Không ép 2×2. */
/* Bấm chuột vào dải ảnh nhỏ → Flickity lấy tiêu điểm → cả dải hiện khung viền xanh dày. Bỏ viền của khung; dùng phím ←/→ thì ô đang chọn
   vẫn có viền đậm (.is-nav-selected) nên vẫn thấy đang ở đâu (16/11/2026). */
body.cxd .cxd-sp__gal .product-thumbnails.flickity-enabled:focus,body.cxd .cxd-sp__gal .product-thumbnails.flickity-enabled:focus-visible{outline:none!important;box-shadow:none!important}
/* Chiều cao khung dải ảnh nhỏ: Flickity ghi cứng theo cỡ lúc tải → đổi khổ (máy tính → điện thoại) khung giữ 94px trong khi ô còn 45px,
   thừa khoảng trống dưới ảnh (Tình 16/11/2026). Tính bằng CSS theo độ rộng khung: ô 19% − lề 8px, tỉ lệ 4:3. */
body.cxd .cxd-sp__gal .product-thumbnails{container-type:inline-size}
body.cxd .cxd-sp__gal .product-thumbnails .flickity-viewport{height:calc((19cqw - 8px) * .75)!important}
