/* Trang thực đơn — giỏ hàng, hộp chọn vị, form đặt hàng */
.lien-ket-nhanh { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.lien-ket-nhanh a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--vien); background: var(--giay); color: var(--muc); text-decoration: none; font-weight: 600; font-size: 16px; }
.lien-ket-nhanh a:hover { background: #fff; }

.bo-cuc-menu { display: grid; gap: 40px; padding-block: 32px 72px; }
@media (min-width: 1020px) { .bo-cuc-menu { grid-template-columns: minmax(0, 1fr) 390px; gap: 40px; align-items: start; } }
.nhom-mon + .nhom-mon { margin-top: 56px; }
.nhom-mon > h2 { margin-bottom: 8px; }
.nhom-ghi { color: var(--muc-2); margin-bottom: 22px; font-size: 16px; }
.nhom-ghi b { color: var(--muc); }

.luoi-noi-bat, .luoi-mon { display: grid; gap: 16px; }
.luoi-mon { margin-top: 16px; }
@media (min-width: 700px) { .luoi-noi-bat, .luoi-mon { grid-template-columns: 1fr 1fr; } }

.the-noi-bat { overflow: hidden; display: flex; flex-direction: column; }
.the-noi-bat .anh { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.the-noi-bat .anh img { width: 100%; height: 100%; object-fit: cover; }
.the-noi-bat .anh .tem { position: absolute; left: 12px; top: 12px; background: rgba(253, 249, 241, .95); }
.the-noi-bat .than { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.the-noi-bat h3 { margin: 0; font-size: 22px; }
.the-noi-bat p { margin: 0; }
.gia-lon { font-family: var(--chu-tieu-de); font-size: 34px; font-weight: 600; color: var(--tao); line-height: 1.05; }
.ghi-tri-gia { align-self: flex-start; font-size: 15px; font-weight: 600; color: var(--la); background: #e8ecd9; border-radius: 8px; padding: 2px 10px; }
.thong-so { font-size: 16px; font-weight: 600; color: var(--muc-2); }
.mo-ta { font-size: 16px; color: var(--muc-2); }
.the-noi-bat .nut { margin-top: auto; }
.phi-giao { font-size: 15px; color: var(--muc-3); }
.the-noi-bat .phi-giao { margin-bottom: 6px !important; }

.the-mon { padding: 18px; display: flex; flex-direction: column; }
.the-mon-dau { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; }
.the-mon-dau img, .bieu-tuong { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--giay), 0 0 0 4px var(--vien); }
.bieu-tuong { display: grid; place-items: center; background: var(--nen-2); color: var(--dong-dam); }
.bieu-tuong svg { width: 32px; height: 32px; }
.the-mon-dau h3 { margin: 0; font-size: 21px; }
.the-mon-dau p { margin: 4px 0 0; font-size: 15px; color: var(--muc-2); line-height: 1.45; }
.the-mon-ds { margin-top: 12px; }
.dong-mon { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px dashed var(--vien); }
.dong-ten b { display: block; font-size: 17px; }
.dong-ten span { display: block; font-size: 15px; color: var(--muc-3); }
.dong-gia { font-family: var(--chu-tieu-de); font-size: 20px; font-weight: 600; white-space: nowrap; }
.nut-nho { min-height: 44px; padding: 8px 16px; font-size: 16px; border-radius: 12px; background: var(--muc); color: #fff7ea; }
.nut-nho:hover { background: #2a190e; color: #fff; }
.the-mon .phi-giao { margin: auto 0 0; padding-top: 12px; border-top: 1px dashed var(--vien); }

/* ---------- Hộp chọn ---------- */
.hop-chon {
  padding: 0; border: 0; width: 100%; max-width: 560px; max-height: 92dvh; margin: auto auto 0; border-radius: 22px 22px 0 0;
  background: var(--giay); color: var(--muc); box-shadow: 0 -20px 60px -20px rgba(42, 25, 14, .6);
}
.hop-chon::backdrop { background: rgba(42, 25, 14, .5); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.hop-chon[open] { animation: len-hop .28s cubic-bezier(.2, .8, .2, 1); }
@keyframes len-hop { from { transform: translateY(40px); opacity: .4; } to { transform: none; opacity: 1; } }
@media (min-width: 700px) { .hop-chon { margin: auto; border-radius: 22px; } }
#form-chon { display: flex; flex-direction: column; max-height: 92dvh; }
.hc-dau { display: grid; grid-template-columns: 1fr 44px; gap: 12px; padding: 18px 18px 14px; border-bottom: 1px dashed var(--vien); }
.hc-dau h2 { font-size: 23px; margin: 0 0 4px; }
.hc-phu { margin: 0; font-size: 15px; color: var(--muc-2); }
.hc-dong { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--vien); background: #fff; color: var(--muc); display: grid; place-items: center; cursor: pointer; }
.hc-dong svg { width: 20px; height: 20px; }
.hc-than { overflow-y: auto; padding: 16px 18px; display: grid; gap: 18px; overscroll-behavior: contain; }
.hc-than fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.hc-than fieldset[hidden], .hc-than [hidden] { display: none !important; }
.hc-than legend { display: flex; width: 100%; justify-content: space-between; align-items: baseline; font-weight: 700; font-size: 17px; margin-bottom: 10px; padding: 0; }
.hc-dem { font-family: var(--chu-tieu-de); color: var(--tao); font-size: 18px; }
.hc-goi-y-vi { font-size: 14px; color: var(--muc-3); margin: -4px 0 10px; }
.hc-o-vi, .hc-o-ngot { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--vien); background: #fff; cursor: pointer; font-size: 16px; user-select: none; -webkit-tap-highlight-color: transparent; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.chip i { width: 12px; height: 12px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(58, 37, 23, .15); flex: none; }
.chip:has(input:checked) { border-color: var(--muc); background: #fff3e0; font-weight: 700; box-shadow: inset 0 0 0 1px var(--muc); }
.chip:has(input:focus-visible) { outline: 3px solid var(--dong); outline-offset: 2px; }
.chip.het-cho { opacity: .42; cursor: not-allowed; }
.hc-kieng, .hc-ghi-ngot, .hc-qua { font-size: 15px; color: var(--muc-2); margin: 0; background: #f6ecd8; border-radius: 12px; padding: 10px 12px; }
.hc-thiep span { display: block; font-weight: 700; margin-bottom: 6px; }
.hc-thiep small { display: block; color: var(--muc-3); font-size: 14px; margin-top: 4px; }
.hc-so { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hc-so b { font-size: 17px; }
.bac-so { display: inline-flex; align-items: center; border: 1.5px solid var(--vien); border-radius: 12px; background: #fff; overflow: hidden; }
.bac-so button { width: 44px; height: 44px; border: 0; background: transparent; font-size: 22px; color: var(--muc); cursor: pointer; }
.bac-so button:hover { background: var(--nen-2); }
.bac-so output, .bac-so input { min-width: 40px; width: 48px; text-align: center; font: 700 17px/1 var(--chu-than); border: 0; background: transparent; color: var(--muc); -moz-appearance: textfield; }
.bac-so input::-webkit-outer-spin-button, .bac-so input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.hc-chan { padding: 12px 18px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--vien); background: var(--giay); }
.hc-chan .nut { width: 100%; }
.hc-loi { color: var(--tao-dam); font-weight: 600; font-size: 15px; margin: 0 0 8px; min-height: 0; }
.hc-loi:empty { display: none; }

/* ---------- Giỏ ---------- */
.gio { padding: 20px 18px; scroll-margin-top: 84px; }
@media (min-width: 1020px) { .gio-ben { position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow-y: auto; border-radius: var(--bo); } }
.gio h2 { font-size: 26px; display: flex; align-items: center; gap: 10px; }
.gio h2 svg { width: 26px; height: 26px; color: var(--dong-dam); }
.gio-trong { color: var(--muc-2); font-size: 16px; padding: 14px; border: 1.5px dashed var(--vien); border-radius: 14px; text-align: center; }
.gio-ds { list-style: none; margin: 0; padding: 0; }
.gio-mon { padding: 12px 0; border-bottom: 1px dashed var(--vien); }
.gio-mon-tren { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.gio-mon-tren b { font-size: 16px; line-height: 1.35; }
.gio-mon-gia { font-family: var(--chu-tieu-de); font-weight: 600; font-size: 18px; white-space: nowrap; }
.gio-mon-phu { margin: 2px 0 0; font-size: 15px; color: var(--muc-2); }
.gio-mon-duoi { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.gio-xoa { border: 0; background: none; color: var(--tao); font: 600 15px/1 var(--chu-than); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 10px 4px; }
.gio-tong { padding: 14px 0 4px; }
.gio-tong .dong-tong { display: flex; justify-content: space-between; align-items: baseline; }
.gio-tong .dong-tong span { font-weight: 700; }
.gio-tam-tinh { font-family: var(--chu-tieu-de); font-size: 28px; font-weight: 600; color: var(--tao); }
.gio-tong p { font-size: 14px; color: var(--muc-3); margin: 4px 0 0; }

#form-dat { margin-top: 18px; padding-top: 18px; border-top: 2px solid var(--muc); display: grid; gap: 14px; }
#form-dat h3 { font-size: 22px; margin: 0; }
.o-nhap { display: grid; gap: 6px; }
.o-nhap > span { font-weight: 700; font-size: 16px; }
.o-nhap > span em { font-style: normal; color: var(--tao); }
.o-nhap input, .o-nhap textarea, .hc-thiep textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--vien); background: #fff;
  font: 17px/1.4 var(--chu-than); color: var(--muc);
}
.o-nhap textarea, .hc-thiep textarea { resize: vertical; min-height: 76px; }
.o-nhap input:focus, .o-nhap textarea:focus, .hc-thiep textarea:focus { outline: none; border-color: var(--dong); box-shadow: 0 0 0 3px rgba(176, 122, 59, .22); }
.o-nhap small { font-size: 14px; color: var(--muc-3); }
.o-bay { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.ghi-thanh-toan { font-size: 15px; color: var(--muc-2); background: #f6ecd8; border-radius: 12px; padding: 10px 12px; margin: 0; }
#form-dat .nut-chinh { width: 100%; }
.form-loi { color: var(--tao-dam); font-weight: 600; font-size: 15px; margin: 0; }
.form-loi:empty { display: none; }
.ghi-dong-y { font-size: 14px; color: var(--muc-3); margin: 0; }

/* ---------- Kết quả ---------- */
.ket-qua { margin-top: 18px; scroll-margin-top: 84px; }
.kq { border-radius: 16px; padding: 20px 18px; }
.kq h3 { font-size: 24px; margin-bottom: 8px; }
.kq p { font-size: 16px; }
.kq-xong { background: #eef1e2; border: 1.5px solid #b9c79c; }
.kq-dau { width: 48px; height: 48px; border-radius: 50%; background: var(--la); color: #fff; display: grid; place-items: center; margin-bottom: 10px; }
.kq-dau svg { width: 26px; height: 26px; }
.kq-ma { font-size: 17px; }
.kq-ma b { display: block; font-family: var(--chu-tieu-de); font-size: 30px; letter-spacing: .02em; color: var(--muc); user-select: all; }
.kq-chat { border-top: 1px dashed #b9c79c; padding-top: 12px; margin-top: 4px; }
.kq-chat .hang-nut .nut { flex: 1 1 160px; }
.kq-du-phong { background: #fbeee0; border: 1.5px dashed var(--tao); }
.kq-nut { display: grid; gap: 10px; margin-bottom: 16px; }
.kq-nhan { display: block; font-size: 14px; font-weight: 600; color: var(--muc-2); margin-bottom: 6px; }
.kq-chu { width: 100%; font: 15px/1.5 ui-monospace, "SF Mono", Menlo, monospace; padding: 12px; border-radius: 12px; border: 1px solid var(--vien); background: #fff; color: var(--muc); resize: vertical; margin-bottom: 12px; }
.kq-du-phong .hang-nut .nut { flex: 1 1 150px; min-height: 46px; }

.bang-cho-gui { margin-bottom: 16px; padding: 14px; border-radius: 14px; background: #fbeee0; border: 1.5px dashed var(--dong); font-size: 15px; }
.bang-cho-gui p { margin: 0 0 10px; }
.bang-cho-gui .hang-nut { gap: 8px; }
.bang-cho-gui .nut { min-height: 42px; padding: 8px 14px; font-size: 15px; }
