/*
 * Solina Market — giao diện kiểu đại siêu thị.
 * Viết lại từ đầu, thay cho main.css của theme solina.
 * Thứ tự: biến -> nền tảng -> header -> trang chủ -> lưới sản phẩm -> danh mục
 *         -> trang sản phẩm -> giỏ/thanh toán -> trang tĩnh -> chân trang -> màn rộng.
 */

/* ============================== 1. biến ============================== */
:root{
  --navy:#071a3c; --navy-2:#0d2b5c; --navy-3:#04122b;
  --blue:#0b57c7; --blue-d:#08409a; --blue-t:#eaf1fe;
  --amber:#ffb81c; --amber-ink:#3d2a00; --amber-soft:#fff6e0;
  --ink:#101720; --ink-2:#4a5663; --mut:#67717e;
  --line:#e2e7ef; --tint:#f2f5fa; --soft:#f6f8fb; --green:#12703a; --red:#b3261e;
  --ui:"Plus Jakarta Sans",system-ui,-apple-system,"Segoe UI",sans-serif;
  --tx:"Figtree",system-ui,-apple-system,"Segoe UI",sans-serif;
  --pad:14px; --wrap:1280px; --hd-h:132px;
}

/* ============================== 2. nền tảng ============================== */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
/* KHÔNG đặt overflow-x trên <html>: Safari iOS sẽ làm hỏng position:sticky của header.
   Trước đây cần nó vì kệ sản phẩm cuộn ngang làm nở khung nhìn; đã bỏ kệ cuộn ngang nên
   không cần nữa (đo lại: bỏ ra trang vẫn 390/390, không tràn). Giữ một lớp chắn nhẹ ở body
   bằng clip — clip không tạo vùng cuộn nên sticky vẫn chạy. */
/* clip chứ không hidden: hidden biến html thành vùng cuộn và làm hỏng header dính.
   Cần cái này vì hàng ảnh nhỏ cuộn ngang làm trình duyệt nới khung nhìn ra rộng hơn màn hình. */
body{margin:0;background:#fff;color:var(--ink);font-family:var(--tx);font-size:15px;line-height:1.45;
  -webkit-font-smoothing:antialiased;overflow-x:clip}
img{display:block;max-width:100%;height:auto}
/* solina_icon() in ra <svg viewBox="0 0 24 24"> KHÔNG kèm width/height. Thiếu luật này
   trình duyệt vẽ mặc định 300x150 — ổ khoá "Secure payment" to đùng giữa trang.
   Để ở độ ưu tiên thấp nhất (0,0,1) nên mọi luật theo class bên dưới vẫn đè được. */
svg{width:20px;height:20px;flex-shrink:0}
a{color:var(--blue);text-decoration:none}
a:hover{color:var(--blue-d)}
button,input,select,textarea{font:inherit;color:inherit}
h1,h2,h3,h4{font-family:var(--ui);letter-spacing:-.4px;text-wrap:balance;margin:0}
p{margin:0 0 12px}
:focus-visible{outline:3px solid var(--blue);outline-offset:2px;border-radius:6px}
.screen-reader-text,.sr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip:rect(0 0 0 0);white-space:nowrap;border:0}
.skip-link{position:absolute;left:-9999px;top:0;z-index:100;padding:10px 16px;background:var(--navy);color:#fff}
.skip-link:focus{left:8px;top:8px;color:#fff}
.wrap{max-width:var(--wrap);margin:0 auto;padding-left:var(--pad);padding-right:var(--pad)}
.tnum{font-variant-numeric:tabular-nums}
.site-main{display:block;min-height:40vh}
[hidden]{display:none!important}

/* ============================== 3. nút ============================== */
.btn,.button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,
.woocommerce a.button.alt,.woocommerce button.button.alt,.wc-block-components-button{
  display:inline-flex;align-items:center;justify-content:center;gap:7px;height:48px;padding:0 22px;
  border:0;border-radius:999px;background:var(--blue);color:#fff;font-family:var(--ui);font-weight:700;
  font-size:15px;line-height:1;cursor:pointer;text-align:center;text-decoration:none;white-space:nowrap}
.btn:hover,.button:hover,.woocommerce a.button:hover,.woocommerce button.button:hover,
.woocommerce input.button:hover,.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover{
  background:var(--blue-d);color:#fff}
.btn-lg{height:54px;font-size:16.5px;font-weight:800;width:100%}
.btn-out{background:#fff;color:var(--blue);border:1.5px solid var(--blue)}
.btn-out:hover{background:var(--blue-t);color:var(--blue-d)}
.btn-ghost{background:#fff;color:var(--ink);border:1px solid var(--line)}
.btn-ghost:hover{background:var(--tint);color:var(--ink)}
.btn-block{width:100%}
.woocommerce .button.disabled,.woocommerce button.button:disabled,.woocommerce button.button:disabled[disabled]{
  opacity:.5;cursor:not-allowed}

/* ============================== 4. header ============================== */
.announce{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;padding:7px 14px;
  background:var(--amber);color:var(--amber-ink);font-family:var(--ui);font-weight:700;font-size:12px;
  text-align:center}
.announce .wrap{display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap;padding:0}
.announce span{display:inline-flex;align-items:center;gap:6px}
.announce svg{width:15px;height:15px}

.site-header{background:var(--navy);color:#fff;position:sticky;top:0;z-index:40}
.site-header a{color:#fff}
.header-inner{display:flex;flex-direction:column;gap:10px;padding-top:11px;padding-bottom:12px}
.hd-top{display:flex;align-items:center;gap:10px}
.brand{display:flex;align-items:center;gap:1px;flex-shrink:0;min-width:0}
.brand__logo{width:auto;height:34px;max-width:190px;object-fit:contain;
  /* logo gốc là chữ sẫm, đổ trắng để đọc được trên nền navy */
  filter:brightness(0) invert(1)}
.brand-word{display:flex;align-items:baseline;gap:1px;font-family:var(--ui);font-weight:800;font-size:21px;
  letter-spacing:-.6px}
.brand-word i{font-style:normal;font-weight:600;color:#8fb6f2}
.header-tools{display:flex;align-items:center;gap:6px;margin-left:auto}
.icon-btn{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border:0;
  border-radius:999px;background:var(--navy-2);color:#fff;cursor:pointer;position:relative;flex-shrink:0;
  text-decoration:none}
.icon-btn:hover{background:#14396f;color:#fff}
.icon-btn svg{width:20px;height:20px}
.cart-count{position:absolute;top:-2px;right:-2px;display:none;align-items:center;justify-content:center;
  min-width:19px;height:19px;padding:0 5px;border-radius:999px;background:var(--amber);color:var(--amber-ink);
  font-family:var(--ui);font-weight:800;font-size:11px;line-height:1}
.cart-count.is-on{display:inline-flex}

.hd-search{display:flex;align-items:center;gap:8px;height:46px;padding:0 6px 0 14px;border-radius:999px;
  background:#fff}
.hd-search svg{flex-shrink:0;width:19px;height:19px;color:var(--mut)}
.hd-search input[type=search]{flex:1 1 auto;min-width:0;height:34px;border:0;outline:none;background:transparent;
  font-size:15px;color:var(--ink);-webkit-appearance:none}
.hd-search button{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;padding:0;
  border:0;border-radius:999px;background:var(--blue);color:#fff;cursor:pointer;flex-shrink:0}
.hd-search button svg{width:18px;height:18px;color:#fff}
.hd-ship{display:flex;align-items:center;gap:7px;color:#bcd3f7;font-size:11.5px}
.hd-ship svg{flex-shrink:0;width:14px;height:14px}
.hd-nav{display:none}

.chips{display:flex;gap:8px;overflow-x:auto;max-width:100%;scrollbar-width:none;padding:12px var(--pad);
  border-bottom:1px solid var(--line);-webkit-overflow-scrolling:touch;background:#fff}
.chips::-webkit-scrollbar{display:none}
.chip{display:inline-flex;align-items:center;height:36px;padding:0 15px;border:1px solid var(--line);
  border-radius:999px;background:#fff;color:var(--ink);font-family:var(--ui);font-weight:700;font-size:12.5px;
  white-space:nowrap;flex-shrink:0}
.chip:hover{border-color:var(--blue);color:var(--blue)}
.chip.is-on{background:var(--navy);border-color:var(--navy);color:#fff}

/* ============================== 5. trang chủ ============================== */
.hero{position:relative;margin-bottom:6px}
.hero-img{width:100%;height:214px;object-fit:cover;background:var(--soft)}
.hero-card{position:relative;margin:-56px var(--pad) 0;padding:16px;background:#fff;border-radius:16px;
  box-shadow:0 10px 28px rgba(7,26,60,.16)}
.eyebrow{margin:0 0 6px;font-family:var(--ui);font-weight:700;font-size:11px;letter-spacing:1.1px;
  text-transform:uppercase;color:var(--blue)}
.hero-card h1{font-size:24px;line-height:1.14;margin-bottom:7px}
.hero-card p{margin:0 0 13px;font-size:13.5px;color:var(--ink-2)}

.sec{padding-top:24px}
.sec-hd{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:12px}
.sec-hd h2{font-size:19px}
.sec-hd a{display:inline-flex;align-items:center;gap:2px;font-family:var(--ui);font-weight:700;font-size:12.5px;
  white-space:nowrap}
.sec-hd a svg{width:13px;height:13px}

.depts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.dept{display:flex;flex-direction:column;gap:6px;color:var(--ink)}
.dept:hover{color:var(--blue)}
.dept img{width:100%;height:auto;aspect-ratio:1;object-fit:cover;border-radius:10px;background:var(--soft)}
.dept b{font-family:var(--ui);font-weight:700;font-size:11.5px;line-height:1.25}
.dept span{font-size:10.5px;color:var(--mut);margin-top:auto}

.vals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:22px;padding:16px 10px;
  border-radius:14px;background:var(--tint)}
.val{display:flex;flex-direction:column;align-items:center;gap:5px;text-align:center}
.val svg{width:24px;height:24px;color:var(--blue)}
.val b{display:block;font-family:var(--ui);font-weight:700;font-size:11.5px;line-height:1.2}
.val span{display:block;margin-top:2px;font-size:10.5px;color:var(--mut)}

.ship-banner{display:flex;align-items:flex-start;gap:12px;margin-top:22px;padding:15px 16px;border-radius:14px;
  background:var(--amber)}
.ship-banner svg{flex-shrink:0;width:24px;height:24px;color:var(--amber-ink)}
.ship-banner b{display:block;margin-bottom:3px;font-family:var(--ui);font-weight:800;font-size:14px;
  color:var(--amber-ink)}
.ship-banner p{margin:0;font-size:12.5px;line-height:1.4;color:#5a4200}

/* ============================== 6. lưới + thẻ sản phẩm ============================== */
ul.products,.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px;margin:0;padding:0;
  list-style:none}
ul.products li.product{margin:0;padding:0;list-style:none;width:auto;float:none;min-width:0}
ul.products::before,ul.products::after{content:none}
.card{display:flex;flex-direction:column;gap:8px;min-width:0;height:100%}
.card-a{display:flex;flex-direction:column;gap:6px;color:var(--ink)}
.card-a:hover{color:var(--ink)}
.card-a:hover .card-name{text-decoration:underline}
.card-img{position:relative;display:block}
.card-img img{width:100%;height:auto;aspect-ratio:1;object-fit:cover;border-radius:12px;background:var(--soft)}
.card-price{font-family:var(--ui);font-weight:800;font-size:19px;letter-spacing:-.3px;color:var(--ink)}
.card-price .amount,.card-price bdi{font-weight:800}
.card-price del{display:none}
.card-name{font-size:12.5px;line-height:1.3;color:var(--ink-2);display:-webkit-box;-webkit-line-clamp:2;
  -webkit-box-orient:vertical;overflow:hidden}
.card-meta{font-size:11px;color:var(--mut);margin-top:auto}
.card-opt{position:absolute;left:8px;top:8px;padding:3px 8px;border-radius:999px;background:rgba(255,255,255,.94);
  font-family:var(--ui);font-weight:700;font-size:10px;color:var(--ink);box-shadow:0 1px 3px rgba(7,26,60,.16)}
.card .btn-add{width:100%;height:38px;padding:0 10px;border:1px solid var(--blue);border-radius:999px;
  background:var(--blue-t);color:var(--blue-d);font-family:var(--ui);font-weight:700;font-size:13px;
  cursor:pointer;display:inline-flex;align-items:center;justify-content:center;text-align:center}
.card .btn-add:hover{background:#dbe8fd;color:var(--blue-d)}
.card .btn-add.loading{opacity:.6}
.card .btn-add.added{background:var(--green);border-color:var(--green);color:#fff}
.card a.added_to_cart{display:none}

/* Kệ theo danh mục dùng đúng lưới 2 cột, KHÔNG cuộn ngang: Chrome trên điện thoại
   nới khung nhìn theo bề rộng của vùng cuộn ngang, làm nút chat bị đẩy ra ngoài màn hình. */
ul.products.shelf,.shelf{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px;
  overflow:visible}
.shelf>*{min-width:0}
.shelf>*:nth-child(n+5){display:none}

/* ============================== 7. danh mục / cửa hàng ============================== */
.crumb{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:11px 0;font-size:11.5px;color:var(--mut)}
.crumb a{color:var(--blue)}
.crumb .sep{color:#aab4c0}
.cat-hd{padding:4px 0 2px}
.cat-hd h1{font-size:25px;margin-bottom:3px}
.cat-hd p{margin:0;font-size:12.5px;color:var(--mut)}
.cat-hd .term-desc{margin-top:8px;font-size:13.5px;color:var(--ink-2)}
.toolbar{display:flex;align-items:center;gap:10px;margin:14px 0 16px;padding:12px 0;
  border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.toolbar label{font-family:var(--ui);font-weight:700;font-size:12.5px;flex-shrink:0}
.toolbar select,.woocommerce-ordering select{height:38px;padding:0 10px;border:1px solid var(--line);
  border-radius:10px;background:#fff;font-family:var(--ui);font-weight:600;font-size:13px;flex:1 1 auto;
  min-width:0;max-width:100%}
.toolbar .count{margin-left:auto;font-size:11.5px;color:var(--mut);white-space:nowrap}
.note{margin:22px 0 0;padding:14px 15px;border-radius:12px;background:var(--tint);font-size:12.5px;
  line-height:1.5;color:var(--ink-2)}
.woocommerce-pagination{margin:24px 0 0}
.woocommerce-pagination ul{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;margin:0;padding:0;
  list-style:none;border:0}
.woocommerce-pagination li{margin:0;border:0}
.woocommerce-pagination a,.woocommerce-pagination span{display:inline-flex;align-items:center;
  justify-content:center;min-width:42px;height:42px;padding:0 12px;border:1px solid var(--line);
  border-radius:10px;font-family:var(--ui);font-weight:700;font-size:14px;color:var(--ink);background:#fff}
.woocommerce-pagination a:hover{border-color:var(--blue);color:var(--blue)}
.woocommerce-pagination .current{background:var(--navy);border-color:var(--navy);color:#fff}

/* ============================== 8. thông báo woocommerce ============================== */
.woocommerce-message,.woocommerce-info,.woocommerce-error,.woocommerce-noreviews,p.no-comments{
  display:flex;align-items:flex-start;gap:10px;margin:0 0 16px;padding:14px 16px;border:1px solid var(--line);
  border-left:4px solid var(--blue);border-radius:12px;background:var(--blue-t);font-size:13.5px;
  color:var(--ink);list-style:none}
.woocommerce-error{border-left-color:var(--red);background:#fdeceb}
.woocommerce-message{border-left-color:var(--green);background:#eaf6ee}
.woocommerce-message .button,.woocommerce-info .button{height:38px;padding:0 16px;font-size:13px;
  margin-left:auto;flex-shrink:0}
.woocommerce-error li{margin:0}

/* ============================== 9. trang sản phẩm ============================== */
.pdp{padding-top:4px}
.pdp-gal img.gal-main{width:100%;height:auto;aspect-ratio:1;object-fit:cover;border-radius:14px;
  background:var(--soft)}
.gal-thumbs{display:flex;gap:8px;margin-top:10px;overflow-x:auto;scrollbar-width:none}
.gal-thumbs::-webkit-scrollbar{display:none}
.gal-thumbs button{width:64px;height:64px;padding:0;border:1px solid var(--line);border-radius:10px;
  overflow:hidden;background:var(--soft);cursor:pointer;flex-shrink:0}
.gal-thumbs button.is-on{border:2px solid var(--blue)}
.gal-thumbs img{width:100%;height:100%;object-fit:cover}
.pdp-body{display:flex;flex-direction:column;gap:14px;padding-top:16px}
.stock{display:flex;align-items:center;gap:7px;font-size:12px;margin:0}
.stock svg{width:17px;height:17px;color:var(--green)}
.stock b{font-family:var(--ui);font-weight:700;color:var(--green)}
.stock i{font-style:normal;color:#c3cad4}
.pdp h1.product_title{font-size:20px;line-height:1.3;letter-spacing:-.3px;font-weight:700;margin:0}
.pdp .price{font-family:var(--ui);font-weight:800;font-size:33px;letter-spacing:-1px;margin:0;color:var(--ink)}
.pdp .price del{display:none}
.pdp .price ins{text-decoration:none}
.price-note{margin:3px 0 0;font-size:12px;color:var(--mut)}

.pdp fieldset,.variations{margin:0;padding:0;border:0;min-width:0}
.pdp legend,.variations .label{padding:0;margin:0 0 8px;font-family:var(--ui);font-weight:700;font-size:12.5px;
  display:block}
.pills{display:flex;gap:8px;flex-wrap:wrap}
.pill{display:inline-flex;align-items:center;justify-content:center;min-width:46px;height:44px;padding:0 14px;
  border:1px solid var(--line);border-radius:10px;background:#fff;font-family:var(--ui);font-weight:700;
  font-size:13.5px;cursor:pointer;position:relative;color:var(--ink)}
.pill:hover{border-color:var(--blue)}
.pill input{position:absolute;opacity:0;width:1px;height:1px}
.pill:has(input:checked),.pill.is-on{border:2px solid var(--blue);background:var(--blue-t);color:var(--blue-d)}
.variations select{width:100%;height:48px;padding:0 12px;border:1px solid var(--line);border-radius:10px;
  background:#fff;font-family:var(--ui);font-weight:600;font-size:14px}
.variations tr{display:block;margin-bottom:12px}
.variations th,.variations td{display:block;padding:0;text-align:left;border:0}
.reset_variations{display:inline-block;margin-top:6px;font-size:12px}
.woocommerce-variation-price{margin:10px 0}
.woocommerce-variation-price .price{font-size:26px}

.qty-row{display:flex;align-items:center;justify-content:space-between;gap:12px}
.qty-row>b{font-family:var(--ui);font-weight:700;font-size:12.5px}
.quantity{display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:999px;
  overflow:hidden;background:#fff}
.quantity input.qty{width:56px;height:44px;border:0;text-align:center;font-family:var(--ui);font-weight:800;
  font-size:15px;-moz-appearance:textfield;background:transparent}
.quantity input.qty::-webkit-outer-spin-button,.quantity input.qty::-webkit-inner-spin-button{
  -webkit-appearance:none;margin:0}
.quantity .qty-step{display:inline-flex;align-items:center;justify-content:center;width:46px;height:44px;
  border:0;background:#fff;cursor:pointer;color:var(--ink)}
.quantity .qty-step:hover{background:var(--tint)}
.quantity .qty-step svg{width:18px;height:18px}

.cart form.cart,.pdp form.cart{display:flex;flex-direction:column;gap:14px;margin:0}
.pdp .cta{display:flex;flex-direction:column;gap:10px}
.pdp .single_add_to_cart_button{width:100%;height:54px;font-size:16.5px;font-weight:800}
.pdp .buy-now{width:100%;height:50px;background:#fff;color:var(--blue);border:1.5px solid var(--blue);
  font-weight:800}
.pdp .buy-now:hover{background:var(--blue-t)}

.paylab{margin:0 0 8px;font-family:var(--ui);font-weight:700;font-size:11px;letter-spacing:.9px;
  text-transform:uppercase;color:var(--mut)}
.pay-row,.pay-methods__list,.paymarks{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.pay-logo{height:24px;width:auto;border-radius:4px}
.pay-chip{display:inline-flex;align-items:center;height:24px;padding:0 8px;border:1px solid var(--line);
  border-radius:4px;font-family:var(--ui);font-weight:700;font-size:10px;background:#fff}
.pay-methods{display:flex;flex-direction:column;gap:8px}
.pay-methods__label{font-family:var(--ui);font-weight:700;font-size:11px;letter-spacing:.9px;
  text-transform:uppercase;color:var(--mut)}
.pay-methods__note{font-size:11.5px;line-height:1.5;color:var(--mut)}

.info{display:flex;gap:12px;padding:14px 15px;border:1px solid var(--line);border-radius:13px;background:#fff}
.info svg{flex-shrink:0;width:22px;height:22px;color:var(--blue)}
.info b{display:block;margin-bottom:4px;font-family:var(--ui);font-weight:800;font-size:13.5px}
.info p{margin:0 0 4px;font-size:12.5px;line-height:1.5;color:var(--ink-2)}
.info p:last-child{margin-bottom:0}

.about h2,.specs h2,.pdp-wide h2{font-size:16px;margin-bottom:8px}
.about p{margin:0 0 10px;font-size:13.5px;line-height:1.55;color:var(--ink-2)}
.about ul{margin:12px 0 0;padding:0;list-style:none}
.about ul li{margin:0 0 10px;padding-left:26px;position:relative;font-size:13.5px;line-height:1.5;
  color:var(--ink-2)}
.about ul li svg{position:absolute;left:0;top:2px;width:16px;height:16px;color:var(--green)}
.about ul li b{font-family:var(--ui);font-weight:700;color:var(--ink)}
.about details{margin-top:2px}
.about summary,.faq summary{font-family:var(--ui);font-weight:700;font-size:13px;color:var(--blue);cursor:pointer}
.specs dl{display:grid;grid-template-columns:1fr auto;gap:0;margin:0}
.specs dt,.specs dd{margin:0;padding:9px 0;border-bottom:1px solid var(--line);font-size:12.5px}
.specs dt{color:var(--mut)}
.specs dd{font-family:var(--ui);font-weight:700;text-align:right}
.faq details{padding:11px 0;border-bottom:1px solid var(--line)}
.faq summary{color:var(--ink)}
.faq p{margin:8px 0 0;font-size:13px;line-height:1.55;color:var(--ink-2)}

.buybar{position:fixed;left:0;right:0;bottom:0;z-index:45;display:flex;align-items:center;gap:12px;
  padding:10px var(--pad) calc(12px + env(safe-area-inset-bottom,0px));background:#fff;
  border-top:1px solid var(--line);box-shadow:0 -3px 14px rgba(7,26,60,.1)}
.buybar>div{flex:1 1 auto;min-width:0}
.buybar b{display:block;font-family:var(--ui);font-weight:800;font-size:19px}
.buybar span{display:block;font-size:10.5px;color:var(--mut)}
.buybar .btn{height:48px;flex-shrink:0}
body.single-product{padding-bottom:0}
body.single-product.has-buybar{padding-bottom:140px}

/* ============================== 10. giỏ hàng + thanh toán ============================== */
.woocommerce table.shop_table{width:100%;border:0;border-collapse:collapse;margin:0 0 20px}
.woocommerce table.shop_table th,.woocommerce table.shop_table td{border:0;border-bottom:1px solid var(--line);
  padding:14px 0;font-size:13.5px;vertical-align:middle}
.woocommerce table.shop_table thead th{font-family:var(--ui);font-weight:700;font-size:11px;letter-spacing:.8px;
  text-transform:uppercase;color:var(--mut)}
.woocommerce table.cart img{width:76px;height:76px;object-fit:cover;border-radius:11px;background:var(--soft)}
.woocommerce table.cart .product-name a{font-size:13.5px;color:var(--ink);line-height:1.35}
.woocommerce table.cart .product-remove a.remove{display:inline-flex;align-items:center;justify-content:center;
  width:30px;height:30px;border-radius:999px;background:var(--tint);color:var(--mut);font-size:18px;
  text-decoration:none}
.woocommerce table.cart .product-remove a.remove:hover{background:#fdeceb;color:var(--red)}
.woocommerce .cart-collaterals,.woocommerce-cart .cart-collaterals .cart_totals{width:100%;float:none}
.cart_totals h2{font-size:18px;margin-bottom:10px}
.cart_totals table.shop_table th{font-family:var(--ui);font-weight:500;font-size:13.5px;text-transform:none;
  letter-spacing:0;color:var(--ink)}
.cart_totals table.shop_table td{text-align:right;font-family:var(--ui);font-weight:800}
.cart_totals .order-total th,.cart_totals .order-total td{font-size:17px;padding-top:16px}
.wc-proceed-to-checkout{margin-top:16px}
.wc-proceed-to-checkout .button{width:100%;height:54px;font-size:16.5px;font-weight:800}
.woocommerce .cart .actions .coupon{display:flex;gap:8px;margin-bottom:12px}
.woocommerce .cart .actions .coupon input{flex:1 1 auto;min-width:0}
.cart-weight-note{display:flex;gap:11px;margin:0 0 18px;padding:14px 15px;border-radius:13px;background:var(--tint)}
.cart-weight-note svg{flex-shrink:0;width:22px;height:22px;color:var(--blue)}
.cart-weight-note b{display:block;margin-bottom:3px;font-family:var(--ui);font-weight:800;font-size:13.5px}
.cart-weight-note p{margin:0;font-size:12.5px;line-height:1.45;color:var(--ink-2)}

.woocommerce form .form-row{display:flex;flex-direction:column;gap:6px;margin:0 0 14px;padding:0}
.woocommerce form .form-row label{font-family:var(--ui);font-weight:700;font-size:12px;color:var(--ink)}
.woocommerce form .form-row .required{color:var(--red);text-decoration:none}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,
.woocommerce form .form-row select,.select2-container .select2-selection--single,
.woocommerce-page input[type=text],.woocommerce-page input[type=email],.woocommerce-page input[type=tel],
.woocommerce-page input[type=password],.woocommerce-page input[type=number]{
  width:100%;height:52px;padding:0 12px;border:1px solid var(--line);border-radius:12px;background:#fff;
  font-size:16px;color:var(--ink);-webkit-appearance:none}
.woocommerce form .form-row textarea{height:96px;padding:12px}
.woocommerce form .form-row input.input-text:focus,.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus{border:2px solid var(--blue);outline:none;
  box-shadow:0 0 0 3px rgba(11,87,199,.16)}
.select2-container .select2-selection--single{display:flex;align-items:center}
.select2-container--default .select2-selection--single .select2-selection__rendered{padding:0;line-height:1.4}
.select2-container--default .select2-selection--single .select2-selection__arrow{height:50px}
.woocommerce form.checkout h3,.woocommerce-billing-fields h3{font-size:18px;margin:0 0 14px}
#customer_details{margin-bottom:24px}
#order_review_heading{font-size:18px;margin:0 0 12px}
#order_review{padding:18px;border:1px solid var(--line);border-radius:16px;background:#fff}
#payment ul.payment_methods{margin:0 0 14px;padding:0;list-style:none;border:0}
#payment ul.payment_methods li{margin:0 0 10px;padding:12px 14px;border:1px solid var(--line);
  border-radius:12px;background:#fff;list-style:none}
#payment ul.payment_methods li.is-selected{border:2px solid var(--blue);background:var(--blue-t)}
#payment ul.payment_methods li label{display:inline-flex;align-items:center;gap:9px;font-family:var(--ui);
  font-weight:700;font-size:14px;cursor:pointer}
#payment ul.payment_methods li input[type=radio]{width:20px;height:20px;accent-color:var(--blue);margin:0}
#payment ul.payment_methods li img{height:22px;width:auto;margin-left:4px}
#payment div.payment_box{margin:10px 0 0;padding:0;background:transparent;font-size:13px;color:var(--ink-2)}
#payment div.payment_box::before{display:none}
#payment .place-order{padding:0;margin-top:6px}
#place_order{width:100%;height:56px;font-size:17px;font-weight:800}
.woocommerce-terms-and-conditions-wrapper{margin-bottom:12px;font-size:12.5px}
.woocommerce form .form-row.woocommerce-validated input.input-text{border-color:var(--green)}
.woocommerce form .form-row.woocommerce-invalid input.input-text{border-color:var(--red)}
.pay-with{margin:0 0 12px}
.pay-with__label{margin:0 0 8px;font-family:var(--ui);font-weight:700;font-size:11px;letter-spacing:.9px;
  text-transform:uppercase;color:var(--mut)}
.checkout-assurance{margin:12px 0 0;font-size:11.5px;line-height:1.5;color:var(--mut);text-align:center}

/* ============================== 11. trang tĩnh, tìm kiếm, 404 ============================== */
.page-hd{padding:18px 0 6px}
.page-hd h1{font-size:28px}
.entry-content{font-size:15px;line-height:1.65;color:var(--ink-2);max-width:72ch}
/* Giỏ hàng, thanh toán, tài khoản nằm trong .entry-content của trang tĩnh — không được bóp
   theo bề rộng dễ đọc, nếu không cả bảng giỏ hàng bị ép còn một nửa màn hình. */
.woocommerce-page .entry-content,.woocommerce-cart .entry-content,
.woocommerce-checkout .entry-content,.woocommerce-account .entry-content{max-width:none}
.entry-content h2{font-size:21px;margin:26px 0 10px;color:var(--ink)}
.entry-content h3{font-size:17px;margin:20px 0 8px;color:var(--ink)}
.entry-content ul,.entry-content ol{padding-left:20px}
.entry-content li{margin-bottom:7px}
.entry-content table{width:100%;border-collapse:collapse;margin:16px 0;font-size:14px}
.entry-content th,.entry-content td{padding:10px;border:1px solid var(--line);text-align:left}
.entry-content th{background:var(--tint);font-family:var(--ui);font-weight:700}
.entry-content a{text-decoration:underline}
.accordion__item{border-bottom:1px solid var(--line)}
.accordion__item summary,.accordion__item h3{font-family:var(--ui);font-weight:700;font-size:14.5px;
  padding:13px 0;cursor:pointer;margin:0}
.no-results{padding:30px 0}

/* ============================== 12. chân trang + thanh tab ============================== */
.site-footer{margin-top:28px;padding:24px 0 20px;background:var(--navy);color:#c9d9f5}
.site-footer a{color:#c9d9f5;font-size:12.5px}
.site-footer a:hover{color:#fff}
.ft-cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 14px}
.ft-cols b,.ft-cols h2{display:block;margin-bottom:9px;font-family:var(--ui);font-weight:800;font-size:12.5px;
  color:#fff}
.ft-cols ul{margin:0;padding:0;list-style:none}
.ft-cols a{display:block;padding:4px 0}
.ft-pay{margin-top:18px}
.ft-pay p{margin:0 0 8px;font-family:var(--ui);font-weight:700;font-size:11px;letter-spacing:.9px;
  text-transform:uppercase;color:#8fb6f2}
.ft-legal{margin:16px 0 0;font-size:11px;line-height:1.5;color:#8fa6c9}

.tabbar{position:fixed;left:0;right:0;bottom:0;z-index:44;width:100%;max-width:100vw;display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  background:#fff;border-top:1px solid var(--line);box-shadow:0 -2px 10px rgba(7,26,60,.07);
  padding-bottom:env(safe-area-inset-bottom,0px)}
.tabbar a{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;
  height:62px;color:var(--mut);font-family:var(--ui);font-weight:500;font-size:10px;text-decoration:none}
.tabbar a.is-on{color:var(--blue);font-weight:700}
.tabbar svg{width:21px;height:21px}
.tabbar .cart-count{top:8px;right:calc(50% - 20px)}
body{padding-bottom:62px}
body.single-product{padding-bottom:124px}

/* ============================== 13. máy tính bảng ============================== */
@media (min-width:640px){
  :root{--pad:22px}
  ul.products,.grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 16px}
  .depts{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
  .dept b{font-size:13px}
  .dept span{font-size:11.5px}
  .shelf{grid-template-columns:repeat(3,minmax(0,1fr))}
  .shelf>*:nth-child(n+5){display:block}
  .shelf>*:nth-child(n+7){display:none}
  .hero-img{height:300px}
  .hero-card{max-width:560px;margin-top:-72px;padding:22px}
  .hero-card h1{font-size:30px}
  .card-name{font-size:13.5px}
  .card-price{font-size:21px}
  .vals{padding:20px}
  .val{flex-direction:row;text-align:left;gap:10px;align-items:center}
  .ft-cols{grid-template-columns:repeat(4,minmax(0,1fr))}
}

/* ============================== 14. máy tính ============================== */
@media (min-width:1000px){
  :root{--pad:40px}
  body{font-size:15.5px;padding-bottom:0}
  body.single-product{padding-bottom:0}
  .tabbar,.buybar{display:none}
  .header-inner{flex-direction:row;align-items:center;gap:22px;padding-top:14px;padding-bottom:14px}
  .hd-top{display:contents}
  .brand{order:1}
  .brand__logo{height:42px;max-width:230px}
  .hd-search{order:2;flex:1 1 auto;max-width:620px;height:48px}
  .header-tools{order:3;margin-left:auto;gap:14px}
  .hd-ship{display:none}
  .hd-nav{display:block;background:#fff;border-bottom:1px solid var(--line)}
  .hd-nav .wrap{display:flex;align-items:center;gap:24px;height:50px;overflow-x:auto;scrollbar-width:none}
  .hd-nav .wrap::-webkit-scrollbar{display:none}
  .hd-nav a{font-family:var(--ui);font-weight:600;font-size:13.5px;color:var(--ink);white-space:nowrap}
  .hd-nav a:hover{color:var(--blue)}
  .hd-nav a.all{margin-left:auto;font-weight:700;color:var(--blue)}
  .chips{display:none}
  ul.products,.grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:24px 20px}
  .depts{grid-template-columns:repeat(6,minmax(0,1fr));gap:20px}
  ul.products.shelf,.shelf{grid-template-columns:repeat(5,minmax(0,1fr))}
  .shelf>*:nth-child(n+5){display:block}
  .shelf>*:nth-child(n+6){display:none}
  .hero{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:24px;align-items:stretch;
    max-width:var(--wrap);margin:28px auto 0;padding:0 var(--pad)}
  .hero-img{height:392px;border-radius:18px}
  .hero-card{position:static;margin:0;display:flex;flex-direction:column;justify-content:center;padding:34px;
    border-radius:18px;background:var(--tint);box-shadow:none;max-width:none}
  .hero-card h1{font-size:40px;line-height:1.08;letter-spacing:-1.4px}
  .hero-card p{font-size:15.5px}
  .hero-card .btn{align-self:flex-start;height:52px;padding:0 28px;font-size:16px}
  .sec{padding-top:36px}
  .sec-hd h2{font-size:24px}
  .vals{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:34px;padding:24px 28px;gap:24px}
  .val b{font-size:14.5px}
  .val span{font-size:12.5px}
  .ship-banner{align-items:center;padding:20px 24px}
  .ship-banner p{font-size:14px}
  .pdp{display:grid;grid-template-columns:minmax(0,1fr) 440px;gap:40px;align-items:start;
    padding-top:20px}
  .pdp-body{padding-top:0}
  .pdp h1.product_title{font-size:25px}
  .pdp-wide{grid-column:1 / -1}
  .about p,.about ul li{max-width:78ch}
  .specs dl{max-width:760px}
  .cat-hd h1{font-size:34px}
  .toolbar select{flex:0 0 260px}
  .woocommerce-cart-form{float:none;width:100%}
  /* :has() để trang giỏ rỗng không bị ép vào lưới hai cột */
  .woocommerce-cart .woocommerce:has(form.woocommerce-cart-form){display:grid;
    grid-template-columns:minmax(0,1fr) 380px;gap:0 40px;align-items:start}
  .woocommerce-cart .woocommerce > *{grid-column:1 / -1}
  .woocommerce-cart .woocommerce > form.woocommerce-cart-form{grid-column:1;grid-row:2}
  .woocommerce-cart .woocommerce > .cart-collaterals{grid-column:2;grid-row:2;width:auto;
    position:sticky;top:110px;padding:24px;border:1px solid var(--line);border-radius:16px}
  .woocommerce-cart .cart-collaterals .cart_totals{width:100%;float:none}

  .woocommerce-checkout form.checkout{display:grid;grid-template-columns:minmax(0,1fr) 440px;
    gap:0 40px;align-items:start}
  .woocommerce-checkout form.checkout > *{grid-column:1 / -1}
  .woocommerce-checkout form.checkout > #customer_details{grid-column:1;grid-row:2 / span 2;
    margin-bottom:0;width:100%;float:none}
  .woocommerce-checkout form.checkout > #order_review_heading{grid-column:2;grid-row:2;margin:0 0 12px}
  .woocommerce-checkout form.checkout > #order_review{grid-column:2;grid-row:3;
    position:sticky;top:110px}
  .woocommerce form .form-row-first,.woocommerce form .form-row-last{width:100%}
  #customer_details .col2-set{display:grid;grid-template-columns:1fr;gap:0}
  #customer_details .col-1,#customer_details .col-2{width:100%;float:none}
}

/* ============================== 15. chân trang của theme cũ, gắn lại kiểu mới ==== */
.footer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 14px}
.footer-grid h3{margin:0 0 9px;font-family:var(--ui);font-weight:800;font-size:12.5px;color:#fff}
.footer-grid ul{margin:0;padding:0;list-style:none}
.footer-grid li{margin:0}
.footer-grid a{display:block;padding:4px 0;font-size:12.5px}
.footer-brand{grid-column:1 / -1}
.footer-brand .brand{font-family:var(--ui);font-weight:800;font-size:17px;color:#fff}
.footer-brand p{margin:8px 0 0;font-size:12.5px;line-height:1.55;color:#8fa6c9}
.footer-contact{margin-top:12px;font-size:12.5px;line-height:1.6;color:#8fa6c9}
.footer-contact a{display:inline;font-size:12.5px}
.addr-line{display:block}
.footer-bar{display:flex;flex-direction:column;gap:14px;margin-top:20px;padding-top:18px;
  border-top:1px solid rgba(255,255,255,.14)}
.footer-bar p{font-size:11px;line-height:1.5;color:#8fa6c9}
.footer-bar ul{display:flex;flex-wrap:wrap;gap:14px;margin:0;padding:0;list-style:none}
.site-footer .pay-row{gap:6px}
.site-footer .pay-logo{height:22px}
.site-footer .pay-chip{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.2);color:#fff}

/* dải thông báo trên cùng: điện thoại chỉ cần một dòng */
@media (max-width:639px){
  .announce .wrap span:nth-child(n+2){display:none}
  .announce{font-size:11px;padding:6px 12px}
}
@media (min-width:1000px){
  .footer-grid{grid-template-columns:1.6fr 1fr 1fr 1fr;gap:32px}
  .footer-brand{grid-column:auto}
  .footer-bar{flex-direction:row;align-items:center;justify-content:space-between}
  .footer-bar p{margin:0}
}

/* ============================== 16. vụn vặt ============================== */
.trust-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:22px 0;padding:16px 10px;
  border-radius:14px;background:var(--tint)}
.trust-item{display:flex;flex-direction:column;align-items:center;gap:5px;text-align:center}
.trust-item svg{width:22px;height:22px;color:var(--blue)}
.trust-item strong{font-family:var(--ui);font-weight:700;font-size:11.5px;line-height:1.2}
.trust-item span{font-size:10.5px;color:var(--mut)}
.lightbox{position:fixed;inset:0;z-index:80;display:none;align-items:center;justify-content:center;
  padding:20px;background:rgba(7,26,60,.92)}
.lightbox.is-open{display:flex}
.lightbox img{max-width:100%;max-height:90vh;border-radius:12px}
.lightbox__close{position:absolute;top:14px;right:14px;width:44px;height:44px;border:0;border-radius:999px;
  background:rgba(255,255,255,.14);color:#fff;cursor:pointer}
@media (min-width:640px){
  .trust-item{flex-direction:row;text-align:left;gap:10px;align-items:center}
}

/* ============================== 17. trang sản phẩm: gắn vào markup sẵn có ==== */
.product-layout{display:block;padding-top:4px}
.product-gallery-col{margin-bottom:16px}
.gallery__stage{position:relative;display:block;border-radius:14px;overflow:hidden;background:var(--soft);
  aspect-ratio:1}
.gallery__stage img,.gallery__img{width:100%;height:100%;object-fit:cover;display:none}
.gallery__img.is-active{display:block}
.gallery__zoom{position:absolute;right:10px;bottom:10px;display:inline-flex;align-items:center;
  justify-content:center;width:40px;height:40px;border:0;border-radius:999px;background:rgba(255,255,255,.92);
  color:var(--ink);cursor:pointer;box-shadow:0 2px 8px rgba(7,26,60,.18)}
.gallery__thumbs{display:flex;gap:8px;margin-top:10px;overflow-x:auto;max-width:100%;scrollbar-width:none;
  padding-bottom:2px}
.gallery__thumbs::-webkit-scrollbar{display:none}
.gallery__thumb{width:64px;height:64px;padding:0;border:1px solid var(--line);border-radius:10px;
  overflow:hidden;background:var(--soft);cursor:pointer;flex-shrink:0}
.gallery__thumb.is-active,.gallery__thumb[aria-current="true"]{border:2px solid var(--blue)}
.gallery__thumb img{width:100%;height:100%;object-fit:cover}

.summary.entry-summary{display:flex;flex-direction:column;gap:14px}
.product-extra{margin-top:18px}
.summary-head{display:flex;flex-direction:column;gap:8px}
.product-cats{margin:0;font-size:12px}
.product-cats a{color:var(--blue)}
h1.product_title{font-size:20px;line-height:1.3;letter-spacing:-.3px;font-weight:700;margin:0;
  font-family:var(--ui)}
.price-row{margin:0}
.price-row .price,.summary .price{font-family:var(--ui);font-weight:800;font-size:33px;letter-spacing:-1px;
  margin:0;color:var(--ink);display:block}
.summary .price del{display:none}
.summary .price ins{text-decoration:none}
.summary .price .amount{font-weight:800}
.price-note{margin:0;font-size:12px;color:var(--mut)}
.summary form.cart{display:flex;flex-direction:column;gap:14px;margin:0}
.summary .single_add_to_cart_button{width:100%;height:54px;font-size:16.5px;font-weight:800}
.summary .solina-buy-now,.summary .buy-now{width:100%;height:50px;background:#fff;color:var(--blue);
  border:1.5px solid var(--blue);font-weight:800}
.summary .solina-buy-now:hover,.summary .buy-now:hover{background:var(--blue-t);color:var(--blue-d)}
.summary .stock{font-size:12.5px;color:var(--green);font-family:var(--ui);font-weight:700;margin:0}
.summary .stock.out-of-stock{color:var(--red)}

.table-wrap{overflow-x:auto}
.spec-table{width:100%;border-collapse:collapse;font-size:13px}
.spec-table th,.spec-table td{padding:9px 0;border-bottom:1px solid var(--line);text-align:left;
  vertical-align:top}
.spec-table th{width:40%;font-family:var(--ui);font-weight:600;color:var(--mut)}
.spec-table td{font-family:var(--ui);font-weight:700}

.accordion{border-top:1px solid var(--line)}
.accordion__item{border-bottom:1px solid var(--line)}
.accordion__trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;
  padding:14px 0;border:0;background:none;cursor:pointer;font-family:var(--ui);font-weight:700;
  font-size:14px;text-align:left;color:var(--ink)}
.accordion__trigger svg{width:18px;height:18px;flex-shrink:0;color:var(--mut);transition:transform .18s ease}
.accordion__trigger[aria-expanded="true"] svg{transform:rotate(45deg)}
.accordion__panel{padding:0 0 14px;font-size:13px;line-height:1.55;color:var(--ink-2)}
.accordion__panel p:last-child{margin-bottom:0}

.product-description{padding-top:26px}
.product-description h2{font-size:18px;margin-bottom:10px}
.prose{font-size:13.5px;line-height:1.6;color:var(--ink-2)}
.prose p{margin:0 0 11px}
.prose h2,.prose h3{font-size:15.5px;margin:18px 0 8px;color:var(--ink);font-family:var(--ui);font-weight:700}
.prose ul,.prose ol{padding-left:20px}
.prose img{border-radius:12px;margin:12px 0}
.prose table{width:100%;border-collapse:collapse;font-size:12.5px;margin:12px 0}
.prose th,.prose td{padding:8px;border:1px solid var(--line);text-align:left}
.desc-toggle{position:absolute;opacity:0;pointer-events:none}
.desc-clamp{max-height:320px;overflow:hidden;position:relative}
.desc-clamp::after{content:"";position:absolute;left:0;right:0;bottom:0;height:70px;
  background:linear-gradient(rgba(255,255,255,0),#fff)}
.desc-toggle:checked ~ .desc-clamp{max-height:none}
.desc-toggle:checked ~ .desc-clamp::after{display:none}
.desc-more{margin-top:12px}
.desc-toggle:checked ~ .desc-more{display:none}

.related-section{padding-top:8px}
.related-section h2,.related h2,.up-sells h2{font-size:19px;margin-bottom:12px}
.related-section .products{margin-top:12px}

/* thanh mua cố định dưới đáy điện thoại */
.solina-buybar{position:fixed;left:0;right:0;bottom:62px;z-index:43;width:100%;max-width:100vw;
  display:flex;align-items:center;gap:12px;
  padding:10px var(--pad) calc(10px + env(safe-area-inset-bottom,0px));background:#fff;
  border-top:1px solid var(--line);box-shadow:0 -3px 14px rgba(7,26,60,.1)}
.solina-buybar>div{flex:1 1 auto;min-width:0}
.solina-buybar b{display:block;font-family:var(--ui);font-weight:800;font-size:19px}
.solina-buybar span{display:block;font-size:10.5px;color:var(--mut)}
.solina-buybar .btn{height:46px;flex-shrink:0;padding:0 20px}
body.single-product{padding-bottom:140px}

/* nút chat của trợ lý phải nằm trên thanh tab, không đè lên */
body .sai-launch{bottom:calc(76px + env(safe-area-inset-bottom,0px))}
body.single-product .sai-launch{bottom:calc(150px + env(safe-area-inset-bottom,0px))}
body .sai-panel{bottom:calc(72px + env(safe-area-inset-bottom,0px));
  height:min(600px,calc(100vh - 150px))}

@media (min-width:1000px){
  /* Cột phải (mua hàng) dài hơn cột trái gần 1000px, để nguyên thì dưới ảnh trống hoác.
     Đặt khối chi tiết xuống ô trái hàng 2 cho lấp đầy; DOM vẫn giữ thứ tự cho điện thoại. */
  .product-layout{display:grid;grid-template-columns:minmax(0,1fr) 440px;gap:32px 40px;
    align-items:start;padding-top:20px}
  .product-gallery-col{margin-bottom:0;grid-column:1;grid-row:1}
  .product-layout>.summary{grid-column:2;grid-row:1 / span 2}
  .product-extra{grid-column:1;grid-row:2}
  h1.product_title{font-size:25px}
  .product-description,.related-section{grid-column:1 / -1}
  .prose{max-width:78ch}
  .spec-table{max-width:760px}
  .desc-clamp{max-height:none}
  .desc-clamp::after,.desc-more{display:none}
  .solina-buybar{display:none}
  body.single-product{padding-bottom:0}
  body .sai-launch{bottom:20px}
  body .sai-panel{bottom:20px;height:min(600px,calc(100vh - 40px))}
}

/* ============================== 18. thắng CSS mặc định của WooCommerce =========
   woocommerce.css dùng selector kiểu `.woocommerce div.product p.price` nên ăn đứt
   selector một lớp. Khối này chỉ để nâng độ ưu tiên, không thêm kiểu mới. */
.woocommerce div.product .summary .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price{
  font-family:var(--ui);font-weight:800;font-size:33px;line-height:1.1;letter-spacing:-1px;margin:0;
  color:var(--ink);display:block}
.woocommerce div.product .summary .price del,
.woocommerce div.product p.price del{display:none}
.woocommerce div.product .summary .price ins{text-decoration:none;font-weight:800}
.woocommerce div.product .woocommerce-variation-price .price{font-size:26px}

.woocommerce div.product form.cart .button,
.woocommerce div.product form.cart button.single_add_to_cart_button{
  width:100%;height:54px;padding:0 22px;border-radius:999px;background:var(--blue);color:#fff;
  font-family:var(--ui);font-weight:800;font-size:16.5px;float:none}
.woocommerce div.product form.cart .button:hover{background:var(--blue-d)}
.woocommerce div.product form.cart .solina-buy-now,
.woocommerce div.product form.cart .buy-now{background:#fff;color:var(--blue);border:1.5px solid var(--blue);
  height:50px;font-size:15.5px}
.woocommerce div.product form.cart .solina-buy-now:hover{background:var(--blue-t);color:var(--blue-d)}
.woocommerce div.product form.cart{display:flex;flex-direction:column;gap:14px}
.woocommerce div.product form.cart .variations{margin-bottom:0}
.woocommerce div.product form.cart div.quantity{float:none;margin:0;width:auto;align-self:flex-start}
/* woocommerce.css cho .summary float:right;width:48% — trong lưới của mình thành cột 211px. */
.woocommerce div.product div.summary,.woocommerce div.product .entry-summary{float:none;width:auto;
  margin-bottom:0;clear:none}
.woocommerce div.product div.images{float:none;width:auto;margin-bottom:0}
.woocommerce div.product .woocommerce-tabs{clear:none}

.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .card-price{
  font-family:var(--ui);font-weight:800;font-size:19px;color:var(--ink);letter-spacing:-.3px;display:block;
  margin:0}
.woocommerce ul.products li.product .card-price del{display:none}
.woocommerce ul.products li.product .card-price ins{text-decoration:none}
.woocommerce ul.products li.product a.button,
.woocommerce ul.products li.product .btn-add{
  width:100%;height:38px;margin:0;padding:0 10px;border:1px solid var(--blue);border-radius:999px;
  background:var(--blue-t);color:var(--blue-d);font-family:var(--ui);font-weight:700;font-size:13px;
  display:inline-flex;align-items:center;justify-content:center}
.woocommerce ul.products li.product a.button:hover,
.woocommerce ul.products li.product .btn-add:hover{background:#dbe8fd;color:var(--blue-d)}
.woocommerce ul.products li.product a.button.loading::after{display:none}
.woocommerce ul.products li.product a.added_to_cart{display:none}
.woocommerce ul.products li.product .card-name{font-family:var(--tx);font-weight:400}

.woocommerce .quantity .qty{width:56px;height:44px;border:0;text-align:center;font-family:var(--ui);
  font-weight:800;font-size:15px;background:transparent}
.woocommerce table.shop_table td.product-quantity .quantity{border:1px solid var(--line);border-radius:999px}

.woocommerce #respond input#submit,.woocommerce a.button,.woocommerce button.button,
.woocommerce input.button{border-radius:999px;font-family:var(--ui);font-weight:700;line-height:1}
.woocommerce #respond input#submit.alt,.woocommerce a.button.alt,.woocommerce button.button.alt,
.woocommerce input.button.alt{background:var(--blue);color:#fff}
.woocommerce #respond input#submit.alt:hover,.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,.woocommerce input.button.alt:hover{background:var(--blue-d);color:#fff}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button{width:100%;height:54px;font-size:16.5px;
  font-weight:800;display:flex;align-items:center;justify-content:center}
.woocommerce #payment #place_order,.woocommerce-checkout #payment div.form-row{padding:0}
.woocommerce-checkout #payment{background:transparent;border-radius:0}
.woocommerce-checkout #payment ul.payment_methods{border-bottom:0;padding:0}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row select{line-height:normal}

/* ============================== 19. lưới sản phẩm trên trang cửa hàng/danh mục ====
   Ở những trang này body có class .woocommerce nên woocommerce.css khớp bằng
   `.woocommerce ul.products li.product` (float:left; width:22.05%) và thắng selector
   của mình — thẻ co lại còn ~39px. Khối này neo bằng `body.woocommerce` để thắng lại. */
body.woocommerce ul.products,
body.woocommerce-page ul.products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px 12px;margin:0;padding:0;list-style:none}
body.woocommerce ul.products::before,body.woocommerce ul.products::after,
body.woocommerce-page ul.products::before,body.woocommerce-page ul.products::after{content:none;display:none}
body.woocommerce ul.products li.product,
body.woocommerce-page ul.products li.product{float:none;clear:none;width:auto;min-width:0;margin:0;padding:0;
  list-style:none}
body.woocommerce ul.products li.product.first,body.woocommerce ul.products li.product.last,
body.woocommerce-page ul.products li.product.first,body.woocommerce-page ul.products li.product.last{clear:none}
body.woocommerce ul.products li.product a img,
body.woocommerce-page ul.products li.product a img{width:100%;height:auto;margin:0;box-shadow:none}
body.woocommerce ul.products li.product .card-img img,
body.woocommerce-page ul.products li.product .card-img img{aspect-ratio:1;object-fit:cover;
  border-radius:12px;background:var(--soft)}
body.woocommerce ul.products li.product .card,
body.woocommerce-page ul.products li.product .card{height:100%}

/* hàng công cụ: số kết quả của WooCommerce là thẻ <p>, bỏ lề để không lòi ra */
.toolbar .count .woocommerce-result-count,.toolbar .woocommerce-result-count{margin:0;font-size:11.5px;
  color:var(--mut)}
.toolbar .count{min-width:0;overflow:hidden;text-overflow:ellipsis}
.woocommerce .woocommerce-ordering{margin:0;flex:1 1 auto;min-width:0}

/* kệ trang chủ cũng phải theo đúng số cột đã đặt */
body.woocommerce ul.products.shelf,body.woocommerce-page ul.products.shelf{
  grid-template-columns:repeat(2,minmax(0,1fr))}

@media (min-width:640px){
  body.woocommerce ul.products,body.woocommerce-page ul.products{grid-template-columns:repeat(3,minmax(0,1fr));
    gap:20px 16px}
  body.woocommerce ul.products.shelf,body.woocommerce-page ul.products.shelf{
    grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (min-width:1000px){
  body.woocommerce ul.products,body.woocommerce-page ul.products{grid-template-columns:repeat(5,minmax(0,1fr));
    gap:24px 20px}
  body.woocommerce ul.products.shelf,body.woocommerce-page ul.products.shelf{
    grid-template-columns:repeat(5,minmax(0,1fr))}
}

/* ============================== 20. chọn tuỳ chọn, số lượng, phân trang ======== */
.variations{display:flex;flex-direction:column;gap:16px;margin:0}
.variations .label,.swatches__head .label{margin:0;font-family:var(--ui);font-weight:700;font-size:12.5px;
  color:var(--ink)}
.swatches__head{display:flex;align-items:baseline;gap:8px;margin-bottom:8px;flex-wrap:wrap}
.swatches__current{font-size:12.5px;color:var(--mut)}
.swatch-grid{display:flex;flex-wrap:wrap;gap:8px}
.swatch{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;
  min-width:52px;min-height:46px;padding:6px 14px;border:1px solid var(--line);border-radius:10px;
  background:#fff;font-family:var(--ui);font-weight:700;font-size:13.5px;line-height:1.2;color:var(--ink);
  cursor:pointer}
.swatch:hover{border-color:var(--blue)}
.swatch[aria-checked="true"]{border:2px solid var(--blue);background:var(--blue-t);color:var(--blue-d)}
.swatch__price{font-family:var(--ui);font-weight:600;font-size:11px;color:var(--mut)}
.swatch[aria-checked="true"] .swatch__price{color:var(--blue-d)}
.swatches--select .swatch-grid{display:none}
.single_variation_wrap{display:flex;flex-direction:column;gap:14px}
.woocommerce-variation-add-to-cart{display:flex;flex-direction:column;gap:12px}
.reset_variations{align-self:flex-start;font-size:12.5px}

.cart-actions{display:flex;flex-direction:column;gap:10px}
.qty-field{display:inline-flex;align-items:center;align-self:flex-start;border:1px solid var(--line);
  border-radius:999px;overflow:hidden;background:#fff}
.qty-field button{display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;
  padding:0;border:0;background:#fff;cursor:pointer;font-family:var(--ui);font-size:18px;line-height:1;
  color:var(--ink)}
.qty-field button:hover{background:var(--tint)}
.woocommerce .qty-field input.qty,.qty-field input.qty{width:54px;height:46px;padding:0;border:0;
  text-align:center;font-family:var(--ui);font-weight:800;font-size:15px;background:transparent;
  -moz-appearance:textfield}
.qty-field input.qty::-webkit-outer-spin-button,.qty-field input.qty::-webkit-inner-spin-button{
  -webkit-appearance:none;margin:0}

body.woocommerce nav.woocommerce-pagination,.woocommerce-pagination{margin:24px 0 0}
body.woocommerce nav.woocommerce-pagination ul,.woocommerce-pagination ul{display:flex;flex-wrap:wrap;gap:6px;
  justify-content:center;margin:0;padding:0;list-style:none;border:0}
body.woocommerce nav.woocommerce-pagination ul li,.woocommerce-pagination ul li{border:0;margin:0;
  overflow:visible;float:none}
body.woocommerce nav.woocommerce-pagination ul li a,
body.woocommerce nav.woocommerce-pagination ul li span{display:inline-flex;align-items:center;
  justify-content:center;min-width:44px;height:44px;padding:0 12px;border:1px solid var(--line);
  border-radius:10px;font-family:var(--ui);font-weight:700;font-size:14px;color:var(--ink);background:#fff}
body.woocommerce nav.woocommerce-pagination ul li a:hover{border-color:var(--blue);color:var(--blue)}
body.woocommerce nav.woocommerce-pagination ul li span.current{background:var(--navy);border-color:var(--navy);
  color:#fff}

/* ô chấm sao khi viết đánh giá — mặc định 24px, khó bấm trên điện thoại */
.woocommerce #review_form #respond p.stars a{width:34px;height:34px;line-height:34px;font-size:19px}
.woocommerce #reviews #comments ol.commentlist li .comment-text{border-radius:14px;border-color:var(--line)}
.woocommerce #review_form #respond textarea{min-height:120px;border-radius:12px;border:1px solid var(--line);
  padding:12px}

/* ============================== 21. ảnh có chiều cao cố định ==================
   woocommerce-layout.css có `.woocommerce img, .woocommerce-page img{height:auto;max-width:100%}`
   với độ ưu tiên (0,1,1) — cao hơn `.pay-logo` hay `.brand__logo` (0,1,0). Trên mọi trang
   cửa hàng/sản phẩm/giỏ, logo header phồng lên 66px và logo thanh toán giãn ra 362x232.
   Mọi selector dưới đây đều từ (0,1,2) trở lên nên thắng lại. */
body img.brand__logo{height:34px;width:auto;max-width:190px;object-fit:contain}
body img.pay-logo,body .pay-row img,body .pay-methods__list img,body .paymarks img{
  height:24px;width:auto;max-width:none;border-radius:4px}
body .site-footer .pay-row img,body .site-footer img.pay-logo{height:22px}
body #payment ul.payment_methods li img,body .woocommerce #payment ul.payment_methods li img{
  height:22px;width:auto;max-width:none;margin:0 0 0 6px;display:inline-block;vertical-align:middle;float:none}
body img.hero-img{height:214px;width:100%;object-fit:cover}
body .gallery__thumb img,body .gal-thumbs img{width:100%;height:100%;object-fit:cover}
body .woocommerce table.cart img,body table.cart img{width:76px;height:76px;object-fit:cover;
  border-radius:11px;background:var(--soft)}
body .paypal-mark img,body img.paypal-mark{height:24px;width:auto;max-width:none}

/* ============================== 22. số trên biểu tượng giỏ ====================
   Fragment của WooCommerce in lại <span class="cart-count" data-count="N">N</span> và KHÔNG
   kèm class is-on, nên badge mãi ẩn — khách bấm thêm giỏ thấy không có gì đổi, tưởng hỏng. */
.cart-count[data-count]:not([data-count="0"]):not([data-count=""]){display:inline-flex}

/* phản hồi rõ ràng sau khi thêm vào giỏ ngay trên thẻ sản phẩm */
body.woocommerce ul.products li.product a.added_to_cart,
.card a.added_to_cart{display:inline-flex;align-items:center;justify-content:center;gap:4px;height:30px;
  margin:2px 0 0;font-family:var(--ui);font-weight:700;font-size:12px;color:var(--green);
  text-decoration:underline;background:none;border:0;padding:0;width:100%}
body.woocommerce ul.products li.product a.button.added,
.card .btn-add.added{background:#eaf6ee;border-color:var(--green);color:var(--green)}
body.woocommerce ul.products li.product a.button.loading,
.card .btn-add.loading{opacity:.6;pointer-events:none}

@media (min-width:640px){
  body img.hero-img{height:300px}
}
@media (min-width:1000px){
  body img.brand__logo{height:42px;max-width:230px}
  body img.hero-img{height:392px}
}

/* ============================== 23. nút chat nổi ==============================
   Nút "Ask us" nổi ở góc phải dưới che mất nút "Thêm vào giỏ" của thẻ sản phẩm cuối
   (đo được: elementFromPoint ngay giữa nút thêm giỏ trả về chính cái nút chat).
   Trên điện thoại thu lại thành nút tròn chỉ còn biểu tượng để bớt che. */
@media (max-width:999px){
  body .sai-launch{width:52px;height:52px;padding:0;border-radius:999px;justify-content:center;gap:0}
  body .sai-launch span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  body .sai-launch svg{width:22px;height:22px}
}

/* ============================== 24. cỡ riêng cho vài icon ===================== */
.pay-methods__label svg,.checkout-assurance svg{width:14px;height:14px;margin-right:5px;
  vertical-align:-2px}
.pay-methods__label{display:inline-flex;align-items:center;gap:5px}
.announce svg{width:14px;height:14px}
.crumb svg,.breadcrumbs svg{width:12px;height:12px}
.sec-hd a svg{width:13px;height:13px}
.empty-state svg,.no-results svg{width:40px;height:40px;color:var(--mut)}
.accordion__trigger svg{width:18px;height:18px}
.stock svg{width:17px;height:17px}
.info svg{width:22px;height:22px}
.val svg,.trust-item svg,.ship-banner svg{width:24px;height:24px}
.icon-btn svg,.tabbar svg{width:20px;height:20px}
.hd-search svg{width:19px;height:19px}
.hd-search button svg{width:18px;height:18px}
.qty-field button svg,.quantity .qty-step svg{width:18px;height:18px}
.btn svg,.button svg{width:16px;height:16px}
.hero-card .btn svg{width:15px;height:15px}
.about ul li svg{width:16px;height:16px}
.cart-weight-note svg{width:22px;height:22px}

/* ============================== 25. form đánh giá ============================= */
.woocommerce #review_form #respond input#submit,
.woocommerce #reviews input.submit,.comment-form input.submit{display:inline-flex;align-items:center;
  justify-content:center;height:48px;padding:0 24px;border:0;border-radius:999px;background:var(--blue);
  color:#fff;font-family:var(--ui);font-weight:700;font-size:15px;cursor:pointer;width:auto}
.woocommerce #review_form #respond input#submit:hover,.comment-form input.submit:hover{background:var(--blue-d)}
.woocommerce #reviews #respond .comment-form-author input,
.woocommerce #reviews #respond .comment-form-email input,
.comment-form input[type=text],.comment-form input[type=email]{width:100%;height:52px;padding:0 12px;
  border:1px solid var(--line);border-radius:12px;background:#fff;font-size:16px}
.woocommerce #reviews #respond label,.comment-form label{display:block;margin-bottom:6px;
  font-family:var(--ui);font-weight:700;font-size:12px}
.woocommerce #reviews h2,.woocommerce #reviews #comments h2{font-size:19px;margin-bottom:12px}
.woocommerce #reviews #respond .comment-reply-title{font-family:var(--ui);font-weight:800;font-size:16px;
  display:block;margin-bottom:10px}

/* ============================== 26. chốt nốt mấy chỗ mong manh ================
   Cùng gốc với mục 21: selector (0,1,0) thua `.woocommerce img` (0,1,1). Ba chỗ dưới
   hiện còn chạy đúng chỉ nhờ hoà độ ưu tiên và thứ tự nạp file — chốt lại cho chắc. */
body .gallery__stage img,body img.gallery__img{width:100%;height:100%;object-fit:cover}
body .paypal-mark img,body img.paypal-mark__img,body img.paypal-mark{height:24px;width:auto;
  max-width:none;display:block}
body .pay-gateway-marks{display:inline-flex;align-items:center;gap:6px;vertical-align:middle}

/* ============================== 27. giãn dòng cho chữ to =====================
   Chữ 33px mà giãn dòng 1.1 thì hộp chữ (39px) cao hơn hộp dòng (36px) — giá nào đủ dài
   để xuống dòng là hai dòng chạm nhau. Nới ra và không cho tách một số tiền làm đôi. */
body .woocommerce div.product .summary .price,
body .woocommerce div.product p.price,
body .price-row .price{line-height:1.22}
body .summary .price .woocommerce-Price-amount,
body .card-price .woocommerce-Price-amount,
body .solina-buybar .woocommerce-Price-amount{white-space:nowrap}
body .hero-card h1{line-height:1.18}
body .card-price{line-height:1.25}
body h1,body h2,body h3{line-height:1.25}
body .cat-hd h1,body .hero-card h1,body h1.product_title{line-height:1.2}
@media (min-width:1000px){
  body .hero-card h1{line-height:1.12}
}

/* ============================== 28. thanh quản trị WordPress ==================
   Khi đăng nhập, #wpadminbar nằm position:fixed trên cùng. Header của theme dính ở
   top:0 nên cuộn lên là chui xuống DƯỚI thanh đó — logo và ô tìm kiếm bị che mất.
   WordPress để thanh cao 32px từ 783px trở lên, 46px ở khoảng 601–782px, và dưới
   601px thì thanh chuyển sang absolute (tự cuộn đi) nên không cần bù. */
body.admin-bar .site-header{top:46px}
@media screen and (min-width:783px){
  body.admin-bar .site-header{top:32px}
}
@media screen and (max-width:600px){
  body.admin-bar .site-header{top:0}
}

/* ============================== 29. ô nhập thẻ Airwallex + nút ví =============
   Theme cũ có riêng khối dựng ô thẻ thành ô 46px có viền; viết lại theme mới nên
   hụt mất, ô thẻ rơi về mặc định của Airwallex: rộng 266px, cao 40px, lọt thỏm
   giữa form 330px — nhìn như không có chỗ nhập thẻ. Dựng lại theo đúng kiểu ô
   nhập của theme (cao 52px, bo 12px, viền sáng lên khi bấm vào). */
.woocommerce-checkout #payment div.payment_box.payment_method_airwallex_card{padding:14px 0 0}
.woocommerce-checkout .airwallex-container{width:100%}
.woocommerce-checkout .airwallex-container .awx-new-card-title{margin:0 0 8px;font-family:var(--ui);
  font-weight:700;font-size:12px;color:var(--ink);letter-spacing:0}
.woocommerce-checkout #airwallex-card{display:block;width:100%;min-height:52px;padding:15px 14px;
  border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:none;transition:none}
.woocommerce-checkout #airwallex-card.awx-focused,
.woocommerce-checkout #airwallex-card:focus-within{border:2px solid var(--blue);padding:14px 13px;
  box-shadow:0 0 0 3px rgba(11,87,199,.16)}
.woocommerce-checkout #airwallex-card iframe{width:100%!important;min-height:22px;display:block}
.woocommerce-checkout .awx-card-note{margin:10px 0 0;font-size:11.5px;line-height:1.5;color:var(--mut)}

/* hàng chọn cổng: nút tròn, chữ và logo thẳng hàng nhau */
.woocommerce-checkout #payment ul.payment_methods li.payment_method_airwallex_card > label{
  display:inline-flex!important;align-items:center;flex-wrap:wrap;gap:6px;max-width:calc(100% - 30px);
  margin:0 0 0 8px;line-height:1.4;vertical-align:middle}

/* Apple Pay / Google Pay đặt phía trên: bỏ khung mặc định của Airwallex,
   hai nút bằng nhau, xuống một cột trên điện thoại cho khỏi bị cắt */
.pay-with{margin:0 0 14px}
.pay-with__label{margin:0 0 8px;font-family:var(--ui);font-weight:700;font-size:11px;letter-spacing:.9px;
  text-transform:uppercase;color:var(--mut)}
.woocommerce-checkout #awx-express-checkout-wrapper{padding-top:0!important;margin:0}
.woocommerce-checkout #awx-express-checkout-button.awx-express-checkout-button-set{
  display:grid;grid-template-columns:minmax(0,1fr);gap:10px;width:100%;margin:0;padding:0;border:0;
  border-radius:0;background:transparent;box-shadow:none}
.woocommerce-checkout #awx-express-checkout-button > legend{position:absolute;width:1px;height:1px;
  overflow:hidden;clip:rect(0 0 0 0);margin:0;padding:0}
/* Airwallex đặt margin:0 0 8px 15px cho nút ví bằng selector có id (1,1,0) nên
   selector hai lớp của mình thua — nút bị đẩy lệch phải 15px ra ngoài khung. */
.woocommerce-checkout #awx-express-checkout-button .awx-ec-button,
.woocommerce-checkout .pay-with .awx-ec-button{margin:0;min-width:0;max-width:100%;width:100%}
.woocommerce-checkout .awx-ec-button iframe{width:100%!important}
.pay-with__or{display:flex;align-items:center;gap:12px;margin:14px 0;color:var(--mut);font-size:11.5px}
.pay-with__or::before,.pay-with__or::after{content:"";flex:1 1 auto;height:1px;background:var(--line)}
/* Không xếp hai nút ví thành 2 cột: cột thanh toán bên phải chỉ rộng 402px, chia đôi
   còn 196px trong khi nút Google Pay có bề ngang tối thiểu ~211px nên bị lòi ra 15px.
   Xếp dọc thì nút nào cũng đủ rộng ở mọi khổ màn hình. */
.woocommerce-checkout .awx-ec-button,
.woocommerce-checkout .awx-ec-button > *{min-width:0;max-width:100%}
