/* =============================================================
   TRANG CHUNG cho MỌI giao diện storefront (14/09/2026)
   Popup đăng nhập — sau này thêm: giỏ hàng, thanh toán, đăng ký...
   - Mọi class có tiền tố .sfc- -> không đụng CSS của mẫu, không cần Bootstrap.
   - Màu/phông lấy qua biến --sfc-*. Mặc định đặt bằng :where(:root) (độ ưu tiên 0)
     nên CSS của từng mẫu chỉ cần khai :root { --sfc-brand: ...; } là thắng,
     bất kể tệp nào nạp trước.
   ============================================================= */
:where(:root) {
  --sfc-brand: #c2185b;        /* màu nhấn (nhãn, viền focus, icon) */
  --sfc-brand-dark: #1f2937;   /* màu nút chính, tiêu đề */
  --sfc-brand-rgb: 194, 24, 91;
  --sfc-ink: #1f2430;
  --sfc-muted: #6b7280;
  --sfc-line: #e7e2dc;
  --sfc-soft: #f7f4f1;
  --sfc-radius: 22px;
  --sfc-font: inherit;         /* KHÔNG dùng trong shorthand "font: 600 14px var(--sfc-font)": inherit làm cả dòng vô hiệu ở mẫu không khai biến -> luôn viết tách font-family */
  --sfc-display: inherit;
}

/* Ô nhập (tìm kiếm, thông tin liên hệ, số khách…) — con trỏ + bôi chọn theo màu thương hiệu thay cho xanh mặc định
   của trình duyệt (05/10/2026). :where() giữ độ ưu tiên 0 để CSS của mẫu muốn khác vẫn thắng.
   Nền nhạt + chữ đậm: mẫu nào màu thương hiệu sáng vẫn đọc được. */
:where(input, textarea) { caret-color: var(--sfc-brand); }
:where(input, textarea)::selection { background: rgba(var(--sfc-brand-rgb), .22); color: var(--sfc-brand-dark); }

/* ---------- Popup đăng nhập ---------- */
.sfc-scrim {
  position: fixed; inset: 0; z-index: 2100;
  background: rgba(24, 16, 10, .55);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  opacity: 0; transition: opacity .25s ease;
}
.sfc-modal {
  position: fixed; left: 50%; top: 50%; z-index: 2101;
  width: min(860px, 94vw); max-height: 94vh; overflow: auto;
  display: grid; grid-template-columns: 1fr 1.05fr;
  background: #fff; border-radius: var(--sfc-radius);
  box-shadow: 0 40px 90px -20px rgba(24, 16, 10, .55);
  font-family: var(--sfc-font); color: var(--sfc-ink); text-align: left;
  opacity: 0; transform: translate(-50%, calc(-50% + 18px)) scale(.98);
  transition: opacity .25s ease, transform .3s cubic-bezier(.2, .8, .2, 1);
}
.sfc-scrim[hidden], .sfc-modal[hidden] { display: none !important; }
.sfc-open .sfc-scrim { opacity: 1; }
.sfc-open .sfc-modal { opacity: 1; transform: translate(-50%, -50%); }
html.sfc-lock, html.sfc-lock body { overflow: hidden; }

.sfc-modal *, .sfc-modal *::before, .sfc-modal *::after { box-sizing: border-box; }

.sfc-aside {
  position: relative; min-height: 540px; padding: 40px 34px; color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(160deg, var(--sfc-brand), var(--sfc-brand-dark));
  background-size: cover; background-position: center;
}
.sfc-aside.has-img {
  background-image: linear-gradient(180deg, rgba(24,16,10,.1) 0%, rgba(24,16,10,.85) 70%), var(--sfc-aside-img);
}
.sfc-aside-logo { position: absolute; top: 26px; left: 30px; height: 40px; width: auto; max-width: 60%; object-fit: contain; filter: brightness(0) invert(1); }
.sfc-aside h3 { font-family: var(--sfc-display); font-weight: 400; font-size: 34px; line-height: 1.1; margin: 0 0 10px; color: #fff; }
.sfc-aside p { margin: 0 0 20px; color: rgba(255,255,255,.85); font-size: 14px; line-height: 1.6; }
.sfc-perk { display: flex; gap: 12px; align-items: center; font-size: 13.5px; margin-top: 10px; color: #fff; }
.sfc-perk-ic {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  background: rgba(255,255,255,.18); display: inline-flex; align-items: center; justify-content: center;
}
.sfc-perk-ic svg { width: 16px; height: 16px; }

.sfc-main { position: relative; padding: 38px 38px 30px; }
.sfc-x {
  position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 50%;
  border: 0; background: var(--sfc-soft); color: var(--sfc-ink); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; transition: background .2s;
}
.sfc-x:hover { background: var(--sfc-line); }
.sfc-x svg { width: 16px; height: 16px; }
.sfc-eyebrow { font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--sfc-brand); font-weight: 600; }
.sfc-title { font-family: var(--sfc-display); font-weight: 400; font-size: 30px; line-height: 1.15; color: var(--sfc-brand-dark); margin: 6px 0 4px; }
.sfc-sub { color: var(--sfc-muted); font-size: 13.5px; margin: 0 0 22px; line-height: 1.6; }

.sfc-tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--sfc-soft); border-radius: 999px; padding: 4px; margin-bottom: 22px; }
.sfc-tab {
  border: 0; background: transparent; border-radius: 999px; padding: 9px; text-align: center;
  font-weight: 600; font-size: 13.5px; line-height: normal; font-family: var(--sfc-font); color: var(--sfc-muted); text-decoration: none; cursor: pointer;
}
.sfc-tab:hover { color: var(--sfc-brand-dark); }
.sfc-tab.is-on { background: #fff; color: var(--sfc-brand-dark); box-shadow: 0 4px 12px -4px rgba(24,16,10,.25); }

.sfc-err {
  display: flex; gap: 8px; align-items: flex-start; background: #fdf1ef; color: #a4332a;
  border-radius: 12px; padding: 10px 12px; font-size: 13px; line-height: 1.5; margin-bottom: 14px;
  animation: sfc-shake .35s ease;
}
.sfc-err[hidden] { display: none; }
.sfc-err svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; }
@keyframes sfc-shake { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }

.sfc-field { position: relative; margin-bottom: 14px; }
.sfc-field label { display: block; font-size: 12.5px; font-weight: 600; color: var(--sfc-ink); margin-bottom: 6px; }
.sfc-field-box { position: relative; }
.sfc-field-ic { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--sfc-brand); pointer-events: none; display: inline-flex; }
.sfc-field-ic svg { width: 17px; height: 17px; }
.sfc-field input {
  width: 100%; margin: 0; border: 1.5px solid var(--sfc-line); border-radius: 14px;
  padding: 13px 46px 13px 44px; font-weight: 400; font-size: 15px; line-height: normal; font-family: var(--sfc-font); color: var(--sfc-ink); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.sfc-field input::placeholder { color: #b3aaa1; }
.sfc-field input:focus { outline: 0; border-color: var(--sfc-brand); box-shadow: 0 0 0 4px rgba(var(--sfc-brand-rgb), .18); }
.sfc-field input.is-bad { border-color: #d9534f; }
.sfc-eye {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px;
  border: 0; border-radius: 50%; background: transparent; color: var(--sfc-muted); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.sfc-eye:hover { background: var(--sfc-soft); color: var(--sfc-ink); }
.sfc-eye svg { width: 18px; height: 18px; }

.sfc-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; color: var(--sfc-muted); margin: 4px 0 20px; }
.sfc-row label { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; margin: 0; }
.sfc-row input[type=checkbox] { width: 16px; height: 16px; margin: 0; accent-color: var(--sfc-brand-dark); }
.sfc-link { color: var(--sfc-brand-dark); font-weight: 600; text-decoration: none; }
.sfc-link:hover { text-decoration: underline; color: var(--sfc-brand-dark); }

.sfc-btn {
  width: 100%; border: 0; border-radius: 999px; padding: 14px; cursor: pointer;
  background: var(--sfc-brand-dark); color: #fff; font-weight: 600; font-size: 15px; line-height: normal; font-family: var(--sfc-font);
  display: flex; align-items: center; justify-content: center; gap: 10px;
  box-shadow: 0 12px 24px -10px rgba(24,16,10,.6); transition: transform .15s, filter .2s;
}
.sfc-btn:hover { filter: brightness(1.12); }
.sfc-btn:active { transform: scale(.98); }
.sfc-btn[disabled] { opacity: .7; cursor: wait; }
.sfc-btn svg { width: 18px; height: 18px; }
.sfc-spin { width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: sfc-rot .7s linear infinite; }
.sfc-spin[hidden] { display: none; }
@keyframes sfc-rot { to { transform: rotate(360deg); } }

.sfc-or { display: flex; align-items: center; gap: 12px; color: #b3aaa1; font-size: 12px; margin: 20px 0 14px; }
.sfc-or::before, .sfc-or::after { content: ""; flex: 1; height: 1px; background: var(--sfc-line); }
.sfc-ghost {
  width: 100%; border: 1.5px solid var(--sfc-line); border-radius: 999px; padding: 12px; cursor: pointer;
  background: #fff; color: var(--sfc-ink); font-weight: 600; font-size: 13.5px; line-height: normal; font-family: var(--sfc-font);
  display: flex; align-items: center; justify-content: center; gap: 8px; transition: border-color .2s;
}
.sfc-ghost:hover { border-color: var(--sfc-brand-dark); }
.sfc-ghost svg { width: 16px; height: 16px; }
.sfc-foot { text-align: center; font-size: 13px; color: var(--sfc-muted); margin: 18px 0 0; }

.sfc-ok { text-align: center; padding: 30px 0; }
.sfc-ok-ic { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 14px; background: #e9f7ef; color: #1e8e4e; display: flex; align-items: center; justify-content: center; }
.sfc-ok-ic svg { width: 30px; height: 30px; }

@media (max-width: 720px) {
  .sfc-modal {
    top: auto; bottom: 0; width: 100vw; max-height: 92vh; grid-template-columns: 1fr;
    border-radius: 24px 24px 0 0; transform: translate(-50%, 40px);
  }
  .sfc-open .sfc-modal { transform: translate(-50%, 0); }
  .sfc-aside { display: none; }
  .sfc-main { padding: 30px 22px 26px; }
  .sfc-main::before { content: ""; position: absolute; top: 10px; left: 50%; width: 44px; height: 5px; border-radius: 9px; background: var(--sfc-line); transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .sfc-scrim, .sfc-modal, .sfc-err { transition: none; animation: none; }
}

/* ---------- Popup: tab Đăng ký ---------- */
.sfc-pane[hidden] { display: none !important; }
.sfc-pane { animation: sfc-fade .25s ease; }
@keyframes sfc-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.sfc-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.sfc-note { font-size: 12px; color: var(--sfc-muted); line-height: 1.55; margin: 2px 0 18px; }
.sfc-pwbar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-top: 8px; }
.sfc-pwbar i { height: 4px; border-radius: 4px; background: var(--sfc-line); transition: background .25s; }
.sfc-pwbar[data-muc="1"] i:nth-child(1) { background: #e0694f; }
.sfc-pwbar[data-muc="2"] i:nth-child(-n+2) { background: #e8a93b; }
.sfc-pwbar[data-muc="3"] i { background: #2f9e6b; }
@media (max-width: 480px) { .sfc-grid2 { grid-template-columns: 1fr; } }

/* ---------- 14/09: popup 1 cột (bỏ ảnh bên cạnh) + màn Quên mật khẩu ---------- */
.sfc-modal { width: min(460px, 94vw); grid-template-columns: 1fr; }
.sfc-aside { display: none; }
.sfc-main { padding: 34px 32px 28px; }
.sfc-grid2 { grid-template-columns: 1fr; }            /* ô SĐT & email mỗi ô 1 hàng, hiện đủ chữ */
.sfc-tabs[hidden] { display: none !important; }
.sfc-form[hidden], .sfc-ok[hidden] { display: none !important; }
.sfc-ok { padding: 8px 0 4px; }
.sfc-ok-h { font-family: var(--sfc-display); font-size: 22px; color: var(--sfc-brand-dark); margin: 0 0 6px; }
.sfc-ok-p { color: var(--sfc-muted); font-size: 13.5px; line-height: 1.6; margin: 0 0 10px; }
.sfc-ok-p2 { color: var(--sfc-muted); font-size: 12.5px; margin: 0; }
.sfc-back { display: inline-flex; align-items: center; gap: 6px; }
.sfc-back svg { width: 16px; height: 16px; }
@media (max-width: 720px) { .sfc-modal { width: 100vw; } .sfc-main { padding: 30px 22px 26px; } }

/* =============================================================
   TRANG GIỎ HÀNG (bản chung) — 14/09/2026
   Mẫu có thể chỉnh: --sfc-top (khoảng trên, mẫu có header cố định thì tăng),
   --sfc-accent (màu giá & nút Mua hàng), --sfc-page-bg (nền phần giữa).
   ============================================================= */
:where(:root) { --sfc-top: 28px; --sfc-accent: #d0312d; --sfc-page-bg: #f4f4f4; }
.sfc-cart-page { background: var(--sfc-page-bg); padding: var(--sfc-top) 0 56px; font-family: var(--sfc-font); color: var(--sfc-ink); }
.sfc-cart-page *, .sfc-cart-page *::before, .sfc-cart-page *::after { box-sizing: border-box; }
.sfc-wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.sfc-cart-h1 { font-family: var(--sfc-font); font-size: 22px; font-weight: 500; color: var(--sfc-ink); margin: 0 0 16px; letter-spacing: 0; line-height: 1.3; }
.sfc-cart-count { color: var(--sfc-muted); font-size: 16px; }
.sfc-cart-grid { display: grid; grid-template-columns: minmax(0, 1fr) 316px; gap: 14px; align-items: start; }
.sfc-card { background: #fff; border-radius: 6px; }

/* cột: ô chọn | sản phẩm | đơn giá | số lượng | thành tiền | xoá */
.sfc-cart-head, .sfc-crow { display: grid; grid-template-columns: 28px minmax(0, 1fr) 120px 118px 110px 32px; align-items: center; gap: 10px; }
.sfc-cart-head { padding: 12px 14px; margin-bottom: 12px; font-size: 13.5px; font-weight: 600; color: var(--sfc-ink); }
.sfc-cart-head.is-off { opacity: .55; pointer-events: none; }
.sfc-c-dg, .sfc-c-sl, .sfc-c-tt { text-align: center; }
.sfc-cart-head .sfc-c-sp { padding-left: 4px; }

.sfc-ck { position: relative; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; margin: 0; }
.sfc-ck input { position: absolute; opacity: 0; width: 18px; height: 18px; margin: 0; cursor: pointer; }
.sfc-ck span { width: 18px; height: 18px; border: 1.5px solid #cfcfcf; border-radius: 3px; background: #fff; display: inline-block; transition: all .15s; position: relative; }
.sfc-ck input:checked + span { background: var(--sfc-accent); border-color: var(--sfc-accent); }
.sfc-ck input:checked + span::after { content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.sfc-ck input:indeterminate + span { background: var(--sfc-accent); border-color: var(--sfc-accent); }
.sfc-ck input:indeterminate + span::after { content: ""; position: absolute; left: 3px; right: 3px; top: 7px; height: 2px; background: #fff; }
.sfc-ck input:focus-visible + span { box-shadow: 0 0 0 3px rgba(0,0,0,.12); }
.sfc-ck em { font-style: normal; font-size: 13.5px; }

.sfc-trash { width: 32px; height: 32px; border: 0; background: transparent; border-radius: 6px; color: #8a8a8a; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.sfc-trash svg { width: 19px; height: 19px; }
.sfc-trash:hover:not(:disabled) { color: var(--sfc-accent); background: #fdf0ef; }
.sfc-trash:disabled { opacity: .35; cursor: default; }

.sfc-cart-list { padding: 0 14px; }
.sfc-cart-list[hidden], .sfc-cart-empty[hidden], .sfc-cart-bar[hidden] { display: none !important; }
.sfc-crow { padding: 16px 0; border-bottom: 1px solid #f0f0f0; font-size: 14px; }
.sfc-crow:last-child { border-bottom: 0; }
.sfc-crow.is-bo .sfc-prod img, .sfc-crow.is-bo .sfc-prod-if, .sfc-crow.is-bo .sfc-c-tt { opacity: .6; }
.sfc-prod { display: flex; gap: 12px; align-items: center; min-width: 0; }
.sfc-prod img { width: 72px; height: 72px; object-fit: cover; border-radius: 4px; border: 1px solid #efefef; flex-shrink: 0; background: #fafafa; }
.sfc-prod-if { min-width: 0; }
.sfc-prod-n { font-weight: 500; color: var(--sfc-ink); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sfc-prod-v { font-size: 12.5px; color: var(--sfc-muted); margin-top: 3px; }
.sfc-prod-m { display: none; color: var(--sfc-accent); font-weight: 600; margin-top: 4px; }
.sfc-crow .sfc-c-dg { color: var(--sfc-ink); }
.sfc-crow .sfc-c-tt { color: var(--sfc-accent); font-weight: 600; }

.sfc-qty { display: inline-flex; border: 1px solid #dcdcdc; border-radius: 4px; overflow: hidden; background: #fff; }
.sfc-qty button { width: 30px; height: 32px; border: 0; background: #fff; font-size: 17px; color: var(--sfc-ink); cursor: pointer; padding: 0; line-height: 1; }
.sfc-qty button:hover { background: #f5f5f5; }
.sfc-qty input { width: 44px; height: 32px; border: 0; border-left: 1px solid #dcdcdc; border-right: 1px solid #dcdcdc; text-align: center; font-weight: 500; font-size: 14px; line-height: normal; font-family: var(--sfc-font); color: var(--sfc-ink); padding: 0; margin: 0; background: #fff; border-radius: 0; }
.sfc-qty input:focus { outline: 0; background: #fffaf0; }

.sfc-cart-empty { padding: 44px 20px 40px; text-align: center; }
.sfc-empty-art { display: block; width: 210px; height: auto; color: #8b8b8b; margin: 0 auto 8px; }
.sfc-empty-h { margin-top: 4px; font-size: 18px; font-weight: 600; color: #5d6470; margin-bottom: 20px; }
.sfc-empty-p { font-size: 13.5px; color: #8e8e8e; margin: 0 0 20px; }

.sfc-btn-red {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--sfc-accent); color: #fff !important; border: 0; border-radius: 6px;
  padding: 11px 22px; font-weight: 600; font-size: 14px; line-height: normal; font-family: var(--sfc-font); text-decoration: none !important; cursor: pointer; transition: filter .2s;
}
.sfc-btn-red:hover { filter: brightness(1.08); }
.sfc-btn-red.is-off { background: #c9c9c9; cursor: not-allowed; filter: none; }

.sfc-cart-right { position: sticky; top: calc(var(--sfc-dinh, var(--sfc-top)) + 12px); }   /* 16/09: --sfc-dinh do _thanh-tren tự đo (chiều cao thanh đầu trang bám đỉnh) */
.sfc-sum { padding: 6px 16px 16px; }
.sfc-sum-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 13px 0; font-size: 14px; color: var(--sfc-ink); }
.sfc-sum-row + .sfc-sum-row, .sfc-ship + .sfc-sum-row { border-top: 1px solid #f0f0f0; }
.sfc-sum-row b { font-weight: 500; }
.sfc-sum-sub { padding-top: 0; font-size: 12.5px; color: var(--sfc-muted); border-top: 0 !important; }
.sfc-sum-sub[hidden], .sfc-ship[hidden], .sfc-sum-warn[hidden] { display: none; }
.sfc-sum-total b { color: var(--sfc-accent); font-size: 20px; font-weight: 600; }
.sfc-ship { padding: 4px 0 12px; font-size: 12.5px; color: var(--sfc-muted); }
.sfc-ship-bar { height: 5px; background: #f0f0f0; border-radius: 9px; margin-top: 7px; overflow: hidden; }
.sfc-ship-bar i { display: block; height: 100%; width: 0; background: #2f9e6b; border-radius: 9px; transition: width .35s; }
.sfc-sum-warn { font-size: 12.5px; color: #b3261e; background: #fdecea; border-radius: 6px; padding: 8px 10px; margin-bottom: 10px; }
.sfc-buy { width: 100%; padding: 12px; }
.sfc-more { display: block; text-align: center; font-size: 13px; color: var(--sfc-muted); margin-top: 12px; text-decoration: none; }
.sfc-more:hover { color: var(--sfc-accent); }

.sfc-cart-bar { display: none; }

@media (max-width: 860px) {
  .sfc-cart-grid { grid-template-columns: 1fr; }
  .sfc-cart-right { position: static; }
  .sfc-buy { display: none; }
}
@media (max-width: 640px) {
  .sfc-cart-page { padding-bottom: 96px; }
  .sfc-cart-h1 { font-size: 19px; }
  .sfc-cart-head { display: none; }
  .sfc-cart-list { padding: 0 12px; }
  .sfc-crow { grid-template-columns: 24px minmax(0, 1fr) 30px; grid-template-areas: "ck sp x" "ck sl sl"; row-gap: 8px; padding: 14px 0; }
  .sfc-crow > .sfc-ck { grid-area: ck; align-self: start; margin-top: 26px; }
  .sfc-crow > .sfc-c-sp { grid-area: sp; }
  .sfc-crow > .sfc-trash { grid-area: x; align-self: start; }
  .sfc-crow > .sfc-c-sl { grid-area: sl; text-align: left; padding-left: 84px; }
  .sfc-crow > .sfc-c-dg, .sfc-crow > .sfc-c-tt { display: none; }
  .sfc-prod-m { display: block; }
  .sfc-cart-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; align-items: center; gap: 10px;
    background: #fff; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -4px 16px rgba(0,0,0,.08);
  }
  .sfc-bar-sum { margin-left: auto; text-align: right; line-height: 1.2; }
  .sfc-bar-sum small { display: block; font-size: 11.5px; color: var(--sfc-muted); }
  .sfc-bar-sum b { color: var(--sfc-accent); font-size: 17px; font-weight: 600; }
  .sfc-cart-bar .sfc-btn-red { padding: 12px 16px; white-space: nowrap; }
}

/* =============================================================
   TRANG XÁC NHẬN ĐƠN HÀNG (bản chung) — 14/09/2026
   Dùng lại khung .sfc-cart-page / .sfc-cart-grid / .sfc-card / .sfc-sum-row / .sfc-btn-red của trang giỏ.
   ============================================================= */
.sfc-ck-page .sfc-cart-grid { grid-template-columns: minmax(0, 1fr) 336px; }
.sfc-ck-left, .sfc-ck-right { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.sfc-ck-right { position: sticky; top: calc(var(--sfc-dinh, var(--sfc-top)) + 12px); }
.sfc-ck-box { padding: 16px 16px 18px; }
.sfc-ck-h { font-family: var(--sfc-font); font-size: 16px; font-weight: 600; color: var(--sfc-ink); margin: 0 0 14px; letter-spacing: 0; line-height: 1.35; text-transform: none; }
.sfc-ck-err { background: #fdecea; color: #b3261e; border-radius: 6px; padding: 11px 14px; font-size: 13.5px; line-height: 1.6; }
.sfc-ck-err[hidden] { display: none; }
.sfc-ck-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; margin-bottom: 20px; }

/* ô nhập nhãn nổi (giống mẫu: nhãn nhỏ nằm trên viền) */
.sfc-fl { position: relative; display: block; margin: 0; }
.sfc-ck-box > .sfc-fl + .sfc-fl, .sfc-ck-addr > .sfc-fl { margin-top: 0; }
/* Nhãn nổi kiểu "cắt viền": chưa nhập thì nhãn nằm giữa ô; bấm vào / đã có chữ thì nhãn trượt lên NẰM TRÊN VIỀN,
   nền nhãn che viền. --sfc-fl-out = màu nền phía trên ô (khối xám địa chỉ đặt lại) để nửa trên nhãn không lộ ô trắng. */
.sfc-fl { --sfc-fl-out: #fff; }
.sfc-fl input, .sfc-fl select {
  width: 100%; height: 50px; margin: 0; border: 1px solid #e3e3e3; border-radius: 10px; background: #fff;
  padding: 0 14px; font-weight: 400; font-size: 15px; line-height: normal; font-family: var(--sfc-font); color: var(--sfc-ink); outline: 0; box-shadow: none;
  -webkit-appearance: none; appearance: none; transition: border-color .18s, box-shadow .18s;
}
.sfc-fl input:hover, .sfc-fl select:hover { border-color: #cfcfcf; }
.sfc-fl input:focus, .sfc-fl select:focus { border-color: var(--sfc-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sfc-accent) 12%, transparent); }
.sfc-fl span {
  position: absolute; left: 11px; top: 25px; transform: translateY(-50%); padding: 0 4px; line-height: 1.2;
  font-size: 15px; color: #9a9a9a; pointer-events: none; white-space: nowrap; max-width: calc(100% - 40px); overflow: hidden; text-overflow: ellipsis;
  background: transparent;
  transition: top .18s ease, font-size .18s ease, color .18s ease;
}
.sfc-fl span i { color: #e5484d; font-style: normal; }
.sfc-fl input:focus + span, .sfc-fl input:not(:placeholder-shown) + span,
.sfc-fl select:focus + span, .sfc-fl select.has + span { top: 0; font-size: 13px; color: #8a8a8a; }
.sfc-fl input:focus + span, .sfc-fl select:focus + span { color: var(--sfc-accent); }
.sfc-ck-addr .sfc-fl { --sfc-fl-out: #f7f7f7; }
.sfc-fl.is-bad span { color: #d9534f; }
.sfc-fl-sel select { padding-right: 34px; background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round'%3e%3cpath d='M6 9l6 6 6-6'/%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 10px center; background-size: 18px; cursor: pointer; }
.sfc-fl.is-bad input, .sfc-fl.is-bad select { border-color: #d9534f; }
.sfc-ck-box > .sfc-fl { margin-top: 0; }

.sfc-ck-addr { background: #f7f7f7; border-radius: 10px; padding: 20px 14px 14px; margin-top: 14px; }
.sfc-ck-addr[hidden] { display: none !important; }
.sfc-ck-addr .sfc-ck-2 { margin-bottom: 20px; }

/* lựa chọn (nhận hàng / thanh toán) */
.sfc-ck-ship { display: grid; gap: 8px; }
/* 15/09/2026: "Chọn hình thức nhận hàng" — 2 nút Nhận tại cửa hàng / Giao hàng tận nơi; giao tận nơi: địa chỉ trước, đơn vị vận chuyển sau */
.sfc-ck-mhd { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 14px; }
.sfc-ck-mhd .sfc-ck-h { margin: 0; }
.sfc-ck-mode { display: flex; gap: 8px; }
.sfc-ck-mode button { margin: 0; padding: 8px 16px; border: 1px solid #dcdcdc; border-radius: 99px; background: #f3f4f6; font-family: var(--sfc-font); font-size: 14px;
  font-weight: 500; line-height: 1.2; letter-spacing: 0; text-transform: none; color: var(--sfc-ink); cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.sfc-ck-mode button:hover { border-color: #c4c4c4; }
.sfc-ck-mode button.is-on { border-color: var(--sfc-accent); background: color-mix(in srgb, var(--sfc-accent) 8%, #fff); color: var(--sfc-accent); font-weight: 600; }
#ckShipBlk[hidden], #ckStoreBlk[hidden], .sfc-ck-lock[hidden] { display: none !important; }
#ckShipBlk > .sfc-ck-addr { margin-top: 0; }
.sfc-ck-sub { margin: 16px 0 8px; font-family: var(--sfc-font); font-size: 14px; font-weight: 600; color: var(--sfc-ink); }
#ckStoreBlk > .sfc-ck-sub { margin-top: 0; }
.sfc-ck-lock { margin: 0 0 8px; padding: 9px 12px; border-radius: 8px; background: #f5f5f5; font-size: 13px; line-height: 1.45; color: var(--sfc-muted); }
.sfc-ck-lock.is-nhac { animation: sfc-ck-nhac .45s; background: color-mix(in srgb, var(--sfc-accent) 8%, #fff); color: var(--sfc-accent); }
@keyframes sfc-ck-nhac { 20%, 60% { transform: translateX(-4px); } 40%, 80% { transform: translateX(4px); } }
.sfc-ck-ship.is-lock .sfc-ck-opt { opacity: .5; cursor: not-allowed; }
.sfc-ck-ship.is-lock .sfc-ck-opt:hover { border-color: #ececec; }
@media (max-width: 640px) { .sfc-ck-mode { width: 100%; } .sfc-ck-mode button { flex: 1; padding: 9px 8px; } }
.sfc-ck-opt { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border: 1px solid #ececec; border-radius: 6px; cursor: pointer; margin: 0; transition: border-color .15s, background .15s; }
.sfc-ck-opt + .sfc-ck-opt { margin-top: 0; }
#ckPayList .sfc-ck-opt { border: 0; padding: 9px 4px; }
.sfc-ck-opt:hover { border-color: #d6d6d6; }
/* 16/09/2026: "Nơi nhận hàng" = chi nhánh của web này, chỉ hiển thị nên không có chấm chọn. */
.sfc-ck-opt.is-tinh { cursor: default; }
.sfc-ck-opt.is-tinh:hover { border-color: var(--sfc-accent); }
.sfc-ck-opt.is-on { border-color: var(--sfc-accent); background: color-mix(in srgb, var(--sfc-accent) 5%, #fff); }
#ckPayList .sfc-ck-opt.is-on { background: transparent; }
.sfc-ck-opt input { position: absolute; opacity: 0; pointer-events: none; }
.sfc-ck-opt .rd { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #c9c9c9; flex-shrink: 0; position: relative; }
.sfc-ck-opt.is-on .rd { border-color: var(--sfc-accent); }
.sfc-ck-opt.is-on .rd::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--sfc-accent); }
.sfc-ck-opt .ic { font-size: 20px; line-height: 1; }
.sfc-ck-opt .tx { min-width: 0; font-size: 14px; }
.sfc-ck-opt .tx b { display: block; font-weight: 500; color: var(--sfc-ink); }
.sfc-ck-opt .tx small { display: block; font-size: 12px; color: var(--sfc-muted); margin-top: 1px; }
.sfc-ck-opt .fee { margin-left: auto; font-size: 13.5px; font-weight: 600; color: var(--sfc-accent); white-space: nowrap; text-align: right; }
.sfc-ck-opt .fee s { display: block; font-size: 11.5px; font-weight: 400; color: #9a9a9a; }
.sfc-ck-bank { margin: 4px 0 8px 34px; padding: 12px 14px; border-radius: 6px; background: #f7f7f7; font-size: 13px; }
.sfc-ck-bank .h { font-weight: 600; margin-bottom: 6px; }
.sfc-ck-bank div:not(.h) { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.sfc-ck-bank span { color: var(--sfc-muted); }
.sfc-ck-bank b { font-weight: 600; text-align: right; word-break: break-all; }
.sfc-ck-bank.is-bad { color: #b3261e; }

/* bảng sản phẩm */
.sfc-ck-prod { padding-bottom: 6px; }
.sfc-ck-thead, .sfc-ck-row { display: grid; grid-template-columns: minmax(0, 1fr) 110px 90px 110px; gap: 10px; align-items: center; }
.sfc-ck-thead { margin: 0 -16px; padding: 11px 16px; background: #f7f7f7; font-size: 14px; font-weight: 600; color: var(--sfc-ink); }
.sfc-ck-thead span:not(:first-child), .sfc-ck-row .c { text-align: center; }
.sfc-ck-row { padding: 14px 0; border-bottom: 1px solid #f1f1f1; font-size: 14px; }
.sfc-ck-row:last-child { border-bottom: 0; }
.sfc-ck-row .tt { color: var(--sfc-accent); font-weight: 600; }
.sfc-ck-sp { display: flex; gap: 12px; align-items: flex-start; min-width: 0; }
.sfc-ck-sp img { width: 56px; height: 56px; object-fit: cover; border-radius: 4px; border: 1px solid #efefef; flex-shrink: 0; }
.sfc-ck-sp .if { min-width: 0; flex: 1; }
.sfc-ck-sp .n { line-height: 1.4; color: var(--sfc-ink); }
.sfc-ck-sp .vl { font-size: 12.5px; color: var(--sfc-muted); margin-top: 2px; }
.sfc-ck-sp .m { display: none; font-size: 13px; color: var(--sfc-muted); margin-top: 2px; }
.sfc-ck-gc { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; border: 0; background: none; padding: 0; color: var(--sfc-accent); font-weight: 400; font-size: 13.5px; line-height: normal; font-family: var(--sfc-font); cursor: pointer; text-align: left; }
.sfc-ck-gc svg { width: 15px; height: 15px; flex-shrink: 0; }
.sfc-ck-gc.has { color: var(--sfc-muted); font-style: italic; }
.sfc-ck-gc[hidden], .sfc-ck-gc-in[hidden] { display: none; }
.sfc-ck-gc-in { width: 100%; margin-top: 6px; height: 34px; border: 1px solid #e3e3e3; border-radius: 6px; padding: 0 10px; font-weight: 400; font-size: 13.5px; line-height: normal; font-family: var(--sfc-font); outline: 0; }
.sfc-ck-gc-in:focus { border-color: var(--sfc-accent); }

/* cột phải */
.sfc-ck-note { width: 100%; min-height: 96px; margin: 0; border: 1px solid #dcdcdc; border-radius: 4px; padding: 10px 12px; font-weight: 400; font-size: 14px; line-height: normal; font-family: var(--sfc-font); color: var(--sfc-ink); resize: vertical; outline: 0; }
.sfc-ck-note:focus { border-color: var(--sfc-accent); }
.sfc-ck-count { text-align: right; font-size: 12px; color: #8a8a8a; margin-top: 4px; }
.sfc-ck-uu { overflow: hidden; }
.sfc-ck-uu-btn { width: 100%; display: flex; align-items: center; gap: 10px; border: 0; background: #fff; padding: 14px 16px; font-weight: 400; font-size: 14px; line-height: normal; font-family: var(--sfc-font); color: var(--sfc-ink); cursor: pointer; text-align: left; }
.sfc-ck-uu-btn:disabled { cursor: default; }
.sfc-ck-uu-btn > svg:first-child { width: 22px; height: 22px; color: var(--sfc-accent); flex-shrink: 0; }
.sfc-ck-uu-btn em { margin-left: auto; font-style: normal; color: var(--sfc-muted); font-size: 13.5px; }
.sfc-ck-uu-btn .ar { width: 16px; height: 16px; color: var(--sfc-muted); transition: transform .2s; }
.sfc-ck-uu-btn.is-open .ar { transform: rotate(90deg); }
.sfc-ck-uu-list { border-top: 1px solid #f1f1f1; padding: 6px 16px 12px; }
.sfc-ck-uu-list[hidden] { display: none; }
.sfc-ck-uu-it { display: flex; gap: 10px; padding: 8px 0; font-size: 13px; }
.sfc-ck-uu-it + .sfc-ck-uu-it { border-top: 1px dashed #ececec; }
.sfc-ck-uu-it > b { flex-shrink: 0; align-self: flex-start; background: color-mix(in srgb, var(--sfc-accent) 10%, #fff); color: var(--sfc-accent); border-radius: 4px; padding: 2px 6px; font-size: 12px; }
.sfc-ck-uu-it .t { font-weight: 500; color: var(--sfc-ink); }
.sfc-ck-uu-it .s, .sfc-ck-uu-it .k { color: var(--sfc-muted); font-size: 12.5px; margin-top: 2px; }
.sfc-ck-uu-it code { background: #f4f4f4; padding: 1px 5px; border-radius: 3px; color: var(--sfc-ink); }
.sfc-ck-right .sfc-sum-row:first-of-type { padding-top: 2px; }
.sfc-ck-go { margin-top: 6px; }
.sfc-ck-hint { font-size: 12.5px; color: var(--sfc-muted); margin: 10px 0 0; line-height: 1.5; }
.sfc-ck-dk { align-items: flex-start; padding: 0 2px; }
.sfc-ck-dk span { margin-top: 2px; flex-shrink: 0; }
.sfc-ck-dk em { font-size: 13.5px; color: var(--sfc-ink); line-height: 1.5; }
.sfc-ck-bar { display: none; }

@media (max-width: 860px) {
  .sfc-ck-page .sfc-cart-grid { grid-template-columns: 1fr; }
  .sfc-ck-right { position: static; }
  .sfc-ck-go { display: none; }
}
@media (max-width: 640px) {
  .sfc-ck-2 { grid-template-columns: 1fr; }
  .sfc-ck-thead { display: none; }
  .sfc-ck-row { grid-template-columns: minmax(0, 1fr) auto; }
  .sfc-ck-row .c:not(.tt) { display: none; }
  .sfc-ck-sp .m { display: block; }
  .sfc-ck-page .sfc-ck-bar { display: flex; }
}

/* ---------- Ô chọn "Tỉnh - Phường" + popup tìm kiếm (thay 2 ô xổ xuống) ---------- */
.sfc-fl-pick {
  width: 100%; height: 50px; margin: 0; border: 1px solid #e3e3e3; border-radius: 10px; background: #fff;
  padding: 0 40px 0 14px; text-align: left; cursor: pointer; box-shadow: none;
  font-weight: 400; font-size: 15px; line-height: normal; font-family: var(--sfc-font); color: var(--sfc-ink); text-transform: none; letter-spacing: normal; line-height: normal; min-height: 0;
  transition: border-color .18s, box-shadow .18s;
}
.sfc-fl-pick:hover { border-color: #cfcfcf; }
.sfc-fl-pick:focus-visible, .sfc-fl-pick.is-open { outline: 0; border-color: var(--sfc-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sfc-accent) 12%, transparent); }
.sfc-fl-pick b { display: block; font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sfc-fl-pick > svg { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: #555; transition: transform .2s; }
.sfc-fl-pick.is-open > svg { transform: translateY(-50%) rotate(180deg); }
.sfc-fl-pick.has span, .sfc-fl-pick.is-open span { top: 0; font-size: 13px; color: #8a8a8a; }
.sfc-fl-pick.is-open span { color: var(--sfc-accent); }
.sfc-fl-pick.is-bad { border-color: #d9534f; }
.sfc-ck-addr > .sfc-fl + .sfc-fl { margin-top: 20px; }

.sfc-pick-scrim { position: fixed; inset: 0; z-index: 2100; background: rgba(20, 20, 20, .5); animation: sfc-pick-fade .2s ease; }
.sfc-pick {
  position: fixed; left: 50%; top: 50%; z-index: 2101; transform: translate(-50%, -50%);
  width: min(640px, calc(100vw - 32px)); height: min(740px, calc(100vh - 48px));
  display: flex; flex-direction: column; box-sizing: border-box; padding: 28px 24px 14px;
  background: #fff; border-radius: 20px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .45);
  font-family: var(--sfc-font); color: var(--sfc-ink); text-align: left; animation: sfc-pick-in .22s ease;
}
.sfc-pick *, .sfc-pick *::before, .sfc-pick *::after { box-sizing: border-box; }
.sfc-pick[hidden], .sfc-pick-scrim[hidden] { display: none !important; }
.sfc-pick-hd { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; padding: 0 2px; }
.sfc-pick-h { flex: 1; margin: 0; font-weight: 600; font-size: 22px; line-height: 1.3; font-family: var(--sfc-font); color: var(--sfc-ink); letter-spacing: 0; text-transform: none; }
.sfc-pick-x { width: 36px; height: 36px; flex-shrink: 0; border: 0; border-radius: 50%; background: #f3f3f3; color: #444; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.sfc-pick-x:hover { background: #e8e8e8; }
.sfc-pick-x svg { width: 16px; height: 16px; }
.sfc-pick-search { display: flex; align-items: center; gap: 12px; height: 54px; margin: 0 0 8px; padding: 0 18px; border-radius: 12px; background: #f3f3f3; border: 1.5px solid transparent; cursor: text; transition: border-color .15s, background .15s; }
.sfc-pick-search:focus-within { background: #fff; border-color: var(--sfc-accent); }
.sfc-pick-search svg { width: 22px; height: 22px; flex-shrink: 0; color: #333; }
.sfc-pick-search input { flex: 1; min-width: 0; height: 100%; margin: 0; padding: 0; border: 0; background: transparent; outline: 0; box-shadow: none; font-weight: 400; font-size: 17px; line-height: normal; font-family: var(--sfc-font); color: var(--sfc-ink); -webkit-appearance: none; appearance: none; }
.sfc-pick-search input::placeholder { color: #a3a3a3; }
.sfc-pick-search input::-webkit-search-cancel-button { cursor: pointer; }
.sfc-pick-list { flex: 1; overflow-y: auto; overscroll-behavior: contain; margin: 0 -10px; padding: 4px 10px; }
.sfc-pick-it {
  display: flex; align-items: center; gap: 10px; width: 100%; margin: 0; padding: 15px 18px; border: 0; border-radius: 10px;
  background: none; text-align: left; cursor: pointer; font-weight: 400; font-size: 16px; line-height: 1.35; font-family: var(--sfc-font); color: var(--sfc-ink); text-transform: none; letter-spacing: normal;
}
.sfc-pick-it:hover, .sfc-pick-it.is-hl { background: #f5f5f5; }
.sfc-pick-it.is-on { color: var(--sfc-accent); font-weight: 600; }
.sfc-pick-it.is-on::after {
  content: ""; margin-left: auto; width: 18px; height: 18px; flex-shrink: 0; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M5 12.5l4.5 4.5L19 7.5'/%3e%3c/svg%3e") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M5 12.5l4.5 4.5L19 7.5'/%3e%3c/svg%3e") center / contain no-repeat;
}
.sfc-pick-none { padding: 48px 16px; text-align: center; color: var(--sfc-muted); font-size: 15px; }
@keyframes sfc-pick-fade { from { opacity: 0; } }
@keyframes sfc-pick-in { from { opacity: 0; transform: translate(-50%, calc(-50% + 14px)) scale(.985); } }
@keyframes sfc-pick-up { from { transform: translateY(100%); } }
@media (max-width: 640px) {
  .sfc-pick { left: 0; right: 0; top: auto; bottom: 0; transform: none; width: 100%; height: 88vh; height: 88dvh; border-radius: 20px 20px 0 0; padding: 20px 14px 8px; animation: sfc-pick-up .26s cubic-bezier(.2, .8, .2, 1); }
  .sfc-pick-h { font-size: 18px; }
  .sfc-pick-it { padding: 14px 12px; font-size: 15.5px; }
}
.sfc-pick-hd .tt { flex: 1; min-width: 0; }
.sfc-pick-sub { display: inline-flex; align-items: center; gap: 8px; margin: 4px 0 0; padding: 0; border: 0; background: none; cursor: pointer; font-weight: 400; font-size: 14px; line-height: normal; font-family: var(--sfc-font); color: var(--sfc-muted); text-transform: none; letter-spacing: normal; }
.sfc-pick-sub[hidden] { display: none; }
.sfc-pick-sub b { font-weight: 500; color: var(--sfc-accent); }
.sfc-pick-sub:hover b { text-decoration: underline; }

/* nền che viền chỉ bật khi nhãn đã NỔI lên viền (nhãn nằm giữa ô trống thì trong suốt — tránh dải xám trên khối địa chỉ) */
.sfc-fl input:focus + span, .sfc-fl input:not(:placeholder-shown) + span,
.sfc-fl select:focus + span, .sfc-fl select.has + span,
.sfc-fl-pick.has span, .sfc-fl-pick.is-open span { background: linear-gradient(to bottom, var(--sfc-fl-out) 50%, #fff 50%); }

/* ---------- Popup dùng chung trang thanh toán: ghi chú món + ưu đãi (14/09/2026) ---------- */
.sfc-ck-uu-btn.has em { color: var(--sfc-accent); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 62%; }
.sfc-dlg {
  position: fixed; left: 50%; top: 50%; z-index: 2101; transform: translate(-50%, -50%);
  width: min(540px, calc(100vw - 32px)); max-height: calc(100vh - 48px);
  display: flex; flex-direction: column; box-sizing: border-box; padding: 26px 24px 20px;
  background: #fff; border-radius: 20px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .45);
  font-family: var(--sfc-font); color: var(--sfc-ink); text-align: left; animation: sfc-pick-in .22s ease;
}
.sfc-dlg *, .sfc-dlg *::before, .sfc-dlg *::after { box-sizing: border-box; }
.sfc-dlg[hidden] { display: none !important; }
.sfc-dlg .sfc-pick-hd { margin-bottom: 16px; }
.sfc-dlg-bd { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; margin: 0 -24px; padding: 2px 24px 4px; }
.sfc-dlg-ft { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 16px; }
.sfc-dlg-ft .sfc-btn-red { width: auto; margin: 0; padding: 11px 22px; font-size: 14.5px; }
.sfc-dlg-sec { border: 1px solid #e0e0e0; background: #fff; border-radius: 6px; padding: 10px 18px; margin: 0; font-weight: 500; font-size: 14.5px; line-height: normal; font-family: var(--sfc-font); color: var(--sfc-ink); cursor: pointer; text-transform: none; letter-spacing: normal; }
.sfc-dlg-sec:hover { border-color: #cdcdcd; background: #fafafa; }
.sfc-dlg-sec[hidden] { display: none; }
.sfc-dlg-xoa { margin-right: auto; border-color: transparent; color: #c0392b; padding-left: 4px; padding-right: 4px; }
.sfc-dlg-xoa:hover { background: transparent; border-color: transparent; text-decoration: underline; }
.sfc-dlg-note { margin: 14px 0 0; font-size: 13px; line-height: 1.5; color: var(--sfc-muted); text-align: center; }

/* ghi chú món */
.sfc-gc-sp { display: flex; align-items: center; gap: 12px; padding: 12px; margin-bottom: 14px; background: #f7f7f7; border-radius: 12px; }
.sfc-gc-sp img { width: 52px; height: 52px; flex-shrink: 0; object-fit: cover; border-radius: 8px; background: #fff; }
.sfc-gc-sp .n { font-size: 15px; font-weight: 500; line-height: 1.35; }
.sfc-gc-sp .m { font-size: 13px; color: var(--sfc-muted); margin-top: 2px; }
.sfc-dlg-gc textarea {
  width: 100%; min-height: 112px; margin: 0; padding: 12px 14px; border: 1px solid #dcdcdc; border-radius: 10px; background: #fff;
  font-weight: 400; font-size: 15px; line-height: 1.5; font-family: var(--sfc-font); color: var(--sfc-ink); resize: vertical; outline: 0; box-shadow: none; transition: border-color .15s, box-shadow .15s;
}
.sfc-dlg-gc textarea:focus { border-color: var(--sfc-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sfc-accent) 12%, transparent); }

/* thẻ ưu đãi dạng vé */
/* 16/09/2026: ô nhập mã voucher (voucher thật shop phát hành trên POS) */
.sfc-vc-nhap { display: flex; gap: 8px; align-items: stretch; }
.sfc-vc-nhap .sfc-fl { flex: 1; margin: 0; }
.sfc-vc-nhap input { text-transform: uppercase; letter-spacing: .04em; }
.sfc-vc-ap { flex-shrink: 0; min-width: 92px; padding: 0 16px; border: 0; border-radius: 8px; cursor: pointer; font: 600 14px/1 var(--sfc-font), sans-serif; background: var(--sfc-accent); color: #fff; }
.sfc-vc-ap:disabled { opacity: .6; cursor: wait; }
.sfc-vc-kq { margin: 8px 2px 0; font-size: 13px; line-height: 1.45; }
.sfc-vc-kq.is-ok { color: #1b7d4e; }
.sfc-vc-kq.is-loi { color: #c0392b; }
.sfc-vc-h { margin: 16px 2px 8px; font-size: 12.5px; font-weight: 600; color: var(--sfc-muted); text-transform: uppercase; letter-spacing: .04em; }
/* 22/09/2026: thẻ CHƯƠNG TRÌNH KHUYẾN MÃI (POS) trong popup Ưu đãi — trạng thái đạt/chưa đạt theo giỏ */
.sfc-km-card .sfc-uu-stub b { font-size: 12.5px; font-weight: 600; }
.sfc-km-card .sfc-uu-bd .s + .s { margin-top: 1px; }
.sfc-km-tt { color: var(--sfc-muted); }
.sfc-km-tt.is-ok { color: #1b7d4e; font-weight: 600; }
.sfc-uu-card { position: relative; display: flex; align-items: stretch; border: 1px solid #ececec; border-radius: 12px; background: #fff; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.sfc-uu-card + .sfc-uu-card { margin-top: 12px; }
.sfc-uu-card:hover { border-color: #d9d9d9; }
.sfc-uu-card.is-on { border-color: var(--sfc-accent); box-shadow: inset 0 0 0 1px var(--sfc-accent); }
.sfc-uu-stub {
  position: relative; width: 96px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; padding: 14px 10px;
  background: var(--sfc-accent); color: #fff; text-align: center;
}
.sfc-uu-stub::after { content: ""; position: absolute; top: 0; bottom: 0; right: -5px; width: 10px; background: radial-gradient(circle, #fff 3.5px, transparent 4px) 0 4px / 10px 13px repeat-y; }
.sfc-uu-stub b { font-size: 15px; font-weight: 700; line-height: 1.25; }
.sfc-uu-stub svg { width: 30px; height: 30px; }
.sfc-uu-bd { flex: 1; min-width: 0; padding: 12px 12px 12px 18px; }
.sfc-uu-tag { text-transform: none; letter-spacing: normal; display: inline-block; margin-bottom: 4px; padding: 1px 7px; border-radius: 4px; font-size: 11.5px; font-weight: 600; color: var(--sfc-accent); background: color-mix(in srgb, var(--sfc-accent) 10%, #fff); }
.sfc-uu-bd .t { font-size: 15px; font-weight: 600; line-height: 1.35; }
.sfc-uu-bd .s { margin-top: 3px; font-size: 13px; line-height: 1.45; color: var(--sfc-muted); }
.sfc-uu-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-top: 7px; font-size: 12.5px; color: var(--sfc-muted); }
.sfc-uu-meta .code b { color: var(--sfc-ink); letter-spacing: .04em; margin-left: 3px; }
.sfc-uu-meta .code button { margin: 0 0 0 8px; padding: 0; border: 0; background: none; cursor: pointer; font-weight: 500; font-size: 12.5px; line-height: normal; font-family: var(--sfc-font); color: var(--sfc-accent); }
.sfc-uu-pick {
  align-self: center; flex-shrink: 0; margin: 0 14px 0 0; padding: 8px 14px; border: 1px solid var(--sfc-accent); border-radius: 6px;
  background: #fff; color: var(--sfc-accent); font-weight: 600; font-size: 13.5px; line-height: normal; font-family: var(--sfc-font); white-space: nowrap; cursor: pointer; text-transform: none; letter-spacing: normal;
}
.sfc-uu-card.is-on .sfc-uu-pick { background: var(--sfc-accent); color: #fff; }

@media (max-width: 640px) {
  .sfc-dlg { left: 0; right: 0; top: auto; bottom: 0; transform: none; width: 100%; max-height: 90vh; max-height: 90dvh; border-radius: 20px 20px 0 0; padding: 20px 16px calc(16px + env(safe-area-inset-bottom)); animation: sfc-pick-up .26s cubic-bezier(.2, .8, .2, 1); }
  .sfc-dlg-bd { margin: 0 -16px; padding: 2px 16px 4px; }
  .sfc-dlg .sfc-pick-h { font-size: 18px; }
  .sfc-uu-stub { width: 76px; padding: 12px 6px; }
  .sfc-uu-stub b { font-size: 13.5px; }
  .sfc-uu-bd { padding: 10px 10px 10px 14px; }
  .sfc-uu-pick { margin-right: 10px; padding: 7px 11px; }
  .sfc-dlg-ft .sfc-btn-red { flex: 1; }
}

/* =============================================================
   POPUP ĐẶT BÀN dùng chung (storefront/_dat-ban-popup) — 14/09/2026 (bản "xịn", 14:15)
   Ngang 3 bước ① thời gian ② khách & chỗ ngồi ③ liên hệ + vé tóm tắt; ≤1100px 2 cột; ≤760px 1 cột, nút gửi dính đáy.
   Tiền tố .sfc-db-*; màu theo --sfc-brand / --sfc-brand-dark / --sfc-brand-rgb của mẫu. Font viết TÁCH (không shorthand với var(--sfc-font)).
   ============================================================= */
.sfc-db {
  position: fixed; left: 50%; top: 50%; z-index: 2101; width: min(1160px, calc(100vw - 40px)); max-height: calc(100vh - 36px);
  display: flex; flex-direction: column; background: #fff; border-radius: 26px; overflow: hidden;
  box-shadow: 0 50px 110px -30px rgba(24, 16, 10, .6), 0 0 0 1px rgba(255, 255, 255, .6) inset; color: var(--sfc-ink); text-align: left;
  font-family: var(--sfc-font); font-size: 14px; line-height: 1.5;
  opacity: 0; transform: translate(-50%, calc(-50% + 22px)) scale(.975); transition: opacity .28s ease, transform .38s cubic-bezier(.16, 1, .3, 1);
}
.sfc-db[hidden] { display: none !important; }
.sfc-open .sfc-db { opacity: 1; transform: translate(-50%, -50%); }
.sfc-db:has(> .sfc-db-ok:not([hidden])) { width: min(900px, calc(100vw - 40px)); }
.sfc-db *, .sfc-db *::before, .sfc-db *::after { box-sizing: border-box; }
.sfc-db button { font-family: var(--sfc-font); text-transform: none; letter-spacing: normal; margin: 0; }
.sfc-db svg { flex-shrink: 0; }
.sfc-db-form { display: flex; flex-direction: column; min-height: 0; flex: 1; margin: 0; }
.sfc-db-form[hidden], .sfc-db-ok[hidden] { display: none !important; }

/* ---- đầu popup ---- */
.sfc-db-hd {
  position: relative; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; padding: 20px 80px 18px 26px;
  background: radial-gradient(90% 180% at 0% 0%, rgba(var(--sfc-brand-rgb), .20), transparent 60%), linear-gradient(180deg, var(--sfc-soft), #fff);
  border-bottom: 1px solid var(--sfc-line);
}
.sfc-db-hd-ic { width: 54px; height: 54px; border-radius: 16px; display: flex; align-items: center; justify-content: center; color: #fff;
  background: linear-gradient(145deg, var(--sfc-brand), var(--sfc-brand-dark)); box-shadow: 0 12px 24px -10px rgba(var(--sfc-brand-rgb), .9); }
.sfc-db-hd-ic svg { width: 26px; height: 26px; }
.sfc-db-hd-tt { flex: 0 0 auto; }
.sfc-db-eyebrow { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--sfc-brand); font-weight: 700; }
.sfc-db-title { font-family: var(--sfc-display); font-weight: 400; font-size: 32px; line-height: 1.1; color: var(--sfc-brand-dark); margin: 3px 0 0; }
.sfc-db-meta { flex: 1 1 300px; min-width: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.sfc-db-meta span { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; min-width: 0; padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .85); border: 1px solid var(--sfc-line); font-size: 12.5px; color: var(--sfc-ink); }
.sfc-db-meta span[hidden] { display: none; }
.sfc-db-meta em { font-style: normal; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sfc-db-meta svg { width: 15px; height: 15px; color: var(--sfc-brand); }
.sfc-db-x { position: absolute; top: 18px; right: 18px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--sfc-line); padding: 0;
  background: #fff; color: var(--sfc-ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: transform .2s, background .2s; }
.sfc-db-x:hover { background: var(--sfc-soft); transform: rotate(90deg); }
.sfc-db-x svg { width: 16px; height: 16px; }

/* ---- thân 3 cột ---- */
.sfc-db-bd { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; display: grid; grid-template-columns: 1.3fr 1fr 1fr; }
.sfc-db-col { min-width: 0; padding: 0 24px 22px; }
.sfc-db-col + .sfc-db-col { border-left: 1px solid var(--sfc-line); }
.sfc-db-col-kh { display: flex; flex-direction: column; }
/* ô ghi chú giãn cao lấp khoảng trống giữa thông tin liên hệ và vé tóm tắt */
.sfc-db-col-kh > .sfc-db-sec { flex: 1 1 auto; display: flex; flex-direction: column; }
.sfc-db-col-kh .sfc-db-stack { flex: 1 1 auto; }
.sfc-db-col-kh .sfc-db-note { flex: 1 1 auto; display: flex; }
.sfc-db-col-kh .sfc-db-note textarea { flex: 1 1 auto; }
.sfc-db-colh { display: flex; align-items: center; gap: 10px; padding: 18px 0 2px; }
.sfc-db-colh i { width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-style: normal;
  font-size: 12px; font-weight: 700; color: #fff; background: var(--sfc-brand-dark); }
.sfc-db-colh b { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sfc-brand-dark); }
.sfc-db-sec { padding: 12px 0 2px; }
.sfc-db-sec[hidden] { display: none; }
.sfc-db-sh { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0 0 9px; }
.sfc-db-sh b { font-size: 14px; font-weight: 600; color: var(--sfc-ink); white-space: nowrap; }
.sfc-db-sh em { font-style: normal; font-size: 12px; color: var(--sfc-muted); text-align: right; }

/* chip chung (chi nhánh, khu vực) */
.sfc-db-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sfc-db-chip { border: 1.5px solid var(--sfc-line); background: #fff; border-radius: 999px; padding: 7px 15px; cursor: pointer;
  font-weight: 500; font-size: 13.5px; line-height: 1.35; color: var(--sfc-ink); transition: border-color .15s, background .15s, color .15s, box-shadow .15s, transform .15s; }
.sfc-db-chip:hover { border-color: rgba(var(--sfc-brand-rgb), .6); transform: translateY(-1px); }
.sfc-db-chip.is-on { border-color: var(--sfc-brand-dark); background: var(--sfc-brand-dark); color: #fff; box-shadow: 0 8px 16px -10px rgba(var(--sfc-brand-rgb), .95); }

/* ngày: thẻ lịch 7 × 2 */
.sfc-db-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.sfc-db-day { position: relative; min-width: 0; border: 1.5px solid var(--sfc-line); background: #fff; border-radius: 14px; padding: 6px 2px 7px;
  text-align: center; cursor: pointer; transition: border-color .15s, transform .15s, box-shadow .15s; }
.sfc-db-day small { display: block; font-size: 10px; letter-spacing: -.1px; line-height: 1.2; color: var(--sfc-muted); white-space: nowrap; overflow: hidden; }
.sfc-db-day b { display: block; font-size: 19px; font-weight: 700; line-height: 1.15; color: var(--sfc-ink); margin: 1px 0; }
.sfc-db-day em { display: block; font-style: normal; font-size: 10px; line-height: 1.2; color: var(--sfc-muted); }
.sfc-db-day.is-we b { color: var(--sfc-brand); }
.sfc-db-day:hover { border-color: rgba(var(--sfc-brand-rgb), .6); transform: translateY(-2px); }
.sfc-db-day.is-on { border-color: transparent; background: linear-gradient(160deg, var(--sfc-brand), var(--sfc-brand-dark)); box-shadow: 0 12px 22px -12px rgba(var(--sfc-brand-rgb), 1); transform: translateY(-2px); }
.sfc-db-day.is-on small, .sfc-db-day.is-on b, .sfc-db-day.is-on em { color: #fff; }
/* 05/10/2026: ngày chi nhánh nghỉ (giờ hoạt động) — khoá như ô giờ đã gạch */
.sfc-db-day[disabled] { cursor: not-allowed; background: #faf8f6; border-style: dashed; transform: none; }
.sfc-db-day[disabled] small, .sfc-db-day[disabled] b, .sfc-db-day[disabled] em { color: #c3b8ad; }
.sfc-db-day[disabled] b { text-decoration: line-through; }

/* giờ: chia buổi */
.sfc-db-buoi + .sfc-db-buoi { margin-top: 10px; }
.sfc-db-buoi .bh { display: flex; align-items: center; gap: 7px; margin: 0 0 6px; font-size: 12.5px; }
.sfc-db-buoi .bh svg { width: 16px; height: 16px; color: var(--sfc-brand); }
.sfc-db-buoi .bh b { font-weight: 600; color: var(--sfc-ink); }
.sfc-db-buoi .bh em { margin-left: auto; font-style: normal; font-size: 11.5px; color: var(--sfc-muted); }
.sfc-db-buoi.is-het .bh { opacity: .55; }
.sfc-db-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 6px; }
.sfc-db-slot { border: 1.5px solid var(--sfc-line); background: #fff; border-radius: 10px; padding: 6px 0; cursor: pointer; text-align: center;
  font-weight: 500; font-size: 13px; line-height: 1.35; color: var(--sfc-ink); font-variant-numeric: tabular-nums; transition: border-color .15s, background .15s, transform .15s; }
.sfc-db-slot:hover:not([disabled]) { border-color: rgba(var(--sfc-brand-rgb), .6); background: var(--sfc-soft); }
.sfc-db-slot.is-on { border-color: transparent; color: #fff; background: linear-gradient(160deg, var(--sfc-brand), var(--sfc-brand-dark)); box-shadow: 0 8px 16px -10px rgba(var(--sfc-brand-rgb), 1); }
.sfc-db-slot[disabled] { cursor: not-allowed; color: #c3b8ad; background: #faf8f6; border-style: dashed; text-decoration: line-through; }
.sfc-db-none { margin: 4px 0 0; font-size: 13px; color: var(--sfc-muted); }
.sfc-db-none[hidden] { display: none; }
/* 01/10/2026: đang hỏi khung kín bàn -> lưới mờ, chưa cho bấm */
.sfc-db-periods.is-tai { opacity: .55; pointer-events: none; transition: opacity .2s; }
/* Lời nhắc đặt trước + giờ sớm nhất — nền vàng, chữ nhấn theo màu mẫu */
.sfc-db-nhac { display: flex; align-items: flex-start; gap: 9px; margin: 0 0 10px; padding: 10px 12px; border-radius: 12px;
  background: #fff5d1; border: 1px solid #efc13a; color: #5b4a2c; font-size: 12.5px; line-height: 1.55; }
.sfc-db-nhac[hidden] { display: none; }
.sfc-db-nhac svg { width: 16px; height: 16px; margin-top: 2px; color: #8f6400; }
.sfc-db-nhac span { display: block; }
.sfc-db-nhac span + span { margin-top: 3px; }
.sfc-db-nhac b { color: var(--sfc-brand); font-weight: 700; }

/* Hộp hỏi lại khi chọn giờ quá sát — đè trong popup (01/10/2026) */
.sfc-db-cf { position: absolute; inset: 0; z-index: 5; display: flex; align-items: center; justify-content: center; padding: 20px;
  background: rgba(24, 16, 10, .42); animation: sfc-pick-fade .2s ease; }
.sfc-db-cf[hidden] { display: none; }
.sfc-db-cf-card { width: min(380px, 100%); background: #fff; border-radius: 20px; padding: 20px 20px 18px;
  box-shadow: 0 30px 60px -25px rgba(24, 16, 10, .6); animation: sfc-db-cf-in .2s ease-out; }
@keyframes sfc-db-cf-in { from { transform: translateY(8px) scale(.98); opacity: 0; } }
.sfc-db-cf-hd { display: flex; align-items: center; gap: 12px; margin: 0 0 8px; }
.sfc-db-cf-ic { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: #fff5d1; border: 1.5px solid #efc13a; color: #8f6400; flex-shrink: 0; }
.sfc-db-cf-ic svg { width: 22px; height: 22px; }
.sfc-db-cf-t { font-family: var(--sfc-display); font-size: 20px; line-height: 1.25; color: var(--sfc-brand-dark); font-variant-numeric: lining-nums; }
.sfc-db-cf p { margin: 0 0 14px; font-size: 13.5px; line-height: 1.6; color: var(--sfc-muted); }
.sfc-db-cf-goi { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; padding: 10px 14px; border-radius: 14px;
  background: #fff5d1; border: 1px dashed #efc13a; }
.sfc-db-cf-goi .tx { flex: 1; min-width: 0; }
.sfc-db-cf-goi small { display: block; font-size: 11.5px; font-weight: 700; color: #8f6400; }
.sfc-db-cf-goi .tx span { display: block; font-size: 12.5px; color: var(--sfc-ink); }
.sfc-db-cf-goi b { font-size: 22px; font-weight: 700; color: var(--sfc-brand-dark); font-variant-numeric: tabular-nums; }
.sfc-db-cf-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sfc-db-cf-acts .sfc-db-btn, .sfc-db-cf-acts .sfc-db-ghost { min-height: 46px; padding: 10px 12px; font-size: 14px; }

/* số khách */
.sfc-db-stack { display: flex; flex-direction: column; gap: 10px; }
.sfc-db-step { display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1.5px solid var(--sfc-line); border-radius: 16px; padding: 8px 8px 8px 10px; background: #fff; }
.sfc-db-step .lb { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; line-height: 1.25; }
.sfc-db-step .lb small { display: block; font-size: 11.5px; font-weight: 400; color: var(--sfc-muted); }
.sfc-db-step .ico { width: 36px; height: 36px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; background: var(--sfc-soft); color: var(--sfc-brand); }
.sfc-db-step .ico svg { width: 19px; height: 19px; }
.sfc-db-step .ctl { display: flex; align-items: center; gap: 4px; }
.sfc-db-step button { width: 34px; height: 34px; padding: 0; border-radius: 50%; border: 1.5px solid var(--sfc-line); background: #fff;
  font-size: 18px; line-height: 1; color: var(--sfc-brand-dark); cursor: pointer; transition: background .15s, border-color .15s; }
.sfc-db-step button:hover:not(:disabled) { border-color: var(--sfc-brand-dark); background: var(--sfc-brand-dark); color: #fff; }
.sfc-db-step button:disabled { opacity: .35; cursor: not-allowed; }
.sfc-db-step output { min-width: 30px; text-align: center; font-weight: 700; font-size: 17px; font-variant-numeric: tabular-nums; }
.sfc-db-step .ctl input { width: 46px; height: 34px; margin: 0; padding: 0 2px; text-align: center; font: inherit; font-weight: 700; font-size: 17px;
  font-variant-numeric: tabular-nums; color: inherit; background: transparent; border: 1.5px solid transparent; border-radius: 10px;
  box-shadow: none; outline: 0; -webkit-appearance: none; appearance: none; transition: border-color .15s, box-shadow .15s; }
.sfc-db-step .ctl input:hover { border-color: var(--sfc-line); }
.sfc-db-step .ctl input:focus { border-color: var(--sfc-brand); background: #fff; box-shadow: 0 0 0 4px rgba(var(--sfc-brand-rgb), .16); }

/* thời gian sử dụng: nút gạt */
.sfc-db-seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 4px; border-radius: 14px; background: var(--sfc-soft); border: 1px solid var(--sfc-line); }
.sfc-db-seg .sfc-db-chip { border: 0; border-radius: 10px; background: transparent; padding: 8px 0; text-align: center; box-shadow: none; transform: none; }
.sfc-db-seg .sfc-db-chip:hover { background: rgba(255, 255, 255, .7); }
.sfc-db-seg .sfc-db-chip.is-on { background: #fff; color: var(--sfc-brand-dark); font-weight: 600; box-shadow: 0 4px 12px -4px rgba(24, 16, 10, .28); }

/* ô nhập trong popup */
.sfc-db .sfc-fl input { border-width: 1.5px; border-color: var(--sfc-line); border-radius: 14px; height: 50px; }
.sfc-db .sfc-fl span { top: 25px; }
.sfc-db .sfc-fl input:focus, .sfc-db .sfc-fl textarea:focus { border-color: var(--sfc-brand); box-shadow: 0 0 0 4px rgba(var(--sfc-brand-rgb), .16); }
.sfc-db .sfc-fl input:focus + span, .sfc-db .sfc-fl textarea:focus + span { color: var(--sfc-brand-dark); }
.sfc-db-note textarea { display: block; width: 100%; min-height: 92px; margin: 0; padding: 14px; border: 1.5px solid var(--sfc-line); border-radius: 14px; background: #fff;
  font-family: var(--sfc-font); font-size: 15px; line-height: 1.5; color: var(--sfc-ink); resize: vertical; outline: 0; box-shadow: none; }
.sfc-db-note span { top: 24px; max-width: calc(100% - 28px); }
.sfc-db-note textarea:focus + span, .sfc-db-note textarea:not(:placeholder-shown) + span { top: 0; font-size: 12px; color: #8a8a8a; background: #fff; }
.sfc-db-count { text-align: right; font-size: 11.5px; color: var(--sfc-muted); margin-top: 4px; }
.sfc-db-err { margin: 8px 0 0; padding: 10px 12px; border-radius: 12px; background: #fdf1ef; color: #a4332a; font-size: 13px; line-height: 1.5; animation: sfc-shake .35s ease; }
.sfc-db-err[hidden] { display: none; }

/* vé tóm tắt + gửi */
.sfc-db-ft { margin-top: auto; padding: 14px 0 0; background: #fff; }
.sfc-db-ticket {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 14px; margin-bottom: 12px; padding: 13px 16px;
  border-radius: 16px; font-size: 13px; line-height: 1.4; color: var(--sfc-ink);
  background: linear-gradient(135deg, rgba(var(--sfc-brand-rgb), .10), rgba(var(--sfc-brand-rgb), .03)), #fff;
  border: 1.5px dashed rgba(var(--sfc-brand-rgb), .45);
}
.sfc-db-ticket::before, .sfc-db-ticket::after { content: ""; position: absolute; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: #fff;
  border: 1.5px dashed rgba(var(--sfc-brand-rgb), .45); }
.sfc-db-ticket::before { left: -10px; clip-path: inset(0 0 0 50%); }
.sfc-db-ticket::after { right: -10px; clip-path: inset(0 50% 0 0); }
.sfc-db-ticket .tk { display: flex; align-items: center; gap: 8px; min-width: 0; }
.sfc-db-ticket .tk svg { width: 16px; height: 16px; color: var(--sfc-brand); }
.sfc-db-ticket .tk span, .sfc-db-ticket .tk b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sfc-db-ticket .tk b { font-weight: 700; font-size: 14px; color: var(--sfc-brand-dark); font-variant-numeric: tabular-nums; }
.sfc-db-ticket .tk b.is-empty { font-weight: 500; font-size: 13px; color: #c0392b; }
.sfc-db-ticket .tk-full { grid-column: 1 / -1; padding-top: 8px; border-top: 1px dashed rgba(var(--sfc-brand-rgb), .3); }
.sfc-db-ticket .is-shake { animation: sfc-shake .35s ease; }
.sfc-db-btn { width: 100%; min-height: 52px; border: 0; border-radius: 999px; padding: 13px 18px; color: #fff; cursor: pointer;
  background: linear-gradient(135deg, var(--sfc-brand), var(--sfc-brand-dark) 70%);
  font-weight: 600; font-size: 15.5px; line-height: 1.3; display: flex; align-items: center; justify-content: center; gap: 10px;
  box-shadow: 0 16px 30px -14px rgba(var(--sfc-brand-rgb), 1); transition: transform .18s, box-shadow .18s, filter .2s; }
.sfc-db-btn:hover { transform: translateY(-2px); box-shadow: 0 22px 36px -16px rgba(var(--sfc-brand-rgb), 1); filter: brightness(1.05); }
.sfc-db-btn:hover .ar { transform: translateX(3px); }
.sfc-db-btn:active { transform: translateY(0) scale(.99); }
.sfc-db-btn[disabled] { opacity: .8; cursor: wait; transform: none; }
.sfc-db-btn svg { width: 18px; height: 18px; transition: transform .18s; }
.sfc-db-hint { text-align: center; font-size: 12px; color: var(--sfc-muted); margin: 9px 0 0; }
.sfc-db-hint a { color: var(--sfc-brand-dark); font-weight: 600; text-decoration: none; }

/* ---- đã gửi ---- */
.sfc-db-ok { position: relative; display: grid; grid-template-columns: 1fr 1.08fr; min-height: 0; overflow-y: auto; }
.sfc-db-ok-l { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 44px 34px;
  background: radial-gradient(120% 90% at 50% 0%, rgba(var(--sfc-brand-rgb), .22), transparent 70%), var(--sfc-soft); }
.sfc-db-ok-r { display: flex; flex-direction: column; justify-content: center; padding: 66px 34px 34px; }
.sfc-db-ok .ic { position: relative; width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center;
  background: #2f9e6b; color: #fff; box-shadow: 0 14px 30px -12px rgba(47, 158, 107, .9); animation: sfc-db-pop .5s cubic-bezier(.2, .9, .3, 1.4); }
.sfc-db-ok .ic::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(47, 158, 107, .35); animation: sfc-db-ring 1.6s ease-out infinite; }
.sfc-db-ok .ic svg { width: 40px; height: 40px; }
@keyframes sfc-db-pop { from { transform: scale(.4); opacity: 0; } }
@keyframes sfc-db-ring { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.sfc-db-ok p { margin: 8px auto 18px; color: var(--sfc-muted); font-size: 14px; max-width: 340px; line-height: 1.6; }
.sfc-db-ok .code { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1.5px dashed var(--sfc-brand); border-radius: 14px; padding: 10px 18px; }
.sfc-db-ok .code small { font-size: 12px; color: var(--sfc-muted); }
.sfc-db-ok .code b { font-size: 21px; font-weight: 700; letter-spacing: .08em; color: var(--sfc-brand-dark); }
.sfc-db-ok .rows { border: 1px solid var(--sfc-line); border-radius: 16px; padding: 4px 16px; margin: 0 0 18px; }
.sfc-db-ok .rows > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 0; font-size: 14px; }
.sfc-db-ok .rows > div + div { border-top: 1px solid var(--sfc-line); }
.sfc-db-ok .rows span { color: var(--sfc-muted); }
.sfc-db-ok .rows b { font-weight: 500; text-align: right; }
.sfc-db-ok .badge { display: inline-flex; align-items: center; gap: 6px; background: #fff4e0; color: #9a6200; border-radius: 999px; padding: 3px 10px; font-size: 12.5px; font-weight: 600; }
.sfc-db-ok .badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #e39b1b; }
.sfc-db-ok .acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sfc-db-ghost { border: 1.5px solid var(--sfc-line); border-radius: 999px; padding: 13px; background: #fff; color: var(--sfc-ink); cursor: pointer;
  font-weight: 600; font-size: 14px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.sfc-db-ghost:hover { border-color: var(--sfc-brand); background: var(--sfc-soft); }
.sfc-db-ghost svg { width: 17px; height: 17px; }

@media (max-width: 1100px) {
  .sfc-db-bd { grid-template-columns: 1.2fr 1fr; }
  .sfc-db-col-kh { grid-column: 1 / -1; border-left: 0 !important; border-top: 1px solid var(--sfc-line); display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; align-items: end; }
  .sfc-db-col-kh .sfc-db-colh { grid-column: 1 / -1; }
  .sfc-db-col-kh .sfc-db-ft { margin-top: 0; }
}
@media (max-width: 760px) {
  .sfc-db { left: 0; top: auto; bottom: 0; width: 100% !important; max-height: 92vh; max-height: 92dvh; border-radius: 24px 24px 0 0; transform: translateY(28px); }
  .sfc-open .sfc-db { transform: none; }
  .sfc-db-hd { padding: 24px 62px 14px 16px; gap: 12px; }
  .sfc-db-hd::before { content: ""; position: absolute; top: 8px; left: 50%; width: 44px; height: 5px; border-radius: 9px; background: var(--sfc-line); transform: translateX(-50%); }
  .sfc-db-hd-ic { width: 44px; height: 44px; border-radius: 14px; }
  .sfc-db-title { font-size: 25px; }
  .sfc-db-meta { flex-basis: 100%; justify-content: flex-start; }
  .sfc-db-meta em { white-space: normal; }
  .sfc-db-meta span { border-radius: 14px; align-items: flex-start; }
  .sfc-db-meta svg { margin-top: 2px; }
  .sfc-db-x { top: 18px; right: 14px; }
  .sfc-db-bd { display: block; }
  .sfc-db-col { padding: 0 16px 8px; border-left: 0 !important; }
  .sfc-db-col + .sfc-db-col { border-top: 1px solid var(--sfc-line); }
  .sfc-db-col-kh { display: contents; }
  .sfc-db-col-kh > .sfc-db-colh { padding: 18px 16px 2px; border-top: 1px solid var(--sfc-line); }
  .sfc-db-col-kh > .sfc-db-sec { padding: 12px 16px 12px; }
  .sfc-db-ft { position: sticky; bottom: 0; z-index: 2; padding: 10px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--sfc-line); box-shadow: 0 -12px 26px -18px rgba(0, 0, 0, .3); }
  .sfc-db-ticket { padding: 9px 12px; gap: 6px 10px; margin-bottom: 8px; }
  .sfc-db-ticket .tk-full { padding-top: 6px; }
  .sfc-db-days { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 58px; overflow-x: auto; padding: 2px 0 6px; }
  .sfc-db-slots { grid-template-columns: repeat(4, 1fr); }
  .sfc-db-ok { grid-template-columns: 1fr; }
  .sfc-db-ok-l { padding: 38px 18px 22px; }
  .sfc-db-ok-r { padding: 16px 18px calc(20px + env(safe-area-inset-bottom)); }
  .sfc-db-ok .acts { grid-template-columns: 1fr; }
}

/* =============================================================
   POPUP TÌM KIẾM dùng chung (storefront/_search-popup) — 14/09/2026
   Khung trượt xuống từ trên; tiền tố .sfc-tim-*; font viết TÁCH (không shorthand với var(--sfc-font)).
   ============================================================= */
.sfc-tim {
  position: fixed; left: 50%; top: 76px; z-index: 2101; width: min(720px, calc(100vw - 32px)); box-sizing: border-box;
  padding: 14px 14px 12px; background: #fff; border-radius: 22px; box-shadow: 0 40px 90px -24px rgba(24, 16, 10, .55);
  color: var(--sfc-ink); font-family: var(--sfc-font); font-size: 14px; line-height: 1.5; text-align: left;
  opacity: 0; transform: translate(-50%, -14px); transition: opacity .22s ease, transform .3s cubic-bezier(.16, 1, .3, 1);
}
.sfc-tim[hidden] { display: none !important; }
.sfc-open .sfc-tim { opacity: 1; transform: translate(-50%, 0); }
.sfc-tim *, .sfc-tim *::before, .sfc-tim *::after { box-sizing: border-box; }
.sfc-tim button { font-family: var(--sfc-font); text-transform: none; letter-spacing: normal; margin: 0; }
.sfc-tim-f { display: flex; align-items: center; gap: 10px; height: 62px; margin: 0; padding: 0 8px 0 18px; border: 1.5px solid var(--sfc-line); border-radius: 16px; background: #fff;
  transition: border-color .15s, box-shadow .15s; }
.sfc-tim-f:focus-within { border-color: var(--sfc-brand); box-shadow: 0 0 0 4px rgba(var(--sfc-brand-rgb), .16); }
.sfc-tim-f.is-shake { animation: sfc-shake .35s ease; }
.sfc-tim-f > svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--sfc-brand); }
.sfc-tim-f input { flex: 1; min-width: 0; height: 100%; margin: 0; padding: 0; border: 0; outline: 0; background: transparent; box-shadow: none;
  font-family: var(--sfc-font); font-size: 18px; color: var(--sfc-ink); -webkit-appearance: none; appearance: none; }
.sfc-tim-f input::placeholder { color: #b3aaa1; }
.sfc-tim-f input::-webkit-search-cancel-button { display: none; }
.sfc-tim-go { flex-shrink: 0; height: 44px; padding: 0 22px; border: 0; border-radius: 12px; cursor: pointer; color: #fff; font-weight: 600; font-size: 14.5px;
  background: linear-gradient(135deg, var(--sfc-brand), var(--sfc-brand-dark)); box-shadow: 0 10px 20px -12px rgba(var(--sfc-brand-rgb), 1); transition: filter .2s, transform .15s; }
.sfc-tim-go:hover { filter: brightness(1.08); transform: translateY(-1px); }
.sfc-tim-x { flex-shrink: 0; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: var(--sfc-soft); color: var(--sfc-ink); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; transition: background .2s, transform .2s; }
.sfc-tim-x:hover { background: var(--sfc-line); transform: rotate(90deg); }
.sfc-tim-x svg { width: 16px; height: 16px; }
.sfc-tim-gan { padding: 14px 6px 2px; }
.sfc-tim-gan[hidden] { display: none; }
.sfc-tim-gan .sh { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sfc-muted); }
.sfc-tim-gan .sh button { border: 0; background: none; padding: 0; cursor: pointer; font-size: 12.5px; font-weight: 500; color: var(--sfc-brand-dark); }
.sfc-tim-gan .sh button:hover { text-decoration: underline; }
.sfc-tim-gan .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sfc-tim-gan .chips button { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 6px 13px; border: 1.5px solid var(--sfc-line); border-radius: 999px;
  background: #fff; color: var(--sfc-ink); font-size: 13.5px; cursor: pointer; transition: border-color .15s, background .15s; }
.sfc-tim-gan .chips button:hover { border-color: rgba(var(--sfc-brand-rgb), .6); background: var(--sfc-soft); }
.sfc-tim-gan .chips svg { width: 14px; height: 14px; color: var(--sfc-muted); flex-shrink: 0; }
.sfc-tim-hint { margin: 10px 6px 0; font-size: 12px; color: var(--sfc-muted); }
.sfc-tim-hint kbd { display: inline-block; padding: 1px 6px; border: 1px solid var(--sfc-line); border-bottom-width: 2px; border-radius: 6px; background: var(--sfc-soft);
  font-family: var(--sfc-font); font-size: 11px; color: var(--sfc-ink); }
@media (max-width: 640px) {
  .sfc-tim { top: 0; width: 100%; border-radius: 0 0 22px 22px; padding: 12px 12px 14px; transform: translate(-50%, -100%); }
  .sfc-tim-f { height: 54px; padding-left: 14px; }
  .sfc-tim-f input { font-size: 16px; }
  .sfc-tim-go { padding: 0 16px; height: 40px; }
  .sfc-tim-hint { display: none; }
}
/* ---- tìm realtime: danh sách kết quả ngay dưới ô tìm (14/09 14:55) ---- */
.sfc-tim-kq { max-height: min(460px, 60vh); overflow-y: auto; overscroll-behavior: contain; margin: 10px 0 0; padding: 2px; }
.sfc-tim-kq[hidden] { display: none; }
.sfc-tim-it { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; color: var(--sfc-ink); text-decoration: none; transition: background .12s; }
.sfc-tim-it:hover, .sfc-tim-it.is-hl { background: var(--sfc-soft); color: var(--sfc-ink); text-decoration: none; }
.sfc-tim-it .im { width: 46px; height: 46px; flex-shrink: 0; border-radius: 10px; overflow: hidden; background: var(--sfc-soft); display: inline-flex; align-items: center; justify-content: center; color: #c9bcb0; }
.sfc-tim-it .im img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sfc-tim-it .im svg { width: 22px; height: 22px; }
.sfc-tim-it .nm { flex: 1; min-width: 0; font-size: 14.5px; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sfc-tim-it .nm mark { background: rgba(var(--sfc-brand-rgb), .22); color: var(--sfc-brand-dark); font-weight: 700; padding: 0 1px; border-radius: 3px; }
.sfc-tim-it .pr { flex-shrink: 0; text-align: right; font-weight: 600; font-size: 14px; color: var(--sfc-brand-dark); font-variant-numeric: tabular-nums; }
.sfc-tim-it .pr s { display: block; font-weight: 400; font-size: 11.5px; color: var(--sfc-muted); }
.sfc-tim-it.is-hl .nm { color: var(--sfc-brand-dark); }
.sfc-tim-all { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin: 6px 0 0; padding: 11px; border: 0; border-top: 1px dashed var(--sfc-line);
  background: transparent; color: var(--sfc-brand-dark); font-family: var(--sfc-font); font-weight: 600; font-size: 13.5px; cursor: pointer; border-radius: 0 0 12px 12px; }
.sfc-tim-all:hover { background: var(--sfc-soft); }
.sfc-tim-all svg { width: 16px; height: 16px; }
.sfc-tim-rong { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 22px 12px; text-align: center; }
.sfc-tim-rong b { font-weight: 600; font-size: 14.5px; color: var(--sfc-ink); }
.sfc-tim-rong span { font-size: 13px; color: var(--sfc-muted); }
.sfc-tim-spin { width: 18px; height: 18px; flex-shrink: 0; border: 2.5px solid rgba(var(--sfc-brand-rgb), .25); border-top-color: var(--sfc-brand); border-radius: 50%; animation: sfc-rot .7s linear infinite; }
.sfc-tim-spin[hidden] { display: none; }
.sfc-tim-hint kbd + kbd { margin-left: 2px; }
@media (max-width: 640px) {
  .sfc-tim-kq { max-height: calc(100dvh - 120px); }
  .sfc-tim-it .im { width: 42px; height: 42px; }
}

/* =============================================================
   MENU TÀI KHOẢN thả xuống (storefront/_account-menu) + TRANG SẢN PHẨM ĐÃ XEM (storefront/da-xem) — 14/09/2026
   ============================================================= */
.sfc-tk {
  position: fixed; z-index: 2050; width: 232px; box-sizing: border-box; padding: 6px;
  background: #fff; border-radius: 14px; box-shadow: 0 18px 44px -16px rgba(24, 16, 10, .42), 0 0 0 1px rgba(24, 16, 10, .06);
  color: var(--sfc-ink); font-family: var(--sfc-font); font-size: 13.5px; line-height: 1.35; text-align: left;
  opacity: 0; transform: translateY(-6px) scale(.98); transform-origin: top right; transition: opacity .16s ease, transform .2s cubic-bezier(.16, 1, .3, 1);
}
/* 14/09 15:25: bản GỌN (user: "đừng có bự quá") — 232px, avatar 34px, icon 26px, bỏ dòng phụ & mũi tên */
.sfc-tk.is-open { opacity: 1; transform: none; }
.sfc-tk[hidden] { display: none !important; }
.sfc-tk *, .sfc-tk *::before, .sfc-tk *::after { box-sizing: border-box; }
.sfc-tk::before { content: ""; position: absolute; top: -5px; right: var(--tk-ar, 14px); width: 10px; height: 10px; background: #fff; border-radius: 2px 0 0 0;
  transform: rotate(45deg); box-shadow: -1px -1px 0 rgba(24, 16, 10, .06); }
.sfc-tk-hd { display: flex; align-items: center; gap: 9px; padding: 7px 8px 9px; margin-bottom: 3px; border-bottom: 1px solid var(--sfc-line); }
.sfc-tk-hd .av { width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 14px; background: linear-gradient(145deg, var(--sfc-brand), var(--sfc-brand-dark)); }
.sfc-tk-hd .tt { min-width: 0; }
.sfc-tk-hd b { display: block; font-size: 13.5px; font-weight: 700; color: var(--sfc-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sfc-tk-hd small { display: block; font-size: 12px; color: var(--sfc-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sfc-tk-it { display: flex; align-items: center; gap: 9px; padding: 6px 8px; border-radius: 9px; color: var(--sfc-ink); text-decoration: none; outline: 0; transition: background .12s; }
.sfc-tk-it:hover, .sfc-tk-it:focus-visible { background: var(--sfc-soft); color: var(--sfc-ink); text-decoration: none; }
.sfc-tk-it .ic { width: 26px; height: 26px; flex-shrink: 0; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center;
  color: var(--sfc-brand); transition: color .12s; }
.sfc-tk-it:hover .ic, .sfc-tk-it:focus-visible .ic { color: var(--sfc-brand-dark); }
.sfc-tk-it .ic svg { width: 17px; height: 17px; }
.sfc-tk-it .tx { flex: 1; min-width: 0; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sfc-tk-it .so { flex-shrink: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
  font-style: normal; font-size: 10.5px; font-weight: 700; color: #fff; background: var(--sfc-brand-dark); }
.sfc-tk-it .so[hidden] { display: none; }
.sfc-tk-ft { margin-top: 3px; padding-top: 3px; border-top: 1px solid var(--sfc-line); }
.sfc-tk-it.is-out, .sfc-tk-it.is-out .ic { color: #c0392b; }
.sfc-tk-it.is-out:hover, .sfc-tk-it.is-out:focus-visible { background: #fdf1ef; color: #c0392b; }

/* trang Sản phẩm đã xem */
.sfc-dx-top { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.sfc-dx-crumb { margin-bottom: 4px; font-size: 13px; color: var(--sfc-muted); }
.sfc-dx-crumb a { color: inherit; text-decoration: none; }
.sfc-dx-crumb a:hover { color: var(--sfc-accent); }
.sfc-dx-top h1 { margin: 0; }
.sfc-dx-top h1 em { margin-left: 4px; font-style: normal; font-size: .7em; font-weight: 400; color: var(--sfc-muted); }
.sfc-dx-clear { display: inline-flex; align-items: center; gap: 7px; padding: 8px 16px; border: 1px solid var(--sfc-line); border-radius: 999px; background: #fff; cursor: pointer;
  font-family: var(--sfc-font); font-size: 13.5px; color: var(--sfc-ink); transition: border-color .15s, color .15s; }
.sfc-dx-clear svg { width: 16px; height: 16px; }
.sfc-dx-clear:hover { border-color: #c0392b; color: #c0392b; }
.sfc-dx-clear[hidden] { display: none; }
.sfc-dx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.sfc-dx-card { position: relative; overflow: hidden; background: #fff; border: 1px solid rgba(24, 16, 10, .06); border-radius: 16px; transition: transform .18s, box-shadow .18s; }
.sfc-dx-card:hover { transform: translateY(-3px); box-shadow: 0 18px 32px -20px rgba(24, 16, 10, .45); }
.sfc-dx-card .im { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; background: var(--sfc-soft); color: #cdbfb2; }
.sfc-dx-card .im img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sfc-dx-card .im svg { width: 44px; height: 44px; }
.sfc-dx-card .bd { padding: 11px 13px 13px; }
.sfc-dx-card .nm { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; line-height: 1.4;
  font-weight: 600; font-size: 14px; color: var(--sfc-ink); text-decoration: none; }
.sfc-dx-card .nm:hover { color: var(--sfc-accent); }
.sfc-dx-card .pr { margin-top: 6px; font-weight: 700; font-size: 15px; color: var(--sfc-accent); }
.sfc-dx-card .t { margin-top: 2px; font-size: 12px; color: var(--sfc-muted); }
.sfc-dx-card .x { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .94); color: var(--sfc-ink);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .14); opacity: 0; transition: opacity .15s, background .15s, color .15s; }
.sfc-dx-card .x svg { width: 14px; height: 14px; }
.sfc-dx-card:hover .x, .sfc-dx-card .x:focus-visible { opacity: 1; }
.sfc-dx-card .x:hover { background: #c0392b; color: #fff; }
@media (hover: none) { .sfc-dx-card .x { opacity: 1; } }
.sfc-dx-rong { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 54px 16px; text-align: center; background: #fff; border-radius: 16px; }
.sfc-dx-rong svg { width: 64px; height: 64px; margin-bottom: 6px; color: var(--sfc-accent); opacity: .75; }
.sfc-dx-rong b { font-size: 17px; font-weight: 600; color: var(--sfc-ink); }
.sfc-dx-rong span { font-size: 14px; color: var(--sfc-muted); }
.sfc-dx-rong .sfc-btn-red { margin-top: 12px; }
.sfc-dx-note { margin: 18px 0 0; text-align: center; font-size: 12.5px; color: var(--sfc-muted); }
@media (max-width: 640px) { .sfc-dx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }

/* =============================================================
   TRANG "ĐƠN HÀNG CỦA TÔI" dùng chung (storefront/account) — 14/09/2026, theo ảnh mẫu
   ============================================================= */
.sfc-dh-page { min-height: 62vh; }
.sfc-dh-wrap { max-width: 720px; }
.sfc-dh-crumb { display: flex; align-items: center; gap: 6px; margin: 0 0 14px; font-size: 14px; color: var(--sfc-muted); }
.sfc-dh-crumb a { color: var(--sfc-accent); text-decoration: none; }
.sfc-dh-crumb a:hover { text-decoration: underline; }
.sfc-dh-crumb svg { width: 15px; height: 15px; }
.sfc-dh-card { background: #fff; border-radius: 12px; padding: 16px; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); font-family: var(--sfc-font); color: var(--sfc-ink); }
.sfc-dh-h { margin: 0 0 14px; font-family: var(--sfc-font); font-size: 18px; font-weight: 600; line-height: 1.3; letter-spacing: 0; text-transform: none; color: var(--sfc-ink); }
.sfc-dh-don { border: 1px solid #ececec; border-radius: 12px; overflow: hidden; }
.sfc-dh-don + .sfc-dh-don { margin-top: 14px; }
.sfc-dh-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 16px; background: #f7f7f8; border-bottom: 1px solid #efefef; }
.sfc-dh-top b { font-size: 14.5px; font-weight: 500; color: var(--sfc-ink); }
.sfc-dh-top time { font-size: 12.5px; color: var(--sfc-muted); white-space: nowrap; }
.sfc-dh-items { padding: 2px 16px 0; }
.sfc-dh-it { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; }
.sfc-dh-it[hidden] { display: none; }
.sfc-dh-it + .sfc-dh-it { border-top: 1px dashed #efefef; }
.sfc-dh-it .im { width: 56px; height: 56px; flex-shrink: 0; overflow: hidden; border-radius: 6px; border: 1px solid #eee; background: #f5f5f5;
  display: flex; align-items: center; justify-content: center; color: #c8c8c8; }
.sfc-dh-it .im img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sfc-dh-it .im svg { width: 26px; height: 26px; }
.sfc-dh-it .if { flex: 1; min-width: 0; }
.sfc-dh-it .n { font-size: 14.5px; line-height: 1.4; color: var(--sfc-ink); }
.sfc-dh-it .pl, .sfc-dh-it .sl { margin-top: 2px; font-size: 12.5px; color: var(--sfc-muted); }
.sfc-dh-it .gia { align-self: center; font-size: 14px; color: var(--sfc-ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.sfc-dh-more { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; margin: 0 0 6px; padding: 6px; border: 0; background: none; cursor: pointer;
  font-family: var(--sfc-font); font-size: 14px; font-weight: 500; color: var(--sfc-accent); }
.sfc-dh-more svg { width: 16px; height: 16px; transition: transform .2s; }
.sfc-dh-more[aria-expanded="true"] svg { transform: rotate(180deg); }
.sfc-dh-ft { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; padding: 12px 16px 14px; border-top: 1px solid #efefef; }
.sfc-dh-ft .tong { font-size: 14px; color: var(--sfc-ink); }
.sfc-dh-ft .tong b { margin-left: 6px; font-size: 18px; font-weight: 600; color: var(--sfc-accent); }
.sfc-dh-ct { padding: 7px 16px; border: 1px solid #dcdcdc; border-radius: 8px; background: #fff; color: var(--sfc-accent); font-size: 14px; font-weight: 500; text-decoration: none; transition: border-color .15s, background .15s; }
.sfc-dh-ct:hover { border-color: var(--sfc-accent); background: color-mix(in srgb, var(--sfc-accent) 6%, #fff); color: var(--sfc-accent); text-decoration: none; }
.sfc-dh-rong { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 40px 16px 30px; text-align: center; }
.sfc-dh-rong svg { width: 60px; height: 60px; margin-bottom: 6px; color: var(--sfc-accent); opacity: .7; }
.sfc-dh-rong b { font-size: 16px; font-weight: 600; }
.sfc-dh-rong span { font-size: 14px; color: var(--sfc-muted); }
.sfc-dh-rong .sfc-btn-red { margin-top: 10px; }
@media (max-width: 640px) {
  .sfc-dh-card { padding: 12px; border-radius: 10px; }
  .sfc-dh-top { padding: 9px 12px; }
  .sfc-dh-items { padding: 2px 12px 0; }
  .sfc-dh-ft { padding: 10px 12px 12px; }
  .sfc-dh-it .im { width: 50px; height: 50px; }
}

/* =============================================================
   TRANG CHI TIẾT ĐƠN / ĐẶT HÀNG THÀNH CÔNG dùng chung (storefront/done) — 14/09/2026, theo ảnh mẫu
   ============================================================= */
.sfc-od-page { min-height: 62vh; }
.sfc-od-wrap { max-width: 820px; }
.sfc-od-card { background: #fff; border-radius: 10px; padding: 14px 16px; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); font-family: var(--sfc-font); color: var(--sfc-ink); }
.sfc-od-card + .sfc-od-card { margin-top: 10px; }
.sfc-od-ok { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 18px 16px; }
.sfc-od-ok .ic { width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; background: #16a34a;
  box-shadow: 0 8px 18px -8px rgba(22, 163, 74, .8); animation: sfc-db-pop .45s cubic-bezier(.2, .9, .3, 1.4); }
.sfc-od-ok .ic svg { width: 22px; height: 22px; }
.sfc-od-ok b { display: block; font-size: 15px; font-weight: 600; color: #16a34a; }
.sfc-od-ok small { display: block; margin-top: 1px; font-size: 12.5px; color: var(--sfc-muted); }
.sfc-od-ok strong { font-weight: 600; color: var(--sfc-ink); }
.sfc-od-h { margin: 0 0 12px; padding-bottom: 10px; border-bottom: 1px solid #efefef; font-family: var(--sfc-font); font-size: 15px; font-weight: 600;
  line-height: 1.4; letter-spacing: 0; text-transform: none; color: var(--sfc-ink); }
.sfc-od-h em { font-style: normal; font-weight: 400; color: var(--sfc-muted); }
.sfc-od-route .stop { position: relative; display: flex; gap: 12px; padding: 2px 0; }
.sfc-od-route .stop + .stop { margin-top: 10px; }
.sfc-od-route .mk { width: 16px; flex-shrink: 0; display: flex; justify-content: center; padding-top: 3px; color: var(--sfc-accent); }
.sfc-od-route .mk svg { width: 16px; height: 16px; }
.sfc-od-route .dot { width: 9px; height: 9px; margin-top: 3px; border-radius: 50%; background: var(--sfc-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sfc-accent) 18%, #fff); }
.sfc-od-route .is-shop::after { content: ""; position: absolute; left: 7.5px; top: 20px; bottom: -12px; border-left: 1px dashed #d5d5d5; }
.sfc-od-route b { display: block; font-size: 14px; font-weight: 500; color: var(--sfc-ink); }
.sfc-od-route span:not(.mk) { display: block; margin-top: 1px; font-size: 13px; color: var(--sfc-muted); }
.sfc-od-route .gc { font-style: italic; }
.sfc-od-table { border: 1px solid #efefef; border-radius: 8px; overflow: hidden; }
.sfc-od-table .thead, .sfc-od-table .tr { display: grid; grid-template-columns: minmax(0, 1fr) 110px 100px 110px; gap: 10px; align-items: center; padding: 10px 12px; }
.sfc-od-table .thead { background: #f7f7f8; font-size: 13px; font-weight: 600; }
.sfc-od-table .thead span:not(:first-child), .sfc-od-table .tr .c { text-align: right; }
.sfc-od-table .tr { border-top: 1px solid #f0f0f0; }
.sfc-od-table .n { font-size: 13.5px; line-height: 1.4; }
.sfc-od-table .pl { margin-top: 2px; font-size: 12px; color: var(--sfc-muted); }
.sfc-od-table .c { font-size: 13.5px; font-variant-numeric: tabular-nums; }
.sfc-od-table .tt { color: var(--sfc-accent); font-weight: 500; }
.sfc-od-sum { padding-top: 10px; }
.sfc-od-sum > div { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 13.5px; color: var(--sfc-muted); }
.sfc-od-sum > div span:last-child { color: var(--sfc-ink); }
.sfc-od-sum > .sub { font-size: 12.5px; }
.sfc-od-sum > .sub span:last-child { color: var(--sfc-muted); }
.sfc-od-sum > .tong { font-size: 14.5px; font-weight: 600; color: var(--sfc-ink); }
.sfc-od-sum > .tong b { font-size: 17px; font-weight: 600; color: var(--sfc-accent); }
.sfc-od-info > div { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; font-size: 13.5px; }
.sfc-od-info span { color: var(--sfc-muted); }
.sfc-od-info b { font-weight: 500; text-align: right; color: var(--sfc-ink); }
.sfc-od-act { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.sfc-od-back { margin-right: auto; font-size: 14px; color: var(--sfc-muted); text-decoration: none; }
.sfc-od-back:hover { color: var(--sfc-accent); }
.sfc-od-mualai { gap: 8px; padding: 11px 22px; font-size: 14.5px; }
.sfc-od-mualai svg { width: 18px; height: 18px; }
.sfc-od-mualai[disabled] { opacity: .75; cursor: wait; }
@media (max-width: 640px) {
  .sfc-od-table .thead { display: none; }
  .sfc-od-table .tr { grid-template-columns: minmax(0, 1fr) auto auto; }
  .sfc-od-table .dg { display: none; }
  .sfc-od-info > div { flex-direction: column; gap: 2px; }
  .sfc-od-info b { text-align: left; }
  .sfc-od-act { flex-wrap: wrap; }
  .sfc-od-mualai { flex: 1; justify-content: center; }
}

/* =============================================================
   THEO DÕI ĐƠN (thẻ đầu trang storefront/done) + NHÃN TRẠNG THÁI (storefront/account) — 14/09/2026
   Mã trạng thái: cho · xac-nhan · dang-giao · xong · that-bai · huy (StorefrontController::trangThaiDon)
   ============================================================= */
.sfc-od-card.sfc-td { --td-c: #b45309; --td-bg: #fef3c7; --td-ok: #16a34a; padding: 0; overflow: hidden; }
.sfc-td[data-tt="xac-nhan"] { --td-c: #1d4ed8; --td-bg: #dbeafe; }
.sfc-td[data-tt="dang-giao"] { --td-c: #7c3aed; --td-bg: #ede9fe; }
.sfc-td[data-tt="xong"] { --td-c: #15803d; --td-bg: #dcfce7; }
.sfc-td[data-tt="that-bai"], .sfc-td[data-tt="huy"] { --td-c: #b91c1c; --td-bg: #fee2e2; }
.sfc-td.is-doi { animation: sfc-td-doi .7s ease-out; }
@keyframes sfc-td-doi { 0% { box-shadow: 0 0 0 0 var(--td-c); } 100% { box-shadow: 0 0 0 12px transparent; } }
.sfc-td-top { display: flex; align-items: flex-start; gap: 14px; padding: 16px 16px 14px; background: linear-gradient(180deg, var(--td-bg), #fff 92%); }
.sfc-td-top .ic { position: relative; width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--td-c); color: #fff; box-shadow: 0 8px 18px -8px var(--td-c); }
.sfc-td-top .ic svg { width: 22px; height: 22px; }
.sfc-td:not([data-tt="xong"]):not([data-tt="that-bai"]):not([data-tt="huy"]) .sfc-td-top .ic::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--td-c); opacity: 0; animation: sfc-td-song 1.8s ease-out infinite; }
@keyframes sfc-td-song { 0% { transform: scale(.85); opacity: .7; } 100% { transform: scale(1.35); opacity: 0; } }
.sfc-td-top .tt { flex: 1; min-width: 0; }
.sfc-td-top .tt b { display: block; font-size: 16px; font-weight: 600; line-height: 1.35; color: var(--td-c); }
.sfc-td-top .tt p { margin: 3px 0 0; font-size: 13px; line-height: 1.45; color: var(--sfc-ink); }
.sfc-td-top .tt small { display: block; margin-top: 4px; font-size: 12px; line-height: 1.45; color: var(--sfc-muted); }
.sfc-td-top .tt strong { font-weight: 600; color: var(--sfc-ink); }
.sfc-td-live { display: inline-flex; align-items: center; gap: 5px; flex-shrink: 0; padding: 3px 9px; border: 1px solid #ececec; border-radius: 99px; background: #fff;
  font-size: 11.5px; line-height: 1.4; color: var(--sfc-muted); white-space: nowrap; }
.sfc-td-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--td-ok); box-shadow: 0 0 0 3px rgba(22, 163, 74, .18); animation: sfc-td-nhay 1.6s infinite; }
@keyframes sfc-td-nhay { 50% { opacity: .35; } }
.sfc-td-steps { display: grid; grid-template-columns: repeat(var(--td-n, 4), minmax(0, 1fr)); margin: 0; padding: 6px 12px 16px; list-style: none; }
.sfc-td-steps li { position: relative; margin: 0; padding: 0 4px; text-align: center; list-style: none; }
.sfc-td-steps li::before { content: ""; position: absolute; top: 15px; left: calc(-50% + 18px); right: calc(50% + 18px); height: 3px; border-radius: 3px; background: #e5e7eb; }
.sfc-td-steps li:first-child::before { display: none; }
.sfc-td-steps li.noi::before { background: var(--td-ok); }
.sfc-td-steps li.noi.is-fail::before { background: linear-gradient(90deg, var(--td-ok), #dc2626); }
.sfc-td-steps .dot { position: relative; z-index: 1; box-sizing: border-box; width: 33px; height: 33px; margin: 0 auto; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: #fff; border: 2px solid #d1d5db; color: #9ca3af; }
.sfc-td-steps .dot svg { width: 16px; height: 16px; }
.sfc-td-steps li.is-done .dot { background: var(--td-ok); border-color: var(--td-ok); color: #fff; }
.sfc-td-steps li.is-now .dot { border-color: var(--td-c); color: var(--td-c); box-shadow: 0 0 0 5px var(--td-bg); }
.sfc-td-steps li.is-fail .dot { background: #dc2626; border-color: #dc2626; color: #fff; }
.sfc-td-steps b { display: block; margin-top: 8px; font-size: 13px; font-weight: 500; line-height: 1.35; color: #9ca3af; }
.sfc-td-steps li.is-done b { font-weight: 600; color: var(--sfc-ink); }
.sfc-td-steps li.is-now b { font-weight: 600; color: var(--td-c); }
.sfc-td-steps li.is-fail b { font-weight: 600; color: #b91c1c; }
.sfc-td-steps small { display: block; min-height: 15px; margin-top: 2px; font-size: 11.5px; line-height: 1.35; color: var(--sfc-muted); }
.sfc-td-extra { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin: 0 16px 16px; padding: 10px 12px; border-radius: 8px; background: #f8f8f9; font-size: 13px; }
.sfc-td-extra span { color: var(--sfc-muted); }
.sfc-td-extra b { font-weight: 600; color: var(--sfc-ink); }
.sfc-td-extra .chep { margin-left: 6px; padding: 1px 8px; border: 1px solid #d1d5db; border-radius: 5px; background: #fff; font-family: inherit; font-size: 11.5px; color: var(--sfc-ink); cursor: pointer; }
.sfc-td-why { margin: 0 16px 16px; padding: 10px 12px; border: 1px solid #fecaca; border-radius: 8px; background: #fef2f2; font-size: 13px; line-height: 1.5; color: #7f1d1d; }
.sfc-td-why a { font-weight: 600; color: #b91c1c; }
/* nhãn trạng thái ở "Đơn hàng của tôi" */
.sfc-dh-top .l { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; min-width: 0; }
.sfc-dh-pill { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; padding: 3px 10px; border-radius: 99px; font-size: 12px; font-weight: 600; line-height: 1.4;
  white-space: nowrap; color: #b45309; background: #fef3c7; }
.sfc-dh-pill i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.sfc-dh-pill.is-xac-nhan { color: #1d4ed8; background: #dbeafe; }
.sfc-dh-pill.is-dang-giao { color: #7c3aed; background: #ede9fe; }
.sfc-dh-pill.is-xong { color: #15803d; background: #dcfce7; }
.sfc-dh-pill.is-that-bai, .sfc-dh-pill.is-huy { color: #b91c1c; background: #fee2e2; }
@media (max-width: 640px) {
  .sfc-td-top { flex-wrap: wrap; row-gap: 8px; padding: 14px 14px 12px; }
  .sfc-td-top .tt { flex: 0 0 calc(100% - 58px); }
  .sfc-td-live { order: 3; margin-left: 58px; }
  .sfc-td-steps { grid-template-columns: minmax(0, 1fr); padding: 4px 14px 12px; }
  .sfc-td-steps li { display: grid; grid-template-columns: 33px minmax(0, 1fr); column-gap: 12px; padding: 0 0 14px; text-align: left; }
  .sfc-td-steps li:last-child { padding-bottom: 0; }
  .sfc-td-steps li::before { display: none; }
  .sfc-td-steps li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 36px; bottom: 3px; width: 3px; border-radius: 3px; background: #e5e7eb; }
  .sfc-td-steps li.di::after { background: var(--td-ok); }
  .sfc-td-steps .dot { grid-row: span 2; margin: 0; }
  .sfc-td-steps b { margin-top: 1px; }
  .sfc-td-steps small { min-height: 0; }
  .sfc-td-extra { flex-direction: column; align-items: flex-start; gap: 4px; margin: 0 14px 14px; }
  .sfc-td-why { margin: 0 14px 14px; }
}

/* =============================================================
   THANH TRÊN CÙNG trang dùng chung (storefront/_thanh-tren) + BO GÓC KHỐI to hơn — 15/09/2026
   (khối bo tròn + viền mảnh để dễ nhìn trên nền màu của mẫu, vd brocole kem)
   ============================================================= */
.sfc-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin: 0 0 16px; padding: 10px 12px 10px 16px;
  background: #fff; border: 1px solid rgba(24, 16, 10, .06); border-radius: 14px; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); font-family: var(--sfc-font); color: var(--sfc-ink); }
.sfc-top-nav { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 14px; line-height: 1.4; }
.sfc-top-back { display: inline-flex; align-items: center; gap: 4px; font-weight: 500; color: var(--sfc-ink); text-decoration: none; white-space: nowrap; }
.sfc-top-back:hover { color: var(--sfc-accent); text-decoration: none; }
.sfc-top-back svg { width: 16px; height: 16px; flex-shrink: 0; }
.sfc-top-sep { color: #c7c7c7; }
.sfc-top-here { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--sfc-muted); }
.sfc-top-ship { padding: 8px 16px; border-radius: 10px; background: #e0ebff; font-size: 13.5px; line-height: 1.4; color: #1f2937; }
.sfc-top-ship b { font-weight: 700; color: #1d4ed8; }
.sfc-top-ship.is-ok { background: #dcfce7; }
.sfc-top-ship.is-ok b { color: #15803d; }
.sfc-card { border-radius: 14px; border: 1px solid rgba(24, 16, 10, .05); }
.sfc-od-card { border-radius: 14px; }
.sfc-dh-card { border-radius: 16px; }
.sfc-ck-addr { border-radius: 12px; }
.sfc-ck-opt { border-radius: 10px; }
.sfc-ck-lock { border-radius: 10px; }
/* tên trang trên thanh là h1 (các trang dùng chung bỏ tiêu đề lớn) — trả về cỡ chữ thường, không để CSS mẫu phóng to */
h1.sfc-top-here { margin: 0; padding: 0; font-family: var(--sfc-font); font-size: 14px; font-weight: 400; line-height: 1.4; letter-spacing: 0; text-transform: none; color: var(--sfc-muted); }
.sfc-top-so { margin-left: 2px; font-style: normal; color: var(--sfc-muted); }
.sfc-top-so:empty, .sfc-top-so[hidden] { display: none; }
.sfc-dx-top { justify-content: flex-end; margin-bottom: 12px; }
.sfc-dx-top:not(:has(:not([hidden]))) { display: none; }
@media (max-width: 640px) {
  .sfc-top { padding: 10px 12px; border-radius: 12px; }
  .sfc-top-ship { width: 100%; padding: 7px 12px; font-size: 13px; }
}

/* =============================================================
   CHECKOUT "ĐẦY ĐẶN" — 15/09/2026 (mẫu _mockup/checkout-day-dan.html, user duyệt: Sản phẩm · Ưu đãi · Thanh toán vẫn là khối riêng)
   khung rộng hơn, cột phải 380px; bước đánh số 1-2-3; tên/SĐT/email 1 hàng; đơn vị vận chuyển + thanh toán dạng ô lưới;
   Sản phẩm = danh sách gọn ở cột phải; ghi chú đơn thu gọn.
   ============================================================= */
.sfc-ck-page .sfc-wrap { max-width: 1180px; }
.sfc-ck-page .sfc-cart-grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 16px; }
.sfc-ck-page .sfc-ck-left, .sfc-ck-page .sfc-ck-right { gap: 14px; }
.sfc-ck-page .sfc-ck-box { padding: 18px 20px 20px; }
.sfc-ck-n { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin-right: 10px; border-radius: 50%;
  background: var(--sfc-accent); color: #fff; font-size: 12.5px; font-weight: 700; line-height: 1; vertical-align: 1px; }
.sfc-ck-3 { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 14px; }
.sfc-ck-page .sfc-ck-ship { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.sfc-ck-page .sfc-ck-opt { min-height: 62px; padding: 12px 14px; border-radius: 12px; }
.sfc-ck-paygrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
#ckPayList.sfc-ck-paygrid .sfc-ck-opt { border: 1.5px solid #ececec; padding: 12px 14px; border-radius: 12px; min-height: 62px; }
#ckPayList.sfc-ck-paygrid .sfc-ck-opt:hover { border-color: #d6d6d6; }
#ckPayList.sfc-ck-paygrid .sfc-ck-opt.is-on { border-color: var(--sfc-accent); background: color-mix(in srgb, var(--sfc-accent) 5%, #fff); }
#ckPayList.sfc-ck-paygrid .sfc-ck-opt .ic { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; flex-shrink: 0; border-radius: 10px; background: #f4f1ec; font-size: 18px; }
#ckBank .sfc-ck-bank { margin: 12px 0 0; border-radius: 12px; }
.sfc-ck-items { max-height: 340px; overflow-y: auto; margin: 0 -6px; padding: 6px 6px 0; }
.sfc-ck-page .sfc-ck-row.sfc-ck-it { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0;
  border-bottom: 1px dashed #efe9e2; font-size: 14px; }
.sfc-ck-page .sfc-ck-row.sfc-ck-it:last-child { border-bottom: 0; }
.sfc-ck-it .im { position: relative; width: 52px; height: 52px; }
.sfc-ck-it .im img { display: block; width: 52px; height: 52px; object-fit: cover; border-radius: 10px; border: 1px solid #efefef; }
.sfc-ck-it .im i { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: #5f5245; color: #fff;
  font-style: normal; font-size: 11px; font-weight: 600; line-height: 20px; text-align: center; }
.sfc-ck-it .if { min-width: 0; }
.sfc-ck-it .n { font-weight: 500; line-height: 1.35; color: var(--sfc-ink); }
.sfc-ck-it .vl { margin-top: 2px; font-size: 12.5px; color: var(--sfc-muted); }
.sfc-ck-page .sfc-ck-it .m { display: block; margin-top: 2px; font-size: 12.5px; color: var(--sfc-muted); }
.sfc-ck-it .sfc-ck-gc { margin-top: 3px; font-size: 12.5px; }
.sfc-ck-it .tt { font-weight: 600; color: var(--sfc-ink); white-space: nowrap; }
.sfc-ck-page .sfc-ck-prod { padding-bottom: 12px; }
.sfc-ck-notebox .sfc-ck-uu-btn em { max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sfc-ck-notewrap { padding: 0 16px 14px; }
.sfc-ck-notewrap[hidden] { display: none; }
.sfc-ck-notewrap .sfc-ck-note { min-height: 80px; border-radius: 10px; }
.sfc-ck-trust { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed #efe9e2; font-size: 12.5px; color: var(--sfc-muted); }
.sfc-ck-trust span { display: inline-flex; align-items: center; gap: 6px; }
.sfc-ck-trust svg { width: 15px; height: 15px; color: var(--sfc-accent); }
@media (max-width: 1100px) {
  .sfc-ck-3 { grid-template-columns: 1fr 1fr; }
  .sfc-ck-3 > .sfc-fl:last-child { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .sfc-ck-page .sfc-cart-grid { grid-template-columns: 1fr; }
  .sfc-ck-items { max-height: none; }
}
@media (max-width: 640px) {
  .sfc-ck-3 { grid-template-columns: 1fr; }
  .sfc-ck-page .sfc-ck-box { padding: 16px; }
  .sfc-ck-page .sfc-ck-ship, .sfc-ck-paygrid { grid-template-columns: 1fr; }
}
/* 15/09/2026: ô phương thức thanh toán quay lại danh sách dọc như cũ (user) + LOGO THẬT ví/cổng (public/images/ic_momo|ic_mpos|ic_vnPay).
   ic_momo.png là chữ "momo" TRẮNG nền trong -> đặt trên nền hồng MoMo #a50064 như biểu tượng app. */
.sfc-ck-opt .ic.is-logo { display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: 34px; height: 34px; flex-shrink: 0;
  border-radius: 9px; overflow: hidden; background: #fff; border: 1px solid #eee; }
.sfc-ck-opt .ic.is-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.sfc-ck-opt .ic.is-momo { padding: 6px; background: #a50064; border-color: #a50064; }
.sfc-ck-opt .ic.is-mpos { border: 0; }
.sfc-ck-opt .ic.is-vnpay { padding: 2px; }
#ckPayList .sfc-ck-opt .ic { display: flex; align-items: center; justify-content: center; width: 34px; flex-shrink: 0; }   /* emoji cùng bề rộng khung logo -> chữ thẳng hàng */

/* =============================================================
   ĐƠN HÀNG CỦA TÔI — 15/09/2026 làm lại theo ảnh mẫu user: tab trạng thái + "Lịch sử mua hàng" lọc ngày + thẻ đơn gọn
   (ghi đè khối .sfc-dh-* cũ ở trên)
   ============================================================= */
.sfc-dh-page .sfc-dh-wrap { max-width: 1040px; }
.sfc-dh-card { padding: 6px 20px 20px; }
.sfc-dh-tabs { display: flex; gap: 2px; margin: 0 -8px 16px; padding: 0 8px; overflow-x: auto; border-bottom: 1px solid #efefef; scrollbar-width: none; }
.sfc-dh-tabs::-webkit-scrollbar { display: none; }
.sfc-dh-tab { flex: 1 0 auto; min-width: 104px; margin: 0 0 -1px; padding: 13px 14px 11px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: none;
  font-family: var(--sfc-font); font-size: 14px; font-weight: 500; line-height: 1.3; letter-spacing: 0; text-transform: none; color: var(--sfc-muted); cursor: pointer; white-space: nowrap; }
.sfc-dh-tab:hover { color: var(--sfc-ink); }
.sfc-dh-tab.is-on { border-bottom-color: var(--sfc-accent); color: var(--sfc-accent); font-weight: 600; }
.sfc-dh-loc { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0 0 16px; }
.sfc-dh-loc .t { font-family: var(--sfc-font); font-size: 15px; font-weight: 600; color: var(--sfc-ink); }
.sfc-dh-ngay { display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px; border: 1px solid #dedede; border-radius: 10px; background: #fff; }
.sfc-dh-ngay input { width: 138px; height: 32px; margin: 0; padding: 0 4px; border: 0; border-radius: 6px; background: transparent; box-shadow: none; outline: 0;
  font-family: var(--sfc-font); font-size: 14px; font-weight: 400; line-height: normal; color: var(--sfc-ink); }
.sfc-dh-ngay input:focus { background: #f6f6f6; }
.sfc-dh-ngay svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--sfc-muted); }
.sfc-dh-list { display: flex; flex-direction: column; gap: 12px; }
.sfc-dh-page .sfc-dh-don { border: 1px solid #ececec; border-radius: 12px; overflow: hidden; background: #fff; transition: border-color .15s, box-shadow .15s; }
.sfc-dh-page .sfc-dh-don:hover { border-color: #dcdcdc; box-shadow: 0 4px 14px -8px rgba(0, 0, 0, .18); }
.sfc-dh-page .sfc-dh-don + .sfc-dh-don { margin-top: 0; }
.sfc-dh-page .sfc-dh-don[hidden], .sfc-dh-rong-loc[hidden] { display: none; }
.sfc-dh-page .sfc-dh-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px 2px; background: #fff; border-bottom: 0; }
.sfc-dh-page .sfc-dh-top .l { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 14px; color: var(--sfc-muted); }
.sfc-dh-page .sfc-dh-top .l b { font-size: 14px; font-weight: 600; color: var(--sfc-ink); }
.sfc-dh-top .dot { width: 6px; height: 6px; border-radius: 50%; background: #d9d9d9; }
.sfc-dh-page .sfc-dh-pill { padding: 3px 9px; border-radius: 6px; font-size: 12.5px; font-weight: 600; }
.sfc-dh-pill.is-cho { color: #b45309; background: #fef3c7; }
.sfc-dh-pill.is-xu-ly { color: #374151; background: #eeeff1; }
.sfc-dh-pill.is-van-chuyen { color: #1d4ed8; background: #dbeafe; }
.sfc-dh-pill.is-nhan { color: #15803d; background: #dcfce7; }
.sfc-dh-pill.is-huy { color: #b91c1c; background: #fde4e1; }
.sfc-dh-body { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px 16px 14px; }
.sfc-dh-body .im { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; overflow: hidden; border-radius: 8px; background: #f5f5f5; color: #c8c8c8; }
.sfc-dh-body .im img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sfc-dh-body .im svg { width: 28px; height: 28px; }
.sfc-dh-body .if { min-width: 0; }
.sfc-dh-body .n { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--sfc-ink); }
.sfc-dh-body .n small, .sfc-dh-body .gia small { font-size: 13px; font-weight: 400; color: var(--sfc-muted); }
.sfc-dh-body .gia { margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--sfc-ink); }
.sfc-dh-body .them { margin-top: 3px; font-size: 13px; color: var(--sfc-muted); }
.sfc-dh-body .r { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; text-align: right; }
.sfc-dh-body .tong { font-size: 14px; color: var(--sfc-ink); white-space: nowrap; }
.sfc-dh-body .tong b { margin-left: 4px; font-size: 17px; font-weight: 700; color: var(--sfc-accent); }
.sfc-dh-body .ct { display: inline-flex; align-items: center; gap: 2px; font-size: 14px; font-weight: 500; color: var(--sfc-ink); text-decoration: none; }
.sfc-dh-body .ct:hover { color: var(--sfc-accent); text-decoration: none; }
.sfc-dh-body .ct svg { width: 16px; height: 16px; }
.sfc-dh-rong-loc { padding: 30px 16px 16px; }
@media (max-width: 640px) {
  .sfc-dh-card { padding: 4px 12px 14px; }
  .sfc-dh-tab { flex: 0 0 auto; min-width: 0; padding: 12px 12px 10px; }
  .sfc-dh-ngay { width: 100%; justify-content: space-between; }
  .sfc-dh-ngay input { width: 44%; }
  .sfc-dh-page .sfc-dh-top { align-items: flex-start; padding: 11px 12px 2px; }
  .sfc-dh-page .sfc-dh-top .l { flex-direction: column; align-items: flex-start; gap: 2px; font-size: 13px; }
  .sfc-dh-page .sfc-dh-top .l b { font-size: 13.5px; }
  .sfc-dh-top .dot { display: none; }
  .sfc-dh-page .sfc-dh-pill { flex-shrink: 0; margin-top: 1px; }
  .sfc-dh-body { grid-template-columns: 56px minmax(0, 1fr); padding: 10px 12px 12px; }
  .sfc-dh-body .im { width: 56px; height: 56px; }
  .sfc-dh-body .r { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; padding-top: 10px; border-top: 1px dashed #efefef; }
}

/* =============================================================
   SẢN PHẨM YÊU THÍCH — trang dùng chung (15/09/2026), bản vẽ shop-tpl/_mockup/yeu-thich.html. Thẻ do shop-tpl/yeu-thich.js vẽ.
   ============================================================= */
.sfc-yt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.sfc-yt-card { position: relative; display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid rgba(24, 16, 10, .06); border-radius: 14px; transition: transform .18s, box-shadow .18s; }
.sfc-yt-card:hover { transform: translateY(-3px); box-shadow: 0 18px 32px -20px rgba(24, 16, 10, .45); }
.sfc-yt-card .im { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; margin: 10px 10px 0; overflow: hidden; border-radius: 10px; background: var(--sfc-soft); color: #cdbfb2; }
.sfc-yt-card .im img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sfc-yt-card .im svg { width: 44px; height: 44px; }
.sfc-yt-card .tim { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 34px; height: 34px; margin: 0; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .94); box-shadow: 0 3px 10px rgba(0, 0, 0, .14); color: #e0355c; cursor: pointer; transition: transform .15s; }
.sfc-yt-card .tim svg { display: block; width: 17px; height: 17px; fill: #e0355c; stroke: #e0355c; stroke-width: 1.9; stroke-linejoin: round; }
.sfc-yt-card .tim:hover { transform: scale(1.1); }
.sfc-yt-card .tim:focus-visible { outline: 2px solid #e0355c; outline-offset: 2px; }
.sfc-yt-card .bd { display: flex; flex: 1; flex-direction: column; padding: 10px 12px 12px; }
.sfc-yt-card .nm { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; line-height: 1.4;
  font-family: var(--sfc-font); font-size: 14px; font-weight: 500; color: var(--sfc-ink); text-decoration: none; }
.sfc-yt-card .nm:hover { color: var(--sfc-accent); text-decoration: none; }
.sfc-yt-card .pr { margin: 6px 0 10px; font-size: 15px; font-weight: 700; color: var(--sfc-accent); }
.sfc-yt-card .pr s { margin-left: 4px; font-size: 12.5px; font-weight: 400; color: var(--sfc-muted); }
.sfc-yt-card .mua { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: auto; padding: 9px 10px; border-radius: 10px;
  background: rgba(0, 0, 0, .05); background: color-mix(in srgb, var(--sfc-accent) 12%, #fff); color: var(--sfc-accent);
  font-family: var(--sfc-font); font-size: 14px; font-weight: 600; line-height: 1.2; text-decoration: none; transition: background .15s, color .15s; }
.sfc-yt-card .mua svg { width: 17px; height: 17px; flex-shrink: 0; }
.sfc-yt-card .mua:hover { background: var(--sfc-accent); color: #fff; text-decoration: none; }
@media (max-width: 640px) {
  .sfc-yt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .sfc-yt-card .im { margin: 8px 8px 0; }
  .sfc-yt-card .tim { top: 14px; right: 14px; width: 30px; height: 30px; }
  .sfc-yt-card .bd { padding: 8px 10px 10px; }
  .sfc-yt-card .nm { font-size: 13.5px; }
}

/* =============================================================
   TRA CỨU ĐƠN HÀNG — trang dùng chung (15/09/2026), bản vẽ shop-tpl/_mockup/tra-cuu-don.html. Thẻ đơn = .sfc-dh-* (storefront/_the-don).
   ============================================================= */
.sfc-dh-page.sfc-tc-page .sfc-dh-card + .sfc-dh-card { margin-top: 16px; }
.sfc-tc-card { padding: 22px 22px 20px; }
.sfc-tc-lead { margin: 0 0 14px; font-size: 14.5px; line-height: 1.6; color: var(--sfc-muted); }
.sfc-tc-lead b { font-weight: 600; color: var(--sfc-ink); }
.sfc-tc-form { display: flex; gap: 10px; margin: 0; }
.sfc-tc-o { position: relative; flex: 1; min-width: 0; margin: 0; }
.sfc-tc-o svg { position: absolute; left: 14px; top: 50%; width: 19px; height: 19px; transform: translateY(-50%); color: var(--sfc-muted); pointer-events: none; }
.sfc-tc-o input { width: 100%; height: 50px; margin: 0; padding: 0 14px 0 44px; border: 1px solid #dedede; border-radius: 12px; background: #fff; box-shadow: none; outline: 0;
  font-family: var(--sfc-font); font-size: 15px; font-weight: 400; line-height: normal; color: var(--sfc-ink); }
.sfc-tc-o input:focus { border-color: var(--sfc-accent); box-shadow: 0 0 0 3px rgba(0, 0, 0, .06); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sfc-accent) 15%, transparent); }
.sfc-tc-form .sfc-btn-red { width: auto; height: 50px; margin: 0; padding: 0 26px; white-space: nowrap; }
.sfc-tc-loi { display: flex; gap: 9px; align-items: flex-start; margin-top: 12px; padding: 11px 14px; border-radius: 10px; background: #fdecea; color: #b42318; font-size: 14px; line-height: 1.5; }
.sfc-tc-loi svg { width: 19px; height: 19px; flex-shrink: 0; margin-top: 1px; }
.sfc-tc-goiy { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sfc-tc-goiy > div { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px dashed #e3e3e3; border-radius: 12px; }
.sfc-tc-goiy .ic { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px;
  background: rgba(0, 0, 0, .05); background: color-mix(in srgb, var(--sfc-accent) 12%, #fff); color: var(--sfc-accent); }
.sfc-tc-goiy .ic svg { width: 21px; height: 21px; }
.sfc-tc-goiy b { display: block; font-size: 14.5px; font-weight: 600; color: var(--sfc-ink); }
.sfc-tc-goiy small { display: block; margin-top: 2px; font-size: 13px; line-height: 1.5; color: var(--sfc-muted); }
.sfc-tc-dn { margin: 14px 0 0; font-size: 13.5px; color: var(--sfc-muted); }
.sfc-tc-dn a { font-weight: 600; color: var(--sfc-accent); text-decoration: none; }
.sfc-tc-dn a:hover { text-decoration: underline; }
.sfc-tc-kq { margin: 2px 0 14px; font-size: 14.5px; color: var(--sfc-muted); }
.sfc-tc-kq b { color: var(--sfc-ink); }
/* "Xem chi tiết" không xuống dòng ở phông rộng (brocole-cafe) — áp cho cả trang Đơn hàng của tôi */
.sfc-dh-body .ct { white-space: nowrap; }
@media (max-width: 640px) {
  .sfc-tc-card { padding: 16px 14px; }
  .sfc-tc-form { flex-direction: column; }
  .sfc-tc-form .sfc-btn-red { width: 100%; }
  .sfc-tc-goiy { grid-template-columns: 1fr; }
  .sfc-dh-body .tong b { font-size: 16px; }
}

/* =============================================================
   CHÂN TRANG DÍNH ĐÁY (15/09/2026) — trang dùng chung ngắn (Tra cứu, Yêu thích/Đã xem trống…) trên màn cao thì footer
   nổi lên giữa màn. Body thành cột flex cao tối thiểu 1 màn, khối con của body chứa .sfc-cart-page (brocole: chính nó;
   tach/c/billard: <main>) giãn ra đẩy footer xuống. Trang dài không đổi; trình duyệt không có :has() giữ như cũ.
   ============================================================= */
body:has(.sfc-cart-page) { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
body:has(.sfc-cart-page) > .sfc-cart-page,
body:has(.sfc-cart-page) > :has(.sfc-cart-page) { flex: 1 0 auto; }
/* tach/c/billard: <main> giãn nhưng nền trang nằm ở .sfc-cart-page bên trong -> cho <main> xếp cột để nền giãn theo (không hở mảng trắng trên footer) */
body:has(.sfc-cart-page) > :has(> .sfc-cart-page) { display: flex; flex-direction: column; }
body:has(.sfc-cart-page) > :has(> .sfc-cart-page) > .sfc-cart-page { flex: 1 0 auto; }

/* =============================================================
   NÚT TÀI KHOẢN ĐẦU TRANG (16/09/2026) — chữ cái đầu tên khách, dùng chung mọi mẫu (storefront/_nut-dau-trang).
   ============================================================= */
.sfc-nut-av { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--sfc-accent, #c2185b); color: #fff; font-family: var(--sfc-font); font-size: 12.5px; font-weight: 700; line-height: 1; }

/* =============================================================
   TRANG ĐĂNG NHẬP / ĐĂNG KÝ / QUÊN MK / ĐẶT LẠI MK (16/09/2026) — dùng LẠI form của popup chung (_login-popup, tham số lpTrang)
   nhưng hiện thẳng trong trang: bỏ nền mờ, bỏ canh giữa màn hình, bỏ hiệu ứng mở.
   ============================================================= */
.sfc-auth-o { display: flex; justify-content: center; padding: 4px 0 8px; }
.sfc-modal.sfc-auth-trang { position: static; left: auto; top: auto; z-index: auto; transform: none; opacity: 1;
  max-height: none; overflow: visible; width: min(480px, 100%); border: 1px solid rgba(24, 16, 10, .06); border-radius: 18px;
  box-shadow: 0 24px 50px -32px rgba(24, 16, 10, .45); }
.sfc-auth-trang .sfc-main { padding: 32px 32px 26px; }
.sfc-auth-trang .sfc-main::before { display: none; }
.sfc-auth-trang .sfc-btn { text-decoration: none; }
@media (max-width: 720px) {
  .sfc-modal.sfc-auth-trang { width: 100%; border-radius: 16px; transform: none; }
  .sfc-auth-trang .sfc-main { padding: 24px 18px 22px; }
}
