:root {
  --ink: #1a2332;
  --muted: #4b5568;
  --paper: #fffdf8;
  --white: #ffffff;
  --line: #f0e6d6;
  --rose: #e11d48;
  --rose-dark: #be123c;
  --amber: #f59e0b;
  --sky: #0ea5e9;
  --green: #16a34a;
  --zalo: #0068ff;
  --zalo-dark: #0054d1;
  --shadow: 0 10px 30px rgba(26, 35, 50, 0.08);
  --radius: 20px;
  --max: 1120px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Be Vietnam Pro", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

a { color: var(--rose-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 1000;
}
.skip-link:focus { left: 0.75rem; top: 0.75rem; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 248, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
  flex-shrink: 0;
}
.logo:hover { text-decoration: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text strong { font-size: 1.05rem; font-weight: 800; }
.logo-text small { font-size: 0.72rem; color: var(--muted); font-weight: 500; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span {
  display: block;
  height: 2.5px;
  background: var(--ink);
  margin: 6px 0;
  border-radius: 2px;
  transition: 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.site-nav a {
  display: block;
  padding: 0.4rem 0.55rem;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.84rem;
  border-radius: 999px;
  text-decoration: none;
}
.site-nav a:hover { background: #fff1e6; }
.site-nav .nav-cta {
  background: var(--rose);
  color: #fff;
  margin-left: 0.25rem;
}
.site-nav .nav-cta:hover { background: var(--rose-dark); }

.hero {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 0 4rem;
  background:
    radial-gradient(900px 400px at 10% -10%, #fecdd3 0%, transparent 55%),
    radial-gradient(700px 360px at 90% 0%, #fde68a 0%, transparent 50%),
    radial-gradient(600px 300px at 70% 100%, #bae6fd 0%, transparent 55%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--rose-dark);
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.hero h1 em {
  font-style: normal;
  color: var(--rose);
}

.lead {
  margin: 0 0 1.5rem;
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 36rem;
}

.hero-actions, .contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.15s, background 0.15s, box-shadow 0.15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: var(--rose);
  color: #fff;
  box-shadow: 0 8px 20px rgba(225, 29, 72, 0.25);
}
.btn-primary:hover { background: var(--rose-dark); color: #fff; }
.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: #e7d7c3;
}
.btn-ghost:hover { background: #fff7ed; }
.btn-zalo {
  background: var(--zalo);
  color: #fff;
}
.btn-zalo:hover { background: var(--zalo-dark); color: #fff; }

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}
.hero-pills a {
  display: inline-block;
  background: #fff;
  border: 1px solid var(--line);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow);
}
.hero-pills a:hover { border-color: var(--rose); color: var(--rose-dark); }

.hero-art { display: grid; place-items: center; }
.desk {
  position: relative;
  width: min(100%, 380px);
  aspect-ratio: 1;
  background: linear-gradient(160deg, #fff 0%, #fff7ed 100%);
  border-radius: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.book {
  position: absolute;
  width: 42%;
  height: 28%;
  border-radius: 6px 14px 14px 6px;
  box-shadow: 6px 8px 0 rgba(0,0,0,0.06);
}
.book-a { top: 16%; left: 14%; background: linear-gradient(90deg, #e11d48, #fb7185); transform: rotate(-12deg); }
.book-b { top: 28%; left: 28%; background: linear-gradient(90deg, #0ea5e9, #7dd3fc); transform: rotate(8deg); }
.book-c { top: 42%; left: 18%; background: linear-gradient(90deg, #16a34a, #86efac); transform: rotate(-4deg); }
.pencil {
  position: absolute;
  width: 8%;
  height: 46%;
  right: 22%;
  top: 14%;
  background: linear-gradient(#fbbf24 70%, #1a2332 70% 78%, #f59e0b 78%);
  border-radius: 6px 6px 2px 2px;
  transform: rotate(18deg);
}
.pencil::after {
  content: "";
  position: absolute;
  bottom: -14px;
  left: 0;
  right: 0;
  height: 16px;
  background: #f8d3a3;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.ruler {
  position: absolute;
  width: 55%;
  height: 10%;
  left: 16%;
  bottom: 18%;
  background: repeating-linear-gradient(90deg, #fde68a, #fde68a 8%, #f59e0b 8% 9%, #fde68a 9% 16%);
  border-radius: 4px;
  transform: rotate(-8deg);
  border: 2px solid #d97706;
}
.ball {
  position: absolute;
  width: 16%;
  height: 16%;
  right: 14%;
  bottom: 20%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fda4af, #e11d48);
}
.note {
  position: absolute;
  right: 12%;
  top: 46%;
  background: #fef08a;
  padding: 0.55rem 0.7rem;
  font-weight: 800;
  color: var(--rose-dark);
  transform: rotate(8deg);
  box-shadow: 2px 3px 0 #f59e0b;
  border-radius: 4px;
}

.section-head { max-width: 40rem; margin-bottom: 2rem; }
.section-head h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
}
.section-head p { margin: 0; color: var(--muted); }

.categories, .products, .about, .contact { padding: 4rem 0; }
.products.alt { background: #fff7ed; }

.cat-grid, .product-grid, .contact-grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: repeat(4, 1fr);
}

.cat-card, .product-card, .contact-card, .about-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cat-card {
  padding: 1.4rem 1.25rem 1.5rem;
  color: inherit;
  text-decoration: none;
  transition: transform 0.15s, border-color 0.15s;
}
.cat-card:hover {
  transform: translateY(-4px);
  text-decoration: none;
  border-color: transparent;
}
.cat-card h3 { margin: 0.4rem 0 0.35rem; font-size: 1.15rem; }
.cat-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.cat-icon { font-size: 2rem; display: block; }
.cat-book { border-top: 6px solid var(--rose); }
.cat-pen { border-top: 6px solid var(--sky); }
.cat-supply { border-top: 6px solid var(--amber); }
.cat-toy { border-top: 6px solid var(--green); }
.cat-gift { border-top: 6px solid #7c3aed; }
.cat-statue { border-top: 6px solid #b45309; }
.cat-shoe { border-top: 6px solid #4f46e5; }

.product-card { padding: 0 0 1.2rem; overflow: hidden; }
.product-card h3 { margin: 0.9rem 1.1rem 0.3rem; font-size: 1.05rem; }
.product-card p { margin: 0 1.1rem; color: var(--muted); font-size: 0.92rem; }
.product-card .price { margin-top: 0.7rem; color: var(--ink); }
.product-card .price strong { color: var(--rose-dark); }

.product-art {
  height: 140px;
  display: grid;
  place-items: center;
  position: relative;
}
.art-sgk { background: linear-gradient(180deg, #ffe4e6, #fff); }
.art-pen { background: linear-gradient(180deg, #e0f2fe, #fff); }
.art-notebook, .art-ruler, .art-eraser, .art-bag { background: linear-gradient(180deg, #fef3c7, #fff); }
.art-toy { background: linear-gradient(180deg, #dcfce7, #fff); }
.art-gift { background: linear-gradient(180deg, #ede9fe, #fff); }
.art-statue { background: linear-gradient(180deg, #ffedd5, #fff); }
.art-shoe { background: linear-gradient(180deg, #e0e7ff, #fff); }

.illu-gift, .illu-box {
  width: 64px;
  height: 52px;
  background: #7c3aed;
  border-radius: 6px;
  position: relative;
  margin-top: 14px;
}
.illu-gift::before, .illu-box::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: -16px;
  height: 16px;
  background: #a78bfa;
  border-radius: 4px 4px 0 0;
  clip-path: polygon(0 100%, 15% 0, 85% 0, 100% 100%);
}
.illu-gift::after, .illu-box::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -8px;
  bottom: 0;
  width: 10px;
  transform: translateX(-50%);
  background: #f59e0b;
}
.illu-box { background: #db2777; }
.illu-box::before { background: #f9a8d4; }

.illu-keychain {
  width: 28px;
  height: 48px;
  border: 5px solid #7c3aed;
  border-radius: 50% 50% 40% 40%;
  position: relative;
  margin-top: 18px;
}
.illu-keychain::before {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border: 4px solid #f59e0b;
  border-radius: 50%;
  left: 50%;
  top: -28px;
  transform: translateX(-50%);
}

.illu-ornament {
  width: 70px;
  height: 70px;
  background: radial-gradient(circle at 30% 30%, #fde68a, #f59e0b 55%, #d97706);
  border-radius: 50%;
  box-shadow: inset -8px -8px 0 rgba(0,0,0,0.08);
}

.illu-statue, .illu-bust {
  width: 44px;
  height: 70px;
  background: linear-gradient(#fdba74, #b45309);
  border-radius: 22px 22px 8px 8px;
  position: relative;
}
.illu-statue::before, .illu-bust::before {
  content: "";
  position: absolute;
  width: 70px;
  height: 14px;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  background: #9a3412;
  border-radius: 4px;
}
.illu-bust { background: linear-gradient(#fed7aa, #c2410c); }

.illu-frame, .illu-photo {
  width: 72px;
  height: 86px;
  background: #fff;
  border: 8px solid #b45309;
  border-radius: 4px;
  position: relative;
  box-shadow: 3px 4px 0 rgba(0,0,0,0.08);
}
.illu-frame::after, .illu-photo::after {
  content: "";
  position: absolute;
  inset: 6px;
  background: linear-gradient(#fdba74, #fb923c);
  border-radius: 2px;
}
.illu-photo { border-color: #78716c; }

.illu-sneaker, .illu-school-shoe {
  width: 96px;
  height: 42px;
  background: #4f46e5;
  border-radius: 18px 40px 10px 10px;
  position: relative;
  transform: rotate(-8deg);
}
.illu-sneaker::before, .illu-school-shoe::before {
  content: "";
  position: absolute;
  left: 8px;
  right: 28px;
  top: 8px;
  height: 10px;
  background: repeating-linear-gradient(90deg, #c7d2fe, #c7d2fe 8px, transparent 8px 14px);
}
.illu-sneaker::after, .illu-school-shoe::after {
  content: "";
  position: absolute;
  left: 0;
  right: 10px;
  bottom: -6px;
  height: 10px;
  background: #1e1b4b;
  border-radius: 0 0 8px 8px;
}
.illu-school-shoe { background: #0f172a; }
.illu-school-shoe::before { background: repeating-linear-gradient(90deg, #94a3b8, #94a3b8 8px, transparent 8px 14px); }
.illu-school-shoe::after { background: #334155; }

.illu-slipper, .illu-sandal {
  width: 90px;
  height: 28px;
  background: #6366f1;
  border-radius: 40px;
  position: relative;
  transform: rotate(-6deg);
}
.illu-slipper::before, .illu-sandal::before {
  content: "";
  position: absolute;
  width: 36px;
  height: 22px;
  left: 28px;
  top: -14px;
  border: 7px solid #4338ca;
  border-bottom: 0;
  border-radius: 20px 20px 0 0;
}
.illu-sandal { background: #f59e0b; }
.illu-sandal::before { border-color: #b45309; }

.illu-book {
  position: absolute;
  width: 52px;
  height: 70px;
  border-radius: 3px 8px 8px 3px;
  box-shadow: 3px 4px 0 rgba(0,0,0,0.08);
}
.illu-book:first-child { transform: translate(-14px, 6px) rotate(-12deg); }
.illu-book:last-child { transform: translate(16px, -4px) rotate(10deg); }
.illu-book.red { background: #e11d48; }
.illu-book.blue { background: #0ea5e9; }
.illu-book.teal { background: #0d9488; }
.illu-book.amber { background: #f59e0b; }
.illu-book.navy { background: #1e3a8a; }
.illu-book.green { background: #16a34a; }
.illu-book.pink { background: #db2777; }
.illu-book.yellow { background: #eab308; }

.illu-pen {
  width: 18px;
  height: 92px;
  border-radius: 6px 6px 3px 3px;
  position: relative;
  transform: rotate(-18deg);
}
.illu-pen::after {
  content: "";
  position: absolute;
  bottom: -16px;
  left: 0; right: 0;
  height: 16px;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  background: #f8d3a3;
}
.illu-pen.blue { background: linear-gradient(#0369a1, #38bdf8); }
.illu-pen.wood { background: linear-gradient(#fbbf24 75%, #1a2332 75% 82%, #d97706 82%); }
.illu-pen.highlighter { background: linear-gradient(#a3e635, #84cc16); width: 22px; }
.illu-pen.fountain { background: linear-gradient(#111827, #4b5568); }

.illu-notebook {
  width: 72px;
  height: 90px;
  background: #fff;
  border: 3px solid #0ea5e9;
  border-radius: 4px 12px 8px 4px;
  box-shadow: inset 10px 0 #bae6fd;
  background-image: repeating-linear-gradient(#fff, #fff 10px, #e0f2fe 10px 12px);
}

.illu-ruler {
  width: 110px;
  height: 28px;
  background: repeating-linear-gradient(90deg, #fde68a, #fde68a 9px, #d97706 9px 11px);
  border: 2px solid #b45309;
  border-radius: 4px;
  transform: rotate(-8deg);
}

.illu-eraser {
  width: 70px;
  height: 36px;
  background: linear-gradient(90deg, #fda4af 50%, #fff 50%);
  border-radius: 8px;
  border: 2px solid #e11d48;
  transform: rotate(8deg);
}

.illu-bag {
  width: 70px;
  height: 62px;
  background: #0ea5e9;
  border-radius: 8px 8px 14px 14px;
  position: relative;
}
.illu-bag::before {
  content: "";
  position: absolute;
  width: 36px;
  height: 22px;
  border: 5px solid #0369a1;
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
  left: 50%;
  top: -16px;
  transform: translateX(-50%);
}

.illu-blocks, .illu-puzzle, .illu-bear, .illu-board {
  width: 86px;
  height: 70px;
  position: relative;
}
.illu-blocks {
  background:
    linear-gradient(#e11d48 0 0) 0 20px / 28px 28px no-repeat,
    linear-gradient(#f59e0b 0 0) 28px 20px / 28px 28px no-repeat,
    linear-gradient(#16a34a 0 0) 14px 42px / 28px 28px no-repeat,
    linear-gradient(#0ea5e9 0 0) 42px 42px / 28px 28px no-repeat;
  border-radius: 4px;
}
.illu-puzzle {
  background: #7c3aed;
  border-radius: 16px;
  clip-path: polygon(0 20%, 30% 20%, 30% 0, 55% 0, 55% 20%, 100% 20%, 100% 50%, 80% 50%, 80% 75%, 100% 75%, 100% 100%, 0 100%, 0 75%, 20% 75%, 20% 50%, 0 50%);
}
.illu-bear {
  background: #d97706;
  border-radius: 50% 50% 46% 46%;
  box-shadow: -24px -18px 0 -12px #d97706, 24px -18px 0 -12px #d97706;
}
.illu-board {
  background: #16a34a;
  border-radius: 8px;
  border: 6px solid #b45309;
}

.about { background: linear-gradient(180deg, #fff, #fff1f2); }
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2rem;
  align-items: start;
}
.about-grid h2 { margin: 0 0 1rem; font-size: clamp(1.7rem, 3vw, 2.2rem); }
.about-points {
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}
.about-points li {
  padding: 0.55rem 0.8rem 0.55rem 2.2rem;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--line);
  position: relative;
  font-weight: 600;
}
.about-points li::before {
  content: "✓";
  position: absolute;
  left: 0.75rem;
  color: var(--green);
  font-weight: 800;
}
.about-card { padding: 1.5rem; }
.about-card h3 { margin: 0 0 0.5rem; }
.about-card .btn { width: 100%; margin-top: 0.65rem; }

.contact-grid { grid-template-columns: repeat(2, 1fr); }

.contact-card { padding: 1.3rem 1.2rem; }
.contact-card h3 { margin: 0.3rem 0 0.35rem; font-size: 1.05rem; }
.contact-card p { margin: 0; }
.contact-icon { font-size: 1.5rem; }
.placeholder {
  color: var(--muted);
  font-style: italic;
  background: #fff7ed;
  display: inline-block;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  border: 1px dashed #f59e0b;
}
.plus-code {
  margin-top: 0.2rem !important;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.map-wrap {
  margin-top: 1.75rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  min-height: 320px;
  background: #e5e7eb;
}
.map-wrap iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}
.contact-actions { margin-top: 1.25rem; }

.site-footer {
  background: #1a2332;
  color: #e5e7eb;
  padding: 2.2rem 0;
  text-align: center;
  font-size: 0.95rem;
}
.site-footer a { color: #fda4af; }
.site-footer p { margin: 0.35rem 0; }
.copyright { opacity: 0.75; font-size: 0.85rem; }

@media (max-width: 960px) {
  .hero-grid, .about-grid, .cat-grid, .product-grid, .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-art { order: -1; }
  .desk { width: min(100%, 300px); }
}

@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: 72px;
    background: #fffdf8;
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1rem 1rem;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; }
  .site-nav .nav-cta { margin-left: 0; text-align: center; }
  .site-nav a { font-size: 0.95rem; padding: 0.55rem 0.7rem; }
}

@media (max-width: 760px) {
  .hero { padding: 2.2rem 0 3rem; }
  .hero-grid, .about-grid, .cat-grid, .product-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  .categories, .products, .about, .contact { padding: 3rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .cat-card { transition: none; }
}

/* Category hierarchy: 4 main + secondary */
.cat-grid.cat-grid-main {
  grid-template-columns: repeat(4, 1fr);
}
.cat-secondary-wrap {
  margin-top: 1.5rem;
}
.cat-secondary-label {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.cat-grid-secondary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}
.hero-pills a.is-secondary {
  background: #f0fdf4;
}
.subgroup-block { margin-top: 0.5rem; }
.subgroup-block + .subgroup-block { margin-top: 2.2rem; }
.subgroup-title {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.product-photo {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  background: #f3f4f6;
}
.products-status {
  color: var(--muted);
  font-style: italic;
  margin: 0 0 1rem;
}

@media (max-width: 960px) {
  .cat-grid.cat-grid-main, .cat-grid-secondary {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 760px) {
  .cat-grid.cat-grid-main, .cat-grid-secondary {
    grid-template-columns: 1fr;
  }
}
