:root {
  --brown: #5a3812;
  --brown-2: #7a5328;
  --orange: #f59b25;
  --orange-d: #e07c0b;
  --red: #e4572e;
  --yellow: #ffd34e;
  --green: #2f5d3a;
  --cream: #fff8ea;
  --peach: #fde5d3;
  --sand: #f6ead3;
  --ink: #3b2a1a;
  --muted: #7c6a58;
  --line: #ecdcc4;
  --white: #fff;
  --radius: 18px;
  --shadow: 0 10px 30px -12px rgba(90, 56, 18, .25);
  --font-head: "Baloo 2", system-ui, sans-serif;
  --font-body: "Be Vietnam Pro", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--white); line-height: 1.6; font-size: 16px; }
body.no-scroll { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-d); }
h1, h2, h3 { font-family: var(--font-head); color: var(--brown); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.section { padding: clamp(48px, 8vw, 96px) 0; }
.section-cream { background: var(--cream); }
.section-peach { background: var(--peach); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 24px; margin-bottom: 28px; }
.section-head p { color: var(--muted); max-width: 560px; margin: 0; }
.eyebrow { display: inline-block; font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-d); margin-bottom: 8px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 1rem/1 var(--font-body); padding: 14px 22px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; text-decoration: none; transition: transform .15s, background .15s, box-shadow .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 6px 0 var(--orange-d); }
.btn-primary:hover { background: var(--orange-d); }
.btn-accent { background: var(--red); color: #fff; box-shadow: 0 6px 0 #b63e1c; }
.btn-accent:hover { background: #cc4521; }
.btn-ghost { background: transparent; color: var(--brown); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--orange); }
.btn-light { background: #fff; color: var(--brown); }
.btn-block { width: 100%; }
.icon-btn { background: none; border: 0; padding: 8px; cursor: pointer; color: var(--brown); border-radius: 50%; }
.icon-btn:hover { background: var(--sand); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 76px; }
.logo img { height: 46px; width: auto; }
.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a { color: var(--brown); text-decoration: none; font-weight: 600; padding: 10px 14px; border-radius: 999px; white-space: nowrap; }
[hidden] { display: none !important; }
.main-nav a:hover { background: var(--sand); }
.main-nav a[aria-current="page"] { background: var(--orange); color: #fff; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-actions .btn { padding: 10px 14px; }
.cart-btn, .menu-btn { position: relative; background: var(--sand); color: var(--brown); border: 0; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.cart-btn:hover { background: var(--peach); }
.cart-count { position: absolute; top: -4px; right: -4px; background: var(--red); color: #fff; font-size: .75rem; font-weight: 700; min-width: 22px; height: 22px; border-radius: 11px; display: grid; place-items: center; padding: 0 5px; }
.menu-btn { display: none; }

/* Hero */
.hero { background: var(--cream); padding: clamp(32px, 6vw, 72px) 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; }
.hero h1 span { display: block; color: var(--orange-d); font-size: .45em; letter-spacing: .02em; margin-top: 8px; }
.hero p.lead { font-size: 1.15rem; color: var(--brown-2); max-width: 520px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.hero-art { position: relative; }
.hero-art img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; box-shadow: var(--shadow); border: 8px solid #fff; }
.hero-badge { position: absolute; left: -12px; bottom: 8%; background: var(--yellow); color: var(--brown); font-family: var(--font-head); font-weight: 800; padding: 12px 18px; border-radius: 16px; box-shadow: var(--shadow); transform: rotate(-5deg); }
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.trust div { background: #fff; border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); }
.trust strong { display: block; font-family: var(--font-head); color: var(--brown); font-size: 1.1rem; }
.trust span { color: var(--muted); font-size: .9rem; }

.banner-img { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); }
.banner-img img { width: 100%; aspect-ratio: 16/7; object-fit: cover; }

/* Product grid & cards */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-media { position: relative; display: block; background: var(--sand); }
.card-media img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.badge { position: absolute; top: 12px; left: 12px; background: var(--red); color: #fff; font-weight: 700; font-size: .85rem; padding: 4px 10px; border-radius: 999px; }
.badge.static { position: static; }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-meta { font-size: .78rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.card-title { font-family: var(--font-body); font-size: .98rem; font-weight: 600; line-height: 1.4; margin: 0; flex: 1; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a:hover { color: var(--orange-d); }
.price-row { display: flex; align-items: baseline; gap: 10px; margin: 4px 0 8px; flex-wrap: wrap; }
.price { color: var(--red); font-weight: 800; font-size: 1.2rem; }
.old-price { color: var(--muted); font-size: .92rem; }
.card .btn { padding: 11px 14px; font-size: .92rem; box-shadow: 0 4px 0 var(--orange-d); }

/* Themes */
.themes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.theme-tile { position: relative; border-radius: var(--radius); overflow: hidden; text-decoration: none; aspect-ratio: 4/5; display: block; }
.theme-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.theme-tile:hover img { transform: scale(1.06); }
.theme-tile span { position: absolute; inset: auto 0 0; padding: 40px 14px 14px; color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; background: linear-gradient(transparent, rgba(40, 22, 5, .85)); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); position: relative; }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--orange); color: #fff; font: 800 1.4rem var(--font-head); margin-bottom: 14px; }
.step:nth-child(2)::before { background: var(--red); }
.step:nth-child(3)::before { background: var(--green); }
.step:nth-child(4)::before { background: var(--brown-2); }
.step p { color: var(--muted); margin: 0; }

/* Split blocks */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split img { border-radius: 28px; box-shadow: var(--shadow); width: 100%; }
.split .lead { font-size: 1.08rem; color: var(--brown-2); }
.img-arch { border-radius: 200px 200px 28px 28px !important; aspect-ratio: 4/5; object-fit: cover; }
.img-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.img-pair img { aspect-ratio: 1; object-fit: cover; }

/* FAQ */
.faq { max-width: 820px; margin-inline: auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 700; color: var(--brown); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--orange-d); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 22px 18px; margin: 0; color: var(--muted); }

/* CTA band */
.cta-band { background: var(--brown); color: #fff; border-radius: 28px; padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.cta-band h2 { color: var(--yellow); margin-bottom: .2em; }
.cta-band p { margin: 0; color: #f3e3cc; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Catalog */
.page-hero { background: var(--cream); padding: 40px 0 32px; }
.page-hero p { color: var(--brown-2); max-width: 640px; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 10px; }
.crumbs a { color: var(--muted); }
.toolbar { display: grid; gap: 14px; margin: 28px 0 24px; }
.toolbar-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.search { position: relative; flex: 1; min-width: 220px; }
.search .icon { position: absolute; left: 14px; top: 50%; translate: 0 -50%; color: var(--muted); }
.search input, .toolbar select { width: 100%; font: inherit; padding: 12px 16px 12px 44px; border: 2px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); }
.toolbar select { width: auto; padding-left: 16px; }
.search input:focus, .toolbar select:focus { border-color: var(--orange); outline: none; }
.filter-label { font-weight: 700; color: var(--brown); font-size: .9rem; min-width: 70px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: 600 .9rem var(--font-body); padding: 8px 14px; border-radius: 999px; border: 2px solid var(--line); background: #fff; color: var(--brown); cursor: pointer; }
.chip:hover { border-color: var(--orange); }
.chip[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: #fff; }
.result-count { color: var(--muted); font-size: .92rem; }

/* Detail */
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); padding: 32px 0 48px; }
.gallery-main img { border-radius: 22px; border: 1px solid var(--line); width: 100%; aspect-ratio: 1; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery-thumbs button { padding: 0; border: 3px solid transparent; border-radius: 12px; overflow: hidden; cursor: pointer; width: 84px; background: none; }
.gallery-thumbs button[aria-pressed="true"] { border-color: var(--orange); }
.detail-info h1 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-top: 6px; }
.sku { color: var(--muted); }
.price-row.big .price { font-size: 2rem; }
.price-row.big .old-price { font-size: 1.1rem; }
.vat { color: var(--muted); font-size: .9rem; margin-top: -6px; }
.perks { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 8px; }
.perks li { padding-left: 30px; position: relative; }
.perks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--green); color: #fff; font-size: .8rem; display: grid; place-items: center; font-weight: 700; }
.buy-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; margin: 22px 0 10px; }
.qty-input { display: grid; gap: 4px; font-size: .85rem; font-weight: 600; color: var(--muted); }
.qty-input input { width: 90px; font: inherit; font-size: 1rem; padding: 12px; border: 2px solid var(--line); border-radius: 14px; text-align: center; }
.wholesale { font-size: .95rem; }
.detail-desc { background: var(--cream); border-radius: 28px; padding: clamp(24px, 4vw, 44px); margin-bottom: 48px; }
.spec { display: grid; grid-template-columns: 200px 1fr; gap: 10px 20px; margin: 0 0 28px; }
.spec dt { font-weight: 700; color: var(--brown); }
.spec dd { margin: 0; }
.desc-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.desc-cols > div { background: #fff; padding: 20px; border-radius: 16px; }
.desc-cols p { margin: 0; color: var(--muted); }
.related { padding-bottom: 64px; }

/* Partners */
.partner-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.partner-grid div { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 10px; display: grid; place-items: center; }
.partner-grid img { width: 100%; max-width: 160px; aspect-ratio: 1; object-fit: contain; }

/* Support */
.support-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.prose { max-width: 820px; }
.prose section { padding: 28px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 96px; }
.prose ol, .prose ul { padding-left: 1.3em; }
.prose li { margin-bottom: 6px; }
.callout { background: var(--cream); border-left: 4px solid var(--orange); padding: 14px 18px; border-radius: 10px; }

/* Footer */
.site-footer { background: var(--cream); padding: 56px 0 24px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 20px; }
.footer-card { background: #fff; border-radius: var(--radius); padding: 24px; }
.footer-brand { background: var(--orange); color: #fff; }
.footer-brand img { background: #fff; border-radius: 10px; padding: 6px 10px; width: 200px; margin-bottom: 14px; }
.footer-brand a { color: #fff; }
.footer-company { font-weight: 800; text-transform: uppercase; }
.footer-card h3 { font-size: 1.1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-links a { color: var(--brown); text-decoration: none; font-weight: 600; }
.footer-links a:hover { color: var(--orange-d); }
.footer-follow { background: var(--yellow); }
.social { display: flex; gap: 10px; margin-bottom: 14px; }
.social a { text-decoration: none; color: #fff; font-weight: 700; padding: 10px 16px; border-radius: 12px; }
.social-zalo { background: #0068ff; }
.social-fb { background: #1877f2; }
.hours { padding-left: 1.1em; margin: 0; color: var(--brown); font-weight: 600; }
.footer-legal { font-size: .82rem; color: var(--muted); padding-top: 24px; }

/* Drawer / cart */
.drawer { position: fixed; inset: 0; z-index: 60; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(40, 22, 5, .45); }
.drawer-panel { position: absolute; top: 0; right: 0; height: 100%; width: min(440px, 100%); background: #fff; display: flex; flex-direction: column; animation: slide .25s ease-out; }
@keyframes slide { from { transform: translateX(100%); } }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.5rem; margin: 0; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.drawer-foot { padding: 16px 20px 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.drawer-foot:empty { display: none; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.line img { border-radius: 10px; }
.line-info { display: grid; font-size: .9rem; }
.line-info a { color: var(--ink); text-decoration: none; font-weight: 600; line-height: 1.35; }
.line-info span { color: var(--red); font-weight: 700; }
.qty { display: flex; align-items: center; border: 2px solid var(--line); border-radius: 999px; }
.qty button { background: none; border: 0; width: 30px; height: 30px; font-size: 1.1rem; cursor: pointer; color: var(--brown); }
.qty span { min-width: 22px; text-align: center; font-weight: 700; }
.total { display: flex; justify-content: space-between; font-size: 1.1rem; }
.total strong { color: var(--red); font-size: 1.3rem; }
.note { font-size: .85rem; color: var(--muted); margin: 0; }
.empty { text-align: center; padding: 48px 12px; color: var(--muted); grid-column: 1 / -1; }
.checkout { display: grid; gap: 14px; padding: 12px 0; }
.checkout-intro { color: var(--muted); font-size: .92rem; margin: 0; }
.checkout label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; color: var(--brown); }
.checkout input, .checkout textarea { font: inherit; padding: 12px 14px; border: 2px solid var(--line); border-radius: 12px; }
.checkout input:focus, .checkout textarea:focus { border-color: var(--orange); outline: none; }
.form-error { color: var(--red); font-size: .9rem; margin: 0; min-height: 1em; }
.done { padding: 16px 0; }
.order-text { white-space: pre-wrap; background: var(--cream); padding: 14px; border-radius: 12px; font-size: .85rem; font-family: var(--font-body); }

.toast { position: fixed; left: 50%; bottom: 24px; translate: -50% 20px; background: var(--brown); color: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 600; opacity: 0; pointer-events: none; transition: .25s; z-index: 80; }
.toast.show { opacity: 1; translate: -50% 0; }
.zalo-fab { position: fixed; right: 18px; bottom: 18px; z-index: 30; width: 60px; height: 60px; border-radius: 50%; background: #0068ff; color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .9rem; text-decoration: none; box-shadow: 0 8px 20px -6px rgba(0, 104, 255, .6); }

/* Responsive */
@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .partner-grid { grid-template-columns: repeat(4, 1fr); }
  .trust { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1100px) {
  .menu-btn { display: grid; }
  .header-inner { height: 66px; gap: 12px; }
  .logo img { height: 38px; }
  .header-actions { margin-left: auto; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: 8px 16px 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav-open .main-nav { display: flex; }
  .main-nav a { padding: 14px; }
}
@media (max-width: 860px) {
  .hide-sm { display: none !important; }
  .hero-grid, .split, .detail-grid { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .hero-art { max-width: 380px; margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .desc-cols { grid-template-columns: 1fr; }
  .spec { grid-template-columns: 1fr; gap: 2px; }
  .spec dd { margin-bottom: 10px; }
}
@media (max-width: 600px) {
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card-body { padding: 10px 12px 12px; }
  .card-title { font-size: .88rem; }
  .card-meta { font-size: .68rem; letter-spacing: 0; }
  .price-row { gap: 2px 8px; margin-bottom: 4px; }
  .price { font-size: 1.05rem; }
  .card .btn { font-size: .85rem; padding: 10px; }
  .themes { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .theme-tile:last-child:nth-child(odd) { grid-column: span 2; aspect-ratio: 2/1; }
  .steps { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .trust { gap: 10px; }
  .trust div { padding: 12px; }
  .banner-img img { aspect-ratio: 4/3; }
  .filter-label { width: 100%; }
  .toolbar select { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
