/* ===== สีและฟอนต์หลัก (โทนเดียวกับโปรไฟล์บริษัท) ===== */
:root {
  --green: #1d4a40;
  --green-2: #275e52;
  --gold: #c9a24b;
  --gold-2: #b38a32;
  --cream: #f2f0e8;
  --text: #1f2a27;
  --muted: #5f6b67;
  --bg: #ffffff;
  --border: #e3e1d7;
  --radius: 14px;
  --max: 1160px;
  --shadow: 0 10px 30px rgba(20, 40, 35, .10);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { font-family: "Sarabun", system-ui, sans-serif; color: var(--text); background: var(--bg); line-height: 1.7; font-size: 16px; }
h1, h2, h3, .btn, .tab, .logo { font-family: "Kanit", "Sarabun", sans-serif; font-weight: 500; line-height: 1.3; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); margin-bottom: 16px; color: var(--green); }
h3 { font-size: 1.15rem; margin-bottom: 6px; }
p + p { margin-top: 12px; }
a { color: var(--green-2); text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.kicker { color: var(--gold-2); font-weight: 700; font-size: .9rem; letter-spacing: .02em; margin-bottom: 6px; }
.gold { color: var(--gold); }
.mt { margin-top: 28px; }
.rounded { border-radius: var(--radius); }

/* ===== ปุ่ม ===== */
.btn { display: inline-block; background: var(--green); color: #fff; border: 2px solid var(--green); padding: 11px 26px; border-radius: 999px; transition: .2s; text-align: center; }
.btn:hover { background: var(--green-2); border-color: var(--green-2); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--green); }
.btn-gold:hover { background: #d8b45f; border-color: #d8b45f; }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-block { display: block; width: 100%; }
.btn:disabled { opacity: .6; cursor: wait; }
.icon-btn { background: none; border: 0; font-size: 1.2rem; width: 36px; height: 36px; border-radius: 50%; color: inherit; }
.icon-btn:hover { background: rgba(0,0,0,.06); }

/* ===== เมนู ===== */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--green); color: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.15); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 1.35rem; letter-spacing: .02em; }
.logo img { height: 46px; width: 46px; }
.logo small { color: var(--gold); font-size: .72rem; letter-spacing: .12em; }
.nav-links { display: flex; gap: 26px; }
.nav-links a { color: #e8efe9; font-size: .97rem; }
.nav-links a:hover { color: var(--gold); }
.nav-right { display: flex; align-items: center; gap: 8px; }
.cart-btn { background: var(--gold); color: var(--green); border: 0; border-radius: 999px; padding: 7px 14px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.cart-count { background: var(--green); color: #fff; border-radius: 999px; min-width: 22px; height: 22px; display: grid; place-items: center; font-size: .8rem; padding: 0 6px; }
.cart-count.bump { animation: bump .4s; }
@keyframes bump { 50% { transform: scale(1.4); } }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 1.6rem; width: 40px; }

.lang-switch { display: flex; background: rgba(255,255,255,.1); border-radius: 999px; padding: 3px; }
.lang-switch button { background: none; border: 0; color: #cfe0d8; font-size: .8rem; font-weight: 700; padding: 4px 9px; border-radius: 999px; }
.lang-switch button.active { background: #fff; color: var(--green); }
html[lang="zh-Hans"] body { font-family: "Noto Sans SC", "Sarabun", sans-serif; }
html[lang="zh-Hans"] h1, html[lang="zh-Hans"] h2, html[lang="zh-Hans"] h3, html[lang="zh-Hans"] .btn, html[lang="zh-Hans"] .tab { font-family: "Noto Sans SC", sans-serif; font-weight: 700; }

/* ===== Hero ===== */
.hero { background: radial-gradient(circle at 80% 20%, var(--green-2), var(--green) 60%); color: #fff; padding: 72px 0 80px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--gold); font-size: .95rem; margin-bottom: 14px; }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); margin-bottom: 18px; }
.hero h1 span { color: var(--gold); }
.lead { font-size: 1.1rem; color: #d7e3dc; margin-bottom: 28px; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.badges { list-style: none; display: flex; gap: 10px; margin-top: 28px; }
.badges li { border: 1px solid rgba(201,162,75,.6); color: var(--gold); border-radius: 8px; padding: 2px 12px; font-size: .85rem; font-weight: 700; }
.hero-slider { position: relative; aspect-ratio: 1 / .78; }
.hero-slider::before { content: ""; position: absolute; inset: 8% 4% 14%; background: radial-gradient(closest-side, rgba(201,162,75,.35), transparent); filter: blur(10px); }
.slide { position: absolute; inset: 0 0 44px; margin: 0; display: grid; align-items: end; opacity: 0; transform: translateY(14px) scale(.97); transition: opacity .7s, transform .7s; pointer-events: none; }
.slide.active { opacity: 1; transform: none; pointer-events: auto; }
.slide img { width: 100%; max-height: 100%; object-fit: contain; object-position: bottom; }
.slide figcaption { position: absolute; left: 0; right: 0; bottom: -40px; text-align: center; color: #d7e3dc; font-size: .95rem; }
.slide figcaption b { color: var(--gold); font-family: "Kanit", sans-serif; font-weight: 500; margin-right: 6px; }
.dots { position: absolute; bottom: -6px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.dots button { width: 9px; height: 9px; border-radius: 999px; border: 0; background: rgba(255,255,255,.35); padding: 0; transition: .3s; }
.dots button.active { width: 26px; background: var(--gold); }

/* ===== Sections ===== */
.section { padding: 84px 0; }
.section-alt { background: var(--cream); }
.section-dark { background: var(--green); color: #e8efe9; }
.section-dark h2 { color: #fff; }
.muted-light { color: #a9c1b8; }

.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.about-img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.facts { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 20px; }
.facts li { border: 1px solid #e3dccb; border-radius: 12px; padding: 12px 14px; display: grid; }
.facts strong { font-family: "Kanit", sans-serif; color: var(--green); font-size: 1.05rem; white-space: nowrap; font-weight: 500; }
.facts span { font-size: .8rem; color: var(--muted); }
@media (max-width: 600px) { .facts { grid-template-columns: 1fr 1fr; } }
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.vm > div { background: var(--cream); border-radius: var(--radius); padding: 20px; }
.vm h3 { color: var(--green); }
.vm p { font-size: .95rem; color: var(--muted); }

.group { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.chairman { display: flex; gap: 24px; align-items: center; background: rgba(255,255,255,.06); border: 1px solid rgba(201,162,75,.35); border-radius: 20px; padding: 28px; }
.chairman-photo { position: relative; flex: 0 0 170px; height: 204px; border-radius: 14px; background: var(--green-2); border: 2px solid var(--gold); display: grid; place-items: center; color: #a9c1b8; font-size: .85rem; overflow: hidden; }
.chairman-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.chairman { flex-wrap: wrap; }
.csr { flex: 1 1 100%; border-top: 1px solid rgba(201,162,75,.35); padding-top: 18px; }
.csr-text { font-size: .92rem; color: #d7e3dc; margin-bottom: 12px; }
.csr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.csr-grid figure { margin: 0; }
.csr-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; display: block; }
.csr-grid figcaption { font-size: .78rem; color: #a9c1b8; margin-top: 4px; line-height: 1.35; }
.chairman h3 { color: #fff; font-size: 1.4rem; margin: 0; }
.chairman blockquote { margin-top: 12px; border-left: 3px solid var(--gold); padding-left: 12px; font-style: italic; color: #d7e3dc; }
.group-stats { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.group-stats li { background: rgba(255,255,255,.06); border-radius: 12px; padding: 16px; display: grid; }
.group-stats strong { font-family: "Kanit", sans-serif; color: var(--gold); font-size: 1.7rem; font-weight: 500; }
.group-stats span { font-size: .85rem; color: #a9c1b8; }

/* ===== ร้านค้า ===== */
.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 8px 0 36px; }
.tab { background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 8px 20px; color: var(--text); }
.tab.active { background: var(--green); color: #fff; border-color: var(--green); }
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.product { background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 2px 8px rgba(0,0,0,.04); transition: .2s; }
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-img { aspect-ratio: 1; background: #f7f6f1; }
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.product-line { font-size: .78rem; color: var(--gold-2); font-weight: 700; }
.product h3 { font-size: 1.02rem; margin: 2px 0 4px; }
.product p { font-size: .88rem; color: var(--muted); flex: 1; }
.product-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.price { font-family: "Kanit", sans-serif; font-size: 1.3rem; color: var(--green); }
.price small { font-size: .78rem; color: var(--muted); font-family: "Sarabun", sans-serif; }
.add-btn { background: var(--green); color: #fff; border: 0; border-radius: 999px; padding: 7px 16px; font-size: .9rem; }
.add-btn:hover { background: var(--gold); color: var(--green); }

/* ===== จุดแข็ง ===== */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 32px; }
.feature { background: var(--cream); border-radius: var(--radius); padding: 26px 22px; text-align: center; }
.feature span { font-size: 2rem; }
.feature h3 { color: var(--green); margin-top: 8px; }
.feature p { font-size: .92rem; color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.checks { list-style: none; margin-top: 16px; display: grid; gap: 8px; }
.checks li::before { content: "✓"; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: #fff; font-size: .75rem; margin-right: 10px; }
.certs { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.certs li { background: var(--green); color: #fff; border-radius: 10px; padding: 8px 16px; font-family: "Kanit", sans-serif; }
.certs b { color: var(--gold); font-weight: 500; margin-right: 6px; }
.tech-imgs { display: grid; grid-template-columns: 1.6fr 1fr; gap: 14px; }
.tech-imgs img { border-radius: var(--radius); height: 380px; width: 100%; object-fit: cover; }
.steps { list-style: none; counter-reset: s; margin: 18px 0 28px; }
.steps li { counter-increment: s; padding: 12px 0; border-bottom: 1px solid var(--border); }
.steps li::before { content: "0" counter(s); color: var(--gold-2); font-family: "Kanit", sans-serif; margin-right: 16px; }

/* ===== โรงงานแห่งที่ 2 ===== */
.plant2 { margin-top: 56px; background: var(--green); color: #e8efe9; border-radius: 20px; padding: 32px; display: grid; grid-template-columns: .8fr 1.6fr; gap: 32px; align-items: center; }
.plant2 h3 { color: #fff; font-size: 1.5rem; margin: 8px 0; }
.plant2-head p { color: #a9c1b8; }
.soon { display: inline-block; background: var(--gold); color: var(--green); font-weight: 700; font-size: .8rem; border-radius: 999px; padding: 2px 12px; }
.plant2-lines { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.plant2-lines > div { background: rgba(255,255,255,.07); border: 1px solid rgba(201,162,75,.35); border-radius: 14px; padding: 18px; }
.plant2-lines span { font-size: 1.6rem; }
.plant2-lines h4 { font-family: "Kanit", sans-serif; font-weight: 500; color: var(--gold); font-size: 1.1rem; margin: 4px 0; }
.plant2-lines p { font-size: .88rem; color: #cfe0d8; }

/* ===== ติดต่อ ===== */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.contact-logo { height: 70px; border-radius: 8px; margin-bottom: 18px; }
.contact-list { list-style: none; margin: 18px 0; display: grid; gap: 10px; }
.contact-list li { display: grid; grid-template-columns: 70px 1fr; }
.contact-list b { color: var(--gold); font-weight: 500; }
.contact-list a { color: #fff; }
.slogan { color: #a9c1b8; font-size: .92rem; }
.map { width: 100%; height: 340px; border: 0; border-radius: var(--radius); display: block; }
.map-wrap { display: flex; flex-direction: column; gap: 12px; }
.map-btn { align-self: flex-start; }
.site-footer { background: #133129; color: #8fa89f; text-align: center; padding: 22px 0; font-size: .88rem; }

/* ===== ตะกร้า ===== */
.overlay { position: fixed; inset: 0; background: rgba(10,25,20,.5); opacity: 0; pointer-events: none; transition: .25s; z-index: 50; }
.overlay.show { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 100%); background: #fff; z-index: 60; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .3s; }
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.drawer-head h3 { margin: 0; color: var(--green); }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.drawer-foot { border-top: 1px solid var(--border); padding: 16px 20px 20px; background: var(--cream); }
.row { display: flex; justify-content: space-between; padding: 3px 0; }
.row.total { font-family: "Kanit", sans-serif; font-size: 1.2rem; color: var(--green); margin-top: 4px; }
.note { font-size: .82rem; color: var(--muted); margin: 6px 0 12px; }
.empty { text-align: center; color: var(--muted); padding: 60px 0; }
.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--border); }
.cart-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
.cart-item h4 { font-size: .92rem; font-family: inherit; font-weight: 500; line-height: 1.35; }
.cart-item small { color: var(--muted); }
.qty { display: flex; align-items: center; gap: 4px; margin-top: 4px; }
.qty button { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--border); background: #fff; }
.qty span { min-width: 24px; text-align: center; }
.item-total { font-weight: 700; text-align: right; }
.remove { display: block; background: none; border: 0; color: #b4483c; font-size: .8rem; margin-top: 4px; }

/* ===== ชำระเงิน ===== */
.modal { position: fixed; inset: 0; z-index: 70; display: none; align-items: flex-start; justify-content: center; padding: 24px 12px; overflow-y: auto; background: rgba(10,25,20,.55); }
.modal.open { display: flex; }
.modal-box { position: relative; background: #fff; border-radius: 18px; width: min(760px, 100%); padding: 28px; }
.modal-close { position: absolute; top: 12px; right: 12px; }
.checkout h3 { color: var(--green); margin: 8px 0 12px; }
.checkout h3:not(:first-child) { margin-top: 26px; }
.checkout label { display: grid; gap: 4px; font-size: .9rem; font-weight: 500; margin-bottom: 12px; }
.checkout input, .checkout textarea { font: inherit; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; width: 100%; }
.checkout input:focus, .checkout textarea:focus { outline: 2px solid var(--gold); border-color: transparent; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.grid3 { display: grid; grid-template-columns: 1.4fr 1fr .8fr; gap: 12px; }
.pay { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.qr-box { background: var(--cream); border-radius: var(--radius); padding: 18px; text-align: center; }
.qr { background: #fff; border-radius: 10px; padding: 10px; display: inline-block; min-height: 120px; }
.qr img, .qr svg { width: 200px; height: 200px; }
.qr-warn { width: 200px; padding: 30px 8px; color: #b4483c; font-size: .88rem; }
.qr-amount { margin-top: 8px; }
.qr-amount b { font-family: "Kanit", sans-serif; font-size: 1.4rem; color: var(--green); font-weight: 500; }
.upload { height: 100%; min-height: 200px; border: 2px dashed var(--border); border-radius: var(--radius); display: grid !important; place-items: center; text-align: center; cursor: pointer; position: relative; overflow: hidden; margin: 0 !important; padding: 12px; }
.upload:hover { border-color: var(--gold); }
.upload input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.upload img { max-height: 260px; border-radius: 8px; display: none; }
.upload.has img { display: block; }
.summary { background: var(--cream); border-radius: var(--radius); padding: 14px 18px; margin: 20px 0 16px; font-size: .92rem; }
.done { text-align: center; padding: 30px 10px; }
.done-icon { width: 72px; height: 72px; border-radius: 50%; background: var(--green); color: var(--gold); font-size: 2.2rem; display: grid; place-items: center; margin: 0 auto 16px; }
.done h3 { color: var(--green); font-size: 1.5rem; }
.done .btn { margin-top: 20px; }

/* ===== แชทบอท ===== */
.chat-fab { position: fixed; right: 20px; bottom: 20px; z-index: 45; width: 60px; height: 60px; border-radius: 50%; border: 0; background: var(--gold); font-size: 1.7rem; box-shadow: var(--shadow); transition: .2s; }
.chat-fab:hover { transform: scale(1.07); }
.chat { position: fixed; right: 20px; bottom: 92px; z-index: 46; width: min(370px, calc(100% - 32px)); height: min(560px, calc(100vh - 120px)); background: #fff; border-radius: 18px; box-shadow: 0 20px 60px rgba(0,0,0,.25); display: none; flex-direction: column; overflow: hidden; }
.chat.open { display: flex; }
.chat-head { background: var(--green); color: #fff; display: flex; align-items: center; gap: 10px; padding: 12px 14px; }
.chat-head img { width: 38px; height: 38px; }
.chat-head div { flex: 1; display: grid; line-height: 1.3; }
.chat-head small { color: #a9c1b8; }
.chat-body { flex: 1; overflow-y: auto; padding: 14px; background: var(--cream); display: flex; flex-direction: column; gap: 8px; }
.msg { max-width: 85%; padding: 9px 13px; border-radius: 14px; font-size: .93rem; line-height: 1.55; white-space: pre-line; }
.msg.bot { background: #fff; align-self: flex-start; border-bottom-left-radius: 4px; }
.msg.user { background: var(--green); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.msg.price-links a { display: block; margin-top: 6px; color: var(--green); font-weight: 700; text-decoration: underline; word-break: break-word; }
.msg .mini { display: flex; gap: 8px; align-items: center; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--border); }
.msg .mini img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; }
.msg .mini button { margin-left: auto; background: var(--gold); border: 0; border-radius: 999px; padding: 4px 10px; font-size: .8rem; color: var(--green); font-weight: 700; }
.typing { color: var(--muted); font-size: .85rem; }
.chat-quick { display: flex; gap: 6px; overflow-x: auto; padding: 8px 10px; background: var(--cream); border-top: 1px solid var(--border); }
.chat-quick button { flex: none; background: #fff; border: 1px solid var(--gold); color: var(--green); border-radius: 999px; padding: 4px 12px; font-size: .82rem; }
.chat-input { display: flex; border-top: 1px solid var(--border); }
.chat-input input { flex: 1; border: 0; padding: 13px 14px; font: inherit; outline: none; }
.chat-input button { border: 0; background: none; color: var(--green); font-size: 1.2rem; padding: 0 16px; }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 120px); background: var(--green); color: #fff; padding: 10px 20px; border-radius: 999px; z-index: 80; transition: .3s; font-size: .92rem; }
.toast.show { transform: translate(-50%, 0); }


/* แบนเนอร์โปรไฟล์ สไลด์อัตโนมัติ */
.banner { background: var(--green); padding: 20px 0 0; }
.banner-slider { position: relative; width: calc(100% - 32px); max-width: calc(var(--max) - 32px); aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; padding: 0; box-shadow: 0 18px 40px rgba(0,0,0,.25); background: #1a3f37; }
.bslide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.03); transition: opacity .9s, transform 6s ease-out; }
.bslide.active { opacity: 1; transform: scale(1); }
.bnav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(0,0,0,.35); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; opacity: 0; transition: opacity .3s, background .3s; }
.banner-slider:hover .bnav, .bnav:focus-visible { opacity: 1; }
.bnav:hover { background: rgba(0,0,0,.55); }
.bnav.prev { left: 14px; } .bnav.next { right: 14px; }
.bdots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 7px; }
.bdots button { width: 9px; height: 9px; border-radius: 999px; border: 0; padding: 0; background: rgba(255,255,255,.55); box-shadow: 0 1px 3px rgba(0,0,0,.3); cursor: pointer; transition: .3s; }
.bdots button.active { width: 26px; background: var(--gold); }

/* ไลน์ผลิต 3D */
.f3d { background: linear-gradient(180deg, var(--green) 0%, #163a32 100%); color: #fff; }
.f3d-head { text-align: center; max-width: 720px; margin: 0 auto 26px; }
.f3d-head h2 { color: #fff; }
.f3d-lead { color: #cfe0d8; }
.f3d-stage { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #e9eeea; box-shadow: 0 20px 50px rgba(0,0,0,.35); user-select: none; -webkit-user-select: none; }
.f3d-canvas, .f3d-canvas canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; }
.f3d-pins { position: absolute; inset: 0; pointer-events: none; }
.f3d-pin { position: absolute; left: 0; top: 0; pointer-events: auto; display: flex; align-items: center; gap: 6px; padding: 3px 10px 3px 3px; border: 0; border-radius: 999px; background: rgba(22,58,50,.88); color: #fff; font: 500 .82rem/1.2 "Kanit", sans-serif; white-space: nowrap; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,.25); transition: background .2s, opacity .2s; will-change: transform; opacity: 0; }
.f3d-pin b { width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: var(--green); display: grid; place-items: center; font-size: .8rem; }
.f3d-pin:hover, .f3d-pin.active { background: var(--gold); color: var(--green); }
.f3d-pin.active b { background: #fff; }
.f3d-tools { position: absolute; top: 12px; right: 12px; display: flex; gap: 8px; }
.f3d-btn { border: 0; border-radius: 999px; padding: 7px 14px; background: rgba(22,58,50,.88); color: #fff; font: 500 .85rem "Kanit", sans-serif; cursor: pointer; }
.f3d-btn:hover, .f3d-btn.on { background: var(--gold); color: var(--green); }
.f3d-ic { font-style: normal; }
.f3d-btn [hidden] { display: none; }
.f3d-card { position: absolute; left: 14px; bottom: 14px; width: min(340px, calc(100% - 28px)); background: rgba(255,255,255,.96); color: var(--ink, #1f2a26); border-radius: 14px; padding: 14px 16px 14px 16px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.f3d-card[hidden] { display: none; }
.f3d-card-n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: var(--green); font-size: .85rem; margin-bottom: 6px; }
.f3d-card h4 { margin: 0 0 4px; color: var(--green); font-size: 1.05rem; }
.f3d-card p { margin: 0; font-size: .92rem; color: #4b5a54; }
.f3d-x { position: absolute; top: 6px; right: 8px; border: 0; background: none; font-size: 1.4rem; line-height: 1; color: #8a9790; cursor: pointer; }
.f3d-hint { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); background: rgba(0,0,0,.45); color: #fff; font-size: .8rem; padding: 5px 12px; border-radius: 999px; pointer-events: none; transition: opacity .6s; white-space: nowrap; }
.f3d-hint .touch { display: none; }
@media (pointer: coarse) { .f3d-hint .touch { display: inline; } .f3d-hint .mouse { display: none; } }
.f3d-hint.gone { opacity: 0; }
.f3d-loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--green); font-family: "Kanit", sans-serif; }
.f3d.ready .f3d-loading { display: none; }
.f3d-fallback-img { display: none; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.f3d.f3d-fallback .f3d-fallback-img { display: block; }
.f3d.f3d-fallback .f3d-pins, .f3d.f3d-fallback .f3d-tools, .f3d.f3d-fallback .f3d-hint, .f3d.f3d-fallback .f3d-loading { display: none; }
.f3d-steps { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; counter-reset: none; }
.f3d-steps button { width: 100%; height: 100%; text-align: left; border: 1px solid rgba(201,162,75,.35); background: rgba(255,255,255,.06); color: #fff; border-radius: 14px; padding: 14px; cursor: pointer; display: flex; flex-direction: column; gap: 6px; font: inherit; transition: .2s; }
.f3d-steps button:hover, .f3d-steps button.active { background: rgba(201,162,75,.18); border-color: var(--gold); }
.f3d-steps b { width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: var(--green); display: grid; place-items: center; font-size: .85rem; }
.f3d-steps strong { font-family: "Kanit", sans-serif; font-weight: 500; color: var(--gold); }
.f3d-steps span { font-size: .85rem; color: #cfe0d8; line-height: 1.5; }
.f3d-note { margin-top: 14px; font-size: .8rem; color: #9fb8ad; text-align: center; }
/* ===== มือถือ / แท็บเล็ต ===== */
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--green); flex-direction: column; gap: 0; padding-bottom: 8px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; text-align: center; }
  .hero-inner, .about, .group, .split, .contact { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hero h1 { overflow-wrap: anywhere; }
  .hero-slider { max-width: 560px; width: 100%; margin: 0 auto; }
  .about-img { aspect-ratio: 16/10; }
  .features { grid-template-columns: 1fr 1fr; }
  .plant2 { grid-template-columns: 1fr; padding: 24px; }
  .tech-imgs img { height: 260px; }
  .f3d-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .hero { padding: 48px 0 56px; }
  .banner { padding-top: 12px; }
  .f3d-stage { aspect-ratio: 4 / 5; border-radius: 14px; }
  .f3d-pin { padding: 3px; font-size: .75rem; }
  .f3d-pin span { display: none; }
  .f3d-pin.active { padding-right: 10px; }
  .f3d-pin.active span { display: inline; }
  .f3d-tools { top: auto; bottom: 10px; right: 10px; }
  .f3d-btn { padding: 6px 11px; font-size: .78rem; }
  .f3d-card { bottom: 56px; left: 10px; width: calc(100% - 20px); }
  .f3d-hint { top: 10px; font-size: .72rem; }
  .f3d-steps { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .banner-slider { width: calc(100% - 24px); border-radius: 12px; }
  .bnav { display: none; }
  .bdots { bottom: 6px; } .bdots button { width: 7px; height: 7px; } .bdots button.active { width: 18px; }
  .cart-label { display: none; }
  .plant2-lines { grid-template-columns: 1fr; }
  .logo span { display: none; }
  .lang-switch button { padding: 4px 7px; }
  .vm, .grid2, .grid3, .pay { grid-template-columns: 1fr; }
  .chairman { flex-direction: column; text-align: center; }
  .chairman blockquote { text-align: left; }
  .group-stats strong { font-size: 1.3rem; }
  .products { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product-body { padding: 12px; }
  .product p { display: none; }
  .product-foot { flex-direction: column; align-items: stretch; gap: 8px; }
  .modal-box { padding: 22px 16px; }
  .chat { right: 16px; bottom: 86px; }
  .chat-fab { right: 16px; bottom: 16px; }
}

/* ===== หน้าผลไม้แช่แข็ง (frozen.html) ===== */
.nav-links a.active { color: var(--gold); }
.fz-back { display: none; padding: 7px 16px; }
.fz-hero { background: radial-gradient(circle at 80% 30%, #3f7f8f, #1d4a40 65%); color: #fff; padding: 64px 0 72px; overflow: hidden; position: relative; }
.fz-hero::after { content: "❄ ❄ ❄"; position: absolute; right: 4%; top: 18px; font-size: 1.4rem; letter-spacing: 1.2em; color: rgba(255,255,255,.18); }
.fz-hero-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.fz-hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.1rem); margin-bottom: 16px; line-height: 1.25; }
.fz-lead { color: #d7e3dc; max-width: 34em; }
.fz-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.fz-actions .btn-ghost { color: #fff; }
.fz-hero-fruits { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fz-hero-fruits img { width: 100%; background: radial-gradient(circle, #eef8fc 0 55%, #d4ecf5 100%); border-radius: 50%; padding: 14px; box-shadow: 0 0 0 4px rgba(255,255,255,.12), inset 0 0 24px rgba(120,190,220,.5); }
.fz-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 28px; }
.fz-card { background: #fff; border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; box-shadow: 0 2px 8px rgba(0,0,0,.04); }
.fz-img { background: linear-gradient(160deg, #eef8fc, #cfe8f2); border-radius: 14px; aspect-ratio: 1; display: grid; place-items: center; margin-bottom: 14px; position: relative; }
.fz-img::before { content: "❄"; position: absolute; top: 10px; right: 14px; color: #8cc4dc; font-size: 1.2rem; }
.fz-img img { width: 78%; }
.fz-card h3 { color: var(--green); margin: 0; font-size: 1.1rem; }
.fz-en { color: var(--gold-2); font-size: .85rem; margin-bottom: 6px; }
.fz-card p:not(.fz-en) { font-size: .9rem; color: var(--muted); flex: 1; margin-bottom: 14px; }
.fz-note { text-align: center; font-size: .82rem; color: var(--muted); margin-top: 18px; }
.fz-for { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 22px; padding: 0; }
.fz-for li { background: #fff; border-radius: 999px; padding: 10px 20px; box-shadow: 0 2px 8px rgba(0,0,0,.05); }
.fz-cta { text-align: center; }
.fz-cta .fz-actions { justify-content: center; }
@media (max-width: 900px) {
  .fz-hero-inner { grid-template-columns: minmax(0, 1fr); }
  .fz-hero-fruits { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .fz-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .fz-card { padding: 12px; }
  .fz-card .btn { padding: 9px 8px; font-size: .9rem; white-space: nowrap; }
}
@media (max-width: 760px) {
  .fz-back { display: inline-block; }
  body:has(.fz-hero) .nav-links { display: none; }
}

.shop-intro { max-width: 46em; margin: -6px auto 22px; color: var(--muted); font-size: .95rem; }
