/* Phần khách hàng */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ct { min-height: 96px; padding: 14px; display: flex; flex-direction: column; justify-content: center; gap: 6px; background: var(--card); border-radius: 22px; color: var(--brand); box-shadow: var(--shadow); transition: background .12s; }
.ct:hover { background: var(--peach); }
.ct span { min-width: 0; }
.ct b { display: block; font-size: 14.5px; font-weight: 800; color: var(--ink); line-height: 1.2; }
.ct small { display: block; font-size: 12px; font-weight: 600; color: var(--mut); line-height: 1.3; }

.chead { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; }
.chead .who { flex: none; }
.ctitle { padding-top: 18px; font-size: 26px; font-weight: 900; line-height: 1.15; letter-spacing: -.01em; text-wrap: balance; }
.ctitle.sm { padding-top: 0; font-size: 19px; }
.csub { padding-top: 8px; color: var(--cream); font-size: 14px; }
.cnav { display: none; align-items: center; gap: 4px; }
.cnav a { min-height: 44px; display: flex; align-items: center; padding: 8px 14px; border-radius: 22px; font-weight: 800; font-size: 13px; white-space: nowrap; }
.cnav a:hover { background: rgba(255, 255, 255, .16); }
.cnav a.on { background: rgba(255, 255, 255, .22); }
.cnav .cnav-main { margin-left: 6px; background: #fff; color: var(--brand); font-weight: 900; }
.cnav .cnav-main:hover { background: var(--peach); }

.cgrid { display: grid; gap: 12px; }
.copt { min-height: 78px; }
.copt-ic { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 15px; background: var(--peach); color: var(--brand); }
.copt.on .copt-ic { background: var(--deep); color: #fff; }
.cflat { padding: 0; box-shadow: none; border-radius: 0; }
.csec { padding-top: 12px; font-size: 19px; font-weight: 900; color: var(--deep); }
.cleft { text-align: left; }
.csteps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.csteps li { display: flex; align-items: flex-start; gap: 12px; padding: 14px; background: var(--card); border-radius: 22px; box-shadow: var(--shadow); }
.cn { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--deep); color: #fff; font-weight: 900; }
.csteps b, .cpromise b { display: block; font-size: 14.5px; font-weight: 800; line-height: 1.25; }
.csteps small, .cpromise small { display: block; font-size: 12px; color: var(--mut); }
.cpromise { display: grid; gap: 10px; }
.cpromise .box { gap: 6px; }

.cprice { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.cprice b { font-size: 17px; font-weight: 900; color: var(--deep); white-space: nowrap; }
.chips.even2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.chips.even2 .chip { padding: 8px 6px; text-align: center; }
.chips.even3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.chips.even3 .chip { padding: 8px 2px; text-align: center; }

.cpromo { display: flex; gap: 8px; }
.cpromo .inp { flex: 1; min-width: 0; }
.cpromo .btn { width: auto; flex: none; min-height: 56px; border-radius: 18px; padding-inline: 18px; font-size: 14px; }
.kvs { display: block; font-size: 12px; color: var(--mut); font-weight: 600; }
.ctotal b { font-size: 17px; font-weight: 900; color: var(--deep); }
.cqr { align-items: center; text-align: center; }
.cqr .qr { width: 210px; height: 210px; }
.cqr b { font-size: 15.5px; font-weight: 900; color: var(--deep); }
.cqr small, .cinvite small { font-size: 12px; color: var(--mut); }
.cinvite { background: var(--peach); box-shadow: none; gap: 4px; }
.cinvite b { font-weight: 900; color: var(--deep); }
.cards a.ord { color: inherit; }
.cards a.ord .ord-head b { display: block; }

@media (min-width: 900px) {
  .cnav { display: flex; }
  .ctitle { font-size: 34.5px; max-width: 760px; }
  .ctitle.sm { font-size: 20.5px; }
  .cgrid { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .csteps { grid-template-columns: repeat(4, 1fr); }
  .csteps li { flex-direction: column; }
  .cpromise { grid-template-columns: repeat(3, 1fr); }
  .contact { grid-template-columns: repeat(4, 1fr); }
  .chips.even2 { max-width: none; }
}

/* Chọn ngôn ngữ */
.langp { position: relative; display: inline-flex; align-items: center; gap: 4px; margin-left: auto; padding: 0 6px 0 10px; height: 40px; border-radius: 99px; background: rgba(255,255,255,.18); color: #fff; }
.langp svg.i { width: 18px; height: 18px; flex: none; }
.langp select { appearance: none; -webkit-appearance: none; border: 0; background: transparent; color: inherit; font: inherit; font-size: 12px; font-weight: 800; padding: 0 4px; cursor: pointer; }
.langp select option { color: #3B2414; }
.langp:focus-within { outline: 3px solid #fff; outline-offset: 2px; }
.who .langp { flex: none; }
.clang { display: flex; justify-content: flex-end; margin-top: 8px; }
.wrap > .clang .langp { background: var(--peach); color: var(--brand); }

/* Trang khách mở đầu: logo, 2 thẻ dịch vụ, 4 nút tròn */
.page.landing { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; max-width: none; padding: 0 16px calc(22px + env(safe-area-inset-bottom)); background: var(--hero); color: #fff; }
.landing > * { width: 100%; max-width: 440px; margin-inline: auto; }
.ltop { display: flex; align-items: center; gap: 8px; padding-top: calc(16px + env(safe-area-inset-top)); }
.lgin { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px 0 10px; border-radius: 99px; background: rgba(255,255,255,.18); color: #fff; font-size: 13px; font-weight: 900; }
.lgin svg.i { width: 20px; height: 20px; }
.lgin:hover, .langbtn:hover { background: rgba(255,255,255,.28); }
.lbrand { text-align: center; margin-top: clamp(24px, 7vh, 64px); }
.lbrand img { width: 92px; height: 92px; border-radius: 50%; background: #fff; padding: 13px; box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.lbrand h1 { margin-top: 12px; font-size: 26px; font-weight: 900; letter-spacing: .04em; }
.lbrand p { font-size: 13.5px; font-weight: 700; opacity: .85; }
.lcards { display: flex; flex-direction: column; gap: 14px; margin-top: clamp(28px, 8vh, 72px); }
.lcard { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px; border-radius: 22px; background: #fff; color: var(--deep); text-align: left; box-shadow: 0 14px 30px rgba(40,20,5,.28); }
.lcard:hover { background: #FFFDFB; transform: translateY(-1px); }
.lcard .ic { width: 50px; height: 50px; flex: none; display: grid; place-items: center; border-radius: 16px; background: var(--peach); color: var(--brand); }
.lcard.main .ic { background: var(--deep); color: #fff; }
.lcard .ic svg.i { width: 26px; height: 26px; }
.lcard .t { flex: 1; min-width: 0; }
.lcard b { display: block; font-size: 17px; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lcard small { display: block; font-size: 13px; font-weight: 700; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lcard > svg.i { width: 22px; height: 22px; color: var(--brand); flex: none; }
.llinks { margin-top: auto; padding-top: 28px; display: grid; grid-template-columns: repeat(4, 1fr); }
.llinks a { display: flex; flex-direction: column; align-items: center; gap: 6px; color: #fff; font-size: 12px; font-weight: 800; white-space: nowrap; }
.llinks span { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.16); box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); }
.llinks a:hover span { background: rgba(255,255,255,.26); }
.llinks svg.i { width: 22px; height: 22px; }

/* Nút cờ và bảng chọn ngôn ngữ */
.flag { display: inline-block; width: 26px; height: 18px; flex: none; border-radius: 4px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0,0,0,.1); }
.flag svg { display: block; width: 100%; height: 100%; }
.langbtn { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px 0 8px; border-radius: 99px; background: rgba(255,255,255,.18); color: #fff; font-size: 13px; font-weight: 900; flex: none; }
.wrap .langbtn, .clang .langbtn { background: var(--peach); color: var(--brand); }
.hero .clang .langbtn { background: rgba(255,255,255,.18); color: #fff; }
.who .langbtn { margin-left: auto; }
.lgate { position: fixed; inset: 0; z-index: 200; display: flex; overflow-y: auto; padding: calc(24px + env(safe-area-inset-top)) 20px calc(24px + env(safe-area-inset-bottom)); background: var(--hero); color: #fff; }
.lgate-in { width: 100%; max-width: 420px; margin: auto; text-align: center; animation: lup .22s ease-out; }
.lgate img { width: 84px; height: 84px; border-radius: 50%; border: 3px solid #fff; display: block; margin: 0 auto 16px; background: #fff; }
.lgate h1 { margin: 0; font-size: 28px; font-weight: 900; line-height: 1.2; }
.lgate p { margin: 4px 0 22px; font-size: 16px; font-weight: 700; color: var(--peach); }
.lgate-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lgate-list button { display: flex; align-items: center; gap: 10px; min-height: 60px; padding: 0 14px; border-radius: 18px; background: #fff; color: var(--deep); font-size: 16px; font-weight: 800; text-align: left; box-shadow: var(--shadow); }
.lgate-list button:hover { background: var(--peach); }
.lgate-list button:focus-visible { outline: 3px solid #E2B26E; outline-offset: 2px; }
.lgate-list .flag { width: 32px; height: 22px; flex: none; }
.lgate-list span:last-child { white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .lgate-in { animation: none; } }
.lsheet-dim { position: fixed; inset: 0; z-index: 60; background: rgba(40,25,15,.45); }
.lsheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 61; max-width: 520px; margin: 0 auto; padding: 12px 16px calc(20px + env(safe-area-inset-bottom)); border-radius: 26px 26px 0 0; background: #fff; color: var(--ink); animation: lup .18s ease-out; }
.lsheet .grab { width: 44px; height: 5px; border-radius: 3px; background: #D9C3AA; margin: 0 auto 12px; }
.lsheet h2 { margin: 0 4px 10px; font-size: 18px; font-weight: 900; color: var(--deep); }
.lgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lgrid button { display: flex; align-items: center; gap: 10px; padding: 13px 12px; border-radius: 16px; background: var(--bg); font-size: 15px; font-weight: 800; color: var(--ink); text-align: left; }
.lgrid button.on { background: var(--peach); box-shadow: inset 0 0 0 2px var(--brand); color: var(--deep); }
.lgrid .flag { width: 30px; height: 21px; }
@keyframes lup { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .lsheet { animation: none; } }
.phonein { display: flex; align-items: center; gap: 8px; }
.phonein > span { font-weight: 800; color: var(--mut); }
.phonein .inp { flex: 1; min-width: 0; }

@media (min-width: 900px) { .csteps, .cpromise { grid-template-columns: 1fr !important; } }
.ltop .sp { flex: 1; }
@media (min-width: 900px) { .landing > .ltop { max-width: none; padding-inline: 16px; } }

/* Nút ngôn ngữ cố định góc trên bên phải trên mọi trang khách */
.subhead .langbtn, .chead .langbtn, .who .langbtn { margin-left: auto; flex: none; background: rgba(255,255,255,.18); color: #fff; }
.chead .ctitle { flex: 1; min-width: 0; }
.ltop { padding-top: calc(21px + env(safe-area-inset-top)); }
@media (min-width: 900px) {
  .hero { position: relative; }
  .hero .langbtn { position: absolute; top: 21px; right: 32px; margin: 0; }
  .landing > .ltop { padding-inline: 16px; }
}

/* Chọn đơn vị ước lượng: kg hoặc túi */
.unitrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.unitrow > span { font-size: 14px; font-weight: 900; color: var(--deep); }
.unitseg { display: flex; padding: 3px; gap: 3px; border-radius: 14px; background: var(--peach); }
.unitseg button { min-width: 64px; height: 36px; padding: 0 12px; border-radius: 11px; font-size: 14px; font-weight: 900; color: var(--brand); }
.unitseg button.on { background: var(--deep); color: #fff; }
.unitseg button { display: inline-flex; align-items: center; justify-content: center; text-align: center; }

/* Bản đồ ghim vị trí lấy đồ */
.pmbox { display: flex; flex-direction: column; gap: 8px; }
.pickmap { position: relative; height: 230px; border-radius: 18px; overflow: hidden; background: #E8E2D8; touch-action: none; cursor: grab; box-shadow: inset 0 0 0 2px var(--line); }
.pickmap.drag { cursor: grabbing; }
.pm-layer { position: absolute; inset: 0; }
.pm-layer img { position: absolute; width: 256px; height: 256px; user-select: none; pointer-events: none; }
.pm-pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%); color: #B42318; pointer-events: none; filter: drop-shadow(0 3px 3px rgba(0,0,0,.35)); }
.pm-pin svg.i { width: 40px; height: 40px; fill: #fff; stroke-width: 2.4; }
.pm-zoom { position: absolute; right: 8px; top: 8px; display: flex; flex-direction: column; gap: 6px; }
.pm-zoom button { width: 36px; height: 36px; border-radius: 10px; background: #fff; color: var(--deep); display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.pm-zoom button svg.i { width: 18px; height: 18px; }
.pm-attr { position: absolute; right: 6px; bottom: 4px; padding: 1px 6px; border-radius: 6px; background: rgba(255,255,255,.85); font-size: 11px; color: #333; }

/* Địa chỉ tiệm cho khách giặt tại tiệm */
.storebox { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 20px; background: var(--peach); flex-wrap: wrap; }
.storebox .ic { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 14px; background: var(--deep); color: #fff; }
.storebox .t { flex: 1; min-width: 0; }
.storebox b { display: block; font-size: 15px; font-weight: 900; color: var(--deep); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.storebox small { display: block; font-size: 12.5px; font-weight: 700; color: var(--brand); }
.storebox .btn { width: 100%; min-height: 46px; background: #fff; }

/* Khách đánh giá đơn */
.ratebox { text-align: center; align-items: center; }
.ratebox .box-t { margin: 0; }
.starpick { display: flex; justify-content: center; gap: 6px; }
.starpick button { width: 46px; height: 46px; font-size: 34px; line-height: 1; color: #E2CDB4; }
.starpick button.on { color: #E8A317; }
.ratebox .chips { justify-content: center; }
.ratebox textarea { width: 100%; }
.ratebox .btn { width: 100%; }
.ratebox .stars, .stars { font-size: 26px; letter-spacing: 2px; color: #E8A317; }
.ratebox.done b { font-size: 16px; color: var(--deep); }

/* Ô số điện thoại có quốc kỳ, mã nước */
.phonein { gap: 8px; }
.ccbtn { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 56px; padding: 0 10px 0 12px; border: 2px solid var(--line); border-radius: 18px; background: var(--card); font-size: 15px; font-weight: 800; color: var(--deep); }
.ccbtn:focus-visible { outline: none; border-color: #A5682D; box-shadow: 0 0 0 3px var(--peach); }
.ccbtn .cchev { width: 16px; height: 16px; color: var(--mut); }
.flag.emo { display: inline-grid; place-items: center; box-shadow: none; font-size: 19px; line-height: 1; overflow: visible; }
.phint { display: flex; align-items: flex-start; gap: 8px; margin: 2px 0 0; padding: 10px 12px; border-radius: 14px; background: var(--peach); color: var(--deep); font-size: 13px; font-weight: 700; text-align: left; }
.phint svg.i { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--brand); }
.ccsheet { max-height: 78vh; display: flex; flex-direction: column; }
.cclist { overflow-y: auto; display: flex; flex-direction: column; gap: 4px; padding-bottom: 4px; }
.cclist button { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 12px; border-radius: 14px; text-align: left; font-size: 15px; font-weight: 700; color: var(--ink); }
.cclist button:hover { background: var(--bg); }
.cclist button.on { background: var(--peach); box-shadow: inset 0 0 0 2px var(--brand); }
.cclist .ccn { flex: 1; min-width: 0; }
.cclist b { color: var(--mut); font-weight: 800; }
/* Bảng khung giá trong trang Bảng giá */
.ctiers { display: flex; flex-direction: column; margin-top: 6px; padding: 10px 12px; border-radius: 16px; background: var(--bg); }
.ctiers > small { font-size: 12.5px; font-weight: 900; color: var(--brand); text-transform: uppercase; letter-spacing: .04em; }
.ctiers .kv { padding: 6px 0; }

/* Lưu ý trước khi gửi đồ (bước cuối đặt đơn) */
.cnotice { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 24px; background: var(--card); box-shadow: var(--shadow); }
.cnotice h2 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 15.5px; font-weight: 900; color: var(--deep); }
.cnotice h2 svg.i { width: 22px; height: 22px; color: #B45309; }
.cn-top { display: flex; flex-direction: column; gap: 8px; }
.cn-top > div { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 16px; background: var(--peach); }
.cn-top i { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: var(--deep); color: var(--cream); font-style: normal; }
.cn-top i svg.i { width: 20px; height: 20px; }
.cn-top b { display: block; font-size: 14px; font-weight: 900; color: var(--deep); line-height: 1.25; }
.cn-top small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 700; color: var(--mut); line-height: 1.35; }
.cn-list { margin: 2px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.cn-list li { display: flex; gap: 10px; align-items: flex-start; padding: 9px 2px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--ink); line-height: 1.35; }
.cn-list li svg.i { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--brand); }

.phodd { margin: 2px 0 0; padding: 8px 12px; border-radius: 12px; background: #FEF3C7; color: #92400E; font-size: 12.5px; font-weight: 800; }

/* Tìm quốc gia */
.ccsearch { position: relative; display: block; margin: 0 0 10px; }
.ccsearch input { width: 100%; min-height: 52px; padding: 12px 16px 12px 46px; border: 2px solid var(--line); border-radius: 16px; background: var(--bg); font: inherit; font-size: 15px; font-weight: 700; color: var(--ink); }
.ccsearch input:focus { outline: none; border-color: #A5682D; box-shadow: 0 0 0 3px var(--peach); background: #fff; }
.ccsearch input::-webkit-search-cancel-button { cursor: pointer; }
.ccsearch svg.i { position: absolute; left: 14px; top: 50%; width: 20px; height: 20px; margin-top: -10px; color: var(--mut); }
.cclist button[hidden], .ccempty[hidden] { display: none; }
.ccempty { margin: 0; padding: 18px; text-align: center; color: var(--mut); font-weight: 700; }

/* Chọn app liên hệ */
.chan { display: flex; flex-direction: column; gap: 8px; }
.chan > label, .chhead label { font-size: 14px; font-weight: 900; color: var(--deep); }
.chan > label small, .chhead label small { font-size: 12px; font-weight: 600; color: var(--mut); }
.chgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
/* Dạng thu gọn: 1 dòng */
.chline { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 6px 8px 6px 14px; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 2px var(--line); text-align: left; color: var(--ink); }
.chl-t { flex: none; font-size: 13.5px; font-weight: 900; color: var(--deep); }
.chl-v { display: flex; align-items: center; justify-content: flex-end; gap: 6px; flex: 1; min-width: 0; overflow: hidden; }
.chv { display: inline-flex; flex: none; align-items: center; gap: 5px; font-size: 13.5px; font-weight: 800; white-space: nowrap; }
.chv .chi { width: 26px; height: 26px; border-radius: 8px; }
.chv .chi svg { width: 17px; height: 17px; }
.chv-none { color: var(--mut); font-weight: 700; }
.chl-e { flex: none; padding: 7px 12px; border-radius: 12px; background: var(--peach); font-size: 13px; font-weight: 900; color: var(--brand); }
.chhead { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.chdone { flex: none; padding: 7px 14px; border-radius: 12px; background: var(--brand); font-size: 13px; font-weight: 900; color: #fff; }
.chb { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; padding: 7px 2px 6px; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 2px var(--line); font-size: 11.5px; font-weight: 800; color: var(--ink); }
.chb span:last-child { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chb.on { background: var(--peach); box-shadow: inset 0 0 0 2px var(--brand); }
.chb.on::after { content: ""; position: absolute; top: 4px; right: 4px; width: 15px; height: 15px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 9px no-repeat; }
.chi { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 10px; }
.chi svg { width: 21px; height: 21px; }
.chi-more { background: var(--bg); color: var(--brand); }
.chi-more svg.i { width: 20px; height: 20px; }
.chid { margin-top: 2px; }
.chact { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.cha { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 8px 12px; border-radius: 16px; background: var(--card); box-shadow: var(--shadow); text-align: left; color: var(--ink); }
.cha b { display: block; font-size: 14px; font-weight: 900; }
.cha small { display: block; font-size: 11.5px; font-weight: 700; color: var(--mut); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cha span { min-width: 0; }
.cha .chi { width: 32px; height: 32px; border-radius: 10px; }
@media (min-width: 700px) { .chgrid { grid-template-columns: repeat(8, 1fr); } .chact { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); } }

/* Xác nhận đơn: thẻ "Đơn của bạn" (anh 07/11) */
.csum { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 22px; background: var(--card); box-shadow: var(--shadow); }
.csum-h { display: flex; align-items: center; gap: 12px; }
.csum-ic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--peach); color: var(--brand); }
.csum-ic svg.i { width: 24px; height: 24px; }
.csum-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.csum-t small { font-size: 12.5px; font-weight: 700; color: var(--mut); line-height: 1.3; }
.csum-t small:first-child { font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.csum-t b { font-size: 16px; font-weight: 900; color: var(--deep); line-height: 1.25; }
.csum-e { flex: none; padding: 8px 14px; border-radius: 12px; background: var(--peach); font-size: 13px; font-weight: 900; color: var(--brand); }
.csum-p { padding-top: 6px; border-top: 1px solid var(--line); }
.csum-p .kv { padding: 6px 0; border: 0; }
/* Popup lưu ý trước khi gửi đồ */
.nsheet { display: flex; flex-direction: column; max-height: 90dvh; padding-bottom: 0; overflow: hidden; }
.nsheet-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; margin: 0 -16px; padding: 0 16px 6px; }
.nsheet .cnotice { padding: 0; box-shadow: none; background: none; }
.nsheet .cnotice h2 { font-size: 18px; }
.nsheet-act { display: grid; grid-template-columns: 1fr 2fr; gap: 8px; margin: 0 -16px; padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -4px 14px rgba(126, 74, 30, .08); }
.nsheet-act .btn { min-height: 52px; }
.cn-weigh { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 12px; border-radius: 16px; background: var(--deep); color: var(--cream); font-size: 14px; font-weight: 800; line-height: 1.35; }
.cn-weigh svg.i { flex: none; width: 20px; height: 20px; margin-top: 1px; }
@media (min-width: 700px) { .nsheet { bottom: 50%; transform: translateY(50%); border-radius: 26px; max-height: 86vh; } .nsheet .grab { display: none; } }

/* Trang theo dõi đơn gọn (anh 07/11) */
.storeline { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; background: var(--peach); color: var(--deep); }
.storeline > svg.i { flex: none; width: 24px; height: 24px; color: var(--brand); }
.storeline b { display: block; font-size: 14px; font-weight: 900; line-height: 1.25; }
.storeline small { display: block; font-size: 12px; font-weight: 700; color: var(--mut); }
.ctmini { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ctmini.five { grid-template-columns: repeat(5, 1fr); gap: 6px; }
.ctm { display: flex; flex-direction: column; align-items: center; gap: 5px; min-width: 0; padding: 10px 2px 8px; border-radius: 16px; background: var(--card); box-shadow: var(--shadow); font-size: 12px; font-weight: 800; color: var(--ink); text-decoration: none; }
.ctm > span:last-child { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chi-map { background: var(--peach); color: var(--brand); }
.chi-map svg.i { width: 20px; height: 20px; }
.minirow.one { grid-template-columns: 1fr; }
/* Màn mã QR ngay sau khi đặt */
.qf-ok { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 0 10px; color: #fff; }
.qf-ok span { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.2); }
.qf-ok span svg.i { width: 30px; height: 30px; }
.qf-ok b { font-size: 22px; font-weight: 900; }
.qf-card { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 0 auto; padding: 20px; width: min(100%, 320px); border-radius: 26px; background: #fff; box-shadow: var(--shadow); }
.qf-card .qr { width: 240px; height: 240px; }
.qf-no { font-size: 17px; font-weight: 900; color: var(--deep); }
.qf-t { margin: 6px 0 0; text-align: center; font-size: 19px; font-weight: 900; color: var(--deep); line-height: 1.3; }
.qf-s { margin: 0; text-align: center; font-size: 14px; font-weight: 700; color: var(--mut); }

