/* ============================================================
   MITU HOUSE — Boutique nơ & phụ kiện
   Phong cách: Tiểu thư · Tối giản · Nữ tính (nữ 18–35)
   Brand: Linotte + đỏ gạch #A42322 + kem #F1E3D8 (BrandGuideline)
   ============================================================ */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Linotte";
  src: url("fonts/Linotte-Light.woff2") format("woff2"), url("fonts/Linotte-Light.ttf") format("truetype");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Linotte";
  src: url("fonts/Linotte-Regular.woff2") format("woff2"), url("fonts/Linotte-Regular.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Linotte";
  src: url("fonts/Linotte-SemiBold.woff2") format("woff2"), url("fonts/Linotte-SemiBold.ttf") format("truetype");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Linotte";
  src: url("fonts/Linotte-Bold.woff2") format("woff2"), url("fonts/Linotte-Bold.ttf") format("truetype");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Linotte";
  src: url("fonts/Linotte-Heavy.woff2") format("woff2"), url("fonts/Linotte-Heavy.ttf") format("truetype");
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("fonts/PlayfairDisplay-var.woff2") format("woff2"), url("fonts/PlayfairDisplay-var.ttf") format("truetype-variations");
  font-weight: 400 800; font-style: normal; font-display: swap;
}

/* ---------- Design tokens ---------- */
:root {
  /* Brand */
  --cream:        #F1E3D8;   /* spot color */
  --red:          #A42322;   /* spot color */
  --red-dark:     #871C1B;
  --charcoal:     #2E2A28;   /* logo ink */

  /* Soft palette */
  --bg:           #FBF6F1;
  --surface:      #FFFFFF;
  --surface-soft: #FAF2EB;
  --blush:        #F3DEDA;
  --blush-deep:   #E6BFB9;
  --gold:         #C2A06B;

  /* Text */
  --ink:          #2E2A28;
  --ink-soft:     #6E625C;
  --ink-muted:    #786B63;   /* darkened 07-26: #998C84 chỉ 3.04:1 (rớt WCAG AA), #786B63 = 4.79:1 đạt chuẩn, vẫn "muted" */
  --line:         #ECE0D6;
  --line-strong:  #DcCcBE;

  /* System */
  --ok:           #4E7B5C;
  --radius:       18px;
  --radius-sm:    12px;
  --radius-lg:    28px;
  --shadow:       0 18px 40px -24px rgba(122, 60, 45, .35);
  --shadow-soft:  0 8px 24px -16px rgba(122, 60, 45, .28);
  --ease:         cubic-bezier(.22,.61,.36,1);
  --maxw:         1200px;

  /* z-index scale */
  --z-nav: 30; --z-drawer: 50; --z-overlay: 45; --z-toast: 60;
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--topbar-h, 117px); overflow-x: hidden; }
/* Reserve chỗ header fixed NGAY từ CSS (trước khi JS chạy) → nội dung không "giật" trượt xuống lúc load.
   Chỉ áp cho trang shopfront (có #site-header trong HTML tĩnh); admin dùng .adm-top sticky nên bỏ qua.
   :has() không hỗ trợ ở trình duyệt cũ → fallback về JS set padding (vẫn OK, chỉ mất reserve tĩnh). */
:root { --topbar-h: 117px; }
@media (max-width: 760px) { :root { --topbar-h: 137px; } }
body:has(#site-header) { padding-top: var(--topbar-h, 117px); }
body {
  font-family: "Linotte", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
input, select, textarea { font-family: inherit; font-size: 1rem; color: var(--ink); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }

/* ---------- Typography ---------- */
.serif { font-family: "Playfair Display", Georgia, serif; font-weight: 500; letter-spacing: .01em; }
.eyebrow {
  font-size: .72rem; letter-spacing: .32em; text-transform: uppercase;
  color: var(--red); font-weight: 600;
}
h1,h2,h3 { line-height: 1.12; font-weight: 600; letter-spacing: -.01em; }
.display {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500; line-height: 1.04; letter-spacing: 0;
}

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.center { text-align: center; }
.muted { color: var(--ink-soft); }
.section-head { max-width: 620px; margin: 0 auto 48px; text-align: center; }
.section-head .display { font-size: clamp(2.2rem, 4vw, 3.2rem); margin: 10px 0 14px; }
.section-head p { color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 30px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--red); color: #fff; box-shadow: var(--shadow-soft); }@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--red-dark); box-shadow: var(--shadow); }
}

.btn-primary:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line-strong); }@media (hover: hover) and (pointer: fine) {
  .btn-ghost:hover { border-color: var(--red); color: var(--red); }
}

.btn-light { background: #fff; color: var(--ink); box-shadow: var(--shadow-soft); }@media (hover: hover) and (pointer: fine) {
  .btn-light:hover { background: var(--surface-soft); }
}

.btn-block { width: 100%; }
.btn-lg { padding: 17px 38px; font-size: 1rem; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

.link-underline { position: relative; font-weight: 600; color: var(--red); }
.link-underline::after {
  content: ""; position: absolute; left: 0; bottom: -3px; height: 1.5px; width: 100%;
  background: currentColor; transform: scaleX(.4); transform-origin: left; transition: transform .3s var(--ease);
}@media (hover: hover) and (pointer: fine) {
  .link-underline:hover::after { transform: scaleX(1); }
}


/* ---------- Announcement bar ---------- */
.announce {
  background: var(--charcoal); color: var(--cream);
  font-size: .82rem; letter-spacing: .04em; text-align: center; padding: 9px 16px;
}
.announce strong { color: #fff; font-weight: 600; }

/* Announce + Header luôn dính trên cùng khi cuộn (fixed, không dùng sticky vì
   sticky + backdrop-filter bị lỗi biến mất khi cuộn trên iOS Safari — bug WebKit đã biết) */
.site-topbar { position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-nav); }

/* ---------- Header ---------- */
.header {
  /* Nền gần đục (.94) + blur nhẹ. backdrop-filter repaint mỗi khung khi cuộn → giật;
     giảm blur + bù độ đục để nhìn gần như cũ mà mượt hơn. Mobile tắt hẳn blur (perf). */
  background: rgba(251,246,241,.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 760px) { .header { background: rgba(251,246,241,.97); backdrop-filter: none; -webkit-backdrop-filter: none; } }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; transition: height .25s var(--ease); }
.brand img { height: 34px; width: auto; transition: height .25s var(--ease); }

/* Header thu gọn khi cuộn xuống — chuẩn e-commerce (Adidas, Shopee...):
   thanh khuyến mãi thu lại, logo/nav nhỏ hơn 1 chút, vẫn luôn dính trên cùng, không biến mất. */
.announce { transition: max-height .28s var(--ease), opacity .2s var(--ease), padding .28s var(--ease); max-height: 60px; overflow: hidden; }
/* Android cỡ chữ lớn (17/10/2026): dải thông báo xuống 2 dòng thì không bị cắt nửa chữ (60px chỉ đủ 1 dòng). */
.site-topbar:not(.scrolled) .announce { max-height: 140px; }
.site-topbar.scrolled .announce { max-height: 0; opacity: 0; padding-top: 0; padding-bottom: 0; }
.site-topbar.scrolled .nav { height: 58px; }
.site-topbar.scrolled .brand img { height: 26px; }
.site-topbar.scrolled .header { box-shadow: 0 2px 16px rgba(46,42,40,.1); }
/* Transition padding-top CHỈ bật SAU khi load (class thêm ở syncTopbarHeight) — để lần set đầu tiên
   diễn ra tức thì, không trượt; nhưng hiệu ứng thu gọn header khi CUỘN vẫn mượt. */
body.topbar-ready { transition: padding-top .28s var(--ease); }

/* ✨ Hiệu ứng cảm xúc: pulse icon giỏ + mưa nơ (coquette) — xem mituFlyToCart/mituBowRain trong app.js */
[data-open-cart].cart-pulse, [data-cart-from-menu].cart-pulse { animation: cartPulse .5s var(--ease); }
@keyframes cartPulse { 0%,100%{ transform:none } 28%{ transform:scale(1.24) } 58%{ transform:scale(.92) } 80%{ transform:scale(1.06) } }
.mitu-rain { position:fixed; inset:0; pointer-events:none; z-index:9998; overflow:hidden; }
.mitu-rain-p { position:absolute; top:-6vh; line-height:0; animation: mituFall linear forwards; will-change: transform, opacity; }
@keyframes mituFall {
  0%   { transform: translateY(-8vh) translateX(0) rotate(0); opacity:0; }
  10%  { opacity:1; }
  100% { transform: translateY(114vh) translateX(var(--drift,0)) rotate(var(--spin,360deg)); opacity:.9; }
}
@media (prefers-reduced-motion: reduce){ .mitu-rain{ display:none !important; } }

/* 🛒 FIX giỏ hàng che nút Thanh toán (mobile): thanh sticky PDP có z-index 60 > drawer 50 → khi mở giỏ
   nó ĐÈ lên nút Thanh toán khiến khách bấm không được. Mở giỏ → ẩn sticky. + Footer giỏ chừa safe-area
   đáy (thanh công cụ iOS Safari) để nút Thanh toán không bị cắt. */
body.cart-open .pdp-sticky { display:none !important; }
.drawer-foot { padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px)); }

/* 🛍️ Phối trọn bộ (complete the look) */
.cl-wrap{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg,20px); padding:20px; box-shadow:var(--shadow-soft); }
.cl-row{ display:flex; align-items:flex-start; gap:8px; flex-wrap:nowrap; overflow-x:auto; padding-bottom:4px; }
.cl-item{ flex:1 1 0; min-width:96px; display:flex; flex-direction:column; align-items:center; text-align:center; gap:6px; padding:8px; border-radius:14px; transition:background .2s; }
@media (hover:hover) and (pointer:fine){ .cl-item:hover{ background:var(--surface-soft); } }
.cl-media{ display:block; width:100%; aspect-ratio:1; border-radius:12px; overflow:hidden; background:var(--surface-soft); }
.cl-media img,.cl-media svg{ width:100%; height:100%; object-fit:cover; display:block; }
.cl-name{ font-size:.8rem; line-height:1.3; color:var(--ink); font-weight:600; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.cl-price{ font-size:.82rem; color:var(--red); font-weight:700; }
.cl-plus{ align-self:center; font-size:1.3rem; color:var(--ink-muted); font-weight:700; flex:none; padding-top:34px; }
.cl-foot{ display:flex; align-items:center; justify-content:space-between; gap:14px; margin-top:16px; padding-top:16px; border-top:1px dashed var(--line-strong); flex-wrap:wrap; }
.cl-total{ display:flex; flex-direction:column; }
.cl-total span{ font-size:.76rem; color:var(--ink-soft); }
.cl-total b{ font-size:1.3rem; color:var(--ink); font-variant-numeric:tabular-nums; }
.cl-foot .btn{ flex:1; min-width:180px; }
@media(max-width:520px){ .cl-name{ -webkit-line-clamp:2; } .cl-plus{ padding-top:26px; } }
.nav-links { display: flex; gap: 34px; }
.nav-links a { font-size: .95rem; font-weight: 500; color: var(--ink); position: relative; padding: 6px 0; transition: color .2s var(--ease); }
.nav-links a::after {
  content:""; position:absolute; left:0; bottom:0; height:1.5px; width:100%;
  background: var(--red); transform: scaleX(0); transform-origin:center; transition: transform .28s var(--ease);
}@media (hover: hover) and (pointer: fine) {
  .nav-links a:hover { color: var(--red); }
}
.nav-links a.active::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) {
  .nav-links a:hover::after { transform: scaleX(1); }
}

.nav-links a.active { color: var(--red); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink); transition: background .2s var(--ease), color .2s var(--ease); position: relative;
}@media (hover: hover) and (pointer: fine) {
  .icon-btn:hover { background: var(--blush); color: var(--red); }
}

.icon-btn svg { width: 22px; height: 22px; }
.cart-count {
  position: absolute; top: 4px; right: 2px; min-width: 19px; height: 19px; padding: 0 5px;
  background: var(--red); color: #fff; border-radius: 999px; font-size: .68rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; line-height: 1;
}
.cart-count:empty, .cart-count[data-count="0"] { display: none; }
.menu-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--surface-soft), var(--blush) 120%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px; padding: 92px 0 96px; }
.hero h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
.hero h1 em { font-style: italic; color: var(--red); }
.hero p { font-size: 1.12rem; color: var(--ink-soft); max-width: 440px; margin: 22px 0 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 36px; margin-top: 46px; }
.hero-stats .num { font-family: "Playfair Display", serif; font-size: 2.1rem; font-weight: 600; color: var(--red); line-height: 1; }
.hero-stats span { font-size: .82rem; color: var(--ink-soft); }
.hero-art { position: relative; display: grid; place-items: center; }
.hero-bloom {
  aspect-ratio: 1; width: 100%; max-width: 460px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, var(--cream) 70%);
  display: grid; place-items: center; box-shadow: var(--shadow); position: relative;
}
.hero-bloom::after {
  content:""; position:absolute; inset:18px; border-radius:50%; border:1px dashed var(--blush-deep);
}
.hero-badge {
  position: absolute; z-index: 4; white-space: nowrap;
  background:#fff; border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow);
  display:flex; align-items:center; gap:10px; font-size:.82rem; font-weight:600;
}
.hero-badge small { display:block; color: var(--ink-muted); font-weight: 400; font-size:.72rem; }
.hero-badge .dot { width:34px; height:34px; border-radius:50%; background: var(--blush); display:grid; place-items:center; color: var(--red); }
.hero-badge .dot svg { width:18px; height:18px; }
.hero-badge.b1 { top: 6%; left: -9%; }
.hero-badge.b2 { bottom: 8%; right: -7%; }

/* ---------- Trust strip ---------- */
.trust { background: var(--charcoal); color: var(--cream); }
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; padding: 26px 0; }
.trust-item { display: flex; align-items: center; gap: 12px; justify-content: center; }
.trust-item svg { width: 26px; height: 26px; color: var(--cream); flex: none; }
.trust-item b { display:block; font-size: .92rem; color:#fff; font-weight: 600; }
.trust-item small { font-size: .76rem; color: rgba(241,227,216,.7); }

/* ---------- Category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.cat-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5;
  display: flex; align-items: flex-end; padding: 26px; color: var(--ink);
  box-shadow: var(--shadow-soft); transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}@media (hover: hover) and (pointer: fine) {
  .cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
}

.cat-card .cat-bg { position:absolute; inset:0; z-index:0; }
.cat-card .cat-body { position: relative; z-index:1; }
.cat-card h3 { font-family:"Playfair Display",serif; font-size: 1.7rem; font-weight: 600; }
.cat-card .cat-body span { font-size: .85rem; color: var(--ink-soft); }
.cat-card .arrow {
  position:absolute; top:22px; right:22px; z-index:1; width:42px; height:42px; border-radius:50%;
  background:#fff; display:grid; place-items:center; box-shadow: var(--shadow-soft);
  transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}@media (hover: hover) and (pointer: fine) {
  .cat-card:hover .arrow { background: var(--red); color:#fff; transform: rotate(-45deg); }
}

.cat-card .arrow svg { width:18px; height:18px; }

/* ---------- Product grid & cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 26px; }
.product-grid.cols-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.card {
  background: var(--surface); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  display: flex; flex-direction: column;
}@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
}

.card-media { position: relative; aspect-ratio: 1; overflow: hidden; }
.card-media .bow-frame { width:100%; height:100%; transition: transform .5s var(--ease); }@media (hover: hover) and (pointer: fine) {
  .card:hover .card-media .bow-frame { transform: scale(1.05); }
}

.card-tag {
  position: absolute; top: 12px; left: 12px; z-index: 2; background:#fff; color: var(--red);
  font-size: .68rem; font-weight: 700; letter-spacing:.08em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px; box-shadow: var(--shadow-soft);
}
.card-tag.sale { background: var(--red); color:#fff; }
.card-tag.promo { background: #4E7B5C; color:#fff; text-transform:none; letter-spacing:normal; font-size:.7rem; }
.card-nokm { font-size:.72rem; color:#8a7a6a; margin-top:4px; }
/* ---- SP hết hàng (soldOut): badge xám + ảnh mờ, badge vẫn rõ ---- */
.card-tag.soldout { background:#7c7570; color:#fff; }
/* ---- Set X cái (v=138, kiểu "G · Tem hồng góc" chủ shop chọn 25/09): tem hồng phấn ôm sát góc PHẢI ảnh ---- */
.card-setsize {
  position: absolute; top: 0; right: 0; z-index: 2; height: 24px;
  display: inline-flex; align-items: center; gap: 4px; padding: 0 10px 0 11px;
  background: #FBE4E7; color: var(--red); font-size: .68rem; font-weight: 700;
  border-bottom-left-radius: 12px; white-space: nowrap;
}
.card-setsize svg, .pdp-setsize svg { width: 12px; height: 12px; flex: none; }
/* PDP: cùng tông tem hồng, dạng pill inline cạnh giá — để khách vào trang SP vẫn biết là 1 set */
.pdp-setsize {
  display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 12px;
  background: #FBE4E7; color: var(--red); font-size: .8rem; font-weight: 700;
  border-radius: 999px; margin-left: 10px; vertical-align: middle; white-space: nowrap;
}
.pdp-setsize svg { width: 14px; height: 14px; }
.card.soldout .hover-cycle { filter: grayscale(.45); opacity:.62; transition: filter .3s var(--ease), opacity .3s var(--ease); }
.card.soldout .card-title a, .card.soldout .price { color: var(--ink-soft); }
.btn[disabled], .btn[aria-disabled="true"] { opacity:.55; cursor: not-allowed; box-shadow:none; }
@media (hover: hover) and (pointer: fine) { .btn[disabled]:hover, .btn[aria-disabled="true"]:hover { background:#fff; color: var(--ink); transform:none; } }
.card-fav {
  position:absolute; top:10px; right:10px; z-index:2; width:38px; height:38px; border-radius:50%;
  background: rgba(255,255,255,.85); display:grid; place-items:center; color: var(--ink-soft);
  opacity:0; transform: translateY(-4px); transition: all .3s var(--ease);
}@media (hover: hover) and (pointer: fine) {
  .card:hover .card-fav { opacity:1; transform: translateY(0); }
}
@media (hover: hover) and (pointer: fine) {
  .card-fav:hover { color: var(--red); background:#fff; }
}

.card-fav svg { width:18px; height:18px; }
.card-quick {
  position:absolute; left:12px; right:12px; bottom:12px; z-index:2;
  opacity:0; transform: translateY(10px); transition: all .35s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .card:hover .card-quick { opacity:1; transform: translateY(0); }
}
/* Cham (khong that su hover duoc) -> nut "them vao gio" luon hien, khong an sau hover */
@media not all and (hover: hover) {
  .card-quick { opacity:1; transform: translateY(0); }
}

.card-body { padding: 16px 18px 20px; display:flex; flex-direction: column; gap: 6px; flex:1; }
.card-cat { font-size:.72rem; letter-spacing:.12em; text-transform:uppercase; color: var(--ink-muted); }
.card-title { font-size: 1.02rem; font-weight: 600; color: var(--ink); }@media (hover: hover) and (pointer: fine) {
  .card-title a:hover { color: var(--red); }
}

.card-rating { display:flex; align-items:center; gap:5px; font-size:.8rem; color: var(--ink-soft); }
.card-rating .stars { color: var(--gold); letter-spacing: 1px; }
.card-foot { display:flex; align-items:center; justify-content: space-between; margin-top: auto; padding-top: 8px; }
.price { font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.price .was { color: var(--ink-muted); font-weight: 400; font-size: .85rem; text-decoration: line-through; margin-left: 6px; }
.swatches { display:flex; gap:5px; }
.swatch { width:14px; height:14px; border-radius:50%; border:1.5px solid #fff; box-shadow: 0 0 0 1px var(--line-strong); }

/* ---------- Story / lookbook strip ---------- */
.story { background: linear-gradient(135deg, var(--cream), var(--surface-soft)); }
.story-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items:center; }
.story h2 { font-family:"Playfair Display",serif; font-size: clamp(2rem,3.6vw,2.9rem); font-weight:500; margin: 12px 0 18px; }
.story p { color: var(--ink-soft); margin-bottom: 16px; }
.story-art { aspect-ratio: 5/4; border-radius: var(--radius-lg); background:#fff; box-shadow: var(--shadow); display:grid; place-items:center; overflow:hidden; }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--charcoal); color: var(--cream); border-radius: var(--radius-lg); padding: 56px; text-align:center; }
.newsletter h2 { font-family:"Playfair Display",serif; font-weight:500; font-size: clamp(2rem,3.4vw,2.7rem); color:#fff; }
.newsletter p { color: rgba(241,227,216,.78); max-width: 460px; margin: 12px auto 26px; }
.news-form { display:flex; gap:10px; max-width: 460px; margin: 0 auto; }
.news-form input { flex:1; padding: 14px 18px; border-radius: 999px; border:none; background: rgba(255,255,255,.1); color:#fff; }
.news-form input::placeholder { color: rgba(241,227,216,.55); }

/* ---------- Khám phá / sitemap tĩnh (link crawl được cho Google — nav/footer render JS) ---------- */
.mh-explore { border-top: 1px solid var(--line); }
.mh-explore-grid { display:grid; grid-template-columns: 0.9fr 1.3fr; gap: 56px; align-items:start; }
.mh-explore-h { font-family:"Playfair Display", serif; font-size: 1.4rem; color: var(--ink); margin-bottom: 22px; }
.mh-explore-h small { display:block; font-family: inherit; font-size:.85rem; font-weight:400; color: var(--ink-soft); margin-top: 6px; }
.mh-cats { display:flex; flex-wrap:wrap; gap:10px; }
.mh-cats a { display:inline-block; padding:9px 16px; border-radius:999px; background: var(--blush); color: var(--red); font-size:.9rem; font-weight:600; transition: background .2s var(--ease), color .2s var(--ease); }
.mh-prods { columns: 2; column-gap: 36px; }
.mh-prods li { margin-bottom: 12px; break-inside: avoid; line-height: 1.35; }
.mh-prods a { color: var(--ink-soft); font-size:.92rem; transition: color .2s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .mh-cats a:hover { background: var(--red); color:#fff; }
  .mh-prods a:hover { color: var(--red); }
}
@media (max-width: 760px) {
  .mh-explore-grid { grid-template-columns: 1fr; gap: 40px; }
  .mh-prods { columns: 1; }
}

/* ---------- Mua theo dịp (occasion tiles) ---------- */
.mh-dips { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.mh-dip {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; padding: 30px 14px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  text-align: center; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.mh-dip-emo { font-size: 2rem; line-height: 1; }
.mh-dip-t { font-family: "Playfair Display", serif; font-size: 1.02rem; font-weight: 600; color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .mh-dip:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(164,35,34,.10); border-color: var(--red); }
}
@media (max-width: 900px) { .mh-dips { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .mh-dips { grid-template-columns: repeat(2, 1fr); gap: 12px; } .mh-dip { padding: 24px 10px; } }

/* ---------- Footer ---------- */
.footer { background: var(--surface); border-top: 1px solid var(--line); padding-top: 64px; }
.footer-grid { display:grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer img.flogo { height: 32px; margin-bottom: 16px; }
.footer p { color: var(--ink-soft); font-size: .9rem; max-width: 280px; }
.footer h4 { font-size: .82rem; letter-spacing:.12em; text-transform:uppercase; color: var(--ink); margin-bottom: 16px; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: var(--ink-soft); font-size: .9rem; transition: color .2s var(--ease); }@media (hover: hover) and (pointer: fine) {
  .footer ul a:hover { color: var(--red); }
}

.socials { display:flex; gap:10px; margin-top: 18px; }
.socials a { width:40px; height:40px; border-radius:50%; background: var(--surface-soft); display:grid; place-items:center; color: var(--ink); transition: all .25s var(--ease); }@media (hover: hover) and (pointer: fine) {
  .socials a:hover { background: var(--red); color:#fff; }
}

.socials svg { width:18px; height:18px; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 48px; padding: 22px 0; display:flex; justify-content: space-between; align-items:center; flex-wrap: wrap; gap: 12px; color: var(--ink-muted); font-size: .82rem; }
.pay-icons { display:flex; gap:8px; align-items:center; }
.pay-icons span { background: var(--surface-soft); border:1px solid var(--line); border-radius:6px; padding: 4px 8px; font-size:.68rem; font-weight:600; color: var(--ink-soft); }

/* ---------- Page header (sub pages) ---------- */
.page-head { background: linear-gradient(160deg, var(--surface-soft), var(--blush) 140%); padding: 52px 0; }
.breadcrumb { font-size: .82rem; color: var(--ink-soft); display:flex; gap:8px; align-items:center; }
/* Android cỡ chữ lớn (17/10/2026): mỗi mục breadcrumb giữ nguyên 1 dòng, hết chỗ thì cả mục xuống dòng (không vỡ thành cột chữ); tên SP quá dài thì "…" */
.breadcrumb { flex-wrap:wrap; row-gap:4px; }
.breadcrumb > * { white-space:nowrap; }
.breadcrumb > :last-child { min-width:0; max-width:100%; overflow:hidden; text-overflow:ellipsis; }
@media (hover: hover) and (pointer: fine) {
  .breadcrumb a:hover { color: var(--red); }
}

.page-head h1 { font-family:"Playfair Display",serif; font-weight:500; font-size: clamp(2.2rem,4vw,3.2rem); margin-top: 8px; }

/* ---------- Shop layout ---------- */
.shop-layout { display:grid; grid-template-columns: 248px 1fr; gap: 40px; align-items:start; }
.filter-panel { position: sticky; top: 96px; background: var(--surface); border:1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.filter-group { padding: 16px 0; border-bottom: 1px solid var(--line); }
.filter-group:last-child { border-bottom:none; }
.filter-group h4 { font-size:.82rem; letter-spacing:.1em; text-transform:uppercase; margin-bottom: 14px; }
.filter-opt { display:flex; align-items:center; gap:10px; padding: 6px 0; font-size:.92rem; color: var(--ink-soft); cursor:pointer; transition: color .2s; }@media (hover: hover) and (pointer: fine) {
  .filter-opt:hover { color: var(--red); }
}

.filter-opt input { accent-color: var(--red); width:16px; height:16px; }
.chip-row { display:flex; flex-wrap:wrap; gap:8px; }
.chip { display:inline-flex; align-items:center; gap:6px; padding:7px 14px; border-radius:999px; border:1px solid var(--line-strong); font-size:.82rem; color: var(--ink-soft); cursor:pointer; transition: all .2s var(--ease); }
.chip .swatch { flex:none; box-shadow: 0 0 0 1px var(--line-strong); }@media (hover: hover) and (pointer: fine) {
  .chip:hover { border-color: var(--red); color: var(--red); }
}

.chip.active { background: var(--red); color:#fff; border-color: var(--red); }
.shop-toolbar { display:flex; align-items:center; justify-content: space-between; margin-bottom: 24px; }
.shop-toolbar .count { color: var(--ink-soft); font-size:.9rem; }
.select { padding: 10px 16px; border-radius: 999px; border:1px solid var(--line-strong); background:#fff; font-size:.88rem; }

/* ---------- Product detail ---------- */
.pdp { display:grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items:start; }
.pdp-gallery { position: sticky; top: 96px; }
.pdp-main { aspect-ratio: 1; border-radius: var(--radius-lg); overflow:hidden; box-shadow: var(--shadow-soft); background:#fff; }
.pdp-thumbs { display:grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-top: 14px; }
.pdp-thumb { aspect-ratio:1; border-radius: var(--radius-sm); overflow:hidden; border:2px solid transparent; cursor:pointer; background:#fff; transition: border-color .2s; }.pdp-thumb.active { border-color: var(--red); }
@media (hover: hover) and (pointer: fine) {
  .pdp-thumb:hover { border-color: var(--red); }
}

.pdp-info h1 { font-family:"Playfair Display",serif; font-weight:600; font-size: clamp(2rem,3.4vw,2.8rem); margin: 8px 0 12px; }
.pdp-price { font-size: 1.7rem; font-weight: 700; color: var(--red); margin: 16px 0; }
.pdp-price .was { font-size: 1.05rem; color: var(--ink-muted); text-decoration: line-through; font-weight:400; margin-left: 10px; }
.pdp-soldout { display:inline-block; background:#7c7570; color:#fff; font-weight:700; font-size:.82rem; letter-spacing:.06em; text-transform:uppercase; padding:7px 16px; border-radius:999px; margin-bottom:12px; }
.pdp-desc { color: var(--ink-soft); margin: 16px 0 24px; }
.opt-block { margin: 22px 0; }
.opt-block .opt-label { font-size:.82rem; letter-spacing:.08em; text-transform:uppercase; color: var(--ink); font-weight:600; margin-bottom: 12px; display:flex; gap:8px; }
.opt-block .opt-label span { color: var(--ink-soft); font-weight:400; letter-spacing:0; text-transform:none; }
.color-opts { display:flex; flex-wrap:wrap; gap:12px; }
.color-opt { position:relative; width:38px; height:38px; border-radius:50%; cursor:pointer; border:2px solid #fff; box-shadow: 0 0 0 1.5px var(--line-strong); transition: box-shadow .2s, transform .2s; }@media (hover: hover) and (pointer: fine) {
  .color-opt:hover { transform: scale(1.08); }
}

/* Vùng chạm 44px vô hình — không đổi kích thước nút hiển thị (chuẩn touch target, không ảnh hưởng giao diện) */
.color-opt::after { content:""; position:absolute; top:50%; left:50%; width:44px; height:44px; transform:translate(-50%,-50%); }
.color-opt.active { box-shadow: 0 0 0 2px var(--red); }
.size-opts { display:flex; gap:10px; flex-wrap:wrap; }
.size-opt { padding: 10px 18px; border-radius: 12px; border:1.5px solid var(--line-strong); font-size:.9rem; cursor:pointer; transition: all .2s; }@media (hover: hover) and (pointer: fine) {
  .size-opt:hover { border-color: var(--red); }
}

.size-opt.active { background: var(--charcoal); color:#fff; border-color: var(--charcoal); }
.qty { display:inline-flex; align-items:center; border:1.5px solid var(--line-strong); border-radius: 999px; overflow:hidden; }
.qty button { width:44px; height:46px; font-size:1.2rem; color: var(--ink); transition: background .2s;
  /* 🐛 CO LẠI CÒN 38×40: .qty là inline-flex nên button bị flex-shrink bóp nhỏ hơn width khai báo
     → dưới ngưỡng chạm 44px, dễ bấm nhầm trên điện thoại. `flex:0 0 44px` khoá không cho co. */
  flex: 0 0 44px; min-width: 44px; min-height: 44px; }@media (hover: hover) and (pointer: fine) {
  .qty button:hover { background: var(--surface-soft); color: var(--red); }
}

.qty input { width:48px; text-align:center; border:none; background:none; font-weight:600; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance:none; }
.pdp-actions { display:flex; gap:12px; margin: 26px 0; align-items: stretch; }
.pdp-actions .qty { flex: none; }
.pdp-meta { border-top:1px solid var(--line); padding-top: 20px; display:flex; flex-direction:column; gap: 12px; }
.pdp-meta-row { display:flex; align-items:center; gap:12px; font-size:.9rem; color: var(--ink-soft); }
.pdp-meta-row svg { width:20px; height:20px; color: var(--red); flex:none; }

/* Badge tin cậy + freeship (PDP) */
/* Trust badges (v=137, 09/2026 revamp): airy chip trắng, icon gold (không đỏ chói),
   font mềm mại, shadow rất nhẹ — hài hoà brand cream, không cạnh tranh với giá đỏ. */
.pdp-trust { display:flex; flex-wrap:wrap; gap:8px; margin:16px 0 12px; }
.pdp-trust span { display:inline-flex; align-items:center; gap:7px; font-size:.78rem; font-weight:500; color:var(--ink);
  background:#fff; border:1px solid rgba(46,42,40,.06); border-radius:999px; padding:6px 12px;
  box-shadow: 0 1px 2px rgba(46,42,40,.035); letter-spacing:.005em; }
.pdp-trust svg { width:14px; height:14px; color:var(--gold); flex:none; stroke-width:2; }
.pdp-freeship { display:flex; align-items:center; gap:10px; font-size:.86rem; color:var(--ink); margin-bottom:6px;
  background:linear-gradient(90deg, rgba(164,35,34,.06), transparent); border-left:3px solid var(--red); border-radius:8px; padding:9px 12px; }
.pdp-freeship svg { width:18px; height:18px; color:var(--red); flex:none; }
.pdp-freeship b { color:var(--red); }
.pdp-promo-note { display:flex; align-items:flex-start; gap:9px; font-size:.86rem; line-height:1.45; border-radius:8px; padding:9px 12px; margin-bottom:10px; }
.pdp-promo-note:empty { display:none; margin:0; padding:0; }
.pdp-promo-note--ok { color:var(--ink); background:linear-gradient(90deg, rgba(78,123,92,.1), transparent); border-left:3px solid #4E7B5C; }
.pdp-promo-note--ok b { color:#4E7B5C; }
.pdp-promo-note--excluded { color:var(--ink-soft); background:#FBF3E4; border-left:3px solid #B7791F; }
.pdp-promo-note--excluded b { color:#8a5a00; }

/* Sticky mua hàng (mobile) */
.pdp-sticky { display:none; }
@media (max-width:760px){
  .pdp-sticky { position:fixed; left:0; right:0; bottom:0; z-index:60; display:flex; align-items:center; gap:12px;
    background:#fff; border-top:1px solid var(--line); box-shadow:0 -6px 22px rgba(46,42,40,.12);
    padding:10px 14px calc(10px + env(safe-area-inset-bottom)); transform:translateY(120%); transition:transform .3s var(--ease); }
  .pdp-sticky.show { transform:translateY(0); }
  .pdp-sticky .ps-info { display:flex; flex-direction:column; min-width:0; flex:1; }
  .pdp-sticky .ps-price { color:var(--red); font-weight:700; font-size:1.1rem; }
  .pdp-sticky .ps-name { font-size:.74rem; color:var(--ink-soft); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .pdp-sticky .btn { flex:none; padding:13px 22px; }
  /* Android "cỡ chữ lớn" (Messenger/Zalo WebView phóng MỌI cỡ chữ ~1.3–2×, 17/10/2026): giá không được đè nút —
     không đủ chỗ thì nút tự xuống dòng 2, full ngang. Tên SP không tính vào bề rộng (width:0;min-width:100%). */
  .pdp-sticky { flex-wrap:wrap; row-gap:8px; }
  .pdp-sticky .ps-info { flex:999 1 auto; }
  .pdp-sticky .ps-price { white-space:nowrap; line-height:1.25; }
  .pdp-sticky .ps-name { width:0; min-width:100%; }
  .pdp-sticky .btn { flex:1 1 auto; min-width:0; }
  .pdp-sticky.ps-added .ps-price { color:#2E7D4F; font-size:.98rem; }
  .pdp-sticky.ps-added .ps-name { color:var(--ink); font-weight:600; }
  .pdp-sticky .btn svg { width:18px; height:18px; margin-left:4px; vertical-align:-3px; }
}
/* Khối xác nhận ngay dưới nút Thêm giỏ (03/11/2026) — chỉ đường sang thanh toán */
.pdp-added { margin-top:12px; padding:14px; border:1px solid #CFE6D6; background:#F3FAF5; border-radius:14px; display:flex; flex-direction:column; gap:10px; animation:paIn .25s var(--ease); }
.pdp-added .pa-msg { display:flex; align-items:center; gap:8px; color:#2E5E3F; font-size:.95rem; line-height:1.4; }
.pdp-added .pa-msg svg { width:20px; height:20px; flex:none; color:#2E7D4F; }
.pdp-added .btn svg { width:18px; height:18px; margin-left:6px; vertical-align:-3px; }
.pdp-added .pa-cart { background:none; border:0; color:var(--ink-soft); text-decoration:underline; font:inherit; font-size:.9rem; padding:4px; cursor:pointer; }
@keyframes paIn { from { opacity:0; transform:translateY(-4px); } to { opacity:1; transform:none; } }

.summary-note { font-size:.78rem; color:var(--ink-muted); text-align:right; margin-top:-6px; }
.cart-cross { margin-top:56px; }

/* ---------- Cart ---------- */
.cart-layout { display:grid; grid-template-columns: 1fr 380px; gap: 40px; align-items:start; }
.cart-list { background: var(--surface); border:1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cart-row { display:grid; grid-template-columns: 92px 1fr auto; gap: 18px; padding: 20px; align-items:center; border-bottom:1px solid var(--line); }
/* 🐛 v=120 — MẤT SẠCH VẠCH NGĂN GIỮA CÁC MÓN (hồi quy từ v=116):
   khi thêm wrapper .cart-swipe (vuốt để xoá), mỗi .cart-row trở thành con DUY NHẤT của wrapper
   ⇒ `.cart-row:last-child` khớp TẤT CẢ các dòng ⇒ border-bottom bị tắt hết ⇒ các món dính liền nhau.
   ⇒ Vạch phải tắt theo WRAPPER cuối cùng, không theo row. */
.cart-list > .cart-swipe:last-child > .cart-row,
.cart-list > .cart-row:last-child { border-bottom:none; }

/* Đầu bảng "N món trong giỏ · Làm mới giỏ hàng": trước đây không có padding nên chữ + nút
   DÍNH SÁT viền thẻ (đo: cách viền đúng 1px, nút gần tràn mép phải). */
.cart-list-head { display:flex; justify-content:space-between; align-items:center; gap:12px;
  padding:13px 20px; border-bottom:1px solid var(--line); background: var(--surface-soft); }
.cart-list-head .muted { font-size:.86rem; }

.cart-thumb { width:92px; height:92px; border-radius: var(--radius-sm); overflow:hidden; background: var(--surface-soft); flex:none; }
.cart-row .meta h4 { font-size: 1rem; font-weight:600; }
.cart-row .meta .sub { font-size:.82rem; color: var(--ink-soft); margin-top: 2px; }
.cart-row .meta .rm { font-size:.82rem; color: var(--ink-muted); display:inline-flex; gap:5px; align-items:center; }@media (hover: hover) and (pointer: fine) {
  .cart-row .meta .rm:hover { color: var(--red); }
}
/* Hàng nút Xoá/Đổi — v=120: trước đây 2 nút cao 18px (dưới ngưỡng chạm 44px) và cách nhau 17px,
   trên điện thoại rất dễ bấm nhầm "Xoá" khi định bấm "Đổi". Nay mỗi nút là ô chạm 44px,
   lùi trái -10px để chữ vẫn thẳng hàng với tên sản phẩm (không thò ra ngoài lề). */
.cart-row .meta .cart-acts { display:flex; align-items:center; gap:8px; margin:2px 0 -6px -10px; }
.cart-row .meta .cart-acts .rm,
.cart-row .meta .cart-acts .edit { margin:0; padding:0 10px; min-height:44px; }

/* Icon nhỏ gọn cho mọi button/link class .rm (vd: cart-clear, drawer-row rm) */
.rm svg { width:14px; height:14px; flex-shrink:0; }
/* Nút "Làm mới giỏ hàng" — gọn, kín đáo */
#cart-clear { background:transparent; border:1px solid var(--line-strong); border-radius:8px; padding:9px 13px; min-height:40px; font-size:.8rem; color: var(--ink-muted); cursor:pointer; display:inline-flex; align-items:center; gap:6px; transition: all .2s var(--ease); }@media (hover: hover) and (pointer: fine) {
  #cart-clear:hover { border-color: var(--red); color: var(--red); background: rgba(164,35,34,.04); }
}

.cart-row .end { text-align:right; display:flex; flex-direction:column; align-items:flex-end; gap:10px; }
/* 🐛 VÙNG CHẠM: bản cũ dùng `transform: scale(.86)` cho gọn hàng → nút 44px BỊ VẼ CÒN 38px,
   dưới ngưỡng chạm 44px (đo thật 37.8×39.6). ⚠️ `transform` KHÔNG đổi computed style nên
   `getComputedStyle` vẫn báo 44px — chỉ `getBoundingClientRect()` mới lộ ra sự thật.
   ⇒ Bỏ scale, thu hẹp Ô SỐ thay vì thu nhỏ NÚT: bề ngang gần như cũ, nút vẫn đủ 44px. */
.cart-row .qty { transform: none; }
.cart-row .qty input { width: 34px; }

/* ---------- Summary card (cart + checkout) ---------- */
.summary { background: var(--surface); border:1px solid var(--line); border-radius: var(--radius); padding: 26px; position: sticky; top: 96px; }
.summary h3 { font-family:"Playfair Display",serif; font-weight:600; font-size: 1.6rem; margin-bottom: 18px; }
.summary-row { display:flex; justify-content:space-between; padding: 9px 0; color: var(--ink-soft); font-size:.94rem; }
.summary-row.total { border-top:1px solid var(--line); margin-top: 10px; padding-top: 18px; color: var(--ink); font-weight:700; font-size: 1.15rem; }
.summary-row.total .price { color: var(--red); font-size:1.3rem; }
.promo-box { margin: 16px 0 0; }
.promo { display:flex; gap:8px; }
/* Ô mã giảm giá trong "Tóm tắt đơn" (cart) trước đây dính sát khối trên/dưới (không margin) → thêm khoảng thở */
.summary .promo { margin: 16px 0 18px; }
.promo input { flex:1; min-width:0; padding: 12px 18px; border-radius: 999px; border:1.5px solid var(--line-strong); background: var(--bg); font-size:16px; transition: border-color .2s; } /* 16px: iPhone không tự phóng to khi bấm ô (N90) */
.promo input:focus { border-color: var(--red); background:#fff; outline:none; }
.promo .btn { flex:none; padding: 10px 20px; font-size:.86rem; }
#promo-msg { font-size:.82rem; margin: 8px 2px 0; min-height: 1.1em; line-height: 1.5; }
#promo-msg:empty { display:none; }
#promo-msg.promo-msg--ok { color: #4E7B5C; font-weight: 600; }
#promo-msg.promo-msg--error { color: var(--red); }
#promo-msg.promo-msg--info { color: #B7791F; }
#promo-msg.promo-msg--info a { color: var(--red); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.promo-partial-note { display:flex; align-items:flex-start; gap:8px; font-size:.82rem; line-height:1.45; color: var(--ink);
  background:#FBF3E4; border-left:3px solid #B7791F; border-radius:8px; padding:9px 12px; margin:-2px 0 12px; }
.promo-partial-note b { color:#8a5a00; }
.ship-note { font-size:.82rem; color: var(--ink-soft); background: var(--surface-soft); border-radius: 12px; padding: 12px 14px; margin-top: 14px; display:flex; gap:10px; }
.ship-note svg { width:18px; height:18px; color: var(--red); flex:none; }
.ship-progress { height:6px; border-radius:999px; background: var(--line); overflow:hidden; margin: 10px 0 4px; }
.ship-progress span { display:block; height:100%; background: var(--red); border-radius:999px; transition: width .5s var(--ease); }

.empty-state { text-align:center; padding: 80px 20px; }
.empty-state .ic { width:88px; height:88px; border-radius:50%; background: var(--surface-soft); display:grid; place-items:center; margin: 0 auto 20px; color: var(--blush-deep); }
.empty-state .ic svg { width:42px; height:42px; }
.empty-state h2 { font-family:"Playfair Display",serif; font-weight:600; font-size: 1.8rem; }
.empty-state p { color: var(--ink-soft); margin: 8px 0 22px; }

/* ---------- Checkout ---------- */
.checkout-layout { display:grid; grid-template-columns: 1fr 400px; gap: 40px; align-items:start; }
.steps { display:flex; gap: 8px; margin-bottom: 32px; }
.step { display:flex; align-items:center; gap:10px; color: var(--ink-muted); font-size:.9rem; }
.step .n { width:28px; height:28px; border-radius:50%; border:1.5px solid var(--line-strong); display:grid; place-items:center; font-size:.82rem; font-weight:700; }
.step.active { color: var(--ink); font-weight:600; }
.step.active .n { background: var(--red); border-color: var(--red); color:#fff; }
.step .bar { width: 30px; height:1.5px; background: var(--line-strong); }
.panel { background: var(--surface); border:1px solid var(--line); border-radius: var(--radius); padding: 28px; margin-bottom: 22px; }
.panel h3 { font-family:"Playfair Display",serif; font-weight:600; font-size: 1.5rem; margin-bottom: 6px; }
.panel .hint { color: var(--ink-soft); font-size:.88rem; margin-bottom: 20px; }
.field { margin-bottom: 16px; }
.field label { display:block; font-size:.82rem; font-weight:600; color: var(--ink); margin-bottom: 7px; }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  width:100%; padding: 13px 16px; border-radius: var(--radius-sm); border:1.5px solid var(--line-strong);
  background: var(--bg); transition: border-color .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--red); background:#fff; outline:none; }
.field-row { display:grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-row-3 { display:grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }

.opt-list { display:flex; flex-direction:column; gap: 12px; }
.opt-radio {
  display:flex; align-items:center; gap: 14px; padding: 16px 18px; border:1.5px solid var(--line-strong);
  border-radius: var(--radius-sm); cursor:pointer; transition: border-color .2s, background .2s;
}@media (hover: hover) and (pointer: fine) {
  .opt-radio:hover { border-color: var(--blush-deep); }
}

.opt-radio.active { border-color: var(--red); background: var(--surface-soft); }
.opt-radio .radio { width:20px; height:20px; border-radius:50%; border:2px solid var(--line-strong); flex:none; display:grid; place-items:center; transition: border-color .2s; }
.opt-radio.active .radio { border-color: var(--red); }
.opt-radio.active .radio::after { content:""; width:10px; height:10px; border-radius:50%; background: var(--red); }
.opt-radio .pay-logo { width:42px; height:42px; border-radius:10px; display:grid; place-items:center; font-weight:800; font-size:.7rem; color:#fff; flex:none; }
.opt-radio .body { flex:1; }
.opt-radio .body b { display:block; font-size:.96rem; }
.opt-radio .body small { color: var(--ink-soft); font-size:.82rem; }
.opt-radio .body .price { font-size:.95rem; }
.mini-items { max-height: 280px; overflow:auto; margin-bottom: 8px; padding-right: 4px;
  scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
.mini-items::-webkit-scrollbar { width: 6px; }
.mini-items::-webkit-scrollbar-track { background: transparent; }
.mini-items::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 999px; }
.mini-item { display:flex; gap:12px; padding: 10px 0; align-items:center; border-bottom: 1px solid var(--line); }
.mini-item:last-child { border-bottom: none; }
.mini-item .t { width:54px; height:54px; position:relative; flex:none; }
.mini-item .t-img { display:block; width:100%; height:100%; border-radius:10px; overflow:hidden; background: var(--surface-soft); }
.mini-item .t .q { position:absolute; top:-6px; right:-6px; width:20px; height:20px; border-radius:50%; background: var(--charcoal); color:#fff; font-size:.7rem; display:grid; place-items:center; font-weight:700; z-index:1; box-shadow:0 0 0 2px #fff; }
.mini-item .info { flex:1; }
.mini-item .info b { font-size:.88rem; font-weight:600; display:block; }
.mini-item .info small { color: var(--ink-soft); font-size:.78rem; }
.mini-item .info small.mini-item-excl { display:block; color:#8a5a00; font-weight:600; margin-top:2px; }
.mini-item .p { font-weight:600; font-size:.9rem; }

/* ---------- Success ---------- */
.success-card { max-width: 620px; margin: 0 auto; text-align:center; background: var(--surface); border:1px solid var(--line); border-radius: var(--radius-lg); padding: 56px 40px; box-shadow: var(--shadow-soft); }
.success-tick { width:88px; height:88px; border-radius:50%; background: var(--blush); display:grid; place-items:center; margin: 0 auto 24px; color: var(--red); animation: pop .5s var(--ease); }
.success-tick svg { width:46px; height:46px; }
@keyframes pop { 0%{transform:scale(.6);opacity:0} 100%{transform:scale(1);opacity:1} }
.success-card h1 { font-family:"Playfair Display",serif; font-weight:600; font-size: 2.4rem; }
.success-card .order-no { display:inline-block; margin: 14px 0; background: var(--surface-soft); border-radius: 999px; padding: 8px 20px; font-weight:700; letter-spacing:.05em; }
.success-meta { text-align:left; border-top:1px solid var(--line); margin-top: 28px; padding-top: 24px; display:grid; grid-template-columns:1fr 1fr; gap: 18px; }
.success-meta div small { color: var(--ink-muted); font-size:.78rem; display:block; }
.success-meta div b { font-weight:600; }

/* ---------- Toast ---------- */
.toast-wrap { position: fixed; top: 92px; right: 24px; z-index: var(--z-toast); display:flex; flex-direction:column; gap:10px; }
.toast {
  background: var(--charcoal); color:#fff; padding: 14px 20px; border-radius: 14px; box-shadow: var(--shadow);
  display:flex; align-items:center; gap:12px; font-size:.9rem; min-width: 260px;
  animation: toastIn .35s var(--ease);
}
.toast svg { width:20px; height:20px; color: var(--cream); flex:none; }
.toast.out { animation: toastOut .3s var(--ease) forwards; }
@keyframes toastIn { from{transform: translateX(40px); opacity:0} to{transform:none; opacity:1} }
@keyframes toastOut { to{transform: translateX(40px); opacity:0} }

/* ---------- Cart drawer ---------- */
.overlay { position: fixed; inset:0; background: rgba(46,42,40,.45); z-index: var(--z-overlay); opacity:0; visibility:hidden; transition: opacity .3s var(--ease); }
.overlay.open { opacity:1; visibility:visible; }
.drawer {
  position: fixed; top:0; right:0; height:100%; width: 420px; max-width: 92vw; background: var(--bg);
  z-index: var(--z-drawer); transform: translateX(100%); transition: transform .4s var(--ease);
  display:flex; flex-direction:column; box-shadow: -20px 0 60px -30px rgba(46,42,40,.5);
}
.drawer.open { transform: none; }
.drawer-head { display:flex; align-items:center; justify-content:space-between; padding: 22px 24px; border-bottom:1px solid var(--line); }
.drawer-head h3 { font-family:"Playfair Display",serif; font-weight:600; font-size: 1.5rem; }
.drawer-body { flex:1; overflow:auto; padding: 8px 24px; }
.drawer-foot { padding: 20px 24px; border-top:1px solid var(--line); background: var(--surface); }
.drawer-row { display:grid; grid-template-columns: 70px 1fr auto; gap:14px; padding: 16px 0; border-bottom:1px solid var(--line); align-items:center; }
.drawer-row .t { width:70px; height:70px; border-radius:10px; overflow:hidden; background: var(--surface-soft); }
.drawer-row h4 { font-size:.92rem; font-weight:600; }
.drawer-row small { color: var(--ink-soft); font-size:.78rem; }
.drawer-row .rm { color: var(--ink-muted); font-size:.78rem; margin-top:4px; }@media (hover: hover) and (pointer: fine) {
  .drawer-row .rm:hover { color: var(--red); }
}


/* ---------- Bow SVG framing helper ---------- */
.bow-frame { display:grid; place-items:center; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 20px; padding: 60px 0; }
  .hero-art { order:-1; }
  /* Hero-art thanh 1 cot full-width o tablet/iPad -> offset am (-9%/-7%) tinh cho cot hep desktop
     se troi ra ngoai man hinh that (badge bi cat mot phan). Thu hep offset khi khong con cot ben canh. */
  .hero-badge.b1 { left: 3%; }
  .hero-badge.b2 { right: 3%; }
  .product-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .pdp { grid-template-columns: 1fr; gap: 32px; }
  .pdp-gallery, .summary, .filter-panel { position: static; }
  .story-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .shop-layout { grid-template-columns: 1fr; }
  .filter-panel { display:none; }
}
@media (max-width: 760px) {
  .section { padding: 60px 0; }
  .nav-links { display:none; }
  .menu-toggle { display:inline-flex; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .cat-grid { grid-template-columns: 1fr; }
  .product-grid, .product-grid.cols-3 { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 16px; }
  .hero-stats { gap: 22px; }
  .newsletter { padding: 36px 22px; }
  .news-form { flex-direction: column; border-radius: 18px; }
  .news-form .btn { width:100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .field-row, .field-row-3 { grid-template-columns: 1fr; }
  .success-meta { grid-template-columns: 1fr; }
  /* 🎀 v=120 — BỐ CỤC DÒNG SẢN PHẨM TRÊN ĐIỆN THOẠI (chủ shop chê "padding dính vào nhau")
     Lỗi cũ: cột 1 khai 72px nhưng .cart-thumb cứng 92px ⇒ ảnh TRÀN 20px, mép ảnh ĐÈ lên chữ
     (đo: ảnh hết ở x=131, chữ bắt đầu x=129). Và .end trải nguyên chiều ngang (grid-column:1/-1)
     ⇒ ô số lượng rơi xuống mép trái dưới ảnh, giá văng sang mép phải, rời hẳn khỏi món hàng.
     ⇒ Ảnh giữ cột trái (cao 2 hàng), chữ + hàng [số lượng · giá] cùng nằm trong cột phải. */
  .cart-row { grid-template-columns: 72px 1fr; gap: 14px; padding: 16px; align-items: start; }
  .cart-thumb { width: 72px; height: 72px; grid-row: 1 / span 2; }
  .cart-row .meta h4 { font-size:.95rem; line-height:1.35; }
  .cart-row .end { grid-column: 2; flex-direction: row; align-items:center;
    justify-content: space-between; gap: 12px; margin-top: 8px; }
  .cart-list-head { padding: 12px 16px; }
  .cart-layout { gap: 24px; }
}
@media (max-width: 420px) {
  /* N90 bước 3 (08/11): điện thoại 2 cột như MUJI/Shopee (trước 1 cột, thẻ cao 519px, /shop cuộn ~30.000px) */
  .product-grid, .product-grid.cols-3 { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 22px 12px; }
  .wrap { padding: 0 18px; }
}

/* ============================================================
   v3 — EDITORIAL & MOTION UPGRADE
   Sống động · khác biệt · phá cách (vẫn giữ chất tiểu thư)
   ============================================================ */

/* ---- Grain texture overlay (phủ trên cùng, không chặn click) ---- */
body::after {
  content:""; position: fixed; inset:0; z-index: 80; pointer-events:none; opacity:.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

/* ---- Scroll progress bar ---- */
.scroll-bar { position: fixed; top:0; left:0; height:3px; width:0; z-index: 70;
  background: linear-gradient(90deg, var(--blush-deep), var(--red)); transition: width .1s linear; }

/* ---- Custom cursor (desktop) ---- */
/* === Custom cursor cũ (dot+ring) — KHÔNG dùng nữa, giữ rỗng phòng cache === */
.cursor-dot, .cursor-ring { display:none !important; }

/* === Custom cursor MỚI: nơ ribbon === */
.cursor-bow {
  position: fixed; top:0; left:0; width:26px; height:26px;
  z-index: 95; pointer-events:none;
  transform: translate(-100px,-100px);
  transition: opacity .25s var(--ease), filter .25s var(--ease);
  filter: drop-shadow(0 2px 4px rgba(164,35,34,.32)) drop-shadow(0 1px 1px rgba(0,0,0,.18));
  will-change: transform;
}
.cursor-bow svg { display:block; transition: transform .18s var(--ease); }
.cursor-bow.hot svg { transform: scale(1.35); }
.cursor-bow.hot { filter: drop-shadow(0 3px 8px rgba(164,35,34,.55)) drop-shadow(0 0 6px rgba(224,138,152,.45)); }
.cursor-bow.tap svg { transform: scale(.85) rotate(-6deg); transition: transform .12s var(--ease); }
.cursor-bow.away { opacity: 0; }
body.has-cursor, body.has-cursor * { cursor: none !important; }
@media (hover: none) { .cursor-bow { display:none; } }
/* ---- Scroll reveal (FAIL-OPEN, transform-only) ----
   Nội dung LUÔN hiện (opacity không bao giờ bị animation đụng tới → freeze/lỗi observer cỡ nào
   sản phẩm vẫn hiện, tệ nhất chỉ lệch vài px). Hiệu ứng vào = trượt nhẹ + zoom. */
.reveal.sr-go            { animation: srUp .7s var(--ease) both; }
.reveal.r-left.sr-go     { animation: srLeft .7s var(--ease) both; }
.reveal.r-right.sr-go    { animation: srRight .7s var(--ease) both; }
.reveal.r-zoom.sr-go     { animation: srZoom .7s var(--ease) both; }
[data-stagger].sr-go > * { animation: srUp .55s var(--ease) both; }
@keyframes srUp    { from { transform: translateY(26px); } to { transform: none; } }
@keyframes srLeft  { from { transform: translateX(-34px); } to { transform: none; } }
@keyframes srRight { from { transform: translateX(34px); }  to { transform: none; } }
@keyframes srZoom  { from { transform: scale(.94); }        to { transform: none; } }

/* ---- Marquee ticker ---- */
.marquee { background: var(--charcoal); color: var(--cream); overflow:hidden; white-space:nowrap;
  padding: 13px 0; border-top:1px solid rgba(241,227,216,.12); border-bottom:1px solid rgba(241,227,216,.12); }
.marquee-track { display:inline-flex; gap: 0; animation: marquee 26s linear infinite; }@media (hover: hover) and (pointer: fine) {
  .marquee:hover .marquee-track { animation-play-state: paused; }
}

.marquee span { font-family:"Playfair Display",serif; font-style:italic; font-size: 1.45rem; padding: 0 26px; display:inline-flex; align-items:center; gap:26px; letter-spacing:.01em; }
.marquee span::after { content:"✿"; font-style:normal; color: var(--red); font-size:1rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---- Editorial hero (oversized + outline) ---- */
.hero { background: var(--bg); }
.hero-grid { padding: 104px 0 110px; }
.hero h1 { font-size: clamp(3.2rem, 8.5vw, 7.2rem); font-weight: 600; letter-spacing: -.03em; }
.hero h1 em { font-style: italic; color: var(--red); position: relative; }
.hero h1 .outline {
  -webkit-text-stroke: 2px var(--red); -webkit-text-fill-color: transparent; color: transparent; font-style: italic;
}
.hero .eyebrow { display:inline-flex; align-items:center; gap:10px; }
.hero .eyebrow::before { content:""; width:34px; height:1.5px; background: var(--red); display:inline-block; }
.hero-copy > * { opacity:0; transform: translateY(26px); animation: heroIn .9s var(--ease) forwards; }
.hero-copy > *:nth-child(1){ animation-delay:.05s } .hero-copy > *:nth-child(2){ animation-delay:.16s }
.hero-copy > *:nth-child(3){ animation-delay:.27s } .hero-copy > *:nth-child(4){ animation-delay:.38s }
.hero-copy > *:nth-child(5){ animation-delay:.49s }
@keyframes heroIn { to { opacity:1; transform:none; } }

/* animated gradient blobs behind hero bow */
.hero-art::before, .hero-art::after { content:""; position:absolute; border-radius:50%; filter: blur(36px); z-index:0; opacity:.7; }
/* Blob mờ để TĨNH (bỏ animation float1/float2): animate lớp blur(36px) tốn GPU → giật khi cuộn. Nhìn vẫn đẹp. */
.hero-art::before { width:300px; height:300px; background: var(--blush-deep); top:-6%; right:6%; }
.hero-art::after  { width:240px; height:240px; background: var(--cream); bottom:-4%; left:2%; }
@keyframes float1 { 50%{ transform: translate(-22px, 26px) scale(1.08);} }
@keyframes float2 { 50%{ transform: translate(20px, -20px) scale(1.1);} }
.hero-bloom { position: relative; z-index:1; animation: breathe 7s ease-in-out infinite; }
.hero-bloom .bow-frame { animation: sway 6s ease-in-out infinite; transform-origin: 50% 40%; }
@keyframes breathe { 50%{ transform: translateY(-10px);} }
@keyframes sway { 0%,100%{ transform: rotate(-3deg);} 50%{ transform: rotate(3deg);} }
.hero-badge { animation: floatBadge 5s ease-in-out infinite; }
.hero-badge.b2 { animation-delay: 1.4s; }
@keyframes floatBadge { 50%{ transform: translateY(-12px);} }

/* ---- Section eyebrow with index number ---- */
.section-head .eyebrow { display:inline-flex; align-items:center; gap:10px; justify-content:center; }
.sec-num { font-family:"Playfair Display",serif; font-style:italic; font-size: clamp(3rem,7vw,5.5rem);
  color: transparent; -webkit-text-stroke: 1.5px var(--blush-deep); display:block; line-height:1; margin-bottom:-6px; opacity:.8; }

/* ---- Product card — bolder hover ---- */
.card { transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease); }@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: translateY(-10px); box-shadow: 0 30px 60px -30px rgba(122,60,45,.5); }
}

.card-media .bow-frame { transition: transform .6s var(--ease); }@media (hover: hover) and (pointer: fine) {
  .card:hover .card-media .bow-frame { transform: scale(1.1) rotate(-3deg); }
}

.card-tag { transform: rotate(-3deg); transition: transform .3s var(--ease); box-shadow: 2px 3px 0 rgba(46,42,40,.12); }@media (hover: hover) and (pointer: fine) {
  .card:hover .card-tag { transform: rotate(0); }
}

.card-quick .btn { transition: transform .3s var(--ease), background .25s, color .25s; }@media (hover: hover) and (pointer: fine) {
  .card-quick .btn:hover { background: var(--red); color:#fff; }
}

.swatch { transition: transform .2s var(--ease); }@media (hover: hover) and (pointer: fine) {
  .card:hover .swatch:hover { transform: scale(1.5); }
}


/* ---- Category cards — editorial ---- */
.cat-card .cat-bg .bow-frame { transition: transform .6s var(--ease); }@media (hover: hover) and (pointer: fine) {
  .cat-card:hover .cat-bg .bow-frame { transform: scale(1.12) rotate(4deg); }
}

.cat-card h3 { transition: transform .35s var(--ease); }@media (hover: hover) and (pointer: fine) {
  .cat-card:hover h3 { transform: translateX(6px); }
}


/* ---- Buttons — shine sweep ---- */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after { content:""; position:absolute; top:0; left:-120%; width:60%; height:100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-18deg); transition: left .6s var(--ease); }@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover::after { left:140%; }
}

.btn-lg { letter-spacing:.01em; }

/* ---- Trust strip — animated underline icons ---- */
.trust-item { transition: transform .3s var(--ease); }@media (hover: hover) and (pointer: fine) {
  .trust-item:hover { transform: translateY(-4px); }
}
@media (hover: hover) and (pointer: fine) {
  .trust-item:hover svg { animation: nudge .5s var(--ease); }
}

@keyframes nudge { 50%{ transform: translateY(-4px) scale(1.1);} }

/* ---- Story art floating ---- */
.story-art .bow-frame { animation: sway 7s ease-in-out infinite; }
.story { position: relative; overflow: hidden; }
.story::before { content:"✿"; position:absolute; font-size: 14rem; color: var(--blush); opacity:.35; top:-3rem; right:-2rem; z-index:0; font-family:serif; animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg);} }
.story-grid { position: relative; z-index:1; }

/* ---- Number counters ---- */
.hero-stats .num { font-variant-numeric: tabular-nums; }

/* ---- Newsletter sparkle ---- */
.newsletter { position: relative; overflow: hidden; }
.newsletter::before, .newsletter::after { content:"✿"; position:absolute; color: rgba(241,227,216,.16); font-size:7rem; }
.newsletter::before { top:-1.4rem; left:1rem; animation: spin 30s linear infinite; }
.newsletter::after { bottom:-2rem; right:1.4rem; animation: spin 38s linear infinite reverse; }
.newsletter > * { position: relative; z-index:1; }

/* ---- PDP gallery float ---- */
.pdp-main .bow-frame { transition: transform .5s var(--ease); }@media (hover: hover) and (pointer: fine) {
  .pdp-main:hover .bow-frame { transform: scale(1.06) rotate(-2deg); }
}


/* ---- Page-head decorative ---- */
.page-head { position: relative; overflow: hidden; }
.page-head::after { content:""; position:absolute; width:280px; height:280px; border-radius:50%;
  border:1px dashed var(--blush-deep); right:-80px; top:-80px; opacity:.5; animation: spin 50s linear infinite; }

/* ---- Marquee responsive ---- */
@media (max-width: 760px) {
  .marquee span { font-size: 1.15rem; padding: 0 16px; }
  .hero-grid { padding: 70px 0 60px; }
  .sec-num { font-size: 3rem; }
  .hero-badge { display: none; }
  .hero-art::before, .hero-art::after { width: 180px; height: 180px; }
}

/* ============================================================
   v4 — COQUETTE · GLASS · AURORA · BENTO (trend 2025-26)
   ============================================================ */
@font-face {
  font-family: "Dancing Script";
  src: url("fonts/DancingScript-var.woff2") format("woff2"), url("fonts/DancingScript-var.ttf") format("truetype-variations");
  font-weight: 400 700; font-style: normal; font-display: swap;
}
.script { font-family: "Dancing Script", "Playfair Display", cursive; font-weight: 700; line-height: 1; }
:root { --glass: rgba(255,255,255,.62); --glass-brd: rgba(255,255,255,.75); }

/* ---- Glass utility ---- */
.glass {
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid var(--glass-brd);
  box-shadow: 0 24px 60px -34px rgba(122,60,45,.45), inset 0 1px 0 rgba(255,255,255,.6);
}

/* ---- Aurora mesh behind hero ---- */
.hero { background: var(--bg); }
.hero::before {
  content:""; position:absolute; inset:-25%; z-index:0; pointer-events:none; filter: blur(64px); opacity:.92;
  background:
    radial-gradient(38% 38% at 18% 28%, #EBB6AE, transparent 70%),
    radial-gradient(34% 34% at 82% 18%, #F6D9CF, transparent 70%),
    radial-gradient(42% 42% at 72% 82%, var(--cream), transparent 70%),
    radial-gradient(30% 30% at 28% 78%, #E59B95, transparent 70%);
  /* aurora animation ĐÃ BỎ: animate lớp blur(64px) khổng lồ = nguồn giật nặng nhất. Nền gradient tĩnh vẫn đẹp. */
}
@keyframes aurora { 50% { transform: translate(3%, -3%) scale(1.12) rotate(8deg); } }
.hero .wrap { position: relative; z-index: 2; }
.hero-badge { background: var(--glass) !important; backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border:1px solid var(--glass-brd); }
.hero-bloom { background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.9), rgba(241,227,216,.5) 70%) !important; backdrop-filter: blur(6px); border:1px solid rgba(255,255,255,.6); }

/* ---- Floating petals / hearts / sparkles ---- */
.fx-layer { position: fixed; inset:0; z-index:3; pointer-events:none; overflow:hidden; }
.petal { position:absolute; top:-40px; opacity:0; animation: fall linear forwards; }
.petal svg { display:block; }
@keyframes fall {
  0% { opacity:0; transform: translateY(-40px) rotate(0); }
  10% { opacity:.9; }
  90% { opacity:.85; }
  100% { opacity:0; transform: translateY(108vh) translateX(var(--drift,30px)) rotate(var(--spin,360deg)); }
}
.spark { position: fixed; z-index:88; pointer-events:none; transform: translate(-50%,-50%); animation: sparkPop .7s var(--ease) forwards; }
@keyframes sparkPop { 0%{ transform: translate(-50%,-50%) scale(0) rotate(0); opacity:1;} 100%{ transform: translate(-50%,-50%) scale(1.1) rotate(90deg); opacity:0;} }

/* ---- Coquette section divider (ribbon) ---- */
.ribbon-quote { text-align:center; padding: 36px 0; }
.ribbon-quote .script { font-size: clamp(2.4rem, 5vw, 4rem); color: var(--red); }

/* ============================================================
   BENTO GRID showcase
   ============================================================ */
.bento { display:grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 172px; gap: 18px; }
.bento-tile {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 24px;
  display:flex; flex-direction:column; justify-content:flex-end; gap:6px;
  border:1px solid var(--line); box-shadow: var(--shadow-soft);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}@media (hover: hover) and (pointer: fine) {
  .bento-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
}

.bt-2x2 { grid-column: span 2; grid-row: span 2; }
.bt-2x1 { grid-column: span 2; }
.bt-1x2 { grid-row: span 2; }
.bento-tile h3 { font-family:"Playfair Display",serif; font-size: 1.5rem; font-weight:600; }
.bento-tile p { font-size:.86rem; color: var(--ink-soft); }
.bento-tile.bt-pink h3, .bento-tile.bt-cream h3 { color: var(--ink); }
.bento-tile.bt-pink p, .bento-tile.bt-cream p { color: #5C4F48; }
/* scrim sáng phía dưới để chữ nổi trên nền nơ */
.bt-pink::after, .bt-cream::after {
  content:""; position:absolute; left:0; right:0; bottom:0; height:74%;
  background: linear-gradient(to top, rgba(255,255,255,.97) 16%, rgba(255,255,255,.62) 52%, rgba(255,255,255,0));
  z-index:1; pointer-events:none; border-radius: inherit;
}
.bento-tile .big-num { font-family:"Playfair Display",serif; font-size: clamp(2.6rem,5vw,4rem); font-weight:600; color: var(--red); line-height:1; }
.bt-bow { position:absolute; inset:0; z-index:0; opacity:.95; }
.bt-pink { background: linear-gradient(160deg,#FBE7E4,#F3D3CE); }
.bt-cream { background: linear-gradient(160deg,#FBF3E8,#F1E3D8); }
.bt-red { background: linear-gradient(160deg, var(--red), var(--red-dark)); color:#fff; border-color:transparent; }
.bt-red h3, .bt-red .big-num { color:#fff; } .bt-red p { color: rgba(255,255,255,.8); }
.bt-dark { background: var(--charcoal); color: var(--cream); border-color:transparent; }
.bt-dark h3 { color:#fff; } .bt-dark p { color: rgba(241,227,216,.75); }
.bento-tile .tile-body { position:relative; z-index:2; }
.bt-tag { position:absolute; top:18px; left:18px; z-index:2; font-size:.7rem; letter-spacing:.1em; text-transform:uppercase; font-weight:700; color: var(--red); background:#fff; padding:5px 11px; border-radius:999px; box-shadow: var(--shadow-soft); }
.bt-cta { display:inline-flex; align-items:center; gap:8px; font-weight:700; }
.bt-cta svg { width:18px; height:18px; transition: transform .3s var(--ease); }@media (hover: hover) and (pointer: fine) {
  .bento-tile:hover .bt-cta svg { transform: translateX(5px); }
}

.bt-stars { color: var(--gold); letter-spacing:2px; font-size:1.1rem; }

/* ============================================================
   GIFT PAGE — trao quà
   ============================================================ */
.gift-hero { position: relative; overflow:hidden; text-align:center; padding: 84px 0 72px; }
.gift-hero::before { content:""; position:absolute; inset:-25%; z-index:0; filter: blur(64px); opacity:.9;
  background: radial-gradient(34% 34% at 25% 30%, #EBB6AE, transparent 70%), radial-gradient(36% 36% at 75% 25%, #F6D9CF, transparent 70%), radial-gradient(40% 40% at 60% 85%, var(--cream), transparent 70%); /* aurora bỏ (blur64 nặng) */ }
.gift-hero .wrap { position:relative; z-index:1; }
.gift-hero .script { font-size: clamp(3rem,7vw,5.5rem); color: var(--red); display:block; }
.gift-hero h1 { font-family:"Playfair Display",serif; font-weight:500; font-size: clamp(1.8rem,3.2vw,2.6rem); margin-top:6px; }
.gift-hero p { color: var(--ink-soft); max-width: 520px; margin: 16px auto 0; }

.gift-builder { display:grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items:start; }
.gift-steps { display:flex; flex-direction:column; gap: 20px; min-width:0; }
.gift-step { background: var(--surface); border:1px solid var(--line); border-radius: var(--radius); padding: 24px; min-width:0; }
.gift-step > .st-head { display:flex; align-items:center; gap:12px; margin-bottom:16px; }
.gift-step .st-n { width:30px; height:30px; flex:none; border-radius:50%; background: var(--red); color:#fff; font-weight:700; display:grid; place-items:center; font-size:.85rem; }
.gift-step h3 { font-family:"Playfair Display",serif; font-size:1.4rem; font-weight:600; }
.gift-step .st-sub { color: var(--ink-soft); font-size:.85rem; margin-top:2px; }

/* gift product picker */
/* ===== Boutique gift picker ===== */
/* Chip lọc danh mục */
.gp-cats { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:18px; }
.gp-cat { padding:7px 15px; border-radius:999px; border:1px solid var(--line-strong); background:#fff;
  font-size:.82rem; color:var(--ink-soft); cursor:pointer; white-space:nowrap; transition: all .2s var(--ease); }@media (hover: hover) and (pointer: fine) {
  .gp-cat:hover { border-color: var(--blush-deep); color: var(--ink); }
}

.gp-cat.active { background: var(--red); border-color: var(--red); color:#fff; }

/* Sản phẩm tâm điểm */
.gp-feature { display:flex; gap:20px; align-items:center; padding:18px; margin-bottom:18px;
  border-radius:var(--radius); border:1px solid var(--line);
  background: linear-gradient(135deg, var(--surface-soft) 0%, #fff 75%); }
.gp-feat-img { width:160px; height:160px; flex:none; border-radius:16px; overflow:hidden;
  background: var(--surface-soft); box-shadow: 0 12px 28px rgba(46,42,40,.12); }
.gp-feat-img .img-wrap, .gp-feat-img .bow-frame { width:100%; height:100%; }
.gp-feat-meta { min-width:0; }
.gp-feat-eyebrow { font-size:.7rem; letter-spacing:.16em; text-transform:uppercase; color: var(--blush-deep); font-weight:700; }
.gp-feat-name { font-family:"Playfair Display",serif; font-size:1.35rem; font-weight:600; line-height:1.22; margin-top:6px; color: var(--ink); }
.gp-feat-price { color: var(--red); font-weight:700; font-size:1.2rem; margin-top:8px; }
.gp-feat-price .from { font-size:.72em; font-weight:500; color: var(--ink-soft); }
.gp-feat-desc { color: var(--ink-soft); font-size:.86rem; line-height:1.55; margin-top:10px; }

/* Dải thumbnail trượt ngang */
.gp-rail-wrap { position:relative; min-width:0; }
.gp-rail-wrap::after { content:""; position:absolute; top:0; right:0; bottom:14px; width:36px; pointer-events:none;
  background: linear-gradient(90deg, transparent, var(--surface)); border-radius:0 16px 16px 0; }
.gp-rail { display:flex; gap:12px; overflow-x:auto; padding:4px 2px 14px; scroll-snap-type:x proximity; min-width:0; }
.gp-rail::-webkit-scrollbar { height:7px; }
.gp-rail::-webkit-scrollbar-thumb { background:var(--line-strong); border-radius:8px; }
.gp-rail::-webkit-scrollbar-track { background:transparent; }
.gp-thumb { flex:none; width:84px; cursor:pointer; scroll-snap-align:center; background:none; border:none; padding:0; text-align:center; }
.gp-thumb-img { display:block; width:84px; height:84px; border-radius:14px; overflow:hidden; position:relative;
  background: var(--surface-soft); border:2px solid transparent; transition: all .25s var(--ease); }
.gp-thumb-img .img-wrap, .gp-thumb-img .bow-frame { width:100%; height:100%; }@media (hover: hover) and (pointer: fine) {
  .gp-thumb:hover .gp-thumb-img { border-color: var(--blush-deep); transform: translateY(-3px); }
}

.gp-thumb.active .gp-thumb-img { border-color: var(--red); box-shadow: 0 0 0 3px rgba(164,35,34,.15); }
.gp-thumb.active .gp-thumb-img::after { content:"✓"; position:absolute; top:4px; right:4px; width:19px; height:19px;
  background: var(--red); color:#fff; border-radius:50%; font-size:11px; line-height:19px; font-weight:700; }
.gp-thumb small { display:block; font-size:.72rem; margin-top:6px; color: var(--red); font-weight:600; }
.gp-feat-img.gp-pop { animation: gpPop .4s var(--ease); }
@keyframes gpPop { 0%{ opacity:.35; transform:scale(.96) } 100%{ opacity:1; transform:scale(1) } }

/* Dịp tặng (gift) */
.g-occasions { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:14px; }
.g-occ { padding:7px 14px; border-radius:999px; border:1px solid var(--line-strong); background:#fff;
  font-size:.82rem; color:var(--ink-soft); cursor:pointer; transition:all .2s var(--ease); }@media (hover: hover) and (pointer: fine) {
  .g-occ:hover { border-color: var(--blush-deep); color: var(--ink); }
}

.g-occ.active { background: var(--blush, #F3DEDA); border-color: var(--red); color: var(--red); font-weight:600; }

/* wrap options */
.wrap-opts { display:grid; grid-template-columns: repeat(3,1fr); gap:12px; }
.wrap-opt { border:2px solid var(--line); border-radius: 16px; padding:16px; cursor:pointer; text-align:center; transition: all .2s var(--ease); }@media (hover: hover) and (pointer: fine) {
  .wrap-opt:hover { border-color: var(--blush-deep); }
}

.wrap-opt.active { border-color: var(--red); background: var(--surface-soft); }
.wrap-swatch { width:100%; height:64px; border-radius:10px; margin-bottom:10px; position:relative; overflow:hidden; }
.wrap-opt b { font-size:.9rem; display:block; }
.wrap-opt span { font-size:.8rem; color: var(--red); font-weight:600; }
/* Gói quà "đang cập nhật" — khoá chọn */
.wrap-opt.soon { cursor: not-allowed; opacity:.55; filter: grayscale(.35); }@media (hover: hover) and (pointer: fine) {
  .wrap-opt.soon:hover { border-color: var(--line); transform:none; }
}

.wrap-opt.soon span { color: var(--ink-muted); font-style: italic; }
.wrap-opt.soon .wrap-swatch::after { content:"Sắp có"; position:absolute; inset:0; display:grid; place-items:center;
  background: rgba(46,42,40,.42); color:#fff; font-size:.74rem; font-weight:700; letter-spacing:.03em; }

/* toggles */
.gift-toggle { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:12px 0; }
.gift-toggle .lab b { font-size:.95rem; } .gift-toggle .lab small { display:block; color: var(--ink-soft); font-size:.8rem; }
.switch { width:48px; height:28px; border-radius:999px; background: var(--line-strong); position:relative; cursor:pointer; transition: background .25s var(--ease); flex:none; }
.switch::after { content:""; position:absolute; top:3px; left:3px; width:22px; height:22px; border-radius:50%; background:#fff; transition: transform .25s var(--ease); box-shadow: 0 2px 5px rgba(0,0,0,.18); }
.switch.on { background: var(--red); } .switch.on::after { transform: translateX(20px); }

/* live gift card preview (sticky) */
.gift-preview { position: sticky; top: 96px; }
.gift-card {
  border-radius: var(--radius-lg); padding: 30px; color: var(--ink); position: relative; overflow:hidden;
  background: linear-gradient(160deg,#FDF6F0,#F3DEDA); border:1px solid var(--glass-brd);
  box-shadow: var(--shadow); min-height: 420px; display:flex; flex-direction:column;
}
.gift-card .gc-ribbon { position:absolute; top:0; left:0; right:0; height:54px; background: var(--red); display:flex; align-items:center; justify-content:center; }
.gift-card .gc-ribbon span { color:#fff; letter-spacing:.2em; text-transform:uppercase; font-size:.72rem; font-weight:700; }
.gift-card .gc-bow { width:120px; margin: 70px auto 10px; }
.gift-card .gc-to { text-align:center; color: var(--ink-soft); font-size:.85rem; margin-top:8px; }
.gift-card .gc-to b { color: var(--ink); }
.gift-card .gc-msg { font-family:"Dancing Script",cursive; font-weight:700; font-size: 1.7rem; color: var(--red); text-align:center; margin: 14px 0; line-height:1.3; flex:1; display:flex; align-items:center; justify-content:center; }
.gift-card .gc-from { text-align:center; color: var(--ink-soft); font-size:.9rem; }
.gift-card .gc-from b { color: var(--ink); }
.gift-card .gc-foot { border-top:1px dashed var(--blush-deep); padding-top:14px; margin-top:14px; display:flex; justify-content:space-between; font-size:.82rem; color: var(--ink-soft); }
.gift-preview .total-row { display:flex; justify-content:space-between; align-items:center; margin:18px 0 12px; font-weight:700; }
.gift-preview .total-row .price { color: var(--red); font-size:1.4rem; }

@media (max-width: 1024px) {
  .gift-builder { grid-template-columns: 1fr; }
  .gift-preview { position: static; }
  .bento { grid-auto-rows: 150px; }
}
@media (max-width: 760px) {
  .bento { grid-template-columns: repeat(2,1fr); grid-auto-rows: 150px; }
  .bt-2x2 { grid-column: span 2; grid-row: span 2; }
  .gp-feature { flex-direction: column; text-align: center; }
  .gp-feat-img { width:100%; height:auto; aspect-ratio:1; max-width:240px; margin:0 auto; }
  .gp-feat-eyebrow { display:block; }
  .wrap-opts { grid-template-columns: 1fr; }
}

/* ============================================================
   v5 — HOVER IMAGE-CYCLE + LOOKBOOK BANNER (tham khảo Bridge)
   ============================================================ */
/* hover cross-fade nhiều ảnh */
.hover-cycle { position:absolute; inset:0; display:block; }
.hc-frame { position:absolute; inset:0; opacity:0; transition: opacity .6s var(--ease); }
.hc-frame.on { opacity:1; }
.hc-frame .bow-frame { width:100%; height:100%; }
/* Ảnh sản phẩm thật đè lên minh hoạ SVG (fallback nếu thiếu ảnh) */
.img-wrap { position:relative; display:block; width:100%; aspect-ratio:1; }
.img-wrap > .bow-frame { position:absolute; inset:0; width:100%; height:100%; }
.img-wrap > img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:1; transition:opacity .45s var(--ease); }
.img-wrap > img.loaded { opacity:1; } /* backward-compat: default opacity:1 để tránh ảnh ẩn vĩnh viễn khi cache hit / Safari mobile */
.hc-frame .img-wrap { position:absolute; inset:0; aspect-ratio:auto; }
.hc-dots { position:absolute; top:12px; left:50%; transform:translateX(-50%); z-index:3; display:flex; gap:5px; opacity:0; transition: opacity .3s var(--ease); pointer-events:none; }@media (hover: hover) and (pointer: fine) {
  .card:hover .hc-dots, .cat-card:hover .hc-dots { opacity:1; }
}

.cat-card .hc-dots { top:auto; bottom:96px; }
.hc-dots i { width:5px; height:5px; border-radius:50%; background: rgba(46,42,40,.28); transition: all .3s var(--ease); }
.hc-dots i.on { background: var(--red); width:15px; border-radius:3px; }

/* ---- Lookbook / model banner ---- */
.lookbook { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--surface-soft), var(--blush) 130%); }
.lookbook-grid { display:grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items:center; padding: 64px 0; }
.lookbook-media { position: relative; border-radius: var(--radius-lg); overflow:hidden; box-shadow: var(--shadow); aspect-ratio: 4/5; }
.lookbook-media .hc-frame .bow-frame { width:100%; height:100%; object-fit:cover; }
.lookbook-media .lb-tag { position:absolute; left:18px; bottom:18px; z-index:4; background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border:1px solid var(--glass-brd); border-radius:14px; padding:10px 16px; box-shadow: var(--shadow-soft); }
.lookbook-media .lb-tag b { font-size:.92rem; } .lookbook-media .lb-tag small { display:block; color: var(--red); font-size:.78rem; font-weight:600; }
.lookbook-copy .eyebrow { display:inline-flex; align-items:center; gap:10px; }
.lookbook-copy .eyebrow::before { content:""; width:34px; height:1.5px; background: var(--red); }
.lookbook-copy h2 { font-family:"Playfair Display",serif; font-weight:500; font-size: clamp(2.2rem,4.4vw,3.4rem); margin: 14px 0 10px; line-height:1.05; }
.lookbook-copy h2 .script { color: var(--red); font-size: 1.25em; display:inline-block; }
.lookbook-copy p { color: var(--ink-soft); max-width: 420px; margin-bottom: 24px; }
.lb-thumbs { display:flex; gap:10px; margin-bottom: 26px; }
.lb-thumb { width:54px; height:64px; border-radius: 12px; overflow:hidden; border:2px solid transparent; cursor:pointer; box-shadow: var(--shadow-soft); transition: border-color .2s var(--ease), transform .2s var(--ease); }@media (hover: hover) and (pointer: fine) {
  .lb-thumb:hover { transform: translateY(-3px); }
}

.lb-thumb.on { border-color: var(--red); }

/* ============================================================
   LOOKBOOK — Thẻ bài rút bộ (gamification)
   ============================================================ */
.lb-quote {
  position: relative;
  background: linear-gradient(135deg, rgba(255,255,255,.7), rgba(247,239,230,.5));
  border-left: 3px solid var(--red);
  padding: 14px 18px 14px 36px;
  margin: 4px 0 22px;
  border-radius: 0 14px 14px 0;
  box-shadow: 0 4px 14px rgba(164,35,34,.06);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
  max-width: 460px;
  min-height: 56px;
  display: flex; align-items: center;
}
.lb-quote.swap { opacity: 0; transform: translateX(-6px); }
.lb-quote-mark {
  position: absolute; left: 10px; top: -6px;
  font-family: "Playfair Display", serif;
  font-size: 2.4rem; line-height: 1;
  color: var(--red); opacity: .55;
  font-style: italic;
}
.lb-quote p {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 1.02rem;
  line-height: 1.45;
  color: var(--ink);
}

/* DECK: Giao diện 3D Coverflow */
.lb-deck {
  position: relative;
  height: 250px;
  margin: 0 0 12px;
  width: 100%;
  max-width: 420px;
  perspective: 1000px;          /* Góc nhìn 3D */
  transform-style: preserve-3d;
  user-select: none;
  touch-action: pan-y;
  outline: none;
}
.lb-deck.dragging .lb-card { cursor: grabbing; }
.lb-card {
  position: absolute;
  top: 12px;
  left: 0;
  width: 135px;
  height: 190px;
  border-radius: 14px;
  overflow: hidden;
  cursor: grab;
  background: var(--surface-soft);
  border: 2px solid rgba(164,35,34,.16);
  box-shadow: 0 10px 24px rgba(46,42,40,.14);

  /* Dùng CSS vars do JS set để giữ trạng thái 3D */
  transform:
    translate3d(var(--tx, 0), var(--ty, 0), 0)
    rotateY(var(--ry, 0deg))
    scale(var(--sc, 1));
  transform-origin: 50% 50%;     /* Tâm lật về giữa thẻ */

  transition:
    transform 0.65s cubic-bezier(0.34, 1.36, 0.46, 1),
    opacity 0.45s ease,
    box-shadow 0.4s ease,
    border-color 0.3s ease,
    filter 0.4s ease;

  will-change: transform, opacity;
  opacity: 0;
  z-index: 1;
  backface-visibility: hidden;
}
/* Thẻ được chọn — xoay 360° rồi đáp xuống vị trí giữa */
.lb-card.on {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(164,35,34,.16), 0 25px 45px rgba(164,35,34,.35);
  animation: drawCardSpin 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  filter: brightness(1) saturate(1);
}
@keyframes drawCardSpin {
  0% {
    transform:
      translate3d(var(--tx), var(--ty), -150px)
      rotateY(360deg)
      scale(0.6);
  }
  100% {
    transform:
      translate3d(var(--tx), var(--ty), 0)
      rotateY(0deg)
      scale(var(--sc));
  }
}
.lb-card:not(.on) { filter: brightness(0.85) saturate(0.9); }@media (hover: hover) and (pointer: fine) {
  .lb-card:not(.on):hover { filter: brightness(1.05) saturate(1.05); }
}


/* Pagination dots dưới deck — click qua lại */
.lb-dots {
  display: flex;
  gap: 8px;
  margin: 0 0 26px;
  align-items: center;
  flex-wrap: wrap;
}
.lb-dot {
  position: relative;
  width: 26px; height: 6px;
  border-radius: 3px;
  background: rgba(164,35,34,.18);
  cursor: pointer;
  border: 0; padding: 0;
  transition: width .4s cubic-bezier(.22,1,.36,1), background .3s ease, transform .3s ease;
}
/* Vùng chạm mở rộng vô hình — chủ yếu theo chiều cao (6px quá thấp để chạm); chiều ngang mở vừa phải
   để không đè lên chấm bên cạnh (gap chỉ 8px) */
.lb-dot::after { content:""; position:absolute; top:50%; left:50%; width:34px; height:44px; transform:translate(-50%,-50%); }@media (hover: hover) and (pointer: fine) {
  .lb-dot:hover { background: rgba(164,35,34,.4); transform: translateY(-1px); }
}

.lb-dot.on { background: var(--red); width: 38px; }
.lb-card-num {
  position: absolute; top: 6px; left: 6px; z-index: 3;
  font-family: "Playfair Display", serif;
  font-style: italic; font-weight: 600;
  font-size: .78rem; line-height: 1;
  color: var(--red);
  background: rgba(255,255,255,.92);
  padding: 3px 7px; border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,.08);
  letter-spacing: .03em;
}
.lb-card-img { position: absolute; inset: 0; }
.lb-card-img img,
.lb-card-img svg {
  width: 100% !important; height: 100% !important;
  object-fit: cover; display: block;
}
.lb-card-name {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  background: linear-gradient(transparent, rgba(0,0,0,.65));
  color: #fff;
  font-size: .68rem; font-weight: 600;
  padding: 18px 6px 6px; text-align: center;
  letter-spacing: .02em;
  pointer-events: none;
  text-shadow: 0 1px 2px rgba(0,0,0,.4);
}
/* Hover hint: thẻ inactive sáng nhẹ */
.lb-card::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at top, rgba(255,255,255,.25), transparent 60%);
  opacity: 0; transition: opacity .3s var(--ease);
  pointer-events: none;
}@media (hover: hover) and (pointer: fine) {
  .lb-card:hover::after { opacity: 1; }
}


@media (max-width: 860px) {
  .lookbook-grid { grid-template-columns: 1fr; gap: 28px; padding: 48px 0; }
  .lookbook-media { aspect-ratio: 3/4; max-height: 460px; }
  .lb-deck { grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 10px; }
  .lb-quote p { font-size: .94rem; }
}
/* iPad/tablet: lookbook 1 cột — CĂN GIỮA cho cân đối.
   (Bug: aspect-ratio 3/4 + max-height ép ảnh còn ~345px rồi dồn lề trái → nửa phải trống.)
   LƯU Ý: KHÔNG dùng justify-items:center cho .lookbook-media — ảnh nằm trong .hc-frame
   position:absolute nên div không có width nội tại, co về 0. Phải cho width cố định + justify-self.
   Phone ≤560 giữ nguyên (ảnh vốn full-width nên không lệch). */
@media (min-width: 561px) and (max-width: 860px) {
  .lookbook-grid { text-align: center; }
  .lookbook-media { width: 440px; max-width: 92%; max-height: none; aspect-ratio: 3/4; margin: 0 auto; justify-self: center; }
  .lookbook-copy { max-width: 600px; margin: 0 auto; justify-self: center; }
  .lookbook-copy .eyebrow { justify-content: center; }
  .lookbook-copy p { margin-left: auto; margin-right: auto; }
  .lb-deck { justify-content: center; }
  .lb-dots { justify-content: center; }
}

/* ============================================================
   BLOG
   ============================================================ */
.blog-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.blog-card { overflow:hidden; }
.blog-cover { position:relative; display:block; aspect-ratio: 16/10; overflow:hidden; }
.blog-cover .bow-frame { width:100%; height:100%; transition: transform .5s var(--ease); }@media (hover: hover) and (pointer: fine) {
  .blog-card:hover .blog-cover .bow-frame { transform: scale(1.06); }
}

.blog-cat { position:absolute; top:14px; left:14px; background:#fff; color: var(--red); font-size:.68rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; padding:5px 12px; border-radius:999px; box-shadow: var(--shadow-soft); }
.blog-meta { font-size:.78rem; color: var(--ink-muted); letter-spacing:.02em; margin-bottom:4px; }
.blog-card .card-title { font-size:1.08rem; line-height:1.3; }
.blog-excerpt { font-size:.88rem; color: var(--ink-soft); margin: 6px 0 12px; }

/* Featured blog (trang blog) */
.blog-hero-card { display:grid; grid-template-columns: 1.1fr 1fr; gap:0; border-radius: var(--radius-lg); overflow:hidden; border:1px solid var(--line); box-shadow: var(--shadow-soft); background: var(--surface); margin-bottom: 44px; }
.blog-hero-card .bh-media { position:relative; min-height: 320px; }
.blog-hero-card .bh-media .bow-frame { position:absolute; inset:0; width:100%; height:100%; }
.blog-hero-card .bh-body { padding: 40px; display:flex; flex-direction:column; justify-content:center; }
.blog-hero-card .bh-body h2 { font-family:"Playfair Display",serif; font-weight:600; font-size: clamp(1.6rem,2.6vw,2.2rem); margin:10px 0 12px; line-height:1.15; }
.blog-hero-card .bh-body p { color: var(--ink-soft); margin-bottom: 20px; }

/* Bài viết */
.post { max-width: 760px; margin: 0 auto; }
.post-head { text-align:center; margin-bottom: 32px; }
.post-head .blog-cat { position:static; display:inline-block; margin-bottom: 14px; }
.post-head h1 { font-family:"Playfair Display",serif; font-weight:600; font-size: clamp(2rem,4vw,3rem); line-height:1.1; }
.post-head .blog-meta { margin-top: 14px; font-size:.85rem; }
.post-cover { aspect-ratio: 16/8; border-radius: var(--radius-lg); overflow:hidden; box-shadow: var(--shadow-soft); margin-bottom: 36px; }
.post-cover .bow-frame { width:100%; height:100%; }
.post-content { font-size: 1.05rem; line-height: 1.8; color: var(--ink); }
.post-content h2 { font-family:"Playfair Display",serif; font-weight:600; font-size: 1.5rem; margin: 32px 0 12px; }
.post-content p { margin-bottom: 18px; color: #463E39; }
.post-content ul { margin: 0 0 18px 0; padding-left: 22px; list-style: disc; }
.post-content li { margin-bottom: 8px; color: #463E39; }
.post-content a { color: var(--red); font-weight:600; text-decoration: underline; text-underline-offset: 3px; }
.post-share { display:flex; align-items:center; gap:12px; border-top:1px solid var(--line); border-bottom:1px solid var(--line); padding: 18px 0; margin: 36px 0; }
.post-share span { font-size:.9rem; color: var(--ink-soft); }
.post-back { display:inline-flex; align-items:center; gap:8px; color: var(--red); font-weight:600; margin-bottom: 22px; }

@media (max-width: 860px) {
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .blog-hero-card { grid-template-columns: 1fr; }
  .blog-hero-card .bh-media { min-height: 220px; aspect-ratio: 16/9; }
}
@media (max-width: 560px) { .blog-grid { grid-template-columns: 1fr; } }

/* ============================================================
   MENU DI ĐỘNG
   ============================================================ */
.m-overlay { position: fixed; inset:0; background: rgba(30,26,24,.4); backdrop-filter: blur(16px); z-index: var(--z-overlay); opacity:0; visibility:hidden; transition: opacity .3s var(--ease); }
.m-overlay.open { opacity:1; visibility:visible; }
.m-menu { position: fixed; top:0; right:0; height:100%; height:100dvh; width: 340px; max-width: 88vw; background: var(--bg); z-index: var(--z-drawer);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .38s var(--ease); display:flex; flex-direction:column; box-shadow: -20px 0 60px -30px rgba(46,42,40,.5); }
.m-menu.open { transform: none; }
/* Điện thoại nhỏ: menu chiếm hơn nửa màn hình, phần trang chính lộ ra được làm mờ đậm (không chỉ tối) để trông có chủ đích, sang hơn */
@media (max-width: 480px) {
  .m-menu { width: 60%; max-width: 60%; }
  .m-menu .m-cats { grid-template-columns: 1fr; }
}
.m-menu-head { display:flex; align-items:center; justify-content:space-between; padding: 18px 22px; border-bottom:1px solid var(--line); flex-shrink: 0; }

/* Body cuộn được, foot cố định */
.m-menu-body { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 4px 0 10px; -webkit-overflow-scrolling: touch; }
.m-menu-body::-webkit-scrollbar { width: 4px; }
.m-menu-body::-webkit-scrollbar-thumb { background: rgba(164,35,34,.18); border-radius: 4px; }

.m-section { padding: 4px 0 8px; }
.m-section + .m-section { border-top: 1px solid rgba(216,196,176,.4); margin-top: 4px; padding-top: 8px; }
.m-section-title {
  padding: 14px 24px 8px;
  font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--red); opacity: .8;
}

/* Liên kết chính (Khám phá / Hỗ trợ) — touch target 52px */
.m-links { display:flex; flex-direction:column; padding: 0; }
.m-links a {
  display: flex; align-items: center;
  min-height: 52px;
  padding: 12px 24px;
  font-size: 1.02rem; font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid rgba(216,196,176,.25);
  transition: background .2s var(--ease), color .2s var(--ease), padding-left .2s var(--ease);
}
.m-links a:last-child { border-bottom: 0; }.m-links a:active, .m-links a.active {
  background: var(--surface-soft); color: var(--red); padding-left: 30px;
}
@media (hover: hover) and (pointer: fine) {
  .m-links a:hover {
  background: var(--surface-soft); color: var(--red); padding-left: 30px;
}
}


/* Phân loại sản phẩm — grid 2 cột tiết kiệm chỗ */
.m-cats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 10px;
  padding: 6px 18px 4px;
}
.m-cat-link {
  display: flex; align-items: center; justify-content: space-between;
  gap: 6px;
  padding: 12px 12px 12px 14px;
  min-height: 48px;
  font-size: .92rem; font-weight: 500;
  color: var(--ink);
  background: var(--surface-soft);
  border-radius: 12px;
  border: 1px solid transparent;
  transition: all .2s var(--ease);
  line-height: 1.2;
}.m-cat-link:active {
  background: #fff; color: var(--red);
  border-color: rgba(164,35,34,.3);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(164,35,34,.1);
}
@media (hover: hover) and (pointer: fine) {
  .m-cat-link:hover {
  background: #fff; color: var(--red);
  border-color: rgba(164,35,34,.3);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(164,35,34,.1);
}
}

.m-cat-arrow {
  font-size: 1.2rem; font-weight: 400;
  color: var(--red); opacity: .6;
  flex-shrink: 0;
}

/* Truy cập nhanh */
.m-section-quick { padding-bottom: 14px; }
.m-quick { padding: 4px 18px 4px; display: flex; flex-direction: column; gap: 10px; }
.m-quick-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  min-height: 52px;
  border-radius: 12px;
  background: var(--surface-soft);
  color: var(--ink); font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  width: 100%; text-align: left;
  transition: all .2s var(--ease);
  font-size: 1rem;
}.m-quick-item:active {
  background: #fff; border-color: rgba(164,35,34,.25); color: var(--red);
}
@media (hover: hover) and (pointer: fine) {
  .m-quick-item:hover {
  background: #fff; border-color: rgba(164,35,34,.25); color: var(--red);
}
}

.m-quick-item svg { width: 22px; height: 22px; flex: 0 0 22px; }
.m-cart-badge {
  margin-left: auto;
  background: var(--red); color: #fff;
  padding: 3px 12px; border-radius: 999px;
  font-size: .78rem; font-weight: 700;
  min-width: 28px; text-align: center;
  line-height: 1.3;
}
.m-cart-badge[data-count="0"] { background: rgba(46,42,40,.18); color: var(--ink-soft); }
.m-lang-wrap { display: flex; justify-content: center; padding: 2px 0; }
.m-lang-wrap .lang-switch { width: 100%; max-width: 200px; }

/* Footer cố định: Hotline + socials */
.m-menu-foot {
  padding: 14px 18px calc(18px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  flex-shrink: 0;
  background: var(--bg);
  display: flex; flex-direction: column; gap: 12px;
}
.m-socials { display: flex; justify-content: center; gap: 26px; padding: 2px 0; }
.m-socials a { position: relative; color: var(--ink-soft); display: inline-flex; }
.m-socials a svg { width: 22px; height: 22px; }.m-socials a:active { color: var(--red); }
@media (hover: hover) and (pointer: fine) {
  .m-socials a:hover { color: var(--red); }
}

/* Vùng chạm 44px vô hình — không đổi kích thước icon hiển thị (chuẩn touch target, không ảnh hưởng giao diện) */
.m-socials a::after { content:""; position:absolute; top:50%; left:50%; width:44px; height:44px; transform:translate(-50%,-50%); }

@media (min-width: 761px) { .m-menu, .m-overlay { display:none; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal, [data-stagger] > *, .hero-copy > * { opacity:1 !important; transform:none !important; }
  .marquee-track, .hero::before, .gift-hero::before { animation: none !important; }
  body.has-cursor, body.has-cursor * { cursor: auto !important; }
  .cursor-dot, .cursor-ring, .fx-layer, .spark { display:none !important; }
}

/* ===== Fix lề ngang trên mobile (hero & lookbook dùng padding shorthand làm mất lề 2 bên) ===== */
@media (max-width: 760px){
  .hero-grid, .lookbook-grid { padding-left: 20px; padding-right: 20px; }
}

/* ===== Card danh mục: chữ nổi trên ảnh (gradient scrim + hiệu ứng nhẹ) ===== */
.cat-card::after{
  content:""; position:absolute; inset:0; z-index:1; pointer-events:none;
  background:linear-gradient(to top, rgba(40,30,28,.74) 0%, rgba(40,30,28,.40) 20%, rgba(40,30,28,0) 46%);
  transition:opacity .4s var(--ease); opacity:.92;
}@media (hover: hover) and (pointer: fine) {
  .cat-card:hover::after { opacity:1; }
}

.cat-card .cat-body{ z-index:2; color:#fff; transition:transform .45s var(--ease); }@media (hover: hover) and (pointer: fine) {
  .cat-card:hover .cat-body { transform:translateY(-5px); }
}

.cat-card h3{ color:#fff; text-shadow:0 2px 14px rgba(0,0,0,.45); }
.cat-card .cat-body span{ color:rgba(255,255,255,.92); position:relative; display:inline-block; }
.cat-card .cat-body span::after{
  content:""; position:absolute; left:0; bottom:-5px; height:1.5px; width:0;
  background:rgba(255,255,255,.85); transition:width .5s var(--ease);
}@media (hover: hover) and (pointer: fine) {
  .cat-card:hover .cat-body span::after { width:34px; }
}

.cat-card .cat-bg img{ transition:transform .7s var(--ease); }@media (hover: hover) and (pointer: fine) {
  .cat-card:hover .cat-bg img { transform:scale(1.06); }
}


/* ===== RICH TEXT EDITOR (admin blog post) ===== */
.rt-wrap{ border:1.5px solid var(--line-strong); border-radius:10px; overflow:hidden; background:#fff; }
.rt-toolbar{ display:flex; flex-wrap:wrap; gap:4px; padding:8px 10px; background:var(--surface-soft); border-bottom:1px solid var(--line); }
.rt-btn{ background:#fff; border:1px solid var(--line); border-radius:6px; padding:6px 11px; cursor:pointer; font-size:.85rem; font-weight:600; color:var(--ink); min-width:32px; transition:all .15s; }@media (hover: hover) and (pointer: fine) {
  .rt-btn:hover { background:var(--red); color:#fff; border-color:var(--red); }
}

.rt-btn.on{ background:var(--ink); color:#fff; border-color:var(--ink); }
.rt-btn.rt-sep{ background:transparent; border:none; cursor:default; padding:6px 2px; color:var(--ink-soft); pointer-events:none; }
.rt-editor{ min-height:340px; padding:18px 22px; font-size:1rem; line-height:1.65; color:var(--ink); outline:none; }
.rt-editor[contenteditable=true]:empty::before{ content:attr(data-placeholder); color:var(--ink-muted); pointer-events:none; }
.rt-editor h2{ font-size:1.5rem; font-weight:700; margin:1.3em 0 .5em; color:var(--ink); }
.rt-editor h3{ font-size:1.2rem; font-weight:600; margin:1.1em 0 .4em; color:var(--ink); }
.rt-editor p{ margin:0 0 1em; }
.rt-editor ul, .rt-editor ol{ margin:0 0 1em 1.5em; }
.rt-editor li{ margin-bottom:.3em; }
.rt-editor a{ color:var(--red); text-decoration:underline; }
.rt-editor img{ max-width:100%; height:auto; border-radius:8px; margin:.6em 0; }
.rt-editor strong{ font-weight:700; } .rt-editor em{ font-style:italic; }
.rt-html{ display:none; width:100%; padding:18px 22px; border:none; outline:none; font-family:monospace; font-size:.85rem; line-height:1.55; min-height:340px; background:#fafafa; color:var(--ink); }
.rt-wrap.html-mode .rt-editor{ display:none; } .rt-wrap.html-mode .rt-html{ display:block; }

.adm-seo{ background:var(--surface-soft); border:1px solid var(--line); border-radius:12px; padding:14px 18px; margin:14px 0; }
.adm-seo summary{ cursor:pointer; font-weight:700; color:var(--red); font-size:.95rem; padding:4px 0; user-select:none; list-style:none; }
.adm-seo summary::before{ content:"▸ "; font-size:.8rem; }
.adm-seo[open] summary::before{ content:"▾ "; }
.adm-seo .seo-body{ margin-top:12px; }
.char-count{ font-size:.74rem; color:var(--ink-soft); margin-top:4px; }
.char-count.warn{ color:#C28A1E; } .char-count.over{ color:var(--red); font-weight:700; }

/* ---- Language switch (i18n VI/EN) ---- */
.lang-switch{display:inline-flex;align-items:center;border:1px solid var(--line-strong);border-radius:999px;overflow:hidden;margin-right:6px}
.lang-switch button{position:relative;font:inherit;font-size:.72rem;font-weight:700;letter-spacing:.02em;padding:5px 9px;background:none;border:none;cursor:pointer;color:var(--ink-soft);line-height:1;transition:background .15s,color .15s}
.lang-switch button.on{background:var(--red);color:#fff}@media (hover: hover) and (pointer: fine) {
  .lang-switch button:not(.on):hover {color:var(--ink)}
}

/* Vùng chạm 44px vô hình — không đổi kích thước nút hiển thị (chuẩn touch target, không ảnh hưởng giao diện) */
.lang-switch button::after{content:"";position:absolute;top:50%;left:50%;width:44px;height:44px;transform:translate(-50%,-50%)}
@media(max-width:760px){.lang-switch button{padding:6px 8px}}

/* ===== Chat FAB (Zalo + Messenger) — nut chat noi moi trang ===== */
.chat-fab { position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 58; display: flex; flex-direction: column; gap: 10px; }
.chat-fab a { position: relative; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(30,26,24,.22); transition: transform .2s ease; }@media (hover: hover) and (pointer: fine) {
  .chat-fab a:hover { transform: translateY(-2px) scale(1.06); }
}

.chat-fab a svg { width: 26px; height: 26px; }
.chat-fab .cf-ms { background: #fff; border: 1px solid var(--line, #eee); }
.chat-fab .cf-zl { background: #0068FF; }
.chat-fab .cf-zl span { color: #fff; font-weight: 800; font-size: .72rem; letter-spacing: .02em; }
/* Tranh de len thanh mua hang sticky (mobile trang SP) */
body:has(.pdp-sticky) .chat-fab { bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 761px) { body:has(.pdp-sticky) .chat-fab { bottom: calc(16px + env(safe-area-inset-bottom, 0px)); } }

/* ===== 💬 Nút chat Mitu (mountMituChat) — 1 nút nhỏ góc phải dưới, không tự bật ===== */
.mitu-chat { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 57; display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 18px 0 10px; border: 1px solid var(--blush-deep); border-radius: 999px; background: #fff; color: var(--red); font: inherit; font-size: .9rem; font-weight: 600; line-height: 1; cursor: pointer; box-shadow: 0 6px 18px rgba(30,26,24,.16); transition: transform .2s ease, box-shadow .2s ease; -webkit-tap-highlight-color: transparent; }
.mitu-chat img { width: 32px; height: 32px; flex: none; display: block; }
.mitu-chat .mc-badge { position: absolute; top: -4px; right: -4px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: #fff; border: 2px solid #fff; box-sizing: border-box; }
.mitu-chat .mc-badge svg { width: 10px; height: 10px; }
@media (min-width: 761px) { .mitu-chat .mc-badge { display: none; } } /* máy tính đã có chữ "Chat với Mitu" */
@media (hover: hover) and (pointer: fine) { .mitu-chat:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(30,26,24,.2); } }
@media (max-width: 760px) { .mitu-chat { right: 12px; width: 52px; padding: 0; justify-content: center; } .mitu-chat span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }
body:has(.pdp-sticky) .mitu-chat { bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 761px) { body:has(.pdp-sticky) .mitu-chat { bottom: calc(16px + env(safe-area-inset-bottom, 0px)); } }
body.cart-open .mitu-chat, body:has(.m-menu.open) .mitu-chat, body:has(.cart-nudge) .mitu-chat { display: none; }
body:has(.mitu-buddy) .mitu-chat { bottom: calc(92px + env(safe-area-inset-bottom, 0px)); } /* bé M gợi ý (nếu bật lại) ngồi góc này → nút chat đứng trên */
/* Khung chat Mitu (.mchat) — máy tính: hộp nổi trên nút · điện thoại: bảng trượt từ đáy */
body.mchat-open .mitu-chat { display: none; }
.mchat { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 90; width: 368px; max-width: calc(100vw - 32px); height: 560px; max-height: calc(100vh - 32px); display: flex; flex-direction: column; background: #fffaf7; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 18px 48px rgba(30,26,24,.24); overflow: hidden; animation: mchatIn .22s ease; }
.mchat[hidden] { display: none; }
@keyframes mchatIn { from { opacity: 0; transform: translateY(12px); } }
@media (prefers-reduced-motion: reduce) { .mchat { animation: none; } }
.mchat-head { display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 14px; background: var(--blush); border-bottom: 1px solid var(--blush-deep); }
.mchat-head img { width: 40px; height: 40px; border-radius: 50%; flex: none; }
.mchat-head div { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.mchat-head b { font-family: "Playfair Display", serif; font-size: 1.05rem; color: var(--ink); }
.mchat-head span { font-size: .78rem; color: var(--ink-soft); }
.mchat-x { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }
.mchat-x svg { width: 22px; height: 22px; }
.mchat-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 14px 12px; display: flex; flex-direction: column; gap: 8px; }
.mchat-msg { max-width: 88%; padding: 10px 13px; border-radius: 16px; font-size: .92rem; line-height: 1.5; overflow-wrap: anywhere; }
.mchat-msg.bot { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 6px; color: var(--ink); }
.mchat-msg.me { align-self: flex-end; background: var(--red); color: #fff; border-bottom-right-radius: 6px; }
.mchat-msg a { color: var(--red); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.mchat-order { display: block; margin-top: 8px; padding: 9px 11px; border-radius: 12px; background: var(--blush); }
.mchat-hand { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.mchat-hand a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; font-weight: 600; font-size: .88rem; text-decoration: none; }
.mchat-hand .ms { background: #0084FF; color: #fff; }
.mchat-hand .zl { background: #0068FF; color: #fff; }
.mchat-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.mchat-chips button { min-height: 40px; padding: 8px 13px; border: 1px solid var(--blush-deep); border-radius: 999px; background: #fff; color: var(--ink); font: inherit; font-size: .88rem; line-height: 1.3; text-align: left; cursor: pointer; }
@media (hover: hover) and (pointer: fine) { .mchat-chips button:hover { background: var(--blush); } .mchat-x:hover { background: rgba(46,42,40,.08); } }
.mchat-form { align-self: stretch; display: flex; flex-direction: column; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.mchat-form label { display: flex; flex-direction: column; gap: 5px; font-size: .82rem; color: var(--ink-soft); }
.mchat-form input, .mchat-input input { height: 44px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 12px; background: #fff; color: var(--ink); font: inherit; font-size: 16px; min-width: 0; }
.mchat-form input:focus, .mchat-input input:focus { outline: 2px solid var(--blush-deep); outline-offset: 1px; }
.mchat-form button { height: 44px; border: 0; border-radius: 999px; background: var(--red); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.mchat-form button:disabled { opacity: .6; cursor: default; }
.mchat-err { margin: 0; font-size: .82rem; color: var(--red); }
/* Thanh chủ đề luôn hiện trên ô nhập — vuốt ngang; khách đổi chủ đề bất cứ lúc nào */
.mchat-quick { flex: none; display: flex; gap: 6px; padding: 8px 12px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; border-top: 1px solid var(--line); background: #fffaf7; -webkit-overflow-scrolling: touch; }
.mchat-quick::-webkit-scrollbar { display: none; }
.mchat-quick button { flex: none; min-height: 36px; padding: 0 12px; border: 1px solid var(--blush-deep); border-radius: 999px; background: #fff; color: var(--ink); font: inherit; font-size: .82rem; white-space: nowrap; cursor: pointer; }
@media (hover: hover) and (pointer: fine) { .mchat-quick button:hover { background: var(--blush); } }
@media (min-width: 761px) { .mchat-quick { flex-wrap: wrap; overflow: visible; } .mchat-quick button { min-height: 32px; } } /* máy tính không vuốt ngang được → xuống 2 hàng */
.mchat-input { display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: #fff; }
.mchat-input input { flex: 1; border-radius: 999px; padding: 0 16px; }
.mchat-input button { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--red); color: #fff; cursor: pointer; }
.mchat-input button svg { width: 20px; height: 20px; }
@media (max-width: 760px) {
  .mchat { left: 0; right: 0; bottom: 0; width: auto; max-width: none; height: min(78vh, 600px); height: min(78dvh, 600px); max-height: none; border-radius: 20px 20px 0 0; border-width: 1px 0 0; }
}

/* 🔥 Section Ưu đãi HOT — băng nền ấm nhẹ full-width (không bo góc để trải đều mép) */
/* 🔥 Trending — băng nền hồng ấm; 🏷️ Hot Sale — băng nền vàng kem để phân biệt */
.hot-section { background: linear-gradient(180deg, #FFF6F3 0%, #FCEDE9 100%); padding-top: 56px !important; padding-bottom: 56px; }
.hot-section .section-head .eyebrow { color: var(--red); }
.sale-section { background: linear-gradient(180deg, #FFF9EC 0%, #FCEEDA 100%); padding-top: 56px !important; padding-bottom: 56px; }
.sale-section .section-head .eyebrow { color: #8B6508; } /* vàng đậm: tương phản 4,6:1 trên nền kem (cũ #B8860B 2,9:1) — N90 */

/* ============================================================
   🌸 NEW ARRIVALS / ĐẶT TRƯỚC (preorder)
   ============================================================ */
.newarrivals-section { background: linear-gradient(180deg, #FFF4F6 0%, #FCE7EC 100%); padding-top: 56px !important; padding-bottom: 56px; }
.newarrivals-section .section-head .eyebrow { color: #C25E7A; }
/* Badge "Sắp về" — hồng coquette, ưu tiên cao nhất */
.card-tag.preorder { background: linear-gradient(135deg,#D98BA0,#C25E7A); color:#fff; text-transform:none; letter-spacing:.02em; font-size:.7rem; }
/* Giá thay bằng nhãn "Sắp về" */
.preorder-price { color:#C25E7A; font-weight:700; font-style:italic; font-size:1.02rem; }
.card.preorder .card-media::after { content:""; position:absolute; inset:0; pointer-events:none;
  background: linear-gradient(180deg, rgba(194,94,122,.10), transparent 40%); }

/* ---- Modal Đặt trước ---- */
.po-wrap { position:fixed; inset:0; z-index:120; display:grid; place-items:center; padding:20px; }
.po-overlay { position:absolute; inset:0; background: rgba(46,42,40,.5); backdrop-filter: blur(3px);
  opacity:0; transition: opacity .24s var(--ease); }
.po-wrap.open .po-overlay { opacity:1; }
.po-modal { position:relative; z-index:1; width:100%; max-width:440px; max-height:92vh; overflow-y:auto;
  background: var(--bg); border-radius: var(--radius-lg, 22px); box-shadow: var(--shadow);
  padding:26px 24px 24px; transform: translateY(16px) scale(.98); opacity:0;
  transition: transform .26s var(--ease), opacity .26s var(--ease); border:1px solid var(--line); }
.po-wrap.open .po-modal { transform: none; opacity:1; }
.po-x { position:absolute; top:12px; right:12px; width:36px; height:36px; border:none; border-radius:50%;
  background:#fff; color:var(--ink-soft); display:grid; place-items:center; cursor:pointer; box-shadow: var(--shadow-soft); }
.po-x svg { width:18px; height:18px; }
@media (hover:hover) and (pointer:fine){ .po-x:hover { background: var(--blush); color: var(--red); } }
.po-head { display:flex; gap:14px; align-items:center; margin-bottom:12px; padding-right:30px; }
.po-thumb { width:60px; height:60px; border-radius:14px; overflow:hidden; flex:none; background: var(--surface-soft,#fff);
  border:1px solid var(--line); display:block; }
.po-thumb :where(img,svg) { width:100%; height:100%; object-fit:cover; display:block; }
.po-eyebrow { font-size:.7rem; letter-spacing:.14em; text-transform:uppercase; color:#C25E7A; font-weight:700; }
.po-title { font-size:1.28rem; line-height:1.2; margin:2px 0 0; color: var(--ink); }
.po-intro { font-size:.9rem; color: var(--ink-soft); line-height:1.55; margin:0 0 16px; }
.po-intro b { color:#C25E7A; }
.po-form { display:flex; flex-direction:column; gap:11px; }
.po-field { display:flex; flex-direction:column; gap:5px; }
.po-field > span { font-size:.8rem; font-weight:600; color: var(--ink); }
.po-field input, .po-field select, .po-field textarea {
  width:100%; padding:11px 13px; border:1px solid var(--line); border-radius:12px; background:#fff;
  font: inherit; color: var(--ink); transition: border-color .2s var(--ease); }
.po-field input:focus, .po-field select:focus, .po-field textarea:focus { outline:none; border-color:#C25E7A; }
.po-field textarea { resize:vertical; min-height:44px; }
.po-row { display:flex; gap:11px; }
.po-row .po-field { flex:1; }
.po-row .po-qty { max-width:96px; }
.po-msg { font-size:.82rem; margin:2px 0 0; min-height:1px; }
.po-msg.err { color: var(--red); }
.po-submit { margin-top:6px; }
.po-cancel { background:none; border:none; color: var(--ink-soft); font: inherit; font-size:.86rem; cursor:pointer; padding:6px; text-align:center; }
@media (hover:hover) and (pointer:fine){ .po-cancel:hover { color: var(--ink); text-decoration:underline; } }
.po-done { text-align:center; padding:8px 4px 4px; }
.po-done-ic { font-size:2.6rem; line-height:1; margin-bottom:8px; animation: pop .5s var(--ease); }
.po-done h4 { font-size:1.3rem; margin:0 0 8px; color: var(--ink); }
.po-done p { font-size:.92rem; color: var(--ink-soft); line-height:1.55; margin:0 0 18px; }
.po-done b { color:#C25E7A; }

/* Modal Đặt trước: trả con trỏ thật (site dùng con trỏ nơ tuỳ biến ẩn chuột — che modal gây "mất chuột") */
body.has-cursor .po-wrap, body.has-cursor .po-wrap * { cursor: auto !important; }
body.has-cursor .po-wrap input, body.has-cursor .po-wrap textarea { cursor: text !important; }
body.has-cursor .po-wrap select,
body.has-cursor .po-wrap button,
body.has-cursor .po-wrap [data-po-close] { cursor: pointer !important; }

/* ============================================================
   LOOKBOOK — banner accordion v2 (2026-08) — thay bản "rút thẻ"
   ============================================================ */
.lb-acc-sec .section-head{margin-bottom:1.5rem}
.lb-acc{display:flex;gap:12px;width:100%;height:clamp(360px,50vw,500px);--lbe:cubic-bezier(.66,0,.2,1)}
.lb-acc .lbp{position:relative;flex:1 1 0;min-width:0;height:100%;border:none;padding:0;cursor:pointer;
  border-radius:var(--radius);overflow:hidden;background:#EADfd9;outline:none;text-decoration:none;
  box-shadow:0 12px 30px -18px rgba(120,60,50,.5);
  transition:flex-grow .85s var(--lbe),box-shadow .6s var(--lbe),transform .6s var(--lbe);will-change:flex-grow,transform}
.lb-acc .lbp.on{flex-grow:6;box-shadow:0 26px 54px -20px rgba(120,50,42,.62);transform:translateY(-4px)}
.lb-acc .lbg{position:absolute;inset:0;background-size:cover;background-position:var(--pos,center);
  transform:scale(1.2);filter:saturate(.7) brightness(.82);transition:transform 1.3s var(--lbe),filter .9s ease;will-change:transform,filter}
.lb-acc .lbp.on .lbg{filter:saturate(1.05) brightness(1);animation:lbKen 9s ease-out forwards}
/* overlay blush ấm — đẹp cả khi thu lại */
.lb-acc .lbsh{position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(180deg,rgba(45,24,20,.05) 0%,rgba(45,24,20,0) 28%,rgba(96,44,38,.22) 56%,rgba(60,28,24,.76) 100%);transition:background .7s ease}
.lb-acc .lbp.on .lbsh{background:linear-gradient(180deg,rgba(30,18,15,0) 36%,rgba(30,18,15,.32) 68%,rgba(30,18,15,.74) 100%)}
.lb-acc .lbshine{position:absolute;top:-60%;left:-80%;width:60%;height:220%;pointer-events:none;
  background:linear-gradient(100deg,rgba(255,255,255,0),rgba(255,255,255,.30) 50%,rgba(255,255,255,0));transform:translateX(0) rotate(6deg);opacity:0}
.lb-acc .lbp.on .lbshine{animation:lbSweep 1.15s var(--lbe) .15s}
/* ---- THU LẠI: số + gạch dọc (trên) · nhãn dọc (dưới) ---- */
.lb-acc .lbidx{position:absolute;top:22px;left:0;right:0;text-align:center;font-family:"Playfair Display",Georgia,serif;
  font-size:1rem;color:rgba(255,255,255,.82);letter-spacing:.06em;opacity:1;transition:opacity .4s ease}
.lb-acc .lbidx::after{content:"";display:block;width:1px;height:34px;margin:9px auto 0;
  background:linear-gradient(rgba(255,255,255,.65),rgba(255,255,255,0))}
.lb-acc .lbp.on .lbidx{opacity:0}
.lb-acc .lbv{position:absolute;left:0;right:0;bottom:24px;text-align:center;writing-mode:vertical-rl;transform:rotate(180deg);
  margin:0 auto;font-family:"Playfair Display",Georgia,serif;font-size:1.12rem;font-weight:600;color:#fff;letter-spacing:.04em;
  text-shadow:0 2px 12px rgba(30,14,10,.6);opacity:1;transition:opacity .4s ease}
.lb-acc .lbp.on .lbv{opacity:0}
/* ---- MỞ RA: nội dung xếp dọc ---- */
.lb-acc .lbc{position:absolute;left:0;right:0;bottom:0;padding:22px 24px;
  display:flex;flex-direction:column;align-items:flex-start;gap:.3rem;color:#fff;opacity:0;transition:opacity .5s ease}
.lb-acc .lbp.on .lbc{opacity:1}
.lb-acc .lbey{font-size:.68rem;letter-spacing:.3em;text-transform:uppercase;color:#FFDDD6;font-weight:600;
  transform:translateY(16px);opacity:0;transition:transform .55s var(--lbe) .12s,opacity .55s var(--lbe) .12s}
.lb-acc .lbt{font-family:"Playfair Display",Georgia,serif;font-size:clamp(1.35rem,2.4vw,1.9rem);font-weight:600;line-height:1.05;
  text-shadow:0 2px 18px rgba(30,14,10,.55);transform:translateY(18px);opacity:0;transition:transform .6s var(--lbe) .2s,opacity .6s var(--lbe) .2s}
.lb-acc .lbmore{display:inline-flex;align-items:center;gap:.4rem;margin-top:.6rem;
  background:rgba(255,255,255,.95);color:var(--red-dark,#871C1B);font-weight:600;font-size:.8rem;
  padding:.46rem 1rem;border-radius:999px;text-decoration:none;
  transform:translateY(18px);opacity:0;transition:transform .55s var(--lbe) .3s,opacity .55s var(--lbe) .3s,box-shadow .3s}
.lb-acc .lbmore:hover{box-shadow:0 8px 18px -8px rgba(0,0,0,.5)}
.lb-acc .lbmore span{transition:transform .3s var(--lbe)}
.lb-acc .lbmore:hover span{transform:translateX(3px)}
.lb-acc .lbp.on .lbey,.lb-acc .lbp.on .lbt,.lb-acc .lbp.on .lbmore{transform:translateY(0);opacity:1}
.lb-acc .lbp:focus-visible{box-shadow:0 0 0 3px var(--red,#A42322),0 26px 50px -20px rgba(120,50,42,.6)}
@keyframes lbKen{from{transform:scale(1.05)}to{transform:scale(1.15)}}
@keyframes lbSweep{from{transform:translateX(0) rotate(6deg);opacity:0}30%{opacity:1}to{transform:translateX(360%) rotate(6deg);opacity:0}}
/* mobile: accordion dọc */
@media (max-width:720px){
  .lb-acc{flex-direction:column;gap:8px;height:auto}
  .lb-acc .lbp{height:64px;flex:none;transition:height .8s var(--lbe),box-shadow .6s var(--lbe)}
  .lb-acc .lbp.on{height:300px;transform:none}
  .lb-acc .lbidx{top:0;bottom:0;left:20px;right:auto;display:flex;align-items:center;font-size:.95rem}
  .lb-acc .lbidx::after{display:none}
  .lb-acc .lbv{writing-mode:horizontal-tb;transform:none;bottom:auto;top:50%;translate:0 -50%;left:56px;right:auto;text-align:left}
}
@media (prefers-reduced-motion:reduce){.lb-acc *{animation-duration:.01ms!important;transition-duration:.14s!important}.lb-acc .lbp.on .lbg{animation:none}}

/* ============================================================
   LOOKBOOK accordion v3 — hiệu ứng "wow" (parallax·light·petals) 2026-08
   ============================================================ */
/* ảnh parallax theo con trỏ (đè Ken Burns) */
.lb-acc .lbp.on .lbg{animation:none;transform:scale(1.08) translate(var(--px,0px),var(--py,0px));
  transition:transform .28s ease-out,filter .9s ease}
/* vệt sáng bám con trỏ */
.lb-acc .lblight{position:absolute;inset:0;pointer-events:none;opacity:0;transition:opacity .5s ease;mix-blend-mode:screen;
  background:radial-gradient(260px 260px at var(--mx,50%) var(--my,38%),rgba(255,244,238,.42),rgba(255,244,238,0) 68%)}
.lb-acc .lbp.on .lblight{opacity:1}
/* cánh hoa bay (chỉ chạy khi ô mở) */
.lb-acc .lbpetals{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.lb-acc .lbpetal{position:absolute;bottom:-16px;border-radius:60% 40% 55% 45%/55% 45% 60% 40%;
  background:linear-gradient(160deg,#FCE0DB,#F2B6AE);opacity:0;filter:blur(.2px);
  animation:lbFloat 7s linear infinite;animation-play-state:paused}
.lb-acc .lbp.on .lbpetal{animation-play-state:running}
@keyframes lbFloat{0%{transform:translateY(0) translateX(0) rotate(0);opacity:0}
  12%{opacity:.85}85%{opacity:.55}100%{transform:translateY(-440px) translateX(26px) rotate(210deg);opacity:0}}
/* gạch gold tự vẽ dưới tên */
.lb-acc .lbt{position:relative;padding-bottom:.28rem}
.lb-acc .lbt::after{content:"";position:absolute;left:0;bottom:0;height:2px;width:0;border-radius:2px;
  background:linear-gradient(90deg,#F5D08A,#F1B4AC);transition:width .6s var(--lbe) .42s}
.lb-acc .lbp.on .lbt::after{width:46px}
/* nút hít con trỏ mượt */
.lb-acc .lbmore{transition:transform .25s var(--lbe),box-shadow .3s,opacity .55s var(--lbe) .3s}
@media (max-width:720px){ .lb-acc .lblight{display:none} }
@media (prefers-reduced-motion:reduce){
  .lb-acc .lbp.on .lbg{transform:scale(1.05);animation:none}
  .lb-acc .lbpetal{display:none}
}

/* ============================================================
   LOOKBOOK accordion v4 — "rèm số": ô thu = SỐ lớn, rê vào mới hiện ảnh
   ============================================================ */
.lb-acc .lbv{display:none}                                   /* bỏ nhãn dọc */
/* ô thu: ảnh tối & trầm (như ẩn); rê vào mới bừng sáng */
.lb-acc .lbg{filter:saturate(.5) brightness(.46) contrast(1.03)}
.lb-acc .lbp.on .lbg{filter:saturate(1.06) brightness(1) contrast(1)}
.lb-acc .lbsh{background:linear-gradient(180deg,rgba(38,21,17,.44),rgba(54,28,24,.58))}
.lb-acc .lbp.on .lbsh{background:linear-gradient(180deg,rgba(30,18,15,0) 36%,rgba(30,18,15,.32) 68%,rgba(30,18,15,.74) 100%)}
/* SỐ lớn căn giữa + gạch gold trên, hairline dưới */
.lb-acc .lbidx{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;
  font-family:"Playfair Display",Georgia,serif;font-size:clamp(1.7rem,3.2vw,2.5rem);font-weight:500;line-height:1;
  color:rgba(255,247,242,.95);letter-spacing:.03em;text-shadow:0 3px 16px rgba(20,10,8,.55);opacity:1;transition:opacity .45s ease}
.lb-acc .lbidx::before{content:"";width:24px;height:1.5px;margin-bottom:16px;border-radius:2px;
  background:linear-gradient(90deg,#F5D08A,#EBB6AE)}
.lb-acc .lbidx::after{content:"";width:1px;height:20px;margin-top:16px;
  background:linear-gradient(rgba(255,255,255,.55),rgba(255,255,255,0))}
.lb-acc .lbp.on .lbidx{opacity:0}
/* FIX cánh hoa đứng hình ở ô thu: chỉ tạo animation khi ô MỞ */
.lb-acc .lbpetal{animation-name:none;opacity:0}
.lb-acc .lbp.on .lbpetal{animation-name:lbFloat}
@media (max-width:720px){
  .lb-acc .lbidx{flex-direction:row}
  .lb-acc .lbidx::before,.lb-acc .lbidx::after{display:none}
}

/* ============================================================
   LOOKBOOK accordion v5 — nâng cấp "xịn": khung gold · ô thu như nhung · số tinh tế
   ============================================================ */
.lb-acc .lbp{box-shadow:inset 0 0 0 1px rgba(245,208,138,.26),0 14px 32px -18px rgba(120,60,50,.5)}
.lb-acc .lbp.on{box-shadow:inset 0 0 0 1px rgba(245,208,138,.5),0 28px 56px -20px rgba(120,50,42,.62)}
/* ô thu: ảnh chìm sâu như nhung; rê vào bừng sáng */
.lb-acc .lbg{filter:saturate(.42) brightness(.38) contrast(1.05)}
.lb-acc .lbp.on .lbg{filter:saturate(1.06) brightness(1) contrast(1)}
.lb-acc .lbsh{background:linear-gradient(180deg,rgba(30,16,14,.42) 0%,rgba(46,20,20,.5) 60%,rgba(62,22,24,.64) 100%)}
.lb-acc .lbp.on .lbsh{background:linear-gradient(180deg,rgba(30,18,15,0) 36%,rgba(30,18,15,.32) 68%,rgba(30,18,15,.74) 100%)}
/* số: thanh mảnh, giãn chữ, ôm bởi 2 gạch gold đối xứng */
.lb-acc .lbidx{font-weight:400;font-size:clamp(1.8rem,3.3vw,2.6rem);letter-spacing:.08em;
  color:rgba(255,248,244,.96);text-shadow:0 2px 22px rgba(20,10,8,.6)}
.lb-acc .lbidx::before{content:"";width:26px;height:1px;margin-bottom:18px;background:linear-gradient(90deg,rgba(245,208,138,0),#F5D08A,rgba(245,208,138,0))}
.lb-acc .lbidx::after{content:"";width:26px;height:1px;margin-top:18px;background:linear-gradient(90deg,rgba(235,182,174,0),#EBB6AE,rgba(235,182,174,0))}

/* ============================================================
   BỘ SƯU TẬP PRE-ORDER — dark luxe (thay 'Mua theo dịp') 2026-08-22
   ============================================================ */
.preorder-col{position:relative;padding-top:clamp(3rem,6vw,5rem);padding-bottom:clamp(3rem,6vw,5rem);
  background:radial-gradient(120% 100% at 50% 0%,#251619 0%,#180F11 58%,#120B0D 100%);--ease:cubic-bezier(.22,.61,.36,1)}
.preorder-col .wrap{position:relative;z-index:1}
.pc-head{--pc:1}
.pc-head .eyebrow{color:#DBB877}
.pc-head h2.display{color:#F5ECE4}
.pc-head p{color:#C7B4AB}
.pc-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(16px,2.4vw,28px);margin-top:2.2rem}
.pc-card{position:relative;display:block;aspect-ratio:4/5;border-radius:18px;overflow:hidden;text-decoration:none;
  background:#0E0809;box-shadow:0 22px 52px -26px rgba(0,0,0,.85);
  outline:1px solid rgba(201,166,107,.3);outline-offset:-1px;cursor:pointer;will-change:transform;
  transition:transform .5s var(--ease),box-shadow .5s,outline-color .5s}
@media (hover:hover) and (pointer:fine){ .pc-card:hover{transform:translateY(-7px);box-shadow:0 36px 72px -28px rgba(0,0,0,.92);outline-color:rgba(232,200,138,.72)} }
.pc-slides{position:absolute;inset:0}
.pc-slide{position:absolute;inset:0;background-size:cover;background-position:center;opacity:0;transform:scale(1.05);
  filter:brightness(.72) saturate(.95);transition:opacity .8s ease,transform 6s ease,filter .6s ease}
.pc-slide.on{opacity:1}
.pc-card::after{content:"";position:absolute;inset:0;pointer-events:none;z-index:2;
  background:linear-gradient(180deg,rgba(10,6,7,.18) 0%,rgba(10,6,7,0) 30%,rgba(10,6,7,.5) 64%,rgba(8,5,6,.92) 100%)}
@media (hover:hover) and (pointer:fine){ .pc-card:hover .pc-slide.on{filter:brightness(.96) saturate(1);transform:scale(1.11)} }
.pc-card.is-auto .pc-slide.on{filter:brightness(.92) saturate(1)}
.pc-badges{position:absolute;top:14px;left:14px;z-index:4;display:flex;gap:8px}
.pc-tag{font-size:.62rem;letter-spacing:.16em;text-transform:uppercase;font-weight:700;color:#1a1113;
  background:linear-gradient(90deg,#EAC98B,#D9B676);padding:.34rem .72rem;border-radius:999px}
.pc-tag.ghost{background:transparent;color:#EAC98B;border:1px solid rgba(234,201,139,.55)}
.pc-dots{position:absolute;top:15px;right:15px;z-index:4;display:flex;flex-direction:column;gap:7px;opacity:0;transition:opacity .4s}
@media (hover:hover) and (pointer:fine){ .pc-card:hover .pc-dots{opacity:1} }
.pc-card.is-auto .pc-dots{opacity:1}
.pc-dots i{width:6px;height:6px;border-radius:50%;background:rgba(255,255,255,.34);transition:background .3s,transform .3s}
.pc-dots i.on{background:#EAC98B;transform:scale(1.35)}
.pc-body{position:absolute;left:0;right:0;bottom:0;z-index:4;padding:22px 22px 24px;color:#F5ECE4}
.pc-eye{font-size:.64rem;letter-spacing:.28em;text-transform:uppercase;color:#DBB877;font-weight:700}
.pc-name{font-family:var(--serif);font-size:clamp(1.55rem,3vw,2.15rem);font-weight:600;line-height:1.04;margin:.28rem 0 .35rem;color:#fff}
.pc-sub{font-size:.85rem;color:#D8C7BF;line-height:1.55;max-width:36ch}
.pc-cta{display:inline-flex;align-items:center;gap:.5rem;margin-top:1rem;font-weight:700;font-size:.82rem;color:#1a1113;
  background:linear-gradient(90deg,#F1DAA8,#D9B676);padding:.6rem 1.35rem;border-radius:999px;
  transform:translateY(8px);opacity:0;transition:transform .45s var(--ease),opacity .45s,box-shadow .3s}
@media (hover:hover) and (pointer:fine){ .pc-card:hover .pc-cta{transform:translateY(0);opacity:1} .pc-cta:hover{box-shadow:0 10px 22px -8px rgba(0,0,0,.6)} }
.pc-card.is-auto .pc-cta{transform:none;opacity:1}
.pc-cta span{transition:transform .3s var(--ease)}
@media (hover:hover) and (pointer:fine){ .pc-card:hover .pc-cta span{transform:translateX(3px)} }
/* thẻ 02 sắp công bố */
.pc-soon{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;cursor:default;
  padding:2rem;background:radial-gradient(120% 100% at 50% 28%,#2C1B20,#160E10)}
.pc-soon::after{display:none}
.pc-soon .pc-num{font-family:var(--serif);font-size:clamp(3rem,7vw,4.6rem);line-height:1;color:rgba(219,184,119,.5);margin-bottom:.4rem}
.pc-soon .pc-eye{color:#DBB877}
.pc-soon .pc-name{color:#EBD9CE;margin:.3rem 0 .5rem}
.pc-soon .pc-sub{color:#C4B3AB;max-width:30ch;margin:0 auto}
.pc-soon .pc-lock{display:inline-block;margin-top:1.2rem;font-size:.68rem;letter-spacing:.22em;text-transform:uppercase;color:#DBB877;
  border:1px solid rgba(219,184,119,.45);padding:.5rem 1.1rem;border-radius:999px}
@media (max-width:720px){ .pc-grid{grid-template-columns:1fr} .pc-card{aspect-ratio:3/4} }
@media (prefers-reduced-motion:reduce){ .pc-slide{transition:opacity .3s ease} .pc-card:hover .pc-slide.on{transform:scale(1.05)} }

/* --- Pre-order: 3 bộ sưu tập + tăng tương phản chữ (2026-08-22 b) --- */
.pc-grid{grid-template-columns:repeat(3,1fr)}
.pc-card{aspect-ratio:3/4}
.pc-head h2.display{color:#FBF3EC;text-shadow:0 2px 24px rgba(0,0,0,.4)}
.pc-head .eyebrow{color:#E6C588}
.pc-head p{color:#D2C0B7}
.preorder-col .sec-num{color:rgba(224,190,128,.32)}
.pc-name{font-size:clamp(1.3rem,2.2vw,1.75rem)}
.pc-sub{font-size:.8rem;color:#DFCFC7}
@media (max-width:900px){ .pc-grid{grid-template-columns:1fr 1fr} }
@media (max-width:600px){ .pc-grid{grid-template-columns:1fr} .pc-card{aspect-ratio:4/5} }

/* ============================================================
   COLLECTION MODAL — chi tiết bộ sưu tập (dark luxe) 2026-08-22
   ============================================================ */
.colm{position:fixed;inset:0;z-index:80;display:none;align-items:center;justify-content:center;padding:4vh 4vw}
.colm.open{display:flex}
.colm-bg{position:absolute;inset:0;background:rgba(14,8,9,.72);backdrop-filter:blur(6px);opacity:0;transition:opacity .4s}
.colm.open .colm-bg{opacity:1}
/* overscroll-behavior:contain = cuộn hết panel thì DỪNG, không "lan" sang cuộn trang nền
   (bug thật 08-23 trên điện thoại). Đi kèm khoá body position:fixed trong index.html. */
.colm-panel{position:relative;z-index:1;width:min(1040px,100%);max-height:92vh;overflow:auto;overscroll-behavior:contain;border-radius:22px;
  background:radial-gradient(120% 100% at 50% 0%,#241619,#160E10 70%);border:1px solid rgba(201,166,107,.34);
  box-shadow:0 40px 90px -30px rgba(0,0,0,.85);display:grid;grid-template-columns:1.05fr 1fr;
  transform:translateY(24px) scale(.98);opacity:0;transition:transform .45s cubic-bezier(.22,.61,.36,1),opacity .45s}
.colm.open .colm-panel{transform:none;opacity:1}
/* Nút đóng: ĐẶT TRÊN ẢNH nên nền phải ĐỤC (kính mờ tối + viền gold), không phải trắng 12%
   — bản cũ chìm nghỉm khi slide là ảnh ren sáng, khách không thấy nút thoát (lỗi thật 08-23).
   44×44 = ngưỡng chạm tối thiểu. */
.colm-close{position:absolute;top:12px;right:12px;z-index:6;width:44px;height:44px;border-radius:50%;cursor:pointer;
  display:grid;place-items:center;border:1px solid rgba(234,201,139,.55);
  background:rgba(14,8,9,.62);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
  color:#F6EDE2;font-size:22px;line-height:1;padding:0;
  box-shadow:0 4px 18px -4px rgba(0,0,0,.75);transition:background .25s,border-color .25s,transform .25s}
@media (hover:hover) and (pointer:fine){
  .colm-close:hover{background:rgba(14,8,9,.85);border-color:#EAC98B;transform:scale(1.06)}
}
.colm-close:focus-visible{outline:2px solid #EAC98B;outline-offset:2px}
/* gallery */
.colm-gal{position:relative;min-height:340px}
.colm-slide{position:absolute;inset:0;background-size:cover;background-position:center;opacity:0;transition:opacity .6s ease}
.colm-slide.on{opacity:1}
.colm-gal::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(10,6,7,.1),rgba(10,6,7,0) 30%,rgba(10,6,7,.4) 100%);pointer-events:none}
.colm-thumbs{position:absolute;left:0;right:0;bottom:12px;z-index:3;display:flex;gap:7px;justify-content:center;flex-wrap:wrap;padding:0 12px}
/* Chấm 8px nhìn thì đẹp nhưng vùng CHẠM phải to hơn nhiều → nới bằng ::before trong suốt
   (đủ 44px chiều cao, không làm chấm to lên). */
.colm-thumbs i{position:relative;width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,.45);cursor:pointer;
  transition:background .3s,transform .3s}
.colm-thumbs i::before{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);
  width:26px;height:44px}
.colm-thumbs i.on{background:#EAC98B;transform:scale(1.35)}
.colm-badge{position:absolute;top:14px;left:14px;z-index:3;background:#0E0809;color:#EAC98B;border:1px solid rgba(234,201,139,.5);
  border-radius:12px;padding:8px 14px;text-align:center;line-height:1.05}
.colm-badge b{font-family:var(--serif);font-size:1.5rem;color:#F0D8A6;display:block}
.colm-badge span{font-size:.6rem;letter-spacing:.18em;text-transform:uppercase;color:#CBB89B}
/* details */
.colm-body{padding:34px 34px 30px;color:#F3E9E1}
.colm-eye{font-size:.66rem;letter-spacing:.3em;text-transform:uppercase;color:#DBB877;font-weight:700}
/* line-height 1.02 quá chặt cho chữ có DẤU tiếng Việt (Ổ/Ề/ữ bị cụt) — 1.12 là tối thiểu an toàn */
.colm-name{font-family:var(--serif);font-size:clamp(1.9rem,3.4vw,2.6rem);font-weight:600;line-height:1.12;margin:.35rem 0 .1rem;color:#fff}
/* font script có ascender/descender dài → phải cho line-height rộng kẻo cụt chân/dấu */
.colm-tag{font-family:var(--script);color:#E7A9A0;font-size:1.5rem;line-height:1.5}
.colm-story{font-size:.9rem;color:#D3C2B9;line-height:1.6;margin:.9rem 0 1.2rem}
.colm-h{font-size:.82rem;font-weight:700;color:#F0E4DB;margin-bottom:.6rem;letter-spacing:.02em}
.colm-items{list-style:none;margin:0 0 1.2rem;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:.45rem .9rem}
.colm-items li{display:flex;align-items:flex-start;gap:.5rem;font-size:.84rem;color:#E4D6CD;line-height:1.35}
.colm-items li::before{content:"✓";flex:0 0 auto;width:18px;height:18px;border-radius:50%;border:1.5px solid #C9A66B;color:#EAC98B;
  font-size:11px;display:flex;align-items:center;justify-content:center;margin-top:1px}
.colm-price{display:flex;align-items:baseline;gap:14px;flex-wrap:wrap;padding-top:1rem;border-top:1px solid rgba(201,166,107,.24)}
.colm-price .full{font-family:var(--serif);font-size:1.5rem;color:#fff}
.colm-price .dep{font-size:.86rem;color:#EAC98B}
.colm-price .dep b{font-size:1.05rem}
.colm-note{font-size:.76rem;color:#B7A69D;margin:.5rem 0 1.1rem}
.colm-cta{display:inline-flex;align-items:center;gap:.5rem;background:linear-gradient(90deg,#F1DAA8,#D9B676);color:#1a1113;
  font-weight:700;font-size:.98rem;padding:.85rem 1.8rem;border-radius:999px;text-decoration:none;transition:transform .3s,box-shadow .3s}
.colm-gift{margin-top:.9rem;font-size:.76rem;color:#CDBBB2}
@media (max-width:760px){
  /* 🐛 LỖI THẬT (08-23) — ẢNH ĐÈ LÊN CHỮ, nuốt mất tên bộ + cắt ngang dòng tag:
     panel là CSS GRID lại bị `max-height` chặn ⇒ trình duyệt NÉN hàng lưới của ảnh
     (đo được: hàng chỉ 113px trong khi ảnh vẽ 427px → tràn 314px đè lên body).
     Mọi slide đều `position:absolute` nên gallery không có chiều cao nội tại để "giữ" hàng.
     ⇒ Trên mobile KHÔNG dùng grid để xếp dọc trong hộp cuộn: chuyển `display:block`,
     ảnh tự cao theo aspect-ratio, body chảy xuống dưới, panel cuộn bình thường.
     ⚠️ ĐỪNG đổi lại thành grid/min-height ở đây. */
  .colm-panel{display:block;max-height:94vh;-webkit-overflow-scrolling:touch}
  .colm-gal{min-height:0;aspect-ratio:4/5;width:100%}
  /* 🐛 Nút × neo `absolute` theo panel — mà panel chính là vùng cuộn ⇒ kéo xuống là nút
     TRÔI MẤT (đo được top:-293px), khách không có đường thoát ngoài nút Back của trình duyệt.
     ⇒ mobile ghim `fixed` theo màn hình, luôn ở góc trên-phải panel dù cuộn tới đâu.
     (Lúc modal đang chạy animation, panel có `transform` nên nút bay cùng panel — đúng ý muốn;
      hết animation `transform:none` nên nút đứng yên theo viewport.) */
  .colm-close{position:fixed;top:calc(4vh + 10px);right:calc(4vw + 10px)}
  .colm-items{grid-template-columns:1fr}
  .colm-body{padding:22px 20px 26px}
  /* NHỊP DỌC CHUẨN HOÁ — bản cũ khoảng cách nhảy loạn 6/2/12/17/10/19/8px, nhìn lộn xộn
     ("phèn"). Thang thống nhất: 4px = trong cùng 1 cụm · 10px = nhãn→nội dung ·
     18px = giữa 2 cụm. Đặt margin TƯỜNG MINH (không để margin mặc định chồng nhau).
     line-height rộng vì chữ có DẤU tiếng Việt (Ổ/Ề/ữ) — 1.02 là cụt dấu. */
  .colm-eye{font-size:.6rem;letter-spacing:.26em;margin:0}
  .colm-name{font-size:1.75rem;line-height:1.16;margin:4px 0 2px}
  .colm-tag{font-size:1.3rem;line-height:1.55;margin:0 0 18px}
  .colm-story{font-size:.88rem;line-height:1.65;margin:0 0 18px}
  .colm-h{margin:0 0 10px}
  .colm-items{margin:0 0 18px;gap:.5rem}
  .colm-items li{font-size:.88rem;line-height:1.45}
  .colm-note{margin:10px 0 14px}
  .colm-badge{top:12px;left:12px;padding:7px 12px}
  .colm-badge b{font-size:1.25rem}
  /* CTA DÍNH ĐÁY panel: bộ 7 món list dài, khách phải cuộn nhiều mới thấy nút đặt.
     Dính đáy = luôn chạm được, không mất chỗ đọc. */
  .colm-cta{position:sticky;bottom:0;display:flex;justify-content:center;width:100%;
    padding:.95rem 1.4rem;font-size:1rem;margin-top:.2rem}
  .colm-price{padding-top:18px;gap:8px;margin:0}
  .colm-price .full{font-size:1.35rem}
  .colm-gift{margin-top:12px}
}
/* Trên máy KHÔNG có chuột (điện thoại), :hover dính lại sau khi chạm → tách ra media query
   (bẫy iOS phải chạm 2 lần đã ghi trong HANDOFF). */
@media (hover:hover) and (pointer:fine){
  .colm-cta:hover{transform:translateY(-2px);box-shadow:0 14px 30px -12px rgba(0,0,0,.7)}
}

/* ═══ ĐẶT CỌC PRE-ORDER (checkout.html?deposit=<slug>) — v=108 ═══ */
.dep-now{ display:flex; align-items:center; justify-content:space-between; gap:14px;
  background:linear-gradient(135deg,#FDF6F3,#F9EDE6); border:1px solid var(--line);
  border-radius:14px; padding:14px 16px; }
.dep-now b{ display:block; color:var(--ink); font-size:.97rem; }
.dep-now small{ display:block; color:var(--ink-soft); font-size:.83rem; margin-top:3px; line-height:1.45; }
.dep-now-amt{ font-family:var(--serif,Georgia,serif); font-size:1.32rem; font-weight:700;
  color:var(--red); white-space:nowrap; }
.summary-row.dep-row-now{ border-top:1px dashed var(--line); padding-top:12px; margin-top:4px; }
.summary-row.dep-row-now span:first-child{ font-weight:600; color:var(--ink); }
.summary-row.dep-row-now .price{ color:var(--red); font-size:1.18rem; }
.summary-row.dep-row-rest span{ color:var(--ink-soft); font-size:.9rem; }
.dep-qr-rest{ background:var(--nude,#f7efe6); border-radius:12px; padding:10px 13px;
  margin:0 0 12px; font-size:.88rem; color:var(--ink-soft); line-height:1.55; }
.dep-qr-rest b{ color:var(--ink); }
.mini-item .t-img img{ width:100%; height:100%; object-fit:cover; border-radius:10px; display:block; }

/* Dòng "Khi nhận hàng: 0₫" — chỉ hiện khi khách chọn chuyển khoản nốt.
   Nhấn xanh để khách yên tâm: nhận hàng KHÔNG phải trả thêm (v=109). */
.summary-row.dep-row-ondeliver span:first-child { color: var(--ink-soft); font-size:.9rem; }
.summary-row.dep-row-ondeliver span:last-child { color:#3E7A52; font-weight:700; }

/* ═══ BỘ SƯU TẬP ĐẶT CỌC — thẻ SP + trang /p (v=112) ═══ */
.card-dep{ display:block; font-size:.76rem; font-weight:600; color:#B7791F; margin-top:2px; letter-spacing:.01em; }
.pdp-dep-line{ display:inline-flex; align-items:center; gap:6px; margin:6px 0 2px; padding:7px 12px;
  background:linear-gradient(135deg,#FBF3E4,#F7EAD3); border:1px solid rgba(201,166,107,.5);
  border-radius:999px; font-size:.88rem; color:#7A5A18; }
.pdp-dep-line b{ color:#A42322; font-size:1rem; }
.pdp-setbox{ margin:16px 0 4px; padding:14px 16px; background:var(--nude,#f7efe6);
  border-radius:14px; border:1px solid var(--line); }
.pdp-set-h{ font-size:.9rem; font-weight:700; color:var(--ink); margin-bottom:9px; }
.pdp-set-items{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:1fr 1fr; gap:7px 14px; }
.pdp-set-items li{ display:flex; align-items:flex-start; gap:7px; font-size:.86rem;
  color:var(--ink); line-height:1.4; }
.pdp-set-items li::before{ content:"✓"; flex:0 0 auto; width:17px; height:17px; border-radius:50%;
  border:1.5px solid var(--gold,#C2A06B); color:#A17A38; font-size:10px;
  display:flex; align-items:center; justify-content:center; margin-top:1px; }
@media (max-width:760px){ .pdp-set-items{ grid-template-columns:1fr; } }
.colm-more{ display:block; margin-top:10px; text-align:center; color:#DBB877; font-size:.84rem;
  text-decoration:none; border-bottom:1px solid rgba(219,184,119,.35); padding-bottom:2px;
  width:fit-content; margin-left:auto; margin-right:auto; }
@media (hover:hover) and (pointer:fine){ .colm-more:hover{ color:#F0D8A6; border-color:#F0D8A6; } }

/* ═══════════ GIỎ HÀNG — nâng cấp theo checklist UX (v=116) ═══════════ */

/* ── Vuốt sang trái để xoá (mobile) ──
   .cart-swipe bọc ngoài, nút Xoá nằm dưới, .cart-row trượt đè lên trên. */
/* v=120 — nút Xoá đỏ từng LÓ RA ~1px ở đáy mỗi dòng (thành một vạch đỏ lạ ở đáy thẻ giỏ,
   thấy rõ trong ảnh chủ shop gửi): .cart-row cao số lẻ (px thập phân) nên không phủ kín wrapper.
   ⇒ Xếp chồng 2 lớp vào CÙNG một ô lưới 1/1 để chúng luôn cao BẰNG NHAU, không còn khe hở. */
.cart-swipe { position: relative; overflow: hidden; display: grid; }
.cart-swipe .swipe-del { grid-area:1/1; justify-self:end; width:96px; margin:2px 0;
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px;
  background:#A42322; color:#fff; font-size:.78rem; font-weight:600; border:0; cursor:pointer; }
.cart-swipe .swipe-del svg { width:20px; height:20px; }
.cart-swipe .cart-row { grid-area:1/1; position:relative; background:var(--surface,#fff);
  transition: transform .25s var(--ease, ease); touch-action: pan-y; }
.cart-swipe.swiping .cart-row { transition: none; }

/* ── Đổi màu/size ngay trong giỏ ── */
.cart-row .meta .edit { font-size:.82rem; color:var(--red);
  display:inline-flex; gap:5px; align-items:center; background:none; border:0; cursor:pointer;
  text-decoration:underline; text-underline-offset:3px; }
.cart-edit-box { grid-column:1/-1; margin-top:12px; padding:14px; border-radius:14px;
  background:var(--surface-soft); border:1px solid var(--line); }
.cart-edit-box .opt-label { font-size:.78rem; font-weight:700; color:var(--ink-soft);
  text-transform:uppercase; letter-spacing:.08em; margin-bottom:8px; }
.cart-edit-row { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:12px; }
.cart-edit-row .color-opt, .cart-edit-row .size-opt { min-width:44px; min-height:44px; }

/* ── Phương thức thanh toán + hỗ trợ (khối tin cậy cuối tóm tắt) ── */
.cart-trust { margin-top:16px; padding-top:14px; border-top:1px solid var(--line); }
.cart-trust .lbl { font-size:.75rem; text-transform:uppercase; letter-spacing:.08em;
  color:var(--ink-soft); margin-bottom:8px; }
.cart-pays { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:12px; }
.cart-pay { display:inline-flex; align-items:center; gap:7px; font-size:.8rem; color:var(--ink);
  background:var(--surface-soft); border:1px solid var(--line); border-radius:999px; padding:7px 12px; }
.cart-pay svg { width:16px; height:16px; color:var(--red); flex:none; }
.cart-help { display:inline-flex; align-items:center; gap:8px; font-size:.85rem; color:var(--red);
  text-decoration:none; min-height:44px; }
.cart-help svg { width:17px; height:17px; }
@media (hover:hover) and (pointer:fine){ .cart-help:hover { text-decoration:underline; } }

/* ── Dòng giảm giá trong tóm tắt ── */
.summary-row.disc span:last-child { color:#3E7A52; font-weight:600; }
.summary-row.disc span:first-child { color:#3E7A52; }
.cart-promo-cond { font-size:.8rem; line-height:1.5; color:#7A5A18; background:#FBF3E4;
  border-left:3px solid #B7791F; border-radius:8px; padding:9px 12px; margin:8px 0 0; }
.cart-promo-cond b { color:#8a5a00; }


/* ═══════════════════════════════════════════════════════════════════════════
   ═══ RÀ SOÁT UI TOÀN SITE — v=121 (2026-08-30) ═══
   Chủ shop yêu cầu soát lại toàn bộ box / viền / ảnh / nội dung / màu.
   Đo bằng script trên 26 lượt trang (mobile 390 + desktop 1280), mỗi mục dưới
   đây đều kèm SỐ ĐO thật trước khi sửa. Không sửa theo cảm tính.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── 1. GRID CON KHÔNG CO ĐƯỢC → THẺ TRÀN RA NGOÀI MÀN HÌNH ──
   Ô lưới mặc định có "kích thước tối thiểu tự động" = min-content, nên một
   phần tử bên trong (ô nhập mã, email dài…) ép cả cột phình to hơn khung.
   Đo trên /cart 390px: khung `.cart-layout` rộng 339 nhưng cột lưới bị ép
   368,1 ⇒ thẻ giỏ + thẻ Tóm tắt đơn THÒ RA NGOÀI MÀN HÌNH 11px (viền phải bị
   cắt). Thủ phạm: hàng `.promo` (ô mã + nút "Kiểm tra mã").
   `body{overflow-x:hidden}` che mất triệu chứng nên không ai thấy thanh cuộn.
   ⇒ Cho mọi ô lưới `min-width:0` để chúng co đúng bề ngang khung.
   LUẬT: thêm lưới mới có nội dung không xuống dòng được ⇒ nhớ min-width:0. */
.cart-layout > *, .checkout-layout > *, .shop-layout > *, .pdp > * { min-width: 0; }

/* ── 2. CỘT FOOTER TRÀN 17px TRÊN ĐIỆN THOẠI (19/26 trang) ──
   Đo: cột phải bắt đầu x=190, kết thúc x=392 trong màn 375 ⇒ mất 17px cuối,
   địa chỉ email bị cắt cụt. Nguyên nhân y hệt mục 1: chuỗi email
   "mituhouseofficial94@gmail.com" không có chỗ ngắt ⇒ ép cột rộng 202px,
   lưới `1fr 1fr` bóp cột trái còn 140px cho vừa (lệch hẳn nhịp 2 cột).
   Sau sửa: 2 cột đều 153,5px, mọi thứ nằm trong 375. */
.footer-grid > * { min-width: 0; }
.footer-grid a[href^="mailto:"] { overflow-wrap: anywhere; }

/* ── 3. NÚT ĐỔI NGÔN NGỮ VI/EN CHỈ CAO 23,5px ──
   Đã có sẵn vùng chạm ẩn 44×44 (`.lang-switch button::after`) NHƯNG
   `.lang-switch{overflow:hidden}` CẮT MẤT nó ⇒ vùng bấm thật chỉ còn 23,5px,
   thấp hơn nhiều so với nút giỏ hàng / menu (44px) ngay bên cạnh.
   (Script đo được vì `scrollHeight 34 > clientHeight 24`.)
   ⇒ Cho chính nút cao 44px, hết phụ thuộc vào bộ mở rộng bị cắt. */
.lang-switch button { min-height: 44px; padding: 0 13px; }

/* ── 4. SAO ĐÁNH GIÁ ★★★★★ QUÁ NHẠT — 2,46:1 (chuẩn tối thiểu 4,5:1) ──
   Vàng `--gold #C2A06B` đẹp khi làm viền/nét trang trí, nhưng dùng cho CHỮ
   nhỏ 12,8px trên nền trắng thì gần như chìm (145 lần trên 10 trang).
   ⇒ Thêm tông vàng ĐẬM riêng cho chữ, giữ nguyên --gold cho phần trang trí. */
:root { --gold-ink: #86671C; }
.card-rating .stars { color: var(--gold-ink); }

/* ── 5. DẤU TIẾNG VIỆT BỊ BÓP (luật cũ của dự án: serif ≥1,12 · chữ viết tay ≥1,25) ──
   `.script` (Dancing Script) đang để line-height 1,0: tiêu đề 2 dòng như
   "Gửi chút yêu thương" bị dòng dưới đâm lên dòng trên, dấu ư/ơ dính nhau.
   `.display` (Playfair) để 1,04 — cũng dưới ngưỡng an toàn cho ạ/ộ/ữ. */
.script { line-height: 1.25; }
.display { line-height: 1.14; }

/* ── 6. LINK CTA CHỮ ("Khám phá bộ sưu tập →", "Đọc tiếp →") CHỈ CAO 18–26px ──
   Đây là link đứng riêng, không nằm trong thẻ bấm được nào ⇒ trên điện thoại
   rất khó trúng. Nới VÙNG CHẠM bằng lớp phủ trong suốt, KHÔNG đổi giao diện
   (chữ + gạch chân giữ nguyên vị trí). */
@media (max-width: 760px) {
  .link-underline::before { content:""; position:absolute; left:0; right:0; top:50%;
    height:44px; transform:translateY(-50%); }
}

/* ── 7. HUY HIỆU HERO BÊN PHẢI BỊ CẮT TRÊN MÀN HÌNH VỪA ──
   `.hero-badge.b2{right:-7%}` cố ý thò ra ngoài cột ảnh cho có nhịp, nhưng ở
   bề ngang ~1024–1400px nó vượt luôn mép trang (đo 1280: phải=1271 > 1265)
   nên bị `.hero{overflow:hidden}` cắt mất một góc. */
@media (min-width: 981px) and (max-width: 1400px) {
  .hero-badge.b2 { right: -2%; }
}

/* ── 8. HÀNG LINK Ở FOOTER & DANH SÁCH "KHÁM PHÁ" QUÁ SÁT NHAU ──
   Đo mobile: link footer cao 16px, cách nhau 20px ⇒ bước nhảy 36px;
   danh sách SP (.mh-prods) cao 17px, bước 34px. Cả hai dưới ngưỡng chạm 44px
   nên ngón tay rất dễ trúng nhầm dòng bên cạnh.
   ⇒ Nới VÙNG BẤM bằng padding dọc (chữ giữ nguyên cỡ), bước nhảy ≈ 44px. */
.footer ul li { margin-bottom: 4px; }
.footer ul a  { display: inline-block; padding: 12px 0; }
.mh-prods li  { margin-bottom: 2px; }
.mh-prods a   { display: inline-block; padding: 12px 0; }

/* ── 9. NHÃN "· cọc 211.000₫" TRÊN THẺ SP — 3,64:1, dưới chuẩn 4,5:1 ──
   Chữ 12,2px màu #B7791F trên nền trắng. Dùng cùng tông vàng-nâu đậm đã dùng
   cho ghi chú khuyến mãi (#8A5A00) để đồng bộ và đọc được. */
.card-dep { color: #8A5A00; }

/* ── 10. TÊN BỘ SƯU TẬP TRONG LOOKBOOK (.lbt) line-height 1,05 ──
   "Nơ lụa hồng" — dấu ơ/ồ dính vào dòng trên khi tên xuống 2 dòng. */
.lbt { line-height: 1.2; }

/* ── 11. NHÃN SIÊU NHỎ (dưới 10px) TRÊN THẺ BỘ SƯU TẬP ──
   "PRE-ORDER" / "GIỚI HẠN" 9,9px và "BỘ SƯU TẬP 01" 10,2px — chữ hoa +
   giãn chữ rộng ở cỡ này rất khó đọc trên điện thoại. Nâng lên ~11px,
   vẫn giữ đúng dáng nhãn nhỏ. */
.pc-tag { font-size: .7rem; }
.pc-eye { font-size: .7rem; }

/* ── 12. TÊN LOOKBOOK: rule cũ `.lb-acc .lbt` (2 lớp) đè mất line-height ở
   mục 10 nên phải viết đúng độ ưu tiên. */
.lb-acc .lbt { line-height: 1.2; }

/* ── 13. TÊN SẢN PHẨM TRÊN THẺ chỉ cao 19px ──
   Ảnh SP phía trên đã là vùng bấm 338×338 tới cùng trang, nên đây không phải
   lỗi chặn mua; chỉ nới nhẹ cho dễ trúng, không đổi khoảng cách thẻ. */
.card-title a { display: inline-block; padding: 5px 0; }

/* ── 14. BẤM CHỖ NÀO TRÊN THẺ SP CŨNG VÀO TRANG SẢN PHẨM (N28) ──
   Trước: chỉ ẢNH và TÊN là link ⇒ bấm trúng giá/màu/đánh giá thì không có gì xảy ra,
   khách tưởng web đơ. Dùng kiểu "link phủ" chuẩn: ::after của link tên SP phủ cả thẻ.
   ⚠️ `.card-media` phải nằm TRÊN lớp phủ (z-index 2) để giữ nguyên:
      · nút "Thêm nhanh" bấm được  · hiệu ứng đảo ảnh khi rê chuột (data-cycle)  · chấm ảnh. */
.card { position: relative; }
.card-media { z-index: 2; }
.card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-body { position: relative; z-index: 0; }

/* ── 15. VIỀN TIÊU ĐIỂM KHI DÙNG BÀN PHÍM (Tab) ──
   Toàn site chưa có `:focus-visible` ⇒ người dùng bàn phím / trình đọc màn hình
   không biết đang đứng ở nút nào. Chỉ hiện khi điều hướng bằng bàn phím,
   KHÔNG hiện viền khi bấm chuột (nên giao diện thường ngày không đổi). */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
  border-radius: 4px;
}
.card-title a:focus-visible { outline-offset: 4px; }

/* ── 16. THỐNG NHẤT BO GÓC VỀ ĐÚNG 3 BẬC (chủ shop: "box/border chưa chỉn chu") ──
   Kiểm kê thực tế trang chủ: bo góc đang dùng 20 · 26 · 28 · 100px cho CÙNG một vai trò
   (thẻ, khối lớn, viên thuốc) — các khối nằm cạnh nhau mà lệch nhau vài px thì mắt đọc ra
   ngay là "làm ẩu". Đã gom về đúng thang có sẵn:
     `--radius-sm 12px` (chi tiết nhỏ) · `--radius 18px` (thẻ) · `--radius-lg 28px` (khối lớn) · `999px` (viên thuốc)
   Cụ thể: 100px→999px (5 chỗ, vẽ ra y hệt) · 26px→28px (bento, lệch 2px không nhìn thấy)
   · 20px→18px (mh-dip, gp-feature, lookbook — bằng đúng thẻ SP).
   LUẬT: từ nay KHÔNG viết số px thẳng vào border-radius, phải dùng biến. */

/* ── 17. THẺ SP THIẾU DANH MỤC LÀM LỆCH HÀNG ──
   6 SP chưa gán danh mục ⇒ nhãn `.card-cat` rỗng, không chiếm dòng ⇒ tên + giá của
   những thẻ đó bị ĐẨY LÊN CAO HƠN 19px so với thẻ bên cạnh trong cùng một hàng lưới
   (đo: tiêu đề cách đỉnh 22px vs 41px). Giữ chỗ 1 dòng trống để mọi thẻ thẳng hàng.
   (Gốc rễ là DỮ LIỆU: chủ shop cần gán danh mục trong /admin — xem NEXT_TASKS N29.) */
.card-cat:empty::before { content: "\00a0"; }

/* ═══════════════════════════════════════════════════════════════════════════
   ═══ 18. THẺ SẢN PHẨM KIỂU MUJI (v=124) ═══
   Chủ shop gửi muji.com.vn làm tham chiếu: "lụm cái nào được thì lụm".
   Đo thật trên trang đó: KHÔNG có khung thẻ (ảnh nằm thẳng trên nền trắng,
   không viền / không đổ bóng), `border-radius:0` ở 2014 phần tử, box-shadow
   gần như bằng 0 (2/~2000), 1 font sans, thang chữ 11/13/15px.

   ⇒ LẤY phần làm ẢNH SẢN PHẨM TO VÀ SẠCH HƠN, BỎ phần khắc khổ:
      · bỏ viền thẻ + nền thẻ + đổ bóng + hiệu ứng nhấc thẻ khi rê chuột
      · ảnh giữ bo góc mềm (Mitu bán nơ cho các bạn nữ — góc vuông 0px kiểu
        MUJI quá lạnh, đã dựng thử bản đó và loại)
      · GIỮ font Playfair cho tên SP = giữ chất Mitu
      · bỏ nhãn danh mục viết hoa trên thẻ (đã có trang danh mục riêng)
      · GIỮ "4.9 · 362 đã bán" — đây là BẰNG CHỨNG BÁN HÀNG, không phải trang
        trí; MUJI bỏ được vì đã là thương hiệu lớn, shop nhỏ thì không.
   Muốn quay lại kiểu cũ: xoá nguyên khối 18 này.
   ═══════════════════════════════════════════════════════════════════════════ */
.card {
  border: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}
@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: none; box-shadow: none; }
  .card:hover .card-media .bow-frame { transform: none; }
}
.card-media {
  border-radius: var(--radius);
  /* Nền TRẮNG chứ không phải kem: nền trang là kem `--bg` rgb(251,246,241) mà
     `--surface-soft` là rgb(250,242,235) — gần như trùng nhau ⇒ khung ảnh biến mất,
     thẻ trông như trôi lơ lửng. Trắng trên kem cho ranh giới nhẹ mà sạch (đúng kiểu
     MUJI: khu vực sản phẩm luôn trắng). */
  background: var(--surface);
}
.card-body { padding: 13px 2px 6px; gap: 5px; }
.card-cat { display: none; }
/* .72rem = 11,5px -> rơi xuống dưới ngưỡng 12px (bộ đo bắt được: /shop từ 61 lên 115 cảnh báo
   "chữ nhỏ hơn 12px"). Dòng này là BẰNG CHỨNG BÁN HÀNG, phải đọc được. */
.card-rating { font-size: .78rem; opacity: .9; }
/* thẻ SP HẾT HÀNG vẫn cần nền xám để nhìn ra ngay là không mua được */
.card.soldout .card-media { background: var(--line); }
/* thẻ blog giữ nguyên kiểu cũ (có khung) — chỉ thẻ SP đổi */
.card.blog-card {
  border: 1px solid var(--line); background: var(--surface);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft);
}
.card.blog-card .card-body { padding: 16px 18px 20px; }

/* ═══ 19. NÚT "THÊM VÀO GIỎ" — HỌC TIẾP TỪ MUJI (v=125) ═══
   Chủ shop: "nút thêm giỏ hơi to, bị chèn khá nhiều" (ảnh chụp máy thật).
   Đúng: nút là lớp phủ `position:absolute` nằm ĐÈ giữa ảnh SP, trên điện thoại
   luôn hiện (không hover được) ⇒ che mất phần đẹp nhất của ảnh nơ.

   Đo trang MUJI (mobile 375): nút "Mua Hàng" nằm **DƯỚI** ảnh và dưới cả giá,
   **156×38px**, `border-radius:0`, viền mảnh `0.8px solid rgb(196,196,198)`,
   nền TRẮNG, chữ 13px đậm — tức là nút VIỀN, không phải nút đặc, và KHÔNG
   bao giờ chạm vào ảnh.
   ⇒ Lấy đúng vị trí + kiểu viền; giữ bo tròn mềm và 44px chuẩn chạm của Mitu. */
.card-quick {
  position: relative; z-index: 2;      /* z-index: nổi trên lớp phủ "bấm cả thẻ" (mục 14) */
  left: auto; right: auto; bottom: auto;
  opacity: 1; transform: none;
  margin-top: 10px;
}
.card-quick .btn {
  width: 100%;
  min-height: 44px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: .84rem;
  font-weight: 600;
  box-shadow: none;
}
@media (hover: hover) and (pointer: fine) {
  .card-quick .btn:hover { background: var(--red); border-color: var(--red); color: #fff; }
}
/* nút của SP đặt cọc / sắp về vẫn là nút chính (đỏ đặc) cho nổi */
.card-quick .btn-primary { background: var(--red); border-color: var(--red); color: #fff; }

/* ═══ 20. TÊN SP CẮT ĐÚNG 2 DÒNG ═══
   MUJI dùng `-webkit-line-clamp:2` (đo được) nên mọi thẻ cao bằng nhau, lưới
   thẳng tăm tắp. Mitu có SP tên 1 dòng, có SP 3 dòng ⇒ giá và nút của các thẻ
   cùng hàng lệch nhau. Cắt 2 dòng + chừa chỗ cố định. */
.card-title {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; min-height: calc(2 * 1.35em);
}

/* ═══ 21. KHOẢNG CÁCH GIỮA HAI VÙNG CHẠM LIỀN KỀ (v=126) ═══
   Chuẩn: vùng chạm ≥44px VÀ cách nhau ≥8px. Đợt trước em nới vùng chạm lên 44px
   nhưng lại thu margin xuống 2–4px ⇒ hai ô bấm 41px **dán sát nhau chỉ 2px**
   (đo được 31 cặp ở danh sách "Khám phá", 19 cặp ở footer) — ngón tay rất dễ
   trúng dòng bên cạnh. Nới khe hở, vùng chạm giữ nguyên. */
.mh-prods li { margin-bottom: 8px; }
.footer ul li { margin-bottom: 8px; }

/* 🪤 v=126 — thêm `width`/`height` cho thẻ <img> (để trình duyệt giữ chỗ, chống nhảy layout)
   thì thuộc tính `width=700` TRỞ THÀNH chiều rộng chỉ định. CSS chỉ đặt `height` ⇒ ảnh lấy
   width 700px rồi bị `max-width:100%` bóp về bề ngang khung ⇒ **LOGO BỊ KÉO GIÃN**
   (đo: hiện 147×30 và 154×32 trong khi tỉ lệ đúng phải là 70×30 / 75×32).
   ⇒ Có `width`/`height` thì CSS BẮT BUỘC khai `width:auto` (giống `.brand img` vốn đã đúng). */
.footer img.flogo { width: auto; }

/* ═══ 22. KHOÁ KHUNG ẢNH SP — KHÔNG BAO GIỜ BỊ BÓP (v=127) ═══
   Chủ shop báo "hình to hình nhỏ". Đo lại trên live: cả 54 khung đều VUÔNG đúng
   197×197 ở mọi bề ngang thử (940 → 1440px) ⇒ không tái hiện được, nhiều khả năng
   máy chủ shop còn giữ CSS cũ trong cache (hôm nay deploy 3 lần liên tiếp).
   Dù vậy vẫn bịt luôn CƠ CHẾ có thể gây ra chuyện đó:
   `.card` là flex cột ⇒ `.card-media` mặc định `flex-shrink:1`, nếu một thẻ có
   chữ dài hơn thì trình duyệt ĐƯỢC PHÉP bóp khung ảnh cho vừa hàng lưới.
   `flex:none` khoá lại: ảnh luôn giữ đúng tỉ lệ vuông, phần chênh lệch dồn xuống
   khoảng trống cuối thẻ. Kèm `margin-top:auto` để nút mua của mọi thẻ trong cùng
   một hàng luôn nằm THẲNG HÀNG ở đáy. */
.card-media { flex: none; }
.card-quick { margin-top: auto; padding-top: 10px; }

/* ═══ 23. CỘT LƯỚI SP PHẢI LUÔN BẰNG NHAU (v=128) — LỖI "HÌNH TO HÌNH NHỎ" ═══
   TÌM RA GỐC: `1fr` thực chất là `minmax(auto, 1fr)` ⇒ cột nào có nội dung
   KHÔNG XUỐNG DÒNG ĐƯỢC rộng hơn phần chia đều thì **cột đó phình ra, các cột
   còn lại bị bóp lại**. Thủ phạm: nhãn nút dài của SP đặt cọc —
   tiếng Anh **"Pre-order · 50% deposit"** dài hơn hẳn tiếng Việt "Đặt trước · cọc 50%".
   Vì `.card-media` có `aspect-ratio:1` nên **cột hẹp ⇒ ảnh vuông nhỏ theo** ⇒ đúng
   triệu chứng "hình to hình nhỏ" chủ shop thấy.
   ⚠️ Trước đó đo KHÔNG ra vì em chỉ test bản TIẾNG VIỆT (lệch 1px), bản TIẾNG ANH
   lệch tới ~38px. **LUẬT: đổi giao diện phải đo CẢ HAI ngôn ngữ.**
   ⇒ `minmax(0,1fr)`: bỏ sàn min-content, cột luôn chia đều tuyệt đối.
   ⇒ Kèm cho nhãn nút dài được xuống dòng thay vì ép rộng cột. */
.card-quick .btn { white-space: normal; }
.product-grid > * { min-width: 0; }

/* ===== HẾT HÀNG THEO MÀU (16/09/2026) =====
   Màu tạm hết: làm mờ + gạch chéo, vẫn thấy được màu để khách biết shop CÓ màu đó
   (chủ shop chọn hướng này thay vì ẩn hẳn — khách sẽ quay lại khi có hàng).
   Gạch chéo vẽ bằng linear-gradient để không cần thêm ảnh/phần tử. */
.swatch-soldout {
  opacity: .42;
  background-image: linear-gradient(45deg, transparent 43%, var(--line-strong) 43%, var(--line-strong) 57%, transparent 57%) !important;
  background-blend-mode: normal;
}
/* KHÔNG dùng opacity trên cả ô — nó làm mờ luôn gạch chéo khiến gạch chìm mất.
   Thay bằng grayscale + giảm sáng cho phần MÀU, còn gạch chéo giữ nguyên độ đậm. */
.color-opt.soldout {
  cursor: not-allowed;
  filter: grayscale(.8) brightness(1.12);
  box-shadow: 0 0 0 1.5px var(--line-strong);
}
.color-opt.soldout::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 132%; height: 3px;
  background: #4a3f39;
  box-shadow: 0 0 0 1px rgba(255,255,255,.9);   /* viền trắng để nổi trên mọi tông màu */
  transform: translate(-50%, -50%) rotate(-45deg);
  border-radius: 3px;
  pointer-events: none;
  z-index: 2;
}
/* Ô màu hết KHÔNG nhấc lên khi rê chuột (tránh gợi ý là bấm được) */
@media (hover: hover) and (pointer: fine) {
  .color-opt.soldout:hover { transform: none; box-shadow: 0 0 0 1.5px var(--line-strong); }
}

/* ============================================================
   🏷️ LABEL THẺ SP — kiểu "G · Tem hồng góc" (v=138, chủ shop chọn 25/09/2026)
   Tem phẳng ôm sát góc TRÁI ảnh, bo mềm 1 góc; đồng bộ với tem "Set N cái" góc PHẢI.
   Đặt CUỐI file để thắng rule xoay -3deg + bóng cứng cũ (~dòng 926) và nền gradient .preorder cũ.
   ============================================================ */
.card-tag {
  top: 0; left: 0; height: 24px; display: inline-flex; align-items: center; gap: 4px;
  padding: 0 11px 0 10px; border-radius: 0 0 12px 0;
  background: #FBE4E7; color: var(--red);
  font-size: .66rem; font-weight: 700; letter-spacing: .02em; text-transform: none;
  box-shadow: none; transform: none; white-space: nowrap;
}
@media (hover: hover) and (pointer: fine) { .card:hover .card-tag { transform: none; } }
.card-tag svg { width: 11px; height: 11px; flex: none; }
.card-tag.sale     { background: var(--red); color: #fff; }
.card-tag.soldout  { background: #6E625C; color: #fff; }
.card-tag.preorder { background: #B84D6C; color: #fff; font-size: .66rem; letter-spacing: .02em; }
.card-tag.promo    { background: #4E7B5C; color: #fff; font-size: .66rem; }
/* ===== Footer mỏng cho trang SP + danh mục (v=139) ===== */
.footer.footer-mini { padding: 18px 0; margin-top: 40px; }
.footer-mini .fm-row { display:flex; align-items:center; justify-content:space-between; gap: 8px 24px; flex-wrap: wrap; }
.footer-mini .fm-links { display:flex; flex-wrap:wrap; gap: 0 18px; }
.footer-mini .fm-links a { color: var(--ink-soft); font-size: .84rem; padding: 12px 0; display:inline-block; transition: color .2s var(--ease); }
.footer-mini .fm-links a:first-child { color: var(--ink); font-weight: 600; }
.footer-mini .fm-side { display:flex; align-items:center; gap: 16px; }
.footer-mini .socials { margin-top: 0; }
.footer-mini .fm-copy { color: var(--ink-muted); font-size: .8rem; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) {
  .footer-mini .fm-links a:hover { color: var(--red); }
}
@media (max-width: 720px) {
  .footer.footer-mini { padding: 12px 0 18px; margin-top: 28px; }
  .footer-mini .fm-links { gap: 0 14px; }
  .footer-mini .fm-side { width: 100%; justify-content: space-between; }
}
@media (max-width: 760px) {
  body:has(.pdp-sticky) .footer.footer-mini { padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
}

/* ===== Xem theo danh mục cuối trang SP (v=139) ===== */
.pdp-cats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.pdp-cats a{position:relative;display:flex;flex-direction:column;justify-content:space-between;min-height:118px;padding:20px 22px;border-radius:18px;background:#fff;box-shadow:0 0 0 1px var(--line);color:var(--ink);transition:box-shadow .25s var(--ease),background .25s var(--ease)}
.pdp-cats .no{font-family:"Playfair Display",serif;font-style:italic;font-size:.85rem;color:#C9A27A;letter-spacing:.04em}
.pdp-cats b{font-family:"Playfair Display",serif;font-weight:500;font-size:1.35rem;line-height:1.2;margin-top:6px;padding-right:36px}
.pdp-cats small{color:var(--ink-muted);font-size:.8rem;margin-top:4px;padding-right:36px}
.pdp-cats .ar{position:absolute;right:18px;bottom:18px;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:var(--surface-soft);color:var(--ink);font-size:.9rem;transition:background .25s var(--ease),color .25s var(--ease)}
.pdp-cats a.cur{box-shadow:0 0 0 2px var(--red)}
.pdp-cats a.cur b,.pdp-cats a.cur small{color:var(--red)}
.pdp-cats a.cur .ar{background:var(--red);color:#fff}
.pdp-cats-more{display:flex;justify-content:center;margin-top:26px}
@media (hover:hover) and (pointer:fine){
  .pdp-cats a:hover{box-shadow:0 0 0 2px var(--red);background:var(--surface-soft)}
  .pdp-cats a:hover .ar{background:var(--red);color:#fff}
}
@media (max-width:720px){
  .pdp-cats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .pdp-cats a{min-height:96px;padding:14px 16px;border-radius:14px}
  .pdp-cats b{font-size:1.08rem;padding-right:30px}
  .pdp-cats small{font-size:.74rem;padding-right:30px}
  .pdp-cats .ar{right:12px;bottom:12px;width:26px;height:26px;font-size:.8rem}
}

/* ===== Nút "Danh mục" mép phải (v=139) ===== */
.cat-rail{position:fixed;right:0;top:50%;transform:translateY(-50%);z-index:40}
.cr-tab{display:flex;flex-direction:column;align-items:center;gap:10px;padding:16px 10px;border:0;border-radius:14px 0 0 14px;background:var(--red);color:#fff;cursor:pointer;box-shadow:-4px 6px 18px rgba(164,35,34,.22);font:inherit}
.cr-tab svg{width:18px;height:18px}
.cr-tab span{writing-mode:vertical-rl;transform:rotate(180deg);font-size:.8rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;line-height:1}
.cr-panel{position:absolute;right:100%;top:50%;transform:translate(14px,-50%);padding-right:10px;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .22s var(--ease),transform .22s var(--ease),visibility 0s linear .22s}
.cat-rail.open .cr-panel{opacity:1;visibility:visible;pointer-events:auto;transform:translate(0,-50%);transition:opacity .22s var(--ease),transform .22s var(--ease)}
.cr-inner{width:270px;max-height:min(78vh,560px);overflow:auto;background:#fff;border-radius:18px;padding:10px;box-shadow:0 18px 50px rgba(46,42,40,.18),0 0 0 1px var(--line)}
.cr-head{display:flex;align-items:center;justify-content:space-between;padding:8px 10px 10px;border-bottom:1px solid var(--line);margin-bottom:6px}
.cr-title{font-family:"Playfair Display",serif;font-size:1.2rem;color:var(--ink)}
.cr-close{display:none;width:40px;height:40px;border:0;border-radius:50%;background:var(--surface-soft);color:var(--ink);font-size:1.4rem;line-height:1;cursor:pointer}
.cr-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 12px;border-radius:12px;color:var(--ink);font-size:.95rem;transition:background .2s var(--ease),color .2s var(--ease)}
.cr-item small{min-width:28px;text-align:center;padding:2px 8px;border-radius:999px;background:var(--surface-soft);color:var(--ink-soft);font-size:.75rem;font-weight:600}
.cr-item.cur{background:var(--red);color:#fff}
.cr-item.cur small{background:rgba(255,255,255,.22);color:#fff}
.cr-backdrop{display:none}
@media (hover:hover) and (pointer:fine){
  .cat-rail:hover .cr-panel{opacity:1;visibility:visible;pointer-events:auto;transform:translate(0,-50%);transition:opacity .22s var(--ease),transform .22s var(--ease)}
  .cr-tab:hover{background:#8c1c1b}
  .cr-item:not(.cur):hover{background:var(--surface-soft);color:var(--red)}
}
@media (max-width:760px), (hover:none){
  .cat-rail{top:auto;bottom:calc(150px + env(safe-area-inset-bottom,0px));transform:none}
  .cr-tab{padding:12px 7px;gap:8px;border-radius:12px 0 0 12px}
  .cr-tab svg{width:16px;height:16px}
  .cr-tab span{font-size:.68rem;letter-spacing:.1em}
  .cr-panel{position:fixed;left:0;right:0;top:auto;bottom:0;padding:0;transform:translateY(100%);z-index:69;transition:transform .3s var(--ease),opacity .2s,visibility 0s linear .3s}
  .cat-rail.open{z-index:70}
  .cat-rail.open .cr-panel{transform:translateY(0)}
  .cr-inner{width:auto;max-height:78vh;border-radius:22px 22px 0 0;padding:12px 16px calc(18px + env(safe-area-inset-bottom,0px));display:grid;grid-template-columns:1fr 1fr;gap:8px;align-content:start}
  .cr-head{grid-column:1/-1}
  .cr-close{display:grid;place-items:center}
  .cr-item{background:var(--surface-soft);min-height:48px}
  .cr-item[data-cr="all"]{grid-column:1/-1}
  .cr-backdrop{display:block;position:fixed;inset:0;background:rgba(46,42,40,.45);z-index:68;opacity:0;visibility:hidden;transition:opacity .25s var(--ease),visibility 0s linear .25s}
  .cr-backdrop.open{opacity:1;visibility:visible;transition:opacity .25s var(--ease)}
}
body.cart-open .cat-rail{display:none}

/* ===== 🎁 Quà tặng theo đơn (v=140) ===== */
.gp-line{display:grid;grid-template-columns:56px minmax(0,1fr) auto;align-items:center;gap:12px;margin:12px 0;padding:10px 12px;border:1.5px dashed #E8A3AE;border-radius:14px;background:#FDF1F3}
.gp-thumb{width:56px;height:56px;border-radius:10px;overflow:hidden;background:#fff}
.gp-thumb > *{width:100%;height:100%}
.gp-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.gp-info{display:flex;flex-direction:column;gap:2px;min-width:0}
.gp-info b{font-weight:600;font-size:.9rem;color:var(--ink);line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.gp-info small{font-size:.76rem;color:var(--ink-soft)}
.gp-badge{align-self:flex-start;display:inline-flex;align-items:center;padding:2px 8px;border-radius:999px;background:var(--red);color:#fff;font-size:.66rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.gp-price{display:flex;flex-direction:column;align-items:flex-end;line-height:1.2}
.gp-price s{font-size:.74rem;color:var(--ink-muted)}
.gp-price b{color:var(--red);font-weight:700;font-size:.95rem}
.gp-nudge{margin:12px 0;padding:10px 12px;border-radius:12px;background:#FDF1F3}
.gp-nudge-txt{display:flex;align-items:flex-start;gap:8px;font-size:.84rem;color:#7A3440;line-height:1.45}
.gp-nudge-txt b{color:var(--red)}
.gp-ic{flex:none;line-height:1.3}
.gp-bar{margin-top:8px;height:5px;border-radius:999px;background:#F6D4DA;overflow:hidden}
.gp-bar span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#E08A98,var(--red))}
.cart-list .gp-line,.cart-list .gp-nudge{margin:14px 16px}
.gp-rule{margin-top:6px;font-size:.72rem;color:#9A6670}


/* ════════════════════════════════════════════════════════════════════
   🎴 TÚI MÙ MITU (v=142, NEXT_TASKS N50) — section trang chủ + modal (assets/tuimu.js),
   khối túi ở giỏ/thanh toán, thanh đếm giờ bám đáy (app.js). Mọi class tiền tố .tm-
   ════════════════════════════════════════════════════════════════════ */
.tm-home { padding-bottom: 0; }        /* trên = .section chuẩn; dưới = padding-top của section kế → 2 bên bằng nhau */
.tm-home[hidden] { display: none !important; }

/* ---------- A. SECTION TRANG CHỦ ---------- */
.tm-hero { position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: radial-gradient(120% 90% at 85% 20%, #F7E6E1 0%, #F3DEDA 38%, #EFD2CB 100%);
  padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; }
.tm-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(164,35,34,.13) 1.2px, transparent 1.3px); background-size: 22px 22px; }
.tm-hero > * { position: relative; }
.tm-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .76rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--red); }
.tm-eyebrow::before { content: ""; width: 26px; height: 1.5px; background: currentColor; }
.tm-hero h1, .tm-hero h2 { font-family: "Playfair Display", Georgia, serif; font-weight: 500; font-size: clamp(2rem, 4.4vw, 3.3rem);
  line-height: 1.14; margin: 14px 0 14px; color: var(--ink); }
.tm-hero .tm-h em { font-style: italic; color: var(--red); white-space: nowrap; }
.tm-hero p.lead { color: var(--ink-soft); font-size: 1.02rem; line-height: 1.65; max-width: 30em; margin: 0 0 22px; }
.tm-steps { display: grid; gap: 10px; margin: 0 0 26px; padding: 0; list-style: none; }
.tm-steps li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--ink); line-height: 1.5; }
.tm-steps .n { flex: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; color: var(--red); font-weight: 700;
  font-size: .82rem; display: grid; place-items: center; box-shadow: 0 2px 6px -2px rgba(122,60,45,.3); }
.tm-cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.tm-cta-note { display: block; margin: 12px 0 0; color: var(--ink-muted); font-size: .82rem; }
.tm-more-link { font-weight: 600; font-size: .92rem; color: var(--red); text-decoration: underline; text-underline-offset: 4px; padding: 10px 2px; }
.tm-hero-art { display: grid; place-items: center; min-height: 340px; }

/* ---------- GÓI THẺ (foil pack) — dùng chung hero + modal ---------- */
.tm-pack { position: relative; width: 210px; height: 300px; transform-style: preserve-3d; }
.tm-pack .body { position: absolute; inset: 0; border-radius: 14px 14px 18px 18px; overflow: hidden;
  background: linear-gradient(135deg, #B8312F 0%, #A42322 45%, #7E1716 100%);
  box-shadow: 0 30px 50px -22px rgba(90,20,18,.6), inset 0 0 0 1px rgba(255,255,255,.14); }
.tm-pack .body::before { /* ánh foil */ content: ""; position: absolute; inset: -40%;
  background: linear-gradient(115deg, transparent 35%, rgba(255,235,210,.34) 47%, rgba(255,255,255,.08) 53%, transparent 62%);
  animation: tm-shine 3.4s ease-in-out infinite; }
.tm-pack .body::after { /* hoa văn chấm */ content: ""; position: absolute; inset: 0; opacity: .22;
  background-image: radial-gradient(#F1E3D8 1px, transparent 1.2px); background-size: 14px 14px; }
@keyframes tm-shine { 0%,100% { transform: translateX(-30%); } 50% { transform: translateX(30%); } }
.tm-pack .crimp { position: absolute; left: 0; right: 0; height: 16px; z-index: 3;
  background: repeating-linear-gradient(90deg, rgba(0,0,0,.18) 0 3px, rgba(255,255,255,.1) 3px 6px); }
.tm-pack .crimp.bot { bottom: 0; border-radius: 0 0 18px 18px; }
.tm-pack .top { position: absolute; left: 0; right: 0; top: 0; height: 44px; z-index: 4; border-radius: 14px 14px 0 0; overflow: hidden;
  background: linear-gradient(135deg, #BE3533, #9C2120); transform-origin: 100% 100%; }
.tm-pack .top .crimp { top: 0; }
.tm-pack .top::after { /* đường xé răng cưa */ content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 8px;
  background: linear-gradient(135deg, transparent 50%, rgba(0,0,0,.2) 50%) 0 0 / 10px 8px; }
.tm-pack .label { position: absolute; inset: 58px 16px 34px; z-index: 2; display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center; color: #F1E3D8; border: 1.5px solid rgba(241,227,216,.55); border-radius: 12px; padding: 10px; }
.tm-pack .label .brand { font-family: "Playfair Display", serif; font-style: italic; font-size: 1.05rem; opacity: .9; }
.tm-pack .label .ttl { font-family: "Playfair Display", serif; font-size: 2.1rem; font-weight: 600; line-height: 1.15; margin: 6px 0 4px; color: #fff; }
.tm-pack .label .qm { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: 8px 0;
  background: rgba(241,227,216,.15); border: 1.5px dashed rgba(241,227,216,.7); font-family: "Playfair Display", serif;
  font-size: 2.2rem; color: #fff; }
.tm-pack .label .sub { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; opacity: .85; }
.tm-pack .tear-hint { position: absolute; top: 34px; right: -6px; z-index: 5; background: #fff; color: var(--red); font-size: .68rem;
  font-weight: 700; padding: 4px 9px; border-radius: 999px; box-shadow: 0 4px 10px -4px rgba(0,0,0,.3); white-space: nowrap; }
.tm-float { animation: tm-float 3.2s ease-in-out infinite; }
@keyframes tm-float { 0%,100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-12px) rotate(2deg); } }
.tm-hero-art .ghost { position: absolute; width: 150px; height: 214px; border-radius: 14px; background: #fff; opacity: .55;
  box-shadow: var(--shadow-soft); }
.tm-hero-art .ghost.g1 { transform: translate(-96px, 20px) rotate(-14deg); }
.tm-hero-art .ghost.g2 { transform: translate(96px, 26px) rotate(12deg); }

/* ---------- MODAL ---------- */
.tm-ov { position: fixed; inset: 0; z-index: 80; background: rgba(30,18,16,.62); backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center; padding: 16px; }
.tm-ov.open { display: flex; }
.tm-modal { position: relative; width: min(560px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain;
  background: var(--bg); border-radius: 24px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.55); }
.tm-x { position: sticky; top: 10px; float: right; margin: 10px 10px -54px 0; z-index: 6; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(255,255,255,.92); color: var(--ink); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.tm-step { display: none; padding: 34px 28px 28px; }
.tm-step.on { display: block; }
.tm-step h3 { font-family: "Playfair Display", Georgia, serif; font-weight: 500; font-size: 1.7rem; line-height: 1.2; margin: 6px 0 8px; color: var(--ink); }
.tm-step p.sm { color: var(--ink-soft); font-size: .93rem; line-height: 1.6; margin: 0 0 18px; }

/* form */
.tm-field { margin: 0 0 14px; }
.tm-field label { display: block; font-size: .84rem; font-weight: 600; color: var(--ink); margin: 0 0 6px; }
.tm-field input { width: 100%; box-sizing: border-box; height: 50px; padding: 0 16px; border-radius: 14px; border: 1.5px solid var(--line-strong);
  background: #fff; font: inherit; font-size: 16px; color: var(--ink); }
.tm-field input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(164,35,34,.12); }
.tm-field .err { display: none; color: #B42318; font-size: .8rem; margin: 6px 2px 0; }
.tm-field.bad input { border-color: #D14343; }
.tm-field.bad .err { display: block; }
.tm-rules { margin: 16px 0 0; padding: 14px 16px; border-radius: 14px; background: var(--surface-soft); border: 1px dashed var(--line-strong);
  font-size: .82rem; color: var(--ink-soft); line-height: 1.6; }
.tm-rules b { color: var(--ink); }

/* sân khấu mở túi */
.tm-stage { position: relative; height: 380px; display: grid; place-items: center; perspective: 1100px; user-select: none; }
.tm-stage .tm-pack { cursor: pointer; transition: transform .35s var(--ease); }
.tm-stage.shake .tm-pack { animation: tm-shake .5s ease; }
@keyframes tm-shake { 0%,100%{transform:rotate(0)} 20%{transform:rotate(-6deg)} 40%{transform:rotate(5deg)} 60%{transform:rotate(-4deg)} 80%{transform:rotate(3deg)} }
.tm-stage.torn .tm-pack .top { animation: tm-tear .6s cubic-bezier(.3,.7,.4,1) forwards; }
@keyframes tm-tear { to { transform: translate(90px,-80px) rotate(38deg); opacity: 0; } }
.tm-stage.torn .tm-pack .body, .tm-stage.torn .tm-pack .crimp.bot, .tm-stage.torn .tm-pack .label { animation: tm-drop .55s .45s ease-in forwards; }
@keyframes tm-drop { to { transform: translateY(260px) scale(.9); opacity: 0; } }
.tm-stage.torn .tear-hint { display: none; }
.tm-tap { position: absolute; bottom: 6px; left: 0; right: 0; text-align: center; font-size: .9rem; font-weight: 600; color: var(--red);
  animation: tm-pulse 1.4s ease-in-out infinite; }
@keyframes tm-pulse { 0%,100%{opacity:.55} 50%{opacity:1} }
.tm-stage.torn .tm-tap { display: none; }
.tm-burst { position: absolute; inset: 0; pointer-events: none; }
.tm-burst i { position: absolute; left: 50%; top: 42%; width: 8px; height: 8px; border-radius: 2px; opacity: 0; }
.tm-stage.torn .tm-burst i { animation: tm-conf 1.1s .25s ease-out forwards; }
@keyframes tm-conf { 0% { opacity: 1; transform: translate(0,0) rotate(0); } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(var(--r)); } }

/* 3 thẻ + thẻ ưu đãi */
.tm-table { position: relative; border-radius: 22px; padding: 18px 16px 14px; border: 1px solid var(--blush-deep);
  background: radial-gradient(120% 100% at 50% 0%, #FBEDEA 0%, #F3DEDA 60%, #EDCFC8 100%); }
.tm-table::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: .55;
  background-image: radial-gradient(rgba(164,35,34,.12) 1.1px, transparent 1.2px); background-size: 18px 18px; }
.tm-cards { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; perspective: 1000px; }
.tm-prog { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 14px 2px 0;
  font-size: .82rem; color: var(--ink-soft); min-height: 24px; }
.tm-prog .dots { display: inline-flex; gap: 6px; align-items: center; }
.tm-prog .dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(164,35,34,.18); transition: background .3s, transform .3s; }
.tm-prog .dots i.on { background: var(--red); transform: scale(1.15); }
.tm-prog .lbl { display: inline-flex; align-items: center; gap: 10px; }
.tm-prog button { font: inherit; font-size: .8rem; font-weight: 600; color: var(--red); background: none; border: 0; cursor: pointer;
  padding: 10px 4px; margin: -10px -4px; text-decoration: underline; text-underline-offset: 3px; }
.tm-card { position: relative; aspect-ratio: 4 / 5; cursor: pointer; -webkit-tap-highlight-color: transparent; outline: none; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.3,.7,.3,1.2);
  opacity: 0; transform: translateY(40px) rotateY(0deg); }
.tm-card.in { opacity: 1; transform: translateY(0) rotateY(0deg); transition: transform .5s var(--ease), opacity .4s; }
.tm-card.flip { opacity: 1; transform: rotateY(180deg); cursor: default; }
.tm-card.press:not(.flip) { transform: scale(.95); transition: transform .12s ease-out; }
.tm-card:focus-visible .back { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--red); }
/* thẻ kế tiếp cần lật: chỉ 1 thẻ toả sáng (không cho cả 3 cùng nhúc nhích) */
.tm-card.next:not(.flip) .back { animation: tm-glow 1.6s ease-in-out infinite; }
@keyframes tm-glow { 0%,100% { box-shadow: 0 10px 20px -12px rgba(90,20,18,.6), 0 0 0 0 rgba(194,160,107,0); }
  50% { box-shadow: 0 14px 24px -12px rgba(90,20,18,.7), 0 0 0 5px rgba(194,160,107,.45); } }
.tm-card .spark { position: absolute; inset: 0; pointer-events: none; z-index: 5; transform: rotateY(180deg); }
.tm-card .spark i { position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; border-radius: 50%; opacity: 0; }
.tm-card.flip .spark i { animation: tm-conf .8s .25s ease-out forwards; }
.tm-card .face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 14px; overflow: hidden; }
.tm-card .back { background: linear-gradient(135deg, #B8312F 0%, #A42322 50%, #7E1716 100%); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 4px; box-shadow: 0 10px 20px -12px rgba(90,20,18,.6); }
.tm-card .back::before { content: ""; position: absolute; inset: 6px; border: 1.5px solid rgba(194,160,107,.75); border-radius: 10px; }
.tm-card .back::after { content: ""; position: absolute; inset: 0; opacity: .2;
  background-image: radial-gradient(#F1E3D8 1px, transparent 1.2px); background-size: 11px 11px; }
.tm-card .back .bow { position: relative; z-index: 1; width: 46%; color: #F1E3D8; }
.tm-card .back .wm { position: relative; z-index: 1; font-family: "Playfair Display", serif; font-style: italic; font-size: .78rem; color: #F1E3D8; opacity: .9; }
.tm-card .back .no { position: absolute; top: 11px; left: 12px; z-index: 1; font-family: "Playfair Display", serif; font-size: .8rem; color: #C2A06B; }
.tm-card .front { transform: rotateY(180deg); background: #fff; display: flex; flex-direction: column;
  box-shadow: 0 12px 24px -14px rgba(122,60,45,.5); border: 1px solid var(--line); }
.tm-card .front .ph { flex: 1; min-height: 0; background: var(--surface-soft); position: relative; overflow: hidden; }
.tm-card .front .ph .img-wrap { position: absolute; inset: 0; display: block; }
.tm-card .front .ph img, .tm-card .front .ph svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.tm-card .front .tm-meta { flex: none; padding: 7px 9px 8px; }
.tm-card .front .tm-nm { font-size: .78rem; font-weight: 600; color: var(--ink); line-height: 1.25; display: block; overflow: hidden; height: 2.5em; }
.tm-card .front .tm-cl { font-size: .7rem; color: var(--ink-muted); margin: 2px 0 0; }
.tm-card .front .tm-pr { font-size: .84rem; font-weight: 700; color: var(--red); margin: 2px 0 0; line-height: 1.3; }
.tm-card .rar { position: absolute; top: 7px; left: 7px; z-index: 2; font-size: .62rem; font-weight: 700; letter-spacing: .06em;
  background: rgba(255,255,255,.92); color: var(--red); padding: 3px 7px; border-radius: 999px; }

.tm-ticket { margin: 16px 0 0; position: relative; border-radius: 18px; padding: 16px 18px; display: flex; align-items: center; gap: 16px;
  background: linear-gradient(120deg, #2E2A28, #4A3A33); color: #F1E3D8; transition: background .45s var(--ease), color .45s; }
.tm-ticket.locked { background: #fff; color: var(--ink-soft); border: 1.5px dashed var(--blush-deep); }
.tm-ticket.locked .pct { color: var(--blush-deep); border-right-color: var(--blush-deep); }
.tm-ticket.locked .txt b { color: var(--ink); }
.tm-ticket.locked::before, .tm-ticket.locked::after { box-shadow: inset 0 0 0 1.5px var(--blush-deep); }
.tm-timer { display: inline-flex; align-items: center; gap: 5px; margin: 6px 0 0; font-size: .76rem; font-weight: 600; color: #F1E3D8;
  font-variant-numeric: tabular-nums; }
.tm-timer svg { width: 13px; height: 13px; flex: none; }
.tm-timer b { color: #fff; }
.tm-timer.low b { color: #FFB4A8; }
.tm-ticket.expired { background: #EDE6E1; color: var(--ink-muted); }
.tm-ticket.expired .pct { color: var(--ink-muted); text-decoration: line-through; border-right-color: var(--line-strong); }
.tm-ticket.expired .txt b { color: var(--ink); }
.tm-ticket.expired::before, .tm-ticket.expired::after { background: var(--bg); }
.tm-bag-h { flex-wrap: wrap; }
.tm-bag-h .pills { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.tm-bag-h .timepill { flex: none; display: inline-flex; align-items: center; gap: 5px; font-size: .78rem; font-weight: 700; color: var(--ink);
  background: #fff; border: 1px solid var(--blush-deep); padding: 5px 10px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.tm-bag-h .timepill svg { width: 13px; height: 13px; }
.tm-bag-h .timepill.low { color: #B42318; border-color: #F1B5AC; }
.tm-bag.expired .tm-bag-h { background: #EDE6E1; }
.tm-bag.expired .pctpill { background: var(--ink-muted); text-decoration: line-through; }
.tm-bag-exp { padding: 10px 16px; font-size: .82rem; line-height: 1.5; color: #7A4A20; background: #FFF3E8; border-top: 1px solid #F3D9C2; }
.tm-field .err.cool { display: block; color: #7A4A20; background: #FFF3E8; border-radius: 10px; padding: 8px 10px; margin-top: 8px; }
.tm-ticket.pop { animation: tm-pop .5s var(--ease); }
@keyframes tm-pop { 0% { transform: scale(.96); } 60% { transform: scale(1.02); } 100% { transform: none; } }
.tm-ticket::before, .tm-ticket::after { content: ""; position: absolute; top: 50%; width: 18px; height: 18px; margin-top: -9px;
  border-radius: 50%; background: var(--bg); }
.tm-ticket::before { left: -9px; } .tm-ticket::after { right: -9px; }
.tm-ticket .pct { flex: none; width: 92px; text-align: center; font-family: "Playfair Display", serif; font-size: 2.6rem; font-weight: 600;
  color: #fff; line-height: 1; border-right: 1.5px dashed rgba(241,227,216,.35); padding-right: 14px; font-variant-numeric: tabular-nums; }
.tm-ticket .pct small { display: block; font-family: inherit; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase;
  color: #C2A06B; margin: 6px 0 0; font-weight: 700; }
.tm-ticket .txt { font-size: .86rem; line-height: 1.55; }
.tm-ticket .txt b { color: #fff; }
.tm-ticket .txt .money { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; margin: 4px 0 0; }
.tm-ticket .txt s { opacity: .6; }
.tm-ticket .txt .now { font-size: 1.25rem; font-weight: 700; color: #fff; }
.tm-ticket .txt .save { font-size: .76rem; color: #C2A06B; font-weight: 700; }
.tm-ticket.rolling .pct { color: #C2A06B; }

.tm-actions { display: none; gap: 10px; margin: 18px 0 0; }
.tm-actions.in { display: grid; animation: tm-up .4s var(--ease); }
@keyframes tm-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.tm-actions .btn[disabled] { opacity: .5; cursor: not-allowed; }
.tm-note { font-size: .78rem; color: var(--ink-muted); text-align: center; line-height: 1.55; margin: 12px 0 0; }
.tm-roll-badge { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; color: var(--red);
  background: #fff; border: 1px solid var(--blush-deep); padding: 4px 10px; border-radius: 999px; }

/* ---------- Khối túi trong giỏ (cart.html) ---------- */
.tm-bag { border-radius: 20px; border: 1.5px solid var(--blush-deep); background: #fff; overflow: hidden; }
.tm-bag-h { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: linear-gradient(90deg, #F7E6E1, #F3DEDA); }
.tm-bag-h .ic { width: 38px; height: 50px; flex: none; border-radius: 6px 6px 8px 8px; background: linear-gradient(135deg, #B8312F, #7E1716);
  display: grid; place-items: center; color: #fff; font-family: "Playfair Display", serif; font-size: 1.2rem; }
.tm-bag-h .t { flex: 1; min-width: 0; }
.tm-bag-h .t b { display: block; color: var(--ink); font-size: .98rem; }
.tm-bag-h .t small { color: var(--ink-soft); font-size: .8rem; }
.tm-bag-h .pctpill { flex: none; background: var(--red); color: #fff; font-weight: 700; font-size: .85rem; padding: 6px 12px; border-radius: 999px; }
.tm-row { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 12px 16px; border-top: 1px solid var(--line); }
.tm-row .th { width: 64px; height: 64px; border-radius: 12px; overflow: hidden; background: var(--surface-soft); position: relative; }
.tm-row .th .img-wrap { position: absolute; inset: 0; display: block; }
.tm-row .th img, .tm-row .th svg { width: 100%; height: 100%; object-fit: cover; }
.tm-row h4 { margin: 0; font-size: .92rem; color: var(--ink); line-height: 1.35; }
.tm-row .sb { font-size: .78rem; color: var(--ink-muted); margin: 3px 0 0; }
.tm-row .pr { text-align: right; font-size: .9rem; font-weight: 700; color: var(--ink); white-space: nowrap; }
.tm-row .pr s { display: block; font-weight: 400; color: var(--ink-muted); font-size: .76rem; }
.tm-row .pr b { color: var(--red); }
.tm-bag-f { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 11px 16px; border-top: 1px dashed var(--line-strong);
  font-size: .8rem; color: var(--ink-soft); background: var(--surface-soft); }
.tm-bag-f button { background: none; border: 0; color: var(--red); font: inherit; font-weight: 600; cursor: pointer; padding: 0; text-decoration: underline; }
/* Thanh bám đáy: túi còn giữ giá — hiện trên mọi trang trừ giỏ/thanh toán (app.js tuimuTick) */
.tm-dock { position: fixed; left: 50%; bottom: 14px; transform: translate(-50%, 140%); z-index: 70; display: flex; align-items: center; gap: 12px;
  width: min(520px, calc(100% - 24px)); padding: 10px 10px 10px 14px; border-radius: 18px; background: #2E2A28; color: #F1E3D8;
  box-shadow: 0 18px 40px -16px rgba(0,0,0,.5); transition: transform .35s var(--ease); font-size: .84rem; }
.tm-dock.on { transform: translate(-50%, 0); }
.tm-dock .ic { width: 30px; height: 40px; flex: none; border-radius: 5px; background: linear-gradient(135deg, #B8312F, #7E1716);
  display: grid; place-items: center; color: #fff; font-family: "Playfair Display", serif; }
.tm-dock .tx { flex: 1; min-width: 0; line-height: 1.4; }
.tm-dock .tx b { color: #fff; font-variant-numeric: tabular-nums; }
.tm-dock .go { flex: none; height: 40px; padding: 0 14px; border-radius: 999px; border: 0; background: #fff; color: var(--red); font: inherit;
  font-weight: 700; font-size: .82rem; cursor: pointer; }

@media (hover:hover) and (pointer:fine) {
  .tm-hero-art .tm-pack:hover { transform: scale(1.03); }
  .tm-stage .tm-pack:hover { transform: scale(1.04) rotate(-2deg); }
}
@media (max-width: 860px) {
  .tm-hero { grid-template-columns: 1fr; }
  .tm-hero-art { min-height: 300px; order: -1; }
}
@media (max-width: 480px) {
  .tm-step { padding: 30px 18px 22px; }
  .tm-cards { gap: 8px; }
  .tm-card .front .tm-nm { font-size: .68rem; }
  .tm-card .front .tm-meta { padding: 6px 7px 7px; }
  .tm-card .front .tm-pr { font-size: .76rem; }
  .tm-ov { padding: 10px; }
  .tm-bag-h .pills { width: 100%; margin: 0; padding-left: 50px; }
  .tm-step[data-step="reveal"] { padding-left: 14px; padding-right: 14px; }
  .tm-table { padding: 12px 10px 10px; border-radius: 18px; }
  .tm-card .back .no { top: 9px; left: 10px; }
  .tm-ticket { gap: 12px; padding: 14px; }
  .tm-ticket .pct { width: 74px; font-size: 2.1rem; padding-right: 10px; }
  .tm-stage { height: 340px; }
}
@media (prefers-reduced-motion: reduce) {
  .tm-float, .tm-pack .body::before, .tm-tap, .tm-card.next .back { animation: none !important; }
  .tm-card, .tm-card.in, .tm-card.flip { transition-duration: .01s !important; }
}

.tm-dock .go { display: inline-flex; align-items: center; text-decoration: none; }
.tm-dock .tx span { opacity: .8; }
.tm-dock b.low { color: #FFB4A8; }
body.cart-open .tm-dock, body.tm-modal-open .tm-dock { display: none; }
.tm-line-tag { display: inline-block; margin: 4px 0 2px; font-size: .68rem; font-weight: 700; letter-spacing: .03em; padding: 2px 8px;
  border-radius: 999px; background: #F7E6E1; color: var(--red); border: 1px solid var(--blush-deep); }
.tm-drawer-bar { display: flex; align-items: center; gap: 8px; margin: 2px 0 12px; padding: 9px 12px; border-radius: 12px;
  background: #2E2A28; color: #F1E3D8; font-size: .8rem; }
.tm-drawer-bar svg { width: 14px; height: 14px; flex: none; }
.tm-drawer-bar b { color: #fff; font-variant-numeric: tabular-nums; }
.tm-cart-bag { margin: 0 0 16px; }
.tm-cart-bag .tm-row .rm { display: none; }
.tm-co-note { margin: 10px 0 0; padding: 9px 12px; border-radius: 10px; background: #F7E6E1; color: var(--ink); font-size: .8rem; line-height: 1.5; }
.tm-co-note b[data-tm-left] { font-variant-numeric: tabular-nums; }
.tm-prefill { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 16px; padding: 10px 12px; border-radius: 12px;
  background: #EEF5F0; color: #2F5B3E; font-size: .84rem; line-height: 1.5; }
.tm-prefill svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.field input[readonly] { background: var(--surface-soft); color: var(--ink); cursor: not-allowed; }
.field .tm-sub { display: block; margin: 6px 2px 0; font-size: .76rem; color: var(--ink-muted); line-height: 1.45; }

/* 🎴 v=143: nhãn giảm xuống dòng riêng (hết dính "Freesize"), giá gạch + giá sau giảm, dải "Nàng tiết kiệm được" */
.mini-item .tm-line-wrap { margin-top: 5px; line-height: 1; }
.mini-item .tm-line-tag { margin: 0; }
.tm-line-tag--soft { background: #EEF5F0; color: #2F5B3E; border-color: #CFE3D5; }
.mini-item .p { text-align: right; white-space: nowrap; }
.mini-item .p .tm-p-old { display: block; font-size: .74rem; font-weight: 400; color: var(--ink-muted); }
.mini-item .p .tm-p-new { display: block; color: var(--red); font-weight: 700; }
.tm-save { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; padding: 10px 12px; border-radius: 12px;
  background: #EEF5F0; color: #2F5B3E; font-size: .86rem; line-height: 1.45; }
.tm-save svg { width: 18px; height: 18px; flex: none; }
.tm-save b { font-size: .98rem; color: #1F4A2E; }

/* ═══ 🎴 Trang riêng /tui-mu (tui-mu.html · data-tm-page="full") ═══ */
.tm-page { padding-top: 40px; padding-bottom: 88px; }
.tm-full { margin-top: 36px; }
.tm-full-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 20px; align-items: start; }
.tm-card-box { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px 24px; }
.tm-card-box h2, .tm-faq h2 { font-family: "Playfair Display", Georgia, serif; font-weight: 500; font-size: 1.55rem; margin: 0 0 16px; color: var(--ink); }
.tm-rule-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.tm-rule-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; line-height: 1.55; color: var(--ink); }
.tm-rule-list .ic { flex: none; width: 34px; height: 34px; border-radius: 10px; background: #F7E6E1; color: var(--red); display: grid; place-items: center; }
.tm-rule-list .ic svg { width: 18px; height: 18px; }
.tm-share-box { background: linear-gradient(160deg, #FBEDEA, #F3DEDA); border-color: var(--blush-deep); }
.tm-share-box p { margin: -6px 0 16px; color: var(--ink-soft); font-size: .93rem; line-height: 1.6; }
.tm-share-btns { display: grid; gap: 10px; }
.tm-share-btns .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; }
.tm-share-btns .btn svg { width: 18px; height: 18px; flex: none; }
.tm-link-box { margin: 14px 0 0; padding: 10px 14px; border-radius: 12px; border: 1px dashed var(--blush-deep); background: rgba(255,255,255,.7);
  font-size: .88rem; color: var(--ink-soft); text-align: center; user-select: all; }
.tm-faq { margin: 20px 0 0; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px 24px 8px; }
.tm-faq details { border-top: 1px solid var(--line); }
.tm-faq details:first-of-type { border-top: 0; }
.tm-faq summary { cursor: pointer; list-style: none; padding: 15px 30px 15px 0; font-weight: 600; font-size: .95rem; color: var(--ink); position: relative; }
.tm-faq summary::-webkit-details-marker { display: none; }
.tm-faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.3rem; color: var(--red); font-weight: 400; }
.tm-faq details[open] summary::after { content: "−"; }
.tm-faq details p { margin: 0 0 16px; color: var(--ink-soft); font-size: .92rem; line-height: 1.65; }
.tm-ended { max-width: 560px; margin: 0 auto; text-align: center; padding: 40px 0; }
.tm-ended h1 { font-family: "Playfair Display", Georgia, serif; font-weight: 500; font-size: clamp(1.9rem, 4vw, 2.6rem); margin: 12px 0; }
.tm-ended p { color: var(--ink-soft); line-height: 1.65; margin: 0 0 22px; }
@media (hover:hover) and (pointer:fine) { .tm-faq summary:hover { color: var(--red); } }
@media (max-width: 860px) { .tm-full-grid { grid-template-columns: 1fr; } .tm-page { padding-top: 24px; padding-bottom: 60px; } }

/* ===== 🎁 Thẻ 0đ trong túi mù (v=145) ===== */
.tm-card.is-free .face.front{box-shadow:0 0 0 2px #C2A06B,0 10px 28px rgba(194,160,107,.35)}
.tm-free-badge{position:absolute;top:8px;left:8px;z-index:2;padding:3px 9px;border-radius:999px;background:linear-gradient(135deg,#E0B96E,#C2A06B);color:#fff;font-weight:800;font-size:.72rem;letter-spacing:.06em;box-shadow:0 2px 8px rgba(0,0,0,.18)}
.tm-free-now{color:var(--red);font-weight:800}
.tm-free-win{display:inline-block;margin-bottom:4px;padding:4px 10px;border-radius:999px;background:#FFF4DC;color:#7A5418;font-size:.86rem}
.tm-line-tag.tm-free{background:#FFF4DC;color:#7A5418;border-color:#E8CD95}
.tm-free-pill{display:inline-block;margin-right:6px;padding:1px 7px;border-radius:999px;background:linear-gradient(135deg,#E0B96E,#C2A06B);color:#fff;font-weight:800;font-size:.7rem;vertical-align:middle}
.tm-free-win{display:block;margin:0 0 6px;padding:6px 12px;border-radius:12px;line-height:1.4}
.tm-free-win b{color:#7A5418 !important;font-weight:800}

/* ===== 🎴 Túi mù: chơi trước, chọn sau (v=146, 02/10/2026) ===== */
.tm-act-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.tm-act-row .btn{min-height:46px;padding-left:10px;padding-right:10px}
.tm-actions.is-expired .tm-act-row{display:none}
.tm-rules-d{margin:8px 0 0}
.tm-rules-d summary{cursor:pointer;font-size:.82rem;color:var(--ink-muted);text-align:center;list-style:none}
.tm-rules-d summary::-webkit-details-marker{display:none}
.tm-rules-d summary::after{content:" ▾"}
.tm-rules-d[open] summary::after{content:" ▴"}
.tm-rules-d .tm-rules{margin-top:10px}
.tm-prefill.tm-warn{background:#FFF3E8;color:#7A4A20;border-color:#F0C9A0}
.tm-modal{overflow-x:hidden;scrollbar-gutter:stable both-edges;scrollbar-width:thin;scrollbar-color:rgba(60,40,30,.25) transparent}   /* chừa chỗ thanh cuộn ĐỀU 2 bên → nội dung không lệch phải */
.tm-free-left{display:inline-flex;align-items:center;gap:8px;margin:-6px 0 20px;padding:7px 14px;border-radius:999px;background:#FFF4DC;color:#7A5418;font-size:.9rem;border:1px solid #E8CD95}
.tm-free-left svg{width:17px;height:17px;flex:none}
.tm-free-left b{font-weight:800;color:#7A5418}
.tm-free-left.out{background:var(--surface-soft);color:var(--ink-soft);border-color:var(--line-strong)}
.tm-free-left.out b{color:var(--ink)}
.tm-bag-h .t small{display:block;margin-top:2px;line-height:1.4}
.tm-bag-h .t .tm-cart-save{color:#2F7A43;font-weight:700}
@media (max-width:560px){.tm-cart-bag .tm-bag-h .pills{margin-left:50px}}

/* ===== ⏳ Hàng về sau N ngày (p.backorderDays, v=148) ===== */
.pdp-backorder{display:flex;gap:10px;align-items:flex-start;margin-top:12px;padding:12px 14px;border-radius:12px;background:#FFF6E6;border:1px solid #F0D49A;color:#6E4A12;font-size:.9rem;line-height:1.5}
.pdp-backorder svg{width:20px;height:20px;flex:none;margin-top:1px;color:#B7791F}
.pdp-backorder b{display:block;color:#5A3A08;font-size:.95rem}
.pdp-backorder span{display:block;color:#7A5A2A}
.bo-line{display:inline-flex;align-items:center;gap:4px;margin-top:3px;padding:1px 8px;border-radius:999px;background:#FFF6E6;color:#8A5A12;font-size:.78rem;font-weight:600;line-height:1.6}
.bo-line svg{width:12px;height:12px;flex:none}

/* 🐾 BÉ M — mascot (17/10/2026, HANDOFF 12bn). Không kéo méo/xoay/viền/bóng (luật _mascot/be-m/quy-trinh-be-m.html). */
.be-m-pic { display:contents; }
.be-m { display:block; flex:none; max-width:none; }
.be-m-empty { width:120px; height:120px; margin:0 auto 16px; }
.be-m-success { width:140px; height:140px; margin:0 auto 18px; }
.be-m-404 { width:140px; height:140px; margin:0 auto 6px; }
.toast .be-m-toast { width:40px; height:40px; margin:-8px 0; }
.btn .be-m-btn { width:28px; height:28px; margin:-6px 0; }
/* Điện thoại: tiêu đề cạnh bé M nhỏ lại cho đúng thứ bậc (đo 17/10: "Cảm ơn…" 38px trong khung 272px, "Giỏ còn trống" 29px > tiêu đề ngăn kéo 24px) */
@media (max-width:760px){
  .success-card { padding:36px 22px; }
  .success-card h1 { font-size:1.75rem; line-height:1.25; text-wrap:balance; }
  .empty-state h2 { font-size:1.5rem; }
  .be-m-success, .be-m-404 { width:120px; height:120px; }
}

/* 🐾 BÉ M đợt 2 (18/10/2026, HANDOFF 12bn) */
.tm-hero-art { position: relative; }
.tm-hero-art .be-m-tm { position:absolute; left:calc(50% + 62px); bottom:10px; width:104px; height:104px; z-index:3; pointer-events:none; }
@media (max-width:760px){ .tm-hero-art .be-m-tm { left:auto; right:0; bottom:4px; width:92px; height:92px; } }
.cart-nudge { position:fixed; left:16px; bottom:calc(16px + env(safe-area-inset-bottom, 0px)); z-index:57; width:auto; max-width:calc(100vw - 32px);
  display:flex; align-items:center; gap:8px; padding:6px 4px 6px 0; white-space:nowrap; cursor:pointer; background:var(--surface, #fff); border:1px solid var(--line);
  border-radius:16px; box-shadow:0 10px 28px rgba(46,42,40,.16); overflow:hidden; animation: toastIn .35s var(--ease); }
.cart-nudge.out { animation: toastOut .3s var(--ease) forwards; }
.cart-nudge .cn-art { flex:none; width:54px; height:44px; align-self:flex-end; margin-bottom:-6px; overflow:hidden; display:flex; justify-content:center; align-items:flex-end; }
.cart-nudge .be-m-nudge { width:64px; height:64px; max-width:none; }
.cart-nudge .cn-txt { min-width:0; overflow:hidden; text-overflow:ellipsis; font-weight:700; font-size:.9rem; }
.cart-nudge .cn-go { flex:none; background:var(--red); color:#fff; border-radius:999px; padding:5px 12px; font-weight:600; font-size:.8rem; line-height:1.3; }
.cart-nudge .cn-x { flex:none; width:32px; height:32px; border-radius:50%; color:var(--ink-soft); font-size:1.15rem; line-height:1; }
body.cart-open .cart-nudge, body:has(.pdp-sticky) .cart-nudge { display:none; }
body:has(.chat-fab) .cart-nudge { left:76px; max-width:calc(100vw - 92px); } /* có nút chat góc trái → né sang phải */

/* 🐾 MITU BUDDY — bé M gợi ý món (18/10/2026, HANDOFF 12bp) */
.mitu-buddy { position:fixed; right:16px; bottom:calc(16px + env(safe-area-inset-bottom, 0px)); z-index:56;
  display:flex; flex-direction:column; align-items:flex-end; gap:8px; pointer-events:none; }
.mitu-buddy > * { pointer-events:auto; }
.mb-ava { width:64px; height:64px; border-radius:50%; background:var(--surface, #fff); border:1px solid var(--line); box-shadow:0 8px 22px rgba(46,42,40,.16);
  display:grid; place-items:center; overflow:hidden; padding:0; opacity:0; transform:translateY(12px); transition:opacity .3s var(--ease), transform .3s var(--ease); }
.mitu-buddy.in .mb-ava { opacity:1; transform:none; }
.mb-ava .be-m-pic, .mb-ava .be-m-ava { display:block; }
.mb-ava .be-m-ava { width:54px; height:54px; margin-top:8px; }
.mb-bubble { position:relative; width:min(300px, calc(100vw - 32px)); background:var(--surface, #fff); border:1px solid var(--line);
  border-radius:18px 18px 6px 18px; box-shadow:0 14px 34px rgba(46,42,40,.18); padding:12px 12px 6px 14px; transform-origin:100% 100%; animation:mbIn .22s var(--ease); }
.mb-bubble[hidden] { display:none; }
@keyframes mbIn { from { opacity:0; transform:translateY(8px) scale(.96); } to { opacity:1; transform:none; } }
.mb-eyebrow { margin:0 0 2px; font-size:.68rem; letter-spacing:.14em; text-transform:uppercase; color:var(--red); font-weight:700; }
.mb-line { margin:0 28px 10px 0; font-size:.9rem; line-height:1.45; color:var(--ink); }
.mb-x { position:absolute; top:4px; right:4px; width:32px; height:32px; border-radius:50%; color:var(--ink-soft); font-size:1.15rem; line-height:1; }
.mb-card { display:flex; align-items:center; gap:10px; padding:8px; border-radius:14px; background:var(--surface-soft); color:inherit; text-decoration:none; }
.mb-card img, .mb-bagic { width:56px; height:56px; border-radius:10px; object-fit:cover; flex:none; background:#fff; }
.mb-bagic { display:grid; place-items:center; background:var(--red); color:#fff; font:600 1.5rem/1 "Playfair Display", serif; }
.mb-info { min-width:0; flex:1; display:flex; flex-direction:column; gap:2px; }
.mb-info b { font-size:.84rem; font-weight:600; line-height:1.3; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.mb-price { color:var(--red); font-weight:700; font-size:.86rem; }
.mb-sub { color:var(--ink-soft); font-size:.78rem; }
.mb-go { flex:none; font-size:.8rem; font-weight:600; color:var(--red); }
.mb-foot { display:flex; justify-content:space-between; align-items:center; margin-top:4px; }
.mb-foot button { font-size:.78rem; color:var(--ink-soft); padding:8px 4px; min-height:36px; }
.mb-foot .mb-more { color:var(--red); font-weight:600; }
@media (hover:hover) and (pointer:fine) { .mb-card:hover { background:var(--blush); } .mitu-buddy.in .mb-ava:hover { transform:translateY(-2px); } }
@media (prefers-reduced-motion:reduce) { .mb-bubble { animation:none; } .mb-ava { transition:none; } }
@media (max-width:760px) { .mitu-buddy { right:12px; } .mb-ava { width:56px; height:56px; } .mb-ava .be-m-ava { width:48px; height:48px; margin-top:7px; } }
body.cart-open .mitu-buddy, body:has(.cart-nudge) .mitu-buddy, body:has(.m-menu.open) .mitu-buddy { display:none; }

/* 🐾 MITU CẢM ƠN — bong bóng bé M nói ở trang đặt hàng xong (18/10/2026, HANDOFF 12bp) */
.mt-say { position:relative; display:inline-block; max-width:340px; margin:-4px auto 14px; padding:10px 16px; border-radius:16px;
  background:var(--surface-soft); color:var(--ink); font-size:.92rem; line-height:1.5; animation:mtSay .45s cubic-bezier(.2,.9,.3,1.25) .35s both; }
.mt-say::before { content:""; position:absolute; top:-7px; left:50%; width:14px; height:14px; margin-left:-7px; background:inherit; transform:rotate(45deg); border-radius:3px; }
@keyframes mtSay { from { opacity:0; transform:translateY(-6px) scale(.9); } to { opacity:1; transform:none; } }
@media (prefers-reduced-motion:reduce) { .mt-say { animation:none; } }

/* ===== 🛍️ MENU "CỬA HÀNG" SỔ XUỐNG: Cài tóc · Phụ kiện chụp hình (24/10/2026, HANDOFF 12cd) ===== */
.nav-dd { position: relative; display: flex; align-items: center; }
.nav-dd > a { display: inline-flex; align-items: center; gap: 5px; }
.nav-dd-chev { transition: transform .2s var(--ease); opacity: .7; }
.nav-dd-panel {
  position: absolute; top: 100%; left: 50%; transform: translate(-50%, 6px);
  min-width: 290px; padding: 8px; margin-top: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 16px 40px -12px rgba(46,42,40,.22);
  opacity: 0; visibility: hidden; transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s linear .18s;
  z-index: 5;
}
.nav-dd-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; } /* cầu nối chuột, khỏi tụt menu */
.nav-dd:focus-within .nav-dd-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
@media (hover: hover) and (pointer: fine) {
  .nav-dd:hover .nav-dd-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
  .nav-dd:hover .nav-dd-chev { transform: rotate(180deg); }
  .nav-links .nav-dd-item:hover { background: var(--surface-soft); }
  .nav-links .nav-dd-item:hover b { color: var(--red); }
}
.nav-links .nav-dd-item { display: block; padding: 10px 12px; border-radius: 10px; white-space: nowrap; }
.nav-links .nav-dd-item::after { display: none; }
.nav-links .nav-dd-item b { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .93rem; color: var(--ink); }
.nav-links .nav-dd-item span { display: block; font-size: .78rem; color: var(--ink-soft); font-weight: 400; margin-top: 2px; }
.nav-links .nav-dd-item.on b { color: var(--red); }
.nav-soon { font-style: normal; font-size: .64rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--red); background: #FBEDEC; border-radius: 99px; padding: 2px 8px; white-space: nowrap; }
.nav-dd.open .nav-dd-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.nav-dd.open .nav-dd-chev { transform: rotate(180deg); }
/* menu ☰: "Cửa hàng" bấm sổ/thu (25/10/2026, HANDOFF 12ci) */
.m-acc { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 52px; padding: 12px 24px;
  font: inherit; font-size: 1.02rem; font-weight: 500; color: var(--ink); text-align: left; background: none; border: 0;
  border-bottom: 1px solid rgba(216,196,176,.25); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.m-acc.on { color: var(--red); }
.m-acc-chev { flex-shrink: 0; opacity: .7; transition: transform .25s var(--ease); }
.m-acc[aria-expanded="true"] .m-acc-chev { transform: rotate(180deg); }
.m-subs { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s var(--ease); }
.m-subs > div { overflow: hidden; visibility: hidden; transition: visibility 0s linear .25s; }
.m-subs.open { grid-template-rows: 1fr; border-bottom: 1px solid rgba(216,196,176,.25); }
.m-subs.open > div { visibility: visible; transition-delay: 0s; }
.m-subs a.m-sub:last-child { border-bottom: 0; }
@media (prefers-reduced-motion: reduce) { .m-subs, .m-subs > div, .m-acc-chev { transition: none; } }
.m-links a.m-sub { min-height: 44px; padding: 8px 16px 8px 38px; font-size: .94rem; color: var(--ink-soft); flex-wrap: wrap; column-gap: 8px; row-gap: 3px; }
.m-links a.m-sub .nav-soon { font-size: .58rem; padding: 2px 7px; }

/* Trang Phụ kiện chụp hình — Sắp ra mắt */
.pk-soon { text-align: center; padding: 70px 0 100px; }
.pk-soon .wrap { max-width: 640px; }
.pk-soon .be-m { margin: 0 auto 6px; }
.pk-soon .pk-eyebrow { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); background: #FBEDEC; border-radius: 99px; padding: 5px 14px; margin-bottom: 14px; }
.pk-soon h1 { font-size: clamp(1.9rem, 4.6vw, 3rem); margin: 0 0 14px; line-height: 1.15; }
.pk-soon h1 em { color: var(--red); }
.pk-soon .pk-desc { color: var(--ink-soft); font-size: 1.02rem; line-height: 1.65; margin: 0 auto 26px; max-width: 520px; }
.pk-soon .news-form { margin: 0 auto; max-width: 460px; }
.pk-soon .pk-note { font-size: .8rem; color: var(--ink-muted); margin-top: 10px; }
.pk-soon .pk-shop { display: inline-block; margin-top: 30px; font-weight: 600; color: var(--red); }
.pk-soon .news-form input { background:#fff; color: var(--ink); border: 1px solid var(--line-strong, #E2D8D1); }
.pk-soon .news-form input::placeholder { color: var(--ink-muted); }
@media (max-width: 520px) { .pk-soon .news-form { flex-direction: column; } .pk-soon { padding: 40px 0 70px; } }

/* ============================================================
   🎯 N90 bước 2 (08/11/2026) — thanh 3 mốc ưu đãi (mituTierTrackHTML, app.js) + nút thanh toán gọn
   ============================================================ */
.tt-wrap { margin: 14px 0 4px; }
.tt-bar { position: relative; height: 6px; border-radius: 999px; background: var(--line); margin: 0 6px; }
.tt-bar > span { position: absolute; left: 0; top: 0; bottom: 0; background: var(--red); border-radius: 999px; transition: width .5s var(--ease); }
.tt-stop { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: #fff; border: 2px solid var(--line-strong); box-sizing: border-box; }
.tt-stop.on { background: var(--red); border-color: var(--red); }
.tt-lbls { position: relative; height: 34px; margin: 8px 6px 0; }
.tt-lbl { position: absolute; transform: translateX(-50%); text-align: center; font-size: .72rem; line-height: 1.3; color: var(--ink-muted); white-space: nowrap; }
.tt-lbl b { display: block; font-size: .8rem; color: var(--ink); }
.tt-lbl.on b { color: var(--red); }
.tt-lbl.last { transform: translateX(-100%); text-align: right; }
.tt-note { font-size: .84rem; line-height: 1.5; color: var(--ink); background: var(--surface-soft); border-radius: 12px;
  padding: 11px 14px; margin-top: 10px; display: flex; gap: 10px; align-items: flex-start; }
.tt-note svg { width: 18px; height: 18px; color: var(--red); flex: none; margin-top: 1px; }
.tt-note b { color: var(--red); }
/* Nút thanh toán gọn: 48px (chuẩn ≥44px), chữ 15px, không bóng — chỉ nút có class btn-cta (giỏ, thanh toán) */
.btn.btn-cta { padding: 12px 26px; font-size: .95rem; min-height: 48px; box-shadow: none; }
.btn.btn-cta svg { width: 16px; height: 16px; }
.btn-ghost.btn-cta { padding-top: 10.5px; padding-bottom: 10.5px; } /* trừ viền 1,5px ⇒ cao bằng nút đỏ */
/* "Tiếp tục mua sắm" = chữ gạch chân, vùng chạm vẫn 44px */
.btn-textlink { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; margin-top: 4px;
  padding: 10px 12px; font-size: .9rem; font-weight: 500; color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .btn-textlink:hover { color: var(--red); } }

/* ============================================================
   📱 N90 bước 3 (08/11/2026) — bố cục điện thoại (anh Minh chốt phương án B)
   ============================================================ */
/* Thẻ SP 2 cột (≤420px): chữ gọn lại, nút vẫn ≥44px */
@media (max-width: 420px) {
  .product-grid .card-body { padding: 10px 0 4px; }
  .product-grid .card-quick .btn { padding: 10px 10px; font-size: .8rem; min-height: 44px; }
}
/* Trang chủ: ảnh tròn nhỏ ở trên, tiêu đề + nút "Mua sắm ngay" lọt màn đầu */
@media (max-width: 760px) {
  .hero-grid { padding: 22px 20px 36px; gap: 14px; }
  .hero-bloom { width: 210px; max-width: 210px; margin: 0 auto; }
  .hero h1 { font-size: 2.6rem; }
  .hero-copy p { font-size: .95rem; margin-top: 10px; }
  .hero-cta { margin-top: 16px; }
  .hero-art::before, .hero-art::after { width: 140px; height: 140px; }
}
/* Trang SP: dải đường dẫn mỏng lại (chỉ trang SP — có #bc-name) */
@media (max-width: 760px) {
  .page-head:has(#bc-name) { padding: 14px 0 12px; }
  .page-head:has(#bc-name)::after { display: none; }
}
/* Máy nhỏ (≤380px, vd 360×740): ảnh + chữ nhỏ thêm chút để nút "Mua sắm ngay" vẫn lọt màn đầu */
@media (max-width: 380px) {
  .hero-grid { padding-top: 16px; gap: 10px; }
  .hero-bloom { width: 180px; max-width: 180px; }
  .hero h1 { font-size: 2.35rem; }
}

/* ============================================================
   🧺 N92 (08/11/2026) — giỏ gọn: link "Xem món vừa đủ ↓" trong câu nhắc mốc · ô mã KM thu gọn · bỏ khối "Chấp nhận thanh toán" + hotline (anh: lạc quẻ)
   ============================================================ */
.tt-note a.tt-more { color: var(--red); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.promo-toggle { display: inline-block; margin: 12px 0 2px; padding: 10px 0; min-height: 44px; background: none; border: 0; font: inherit;
  font-size: .88rem; color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.promo-toggle:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.cart-cross { scroll-margin-top: calc(var(--topbar-h, 120px) + 12px); }
.summary .promo[hidden] { display: none; }
.summary .promo-toggle + .promo { margin-top: 4px; }
@media (hover: hover) and (pointer: fine) {
  .promo-toggle:hover, .tt-note a.tt-more:hover { color: var(--red); }
  }

/* ============================================================
   🛒 08/11/2026 — trang SP sau khi "Thêm vào giỏ": bỏ khung nền xanh dính vào nút "Mua ngay" (anh Minh: "nhìn tệ")
   1 dòng ✓ + "Xem giỏ" · "Thanh toán ngay" là nút chính duy nhất · ẩn "Mua ngay" · "Thêm vào giỏ" thành viền đỏ
   ============================================================ */
.pdp-added { margin: -12px 0 18px; padding: 0; border: 0; background: none; border-radius: 0; gap: 8px; }
.pdp-added .pa-msg { color: var(--ink); font-size: .9rem; gap: 8px; }
.pdp-added .pa-msg span { flex: 1; min-width: 0; }
.pdp-added .pa-msg b { color: var(--ink); }
.pdp-added .pa-msg svg { width: 18px; height: 18px; color: var(--ok); }
.pdp-added .pa-cart { flex: none; margin-left: auto; min-height: 44px; padding: 8px 2px 8px 10px; font-size: .88rem; white-space: nowrap; }
body.pdp-is-added #buy { display: none; }
body.pdp-is-added .pdp-actions #add { background: #fff; color: var(--red); border: 1.5px solid var(--red); box-shadow: none; }
@media (hover: hover) and (pointer: fine) { body.pdp-is-added .pdp-actions #add:hover { background: var(--blush); } }

/* ===== N95 (09/11/2026): bấm SP mượt + ngăn giỏ gọn (HANDOFF 12ed) ===== */
/* Chuyển trang mờ dần thay vì giật trắng (Chrome 126+/Safari 18.2+; máy cũ bỏ qua, không hại gì) */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .2s; }
}
/* Thanh đỏ mảnh trên cùng: hiện NGAY khi bấm link, báo "đang mở" */
.nav-bar { position: fixed; top: 0; left: 0; width: 100%; height: 3px; z-index: 10000; pointer-events: none;
  background: var(--red); transform-origin: 0 50%; transform: scaleX(0); opacity: 0; border-radius: 0 3px 3px 0; }
html.nav-going .nav-bar { opacity: 1; animation: mituNavGo 2.6s cubic-bezier(.08,.75,.2,1) forwards; }
@keyframes mituNavGo { 0% { transform: scaleX(.04); } 100% { transform: scaleX(.88); } }
/* Chạm thẻ SP ⇒ ảnh lún nhẹ (phản hồi tức thì trên điện thoại) */
@media (hover: none) {
  .card .card-media { transition: transform .16s var(--ease), opacity .16s var(--ease); }
  .card:has(.hover-cycle:active, .card-title a:active) .card-media { transform: scale(.97); opacity: .88; }
}
@media (prefers-reduced-motion: reduce) { .card:has(.hover-cycle:active, .card-title a:active) .card-media { transform: none; } }

/* N96 (09/11/2026): ngăn giỏ GỌN — điện thoại thành bảng trượt từ dưới, cao vừa đủ số món (tối đa 86% màn).
   "Xem giỏ hàng" lên đầu giỏ (chữ nhỏ), chân giỏ = 1 dòng ưu đãi + thanh mốc mảnh + [Tạm tính | Thanh toán]. */
.drawer .drawer-head { gap: 10px; padding: 14px 18px; }
.drawer .drawer-head h3 { flex: 1; min-width: 0; font-size: 1.2rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dr-count { font-family: "Linotte", "Segoe UI", system-ui, sans-serif; font-variant-numeric: lining-nums; font-size: .9rem; font-weight: 500; color: var(--ink-soft); }
.dr-viewcart { font-size: .84rem; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; padding: 8px 2px; }
.dr-viewcart[hidden] { display: none; }
.drawer .drawer-foot:empty { display: none; }
.dr-mq { margin: 10px 0 2px; padding: 8px 12px; border-radius: 10px; background: #FFF3E8; color: #7A4A20; font-size: .78rem; line-height: 1.45; }
.dr-mq b { color: #A4521C; }
.drawer .drawer-head .icon-btn { flex: none; width: 38px; height: 38px; }
.sheet-grab { display: none; }
.drawer .drawer-body { padding: 0 18px; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.drawer .drawer-foot { padding: 12px 18px; padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
.drawer-row { grid-template-columns: 56px 1fr; gap: 12px; padding: 12px 0; align-items: start; }
.drawer-row:last-child { border-bottom: 0; }
.drawer-row .t { width: 56px; height: 56px; border-radius: 10px; }
.dr-info { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.dr-top { display: flex; align-items: baseline; gap: 10px; }
.dr-top h4 { flex: 1; min-width: 0; font-size: .88rem; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.drawer-row small { font-size: .76rem; line-height: 1.35; }
.dr-price { flex: none; font-size: .86rem; font-weight: 600; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.drawer-row .rm.dr-x { flex: none; width: 30px; height: 30px; margin: 0 -6px 0 0; display: grid; place-items: center; border-radius: 50%; color: var(--ink-muted); }
.drawer-row .rm.dr-x svg { width: 16px; height: 16px; }
.dr-bot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; }
/* nút số lượng nhỏ, nhẹ: nền kem, không viền đậm */
.qty.qty-sm { border: 0; background: var(--surface-soft); border-radius: 999px; height: 26px; }
.qty.qty-sm button { width: 26px; height: 26px; min-width: 26px; min-height: 26px; flex: 0 0 26px; padding: 0; font-size: .9rem; line-height: 1; color: var(--ink-soft); }
.qty.qty-sm input { width: 20px; height: 26px; font-size: .8rem; font-weight: 600; padding: 0; }
/* chân giỏ: câu ưu đãi lên trên, thanh mốc mảnh không nhãn */
.drawer-foot .dr-track { margin: 0 0 10px !important; display: flex; flex-direction: column; gap: 8px; }
.drawer-foot .dr-track .tt-note { order: -1; margin: 0; padding: 0; background: none; border-radius: 0; font-size: .8rem; gap: 8px; align-items: center; }
.drawer-foot .dr-track .tt-note svg { width: 16px; height: 16px; margin: 0; }
.drawer-foot .dr-track .tt-wrap { margin: 0; }
.drawer-foot .dr-track .tt-bar { height: 4px; }
.drawer-foot .dr-track .tt-stop { width: 10px; height: 10px; margin: -5px 0 0 -5px; }
.drawer-foot .dr-track .tt-lbls { display: none; }
.drawer-foot .ship-progress { margin: 0; }
.dr-pay { display: flex; align-items: center; gap: 14px; }
.dr-sum { flex: none; display: flex; flex-direction: column; line-height: 1.2; }
.dr-sum span { font-size: .74rem; color: var(--ink-soft); }
.dr-sum b { font-size: 1.12rem; }
/* N97 (anh chọn B, 09/11): kiểu Nike — hàng "Tạm tính … tiền" riêng, nút Thanh toán cả hàng, chữ đậm vừa, bỏ mũi tên */
.dr-pay { flex-direction: column; align-items: stretch; gap: 10px; }
.dr-pay .dr-sum { flex-direction: row; justify-content: space-between; align-items: baseline; }
.dr-pay .dr-sum span { font-size: .88rem; color: var(--ink); }
.dr-pay .btn.btn-cta { width: 100%; min-height: 50px; padding: 12px 22px; font-size: 1rem; font-weight: 500; letter-spacing: .01em; white-space: nowrap; }
.dr-pay .btn.btn-cta svg { display: none; }
@media (hover: hover) and (pointer: fine) {
  .drawer-row .rm.dr-x:hover { color: var(--red); background: var(--surface-soft); }
  .dr-viewcart:hover { color: var(--red); }
}
/* Điện thoại: bảng trượt từ dưới lên */
@media (max-width: 767px) {
  .drawer { top: auto; bottom: 0; left: 0; right: 0; width: 100%; max-width: none; height: auto;
    max-height: 86vh; max-height: 86dvh; border-radius: 20px 20px 0 0; transform: translateY(105%);
    transition: transform .32s cubic-bezier(.2,.8,.2,1), visibility 0s linear .32s; visibility: hidden;
    box-shadow: 0 -18px 50px -24px rgba(46,42,40,.45); }
  .drawer.open { transform: none; visibility: visible; transition: transform .32s cubic-bezier(.2,.8,.2,1); }
  .drawer .drawer-body { flex: 0 1 auto; min-height: 0; }
  .sheet-grab, .drawer .drawer-head, .drawer .drawer-foot { flex: none; }
  .sheet-grab { display: grid; place-items: center; height: 16px; padding-top: 6px; touch-action: none; }
  .sheet-grab i { width: 38px; height: 4px; border-radius: 4px; background: var(--line-strong); }
  .drawer .drawer-head { padding: 4px 14px 10px 18px; touch-action: none; }
  .drawer .empty-state { padding: 28px 10px 34px !important; }
  /* 🩹 12ef: iPhone Safari — thanh địa chỉ thu nhỏ nằm ĐÈ dải đáy màn hình; chạm vào đó lần 1 chỉ bung thanh địa chỉ
     ⇒ nút Thanh toán sát đáy phải bấm 2 lần. Chừa ≥34px dưới nút (web không dùng viewport-fit=cover nên env()=0). */
  .drawer .drawer-foot { padding-bottom: max(34px, calc(env(safe-area-inset-bottom, 0px) + 20px)); }
}
/* Khoá cuộn trang nền khi giỏ mở (html mới là thứ cuộn vì html{overflow-x:hidden}) — chỉ máy cảm ứng/màn nhỏ,
   máy tính giữ nguyên (tránh trang giật ngang khi thanh cuộn biến mất) */
@media (hover: none), (max-width: 767px) {
  html.cart-open, html.cart-open body { overflow: hidden; overscroll-behavior: none; }
}
.overlay { touch-action: none; }

/* ===== 👟 12eh (09/11/2026): THẺ SẢN PHẨM KIỂU NIKE — anh Minh: "ảnh, giá, nút rời rạc quá" → chọn phương án A =====
   Đo Nike VN: tên → loại → giá xếp liền (cách 0–4px), khối chữ ~75px, KHÔNG có nút chữ trên thẻ.
   Mitu: bỏ chừa sẵn 2 dòng tên (gây khoảng hở ~30px khi tên 1 dòng), giá dính ngay dưới tên;
   nút "Thêm vào giỏ" thành nút tròn 44px trắng ở góc dưới phải ẢNH (chữ vẫn còn cho trình đọc màn hình).
   Chỉ áp thẻ `.card-plus` (mua thường) — đặt cọc / sắp về / hết hàng giữ nút chữ cũ. */
.card.card-plus .card-title { min-height: 0; }
.card.card-plus .card-title a { padding: 2px 0; }
.card.card-plus .card-body { gap: 2px; }
.card.card-plus .card-foot { margin-top: 4px; padding-top: 0; }
/* nút nằm TRONG .card-media (app.js) — 🪤 bản đầu neo absolute theo .card + aspect-ratio: Chrome đúng góc, Safari lệch 24px */
.card.card-plus .card-quick-img {
  position: absolute; right: 8px; bottom: 8px; left: auto; top: auto;
  margin: 0; padding: 0; z-index: 3; opacity: 1; transform: none;
}
.card.card-plus .card-quick .btn,
.product-grid .card.card-plus .card-quick .btn {
  width: 44px; height: 44px; min-height: 44px; padding: 0; border: 0; border-radius: 50%;
  font-size: 0; color: transparent; overflow: hidden;
  background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E2A28' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><circle cx='9' cy='21' r='1'/><circle cx='19' cy='21' r='1'/><path d='M1 2h3.5l2.5 12.4a2 2 0 0 0 2 1.6h8.8a2 2 0 0 0 2-1.6L21.5 8'/><path d='M14 2.5v7M10.5 6h7'/></svg>") center / 22px no-repeat;
  box-shadow: 0 2px 10px rgba(46, 42, 40, .14);
  transition: transform .15s var(--ease), box-shadow .2s;
}
.card.card-plus .card-quick .btn:active { transform: scale(.92); }
.card.card-plus .card-quick .btn:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
  .card.card-plus .card-quick .btn:hover { background-color: #fff; box-shadow: 0 0 0 2px var(--red), 0 4px 14px rgba(46, 42, 40, .18); }
}

/* 🧩 12ei (09/11/2026, N94-A1, anh chọn A): điện thoại — "Chọn theo phong cách" lưới 2 cột, ô nhỏ, bỏ mô tả (khu 3.158px → ~1.060px) */
@media (max-width: 760px) {
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cat-card { padding: 12px; border-radius: 16px; }
  .cat-card h3 { font-size: 1.05rem; line-height: 1.25; }
  .cat-card .cat-body span { display: none; }
  .cat-card .arrow { top: 10px; right: 10px; width: 30px; height: 30px; }
  .cat-card .arrow svg { width: 14px; height: 14px; }
  .cat-card .hc-dots { bottom: 48px; }
}

/* 🧩 12ej (09/11/2026, N94-A2): trang SP — ghi chú "hàng về sau" + "mua riêng từ N set" thành dòng nhỏ có icon (thay 2 khung cam/vàng) */
.pdp-notes { margin: 12px 2px 14px; display: grid; gap: 4px; font-size: .84rem; line-height: 1.45; color: var(--ink-soft); }
.pdp-notes p { margin: 0; display: flex; gap: 7px; align-items: flex-start; }
.pdp-notes svg { width: 15px; height: 15px; flex: none; margin-top: 2px; color: #B7791F; }
.pdp-notes b { color: var(--ink); font-weight: 600; }

/* 🧩 12ek (09/11/2026, N94-A3): giỏ → "Đổi" màu: ô màu kèm tên (trước chỉ chấm tròn, Nâu~Be~Kem khó phân biệt); màu hết = mờ */
.cart-col { display:inline-flex; align-items:center; gap:7px; min-height:44px; padding:6px 13px 6px 7px;
  border-radius:999px; border:1px solid var(--line-strong); background:var(--surface,#fff); color:var(--ink);
  font:inherit; font-size:.85rem; line-height:1.2; cursor:pointer; }
.cart-col i { width:24px; height:24px; border-radius:50%; flex:none; box-shadow:inset 0 0 0 1px rgba(0,0,0,.14); }
.cart-col.active { border-color:var(--red); box-shadow:0 0 0 1px var(--red); font-weight:600; }
.cart-col.soldout { opacity:.45; cursor:not-allowed; text-decoration:line-through; }

/* 🧩 12el (10/11/2026, N94-A5, anh chọn A): điện thoại — nút "Danh mục" mép phải chỉ còn icon (30×113 → 38×44px), bớt đè ảnh/nút giỏ thẻ SP; chữ giữ cho trình đọc màn hình */
@media (max-width:760px), (hover:none){
  .cr-tab{padding:13px 10px;gap:0}
  .cr-tab svg{width:18px;height:18px}
  .cr-tab span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
}

/* 🧩 12eq (11/11/2026, N94-A5 cách B): điện thoại — icon Danh mục lên thanh đầu trang (cạnh giỏ), bỏ tab nổi mép phải; máy tính giữ tab */
.cr-hbtn{display:none}
@media (max-width:760px), (hover:none){
  .cr-hbtn{display:inline-flex}
  .cat-rail .cr-tab{display:none}
}

/* 🧩 12er (11/11/2026, N90 còn treo): đầu trang điện thoại gọn — dải thông báo 1 dòng xoay ý, thanh trên 64px, dải tiêu đề trang mỏng, nút MXH 44px */
.ann-rot{display:none}
.socials a{width:44px;height:44px}
@media (max-width:760px){
  .announce:has(.ann-rot){padding-top:8px;padding-bottom:8px}
  .ann-full{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .ann-rot{display:grid}
  .ann-rot>span{grid-area:1/1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:0;transition:opacity .45s var(--ease)}
  .ann-rot>span.on{opacity:1}
  .site-topbar:not(.scrolled) .nav{height:64px}
  .page-head{padding:18px 0 16px}
  .page-head::after{display:none}
  .page-head h1{font-size:1.75rem;line-height:1.2;margin-top:4px}
  .page-head + .section[style*="padding-top"]{padding-top:20px !important}
}

/* 🧩 12es (11/11/2026): khung chat tra đơn — nút mở hành trình SPX */
.mchat-order .mchat-spx{font-weight:600;letter-spacing:.02em;word-break:break-all}
.mchat-track{display:flex;align-items:center;justify-content:center;margin-top:8px;min-height:44px;padding:8px 14px;border-radius:999px;background:var(--red);color:#fff !important;font-weight:600;font-size:.88rem;text-decoration:none !important}
@media (hover:hover) and (pointer:fine){ .mchat-track:hover{background:#8c1c1b} }

/* 🔎 12eu (02/12/2026): chữ nhãn thẻ SP + nhãn "Sắp ra mắt" lên tối thiểu 12px (trước 9,3–10,9px, khó đọc trên điện thoại) */
.card-tag,.card-tag.sale,.card-tag.soldout,.card-tag.preorder,.card-tag.promo,.card-setsize{font-size:.75rem}
.nav-soon,.m-links a.m-sub .nav-soon{font-size:.75rem}

/* 🧩 12ev (02/12/2026): chân trang GẬP trên điện thoại — nhóm link bấm để mở (trước dài ~1.850px ≈ 2,3 màn) */
.ft-acc-btn{display:none}
.ft-dip-h{margin-top:22px}
@media (max-width:760px){
  .footer{padding-top:40px}
  .footer-grid{grid-template-columns:1fr;gap:0}
  .footer-grid > div:first-child{margin-bottom:22px}
  .footer .ft-acc-h{position:relative;display:flex;align-items:center;min-height:52px;margin:0;border-top:1px solid var(--line)}
  .ft-acc-btn{display:flex;position:absolute;inset:0;width:100%;align-items:center;justify-content:flex-end;padding:0 2px;border:0;background:none;color:var(--ink);cursor:pointer;-webkit-tap-highlight-color:transparent}
  .ft-acc-btn svg{width:18px;height:18px;transition:transform .25s var(--ease)}
  .ft-acc-h.open .ft-acc-btn svg{transform:rotate(180deg)}
  .ft-acc-btn:focus-visible{outline:2px solid var(--red);outline-offset:-2px;border-radius:8px}
  .footer .ft-acc-h + ul{display:none;padding:0 0 10px}
  .footer .ft-acc-h.open + ul{display:block}
  .footer-grid > div:last-child{border-top:1px solid var(--line);padding-top:20px}
  .footer-bottom{margin-top:24px}
}
@media (prefers-reduced-motion:reduce){ .ft-acc-btn svg{transition:none} }

/* 🧩 12ew (03/12/2026): TRANG CHỦ GỌN trên điện thoại (≤760px) — CHỈ đổi cách xếp, không bỏ nội dung:
   Bán chạy · Chọn theo phong cách · Một thế giới nhỏ xinh · Blog thành HÀNG VUỐT NGANG (lộ mép thẻ kế để biết còn nữa);
   khối "Danh mục phụ kiện tóc / Sản phẩm bán chạy" cuối trang thành 2 hàng nút vuốt ngang. Máy tính + máy tính bảng giữ nguyên. */
@media (max-width:760px){
  #trending-grid,#cat-grid,#bento,#home-blog,.mh-cats,.mh-prods{display:flex;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;scrollbar-width:none;gap:12px;margin-inline:-18px;padding:4px 18px 14px;scroll-padding-inline:18px}
  #trending-grid::-webkit-scrollbar,#cat-grid::-webkit-scrollbar,#bento::-webkit-scrollbar,#home-blog::-webkit-scrollbar,.mh-cats::-webkit-scrollbar,.mh-prods::-webkit-scrollbar{display:none}
  #trending-grid>*,#cat-grid>*,#bento>*,#home-blog>*{scroll-snap-align:start;min-width:0}
  #trending-grid>*{flex:0 0 44%}
  #cat-grid>*{flex:0 0 42%}
  #bento>.bento-tile{flex:0 0 68%;height:170px}
  #bento>.bento-tile.bt-cream{flex-basis:42%}
  #home-blog>*{flex:0 0 78%}
  .mh-explore-grid{gap:22px}
  .mh-explore-h{margin-bottom:10px}
  .mh-cats,.mh-prods{columns:auto;gap:8px;padding-top:2px;padding-bottom:10px}
  .mh-cats li,.mh-prods li{flex:0 0 auto;margin:0}
  .mh-cats a,.mh-prods a{white-space:nowrap}
  .mh-prods a{display:inline-block;padding:9px 16px;border-radius:999px;border:1px solid var(--line);font-size:.9rem}
}

/* 🩹 12ex (03/12/2026): sửa 12ew — ô lưới .mh-explore-grid nở theo nội dung (2.590px) nên 2 hàng nút cuối trang bị cắt mà KHÔNG vuốt được; ép min-width:0 để hàng nút cuộn ngang. */
@media (max-width:760px){
  .mh-explore-grid>div{min-width:0}
}

/* 🩹 12ey (03/12/2026): thanh đầu trang trên điện thoại — chữ nút VI/EN 11,5 → 13px; logo KHÔNG bị bóp (ở 320px logo 700×300 bị ép còn 17px ngang);
   màn ≤340px thu khoảng cách + nút biểu tượng 40px để đủ chỗ cho logo 79px. Máy tính giữ nguyên. */
@media (max-width:760px){
  .header .lang-switch button{font-size:.8125rem}
  .header .brand{flex-shrink:0}
  .header .brand img{width:auto;max-width:none}
}
@media (max-width:340px){
  .header .nav{gap:10px;padding-inline:14px}
  .header .nav-actions{gap:4px}
  .header .lang-switch button{padding-inline:10px}
  .header .nav-actions .icon-btn{width:40px}
}

/* 🩹 12ez (03/12/2026): sửa 12ey — logo hết co nên ở 341–384px nút menu lấn lề phải (360px bị cắt ~7px). Chia lại 2 nấc, đã đo 320→414px nút menu nằm đúng lề:
   ≤400px thu khoảng cách; ≤355px thêm nút VI/EN lề 8px + nút biểu tượng 40px. */
@media (max-width:400px){
  .header .nav{gap:10px;padding-inline:14px}
  .header .nav-actions{gap:5px}
}
@media (max-width:355px){
  .header .nav-actions{gap:4px}
  .header .lang-switch button{padding-inline:8px}
  .header .nav-actions .icon-btn{width:40px}
}

/* 🌸 12fa (03/12/2026): cánh hoa / nơ / tim rơi (floatingFx) KHÔNG đè nội dung nữa — trước là lớp fixed z-index 3 phủ mọi trang, rơi qua chữ, ảnh SP, form.
   Giờ chỉ hiện ở trang có .hero (trang chủ), nằm trong MÀN ĐẦU TIÊN và cuộn đi theo trang, nhạt còn 60%. Trang khác: tắt. Không đụng app.js. */
.fx-layer{display:none}
body:has(.hero) .fx-layer{display:block;position:absolute;inset:0 0 auto 0;height:100vh;height:100svh;opacity:.6}

/* 🛒 12fb (03/12/2026): trang thanh toán trên điện thoại — nút "Đặt hàng" nằm ở y≈2.520px (hơn 3 màn) ⇒ GHIM xuống đáy màn hình.
   Vẫn là CHÍNH nút submit của form (không thêm nút, không thêm JS) nên bấm khi thiếu ô thì trình duyệt tự nhảy tới ô thiếu. Máy tính giữ nguyên. */
@media (max-width:760px){
  form .summary .btn-cta[type=submit]{position:fixed;left:12px;right:12px;bottom:calc(10px + env(safe-area-inset-bottom,0px));width:auto;margin:0!important;z-index:60;box-shadow:0 0 0 10px rgba(255,250,247,.94),0 -6px 24px 10px rgba(60,20,20,.10)}
  body:has(form .summary .btn-cta[type=submit]){padding-bottom:calc(78px + env(safe-area-inset-bottom,0px))}
}

/* ✂️ 12fc (03/12/2026): TỐI GIẢN TRANG CHỦ đợt 1 theo số liệu GA4 90 ngày (khách ở trang chủ ~11 giây, chỉ 9,5% cuộn tới cuối; /shop 58%).
   ẨN (chưa xoá khỏi index.html để dễ hoàn tác): dải chữ chạy, "Nàng nào cũng mê" (trùng Bán chạy), "Một thế giới nhỏ xinh", khối Blog,
   số thứ tự lớn 01–08, cánh hoa rơi, cánh hoa lookbook, thanh tiến trình cuộn. ĐẨY XUỐNG CUỐI: lookbook, Câu chuyện, Nhận tin
   (menu "Về Mitu" và nút ưu đãi còn trỏ tới #story / #newsletter nên chưa ẩn). Danh mục + sản phẩm lên ngay sau dải cam kết. */
#marquee,section:has(#featured-grid),section:has(#bento),section:has(#home-blog),.sec-num,.fx-layer,.lbpetals,.scroll-bar{display:none!important}
body:has(>.hero){display:flex;flex-direction:column}
body:has(>.hero)>.lb-acc-sec,body:has(>.hero)>#story,body:has(>.hero)>#newsletter{order:1}
body:has(>.hero)>.mh-explore,body:has(>.hero)>#site-footer{order:2}

/* ✂️ 12fd (03/12/2026): TỐI GIẢN đợt 2 — anh bảo bỏ nút "Chat với Mitu" và thanh "Thêm … là Mitu bớt 10k" (.tt-wrap; CHỈ ẩn lời nhắc, ưu đãi vẫn tự áp),
   và làm tinh gọn, bớt vẻ "AI": bỏ nhãn chữ hoa nhỏ trên tiêu đề khối, vệt sáng lookbook, vệt bóng lướt trên nút, quầng sáng "thở" sau ảnh bìa,
   nền chuyển màu của khối Bán chạy / Hot Sale / Câu chuyện, đổ bóng nút + thẻ. Ẩn bằng CSS, chưa xoá mã. */
#mitu-chat,.tt-wrap,.section-head .eyebrow,.lbsh,.lbshine,.btn::after,.hero::before{display:none!important}
.hero-bloom{animation:none!important;background-image:none!important;box-shadow:none!important}
.hot-section,.sale-section,.story{background-image:none!important}
.btn-primary,.cat-card,.lbp,.story-art{box-shadow:none!important}

/* ✂️ 12fe (03/12/2026): bỏ nốt lời nhắc "Thêm … là Mitu bớt 10k" còn sót sau 12fd: dòng trong Tóm tắt đơn ở /cart (.tt-note nằm ngoài .tt-wrap),
   dòng dưới giá ở trang sản phẩm (#pdp-freeship), dòng "Mua thêm … để được giảm" ở /checkout (#sum-bulk-hint). Ưu đãi vẫn tự áp. */
.tt-note,#pdp-freeship,#sum-bulk-hint{display:none!important}


/* ✂️ 12fi (03/12/2026): soát MÁY TÍNH — bỏ hoa ✿ trang trí (khối Câu chuyện có bông hoa xoay, 2 bông ở ô Nhận tin, hình trang trí dải tiêu đề trang),
   dải tiêu đề trang thôi loang màu, và link chân trang + khu "Danh mục / Sản phẩm bán chạy" sát lại khi dùng chuột (điện thoại giữ vùng chạm 44px). */
.story::before,.newsletter::before,.newsletter::after,.page-head::after{display:none!important}
.page-head{background:var(--surface-soft)}
@media (min-width:761px) and (hover:hover) and (pointer:fine){#site-footer li a,.mh-explore li a{padding-block:3px}}


/* 🎨 12fk (03/12/2026): "bớt AI" kiểu tạp chí thời trang tối giản — góc bo nhỏ (biến --radius 28/18/12 → 8/6/4, nút 999px → 6px),
   hero: ảnh chữ nhật thay hình tròn, bỏ quầng mờ + vòng nét đứt + 2 thẻ nổi + nhãn "BỘ SƯU TẬP 2026" + nút phụ, chữ "nơ" hết viền rỗng;
   lookbook bỏ số 01–05 + nhãn nhỏ; khối Câu chuyện bỏ hình nơ vẽ + nhãn nhỏ. Hoàn tác: xoá cả khối này. */
:root{--radius-lg:8px;--radius:6px;--radius-sm:4px}
.btn,.lbmore,.news-form input{border-radius:6px!important}
.hero-badge,.hero-copy>.eyebrow,.hero-cta .btn-ghost,.story .eyebrow,.story-art,.lbidx,.lbey,.hero-art::before,.hero-art::after,.hero-bloom::after,.hero-bloom .img-wrap svg{display:none!important}
.hero h1 .outline{color:var(--red)!important;-webkit-text-stroke:0!important;-webkit-text-fill-color:currentColor!important;font-style:italic}
.hero-bloom{border-radius:8px!important;border:0!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;overflow:hidden}
.hero-bloom .img-wrap,.hero-bloom img{border-radius:0!important}
.lbp{border-radius:8px!important}
.story-grid{grid-template-columns:minmax(0,1fr)!important;max-width:760px}
@media (max-width:760px){.hero-bloom{width:100%!important;max-width:none!important;height:auto!important;aspect-ratio:3/2!important}.hero-bloom .img-wrap{aspect-ratio:3/2!important}}


/* 🎨 12fl (03/12/2026): phẳng hoá + hero máy tính bảng (soát theo ui-ux-pro-max + minimalist-ui).
   Bỏ đổ bóng trang trí (biến --shadow/--shadow-soft về 0, nút Danh mục mép phải, nút giỏ trên thẻ SP, thẻ quà) — bảng xổ menu/ngăn kéo GIỮ bóng để tách lớp;
   bỏ vệt sáng trên lookbook và nền loang ở trang Tặng quà; 761–1024px: hero 2 cột (chữ trái, ảnh phải) thay vì ảnh vuông 460px đẩy nút mua xuống dưới. */
:root{--shadow:0 0 #0000;--shadow-soft:0 0 #0000}
.cr-tab,.btn-light,.gp-feat-img,.gift-card{box-shadow:none!important}
.lblight{display:none!important}
.gp-feature,.gift-card.glass{background-image:none!important}
@media (min-width:761px) and (max-width:1024px){.hero-grid{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr)!important;align-items:center;gap:32px!important;padding:56px 24px 64px!important}.hero-art{order:0!important}.hero h1{font-size:clamp(2.6rem,6.4vw,4rem)!important}.hero-bloom{width:100%!important;max-width:none!important;height:auto!important}}


/* 🧩 12fm (03/12/2026): máy tính bảng 761–1024px — nút "Danh mục" dán mép phải đè lên chữ mục thứ 4 của dải cam kết.
   Nút chỉ còn biểu tượng (chữ ẩn kiểu sr-only như điện thoại) + dải cam kết chừa 36px bên phải. */
@media (min-width:761px) and (max-width:1024px){.cr-tab{padding:13px 10px;gap:0}.cr-tab span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.trust-grid{padding-right:36px}}
