/* =====================================================================
   PHƯƠNG TUẤN MOBILE — style.css
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  --black: #111111;
  --night: #0a0a0b;
  --ink: #1c1c1e;
  --white: #ffffff;
  --red: #e53935;
  --red-dark: #c62828;
  --gray: #f5f5f5;
  --gray-2: #ececec;
  --line: #e6e6e6;
  --muted: #62666c;
  --yellow: #ffc107;
  --zalo: #0068ff;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(17,17,17,.05);
  --shadow: 0 2px 4px rgba(17,17,17,.04), 0 12px 32px rgba(17,17,17,.08);
  --max: 1200px;
  --header-h: 72px;
  --font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

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

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--gray { background: var(--gray); }
.section--dark { background: var(--night); color: var(--white); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head { max-width: 760px; margin: 0 0 44px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section-title { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; letter-spacing: -0.025em; color: var(--black); text-wrap: balance; }
.section--dark .section-title { color: var(--white); }
.section-desc { margin-top: 14px; color: var(--muted); font-size: 17px; }
.section--dark .section-desc { color: #a9a9ad; }

/* Ô cần điền thêm (tô vàng để dễ nhận ra khi chỉnh sửa) */
.ph {
  color: #8a6d00; background: #fff6d6; border: 1px dashed #e0b400; border-radius: 6px;
  padding: 0 6px; font-weight: 600; font-size: .92em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px;
  border-radius: 14px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 15px; letter-spacing: .01em; line-height: 1.2; text-align: center;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--lg { min-height: 58px; padding: 16px 28px; font-size: 16px; }
.btn--sm { min-height: 44px; padding: 10px 14px; font-size: 14px; border-radius: 12px; }
.btn--red { background: var(--red); color: var(--white); box-shadow: 0 8px 20px -8px rgba(229,57,53,.6); }
.btn--red:hover { background: var(--red-dark); }
.btn--dark { background: var(--black); color: var(--white); }
.btn--dark:hover { background: #2a2a2a; }
.btn--zalo { background: var(--zalo); color: var(--white); }
.btn--zalo:hover { background: #0057d6; }
.btn--ghost { background: var(--white); color: var(--black); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--black); }
.btn--glass { background: rgba(255,255,255,.06); color: var(--white); border-color: rgba(255,255,255,.28); }
.btn--glass:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.5); }
.btn--light { background: var(--white); color: var(--black); }
.btn--light:hover { background: var(--gray-2); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.95);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.logo { display: flex; align-items: center; flex: none; }
.logo img { height: 58px; width: auto; }
.logo-ph {
  display: none; align-items: center; justify-content: center;
  height: 48px; padding: 0 14px; border: 1.5px dashed #c9c9c9; border-radius: 10px;
  font-size: 12px; font-weight: 700; color: var(--muted);
}
.logo.no-logo img { display: none; }
.logo.no-logo .logo-ph { display: inline-flex; }

.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 2px; }
.site-nav a { display: block; padding: 10px 14px; border-radius: 10px; font-weight: 600; font-size: 15px; color: #333; }
.site-nav a:hover { background: var(--gray); color: var(--black); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-call { gap: 10px; padding: 8px 16px 8px 10px; }
.header-call .ico { width: 30px; height: 30px; border-radius: 9px; background: rgba(255,255,255,.18); display: grid; place-items: center; }
.header-call .ico svg { width: 16px; height: 16px; }
.header-call .txt { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.header-call small { font-size: 11px; font-weight: 600; opacity: .85; letter-spacing: .04em; }
.header-call b { font-size: 15px; letter-spacing: .02em; }
.nav-toggle {
  display: none; width: 44px; height: 44px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--white);
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 18px; height: 2px; background: var(--black); border-radius: 2px; position: relative;
  transition: transform .2s ease, background-color .2s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero (nền tối) ---------- */
.hero {
  position: relative;
  padding: 72px 0 132px;
  color: var(--white);
  background:
    radial-gradient(760px 420px at 88% 20%, rgba(229,57,53,.28), transparent 62%),
    radial-gradient(600px 400px at 0% 100%, rgba(255,255,255,.05), transparent 60%),
    var(--night);
  overflow: hidden;
}
.hero::before { /* lưới mờ tạo chiều sâu */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 70%);
          mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 70%);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  grid-template-areas: "text visual" "cta visual" "perks visual";
  grid-template-rows: auto auto 1fr;
  column-gap: 56px;
}
.hero-text { grid-area: text; padding-top: 8px; }
.hero-cta { grid-area: cta; }
.hero-perks { grid-area: perks; }
.hero-visual { grid-area: visual; align-self: center; }

.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 10px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  font-size: 13px; font-weight: 600; color: #e6e6e6; margin-bottom: 24px;
}
.hero-kicker svg { width: 16px; height: 16px; color: var(--red); }
.hero h1 {
  font-size: clamp(36px, 4.6vw, 58px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.04;
  text-wrap: balance;
}
.hero h1 .accent {
  display: block; margin-top: 10px; font-size: .64em; letter-spacing: -0.02em;
  color: var(--red);
}
.hero-sub { margin-top: 22px; font-size: 17px; font-weight: 600; color: #f0f0f0; max-width: 560px; }
.hero-desc { margin-top: 12px; font-size: 16px; color: #a9a9ad; max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-perks { display: grid; grid-template-columns: repeat(2, max-content); gap: 12px 32px; margin-top: 28px; }
.hero-perks li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; color: #e8e8e8; }
.check {
  width: 22px; height: 22px; border-radius: 50%; flex: none;
  background: var(--red); color: var(--white);
  display: inline-flex; align-items: center; justify-content: center;
}
.check svg { width: 12px; height: 12px; }

/* Ảnh cửa hàng thật + chip đánh giá Google */
.hero-visual { position: relative; }
.hero-photo {
  position: relative; border-radius: 28px; overflow: hidden;
  aspect-ratio: 4 / 3.4;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.08);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.55)); }
.hero-photo figcaption {
  position: absolute; left: 20px; bottom: 16px; z-index: 1;
  font-size: 13px; font-weight: 600; color: #fff; display: flex; align-items: center; gap: 8px;
}
.hero-photo figcaption svg { width: 16px; height: 16px; color: var(--red); }
.rating-chip {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 16px;
  background: var(--white); color: var(--black);
  box-shadow: 0 16px 40px -8px rgba(0,0,0,.45);
}
.rating-chip .score { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.rating-chip .stars { color: var(--yellow); font-size: 13px; letter-spacing: 1px; line-height: 1; }
.rating-chip .meta { font-size: 12px; color: var(--muted); line-height: 1.35; }
.rating-chip .meta b { color: var(--black); font-weight: 700; display: block; font-size: 13px; }
.rating-chip--a { right: -18px; top: 28px; }
.rating-chip--b { left: -22px; bottom: 64px; }

/* ---------- Trust bar (nổi lên trên hero) ---------- */
.trust { position: relative; z-index: 2; margin-top: -64px; }
.trust ul {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white); border-radius: 22px; box-shadow: var(--shadow); border: 1px solid var(--line);
}
.trust li { display: flex; align-items: center; gap: 14px; padding: 24px 22px; }
.trust li + li { border-left: 1px solid var(--line); }
.trust .t-ico { width: 46px; height: 46px; border-radius: 14px; background: #fdecec; color: var(--red); display: grid; place-items: center; flex: none; }
.trust svg { width: 24px; height: 24px; }
.trust b { display: block; font-size: 15px; color: var(--black); line-height: 1.3; }
.trust span { display: block; font-size: 13px; color: var(--muted); line-height: 1.35; }

/* ---------- Media / placeholder ảnh ---------- */
.media { position: relative; background: var(--gray); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.media.has-img .media-ph { display: none; }
.media-ph { display: flex; flex-direction: column; align-items: center; gap: 10px; color: #a0a0a0; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-align: center; padding: 12px; }

/* Placeholder ảnh sản phẩm: dáng điện thoại tối giản */
.phone-sil {
  width: 34%; max-width: 110px; aspect-ratio: 9 / 19; border-radius: 22% / 10.5%;
  background: linear-gradient(160deg, #2b2b2e, #0d0d0f 70%);
  box-shadow: inset 0 0 0 2px #3a3a3e, 0 24px 40px -16px rgba(0,0,0,.45);
  position: relative;
}
.phone-sil::before { /* cụm camera */
  content: ""; position: absolute; top: 6%; left: 9%; width: 42%; aspect-ratio: 1;
  border-radius: 28%; background: #1d1d20; box-shadow: inset 0 0 0 1.5px #3a3a3e;
}
.phone-sil::after {
  content: ""; position: absolute; top: 10%; left: 14%; width: 14%; aspect-ratio: 1; border-radius: 50%;
  background: #0a0a0a; box-shadow: 0 0 0 2px #2c2c30, 13px 0 0 0 #0a0a0a, 13px 0 0 2px #2c2c30, 6px 12px 0 0 #0a0a0a, 6px 12px 0 2px #2c2c30;
}

/* ---------- Products (bento) ---------- */
.product-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.product-card {
  grid-column: span 2;
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}
.product-card:hover { box-shadow: var(--shadow); border-color: #d9d9d9; transform: translateY(-2px); }
.product-card .media { aspect-ratio: 5 / 4; background: radial-gradient(80% 70% at 50% 40%, #fbfbfb, #ececec); }
.product-card .media.has-img img { object-fit: contain; padding: 8%; }
.product-body { display: flex; flex-direction: column; flex: 1; padding: 20px 20px 22px; }
.product-series { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
.product-name { font-size: 22px; font-weight: 800; color: var(--black); margin-top: 2px; }
.product-specs { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.product-specs li { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); background: var(--gray); border-radius: 999px; padding: 4px 4px 4px 12px; }
.product-specs li b { font-weight: 600; color: #444; }
.product-price { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--gray-2); }
.product-price .price { font-size: 17px; font-weight: 800; color: var(--red); line-height: 1.3; }
.product-price .installment { margin-top: 4px; font-size: 13px; color: var(--muted); }
.product-price .installment b { color: var(--black); }
.product-actions { margin-top: auto; padding-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

/* 2 máy nổi bật đầu tiên: thẻ lớn nằm ngang */
.product-card--feature { grid-column: span 3; flex-direction: row; }
.product-card--feature .media { flex: 0 0 46%; aspect-ratio: auto; min-height: 320px;
  background: radial-gradient(80% 70% at 50% 40%, #2a2a2d, #0d0d0f); }
.product-card--feature .phone-sil { width: 38%; background: linear-gradient(160deg, #3a3a3e, #151517 70%); box-shadow: inset 0 0 0 2px #4a4a4f, 0 24px 40px -12px rgba(0,0,0,.7); }
.product-card--feature .media-ph { color: #8a8a8f; }
.product-card--feature .product-name { font-size: 26px; }
.product-note { margin-top: 28px; font-size: 15px; color: var(--muted); text-align: center; }
.product-note a { color: var(--black); font-weight: 700; border-bottom: 2px solid var(--red); }

/* ---------- Why us (bento 5 ô) ---------- */
.why-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.why-card {
  grid-column: span 2; position: relative; overflow: hidden;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px;
}
.why-card:nth-child(-n+2) { grid-column: span 3; }
.why-card:first-child { background: var(--night); color: var(--white); border-color: var(--night); }
.why-card:first-child::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(closest-side, rgba(229,57,53,.45), transparent); }
.why-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.why-ico { width: 52px; height: 52px; border-radius: 16px; background: #fdecec; color: var(--red); display: grid; place-items: center; }
.why-card:first-child .why-ico { background: var(--red); color: var(--white); }
.why-ico svg { width: 26px; height: 26px; }
.why-num { font-size: 14px; font-weight: 800; color: #c4c4c4; letter-spacing: .08em; }
.why-card h3 { font-size: 21px; font-weight: 800; color: var(--black); }
.why-card:first-child h3 { color: var(--white); }
.why-card p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.why-card:first-child p { color: #b9b9bd; }

/* ---------- Trả góp ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split .section-head { margin-bottom: 28px; }
.steps { display: grid; gap: 14px; position: relative; }
.steps::before { content: ""; position: absolute; left: 51px; top: 40px; bottom: 40px; width: 2px; background: repeating-linear-gradient(var(--line) 0 6px, transparent 6px 12px); }
.step {
  position: relative; display: flex; gap: 20px; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px;
}
.step-no {
  flex: none; width: 56px; height: 56px; border-radius: 16px; background: var(--black); color: var(--white);
  display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1;
}
.step:last-child .step-no { background: var(--red); }
.step-no small { font-size: 9px; font-weight: 700; letter-spacing: .12em; opacity: .7; }
.step-no b { font-size: 20px; margin-top: 3px; }
.step h3 { font-size: 17px; font-weight: 700; color: var(--black); }
.step p { color: var(--muted); font-size: 14px; margin-top: 2px; }
.note { margin-top: 16px; font-size: 13px; color: var(--muted); }

/* ---------- Thu cũ đổi mới ---------- */
.tradein-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 40px; }
.tradein-step { position: relative; padding: 28px 24px; border-radius: var(--radius); background: #161618; border: 1px solid #26262a; }
.tradein-step .n { font-size: 40px; font-weight: 800; line-height: 1; letter-spacing: -0.04em;
  background: linear-gradient(180deg, #ff6b66, var(--red)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tradein-step h3 { margin-top: 16px; font-size: 17px; font-weight: 700; color: var(--white); line-height: 1.35; }
.tradein-step:not(:last-child)::after {
  content: ""; position: absolute; top: 44px; right: -13px; width: 10px; height: 10px;
  border-top: 2px solid #555; border-right: 2px solid #555; transform: rotate(45deg); z-index: 1;
}
.center { text-align: center; }

/* ---------- Cửa hàng ---------- */
.store-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.store-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.store-card .media { aspect-ratio: 16 / 10; }
.store-card .rating-chip { top: 16px; left: 16px; right: auto; bottom: auto; padding: 8px 12px; border-radius: 12px; gap: 8px; box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.store-card .rating-chip .score { font-size: 18px; }
.store-tag { position: absolute; z-index: 1; left: 16px; bottom: 16px; padding: 6px 12px; border-radius: 999px; background: var(--red); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.store-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.store-card h3 { font-size: 24px; font-weight: 800; color: var(--black); }
.store-info { margin-top: 16px; display: grid; gap: 12px; font-size: 15px; }
.store-info li { display: flex; gap: 12px; align-items: flex-start; }
.store-info svg { width: 20px; height: 20px; color: var(--red); flex: none; margin-top: 2px; }
.store-info a { font-weight: 700; color: var(--black); }
.store-actions { margin-top: auto; padding-top: 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }

/* ---------- Đánh giá ---------- */
.rating-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.g-rating {
  display: flex; align-items: center; gap: 20px; padding: 24px 26px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.g-rating:hover { border-color: #cfcfcf; box-shadow: var(--shadow-sm); }
.g-rating .big { font-size: 48px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--black); }
.g-rating .stars { color: var(--yellow); font-size: 18px; letter-spacing: 2px; }
.g-rating .meta { font-size: 14px; color: var(--muted); }
.g-rating .meta b { display: block; color: var(--black); font-size: 16px; }
.g-rating .go { margin-left: auto; font-size: 14px; font-weight: 700; color: var(--black); white-space: nowrap; }
.rating-src { font-size: 12px; color: var(--muted); text-align: center; margin-bottom: 36px; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-ph {
  min-height: 180px; border: 2px dashed #d6d6d6; border-radius: var(--radius); background: var(--white);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  text-align: center; padding: 24px; color: var(--muted);
}
.review-ph strong { color: #444; letter-spacing: .04em; font-size: 15px; }
.review-ph small { font-size: 13px; }
.review-ph svg { width: 30px; height: 30px; color: #cfcfcf; }

/* ---------- FAQ ---------- */
.faq { max-width: 840px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
.faq details[open] { border-color: #cfcfcf; box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; min-height: 56px; font-weight: 700; font-size: 16px; color: var(--black);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--gray);
  display: grid; place-items: center; font-size: 20px; font-weight: 500; line-height: 1; transition: transform .2s ease, background-color .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--red); color: #fff; }
.faq .answer { padding: 0 24px 22px; color: var(--muted); }

/* ---------- CTA cuối ---------- */
.final-cta { padding: 104px 0; text-align: center; color: var(--white);
  background: radial-gradient(700px 320px at 50% 0%, rgba(229,57,53,.3), transparent 70%), var(--night); }
.final-cta h2 { font-size: clamp(28px, 4.4vw, 50px); font-weight: 800; letter-spacing: -0.03em; text-wrap: balance; }
.final-cta p { margin: 16px auto 0; max-width: 560px; color: #c1c1c5; font-size: 17px; }
.final-cta .btns { margin-top: 36px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.final-cta .btn { min-width: 220px; }
.final-cta .hotlines { margin-top: 28px; display: flex; gap: 12px 28px; justify-content: center; flex-wrap: wrap; font-size: 14px; color: #a9a9ad; }
.final-cta .hotlines a { color: #fff; font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { background: #060607; color: #b3b3b7; padding: 72px 0 32px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .f-logo { display: inline-block; background: #fff; border-radius: 16px; padding: 8px 12px; }
.footer-brand .f-logo img { height: 64px; width: auto; }
.footer-brand p { margin-top: 16px; max-width: 300px; }
.footer-brand .socials { margin-top: 18px; display: flex; gap: 10px; }
.footer-brand .socials a { width: 44px; height: 44px; border-radius: 12px; background: #17171a; border: 1px solid #26262a; display: grid; place-items: center; color: #fff; }
.footer-brand .socials a:hover { background: #222226; }
.footer-brand .socials svg { width: 20px; height: 20px; }
.site-footer h3 { color: var(--white); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.footer-list { display: grid; gap: 10px; }
.footer-list li { line-height: 1.5; }
.footer-list a:hover { color: var(--white); }
.footer-list .hl { color: #fff; font-weight: 700; font-size: 17px; letter-spacing: .02em; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid #1c1c1f; font-size: 13px; color: #7c7c80; }

/* ---------- Nút liên hệ nổi ---------- */
.float-contact { position: fixed; right: 20px; bottom: 24px; z-index: 40; display: flex; flex-direction: column; gap: 10px; }
.float-btn {
  display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 18px 0 14px; border-radius: 999px;
  color: var(--white); font-weight: 700; font-size: 14px; box-shadow: 0 10px 28px rgba(17,17,17,.25);
}
.float-btn svg { width: 22px; height: 22px; }
.float-btn--call { background: var(--red); }
.float-btn--zalo { background: var(--zalo); }
.mobile-bar { display: none; }

/* ---------- Dialog chi tiết sản phẩm ---------- */
.p-dialog { width: min(560px, calc(100% - 32px)); max-height: calc(100% - 32px); border: 0; border-radius: 24px; padding: 0; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.p-dialog::backdrop { background: rgba(10,10,11,.6); }
.p-dialog .d-inner { padding: 24px; }
.p-dialog .d-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.p-dialog h3 { font-size: 24px; font-weight: 800; color: var(--black); }
.d-close { width: 44px; height: 44px; border: 1px solid var(--line); background: var(--white); border-radius: 12px; font-size: 22px; line-height: 1; }
.d-media .media { aspect-ratio: 16 / 10; margin-top: 16px; border-radius: 16px; background: radial-gradient(80% 70% at 50% 40%, #2a2a2d, #0d0d0f); }
.d-media .phone-sil { width: 22%; }
.d-media .media.has-img img { object-fit: contain; padding: 4%; }
.d-specs { margin-top: 18px; display: grid; gap: 10px; font-size: 15px; }
.d-specs li { display: flex; gap: 8px; flex-wrap: wrap; }
.d-specs b { min-width: 96px; color: #333; }
.d-price { color: var(--red); font-weight: 800; }
.d-actions { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.d-actions .btn:last-child { grid-column: 1 / -1; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 96px; z-index: 60; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--black); color: var(--white); padding: 12px 18px; border-radius: 12px; font-size: 14px; font-weight: 500;
  max-width: calc(100% - 32px); text-align: center; transition: opacity .2s ease, transform .2s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1100px) {
  .site-nav a { padding: 10px 10px; font-size: 14px; }
  .rating-chip--a { right: 12px; }
  .rating-chip--b { left: 12px; }
}

/* Tablet */
@media (max-width: 960px) {
  :root { --header-h: 66px; }
  .section { padding: 76px 0; }
  .logo img { height: 52px; }
  .nav-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(17,17,17,.08);
    display: none;
  }
  .nav-open .site-nav { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 8px 24px 16px; }
  .site-nav a { padding: 14px 4px; font-size: 16px; border-bottom: 1px solid var(--gray-2); border-radius: 0; }
  .site-nav li:last-child a { border-bottom: 0; }

  .hero { padding: 40px 0 110px; }
  .hero-grid { grid-template-columns: 1fr; grid-template-areas: "text" "visual" "cta" "perks"; grid-template-rows: auto; }
  .hero-text { text-align: center; }
  .hero-sub, .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-visual { margin: 32px auto 0; width: 100%; max-width: 560px; }
  .hero-cta, .hero-perks { justify-content: center; }

  .trust ul { grid-template-columns: repeat(2, 1fr); }
  .trust li:nth-child(3) { border-left: 0; }
  .trust li:nth-child(n+3) { border-top: 1px solid var(--line); }

  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-card { grid-column: span 1; }
  .product-card--feature { grid-column: 1 / -1; }
  .product-card--feature:nth-child(2) { grid-column: span 1; flex-direction: column; }
  .product-card--feature:nth-child(2) .media { flex: none; aspect-ratio: 5 / 4; min-height: 0; }
  .product-card--feature:nth-child(2) .product-name { font-size: 22px; }

  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why-card, .why-card:nth-child(-n+2) { grid-column: span 1; }
  .why-card:first-child { grid-column: 1 / -1; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .tradein-steps { grid-template-columns: repeat(2, 1fr); }
  .tradein-step::after { display: none; }
  .store-actions { grid-template-columns: 1fr 1fr; }
  .store-actions .btn:first-child { grid-column: 1 / -1; }
  .rating-row { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .review-ph { min-height: 120px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* Mobile */
@media (max-width: 640px) {
  :root { --header-h: 62px; }
  .container { padding: 0 16px; }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 30px; }
  .section-desc { font-size: 15px; }

  .logo img { height: 48px; }
  .header-inner { gap: 10px; }
  .header-call { padding: 8px 12px 8px 8px; }
  .header-call small { display: none; }
  .header-call b { font-size: 14px; }

  .hero { padding: 28px 0 96px; }
  .hero-kicker { font-size: 12px; margin-bottom: 16px; }
  .hero h1 { font-size: 36px; }
  .hero-sub { font-size: 15px; margin-top: 16px; }
  .hero-desc { display: none; }
  .hero-visual { margin-top: 22px; }
  .hero-photo { aspect-ratio: 16 / 11; border-radius: 22px; }
  .rating-chip { padding: 8px 12px; gap: 8px; border-radius: 12px; }
  .rating-chip .score { font-size: 18px; }
  .rating-chip .meta { font-size: 11px; }
  .rating-chip .meta b { font-size: 12px; }
  .hero-visual .rating-chip { padding: 6px 10px; }
  .hero-visual .rating-chip .stars { display: none; }
  .hero-visual .rating-chip .score { font-size: 16px; }
  .hero-visual .rating-chip .score::before { content: "★ "; color: var(--yellow); font-size: 13px; }
  .rating-chip--a { right: 10px; top: 10px; }
  .rating-chip--b { left: 10px; top: 10px; bottom: auto; }
  .hero-photo figcaption { display: none; }
  .hero-cta { flex-direction: column; margin-top: 22px; }
  .hero-cta .btn { width: 100%; }
  .hero-perks { grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 22px; }
  .hero-perks li { flex-direction: column; text-align: center; font-size: 12px; gap: 6px; line-height: 1.3; }
  .check { width: 28px; height: 28px; }

  .trust { margin-top: -56px; }
  .trust ul { border-radius: 18px; }
  .trust li { flex-direction: column; text-align: center; gap: 8px; padding: 18px 10px; }
  .trust .t-ico { width: 40px; height: 40px; border-radius: 12px; }
  .trust b { font-size: 14px; }
  .trust span { display: none; }

  .product-grid { gap: 12px; }
  .product-body { padding: 14px 14px 16px; }
  .product-series { font-size: 10px; }
  .product-name, .product-card--feature:nth-child(2) .product-name { font-size: 17px; }
  .product-specs { gap: 6px; }
  .product-specs li { font-size: 11.5px; padding: 3px 3px 3px 8px; flex-wrap: wrap; border-radius: 10px; }
  .product-price .price { font-size: 14px; }
  .product-price .installment { font-size: 12px; }
  .product-actions { grid-template-columns: 1fr; }
  .product-actions .btn { font-size: 13px; padding: 10px 8px; }
  .product-card--feature:first-child { flex-direction: column; }
  .product-card--feature:first-child .media { flex: none; aspect-ratio: 16 / 10; min-height: 0; }
  .product-card--feature:first-child .phone-sil { width: 22%; }
  .product-card--feature:first-child .product-name { font-size: 22px; }
  .product-card--feature:first-child .product-actions { grid-template-columns: 1fr 1fr; }

  .why-grid { grid-template-columns: 1fr; gap: 12px; }
  .why-card, .why-card:first-child { grid-column: auto; padding: 22px; }
  .why-head { margin-bottom: 14px; }
  .why-ico { width: 44px; height: 44px; border-radius: 14px; }
  .why-card h3 { font-size: 18px; }

  .steps::before { left: 39px; }
  .step { padding: 16px; gap: 14px; }
  .step-no { width: 48px; height: 48px; }
  .tradein-steps { gap: 10px; }
  .tradein-step { padding: 20px 16px; }
  .tradein-step .n { font-size: 30px; }
  .tradein-step h3 { font-size: 15px; margin-top: 10px; }
  .split .btn, .center .btn { width: 100%; }

  .store-grid { grid-template-columns: 1fr; gap: 16px; }
  .store-body { padding: 20px; }
  .store-card h3 { font-size: 21px; }

  .g-rating { padding: 18px; gap: 14px; flex-wrap: wrap; }
  .g-rating .big { font-size: 38px; }
  .g-rating .go { margin-left: 0; width: 100%; }

  .final-cta { padding: 76px 0; }
  .final-cta .btns { flex-direction: column; }
  .final-cta .btn { width: 100%; }

  .footer-grid { grid-template-columns: 1fr; gap: 30px; }

  /* Thanh Gọi/Zalo cố định dưới màn hình */
  .float-contact { display: none; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.97); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(17,17,17,.08);
  }
  .mobile-bar .btn { min-height: 52px; font-size: 16px; box-shadow: none; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .toast { bottom: calc(86px + env(safe-area-inset-bottom)); }
}

@media (max-width: 370px) {
  .hero h1 { font-size: 31px; }
  .header-call .txt { display: none; }
  .hero-perks li { font-size: 11px; }
}

/* ---------- Huy hiệu "Powered by Netlify" (Netlify tự chèn, cố định góc phải dưới) ----------
   Dời nút liên hệ / huy hiệu để không che nhau. */
.float-contact { bottom: 84px; }
@media (max-width: 640px) {
  #nl-badge-frame { bottom: calc(68px + env(safe-area-inset-bottom)) !important; }
}
/* =====================================================================
   v4 — Giá sản phẩm, 7 phần quà, ô "Vì sao" mở rộng, định giá nhanh, đánh giá
   ===================================================================== */

/* ---------- Sản phẩm: giá & nhãn ---------- */
.p-badge {
  position: absolute; z-index: 1; left: 14px; top: 14px;
  padding: 5px 11px; border-radius: 999px; background: var(--red); color: #fff;
  font-size: 12px; font-weight: 800; letter-spacing: .02em;
}
.product-card .media.has-img img { padding: 7% 0; }
.product-specs li { padding: 5px 12px; }
.product-specs li span { font-weight: 700; color: var(--black); }
.price-label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.product-price .price { font-size: 26px; letter-spacing: -0.02em; margin-top: 2px; }
.product-card--feature .product-price .price { font-size: 32px; }
.product-price .installment b { color: var(--black); }

/* ---------- Ưu đãi: 7 phần quà ---------- */
.gifts { background: radial-gradient(760px 320px at 50% 0%, rgba(229,57,53,.26), transparent 70%), var(--night); }
.hl-num { color: var(--red); font-size: 1.3em; line-height: 1; }
.gift-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gift {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center;
  padding: 30px 20px 26px; border-radius: 22px; background: #151517; border: 1px solid #26262a;
  transition: border-color .2s ease, transform .2s ease;
}
.gift:hover { border-color: #4a2a2a; transform: translateY(-2px); }
.gift--wide { grid-column: span 2; flex-direction: row; justify-content: center; text-align: left; gap: 22px; }
.gift-no { position: absolute; top: 14px; left: 16px; font-size: 12px; font-weight: 800; color: #5d5d63; letter-spacing: .08em; }
.gift-ico {
  width: 88px; height: 88px; border-radius: 26px; flex: none; display: grid; place-items: center;
  color: #ff6b66; background: linear-gradient(160deg, #2c1515, #19191c); border: 1px solid #3b2323;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.gift-ico svg { width: 50px; height: 50px; }
.gift b { color: #fff; font-size: 16px; line-height: 1.35; }
.gifts-cta { margin-top: 36px; }
.gifts .note { color: #8a8a8f; }

/* ---------- Vì sao chọn: bấm để mở rộng ---------- */
.why-grid { align-items: start; }
.why-card { cursor: pointer; transition: border-color .2s ease, box-shadow .2s ease; }
.why-card:hover { border-color: #cfcfcf; box-shadow: var(--shadow-sm); }
.why-card summary { list-style: none; display: block; outline-offset: 6px; }
.why-card summary::-webkit-details-marker { display: none; }
.why-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 13px; font-weight: 700; color: var(--red); }
.why-more::after {
  content: "+"; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  background: #fdecec; font-size: 17px; line-height: 1; transition: transform .2s ease;
}
.why-card[open] .why-more::after { transform: rotate(45deg); }
.why-card:first-child .why-more { color: #ff8a86; }
.why-card:first-child .why-more::after { background: rgba(255,255,255,.1); }
.why-list { margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--line); display: grid; gap: 11px; }
.why-card:first-child .why-list { border-top-color: #333; }
.why-list li { display: flex; gap: 10px; font-size: 15px; line-height: 1.45; color: #2a2a2a; }
.why-card:first-child .why-list li { color: #e8e8e8; }
.why-list li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.why-link { display: inline-block; margin-top: 16px; font-size: 14px; font-weight: 700; color: var(--black); border-bottom: 2px solid var(--red); }
.why-card:first-child .why-link { color: #fff; }

/* ---------- Trả góp: điểm nổi bật ---------- */
.perk-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: -8px 0 20px; }
.perk-chips li {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px;
  background: #fdecec; color: #b3261e; font-size: 14px; font-weight: 700;
}
.perk-chips li::before { content: "✓"; }
.example {
  margin-bottom: 22px; padding: 12px 16px; font-size: 15px; color: #333;
  background: var(--gray); border-left: 3px solid var(--red); border-radius: 0 12px 12px 0;
}

/* ---------- Định giá nhanh ---------- */
.quote { max-width: 900px; margin: 0 auto; padding: 30px; border-radius: 26px; background: #151517; border: 1px solid #2a2a2e; }
.quote-head h3 { color: #fff; font-size: 23px; font-weight: 800; }
.quote-head p { margin-top: 4px; color: #a9a9ad; }
.quote-models { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 22px; }
.q-model {
  min-height: 54px; padding: 8px; border-radius: 14px; border: 1.5px solid #34343a;
  background: #1e1e21; color: #fff; font-weight: 700; font-size: 15px; line-height: 1.2;
  transition: background-color .15s ease, border-color .15s ease;
}
.q-model:hover { border-color: #6a6a70; }
.q-model[aria-pressed="true"] { background: var(--red); border-color: var(--red); }
.quote-result { margin-top: 20px; padding: 26px 20px; border-radius: 20px; background: #0c0c0e; border: 1px dashed #36363b; text-align: center; }
.q-empty { color: #8a8a8f; }
.q-body { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.q-body[hidden] { display: none; }
.q-label { color: #bdbdc1; font-size: 14px; }
.q-label b { color: #fff; }
.q-price { font-size: clamp(36px, 5.4vw, 52px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; color: #fff; }
.q-extra { display: grid; gap: 4px; color: #d7d7da; font-size: 15px; }
.q-extra b { color: var(--yellow); }
.q-body .btn { margin-top: 10px; }
.q-note { font-size: 12px; color: #8a8a8f; }

/* ---------- Đánh giá: băng chuyền ---------- */
.reviews { position: relative; margin-top: 8px; }
.rv-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 4px 2px 18px; scrollbar-width: thin;
}
.rv-card {
  margin: 0; scroll-snap-align: start; display: flex; flex-direction: column; gap: 14px;
  padding: 24px; border-radius: 20px; background: #fff; border: 1px solid var(--line);
}
.rv-top { display: flex; align-items: center; justify-content: space-between; }
.rv-stars { color: var(--yellow); font-size: 17px; letter-spacing: 2px; }
.rv-stars i { color: #dcdcdc; font-style: normal; }
.rv-g { padding: 3px 10px; border-radius: 999px; background: var(--gray); color: var(--muted); font-size: 12px; font-weight: 700; }
.rv-card blockquote { flex: 1; margin: 0; font-size: 16px; line-height: 1.55; color: #222; }
.rv-card blockquote::before { content: "“"; }
.rv-card blockquote::after { content: "”"; }
.rv-card figcaption { display: flex; align-items: center; gap: 10px; }
.rv-av { width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--black); color: #fff; font-weight: 800; }
.rv-card figcaption b { display: block; font-size: 14px; color: var(--black); }
.rv-card figcaption small { font-size: 12px; color: var(--muted); }
.rv-nav { display: flex; justify-content: center; gap: 10px; margin-top: 4px; }
.rv-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; color: var(--black); }
.rv-btn:hover { border-color: var(--black); }
.rv-btn svg { width: 18px; height: 18px; }
.rating-src { margin: 18px 0 0; }

/* ---------- Responsive v4 ---------- */
@media (max-width: 960px) {
  .gift-grid { grid-template-columns: repeat(2, 1fr); }
  .gift--wide { grid-column: 1 / -1; }
  .quote-models { grid-template-columns: repeat(3, 1fr); }
  .rv-track { grid-auto-columns: calc((100% - 20px) / 2); }
}
@media (max-width: 640px) {
  .product-price .price { font-size: 18px; }
  .product-card--feature:first-child .product-price .price { font-size: 26px; }
  .product-specs li { padding: 3px 8px; }
  .p-badge { left: 10px; top: 10px; font-size: 11px; padding: 4px 9px; }

  .gift-grid { gap: 10px; }
  .gift { padding: 22px 12px 18px; gap: 12px; border-radius: 18px; }
  .gift-ico { width: 68px; height: 68px; border-radius: 20px; }
  .gift-ico svg { width: 40px; height: 40px; }
  .gift b { font-size: 14px; }
  .gift-no { top: 10px; left: 12px; font-size: 11px; }
  .gift--wide { padding: 18px 16px; }

  .why-list li { font-size: 14px; }
  .perk-chips li { font-size: 13px; padding: 7px 12px; }

  .quote { padding: 20px 16px; border-radius: 22px; }
  .quote-head h3 { font-size: 19px; }
  .quote-models { gap: 8px; }
  .q-model { min-height: 48px; font-size: 14px; }
  .quote-result { padding: 22px 14px; }
  .q-extra { font-size: 14px; }
  .q-body .btn { width: 100%; font-size: 14px; }

  .rv-track { grid-auto-columns: 84%; gap: 12px; }
  .rv-card { padding: 20px; }
  .rv-nav { display: none; }
}

.product-actions .btn { white-space: nowrap; padding-left: 10px; padding-right: 10px; }

/* =====================================================================
   v5 — Ảnh máy thật (nền trắng), thẻ iPhone 18 Pro Max, quà tặng dạng ảnh
   ===================================================================== */

/* ---------- Ảnh sản phẩm: nền trắng, ảnh đã có lề sẵn ---------- */
.product-card .media,
.product-card--feature .media { background: #fff; }
.product-card .media.has-img img { padding: 2%; object-fit: contain; }
.product-card .media { border-bottom: 1px solid var(--gray-2); }
.product-card--feature .media,
.product-card--hero .media { border-bottom: 0; border-right: 1px solid var(--gray-2); }
.product-card:hover .media img { transform: scale(1.03); }
.product-card .media img { transition: transform .4s ease; }
.p-badge--new { background: var(--black); }
.p-badge--new::before { content: "✦ "; color: var(--yellow); }

/* Thẻ rộng nhất: iPhone 18 Pro Max */
.product-card--hero { grid-column: 1 / -1; flex-direction: row; }
.product-card--hero .media { flex: 0 0 52%; aspect-ratio: auto; min-height: 400px; }
.product-card--hero .product-body { padding: 36px 40px; justify-content: center; }
.product-card--hero .product-name { font-size: 34px; }
.product-card--hero .product-price .price { font-size: 26px; }
.product-card--hero .product-actions { margin-top: 24px; max-width: 460px; }

/* ---------- Quà tặng: thẻ ảnh, nền sáng ---------- */
.gifts { background: radial-gradient(760px 320px at 50% 0%, rgba(229,57,53,.08), transparent 70%), #fff; color: var(--ink); }
.gifts .section-title { color: var(--black); }
.gifts .section-desc, .gifts .note { color: var(--muted); }
.gift {
  display: flex; flex-direction: column; align-items: stretch; gap: 0; text-align: left;
  padding: 0; overflow: hidden; border-radius: 22px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.gift:hover { transform: translateY(-4px); border-color: #e3c4c3; box-shadow: 0 18px 40px -18px rgba(229,57,53,.35); }
.gift figure { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--gray); }
.gift figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gift:hover figure img { transform: scale(1.07); }
.gift figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.18)); }
.gift-no {
  position: absolute; z-index: 1; top: 12px; left: 12px;
  padding: 4px 10px; border-radius: 999px; background: var(--red); color: #fff;
  font-size: 12px; font-weight: 800; letter-spacing: .06em;
}
.gift-body { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 18px; }
.gift-body b { color: var(--black); font-size: 16px; line-height: 1.35; }
.gift-body span { color: var(--muted); font-size: 13px; }
.gift--wide { flex-direction: row; justify-content: flex-start; text-align: left; gap: 0; }
.gift--wide figure { flex: 0 0 50%; aspect-ratio: auto; min-height: 100%; }
.gift--wide .gift-body { justify-content: center; padding: 22px 26px; }
.gift--wide .gift-body b { font-size: 20px; }
.gift--wide .gift-body span { font-size: 14px; }

@media (max-width: 960px) {
  .product-card--feature { grid-column: span 1; flex-direction: column; }
  .product-card--feature .media { flex: none; aspect-ratio: 1 / 1; min-height: 0; border-right: 0; border-bottom: 1px solid var(--gray-2); }
  .product-card--feature:nth-child(2) { grid-column: 1 / -1; flex-direction: row; }
  .product-card--feature:nth-child(2) .media { flex: 0 0 46%; aspect-ratio: auto; min-height: 300px; border-bottom: 0; border-right: 1px solid var(--gray-2); }
  .product-card--hero .media { flex: 0 0 48%; min-height: 320px; }
  .product-card--hero .product-body { padding: 24px; }
  .product-card--hero .product-name { font-size: 28px; }
}
@media (max-width: 640px) {
  .product-card--hero,
  .product-card--feature:nth-child(2) { flex-direction: column; }
  .product-card--hero .media,
  .product-card--feature:nth-child(2) .media { flex: none; aspect-ratio: 1 / 1; min-height: 0; border-right: 0; border-bottom: 1px solid var(--gray-2); }
  .product-card--hero .product-body { padding: 16px; }
  .product-card--hero .product-name, .product-card--feature:nth-child(2) .product-name { font-size: 22px; }
  .product-card--hero .product-price .price { font-size: 20px; }
  .product-card--feature:nth-child(2) .product-price .price { font-size: 26px; }
  .product-card--hero .product-actions,
  .product-card--feature:nth-child(2) .product-actions { grid-template-columns: 1fr 1fr; }

  .gift { padding: 0; border-radius: 16px; }
  .gift-body { padding: 12px 12px 14px; }
  .gift-body b { font-size: 14px; }
  .gift-body span { font-size: 12px; }
  .gift-no { top: 8px; left: 8px; font-size: 11px; padding: 3px 8px; }
  .gift--wide .gift-body { padding: 14px 16px; }
  .gift--wide .gift-body b { font-size: 16px; }
}

.d-media .media { background: #fff; border: 1px solid var(--gray-2); }

@media (max-width: 640px) {
  .product-card--feature:nth-child(3) .product-name { font-size: 17px; }
  .product-card--feature:nth-child(3) .product-price .price { font-size: 18px; }
}@media (max-width: 960px) { .product-card--feature:nth-child(3) .media { aspect-ratio: 5 / 4; } }
