/*
Theme Name: LE MO GYM
Theme URI: https://lemogym.com
Author: LE MO GYM
Description: Theme thoi trang gym - hero carousel figurine, cac section kieu CSB. Tuy chinh toan bo trong Giao dien - Tuy bien. Ho tro WooCommerce day du.
Version: 6.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: lemogym
WC requires at least: 8.0
*/

/* ═══════════════════════════════════════════════════════
   LE MO GYM — thiết kế tối giản
   Trắng · đen mềm · hồng pastel · ảnh thật làm chủ đạo
   ═══════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════
   LE MO GYM — thiết kế tối giản
   Trắng · đen mềm · hồng pastel · ảnh thật làm chủ đạo
   ═══════════════════════════════════════════════════════ */

:root {
  --bg: #ffffff;
  --bg-soft: #fbf7f9;        /* nền section xen kẽ */
  --surface: #ffffff;
  --text: #1c161a;
  --muted: #7e7278;
  --pink: #f3aecd;           /* hồng pastel — nút, fill */
  --pink-deep: #d8548e;      /* hồng đậm — chữ nhấn, hover */
  --pink-soft: #fceef5;      /* hồng cực nhạt — hover nhẹ, tag */
  --dark: #201a1e;           /* footer, nút tối */
  --line: #eee4ea;
  --rouge: #e0447e;

  --font: "Inter", sans-serif;
  --anton: "Anton", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-hero: cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 14px;
  --header-h: 64px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--pink); color: var(--text); }

img, svg, canvas { display: block; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input { font-family: inherit; }

:focus-visible {
  outline: 2px solid var(--pink-deep);
  outline-offset: 3px;
  border-radius: 3px;
}

.container { width: min(1200px, 100% - 48px); margin-inline: auto; }
.container-wide { width: min(1400px, 100% - 40px); margin-inline: auto; }

/* ─── ANNOUNCEMENT ─── */
.announce {
  position: relative;
  height: 36px;
  background: var(--pink);
  overflow: hidden;
  z-index: 90;
}
.announce-track { position: relative; height: 100%; }
.announce-msg {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.announce-msg.is-active { opacity: 1; transform: none; }
.announce-msg.is-leaving { opacity: 0; transform: translateY(-100%); }

/* ─── HEADER ─── */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.4s;
}
.header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(60, 30, 45, 0.25);
}
/* Trên hero: header trong suốt, logo + icon trắng */
.header.header--hero {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
  box-shadow: none;
}
.header--hero .nav-link,
.header--hero .nav-icon { color: #fff; }
.header--hero .nav-link:hover { color: #fff; border-bottom-color: #fff; }
.header--hero .nav-link--sale { color: #fff; }
.header--hero .nav-icon:hover { background: rgba(255, 255, 255, 0.15); }
.header--hero .nav-logo img { filter: invert(1) brightness(1.8); }
.header--hero .cart-count { background: #fff; color: var(--pink-deep); }
.header--hero .nav-burger span { background: #fff; }
.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header-h);
}
.nav-links {
  display: flex; align-items: center; gap: 28px;
  list-style: none;
}
.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.25s, border-color 0.25s;
}
.nav-link:hover { color: var(--pink-deep); border-bottom-color: var(--pink); }
.nav-link--sale { color: var(--rouge); font-weight: 600; }

.nav-logo { padding: 0 28px; }
.nav-logo img { height: 20px; width: auto; }

.nav-actions {
  display: flex; align-items: center; justify-content: flex-end; gap: 4px;
}
.nav-icon {
  position: relative;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--text);
  transition: background 0.25s;
}
.nav-icon:hover { background: var(--pink-soft); }
.nav-icon svg { width: 20px; height: 20px; }
.cart-count {
  position: absolute; top: 2px; right: 2px;
  min-width: 16px; height: 16px;
  padding: 0 4px;
  border-radius: 99px;
  background: var(--pink-deep);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  display: grid; place-items: center;
}
.cart-count.is-bump { animation: bump 0.4s var(--ease); }
@keyframes bump { 40% { transform: scale(1.4); } }

.nav-burger {
  display: none;
  flex-direction: column; gap: 5px;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
}
.nav-burger span {
  width: 20px; height: 1.5px;
  background: var(--text);
  transition: transform 0.3s var(--ease);
}
.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* ─── MOBILE MENU ─── */
.mobile-menu {
  position: fixed; inset: 0;
  z-index: 95;
  background: var(--bg);
  padding: calc(var(--header-h) + 60px) 28px 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mm-link {
  display: block;
  font-size: 1.5rem;
  font-weight: 600;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  transition: color 0.25s;
}
.mm-link:hover { color: var(--pink-deep); }
.mm-link--sale { color: var(--rouge); }
.mm-list { list-style: none; }

/* Menu WordPress trong footer */
.fc-menu {
  list-style: none;
  display: flex; flex-direction: column; gap: 11px;
  margin: 0; padding: 0;
}
.fc-menu a {
  color: var(--muted);
  font-size: 0.88rem;
  transition: color 0.25s;
}
.fc-menu a:hover { color: var(--pink-deep); }
.mm-contact { display: flex; flex-direction: column; gap: 6px; color: var(--muted); font-size: 0.88rem; }

/* ─── SEARCH ─── */
.search-overlay {
  position: fixed; inset: 0;
  z-index: 150;
  background: rgba(255, 255, 255, 0.97);
  display: grid; place-items: start center;
  padding-top: 16vh;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.search-overlay.is-open { opacity: 1; visibility: visible; }
.search-close {
  position: absolute; top: 24px; right: 28px;
  font-size: 1.3rem; color: var(--muted);
  transition: color 0.25s;
}
.search-close:hover { color: var(--text); }
.search-inner { width: min(600px, 90vw); }
.search-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--line);
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 500;
  color: var(--text);
  padding: 12px 0;
}
.search-input::placeholder { color: var(--muted); opacity: 0.5; }
.search-input:focus { outline: none; border-bottom-color: var(--pink-deep); }
.search-hints { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.search-hint {
  padding: 8px 18px;
  border: 1px solid var(--line);
  border-radius: 99px;
  font-size: 0.82rem;
  transition: border-color 0.25s, background 0.25s;
}
.search-hint:hover { border-color: var(--pink); background: var(--pink-soft); }
.search-results { margin-top: 28px; display: flex; flex-direction: column; }
.sr-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 12px;
  border-radius: 10px;
  width: 100%;
  text-align: left;
  transition: background 0.2s;
}
.sr-item:hover { background: var(--pink-soft); }
.sr-item strong { font-weight: 500; font-size: 0.95rem; }
.sr-item span { color: var(--pink-deep); font-size: 0.88rem; font-weight: 600; }

/* ─── NÚT (phẳng kiểu CSB) ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 34px;
  border-radius: 2px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.btn--primary { background: var(--dark); color: #fff; }
.btn--primary:hover { background: var(--pink-deep); color: #fff; }
.btn--ghost { border: 1px solid var(--text); color: var(--text); }
.btn--ghost:hover { background: var(--text); color: #fff; }
.btn--dark { background: var(--dark); color: #fff; }
.btn--dark:hover { background: var(--pink-deep); }
.btn--light { background: #fff; color: var(--text); }
.btn--light:hover { background: var(--pink-deep); color: #fff; }
.btn--full { width: 100%; }

/* ─── ĐẦU SECTION KIỂU CSB ─── */
.csb-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
  margin-bottom: 28px;
}
.csb-link {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--text);
  padding-bottom: 2px;
}
.csb-link:hover { color: var(--pink-deep); border-color: var(--pink-deep); }
.csb-note { color: var(--muted); font-size: 0.85rem; }

/* ─── EYEBROW / SECTION ─── */
.eyebrow {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pink-deep);
  margin-bottom: 16px;
}
.section { padding: 84px 0; }
.section--soft { background: var(--bg-soft); }
.section-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
  margin-bottom: 36px;
}
.section-title {
  font-family: var(--anton);
  font-weight: 400;
  font-size: clamp(1.6rem, 3.4vw, 2.5rem);
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.section-note { color: var(--muted); font-size: 0.92rem; }
.section-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--pink-deep);
}
.section-link:hover { text-decoration: underline; }

/* ─── HERO ─── */
.hero { padding: 56px 0 84px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-title {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.hero-title span { color: var(--pink-deep); }
.hero-sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 420px;
  margin-bottom: 30px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero-trust { font-size: 0.82rem; color: var(--muted); }
.hero-media {
  position: relative;
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-height: 620px;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-badge {
  position: absolute; top: 18px; left: 18px;
  padding: 8px 16px;
  border-radius: 99px;
  background: var(--rouge);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
}

/* ─── CATEGORIES (4 cột, chữ đè ảnh — CSB) ─── */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.cat-tile {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--bg-soft);
}
.cat-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.cat-tile:hover img { transform: scale(1.05); }
.cat-ov {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 22px;
  background: linear-gradient(180deg, transparent 55%, rgba(18, 10, 15, 0.55));
  color: #fff;
}
.cat-ov h3 {
  font-family: var(--anton);
  font-weight: 400;
  font-size: clamp(1.2rem, 1.9vw, 1.7rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}
.cat-ov span {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  width: fit-content;
  border-bottom: 1px solid #fff;
  padding-bottom: 2px;
  opacity: 0.9;
  transition: opacity 0.25s;
}
.cat-tile:hover .cat-ov span { opacity: 1; }

/* ─── SẢN PHẨM (card phẳng kiểu CSB) ─── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 8px;
}
.product-card { position: relative; }
.pc-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-soft);
  margin-bottom: 12px;
}
.pc-media-link { display: block; height: 100%; }
.pc-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.product-card:hover .pc-media img { transform: scale(1.04); }
.pc-tag {
  position: absolute; top: 0; left: 0;
  padding: 7px 14px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: #fff;
  color: var(--text);
}
.pc-tag--sale { background: var(--pink-deep); color: #fff; }
.pc-tag--out { background: #eee9ec; color: var(--muted); }
.pc-add {
  position: absolute; right: 12px; bottom: 12px;
  padding: 11px 20px;
  border-radius: 2px;
  background: #fff;
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 6px 20px -8px rgba(20, 8, 14, 0.3);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background 0.25s, color 0.25s;
}
.product-card:hover .pc-add { opacity: 1; transform: none; }
.pc-add:hover { background: var(--dark); color: #fff; }
.pc-add:disabled { background: #eee9ec; color: var(--muted); cursor: not-allowed; }
.pc-name {
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 4px;
}
.pc-price-row { display: flex; align-items: baseline; gap: 8px; }
.pc-price { font-size: 0.92rem; font-weight: 600; }
.pc-price-old {
  font-size: 0.82rem;
  color: var(--muted);
  text-decoration: line-through;
}
.pc-sale-note {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--pink-deep);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
@media (hover: none) {
  .pc-add { opacity: 1; transform: none; }
}

.product-card--more {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  text-align: center;
  padding: 30px;
  border: 1px solid var(--line);
  aspect-ratio: auto;
}
.pcm-count {
  font-family: var(--anton);
  font-size: 2.6rem;
  color: var(--pink-deep);
  line-height: 1;
}
.pcm-label { color: var(--muted); font-size: 0.88rem; max-width: 200px; }

/* ─── STACKABLE BANNERS (CSB) ─── */
.stackban { display: flex; flex-direction: column; gap: 8px; padding: 8px 0; }
.sb {
  position: relative;
  display: block;
  height: min(72vh, 560px);
  overflow: hidden;
}
.sb-im {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 28%;
  transition: transform 0.9s var(--ease);
}
.sb:hover .sb-im { transform: scale(1.03); }
.sb-tx {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 clamp(24px, 7vw, 110px);
  background: linear-gradient(90deg, rgba(18, 10, 15, 0.42), transparent 60%);
  color: #fff;
}
.sb-tx h2 {
  font-family: var(--anton);
  font-weight: 400;
  font-size: clamp(1.8rem, 4.2vw, 3.4rem);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 12px;
}
.sb-tx p { max-width: 380px; font-size: 0.95rem; opacity: 0.9; margin-bottom: 22px; }
.sb-cta {
  width: fit-content;
  padding: 14px 32px;
  background: #fff;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.25s, color 0.25s;
}
.sb:hover .sb-cta { background: var(--pink-deep); color: #fff; }

/* ─── MOVE IN COLOUR ─── */
.colorhero {
  position: relative;
  height: min(80vh, 620px);
  overflow: hidden;
  margin-top: 8px;
}
.colorhero-im {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.colorhero-tx {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 24px;
  background: rgba(18, 10, 15, 0.32);
  color: #fff;
}
.colorhero-tx h2 {
  font-family: var(--anton);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.8rem);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.colorhero-tx p { max-width: 440px; font-size: 0.95rem; opacity: 0.92; margin-bottom: 26px; }

/* ─── BANNER ─── */
.banner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 40px;
  background: var(--pink-soft);
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
}
.banner-copy { padding: 48px 20px 48px 56px; }
.banner-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.banner-text { color: var(--muted); max-width: 400px; margin-bottom: 26px; }
.banner-media { height: 100%; min-height: 340px; }
.banner-media img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* ─── REVIEWS ─── */
.review-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.review {
  border-top: 2px solid var(--text);
  padding: 22px 4px 0;
  display: flex; flex-direction: column; gap: 12px;
}
.review-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  object-fit: cover;
}
.review-stars { color: var(--text); font-size: 0.8rem; letter-spacing: 2px; }
.review blockquote {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.6;
  flex: 1;
}
.review figcaption { font-size: 0.82rem; color: var(--muted); }
.review figcaption strong { color: var(--text); font-weight: 600; }

/* ─── BENEFITS ─── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.benefit { text-align: center; padding: 0 10px; }
.benefit svg {
  width: 36px; height: 36px;
  margin: 0 auto 14px;
  color: var(--pink-deep);
}
.benefit h3 { font-size: 1rem; font-weight: 600; margin-bottom: 6px; }
.benefit p { color: var(--muted); font-size: 0.88rem; max-width: 260px; margin-inline: auto; }

/* ─── NEWSLETTER (phẳng, căn giữa — CSB) ─── */
.newsletter {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  padding: 84px 0;
}
.nl-inner { text-align: center; max-width: 560px; }
.nl-title {
  font-family: var(--anton);
  font-weight: 400;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.nl-sub { color: var(--muted); margin-bottom: 26px; font-size: 0.92rem; }
.nl-form { display: flex; gap: 8px; }
.nl-input {
  flex: 1;
  background: #fff;
  border: 1px solid var(--text);
  border-radius: 2px;
  padding: 14px 18px;
  font-size: 0.9rem;
  color: var(--text);
}
.nl-input::placeholder { color: var(--muted); }
.nl-input:focus { outline: none; border-color: var(--pink-deep); }

/* ─── FOOTER (sáng, phẳng — CSB) ─── */
.footer {
  background: #fff;
  border-top: 1px solid var(--line);
  color: var(--text);
  padding: 64px 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 44px;
  padding-bottom: 48px;
}
.footer-logo { height: 20px; width: auto; margin-bottom: 16px; }
.footer-tag { color: var(--muted); font-size: 0.9rem; margin-bottom: 22px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text);
  transition: color 0.25s, border-color 0.25s;
}
.footer-social a:hover { color: var(--pink-deep); border-color: var(--pink-deep); }
.footer-social svg { width: 16px; height: 16px; }
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col h4 {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 6px;
}
.footer-col a {
  color: var(--muted);
  font-size: 0.88rem;
  width: fit-content;
  transition: color 0.25s;
}
.footer-col a:hover { color: var(--pink-deep); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}
.pay-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.pay-badge {
  padding: 5px 12px;
  border-radius: 3px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text);
}

/* ─── OVERLAY ─── */
.overlay {
  position: fixed; inset: 0;
  z-index: 110;
  background: rgba(30, 20, 26, 0.45);
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.overlay.is-open { opacity: 1; visibility: visible; }

/* ─── CART DRAWER ─── */
.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(420px, 100vw);
  z-index: 120;
  background: #fff;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  box-shadow: -20px 0 60px -30px rgba(60, 30, 45, 0.3);
}
.cart-drawer.is-open { transform: none; }
.cd-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 26px;
  border-bottom: 1px solid var(--line);
}
.cd-head h2 { font-size: 1.05rem; font-weight: 700; }
.cd-head h2 span { color: var(--pink-deep); }
.cd-close {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--muted);
  transition: background 0.25s, color 0.25s;
}
.cd-close:hover { background: var(--pink-soft); color: var(--text); }
.cd-freeship { padding: 16px 26px; border-bottom: 1px solid var(--line); }
.cd-freeship p { font-size: 0.82rem; color: var(--muted); margin-bottom: 9px; }
.cd-freeship strong { color: var(--pink-deep); }
.fs-bar { height: 4px; border-radius: 99px; background: var(--pink-soft); overflow: hidden; }
.fs-fill {
  display: block; height: 100%; width: 0;
  border-radius: 99px;
  background: var(--pink-deep);
  transition: width 0.5s var(--ease);
}
.cd-items {
  flex: 1;
  overflow-y: auto;
  padding: 18px 26px;
  display: flex; flex-direction: column; gap: 16px;
}
.cd-empty {
  margin: auto;
  text-align: center;
  color: var(--muted);
  display: flex; flex-direction: column; gap: 14px; align-items: center;
}
.cd-empty svg { width: 40px; height: 40px; color: var(--line); }
.cart-item {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 14px;
  align-items: center;
  animation: itemIn 0.35s var(--ease);
}
@keyframes itemIn { from { opacity: 0; transform: translateX(18px); } }
.ci-thumb {
  width: 70px; height: 88px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--bg-soft);
}
.ci-info h3 { font-size: 0.88rem; font-weight: 500; margin-bottom: 3px; }
.ci-info .ci-price { font-size: 0.84rem; color: var(--pink-deep); font-weight: 600; }
.ci-qty {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 4px 10px;
}
.ci-qty button {
  width: 20px; height: 20px;
  display: grid; place-items: center;
  color: var(--muted);
  transition: color 0.2s;
}
.ci-qty button:hover { color: var(--pink-deep); }
.ci-qty span { font-size: 0.82rem; min-width: 16px; text-align: center; }
.ci-remove {
  color: var(--muted);
  font-size: 0.78rem;
  align-self: start;
  transition: color 0.25s;
}
.ci-remove:hover { color: var(--rouge); }
.cd-foot { padding: 20px 26px 26px; border-top: 1px solid var(--line); }
.cd-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.cd-row strong { font-size: 1.2rem; font-weight: 700; color: var(--pink-deep); }
.cd-note { font-size: 0.76rem; color: var(--muted); margin-bottom: 16px; }

/* ─── CHECKOUT ─── */
.checkout {
  position: fixed; inset: 0;
  z-index: 130;
  display: grid; place-items: center;
  padding: 20px;
  background: rgba(30, 20, 26, 0.5);
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.checkout.is-open { opacity: 1; visibility: visible; }
.co-panel {
  width: min(540px, 100%);
  max-height: min(740px, 92svh);
  overflow-y: auto;
  background: #fff;
  border-radius: 18px;
  transform: translateY(24px);
  transition: transform 0.4s var(--ease);
}
.checkout.is-open .co-panel { transform: none; }
.co-head {
  position: sticky; top: 0;
  z-index: 5;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 26px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.co-steps { display: flex; gap: 18px; flex-wrap: wrap; }
.co-step {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.3s;
}
.co-step.is-active { color: var(--pink-deep); }
.co-step.is-done { color: var(--text); }
.co-body { display: none; padding: 26px; }
.co-body.is-active { display: block; animation: bodyIn 0.4s var(--ease); }
@keyframes bodyIn { from { opacity: 0; transform: translateY(10px); } }
.co-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}
.co-field { display: flex; flex-direction: column; gap: 6px; }
.co-field--full { grid-column: 1 / -1; }
.co-field span { font-size: 0.76rem; font-weight: 600; color: var(--muted); }
.co-field input {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  padding: 12px 15px;
  font-size: 0.9rem;
  transition: border-color 0.25s;
}
.co-field input::placeholder { color: #b8acb3; }
.co-field input:focus { outline: none; border-color: var(--pink-deep); }
.co-error { color: var(--rouge); font-size: 0.82rem; margin-bottom: 12px; }

.pay-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}
.pay-tab {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 12px 6px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted);
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}
.pay-tab.is-active {
  border-color: var(--pink-deep);
  color: var(--text);
  background: var(--pink-soft);
}
.pt-ico {
  width: 26px; height: 26px;
  border-radius: 7px;
  display: grid; place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: #fff;
}
.pt-card { background: linear-gradient(135deg, #4a5f9e, #2c3a66); }
.pt-card::after { content: ""; width: 12px; height: 8px; border-radius: 2px; background: #e6c885; }
.pt-momo { background: #a50064; }
.pt-zalo { background: #0068ff; }
.pt-vnpay { background: #d9302d; }
.pt-cod { background: var(--pink-soft); color: var(--pink-deep); }

.pay-pane { display: none; }
.pay-pane.is-active { display: block; animation: bodyIn 0.35s var(--ease); }

.card-visual {
  position: relative;
  aspect-ratio: 1.62;
  max-width: 330px;
  margin: 0 auto 22px;
  border-radius: 14px;
  padding: 20px;
  color: #f5edf2;
  background:
    radial-gradient(110% 110% at 15% 0%, #4a2440, transparent 60%),
    linear-gradient(140deg, #2b2129, #141013);
  box-shadow: 0 22px 44px -20px rgba(40, 20, 32, 0.55);
  overflow: hidden;
}
.cv-chip {
  display: block;
  width: 36px; height: 26px;
  border-radius: 6px;
  background: linear-gradient(140deg, #e6c885, #a8823e);
  margin-bottom: 24px;
}
.cv-number {
  display: block;
  font-size: 1.15rem;
  letter-spacing: 0.13em;
  font-weight: 500;
  margin-bottom: 20px;
}
.cv-name, .cv-exp {
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.cv-exp { position: absolute; right: 20px; bottom: 20px; }
.cv-name { position: absolute; left: 20px; bottom: 20px; max-width: 60%; overflow: hidden; white-space: nowrap; }
.cv-brand {
  position: absolute; top: 18px; right: 20px;
  font-size: 0.8rem;
  font-weight: 800;
  font-style: italic;
  color: var(--pink);
}

.qr-box {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  padding: 26px;
  border: 1.5px dashed var(--line);
  border-radius: 14px;
  text-align: center;
}
.qr-box canvas { border-radius: 10px; background: #fff; padding: 10px; border: 1px solid var(--line); }
.qr-box p { font-size: 0.86rem; color: var(--muted); }
.qr-box strong { color: var(--text); }
.cod-box {
  padding: 20px;
  border: 1.5px dashed var(--line);
  border-radius: 14px;
  font-size: 0.9rem;
  color: var(--muted);
}
.cod-box strong { color: var(--text); }

.co-summary {
  margin: 20px 0 16px;
  padding: 16px 18px;
  background: var(--bg-soft);
  border-radius: 12px;
  font-size: 0.88rem;
}
.cs-row { display: flex; justify-content: space-between; padding: 3px 0; color: var(--muted); }
.cs-row--total {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-weight: 600;
}
.cs-row--total strong { font-size: 1.1rem; color: var(--pink-deep); }
.cs-row--free { color: var(--pink-deep); }

.pay-spinner {
  width: 17px; height: 17px;
  border: 2px solid rgba(28, 22, 26, 0.25);
  border-top-color: var(--text);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.co-secure { margin-top: 12px; text-align: center; font-size: 0.76rem; color: var(--muted); }

.success {
  text-align: center;
  padding: 22px 8px 14px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.success-ring { width: 88px; height: 88px; }
.sr-circle {
  fill: none;
  stroke: var(--pink-deep);
  stroke-width: 2;
  stroke-dasharray: 290;
  stroke-dashoffset: 290;
  animation: draw 0.8s var(--ease) forwards;
}
.sr-check {
  fill: none;
  stroke: var(--pink-deep);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 70;
  stroke-dashoffset: 70;
  animation: draw 0.45s var(--ease) 0.6s forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
.success-title { font-size: 1.3rem; font-weight: 700; }
.success-sub strong { color: var(--pink-deep); }
.success-note { color: var(--muted); font-size: 0.88rem; max-width: 360px; }
.success .btn { margin-top: 8px; }

/* ─── TOAST ─── */
.toast {
  position: fixed;
  left: 50%; bottom: 30px;
  transform: translate(-50%, 140%);
  z-index: 300;
  padding: 13px 24px;
  border-radius: 99px;
  background: var(--dark);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: 0 16px 36px -12px rgba(30, 20, 26, 0.5);
  transition: transform 0.4s var(--ease);
  pointer-events: none;
  white-space: nowrap;
}
.toast.is-show { transform: translate(-50%, 0); }

/* ─── REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav { grid-template-columns: auto 1fr auto; }
  .nav-logo { justify-self: center; }
  .nav-burger { display: flex; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero-grid { gap: 36px; }
}

@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .container { width: calc(100% - 36px); }
  .hero { padding: 32px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-media { order: -1; max-height: 440px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 22px 6px; }
  .review-grid { grid-template-columns: 1fr; }
  .sb { height: 62vh; }
  .sb-tx { justify-content: flex-end; padding-bottom: 34px; background: linear-gradient(180deg, transparent 40%, rgba(18, 10, 15, 0.55)); }
  .colorhero { height: 68vh; }
  .benefits-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .nl-form { flex-direction: column; }
  .pay-tabs { grid-template-columns: repeat(3, 1fr); }
  .co-grid { grid-template-columns: 1fr; }
  .nav-icon--desktop { display: none; }
}

/* ═══════════════════════════════════════════
   HERO CAROUSEL — full-viewport, đổi màu nền theo slide
   ═══════════════════════════════════════════ */
.thero {
  position: relative;
  width: 100%;
  height: 100svh;
  overflow: hidden;
  transition: background-color 650ms var(--ease-hero);
  font-family: var(--font);
}
.thero-grain {
  position: absolute; inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  background-repeat: repeat;
}
.thero-ghost {
  position: absolute; left: 0; right: 0; top: 18%;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
  pointer-events: none;
  user-select: none;
  font-family: var(--anton);
  font-weight: 400;
  font-size: clamp(56px, 16.5vw, 235px);
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}
.thero-stage { position: absolute; inset: 0; z-index: 3; }
.thero-item {
  position: absolute;
  transform: translateX(-50%);
  transition:
    transform 650ms var(--ease-hero),
    filter 650ms var(--ease-hero),
    opacity 650ms var(--ease-hero),
    left 650ms var(--ease-hero),
    bottom 650ms var(--ease-hero),
    height 650ms var(--ease-hero);
  will-change: transform, filter, opacity;
  cursor: pointer;
}
.thero-item img {
  height: 100%; width: auto;
  object-fit: contain;
  object-position: bottom center;
  display: block;
  -webkit-user-drag: none;
  filter: drop-shadow(0 34px 36px rgba(20, 8, 14, 0.38));
}
.thero-item.pos-center {
  left: 50%; height: 62%; bottom: 4%;
  transform: translateX(-50%) scale(1.12);
  filter: none; opacity: 1; z-index: 20;
  cursor: default;
}
.thero-item.pos-left {
  left: 28%; height: 32%; bottom: 21%;
  transform: translateX(-50%) scale(1);
  filter: blur(2px); opacity: 0.85; z-index: 10;
}
.thero-item.pos-right {
  left: 72%; height: 32%; bottom: 21%;
  transform: translateX(-50%) scale(1);
  filter: blur(2px); opacity: 0.85; z-index: 10;
}
.thero-item.pos-back {
  left: 50%; height: 24%; bottom: 24%;
  transform: translateX(-50%) scale(1);
  filter: blur(4px); opacity: 0.9; z-index: 5;
}

.thero-info {
  position: absolute;
  left: clamp(16px, 6vw, 96px);
  bottom: clamp(20px, 7vh, 80px);
  z-index: 60;
  color: #fff;
  max-width: 330px;
}
.thero-brand {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  opacity: 0.95;
  margin-bottom: 10px;
}
.thero-desc {
  font-size: 0.85rem;
  opacity: 0.85;
  line-height: 1.6;
  margin-bottom: 10px;
}
.thero-prod {
  font-size: 0.82rem;
  font-weight: 600;
  opacity: 0.95;
  min-height: 1.3em;
  margin-bottom: 18px;
  transition: opacity 0.3s;
}
.thero-nav { display: flex; gap: 12px; }
.thero-nav button {
  width: clamp(48px, 4.8vw, 64px);
  height: clamp(48px, 4.8vw, 64px);
  border-radius: 50%;
  border: 2px solid #fff;
  background: transparent;
  color: #fff;
  display: grid; place-items: center;
  transition: transform 150ms, background-color 150ms;
}
.thero-nav button:hover { transform: scale(1.08); background: rgba(255, 255, 255, 0.12); }
.thero-nav svg { width: 26px; height: 26px; }

.thero-cta {
  position: absolute;
  right: clamp(16px, 4vw, 60px);
  bottom: clamp(20px, 7vh, 80px);
  z-index: 60;
  display: flex; align-items: center; gap: 10px;
  color: #fff;
  font-family: var(--anton);
  font-weight: 400;
  font-size: clamp(20px, 4vw, 56px);
  letter-spacing: -0.02em;
  line-height: 1;
  text-transform: uppercase;
  opacity: 0.95;
  transition: opacity 200ms;
}
.thero-cta:hover { opacity: 1; }
.thero-cta svg { width: clamp(20px, 2.4vw, 32px); height: clamp(20px, 2.4vw, 32px); }

@media (max-width: 640px) {
  .thero-ghost { top: 15%; }
  .thero-item.pos-center { height: 44%; bottom: 24%; transform: translateX(-50%) scale(1.1); }
  .thero-item.pos-left { left: 14%; height: 18%; bottom: 36%; }
  .thero-item.pos-right { left: 86%; height: 18%; bottom: 36%; }
  .thero-item.pos-back { height: 14%; bottom: 38%; }
  .thero-desc { display: none; }
  .thero-info { max-width: 240px; }
}

/* ─── TICKER ─── */
.strip {
  background: var(--dark);
  color: #fff;
  overflow: hidden;
  padding: 13px 0;
}
.strip-track {
  display: flex; align-items: center; gap: 38px;
  width: max-content;
  animation: stripMove 26s linear infinite;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
}
.strip-track i { color: var(--pink); font-style: normal; }
@keyframes stripMove { to { transform: translateX(calc(-100% / 3)); } }
.strip:hover .strip-track { animation-play-state: paused; }

/* ═══════════ REDUCED MOTION ═══════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .strip-track { animation: none; }
}
