:root {
  --accent: #14584e;
  --accent-dark: #0d3d36;
  --ink: #17201e;
  --muted: #5c6a67;
  --bg: #ffffff;
  --tint: #f5f3ec;
  --tint2: #e9efe9;
  --radius: 14px;
  --shadow: 0 8px 28px rgba(23, 32, 30, 0.08);
  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--ink); background: var(--bg); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.2; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* header */
header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid #eceae3; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; letter-spacing: .02em; color: var(--accent-dark); }
.nav-links { display: flex; gap: 26px; font-size: .95rem; font-weight: 500; }
.nav-links a:hover { color: var(--accent); }
.cart-btn { position: relative; cursor: pointer; background: none; border: none; font-size: 1.25rem; }
.cart-count { position: absolute; top: -7px; right: -10px; background: var(--accent); color: #fff; font-size: .68rem; font-weight: 700; border-radius: 50%; min-width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; padding: 0 4px; }

/* hero */
.hero { position: relative; min-height: 480px; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: url("/img/hero.webp") center/cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(13, 40, 35, .55); }
.hero > div { position: relative; z-index: 1; max-width: 720px; padding: 60px 20px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 700; margin-bottom: 14px; }
.hero p { font-size: 1.15rem; opacity: .95; margin-bottom: 28px; }

.btn { display: inline-block; background: var(--accent); color: #fff; font-weight: 600; font-family: var(--font-head); padding: 14px 34px; border-radius: 10px; border: none; font-size: 1rem; cursor: pointer; transition: background .18s, transform .18s; }
.btn:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn.secondary { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); }
.btn.secondary:hover { background: var(--tint2); }
.btn:disabled { opacity: .55; cursor: wait; }

/* trust bar */
.trust { background: var(--tint); padding: 34px 0; }
.trust .container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.trust h3 { font-size: 1.02rem; margin-bottom: 4px; color: var(--accent-dark); }
.trust p { font-size: .9rem; color: var(--muted); }

/* products */
.section { padding: 64px 0; }
.section-title { text-align: center; font-size: 2rem; margin-bottom: 40px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 26px; }
.card { background: #fff; border: 1px solid #eee9df; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(23,32,30,.12); }
.card img { aspect-ratio: 1; object-fit: cover; }
.card-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { font-size: 1rem; font-weight: 600; }
.price { font-weight: 700; color: var(--accent-dark); font-size: 1.08rem; }
.card .btn { padding: 10px 0; width: 100%; text-align: center; margin-top: auto; font-size: .92rem; }

/* product page */
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 56px 0; align-items: start; }
.product-layout img { border-radius: var(--radius); box-shadow: var(--shadow); }
.product-info h1 { font-size: 1.7rem; margin-bottom: 10px; }
.product-info .price { font-size: 1.5rem; margin-bottom: 18px; display: block; }
.product-info p.desc { color: var(--muted); margin-bottom: 18px; }
.product-info ul { margin: 0 0 24px 20px; color: var(--ink); }
.product-info ul li { margin-bottom: 6px; }
.qty-row { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.qty-row input { width: 70px; padding: 10px; border: 1.5px solid #d8d4c8; border-radius: 8px; font-size: 1rem; text-align: center; }
.trust-line { font-size: .88rem; color: var(--muted); margin-top: 14px; }

/* cart drawer */
.drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.45); opacity: 0; pointer-events: none; transition: opacity .22s; z-index: 90; }
.drawer { position: fixed; top: 0; right: -420px; width: min(400px, 92vw); height: 100vh; background: #fff; z-index: 100; transition: right .25s ease; display: flex; flex-direction: column; box-shadow: -12px 0 40px rgba(0,0,0,.14); }
body.drawer-open .drawer { right: 0; }
body.drawer-open .drawer-overlay { opacity: 1; pointer-events: auto; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid #eee9df; }
.drawer-head h3 { font-size: 1.15rem; }
.drawer-close { background: none; border: none; font-size: 1.5rem; cursor: pointer; line-height: 1; }
.drawer-items { flex: 1; overflow-y: auto; padding: 12px 22px; }
.drawer-item { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid #f2efe7; align-items: center; }
.drawer-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.drawer-item .di-info { flex: 1; }
.drawer-item .di-info h4 { font-size: .9rem; font-weight: 600; margin-bottom: 2px; }
.di-qty { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.di-qty button { width: 24px; height: 24px; border: 1px solid #d8d4c8; background: #fff; border-radius: 6px; cursor: pointer; font-size: .9rem; line-height: 1; }
.di-remove { background: none; border: none; color: #b04a3a; cursor: pointer; font-size: .8rem; }
.drawer-foot { padding: 18px 22px 26px; border-top: 1px solid #eee9df; }
.drawer-total { display: flex; justify-content: space-between; font-weight: 700; font-size: 1.05rem; margin-bottom: 14px; }
.drawer-foot .btn { width: 100%; text-align: center; }
.drawer-note { font-size: .8rem; color: var(--muted); text-align: center; margin-top: 10px; }
.drawer-empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* faq */
.faq details { border: 1px solid #eee9df; border-radius: 10px; margin-bottom: 12px; padding: 16px 20px; background: #fff; }
.faq summary { font-weight: 600; cursor: pointer; font-family: var(--font-head); }
.faq p { margin-top: 10px; color: var(--muted); }

/* footer */
footer { background: var(--accent-dark); color: #e8efe9; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 36px; padding: 52px 0 34px; }
.footer-grid h4 { font-family: var(--font-head); font-size: .98rem; margin-bottom: 14px; color: #fff; }
.footer-grid a, .footer-grid p { display: block; font-size: .88rem; color: #c4d4c9; margin-bottom: 8px; }
.footer-grid a:hover { color: #fff; }
.copyright { border-top: 1px solid rgba(255,255,255,.14); padding: 18px 0; text-align: center; font-size: .82rem; color: #a9bfb0; }

/* static pages */
.page-body { max-width: 780px; margin: 0 auto; padding: 56px 20px; }
.page-body h1 { font-size: 2rem; margin-bottom: 24px; }
.page-body h2 { font-size: 1.25rem; margin: 26px 0 10px; }
.page-body p, .page-body li { color: #3b4744; }
.page-body ul, .page-body ol { margin: 10px 0 10px 22px; }

/* success */
.success-box { max-width: 560px; margin: 70px auto; text-align: center; padding: 48px 34px; border: 1px solid #eee9df; border-radius: var(--radius); box-shadow: var(--shadow); }
.success-box .big { font-size: 3rem; margin-bottom: 12px; }
.success-box h1 { font-size: 1.6rem; margin-bottom: 10px; }
.success-box p { color: var(--muted); margin-bottom: 8px; }

@media (max-width: 760px) {
  .nav-links { display: none; }
  .trust .container { grid-template-columns: 1fr; gap: 18px; }
  .product-layout { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
