:root {
  --green: #2f4a2a;
  --green-2: #3f6337;
  --green-soft: #e7eedf;
  --cream: #faf6ee;
  --paper: #ffffff;
  --sand: #f2ead9;
  --ink: #1f2a1c;
  --muted: #5e6a58;
  --line: #e4dccb;
  --purple: #8b2f5e;
  --orange: #c4651f;
  --zalo: #0068ff;
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(47, 74, 42, .25);
  --font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Lora", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h2 { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--green); }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
body.no-scroll { overflow: hidden; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.4rem; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; text-decoration: none; transition: transform .15s, background .2s, color .2s;
  font-size: .98rem;
}
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--green-2); }
.btn--ghost { border-color: var(--green); color: var(--green); background: transparent; }
.btn--ghost:hover { background: var(--green); color: #fff; }
.btn--light { background: #fff; color: var(--green); }
.btn--zalo { background: var(--zalo); color: #fff; }
.btn--block { width: 100%; }

.eyebrow {
  margin: 0 0 .5rem; font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--orange);
}
.eyebrow--light { color: #f2c48d; }

/* Topbar */
.topbar { background: var(--green); color: #e8efe2; font-size: .85rem; }
.topbar__inner { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; }
.topbar a { text-decoration: none; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(250, 246, 238, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; gap: 1.5rem; height: 68px; }
.logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.logo__small { font-size: .7rem; text-transform: uppercase; letter-spacing: .18em; color: var(--muted); font-weight: 600; }
.logo__name { font-family: var(--serif); font-size: 1.35rem; font-weight: 700; color: var(--green); }
.nav { display: flex; gap: 1.6rem; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; color: var(--muted); font-size: .95rem; }
.nav a:hover { color: var(--green); }
.cart-btn {
  position: relative; display: flex; align-items: center; gap: .5rem;
  background: var(--green); color: #fff; border: 0; border-radius: 999px;
  padding: .6rem 1rem; font-weight: 700;
}
.cart-btn__count {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  background: var(--orange); font-size: .78rem; display: grid; place-items: center;
}
.cart-btn.bump { animation: bump .4s; }
@keyframes bump { 50% { transform: scale(1.12); } }
.menu-btn { display: none; background: none; border: 0; width: 40px; height: 40px; padding: 8px; }
.menu-btn span { display: block; height: 2px; background: var(--green); margin: 5px 0; border-radius: 2px; }

/* Hero */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0; overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: center; }
.hero h1 { font-family: var(--serif); font-size: clamp(2rem, 4.6vw, 3.4rem); color: var(--green); margin-bottom: .4em; }
.hero h1 em { color: var(--purple); font-style: italic; }
.hero__lead { font-size: 1.08rem; color: var(--muted); max-width: 34rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 2rem; }
.hero__facts { display: flex; gap: 2rem; list-style: none; padding: 0; margin: 0; color: var(--muted); font-size: .88rem; }
.hero__facts strong { display: block; font-size: 1.5rem; color: var(--green); font-family: var(--serif); }
.hero__media { position: relative; height: 520px; }
.hero__img { position: absolute; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow); border: 6px solid #fff; }
.hero__img--a { width: 62%; height: 88%; right: 4%; top: 0; transform: rotate(2deg); }
.hero__img--b { width: 40%; height: 46%; left: 0; top: 8%; transform: rotate(-4deg); }
.hero__img--c { width: 42%; height: 42%; left: 10%; bottom: 0; transform: rotate(3deg); }

/* Trust */
.trust { background: var(--paper); border-block: 1px solid var(--line); }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 1.4rem 0; }
.trust__item { display: flex; gap: .8rem; align-items: center; }
.trust__icon { font-size: 1.6rem; width: 52px; height: 52px; display: grid; place-items: center; background: var(--green-soft); border-radius: 50%; flex: none; }
.trust__item strong { display: block; color: var(--green); }
.trust__item p { margin: 0; color: var(--muted); font-size: .88rem; }

/* Sections */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--tint { background: var(--sand); }
.section--dark { background: var(--green); color: #e8efe2; }
.section--dark h2 { color: #fff; }
.section__head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.section__head h2 { margin: 0; }
.section__head--center { justify-content: center; text-align: center; }
.section__note { margin: 0; color: var(--muted); max-width: 26rem; }
.section__note a { color: var(--green); font-weight: 700; }

/* Filters */
.filters { display: flex; gap: .5rem; background: var(--paper); padding: .3rem; border-radius: 999px; border: 1px solid var(--line); }
.filter { border: 0; background: none; padding: .5rem 1.2rem; border-radius: 999px; font-weight: 600; color: var(--muted); }
.filter.is-active { background: var(--green); color: #fff; }

/* Products */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
.card {
  background: var(--paper); 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; aspect-ratio: 4 / 3.4; background: var(--sand); cursor: pointer; border: 0; padding: 0; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card__media img { transform: scale(1.05); }
.card__tag {
  position: absolute; top: 12px; left: 12px; background: var(--purple); color: #fff;
  font-size: .75rem; font-weight: 700; padding: .25rem .7rem; border-radius: 999px;
}
.card__count { position: absolute; bottom: 10px; right: 10px; background: rgba(0,0,0,.55); color: #fff; font-size: .75rem; padding: .2rem .55rem; border-radius: 999px; }
.card__body { padding: 1.1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.card__title { font-size: 1.15rem; margin: 0; color: var(--green); cursor: pointer; }
.card__desc { margin: 0; color: var(--muted); font-size: .9rem; flex: 1; }
.weights { display: grid; grid-template-columns: repeat(4, 1fr); gap: .35rem; }
.weight {
  border: 1.5px solid var(--line); background: var(--cream); border-radius: 10px;
  padding: .4rem 0; font-size: .82rem; font-weight: 600; color: var(--muted);
}
.weight.is-active { border-color: var(--green); background: var(--green-soft); color: var(--green); }
.card__buy { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.price { font-size: 1.35rem; font-weight: 800; color: var(--orange); }
.price small { font-size: .78rem; color: var(--muted); font-weight: 500; display: block; line-height: 1; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; }
.qty button { width: 32px; height: 34px; border: 0; background: none; font-size: 1.1rem; color: var(--green); }
.qty input { width: 32px; border: 0; text-align: center; font: inherit; font-weight: 700; -moz-appearance: textfield; background: transparent; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.add-btn { width: 100%; }

/* Price table */
.table-wrap { overflow-x: auto; background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); }
.price-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.price-table th, .price-table td { padding: .9rem 1rem; text-align: right; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.price-table th:first-child, .price-table td:first-child { text-align: left; }
.price-table thead th { background: var(--green); color: #fff; font-size: .88rem; }
.price-table tbody tr:last-child td { border-bottom: 0; }
.price-table tbody tr:hover { background: var(--cream); }
.price-table td:first-child { font-weight: 700; color: var(--green); }
.price-table .pshort { display: none; }
.price-table td button { background: none; border: 0; color: inherit; font-weight: inherit; padding: 0; text-align: left; }
.price-table td button:hover { text-decoration: underline; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.steps li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem 1.5rem; position: relative; }
.steps__num {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
  background: var(--orange); color: #fff; font-weight: 800; font-size: 1.2rem; margin-bottom: 1rem;
}
.steps h3 { color: var(--green); font-size: 1.15rem; }
.steps p { margin: 0; color: var(--muted); }

/* About */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: center; }
.about__text p { color: #d3ddcb; }
.about__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.about__gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.about__gallery img:nth-child(2) { transform: translateY(1.5rem); }
.about__gallery img:nth-child(4) { transform: translateY(1.5rem); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2.5rem; align-items: stretch; }
.contact__list { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; display: grid; gap: 1rem; }
.contact__list li { display: flex; gap: .9rem; align-items: center; }
.contact__list span { width: 46px; height: 46px; border-radius: 50%; background: var(--green-soft); display: grid; place-items: center; flex: none; font-size: 1.2rem; }
.contact__list small { display: block; color: var(--muted); font-size: .8rem; }
.contact__list a { font-weight: 700; color: var(--green); text-decoration: none; word-break: break-all; }
.contact__btns { display: flex; gap: .8rem; flex-wrap: wrap; }
.contact__map { min-height: 340px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.contact__map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

/* Footer */
.footer { background: #1f2f1b; color: #b8c4b0; padding: 2rem 0 6rem; font-size: .9rem; }
.footer__inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: center; }
.footer strong { color: #fff; }
.footer p { margin: .2rem 0 0; }

/* Floating buttons */
.float-btns { position: fixed; right: 16px; bottom: 20px; display: flex; flex-direction: column; gap: .7rem; z-index: 30; }
.float-btn {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; text-decoration: none; font-weight: 800; font-size: .85rem; box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
.float-btn--zalo { background: var(--zalo); }
.float-btn--call { background: #e0352b; animation: ring 2s infinite; }
@keyframes ring { 0%, 100% { box-shadow: 0 0 0 0 rgba(224,53,43,.5); } 70% { box-shadow: 0 0 0 14px rgba(224,53,43,0); } }

/* Modal */
.modal, .drawer { position: fixed; inset: 0; z-index: 60; visibility: hidden; }
.modal.is-open, .drawer.is-open { visibility: visible; }
.modal__backdrop, .drawer__backdrop { position: absolute; inset: 0; background: rgba(20, 28, 18, .55); opacity: 0; transition: opacity .25s; }
.is-open .modal__backdrop, .is-open .drawer__backdrop { opacity: 1; }
.modal__box {
  position: relative; background: var(--paper); border-radius: 18px;
  width: min(520px, 100% - 24px); max-height: calc(100% - 32px); overflow: auto;
  margin: 16px auto; top: 50%; transform: translateY(-46%); opacity: 0; transition: transform .25s, opacity .25s;
  padding: 1.6rem;
}
.modal__box--wide { width: min(960px, 100% - 24px); padding: 0; }
.is-open .modal__box { transform: translateY(-50%); opacity: 1; }
.modal__close {
  position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; border-radius: 50%;
  border: 0; background: var(--cream); font-size: 1.5rem; line-height: 1; color: var(--ink); z-index: 2;
}

/* Product modal */
.pm { display: grid; grid-template-columns: 1.1fr 1fr; }
.pm > * { min-width: 0; }
.pm__gallery { background: var(--sand); padding: 1rem; }
.pm__main { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.pm__thumbs { display: flex; gap: .5rem; margin-top: .6rem; overflow-x: auto; padding-bottom: 4px; }
.pm__thumbs button { flex: none; width: 64px; height: 64px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: none; opacity: .7; }
.pm__thumbs button.is-active { border-color: var(--green); opacity: 1; }
.pm__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pm__info { padding: 2rem 1.6rem 1.6rem; display: flex; flex-direction: column; gap: 1rem; }
.pm__info h3 { font-family: var(--serif); font-size: 1.8rem; color: var(--green); margin: 0; }
.pm__info p { margin: 0; color: var(--muted); }
.pm__info .card__tag { position: static; align-self: flex-start; }

/* Drawer */
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%);
  background: var(--paper); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .3s ease;
}
.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 1.2rem; border-bottom: 1px solid var(--line); }
.drawer__head h2 { margin: 0; font-size: 1.4rem; }
.drawer__head .modal__close { position: static; }
.drawer__body { flex: 1; overflow: auto; padding: .6rem 1.2rem; }
.drawer__foot { padding: 1.1rem 1.2rem; border-top: 1px solid var(--line); background: var(--cream); }
.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: .8rem; padding: .9rem 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
.cart-item h4 { margin: 0; font-size: .95rem; color: var(--green); }
.cart-item__meta { font-size: .82rem; color: var(--muted); }
.cart-item__right { display: flex; flex-direction: column; align-items: flex-end; gap: .4rem; }
.cart-item__price { font-weight: 800; color: var(--orange); }
.cart-item .qty button { width: 28px; height: 28px; }
.cart-item .qty span { min-width: 22px; text-align: center; font-weight: 700; font-size: .9rem; }
.cart-remove { background: none; border: 0; color: var(--muted); font-size: .78rem; text-decoration: underline; padding: 0; }
.cart-empty { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.cart-empty div { font-size: 3rem; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.05rem; }
.cart-total strong { font-size: 1.4rem; color: var(--orange); }
.cart-note { font-size: .8rem; color: var(--muted); margin: .3rem 0 .9rem; }

/* Checkout */
.co h2 { font-size: 1.5rem; padding-right: 2rem; }
.co label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .8rem; color: var(--green); }
.co input, .co textarea {
  display: block; width: 100%; margin-top: .3rem; padding: .7rem .85rem;
  border: 1.5px solid var(--line); border-radius: 10px; font: inherit; font-weight: 400; color: var(--ink);
  background: var(--cream); resize: vertical;
}
.co input:focus, .co textarea:focus { outline: none; border-color: var(--green); background: #fff; }
.co input.is-invalid, .co textarea.is-invalid { border-color: #d0342c; }
.co__error { color: #d0342c; font-size: .88rem; min-height: 1.2em; margin: 0 0 .6rem; }
.co__summary { background: var(--cream); border-radius: 10px; padding: .8rem 1rem; margin-bottom: 1rem; font-size: .9rem; }
.co__summary div { display: flex; justify-content: space-between; gap: 1rem; }
.co__summary .total { border-top: 1px dashed var(--line); margin-top: .4rem; padding-top: .4rem; font-weight: 800; color: var(--orange); }
.co__hint { color: var(--muted); margin-top: 0; }
.co__order {
  white-space: pre-wrap; font-family: var(--font); font-size: .85rem; background: var(--cream);
  border: 1px dashed var(--line); border-radius: 10px; padding: .8rem 1rem; max-height: 200px; overflow: auto; margin: 0 0 1rem;
}
.send-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.send-btn {
  display: flex; flex-direction: column; gap: .15rem; text-align: left; text-decoration: none;
  padding: .85rem 1rem; border-radius: 12px; border: 0; color: #fff;
}
.send-btn strong { font-size: .98rem; }
.send-btn small { font-size: .76rem; opacity: .9; line-height: 1.3; }
.send-btn--zalo { background: var(--zalo); }
.send-btn--sms { background: var(--green-2); }
.send-btn--call { background: #e0352b; }
.send-btn--mail { background: var(--purple); }
.co__actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.co__actions .btn { padding: .5rem 1rem; font-size: .85rem; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, calc(100% + 40px));
  background: var(--ink); color: #fff; padding: .75rem 1.2rem; border-radius: 999px;
  font-size: .9rem; font-weight: 600; z-index: 80; transition: transform .3s, visibility .3s; max-width: calc(100% - 32px); text-align: center;
  visibility: hidden;
}
.toast.is-show { transform: translate(-50%, 0); visibility: visible; }

/* Responsive */
@media (max-width: 960px) {
  .hero__inner, .about, .contact { grid-template-columns: 1fr; }
  .hero__media { height: 420px; max-width: 520px; width: 100%; margin-inline: auto; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .pm { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line); display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .9rem 16px; border-top: 1px solid var(--line); }
  .menu-btn { display: block; }
  .cart-btn { margin-left: auto; }
  .cart-btn__label { display: none; }
  .header__inner { gap: .6rem; }
  .topbar span { display: none; }
  .topbar__inner { justify-content: center; }
  .hero__media { height: 340px; }
  .hero__facts { gap: 1.2rem; }
  .send-grid { grid-template-columns: 1fr; }
  .filters { width: 100%; }
  .filter { flex: 1; }
  .price-table { min-width: 0; font-size: .88rem; }
  .price-table th, .price-table td { padding: .7rem .4rem; }
  .price-table .pfull { display: none; }
  .price-table .pshort { display: inline; }
  .price-table th:first-child, .price-table td:first-child { padding-left: .7rem; }
  .price-table th:last-child, .price-table td:last-child { padding-right: .7rem; }
}
@media (max-width: 480px) {
  .trust__grid { grid-template-columns: 1fr; }
  .products { grid-template-columns: 1fr; }
  .modal__box { padding: 1.2rem; }
  .modal__box--wide { padding: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
