/* =============================================================================
 *  OMA — Luxury & Natural Wellness
 *  Màu thương hiệu: đổi ở :root bên dưới là toàn bộ web đổi theo.
 * ========================================================================== */
:root {
  --cream: #FAF9F6;
  --cream-2: #F3EFE6;
  --sand: #E9E1D2;
  --ink: #2C221E;          /* nâu trầm */
  --ink-2: #5a4d46;
  --muted: #8a7a70;
  --moss: #4A5D23;         /* xanh rêu đậm */
  --leaf: #8DB600;         /* xanh lá mạ OMA */
  --orange: #F38020;       /* cam ấm OMA */
  --gold: #B8935A;         /* vàng ánh kim */
  --gold-2: #D9BC85;
  --line: rgba(44, 34, 30, .12);
  --shadow: 0 18px 50px -24px rgba(44, 34, 30, .35);
  --shadow-sm: 0 6px 20px -12px rgba(44, 34, 30, .35);
  --radius: 18px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 400 16px/1.7 var(--sans); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.locked { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: .005em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
.container { width: min(1240px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 999; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--leaf); outline-offset: 3px; border-radius: 6px; }
svg { fill: currentColor; }

.eyebrow {
  font: 500 .76rem/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase;
  color: var(--moss); margin-bottom: 14px; display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 500; font-size: .95rem; line-height: 1.2; transition: .25s ease; white-space: nowrap;
}
.btn-lg { padding: 15px 28px; font-size: 1rem; }
.btn-primary { background: var(--moss); color: var(--cream); }
.btn-primary:hover { background: #3b4b1b; transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn-accent { background: var(--orange); color: #fff; }
.btn-accent:hover { background: #dd6f12; transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--cream); }
.btn-ghost { border-color: rgba(44,34,30,.25); background: rgba(250,249,246,.6); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: var(--cream); color: var(--ink); }
.btn-light:hover { background: #fff; transform: translateY(-1px); }
.btn-light-outline { border-color: rgba(250,249,246,.6); color: var(--cream); }
.btn-light-outline:hover { background: rgba(250,249,246,.12); }
.btn-block { width: 100%; }

/* ---------- Topbar ---------- */
.topbar { background: var(--ink); color: #e9e1d2; font-size: .8rem; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; }
.topbar-item { display: inline-flex; align-items: center; gap: 8px; }
.topbar-item svg { width: 13px; height: 13px; fill: var(--leaf); }
.topbar-phones a { color: var(--gold-2); font-weight: 600; letter-spacing: .02em; }
.topbar-phones a:hover { color: #fff; }
.topbar .sep { opacity: .35; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50; background: rgba(250, 249, 246, .86);
  backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: .3s;
}
.header.scrolled { border-color: var(--line); box-shadow: 0 8px 30px -22px rgba(44,34,30,.45); }
.header-in { display: flex; align-items: center; height: var(--header-h); gap: 24px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand-img { height: 52px; width: auto; }
.brand-img + .brand-word { display: none; }
.brand-word { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand-mark { width: 40px; height: 40px; color: var(--gold); }
.brand-word b { display: block; font: 700 1.7rem/1 var(--serif); letter-spacing: .22em; }
.brand-word small { display: block; font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--moss); margin-top: 3px; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav > a { font-size: .92rem; font-weight: 500; position: relative; padding: 6px 0; color: var(--ink-2); }
.nav > a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1.5px; background: var(--leaf); transition: right .3s; }
.nav > a:hover { color: var(--ink); }
.nav > a:hover::after, .nav > a.active::after { right: 0; }
.nav-mobile-phones { display: none; }
.header-actions { display: flex; align-items: center; gap: 12px; }

.lang { position: relative; display: inline-flex; background: var(--cream-2); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang button { position: relative; z-index: 1; border: 0; background: none; padding: 6px 12px; font-size: .78rem; font-weight: 600; letter-spacing: .08em; color: var(--muted); transition: color .3s; }
.lang button[aria-pressed="true"] { color: var(--cream); }
.lang-pill { position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 999px; background: var(--moss); transition: transform .35s cubic-bezier(.6,.05,.3,1); }
.lang[data-active="en"] .lang-pill { transform: translateX(100%); }

.header-call { display: inline-flex; align-items: center; gap: 8px; background: var(--orange); color: #fff; padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: .9rem; transition: .25s; }
.header-call:hover { background: #dd6f12; }
.header-call svg { width: 16px; height: 16px; }
.icon-btn { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: transparent; display: grid; place-items: center; transition: .25s; }
.icon-btn:hover { border-color: var(--ink); }
.icon-btn svg { width: 21px; height: 21px; }
.cart-count { position: absolute; top: -3px; right: -3px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; background: var(--leaf); color: #fff; font-size: .68rem; font-weight: 700; display: grid; place-items: center; transform: scale(0); transition: transform .3s; }
.cart-count.show { transform: scale(1); }
.cart-count.bump { animation: bump .45s; }
@keyframes bump { 50% { transform: scale(1.35); } }
.burger { display: none; }
.burger span { display: block; width: 18px; height: 1.6px; background: var(--ink); margin: 2px 0; transition: .3s; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; min-height: min(86vh, 780px); display: flex; align-items: center; background: var(--cream); }
.hero-photo { position: absolute; inset: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(250,249,246,.95) 0%, rgba(250,249,246,.75) 42%, rgba(250,249,246,0) 75%); }
.hero-in { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding: 72px 0 80px; }
.hero-text h1 em { font-style: italic; color: var(--moss); display: block; }
.hero-sub { font-size: 1.1rem; color: var(--ink-2); max-width: 520px; margin: 22px 0 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-phone2 { margin-top: 18px; font-size: .9rem; color: var(--muted); }
.hero-phone2 a { color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--gold); }
.hero-art { display: none; }
.hero.no-photo { background: radial-gradient(1000px 600px at 80% 40%, #EEF3DC 0%, rgba(250,249,246,0) 60%), radial-gradient(700px 500px at 100% 100%, #F7E4CF 0%, rgba(250,249,246,0) 60%), var(--cream); }
.hero.no-photo .hero-art { display: block; position: relative; height: 560px; }
.hero-art .art-card { position: absolute; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); background: #fff; animation: float 7s ease-in-out infinite; }
.hero-art .art-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-art .a1 { width: 56%; aspect-ratio: 4/5; left: 22%; top: 4%; z-index: 2; }
.hero-art .a2 { width: 38%; aspect-ratio: 4/5; left: 0; top: 40%; animation-delay: -2s; }
.hero-art .a3 { width: 38%; aspect-ratio: 4/5; right: 0; top: 46%; animation-delay: -4s; z-index: 3; }
.hero-art .ring { position: absolute; inset: 6% 4% 0 8%; border: 1px solid var(--gold-2); border-radius: 50%; opacity: .6; }
@keyframes float { 50% { transform: translateY(-12px); } }

/* ---------- Trust ---------- */
.trust { border-block: 1px solid var(--line); background: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; gap: 14px; align-items: center; padding: 24px 18px; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-ic { width: 46px; height: 46px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: #F1F6E2; color: var(--moss); font-size: 1.25rem; }
.trust-item b { display: block; font-weight: 600; font-size: .95rem; }
.trust-item small { color: var(--muted); font-size: .8rem; line-height: 1.4; display: block; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head .eyebrow::after { content: ""; width: 28px; height: 1px; background: var(--gold); }
.section-head p:not(.eyebrow) { color: var(--ink-2); }

/* Featured */
.featured { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%); }
.featured-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feat-card { position: relative; background: #fff; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-sm); transition: .4s; display: flex; flex-direction: column; cursor: pointer; }
.feat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feat-card .media { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--cream-2); }
.feat-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.feat-card:hover .media img { transform: scale(1.05); }
.feat-card .body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.feat-card .num { z-index: 2; position: absolute; top: 18px; right: 22px; font: italic 600 3rem/1 var(--serif); color: rgba(255,255,255,.9); text-shadow: 0 2px 20px rgba(44,34,30,.25); }
.feat-card h3 { font-size: 1.7rem; margin-bottom: 4px; }
.feat-card .sci { font-style: italic; color: var(--muted); font-size: .85rem; margin-bottom: 10px; }
.feat-card .desc { color: var(--ink-2); font-size: .95rem; flex: 1; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.price { font-weight: 600; color: var(--ink); font-size: 1.1rem; }
.price small { font-weight: 400; color: var(--muted); font-size: .78rem; margin-right: 4px; }
.price .alt { display: block; font-size: .75rem; color: var(--muted); font-weight: 400; }

.badge { position: absolute; top: 16px; left: 16px; z-index: 2; background: var(--cream); color: var(--moss); font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.badge.hot { background: var(--orange); color: #fff; }

/* Tabs */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.tab { border: 1px solid var(--line); background: transparent; padding: 10px 20px; border-radius: 999px; font-size: .9rem; font-weight: 500; color: var(--ink-2); transition: .25s; }
.tab:hover { border-color: var(--ink); color: var(--ink); }
.tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.tab .count { opacity: .6; margin-left: 6px; font-size: .8rem; }

/* Product grid */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.card { position: relative; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: .35s; display: flex; flex-direction: column; animation: fadeUp .5s both; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card .media { aspect-ratio: 1/1; overflow: hidden; background: var(--cream-2); cursor: pointer; }
.card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.card:hover .media img { transform: scale(1.06); }
.card .body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.card .cat { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--moss); margin-bottom: 4px; }
.card h3 { font-size: 1.3rem; margin-bottom: 6px; cursor: pointer; }
.card h3:hover { color: var(--moss); }
.card .desc { font-size: .87rem; color: var(--ink-2); line-height: 1.55; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card .actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.card .actions .btn { padding: 10px 12px; font-size: .84rem; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }

/* About */
.about { background: #fff; }
.about-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.about-media { position: relative; }
.about-media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 200px 200px 24px 24px; box-shadow: var(--shadow); }
.about-badge { position: absolute; right: -18px; bottom: 40px; background: var(--moss); color: var(--cream); padding: 20px 26px; border-radius: 18px; box-shadow: var(--shadow); text-align: center; }
.about-badge b { display: block; font: 700 2rem/1 var(--serif); letter-spacing: .2em; }
.about-badge span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); }
.about-text p { color: var(--ink-2); }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; padding-top: 28px; border-top: 1px solid var(--line); }
.about-stats b { display: block; font: 600 2.2rem/1 var(--serif); color: var(--moss); margin-bottom: 6px; }
.about-stats span { font-size: .82rem; color: var(--muted); }

/* Guide */
.guide { background: var(--cream-2); }
.guide-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.guide-card { background: var(--cream); border-radius: var(--radius); padding: 30px 26px; border: 1px solid var(--line); transition: .3s; }
.guide-card:hover { background: #fff; transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.guide-n { font: italic 600 2.4rem/1 var(--serif); color: var(--gold); display: block; margin-bottom: 14px; }
.guide-card p { font-size: .9rem; color: var(--ink-2); margin: 0; }
.safety { margin-top: 36px; padding: 20px 24px; border-radius: 14px; background: #FFF4E8; border-left: 4px solid var(--orange); font-size: .88rem; }
.safety b { color: #b75b10; }
.safety p { margin: 4px 0 0; color: var(--ink-2); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: s; }
.steps li { position: relative; text-align: center; padding: 10px 20px; }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 36px; left: calc(50% + 48px); right: calc(-50% + 48px); border-top: 1px dashed var(--gold); }
.step-n { width: 72px; height: 72px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 1px solid var(--gold-2); font: 600 1.9rem/1 var(--serif); color: var(--moss); box-shadow: var(--shadow-sm); }
.steps p { color: var(--ink-2); font-size: .93rem; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--moss) 0%, #34421a 100%); color: var(--cream); padding: 56px 0; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; right: -80px; top: -120px; width: 360px; height: 360px; border-radius: 50%; border: 1px solid rgba(217,188,133,.3); }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; position: relative; }
.cta-in h2 { margin-bottom: 6px; }
.cta-in p { margin: 0; opacity: .85; }
.cta-phones { display: flex; gap: 14px; flex-wrap: wrap; }

/* Footer */
.footer { background: var(--ink); color: #d9cfc4; padding: 72px 0 0; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 48px; padding-bottom: 48px; }
.footer h4 { font-family: var(--sans); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 20px; font-weight: 600; }
.footer-logo { font: 700 2.6rem/1 var(--serif); letter-spacing: .25em; color: var(--cream); }
.footer-slogan { color: var(--leaf); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin: 8px 0 16px; }
.footer-brand p { max-width: 380px; }
.btn-fb { display: inline-flex; align-items: center; gap: 10px; background: #1877F2; color: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 600; margin-top: 8px; transition: .25s; }
.btn-fb:hover { background: #0f63d4; transform: translateY(-1px); }
.btn-fb svg { width: 20px; height: 20px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-links a:hover { color: var(--cream); }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer-contact li { display: grid; grid-template-columns: 110px 1fr; gap: 10px; align-items: baseline; }
.footer-contact li > span:first-child { color: var(--muted); font-size: .8rem; }
.footer-contact a:hover { color: var(--cream); }
.footer-contact .big { font-size: 1.15rem; font-weight: 600; color: var(--gold-2); letter-spacing: .02em; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: .8rem; color: var(--muted); }

/* Floating */
.floating { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: flex; flex-direction: column; gap: 12px; }
.float-btn { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 10px 30px -10px rgba(0,0,0,.45); font-weight: 700; font-size: .78rem; transition: transform .25s; }
.float-btn:hover { transform: scale(1.08); }
.float-zalo { background: #0068FF; }
.float-call { background: var(--orange); position: relative; }
.float-call svg { width: 24px; height: 24px; }
.float-call::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--orange); animation: ping 1.8s infinite; }
@keyframes ping { to { transform: scale(1.6); opacity: 0; } }

/* ---------- Modal ---------- */
.modal, .drawer { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden], .drawer[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(28, 22, 19, .55); backdrop-filter: blur(4px); animation: fade .3s; }
.modal-panel { position: relative; background: var(--cream); border-radius: 24px; width: min(1100px, 100%); max-height: calc(100vh - 40px); overflow: auto; box-shadow: 0 40px 100px -30px rgba(0,0,0,.5); animation: pop .35s cubic-bezier(.2,.9,.3,1.2); }
.modal-checkout { width: min(880px, 100%); }
.modal-close { position: absolute; top: 14px; right: 14px; z-index: 5; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--cream); font-size: 1.6rem; line-height: 1; display: grid; place-items: center; }
.modal-close:hover { background: var(--ink); color: var(--cream); }
.modal-close.static { position: static; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.97); } }

/* Product detail */
.pd { display: grid; grid-template-columns: 1fr 1fr; }
.pd-gallery { background: var(--cream-2); padding: 28px; position: sticky; top: 0; align-self: start; }
.pd-main { aspect-ratio: 1/1; border-radius: 18px; overflow: hidden; background: #fff; }
.pd-main img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 14px; }
.pd-thumbs button { width: 70px; height: 70px; padding: 0; border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: #fff; }
.pd-thumbs button[aria-current="true"] { border-color: var(--moss); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd-info { padding: 40px 40px 36px; }
.pd-info .cat { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--moss); }
.pd-info h2 { margin: 8px 0 2px; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.pd-info .sci { font-style: italic; color: var(--muted); margin-bottom: 14px; }
.pd-lead { font-size: 1.05rem; color: var(--ink-2); }
.pd-price { font: 600 2rem/1.1 var(--serif); color: var(--moss); margin: 10px 0 4px; }
.pd-price small { display: block; font: 400 .8rem/1.4 var(--sans); color: var(--muted); margin-top: 4px; }
.pd-label { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin: 18px 0 8px; display: block; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.size { border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 9px 14px; font-size: .88rem; text-align: left; transition: .2s; }
.size small { display: block; color: var(--muted); font-size: .75rem; }
.size[aria-pressed="true"] { border-color: var(--moss); box-shadow: inset 0 0 0 1px var(--moss); background: #F4F8E8; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.qty button { width: 40px; height: 40px; border: 0; background: none; font-size: 1.2rem; }
.qty input { width: 44px; text-align: center; border: 0; font: inherit; font-weight: 600; background: none; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.pd-buy { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.pd-call { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 14px; font-size: .9rem; color: var(--muted); }
.pd-call a { color: var(--ink); font-weight: 600; }
.pd-meta { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 22px 0 0; padding: 16px 0; border-block: 1px solid var(--line); font-size: .88rem; }
.pd-meta dt { color: var(--muted); }
.pd-meta dd { margin: 0; }
.acc { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; padding: 16px 0; font: 600 1.2rem/1.2 var(--serif); display: flex; justify-content: space-between; align-items: center; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font: 300 1.5rem/1 var(--sans); color: var(--gold); transition: transform .3s; }
.acc[open] summary::after { transform: rotate(45deg); }
.acc .acc-body { padding-bottom: 16px; color: var(--ink-2); font-size: .93rem; }
.acc ul { margin: 0; padding-left: 0; list-style: none; display: grid; gap: 8px; }
.acc li { position: relative; padding-left: 24px; }
.acc li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 10px; height: 10px; border-radius: 50% 0; background: var(--leaf); transform: rotate(-45deg); }
.acc.warn .acc-body { background: #FFF4E8; padding: 12px 14px; border-radius: 10px; margin-bottom: 16px; }
.pd-related { grid-column: 1 / -1; padding: 30px 40px 40px; border-top: 1px solid var(--line); background: #fff; }
.pd-related h3 { margin-bottom: 18px; }
.related-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mini { cursor: pointer; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--cream); transition: .25s; }
.mini:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.mini img { aspect-ratio: 1/1; object-fit: cover; width: 100%; }
.mini div { padding: 10px 12px; font-size: .85rem; }
.mini b { display: block; font-family: var(--serif); font-size: 1.05rem; }

/* Checkout */
.co { padding: 36px 36px 30px; }
.co h2 { font-size: 2rem; margin-bottom: 4px; }
.co-code { color: var(--muted); font-size: .85rem; margin-bottom: 22px; }
.co-code b { color: var(--ink); letter-spacing: .06em; }
.co-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 30px; }
.co-lines { width: 100%; border-collapse: collapse; font-size: .92rem; }
.co-lines td { padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.co-lines td:last-child { text-align: right; white-space: nowrap; font-weight: 600; }
.co-lines small { color: var(--muted); display: block; }
.co-total { display: flex; justify-content: space-between; align-items: baseline; margin: 14px 0 6px; }
.co-total b { font: 600 1.9rem/1 var(--serif); color: var(--moss); }
.co-note { font-size: .82rem; color: #b75b10; background: #FFF4E8; padding: 8px 12px; border-radius: 10px; }
.co-form { display: grid; gap: 10px; margin-top: 20px; }
.co-form h4 { font-family: var(--sans); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 4px; color: var(--ink-2); }
.co-form input, .co-form textarea { width: 100%; border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 11px 14px; font: inherit; font-size: .92rem; color: var(--ink); }
.co-form input:focus, .co-form textarea:focus { outline: none; border-color: var(--moss); box-shadow: 0 0 0 3px rgba(141,182,0,.18); }
.co-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.co-qr { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; text-align: center; }
.co-qr h4 { font-family: var(--sans); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 4px; }
.co-qr .hint { font-size: .8rem; color: var(--muted); margin-bottom: 14px; }
.qr-frame { position: relative; width: min(260px, 100%); aspect-ratio: 1/1; margin: 0 auto 14px; border-radius: 16px; padding: 10px; background: linear-gradient(135deg, var(--leaf), var(--orange)); }
.qr-frame > * { width: 100%; height: 100%; border-radius: 10px; background: #fff; object-fit: contain; }
.qr-missing { display: grid; place-items: center; padding: 18px; font-size: .85rem; color: var(--ink-2); line-height: 1.5; }
.bank { text-align: left; font-size: .86rem; display: grid; gap: 6px; }
.bank div { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.bank span { color: var(--muted); }
.bank b { text-align: right; word-break: break-all; }
.copy { border: 0; background: none; color: var(--moss); font-size: .75rem; font-weight: 600; padding: 0 0 0 8px; text-decoration: underline; }
.co-contact { margin-top: 24px; padding: 20px; border-radius: 18px; background: var(--cream-2); }
.co-contact p { font-size: .9rem; margin-bottom: 12px; }
.co-contact-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.co-contact-btns .btn { padding: 11px 18px; font-size: .88rem; }
.btn-zalo { background: #0068FF; color: #fff; }
.btn-zalo:hover { background: #0057d6; }

/* Drawer */
.drawer { justify-content: flex-end; padding: 0; }
.drawer-panel { position: relative; width: min(440px, 100%); height: 100%; background: var(--cream); display: flex; flex-direction: column; animation: slideIn .35s cubic-bezier(.2,.9,.3,1); }
@keyframes slideIn { from { transform: translateX(100%); } }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { margin: 0; }
.drawer-body { flex: 1; overflow: auto; padding: 10px 24px; }
.drawer-foot { padding: 20px 24px; border-top: 1px solid var(--line); background: #fff; }
.cart-line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-line img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; }
.cart-line b { font-family: var(--serif); font-size: 1.1rem; display: block; line-height: 1.2; }
.cart-line small { color: var(--muted); }
.cart-line .qty { margin-top: 6px; transform: scale(.85); transform-origin: left; }
.cart-line .rm { border: 0; background: none; color: var(--muted); font-size: .78rem; text-decoration: underline; }
.cart-line .lp { text-align: right; font-weight: 600; font-size: .92rem; }
.cart-empty { text-align: center; padding: 60px 0; color: var(--muted); }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 30px); background: var(--ink); color: var(--cream); padding: 12px 22px; border-radius: 999px; font-size: .9rem; opacity: 0; pointer-events: none; transition: .35s; z-index: 200; box-shadow: var(--shadow); max-width: calc(100% - 40px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Responsive ---------- */
/* ---------- Ảnh thật sản phẩm (ảnh dọc 2:3 nền tím nhạt) ---------- */
.card .media.photo, .feat-card .media.photo { background: #E4E1EF; }
.card .media { aspect-ratio: 4/5; }
.card .media.photo img, .feat-card .media.photo img, .pd-main.photo img, .mini-img.photo img { object-position: 50% 62%; }
.pd-main { aspect-ratio: 4/5; }
.mini-img { aspect-ratio: 1/1; overflow: hidden; }
.mini-img img { width: 100%; height: 100%; object-fit: cover; }
.sizes-txt { font-size: .8rem; color: var(--muted); letter-spacing: .02em; margin-top: 10px; }
.link-more { font-size: .88rem; font-weight: 600; color: var(--moss); white-space: nowrap; }
.feat-card .card-foot { border-top: 1px solid var(--line); padding-top: 14px; }
.feat-card .sizes-txt { margin: 0; }
.size { cursor: default; }

/* Hero với ảnh thật */
.hero.no-photo .hero-art.photos { height: 540px; }
.art-photo { position: absolute; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.art-photo img { width: 100%; height: 100%; object-fit: cover; }
.art-photo.p1 { width: 92%; aspect-ratio: 3/2; right: 0; top: 6%; }
.art-photo.p2 { width: 48%; aspect-ratio: 3/2; left: 0; bottom: 4%; border: 6px solid var(--cream); animation: float 7s ease-in-out infinite; }

/* Banner */
.banner-strip { padding: 40px 0 0; background: linear-gradient(180deg, #fff 0%, var(--cream) 100%); }
.banner-strip img { width: 100%; height: auto; border-radius: 20px; box-shadow: var(--shadow-sm); }

/* Thư viện ảnh */
.gallery { background: #fff; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 14px; }
.g-item { padding: 0; border: 0; border-radius: 16px; overflow: hidden; background: var(--cream-2); cursor: zoom-in; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.g-item:hover img { transform: scale(1.05); }
.g-item.g0 { grid-column: span 2; grid-row: span 2; }
.g-item.g3, .g-item.g4, .g-item.g5 { grid-column: span 2; }
.gallery-grid { grid-auto-flow: dense; }

/* Liên hệ */
.pd-contact { margin-top: 22px; padding: 18px; border-radius: 16px; background: var(--cream-2); }
.pd-contact b { display: block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 10px; }
.btn-fb-sm { background: #1877F2; color: #fff; }
.btn-fb-sm:hover { background: #0f63d4; }
.btn-msg { display: inline-flex; margin: 8px 0 0 8px; padding: 12px 20px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); color: var(--cream); font-weight: 600; }
.btn-msg:hover { background: rgba(255,255,255,.08); }
.modal-contact { width: min(560px, 100%); }
.ct-product { font: 600 1.25rem/1.3 var(--serif); color: var(--moss); }
.ct-sub { color: var(--ink-2); }
.ct-btns { display: grid !important; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0; }
.ct-btns .btn { padding: 14px; font-size: .95rem; }
.ct-addr { font-size: .88rem; color: var(--muted); margin: 0; }
.lightbox { padding: 12px; }
.lightbox img { width: 100%; border-radius: 16px; }
#contactModal .modal-panel:has(.lightbox) { width: min(1100px, 100%); }

@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .header-call-num { display: none; }
  .header-call { padding: 0; width: 44px; height: 44px; justify-content: center; }
  .nav { gap: 20px; }
}
@media (max-width: 920px) {
  :root { --header-h: 66px; }
  .burger { display: grid; }
  .nav {
    position: fixed; inset: calc(var(--header-h) + 38px) 0 auto 0; flex-direction: column; gap: 0; background: var(--cream);
    padding: 10px 20px 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .3s; margin: 0;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav > a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav-mobile-phones { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.6px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-3.6px) rotate(-45deg); }
  .hero-in { grid-template-columns: 1fr; padding: 48px 0 56px; }
  .hero.no-photo .hero-art { height: 380px; max-width: 460px; width: 100%; margin: 0 auto; }
  .hero-photo::after { background: linear-gradient(180deg, rgba(250,249,246,.92) 0%, rgba(250,249,246,.8) 100%); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .featured-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .feat-card { flex-direction: row; }
  .feat-card .media { width: 42%; aspect-ratio: auto; }
  .feat-card .body { width: 58%; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .about-in { grid-template-columns: 1fr; }
  .about-media { max-width: 440px; margin: 0 auto; }
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .steps li::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .pd { grid-template-columns: 1fr; }
  .pd-gallery { position: static; }
  .co-grid { grid-template-columns: 1fr; }
  .related-row { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .hero.no-photo .hero-art.photos { height: 360px; max-width: 560px; }
}
@media (max-width: 600px) {
  .container { width: calc(100% - 32px); }
  .topbar-in { justify-content: center; }
  .topbar-in > .topbar-item:first-child { display: none; }
  .brand-word small { display: none; }
  .brand-word b { font-size: 1.45rem; }
  .brand-mark { width: 34px; height: 34px; }
  .header-actions { gap: 8px; }
  .icon-btn, .header-call { width: 40px; height: 40px; }
  .lang button { padding: 5px 9px; }
  .hero-cta .btn { width: 100%; }
  .feat-card { flex-direction: column; }
  .feat-card .media, .feat-card .body { width: 100%; }
  .feat-card .media { aspect-ratio: 4/3; }
  .product-grid { gap: 12px; }
  .card .body { padding: 12px 12px 14px; }
  .card h3 { font-size: 1.1rem; }
  .card .desc { display: none; }
  .card .actions { grid-template-columns: 1fr; }
  .guide-grid { grid-template-columns: 1fr; }
  .about-badge { right: 10px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-contact li { grid-template-columns: 90px 1fr; }
  .modal { padding: 0; align-items: flex-end; }
  .modal-panel { border-radius: 22px 22px 0 0; max-height: 94vh; }
  .pd-info, .co { padding: 26px 20px 24px; }
  .pd-gallery { padding: 16px; }
  .pd-related { padding: 24px 20px 30px; }
  .co-form .row2 { grid-template-columns: 1fr; }
  .floating { right: 12px; bottom: 12px; }
  .float-btn { width: 50px; height: 50px; }
  .ct-btns { grid-template-columns: 1fr; }
  .hero.no-photo .hero-art.photos { height: 270px; }
  .card .sizes-txt { font-size: .74rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
