/* Giao diện cửa hàng theo chuẩn Shopify: header, giỏ trượt, danh mục, trang sản phẩm, thanh toán */
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 200 700; font-display: swap;
  src: url("/assets/fonts/oswald-vietnamese.woff2") format("woff2"); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 200 700; font-display: swap;
  src: url("/assets/fonts/oswald-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 200 700; font-display: swap;
  src: url("/assets/fonts/oswald-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --wine: #860933; --wine-dark: #5E0622; --rose: #E98A96;
  --ink: #1a1a1a; --muted: #6b6b6b; --line: #e6e6e6; --soft: #f5f3f3; --bg: #fff;
  --head: "Oswald", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { font-family: var(--body); color: var(--ink); background: var(--bg); font-size: 15px; line-height: 1.6; overflow-x: hidden; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
.container { max-width: 1320px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .container { padding: 0 16px; } }
h1, h2, h3, .head { font-family: var(--head); font-weight: 500; text-transform: uppercase; letter-spacing: .02em; line-height: 1.15; }
mark.todo { background: #fff3cd; color: #7a5600; border-radius: 4px; padding: 1px 6px; font-weight: 500; }

/* Thanh thông báo */
.announce { background: var(--wine); color: #fff; text-align: center; font-family: var(--head); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; height: 36px; overflow: hidden; position: relative; }
.announce p { position: absolute; inset: 0; display: grid; place-items: center; padding: 0 16px; opacity: 0; transition: opacity .5s; }
.announce p.on { opacity: 1; }

/* Header */
.header { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.header .container { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 68px; }
.logo { justify-self: center; font-family: var(--head); font-weight: 600; font-size: 26px; letter-spacing: .14em; text-transform: uppercase; color: var(--wine); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.logo i { width: 30px; height: 26px; background: var(--wine); -webkit-mask: url("/assets/khoa/tag.webp") center / contain no-repeat; mask: url("/assets/khoa/tag.webp") center / contain no-repeat; }
.nav { display: flex; gap: 28px; }
.nav a { font-family: var(--head); text-transform: uppercase; letter-spacing: .08em; font-size: 14px; text-decoration: none; padding: 6px 0; border-bottom: 1.5px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-color: var(--ink); }
.icons { justify-self: end; display: flex; gap: 6px; }
.icon-btn { position: relative; width: 42px; height: 42px; display: grid; place-items: center; border: 0; background: none; cursor: pointer; text-decoration: none; }
.icon-btn svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.icon-btn b { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--wine); color: #fff; font: 600 11px/18px var(--body); text-align: center; padding: 0 4px; }
.burger { display: none; }
@media (max-width: 860px) {
  .header .container { grid-template-columns: auto 1fr auto; }
  .logo { justify-self: center; font-size: 22px; }
  .burger { display: grid; }
  .nav { position: fixed; inset: 104px 0 auto 0; background: #fff; flex-direction: column; gap: 0; padding: 8px 16px 20px; border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .3s; z-index: -1; }
  .nav.open { transform: none; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
}

/* Nút */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 28px; border: 1.5px solid var(--ink); background: var(--ink); color: #fff; font-family: var(--head); font-size: 15px; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; border-radius: 0; }
.btn:hover { background: var(--wine); border-color: var(--wine); }
.btn.wine { background: var(--wine); border-color: var(--wine); }
.btn.wine:hover { background: var(--wine-dark); border-color: var(--wine-dark); }
.btn.line { background: transparent; color: var(--ink); }
.btn.line:hover { background: var(--ink); color: #fff; }
.btn.block { width: 100%; }
.btn:disabled { opacity: .4; cursor: not-allowed; }

/* Hero danh mục */
.hero { position: relative; min-height: 520px; display: grid; align-items: end; color: #fff; overflow: hidden; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.55)); }
.hero .container { position: relative; z-index: 1; width: 100%; padding-bottom: 56px; display: grid; gap: 14px; justify-items: start; }
.hero .kicker { font-family: var(--head); letter-spacing: .14em; text-transform: uppercase; font-size: 14px; }
.hero h1 { font-size: clamp(40px, 7vw, 84px); font-weight: 600; }
.hero p { max-width: 520px; font-size: 16px; opacity: .92; }
.hero .btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.hero .btn.line { color: #fff; border-color: #fff; }
.hero .btn.line:hover { background: #fff; color: var(--ink); }
.hero .btn:not(.line) { background: #fff; color: var(--ink); border-color: #fff; }
.hero .btn:not(.line):hover { background: var(--wine); color: #fff; border-color: var(--wine); }

/* Dải cam kết */
.usp { border-bottom: 1px solid var(--line); }
.usp .container { display: grid; grid-template-columns: repeat(3, 1fr); }
.usp div { padding: 20px 12px; text-align: center; font-size: 13px; color: var(--muted); }
.usp b { display: block; font-family: var(--head); text-transform: uppercase; letter-spacing: .08em; font-size: 14px; color: var(--ink); font-weight: 500; }
@media (max-width: 760px) { .usp .container { grid-template-columns: 1fr; } .usp div { padding: 12px; } }

/* Khối tiêu đề mục */
.section { padding: 64px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 24px; }
.section-head h2 { font-size: clamp(24px, 3.4vw, 34px); }
.section-head a { font-family: var(--head); text-transform: uppercase; letter-spacing: .08em; font-size: 13px; }
.crumbs { font-size: 13px; color: var(--muted); padding: 18px 0 0; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* Thẻ sản phẩm */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 18px; }
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 10px; } }
.card { display: grid; gap: 6px; text-decoration: none; color: var(--ink); }
.card .media { position: relative; aspect-ratio: 4 / 5; background: var(--soft); display: grid; place-items: center; overflow: hidden; }
.card .media .stack { display: grid; justify-items: center; gap: 6px; transition: transform .4s ease; }
.card .media img { width: clamp(70px, 9vw, 120px); }
.card:hover .media .stack { transform: scale(1.06); }
.card .media .alt { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s; }
.card:hover .media .alt { opacity: 1; }
.tag { position: absolute; top: 10px; left: 10px; z-index: 1; background: #fff; color: var(--ink); font: 600 11px/1 var(--body); letter-spacing: .06em; text-transform: uppercase; padding: 6px 8px; }
.tag.wine { background: var(--wine); color: #fff; }
.card .meta { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-top: 6px; }
.card h3 { font-size: 17px; }
.card .price { font-weight: 600; font-size: 15px; }
.card .quick { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 1; min-height: 42px; font-size: 13px; opacity: 0; transform: translateY(8px); transition: .25s; }
.card:hover .quick, .card:focus-within .quick { opacity: 1; transform: none; }
@media (hover: none) { .card .quick { display: none; } }
.flip { transform: scaleX(-1); }

/* Banner câu chuyện */
.split { display: grid; grid-template-columns: 1fr 1fr; background: var(--soft); }
.split img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.split .txt { padding: clamp(32px, 6vw, 80px); display: grid; gap: 16px; align-content: center; justify-items: start; }
.split h2 { font-size: clamp(26px, 3.6vw, 40px); color: var(--wine); }
.split p { color: #444; max-width: 460px; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } .split img { min-height: 300px; } }

/* Trang sản phẩm */
.pdp { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; padding: 20px 0 64px; align-items: start; }
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; gap: 24px; } }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.gallery figure { background: var(--soft); aspect-ratio: 4 / 5; overflow: hidden; display: grid; place-items: center; }
.gallery figure:first-child, .gallery figure:nth-child(even):last-child { grid-column: 1 / -1; aspect-ratio: 1 / 1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery .pieces { display: grid; justify-items: center; gap: 8px; }
.gallery .pieces img { width: 46%; height: auto; object-fit: contain; }
@media (max-width: 900px) {
  .gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0; margin: 0 -16px; }
  .gallery figure, .gallery figure:first-child { flex: 0 0 100%; aspect-ratio: 1 / 1; scroll-snap-align: start; }
}
.dots { display: none; justify-content: center; gap: 6px; margin-top: 10px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--line); }
.dots i.on { background: var(--ink); }
@media (max-width: 900px) { .dots { display: flex; } }
.buy { position: sticky; top: 92px; display: grid; gap: 18px; }
.buy .meta { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.buy h1 { font-size: clamp(28px, 3.4vw, 40px); }
.buy .price { font-size: 22px; font-weight: 600; display: flex; gap: 10px; align-items: baseline; }
.buy .price small { font-size: 13px; font-weight: 400; color: var(--muted); }
.buy .lead { color: #444; }
.opt-label { display: flex; justify-content: space-between; font-family: var(--head); text-transform: uppercase; letter-spacing: .08em; font-size: 13px; margin-bottom: 8px; }
.opt-label span { font-family: var(--body); text-transform: none; letter-spacing: 0; color: var(--muted); }
.variants { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.variant { border: 1px solid var(--line); background: #fff; cursor: pointer; padding: 10px 6px 8px; display: grid; justify-items: center; gap: 6px; text-align: center; transition: border-color .2s; }
.variant:hover { border-color: var(--ink); }
.variant[aria-checked="true"] { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink) inset; }
.variant .mini { height: 54px; display: grid; justify-items: center; align-content: center; gap: 2px; }
.variant .mini img { width: 34px; }
.variant b { font-family: var(--head); font-weight: 500; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.variant small { font-size: 12px; color: var(--muted); line-height: 1.2; }
.engrave { border: 1px solid var(--line); padding: 14px; display: grid; gap: 10px; }
.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.check input { margin-top: 4px; accent-color: var(--wine); width: 16px; height: 16px; }
.field { width: 100%; min-height: 48px; border: 1px solid #cfcfcf; padding: 12px 14px; font: inherit; color: var(--ink); background: #fff; border-radius: 4px; }
.field:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.qty-row { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.qty { display: inline-flex; align-items: center; border: 1px solid #cfcfcf; height: 52px; }
.qty button { width: 44px; height: 100%; border: 0; background: none; font-size: 18px; cursor: pointer; }
.qty span { min-width: 30px; text-align: center; }
.qty.sm { height: 34px; }
.qty.sm button { width: 30px; font-size: 15px; }
.perks { display: grid; gap: 10px; font-size: 14px; color: #444; border-top: 1px solid var(--line); padding-top: 16px; }
.perks div { display: flex; gap: 10px; align-items: flex-start; }
.perks svg { width: 20px; height: 20px; flex: none; stroke: var(--ink); fill: none; stroke-width: 1.5; }
details.acc { border-top: 1px solid var(--line); }
details.acc:last-of-type { border-bottom: 1px solid var(--line); }
details.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-family: var(--head); text-transform: uppercase; letter-spacing: .08em; font-size: 14px; }
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary::after { content: "+"; font-size: 20px; font-family: var(--body); font-weight: 300; }
details.acc[open] summary::after { content: "−"; }
details.acc .acc-body { padding: 0 0 18px; color: #444; display: grid; gap: 8px; }
details.acc ul { padding-left: 18px; }

/* Giỏ trượt */
.drawer-bg { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 40; opacity: 0; pointer-events: none; transition: opacity .3s; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100vw); background: #fff; z-index: 41; transform: translateX(100%); transition: transform .3s ease; display: grid; grid-template-rows: auto 1fr auto; }
body.cart-open .drawer { transform: none; }
body.cart-open .drawer-bg { opacity: 1; pointer-events: auto; }
.drawer header { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer header h2 { font-size: 20px; }
.drawer .items { overflow-y: auto; padding: 8px 20px; }
.drawer .drawer-foot { border-top: 1px solid var(--line); padding: 18px 20px 22px; display: grid; gap: 12px; }
.line-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line-item .thumb { width: 72px; height: 88px; background: var(--soft); display: grid; place-items: center; align-content: center; gap: 2px; }
.line-item .thumb img { width: 34px; }
.line-item h4 { font-family: var(--head); font-weight: 500; text-transform: uppercase; font-size: 15px; letter-spacing: .03em; }
.line-item p { font-size: 13px; color: var(--muted); line-height: 1.4; }
.line-item .right { display: grid; justify-items: end; align-content: space-between; gap: 8px; }
.line-item .rm { border: 0; background: none; font-size: 12px; text-decoration: underline; color: var(--muted); cursor: pointer; }
.total-row { display: flex; justify-content: space-between; font-weight: 600; font-size: 16px; }
.note { font-size: 13px; color: var(--muted); }
.empty { text-align: center; padding: 48px 0; color: var(--muted); display: grid; gap: 16px; justify-items: center; }

/* Thanh toán */
.checkout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); min-height: calc(100vh - 68px); }
.checkout .main { padding: 40px clamp(16px, 5vw, 64px) 64px; display: grid; gap: 28px; align-content: start; max-width: 680px; justify-self: end; width: 100%; }
.checkout .side { background: var(--soft); border-left: 1px solid var(--line); padding: 40px clamp(16px, 4vw, 48px); }
.checkout .side .inner { position: sticky; top: 108px; display: grid; gap: 16px; max-width: 460px; }
@media (max-width: 900px) { .checkout { grid-template-columns: 1fr; } .checkout .side { order: -1; border-left: 0; border-bottom: 1px solid var(--line); } .checkout .main { justify-self: stretch; max-width: none; } }
.fs { display: grid; gap: 12px; border: 0; }
.fs legend { font-family: var(--head); text-transform: uppercase; letter-spacing: .06em; font-size: 20px; margin-bottom: 4px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
.pay { border: 1px solid #cfcfcf; border-radius: 4px; overflow: hidden; }
.pay label { display: flex; gap: 10px; align-items: center; padding: 14px; border-bottom: 1px solid #cfcfcf; cursor: pointer; }
.pay .pay-body { background: var(--soft); padding: 16px; font-size: 14px; color: #444; display: grid; gap: 8px; }
.bank dl, .legal dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; }
.bank dt, .legal dt { color: var(--muted); }
.bank { border: 1px dashed var(--wine); background: #fff; padding: 14px 16px; }
.sum-line { display: flex; justify-content: space-between; font-size: 14px; }
.sum-line.total { font-size: 18px; font-weight: 600; border-top: 1px solid var(--line); padding-top: 14px; }
.done { text-align: center; display: grid; gap: 14px; justify-items: center; padding: 64px 16px; max-width: 640px; margin: 0 auto; }
.done .code { font-family: var(--head); font-size: 36px; letter-spacing: .1em; color: var(--wine); }
.done .bank { text-align: left; width: 100%; }

/* Chính sách */
.policy { max-width: 800px; margin: 0 auto; padding: 40px 0 72px; display: grid; gap: 16px; }
.policy h1 { font-size: clamp(30px, 5vw, 44px); }
.policy h2 { font-size: 20px; margin-top: 8px; }
.policy ul { padding-left: 22px; }

/* Footer */
footer.legal { background: #111; color: #d6d6d6; padding: 56px 0 28px; font-size: 14px; }
.legal-grid { max-width: 1320px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.4fr; gap: 32px; }
@media (max-width: 900px) { .legal-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .legal-grid { grid-template-columns: 1fr; } }
.legal h4 { font-family: var(--head); text-transform: uppercase; letter-spacing: .1em; font-weight: 500; font-size: 14px; color: #fff; margin-bottom: 12px; }
.legal-brand { font-family: var(--head); font-size: 26px; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.legal nav { display: grid; gap: 8px; align-content: start; }
.legal a { color: #d6d6d6; text-decoration: none; }
.legal a:hover { color: #fff; text-decoration: underline; }
.legal dt { color: #9a9a9a; }
.legal mark.todo { font-size: 12px; }
.legal-copy { max-width: 1320px; margin: 40px auto 0; padding: 20px 24px 0; border-top: 1px solid #2a2a2a; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: #9a9a9a; font-size: 13px; }

.toast { position: fixed; left: 50%; bottom: 20px; transform: translate(-50%, 20px); opacity: 0; z-index: 60; background: var(--ink); color: #fff; padding: 12px 18px; transition: .25s; pointer-events: none; font-size: 14px; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Banner thương hiệu: nền son, hình các mảnh ghép */
.hero.brand { min-height: 0; color: var(--ink); background: var(--soft); align-items: center; }
.hero.brand::after { display: none; }
.hero.brand .container { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; padding: 64px 24px; }
.hero.brand .hero-txt { display: grid; gap: 14px; justify-items: start; }
.hero.brand .kicker { color: var(--muted); }
.hero.brand h1 { color: var(--wine); }
.hero.brand p { opacity: 1; color: #444; }
.hero.brand .btn.line { color: var(--ink); border-color: var(--ink); }
.hero.brand .btn.line:hover { background: var(--ink); color: #fff; }
.hero-art { display: flex; justify-content: center; align-items: center; gap: clamp(16px, 3vw, 40px); }
.hero-art .stack, .split-art .stack { display: grid; justify-items: center; gap: 8px; }
.hero-art img { width: clamp(90px, 10vw, 150px); }
.split-art { display: grid; place-items: center; min-height: 420px; background: #fff; }
.split-art img { width: clamp(140px, 18vw, 240px); }
@media (max-width: 860px) { .hero.brand .container { grid-template-columns: 1fr; padding: 40px 16px; } .hero-art img { width: 22vw; } }
.policy-meta { color: var(--muted); }
.policy ol { padding-left: 22px; }
.policy li { margin: 4px 0; }
.done .qr { width: 260px; height: 260px; border: 1px solid var(--line); background: #fff; }
.done .hold { font-family: var(--head); letter-spacing: .06em; color: var(--wine); }
.hero.brand .hero-art img, .split .split-art img { position: static; inset: auto; height: auto; min-height: 0; object-fit: contain; }
.hero.brand .btn.wine { background: var(--wine); color: #fff; border-color: var(--wine); }
.hero.brand .btn.wine:hover { background: var(--wine-dark); border-color: var(--wine-dark); }

/* Logo footer giống header, thêm khoảng thở giữa các khối */
.legal-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none !important; margin-bottom: 12px; }
.legal-brand i { width: 30px; height: 26px; background: #fff; -webkit-mask: url("/assets/khoa/tag.webp") center / contain no-repeat; mask: url("/assets/khoa/tag.webp") center / contain no-repeat; }
.split-art { padding: 64px 24px; }
.split { margin-bottom: 0; }
.split .txt { padding-top: 64px; padding-bottom: 64px; }
main + footer.legal, footer.legal { margin-top: 0; }
body > main { padding-bottom: 72px; }
.hero.brand .kicker { margin-bottom: 6px; }
.legal-copy { margin-top: 48px; padding-top: 24px; }
footer.legal .legal-brand { font-weight: 600; }
.qr-card { border: 1px solid var(--line); background: #fff; padding: 16px 16px 12px; display: grid; gap: 8px; justify-items: center; font-size: 13px; color: var(--muted); text-align: center; }
.qr-card .qr { width: 240px; height: 240px; }
.qr-card .qr svg { width: 100%; height: 100%; display: block; }
.qr-card b { color: var(--wine); font-family: var(--head); letter-spacing: .08em; }

/* Footer: thẳng hàng tiêu đề, cột thông tin rộng hơn */
.legal-grid { grid-template-columns: 1fr .9fr 1.1fr 1.7fr; align-items: start; }
.legal h4, footer.legal .legal-brand { height: 26px; line-height: 26px; margin: 0 0 16px; }
footer.legal .legal-brand { font-size: 24px; }
.legal-brand i { width: 26px; height: 22px; }
.legal dl { grid-template-columns: 112px 1fr; gap: 6px 12px; }
.legal dt { white-space: nowrap; }
.legal p { line-height: 1.7; }
@media (max-width: 560px) { .legal-grid { gap: 28px; } }

/* Màn hình nhỏ: footer xếp cột lại (đặt sau quy tắc 4 cột để không bị đè) */
@media (max-width: 900px) { .legal-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .legal-grid { grid-template-columns: 1fr; } }
/* Menu điện thoại: ẩn hẳn khi đóng để không lộ ra trên đầu trang */
@media (max-width: 860px) {
  .nav { display: none; transform: none; transition: none; z-index: 19; }
  .nav.open { display: flex; }
}
/* Thanh thông báo trên điện thoại: chữ nhỏ hơn, tối đa 2 dòng vẫn nằm gọn */
@media (max-width: 560px) {
  .announce { height: 40px; font-size: 11px; letter-spacing: .04em; }
  .announce p { line-height: 1.3; padding: 0 12px; }
}
/* Banner trên tablet/điện thoại: cụm hình nằm giữa, cỡ vừa phải */
@media (max-width: 860px) {
  .hero.brand .hero-art { justify-self: center; width: 100%; }
  .hero.brand .hero-art img { width: min(22vw, 130px); }
}

/* Chặn kéo ngang trên điện thoại (Safari tính cả phần tử cố định nằm ngoài màn hình).
   clip thay vì hidden để không làm hỏng header và khung mua hàng dính khi cuộn */
html, body { overflow-x: clip; }
.drawer { visibility: hidden; transition: transform .3s ease, visibility 0s linear .3s; }
body.cart-open .drawer { visibility: visible; transition: transform .3s ease; }
.hp-field { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
