/* iHope Store — giao diện sáng, tối giản kiểu Apple. Mobile trước, màn to sau. */
:root {
  --bg: #FFFFFF;
  --panel: #F2F3F5;
  --panel-2: #E9EBEF;
  --line: #E4E6EA;
  --line-2: #D3D7DE;
  --ink: #111214;
  --ink-2: #4B5058;
  --muted: #868B94;
  --blue: #2F56D9;
  --blue-ink: #1F3FAE;
  --blue-soft: #E8EEFD;
  --zalo: #0068FF;
  --gold: #B8893F;
  --ok: #138A4B;
  --warn: #B4690E;
  --danger: #D23B2F;
  --radius: 22px;
  --radius-sm: 14px;
  --font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--font); font-variant-numeric: tabular-nums; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.025em; }
h1 { font-size: clamp(2.3rem, 9vw, 4.6rem); font-weight: 600; }
h2 { font-size: clamp(1.55rem, 5vw, 2.2rem); font-weight: 600; }
h3 { font-size: 1.05rem; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 780px; }
.section { padding: 40px 0; }
.section-tight { padding: 20px 0; }
.eyebrow { font-size: .8rem; font-weight: 600; color: var(--blue); margin-bottom: .6em; }
.lead { font-size: 1.06rem; color: var(--ink-2); }
.muted { color: var(--muted); }
.todo { background: #FFF2A8; color: #6B4E00; font-weight: 600; border-radius: 4px; padding: 0 5px; font-size: .88em; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; z-index: 99; background: #fff; padding: 8px 12px; }
.demo-bar { background: #FFF2A8; color: #6B4E00; font-size: .8rem; text-align: center; padding: 6px 16px; font-weight: 600; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; height: 62px; gap: 12px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo-mark { width: auto; height: 38px; }
.logo-text { line-height: 1.1; }
.logo-text b { display: block; font-weight: 700; font-size: 1.05rem; letter-spacing: -.01em; }
.logo-text small { font-size: .7rem; color: var(--muted); }
.nav-desktop { display: none; gap: 2px; }
.nav-desktop a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .9rem; padding: 8px 12px; border-radius: 999px; }
.nav-desktop a:hover { background: var(--panel); }
.nav-desktop a[aria-current="page"] { color: var(--blue); }
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: .88rem; padding: 8px 14px; border-radius: 999px; background: var(--panel); color: var(--ink); }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; right: 0; top: calc(100% + 10px); width: min(300px, calc(100vw - 32px)); background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 20px 50px rgba(17, 18, 20, .14); padding: 8px; }
.menu-panel a { display: block; padding: 11px 12px; border-radius: 12px; text-decoration: none; color: var(--ink); font-weight: 500; }
.menu-panel a:hover, .menu-panel a[aria-current="page"] { background: var(--blue-soft); color: var(--blue); }
@media (min-width: 980px) { .nav-desktop { display: flex; } .menu { display: none; } }

/* Nút */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px; border-radius: 999px; font: 600 .95rem var(--font); text-decoration: none; white-space: nowrap; border: 1px solid transparent; cursor: pointer; transition: transform .12s, background .12s, border-color .12s; }
.btn:active { transform: scale(.98); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-gold, .btn-zalo, .btn-brand { background: var(--blue); color: #fff; }
.btn-gold:hover, .btn-zalo:hover, .btn-brand:hover { background: var(--blue-ink); }
.btn-ghost { background: var(--panel); color: var(--ink); }
.btn-ghost:hover { background: var(--panel-2); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .86rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-row .btn { flex: 1 1 190px; }
.link-more { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-size: .9rem; font-weight: 500; color: var(--blue); text-decoration: none; }
.link-more::after { content: "→"; }
.arrow-dot { position: absolute; top: 14px; right: 14px; width: 30px; height: 30px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.arrow-dot svg { width: 15px; height: 15px; }

/* Nút nổi */
.float-cta { position: fixed; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 50; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.float-cta a { display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 18px 0 14px; border-radius: 999px; font-weight: 600; font-size: .92rem; text-decoration: none; box-shadow: 0 8px 24px rgba(17, 18, 20, .18); }
.float-cta a svg { width: 20px; height: 20px; }
.float-zalo { background: var(--zalo); color: #fff; }
.float-call { background: #fff; color: var(--ink); border: 1px solid var(--line); }

/* Hero: khung xám lớn bo tròn */
.hero { padding: 12px 0 8px; }
.hero-panel { position: relative; overflow: hidden; background: linear-gradient(180deg, #F5F6F8 0%, #ECEEF2 100%); border-radius: 28px; display: grid; }
.hero-text { position: relative; z-index: 2; padding: 30px 22px 6px; }
.hero h1 { margin-bottom: .3em; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero .sub { color: var(--ink-2); font-size: 1rem; max-width: 30em; }
.hero-new { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 5px 14px 5px 5px; border-radius: 999px; background: #fff; font-size: .82rem; font-weight: 500; color: var(--ink); text-decoration: none; box-shadow: 0 1px 3px rgba(0, 0, 0, .06); }
.hero-new .tag { background: var(--blue); color: #fff; border: 0; }
.hero-art { position: relative; margin: 0; aspect-ratio: 6 / 5; }
.hero-art svg, .hero-art img { width: 100%; height: 100%; object-fit: contain; }
.hero-art figcaption { position: absolute; right: 18px; bottom: 16px; font-size: .78rem; color: var(--ink-2); display: flex; align-items: center; gap: 8px; }
.hero-art figcaption::before { content: ""; width: 34px; height: 1px; background: var(--ink-2); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 20px; font-size: .84rem; color: var(--ink-2); }
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust svg { width: 16px; height: 16px; color: var(--blue); }
@media (min-width: 900px) {
  .hero-panel { grid-template-columns: 1.05fr 1fr; align-items: center; min-height: 540px; }
  .hero-text { padding: 56px 0 56px 56px; }
  .hero-art { aspect-ratio: auto; height: 100%; min-height: 480px; }
}

/* Dải trình chiếu sản phẩm mới đầu trang */
.showcase { padding-top: 12px; }
.sc-viewport { position: relative; border-radius: 28px; overflow: hidden; isolation: isolate; }
.sc-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.sc-track::-webkit-scrollbar { display: none; }
.sc-slide { flex: 0 0 100%; scroll-snap-align: start; position: relative; overflow: hidden; height: clamp(560px, 78vh, 640px); display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 34px; }
.sc-light { background: #F2F3F5; color: var(--ink); }
.sc-dark { background: #000; color: #F5F5F7; }
.sc-text { position: relative; z-index: 2; padding: 0 22px; max-width: 640px; }
.sc-eyebrow { font-size: .82rem; font-weight: 600; margin: 0 0 6px; color: var(--blue); }
.sc-dark .sc-eyebrow { color: #8FB0FF; }
.sc-slide h2 { font-size: clamp(2.2rem, 8vw, 3.8rem); font-weight: 600; letter-spacing: -.035em; margin: 0 0 8px; }
.sc-sub { font-size: 1rem; color: var(--ink-2); margin: 0 auto 16px; max-width: 30em; }
.sc-dark .sc-sub { color: #A1A1A6; }
.sc-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.sc-dark .btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; }
.sc-dark .btn-ghost:hover { background: rgba(255, 255, 255, .2); }
.sc-img { flex: 1; min-height: 0; width: 100%; display: flex; align-items: flex-end; justify-content: center; }
.sc-img img { max-width: min(100%, 980px); max-height: 100%; width: auto; height: auto; object-fit: contain; }
.sc-duo .sc-img img { mix-blend-mode: multiply; }
@media (max-width: 899px) {
  .sc-duo .sc-img { align-items: center; }
  .sc-duo .sc-img img { max-width: none; width: 170%; }
  .sc-dark:not(.sc-split) .sc-img img { max-width: none; width: 125%; }
}
.sc-split .sc-img img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 62%; }
.sc-split .sc-img { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%); mask-image: linear-gradient(to bottom, transparent 0, #000 22%); }
@media (min-width: 900px) {
  .sc-slide { height: 600px; padding-top: 48px; }
  .sc-split { flex-direction: row; text-align: left; padding-top: 0; align-items: stretch; }
  .sc-split .sc-text { align-self: center; flex: 1; padding: 0 20px 0 64px; }
  .sc-split .sc-btns { justify-content: flex-start; }
  .sc-split .sc-sub { margin-left: 0; }
  .sc-split .sc-img { flex: 1; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 25%); mask-image: linear-gradient(to right, transparent 0, #000 25%); }
}
/* Hiệu ứng: ảnh thu nhỏ dần, chữ trồi lên khi slide hiện ra */
.sc-ready .sc-img img { transform: scale(1.08); transition: transform 6.5s cubic-bezier(.2, .6, .2, 1); }
.sc-ready .is-active .sc-img img { transform: scale(1); }
.sc-ready .sc-text > * { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.sc-ready .is-active .sc-text > * { opacity: 1; transform: none; }
.sc-ready .is-active .sc-text > :nth-child(2) { transition-delay: .1s; }
.sc-ready .is-active .sc-text > :nth-child(3) { transition-delay: .2s; }
.sc-ready .is-active .sc-text > :nth-child(4) { transition-delay: .3s; }
.sc-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 14px; position: relative; }
.sc-dots { display: flex; gap: 8px; }
.sc-dot { position: relative; width: 26px; height: 6px; border: 0; padding: 0; border-radius: 999px; background: var(--line-2); overflow: hidden; cursor: pointer; transition: width .3s; }
.sc-dot.is-active { width: 52px; }
.sc-dot::after { content: ""; position: absolute; inset: 0; width: 0; background: var(--blue); border-radius: inherit; }
.sc-dot.is-active::after { width: 100%; }
.sc-dot.run::after { width: 0; animation: sc-fill 6s linear forwards; }
@keyframes sc-fill { to { width: 100%; } }
.sc-arrows { display: none; position: absolute; right: 0; gap: 8px; }
.sc-arrow { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--panel); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.sc-arrow:hover { background: var(--panel-2); }
.sc-arrow svg { width: 16px; height: 16px; }
.sc-arrow[data-sc="prev"] svg { transform: rotate(180deg); }
@media (min-width: 900px) { .sc-arrows { display: flex; } }

/* Khối slogan ngay dưới dải trình chiếu */
.brand-band { display: grid; gap: 18px; background: var(--panel); border-radius: 28px; padding: 26px 22px; }
.brand-band h1 { font-size: clamp(2rem, 7vw, 3.2rem); margin-bottom: .25em; }
.brand-band h1 em { font-style: normal; color: var(--blue); }
.brand-band .sub { color: var(--ink-2); margin: 0; max-width: 32em; }
.brand-band .sub-slogan { font-size: clamp(1.2rem, 3.4vw, 1.6rem); font-weight: 600; color: var(--ink); letter-spacing: -.02em; }
.brand-band .hero-trust { margin-top: 14px; }
@media (min-width: 900px) { .brand-band { grid-template-columns: 1.3fr 1fr; align-items: center; gap: 40px; padding: 34px 40px; } }

.warranty-badge { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 12px 16px; border-radius: 16px; background: #fff; color: var(--ink); text-decoration: none; box-shadow: inset 0 0 0 2px var(--blue); }
.warranty-badge svg { width: 30px; height: 30px; color: var(--blue); flex: none; }
.warranty-badge b { display: block; font-size: 1rem; font-weight: 700; letter-spacing: -.01em; }
.warranty-badge small { display: block; font-size: .8rem; color: var(--ink-2); }

/* Lưới ô "Tìm máy của bạn" */
.bento { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile { position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 168px; padding: 16px; border-radius: var(--radius); background: var(--panel); color: var(--ink); text-decoration: none; transition: transform .15s; }
.tile:hover { transform: translateY(-2px); }
.tile b { font-weight: 500; font-size: 1rem; padding-right: 36px; line-height: 1.25; }
.tile small { display: block; color: var(--ink-2); font-size: .8rem; margin-top: 6px; line-height: 1.35; max-width: 18em; }
.tile-art { margin-top: auto; display: grid; place-items: center; }
.tile-art svg { width: 100%; max-height: 190px; }
.tile-icon svg { width: 56px; height: 56px; color: var(--blue); stroke-width: 1.4; }
.tile-blue { background: linear-gradient(160deg, #3A63E6, #2343B8); color: #fff; }
.tile-blue small { color: #DDE5FF; }
.tile-big { grid-column: 1 / -1; min-height: 300px; }
.tile-tall { grid-column: 1 / -1; }
.tile .tag { align-self: flex-start; margin-top: 10px; }
@media (min-width: 900px) {
  .bento { grid-template-columns: 1.1fr 1.1fr 1fr; grid-template-rows: 220px 220px; gap: 14px; }
  .tile { padding: 22px; }
  .tile-big, .tile-tall { grid-column: auto; grid-row: span 2; min-height: 0; }
  .tile b { font-size: 1.1rem; }
}

.tile-dark { background: #000; color: #F5F5F7; }
.tile-dark small { color: #A1A1A6; }
.tile-photo { margin: auto -16px -16px; }
.tile-photo img { width: 100%; height: auto; max-height: 220px; object-fit: contain; }
@media (min-width: 900px) { .tile-photo { margin: auto -22px -22px; } .tile-photo img { max-height: 330px; } }

/* "Có hàng — nhận máy trong 1 tiếng" */
.ready { display: flex; align-items: center; gap: 7px; margin: 0; font-size: .82rem; font-weight: 600; color: var(--ok); }
.ready i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(19, 138, 75, .5); animation: ready-pulse 2s infinite; flex: none; }
@keyframes ready-pulse { 70% { box-shadow: 0 0 0 7px rgba(19, 138, 75, 0); } 100% { box-shadow: 0 0 0 0 rgba(19, 138, 75, 0); } }
.ready-inline { font-size: .76rem; font-weight: 600; color: var(--ok); }
.price-table td { vertical-align: middle; }

/* iPhone 2026 — thẻ nhỏ ở trang chủ */
.s26-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 74%; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.s26-grid::-webkit-scrollbar { display: none; }
.s26 { scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 18px 16px 18px; border-radius: var(--radius); background: var(--panel); color: var(--ink); text-decoration: none; transition: transform .15s; }
.s26:hover { transform: translateY(-2px); }
.s26-img { width: 100%; aspect-ratio: 4 / 3; display: grid; place-items: center; margin-bottom: 4px; }
.s26-img img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.s26 b { font-size: 1.1rem; font-weight: 600; }
.s26-dots { display: flex; gap: 6px; }
.s26-dots i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.s26-price { font-weight: 600; }
@media (min-width: 900px) { .s26-grid { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); gap: 14px; } }

/* iPhone 2026 — thẻ chọn màu & dung lượng */
.cfg-list { display: grid; gap: 16px; }
.cfg { display: grid; border-radius: 28px; background: var(--panel); overflow: hidden; scroll-margin-top: 80px; }
.cfg-media { display: grid; place-items: center; padding: 20px 20px 0; }
.cfg-media img { max-height: 320px; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.cfg-body { padding: 18px 22px 24px; }
.cfg-body h3 { font-size: 1.7rem; letter-spacing: -.03em; margin: 10px 0 4px; }
.cfg-tagline { color: var(--ink-2); margin: 0 0 16px; }
.cfg-row { margin-bottom: 16px; }
.cfg-label { display: block; font-size: .86rem; color: var(--ink-2); margin-bottom: 8px; }
.cfg-label b { color: var(--ink); }
.swatches { display: flex; gap: 10px; }
.swatch { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--c); cursor: pointer; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); outline-offset: 3px; }
.swatch[aria-pressed="true"] { outline: 2px solid var(--blue); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { min-width: 76px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; font: 600 .9rem var(--font); color: var(--ink); cursor: pointer; }
.pill[aria-pressed="true"] { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); color: var(--blue); }
.cfg-foot { display: grid; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line-2); }
.cfg-foot .price { font-size: 1.6rem; letter-spacing: -.02em; }
@media (min-width: 900px) {
  .cfg { grid-template-columns: 1.1fr 1fr; align-items: center; }
  .cfg-media { padding: 28px; }
  .cfg-media img { max-height: 420px; }
  .cfg-body { padding: 32px 36px 32px 8px; }
}
.find-form h2 { letter-spacing: -.02em; }
/* Ảnh dòng Pro nền đen: thẻ cũng nền đen cho liền mạch */
.cfg-dark, .s26-dark { background: #000; color: #F5F5F7; }
.cfg-dark .cfg-media img, .s26-dark .s26-img img { mix-blend-mode: normal; }
.cfg-dark .cfg-tagline, .cfg-dark .cfg-label { color: #A1A1A6; }
.cfg-dark .cfg-label b, .cfg-dark .price, .s26-dark .s26-price { color: #fff; }
.cfg-dark .pill { background: #1C1C1E; border-color: #3A3A3C; color: #F5F5F7; }
.cfg-dark .pill[aria-pressed="true"] { border-color: #6E8FFF; box-shadow: inset 0 0 0 1px #6E8FFF; color: #fff; }
.cfg-dark .swatch { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.cfg-dark .swatch[aria-pressed="true"] { outline-color: #6E8FFF; }
.cfg-dark .cfg-foot { border-color: #2C2C2E; }
.cfg-dark .ready, .s26-dark .ready { color: #4CD483; }
.cfg-dark .ready i, .s26-dark .ready i { background: #4CD483; }

/* Tiêu đề khối */
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 4px 0 0; color: var(--muted); font-size: .88rem; }

/* Nhãn */
.tag { display: inline-flex; align-items: center; font-size: .7rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: #fff; color: var(--ink); border: 1px solid var(--line); }
.tag-gold, .tag-new { background: var(--blue); color: #fff; border-color: transparent; }
.tag-light { background: #fff; color: var(--ink); }
.tag-zin { background: #E3F5EA; color: var(--ok); border-color: transparent; }
.tag-hold { background: #FFF2A8; color: #6B4E00; border-color: transparent; }
.tag-sale { background: #E8590C; color: #fff; border-color: transparent; }
.mh-badge { position: absolute; right: 8px; bottom: 8px; padding: 3px 8px; border-radius: 999px; background: rgba(0, 0, 0, .62); color: #fff; font-size: .68rem; font-weight: 600; }
.perk-line.perk-sale { color: #C2410C; }
.side-box.side-sale { background: #FFF1E6; }
.side-box.side-sale h3 { color: #C2410C; }
.sale-band { background: #FFF6EF; }
.sale-band .section-head h2 { margin-top: 6px; }
.card-strip { display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.card-strip::-webkit-scrollbar { display: none; }
.card-strip > * { scroll-snap-align: start; }
@media (min-width: 640px) { .card-strip { grid-auto-columns: calc(33.333% - 7px); } }
@media (min-width: 1040px) { .card-strip { grid-auto-columns: calc(25% - 8px); } }
.chip.chip-sale { border-color: #E8590C; color: #C2410C; }
.chip.chip-sale[aria-pressed="true"] { background: #E8590C; color: #fff; }

/* Khách hàng */
.cust-strip { display: grid; grid-auto-flow: column; grid-auto-columns: 46%; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.cust-strip::-webkit-scrollbar { display: none; }
.cust-strip > * { scroll-snap-align: start; }
@media (min-width: 900px) { .cust-strip { grid-auto-columns: calc(25% - 8px); } }
.cust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 760px) { .cust-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1040px) { .cust-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
.cust { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--panel); aspect-ratio: 4 / 5; }
.cust img { width: 100%; height: 100%; object-fit: cover; }
.cust figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); font-size: .8rem; color: #EEE; line-height: 1.35; }
.cust figcaption b { display: block; color: #fff; font-size: .92rem; }
.cust figcaption span { display: block; margin-top: 3px; font-style: italic; }
.cust-empty { display: grid; place-items: center; text-align: center; color: var(--muted); font-size: .82rem; border: 1.5px dashed var(--line-2); background: var(--panel); }

/* Thẻ máy */
.grid-cards { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .grid-cards { gap: 14px; } }
@media (min-width: 1040px) { .grid-cards { grid-template-columns: repeat(4, 1fr); } }
.ticket { position: relative; background: var(--panel); border-radius: var(--radius); display: flex; flex-direction: column; overflow: hidden; transition: transform .15s; }
.ticket:hover { transform: translateY(-2px); }
.ticket-media { display: block; position: relative; aspect-ratio: 1 / 1; }
.ticket-media img { width: 100%; height: 100%; object-fit: cover; }
.ticket-media svg { width: 100%; height: 100%; }
.ticket-tags { position: absolute; left: 12px; bottom: 8px; display: flex; gap: 5px; flex-wrap: wrap; }
.ticket-body { padding: 0 14px 14px; display: flex; flex-direction: column; flex: 1; }
.ticket-no { display: flex; justify-content: space-between; gap: 6px; font-size: .68rem; color: var(--muted); margin-bottom: 4px; }
.ticket h3 { margin: 0 0 2px; font-size: .98rem; font-weight: 600; line-height: 1.3; }
.ticket h3 a { color: var(--ink); text-decoration: none; }
.ticket-sub { color: var(--ink-2); font-size: .8rem; margin: 0 0 8px; }
.mini-specs { list-style: none; padding: 0; margin: 0 0 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 8px; font-size: .78rem; color: var(--ink-2); }
.mini-specs li { display: flex; align-items: center; gap: 5px; min-width: 0; }
.mini-specs b { color: var(--ink); font-weight: 600; }
.mini-specs .ok { color: var(--ok); font-weight: 600; }
.mini-specs .warn { color: var(--warn); font-weight: 600; }
.perk-line { font-size: .72rem; color: var(--blue); margin: 0 0 10px; }
.ticket-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.price { font-size: 1.05rem; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.price small { display: block; font-size: .78rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.icon-btn { flex: none; width: 36px; height: 36px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--blue); text-decoration: none; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.icon-btn:hover { background: var(--blue); color: #fff; }
.icon-btn svg { width: 17px; height: 17px; }
.ticket-media .icon-btn, .ticket .icon-top { position: absolute; top: 12px; right: 12px; }
@media (max-width: 480px) {
  .mini-specs { grid-template-columns: 1fr; gap: 3px; }
  .price { font-size: .98rem; }
}
.ticket.is-sold .ticket-media, .ticket.is-sold .mini-specs, .ticket.is-sold .price { opacity: .45; filter: grayscale(1); }
.stamp { position: absolute; z-index: 2; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-10deg); border: 2px solid var(--danger); color: var(--danger); font-weight: 700; letter-spacing: .12em; padding: 4px 12px; border-radius: 8px; font-size: 1rem; background: rgba(255, 255, 255, .9); }
.batt { display: inline-flex; align-items: center; gap: 5px; }
.batt i { display: inline-block; width: 20px; height: 10px; border: 1.5px solid currentColor; border-radius: 3px; position: relative; color: var(--ink-2); }
.batt i::after { content: ""; position: absolute; right: -3.5px; top: 2.5px; width: 2px; height: 3px; background: currentColor; }
.batt i b { position: absolute; left: 1px; top: 1px; bottom: 1px; border-radius: 1px; background: var(--ok); }

/* Khối cam kết cuối trang (kiểu "mua yên tâm") */
.assure { border-radius: 28px; background: linear-gradient(180deg, #F3F5FA, #EAEEF7); padding: 26px 22px; display: grid; gap: 22px; }
.assure-top { display: grid; gap: 16px; align-items: center; }
.assure h2 { margin: 0; }
.assure-feats { display: grid; grid-template-columns: 1fr; gap: 16px; }
.feat { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: start; font-size: .82rem; color: var(--ink-2); line-height: 1.4; }
.feat i { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #C9D3F0; display: grid; place-items: center; color: var(--blue); background: #fff; }
.feat i svg { width: 20px; height: 20px; }
.feat b { display: block; color: var(--ink); font-weight: 600; font-size: .88rem; margin-bottom: 2px; }
.assure-person { display: flex; align-items: center; gap: 12px; font-size: .8rem; color: var(--ink-2); line-height: 1.4; }
.assure-person img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: #fff; flex: none; border: 1px solid var(--line); padding: 4px; }
@media (min-width: 900px) {
  .assure { padding: 34px 40px; }
  .assure-top { grid-template-columns: 1fr auto; }
  .assure-feats { grid-template-columns: repeat(3, 1fr) 1.1fr; align-items: center; }
}

/* Thẻ bài viết */
.picks { display: grid; gap: 10px; }
.pick { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; min-height: 130px; padding: 18px; border-radius: var(--radius); background: var(--panel); text-decoration: none; color: var(--ink); transition: transform .15s; }
.pick:hover { transform: translateY(-2px); }
.pick .tag { margin-bottom: 10px; }
.pick b { display: block; font-weight: 600; font-size: 1rem; line-height: 1.3; margin-bottom: 10px; }
.pick-art { display: grid; place-items: center; color: var(--blue); }
.pick-art svg { width: 64px; height: 64px; }
@media (min-width: 900px) { .picks { grid-template-columns: repeat(3, 1fr); gap: 14px; } }

/* Ô nhóm Zalo */
.join { display: grid; gap: 16px; align-items: center; border-radius: var(--radius); background: var(--blue-soft); padding: 22px 20px; }
.join h2 { font-size: 1.25rem; margin: 0 0 4px; }
.join p { margin: 0; color: var(--ink-2); font-size: .92rem; }
@media (min-width: 900px) { .join { grid-template-columns: 1.4fr auto; padding: 26px 32px; } }

/* Bản đồ & liên hệ */
.visit { display: grid; gap: 18px; }
.map { border-radius: var(--radius); overflow: hidden; background: var(--panel); aspect-ratio: 4 / 3; }
.map iframe { width: 100%; height: 100%; border: 0; }
.info-list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 14px; }
.info-list li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; }
.info-list svg { width: 20px; height: 20px; color: var(--blue); margin-top: 3px; }
.info-list b { display: block; font-weight: 600; }
@media (min-width: 900px) { .visit { grid-template-columns: 1fr 1.2fr; align-items: center; gap: 40px; } }

/* Trang con */
.page-head { padding: 30px 0 8px; }
.page-head h1 { font-size: clamp(2rem, 7vw, 3.2rem); }
.crumbs { font-size: .8rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.prose { font-size: 1rem; color: var(--ink-2); }
.prose h2 { margin-top: 1.6em; color: var(--ink); font-size: 1.55rem; }
.prose h3 { margin-top: 1.3em; color: var(--ink); }
.prose b, .prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li { margin-bottom: .45em; }
.card { background: var(--panel); border-radius: var(--radius); padding: 22px; }
.card + .card { margin-top: 14px; }
.callout { background: var(--blue-soft); border-radius: var(--radius-sm); padding: 14px 18px; margin: 1.2em 0; color: var(--ink-2); }
.callout p:last-child { margin: 0; }
.table-wrap { overflow-x: auto; border-radius: var(--radius-sm); background: var(--panel); margin: 1em 0; }
table { width: 100%; border-collapse: collapse; font-size: .94rem; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
td b { color: var(--ink); }
th { font-size: .78rem; color: var(--muted); font-weight: 600; }
tr:last-child td { border-bottom: 0; }
.compare { display: grid; gap: 14px; }
.plan { background: var(--panel); border-radius: var(--radius); padding: 24px 22px; }
.plan.featured { background: var(--blue-soft); box-shadow: inset 0 0 0 2px var(--blue); }
.plan .plan-name { font-weight: 600; font-size: .9rem; color: var(--blue); }
.plan .plan-price { font-size: 2.2rem; font-weight: 700; letter-spacing: -.03em; color: var(--ink); margin: 6px 0 12px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.plan .plan-price .tag { font-size: .74rem; letter-spacing: 0; }
.plan ul { padding-left: 1.2em; margin: 0; }
@media (min-width: 760px) { .compare { grid-template-columns: 1fr 1fr; } }
.steps { list-style: none; padding: 0; margin: 1em 0; counter-reset: st; display: grid; gap: 10px; }
.steps li { counter-increment: st; position: relative; background: var(--panel); border-radius: var(--radius-sm); padding: 14px 16px 14px 60px; }
.steps li::before { content: counter(st); position: absolute; left: 16px; top: 14px; width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 600; font-size: .9rem; display: grid; place-items: center; }
.steps b { display: block; color: var(--ink); }

/* Chuyện thật */
.story-grid { display: grid; gap: 14px; }
.story { background: var(--panel); border-radius: var(--radius); padding: 24px 22px; }
.story .label { display: inline-block; font-size: .72rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--blue); color: #fff; }
.story h3 { font-size: 1.35rem; margin: 12px 0 10px; letter-spacing: -.02em; }
.story p { color: var(--ink-2); margin-bottom: .6em; }
.story .result { color: var(--blue); font-weight: 600; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--panel); border-radius: var(--radius-sm); scroll-margin-top: 80px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 52px 16px 20px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 12px; width: 28px; height: 28px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 1.1rem; color: var(--ink); }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 20px 16px; color: var(--ink-2); }
.faq .answer b { color: var(--ink); }
.faq .answer ul, .faq .answer ol { padding-left: 1.2em; margin: 0 0 1em; }
.faq .answer li { margin-bottom: .35em; }

/* Bộ lọc kho */
.filters { position: sticky; top: 62px; z-index: 30; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); padding: 10px 0 12px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 0; background: var(--panel); color: var(--ink); border-radius: 999px; padding: 8px 15px; font: 500 .88rem var(--font); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--blue); color: #fff; }
.filter-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.filter-row select { width: 100%; min-height: 40px; border: 0; border-radius: 999px; background: var(--panel); font: 500 .86rem var(--font); color: var(--ink); padding: 0 12px; }
.filter-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 10px; font-size: .84rem; color: var(--ink-2); flex-wrap: wrap; }
.filter-meta label { display: inline-flex; gap: 6px; align-items: center; }
.filter-meta select { border: 0; background: transparent; font: 600 .84rem var(--font); color: var(--ink); }
.empty { text-align: center; padding: 40px 16px; background: var(--panel); border-radius: var(--radius); }
@media (min-width: 760px) { .filter-row { grid-template-columns: repeat(3, 200px); } }

/* Chi tiết máy */
.product { display: grid; gap: 24px; padding-bottom: 24px; }
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 28px; background: var(--panel); aspect-ratio: 1 / 1; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery > * { scroll-snap-align: start; width: 100%; height: 100%; object-fit: cover; }
.gallery-note { font-size: .82rem; color: var(--muted); margin-top: 8px; }
.product h1 { font-size: clamp(1.9rem, 6vw, 2.8rem); }
.product .price { font-size: 2.1rem; letter-spacing: -.03em; margin: 4px 0; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; }
.specs > div { background: var(--panel); border-radius: var(--radius-sm); padding: 10px 14px; }
.specs dt { font-size: .74rem; color: var(--muted); font-weight: 500; }
.specs dd { margin: 2px 0 0; font-weight: 600; font-size: 1rem; line-height: 1.35; }
.specs .ok { color: var(--ok); }
.specs .warn { color: var(--warn); }
.side-box { background: var(--panel); border-radius: var(--radius-sm); padding: 16px 18px; margin-top: 10px; }
.side-box h3 { font-size: .95rem; margin-bottom: 6px; }
.side-box p { margin: 0 0 .4em; color: var(--ink-2); font-size: .94rem; }
.side-box ul { margin: 0; padding-left: 1.2em; color: var(--ink-2); font-size: .94rem; }
.side-box b { color: var(--ink); }
@media (min-width: 900px) { .product { grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: start; } .product-media { position: sticky; top: 86px; } }

/* Form */
.form { display: grid; gap: 14px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .92rem; }
.field small { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; border: 1px solid var(--line-2); border-radius: 14px; background: #fff; font: 500 1rem var(--font); color: var(--ink); padding: 10px 14px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { margin: 0; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-block; background: #fff; border: 1px solid var(--line-2); border-radius: 999px; padding: 9px 15px; font-weight: 500; cursor: pointer; font-size: .92rem; }
.seg input:checked + span { background: var(--blue); color: #fff; border-color: var(--blue); }
.seg input:focus-visible + span { outline: 2px solid var(--blue); }
.two { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: calc(90px + env(safe-area-inset-bottom)); transform: translateX(-50%) translateY(20px); opacity: 0; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 14px; font-weight: 600; font-size: .9rem; z-index: 60; transition: .2s; width: max-content; max-width: calc(100vw - 32px); text-align: center; pointer-events: none; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Footer */
.site-footer { background: var(--panel); color: var(--ink-2); padding: 40px 0 110px; font-size: .9rem; margin-top: 40px; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--blue); }
.footer-grid { display: grid; gap: 28px; }
.footer-grid h4 { color: var(--ink); font-size: .9rem; margin: 0 0 12px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-bottom { border-top: 1px solid var(--line-2); margin-top: 28px; padding-top: 18px; font-size: .8rem; color: var(--muted); }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } .site-footer { padding-bottom: 40px; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

.ask-zalo { color: var(--blue); font-weight: 600; }

