/* Grona Display — main stylesheet */
:root {
  --navy: #334024;
  --navy-deep: #222c18;
  --blue: #5c7038;
  --accent: #9bab45;
  --accent-dark: #7d8c33;
  --ink: #2b3320;
  --muted: #6b7558;
  --line: #e3e8d9;
  --bg: #ffffff;
  --bg-soft: #f6f8f1;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(51, 64, 36, 0.10);
  --maxw: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 16px; font-weight: 700; color: var(--navy); }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); letter-spacing: -0.015em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 16px; }
.container { width: min(100% - 40px, var(--maxw)); margin: 0 auto; }
.section { padding: 84px 0; }
.section-soft { background: var(--bg-soft); }
.section-navy { background: var(--navy); color: #d5dfc4; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-navy .section-head p { color: #bdc9a6; }
.eyebrow { display: inline-block; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--accent); margin-bottom: 14px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 26px; border-radius: 6px; font-weight: 700; font-size: 0.97rem; transition: all .2s ease; border: 2px solid transparent; cursor: pointer; text-align: center; }
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-deep); color: #fff; }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-outline:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-outline-dark { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-dark:hover { background: var(--navy); color: #fff; }
.btn-sm { padding: 9px 18px; font-size: 0.88rem; }
.btn-block { width: 100%; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 74px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark { width: 38px; height: 38px; border-radius: 7px; background: var(--navy); display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.05em; }
.brand-name { font-size: 1.25rem; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; line-height: 1.05; }
.brand-name span { color: var(--accent); }
.brand-sub { font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); display: block; margin-top: 3px; }
.brand-logo { height: 34px; width: auto; display: block; }
.brand-divider { width: 1px; height: 30px; background: var(--line); display: block; }
.brand-word { font-size: 1rem; font-weight: 700; letter-spacing: 0.16em; color: var(--navy); line-height: 1.1; }
.brand-word .brand-sub { font-size: 0.54rem; letter-spacing: 0.1em; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav > a { font-size: 0.93rem; font-weight: 600; color: var(--ink); white-space: nowrap; }
.main-nav > a:hover, .main-nav > a.active { color: var(--blue); }
.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone { font-size: 0.88rem; font-weight: 700; color: var(--navy); white-space: nowrap; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; color: var(--navy); cursor: pointer; padding: 4px; }

/* Hero */
.hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -160px; top: -120px; width: 620px; height: 620px; border-radius: 50%; background: rgba(255,255,255,.035); }
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; padding: 88px 0 92px; position: relative; z-index: 1; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-lead { font-size: 1.13rem; color: #c9d4b6; max-width: 560px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual { position: relative; }
.hero-visual img { border-radius: 14px; width: 100%; height: 420px; object-fit: contain; background: #fff; padding: 6px; box-shadow: 0 24px 60px rgba(0,0,0,.3); }
.hero-badge { position: absolute; bottom: -18px; left: -18px; background: var(--accent); color: #fff; padding: 16px 22px; border-radius: 8px; box-shadow: var(--shadow); }
.hero-badge strong { display: block; font-size: 1.5rem; line-height: 1; }
.hero-badge span { font-size: 0.78rem; text-transform: uppercase; letter-spacing: .08em; }

/* Trust strip */
.trust-strip { background: #fff; border-bottom: 1px solid var(--line); }
.trust-inner { display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap; gap: 20px; padding: 24px 0; }
.trust-item { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.92rem; color: var(--navy); }
.trust-item .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }

/* Grids */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* Cards */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .22s ease, box-shadow .22s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-img { height: 232px; width: 100%; object-fit: contain; padding: 6px; background: #fff; }
.card-img.contain { object-fit: contain; padding: 6px; background: #fff; }
.card-body { padding: 24px; }
.card-body h3 { margin-bottom: 10px; }
.card-body p { color: var(--muted); font-size: 0.94rem; margin-bottom: 0; }
.card-link { display: inline-block; margin-top: 16px; color: var(--blue); font-weight: 700; font-size: 0.9rem; }
.feature-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; }
.feature-icon { width: 46px; height: 46px; border-radius: 9px; background: #eef2e2; color: var(--blue); display: grid; place-items: center; font-size: 1.4rem; font-weight: 800; margin-bottom: 18px; }
.feature-box h3 { font-size: 1.1rem; }
.feature-box p { color: var(--muted); font-size: 0.93rem; margin: 0; }

/* Split section */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 62px; align-items: center; }
.split img { border-radius: 12px; width: 100%; height: 440px; object-fit: contain; background: #fff; padding: 6px; }
.split-text ul { list-style: none; padding: 0; margin: 22px 0 0; }
.split-text li { padding: 10px 0 10px 30px; position: relative; color: var(--muted); }
.split-text li::before { content: "✓"; position: absolute; left: 0; top: 10px; color: var(--accent); font-weight: 800; }

/* Steps */
.step { text-align: center; padding: 26px 18px; }
.step-num { width: 54px; height: 54px; border: 2px solid var(--accent); color: var(--accent); border-radius: 50%; display: grid; place-items: center; font-size: 1.2rem; font-weight: 800; margin: 0 auto 18px; }
.step h3 { font-size: 1.05rem; }
.step p { color: #bdc9a6; font-size: 0.92rem; margin: 0; }

/* Testimonials */
.quote-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.quote-card .stars { color: var(--accent); letter-spacing: .12em; margin-bottom: 12px; }
.quote-card p { font-style: italic; color: var(--ink); font-size: 0.97rem; }
.quote-author { font-weight: 700; color: var(--navy); font-size: 0.9rem; margin-top: 14px; }
.quote-author span { display: block; font-weight: 400; color: var(--muted); font-size: 0.82rem; }

/* CTA band */
.cta-band { background: var(--accent); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: #f4f7e6; max-width: 620px; margin: 0 auto 26px; font-size: 1.05rem; }

/* Page hero */
.page-hero { background: var(--navy); color: #fff; padding: 62px 0; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 12px; }
.page-hero p { color: #c9d4b6; max-width: 680px; margin: 0; font-size: 1.06rem; }
.breadcrumb { font-size: 0.85rem; color: #a9b891; margin-bottom: 16px; }
.breadcrumb a { color: #d8e3c2; }

/* Product filter */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; justify-content: center; }
.filter-btn { padding: 9px 20px; border: 1px solid var(--line); background: #fff; border-radius: 30px; font-weight: 600; font-size: 0.9rem; color: var(--ink); cursor: pointer; transition: all .18s; }
.filter-btn:hover, .filter-btn.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.product-price { color: var(--accent); font-weight: 800; font-size: 1.05rem; display: block; margin: 8px 0 16px; }
.product-price small { color: var(--muted); font-weight: 400; font-size: 0.8rem; }

/* Forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 7px; color: var(--ink); }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 6px; font-size: 0.95rem; font-family: inherit; color: var(--ink); background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(92,112,56,.12); }
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 0.82rem; color: var(--muted); }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; gap: 14px; align-items: flex-start; }
.info-list li:last-child { border-bottom: 0; }
.info-list .ico { width: 34px; height: 34px; border-radius: 7px; background: #eef2e2; color: var(--blue); display: grid; place-items: center; flex-shrink: 0; font-size: 1rem; }
.info-list strong { display: block; color: var(--navy); font-size: 0.92rem; }
.info-list span { color: var(--muted); font-size: 0.9rem; }
.form-msg { display: none; padding: 14px 18px; border-radius: 6px; margin-top: 16px; font-size: 0.92rem; background: #eef4dc; color: #4a5c20; border: 1px solid #cddc9e; }

/* Legal / prose */
.prose { max-width: 860px; margin: 0 auto; }
.prose h2 { font-size: 1.5rem; margin-top: 36px; }
.prose h3 { font-size: 1.15rem; margin-top: 26px; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 22px; }
.prose .updated { font-size: 0.85rem; color: var(--muted); margin-bottom: 28px; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #b9c6a1; padding: 66px 0 0; font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 50px; }
.site-footer .brand-word { color: #fff; }
.site-footer .brand-logo { height: 40px; }
.site-footer .brand-divider { background: rgba(255,255,255,.25); }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 20px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a:hover { color: var(--accent); }
.footer-tagline { margin-top: 18px; color: #9fae83; max-width: 280px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-size: 0.83rem; }
.footer-bottom a { color: #b9c6a1; margin-left: 16px; }

/* Product detail page */
.pd-section { padding: 56px 0; }
.pd-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: start; }
.pd-mainimg { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; aspect-ratio: 1 / 1; display: grid; place-items: center; }
.pd-mainimg img { width: 100%; height: 100%; object-fit: contain; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.pd-thumb { width: 74px; height: 74px; padding: 0; border: 2px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--bg-soft); cursor: pointer; transition: border-color .15s; }
.pd-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 0; }
.pd-thumb:hover { border-color: var(--accent); }
.pd-thumb.active { border-color: var(--blue); box-shadow: 0 0 0 2px rgba(92,112,56,.2); }
.pd-info h1 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin: 8px 0 12px; }

/* Category spotlight — right-hand detail panel on products page */
.products-layout.with-detail { display: grid; grid-template-columns: minmax(240px, 290px) minmax(0, 1fr); gap: 36px; align-items: start; }
.products-layout.with-detail #productGrid { grid-template-columns: 1fr; gap: 18px; }
.products-layout.with-detail #productGrid .card:not([style*="none"]) { max-width: 290px; }
.cat-detail { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.cat-detail-gallery .pd-mainimg { aspect-ratio: 16 / 11; }
.cat-detail-body h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 8px 0 10px; }
.cat-detail-subhead { font-size: 1rem; color: var(--navy); margin: 22px 0 10px; }
.cat-detail .pd-thumbs { gap: 8px; }
.cat-detail .pd-thumb { width: 60px; height: 60px; }
.cat-detail .pd-price strong { font-size: 1.6rem; }
@media (max-width: 900px) {
  .products-layout.with-detail { grid-template-columns: 1fr; }
  .products-layout.with-detail #productGrid .card:not([style*="none"]) { max-width: none; }
}
.pd-tagline { color: var(--muted); font-size: 1.08rem; margin-bottom: 20px; }
.pd-price { font-size: 1.05rem; color: var(--muted); padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.pd-price strong { font-size: 1.85rem; color: var(--navy); }
.pd-price small { color: var(--muted); }
.pd-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.pd-features { list-style: none; padding: 0; margin: 0 0 18px; }
.pd-features li { position: relative; padding: 7px 0 7px 30px; color: var(--ink); font-size: 0.95rem; }
.pd-check { position: absolute; left: 0; top: 7px; width: 20px; height: 20px; border-radius: 50%; background: #eef2e2; color: var(--blue); font-size: 0.75rem; display: grid; place-items: center; font-weight: 700; }
.pd-note { font-size: 0.85rem; color: var(--muted); }
.pd-note a { color: var(--blue); font-weight: 600; }
.pd-desc { max-width: 860px; margin: 0 auto; }
.pd-desc h2, .pd-specs-wrap h2 { font-size: 1.9rem; margin-bottom: 22px; }
.pd-lead { font-size: 1.14rem; color: var(--ink); line-height: 1.75; }
.pd-desc p { color: var(--muted); line-height: 1.8; }
.pd-specs-wrap { max-width: 860px; margin: 0 auto; }
.pd-specs { width: 100%; border-collapse: collapse; }
.pd-specs th, .pd-specs td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; font-size: 0.95rem; }
.pd-specs tr:nth-child(odd) { background: var(--bg-soft); }
.pd-specs th { width: 34%; color: var(--navy); font-weight: 700; }
.pd-specs td { color: var(--muted); }
.pd-specs-wrap .pd-note { margin-top: 18px; }

/* Featured / best-seller products */
.card-badge { display: inline-block; background: var(--accent); color: #fff; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 10px; border-radius: 4px; margin-bottom: 10px; }
.card.product.featured { border: 2px solid var(--accent); }
.featured-section { padding-top: 64px; }
.featured-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.featured-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.featured-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(51,64,36,.16); color: inherit; }
.featured-img { height: 380px; background: #fff; overflow: hidden; }
.featured-img img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.featured-body { padding: 26px 28px 30px; }
.featured-body h3 { font-size: 1.55rem; margin: 4px 0 10px; }
.featured-body p { color: var(--muted); margin-bottom: 16px; }
.featured-link { color: var(--blue); font-weight: 700; font-size: 0.98rem; }

/* Responsive */
@media (max-width: 980px) {
  .main-nav { display: none; position: absolute; top: 74px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 14px 20px 22px; gap: 4px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav > a { padding: 11px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: block; }
  .header-phone { display: none; }
  .hero-inner, .split { grid-template-columns: 1fr; gap: 40px; }
  .hero-inner { padding: 64px 0 72px; }
  .hero-visual img { height: 330px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pd-layout { grid-template-columns: 1fr; gap: 32px; }
  .pd-mainimg { max-height: 460px; }
  .featured-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .grid-3, .grid-4, .grid-2, .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-badge { left: 12px; bottom: -14px; padding: 12px 16px; }
  .hero-badge strong { font-size: 1.2rem; }
  .trust-inner { justify-content: flex-start; }
  .form-card { padding: 24px 20px; }
  .cta-band .btn { width: 100%; }
}
