:root {
  --ink: #16261e;
  --ink-soft: #43534a;
  --forest: #173226;
  --forest-2: #234838;
  --sage: #8ca190;
  --sage-pale: #dfe8df;
  --cream: #f7f4ed;
  --paper: #fffdf8;
  --clay: #c96e4d;
  --clay-dark: #9e5037;
  --gold: #d5ae66;
  --line: rgba(22, 38, 30, 0.13);
  --shadow: 0 24px 70px rgba(19, 45, 33, 0.12);
  --radius: 22px;
  --max: 1880px;
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--cream); color: var(--ink); }
html[lang="th"] body { font-family: "Noto Sans Thai", Tahoma, sans-serif; }
html[lang="th"] h1, html[lang="th"] h2, html[lang="th"] h3, html[lang="th"] h4,
html[lang="th"] .brand-text strong { font-family: "Noto Sans Thai", Tahoma, sans-serif; }
html[lang="th"] .hero h1 { line-height: 1.08; letter-spacing: -.035em; }
body.modal-open { overflow: hidden; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
.shell { width: min(calc(100% - clamp(40px, 6vw, 120px)), var(--max)); margin: 0 auto; }
.eyebrow { margin: 0 0 12px; color: var(--clay-dark); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.muted { color: var(--ink-soft); }
.section { padding: 100px 0; }
.section-tight { padding: 64px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 38px; }
.section-head h2, .page-title { margin: 0; font-family: "Manrope", sans-serif; font-size: clamp(34px, 4vw, 58px); line-height: 1.02; letter-spacing: -.045em; }
.section-head p { max-width: 520px; margin: 0; color: var(--ink-soft); line-height: 1.7; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 21px; border: 1px solid transparent; border-radius: 999px; font-weight: 750; cursor: pointer; transition: .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: white; background: var(--clay); box-shadow: 0 10px 24px rgba(201, 110, 77, .25); }
.btn-primary:hover { background: var(--clay-dark); }
.btn-dark { color: white; background: var(--forest); }
.btn-outline { color: var(--forest); border-color: rgba(22,38,30,.28); background: transparent; }
.btn-light { color: var(--forest); background: var(--paper); }
.btn-small { min-height: 38px; padding: 0 15px; font-size: 13px; }
.icon-arrow { font-size: 18px; line-height: 1; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid rgba(22,38,30,.08); background: rgba(247,244,237,.92); backdrop-filter: blur(18px); }
.header-inner { height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: max-content; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--forest); font: 800 14px/1 "Manrope", sans-serif; letter-spacing: -.05em; }
.brand-text strong { display: block; font: 800 17px/1.1 "Manrope", sans-serif; letter-spacing: -.04em; text-transform: uppercase; }
.brand-text span { display: block; margin-top: 3px; color: var(--ink-soft); font-size: 10px; letter-spacing: .11em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { position: relative; font-size: 14px; font-weight: 650; color: var(--ink-soft); }
.main-nav a:hover, .main-nav a.active { color: var(--ink); }
.main-nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 2px; border-radius: 2px; background: var(--clay); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.language-menu { position: relative; }
.language-toggle { min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.55); cursor: pointer; font-weight: 700; }
.language-popover { position: absolute; top: calc(100% + 10px); right: 0; min-width: 190px; padding: 8px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); box-shadow: var(--shadow); }
.language-popover[hidden] { display: none; }
.language-popover button { width: 100%; padding: 11px 12px; display: flex; justify-content: space-between; border: 0; border-radius: 10px; background: transparent; color: var(--ink); cursor: pointer; text-align: left; }
.language-popover button:hover, .language-popover button.active { background: var(--sage-pale); }
.mobile-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; font-size: 20px; line-height: 1; }
.mobile-nav-inquiry { display: none; }

/* Hero */
.hero { overflow: hidden; padding: 68px 0 70px; }
.hero-grid { min-height: 650px; display: grid; grid-template-columns: 1.04fr .96fr; border-radius: 34px; overflow: hidden; background: var(--forest); box-shadow: var(--shadow); }
.hero-copy { padding: clamp(48px, 6.5vw, 90px); display: flex; flex-direction: column; justify-content: center; color: white; }
.hero-copy .eyebrow { color: #e0b777; }
.hero h1 { max-width: 700px; margin: 0; font: 800 clamp(48px, 6.2vw, 86px)/.95 "Manrope", sans-serif; letter-spacing: -.065em; }
.hero h1 em { color: #d9e5db; font-style: normal; }
.hero-lead { max-width: 600px; margin: 28px 0 34px; color: rgba(255,255,255,.72); font-size: 18px; line-height: 1.65; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-proof { display: flex; gap: 24px; margin-top: 48px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.14); }
.hero-proof div { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.75); font-size: 13px; }
.proof-dot { width: 7px; height: 7px; border-radius: 50%; background: #e0b777; }
.trim-board { position: relative; min-height: 650px; overflow: hidden; background: #dfe5dc; }
.trim-board::before { content: ""; position: absolute; inset: 0; opacity: .55; background-image: radial-gradient(rgba(23,50,38,.15) .8px, transparent .8px); background-size: 16px 16px; }
.board-label { position: absolute; z-index: 3; top: 52px; right: 44px; padding: 12px 16px; border-radius: 9px; background: var(--paper); box-shadow: 0 10px 30px rgba(23,50,38,.12); transform: rotate(4deg); }
.board-label strong { display: block; font: 800 16px "Manrope",sans-serif; }
.board-label span { color: var(--ink-soft); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.tape { position: absolute; border-radius: 999px; box-shadow: 0 10px 28px rgba(23,50,38,.18); }
.tape-a { width: 420px; height: 62px; top: 190px; right: -80px; transform: rotate(-22deg); background: repeating-linear-gradient(90deg,#b96044 0 24px,#c96e4d 24px 48px); }
.tape-a::after { content: "LVZEY • MAKE • CREATE •"; position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.75); font-size: 12px; font-weight: 800; letter-spacing: .18em; }
.tape-b { width: 380px; height: 35px; left: -70px; bottom: 125px; transform: rotate(29deg); background: repeating-linear-gradient(135deg,#173226 0 12px,#284d3d 12px 24px); }
.tape-c { width: 290px; height: 23px; left: 60px; top: 145px; transform: rotate(64deg); background: #d5ae66; }
.spool { position: absolute; width: 178px; height: 178px; left: 50%; top: 49%; border: 25px solid var(--paper); border-radius: 50%; background: repeating-radial-gradient(circle,#8ca190 0 4px,#78907d 5px 9px); box-shadow: 0 24px 50px rgba(23,50,38,.2); transform: translate(-50%,-50%) rotate(-8deg); }
.spool::after { content: ""; position: absolute; inset: 34px; border-radius: 50%; background: var(--forest); box-shadow: inset 0 0 0 9px #f3eee4; }
.button-art { position: absolute; border-radius: 50%; background: var(--paper); box-shadow: 0 15px 35px rgba(23,50,38,.16), inset 0 0 0 9px #d7ddd4; }
.button-art::before, .button-art::after { content: ""; position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--forest); }
.button-art::before { left: 31%; top: 38%; box-shadow: 34px 0 var(--forest); }
.button-art::after { left: 31%; top: 58%; box-shadow: 34px 0 var(--forest); }
.button-one { width: 95px; height: 95px; bottom: 52px; right: 68px; transform: rotate(10deg); }
.button-two { width: 68px; height: 68px; top: 98px; left: 58px; background: #e5b77f; box-shadow: 0 15px 35px rgba(23,50,38,.16), inset 0 0 0 7px #d19b62; }
.pin-card { position: absolute; left: 44px; bottom: 34px; z-index: 2; width: 178px; padding: 18px; border-radius: 14px; background: rgba(255,253,248,.94); transform: rotate(-5deg); box-shadow: 0 18px 38px rgba(23,50,38,.16); }
.pin-card .swatches { display: flex; gap: 7px; margin-top: 11px; }
.pin-card i { width: 23px; height: 23px; border-radius: 50%; background: var(--clay); }
.pin-card i:nth-child(2) { background: var(--forest); }
.pin-card i:nth-child(3) { background: var(--gold); }
.pin-card i:nth-child(4) { background: var(--sage); }

/* Audience and categories */
.audience-strip { margin-top: -24px; position: relative; z-index: 2; }
.audience-grid { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: var(--paper); box-shadow: 0 14px 35px rgba(23,50,38,.07); }
.audience-item { padding: 26px 28px; border-right: 1px solid var(--line); }
.audience-item:last-child { border-right: 0; }
.audience-item span { display: block; margin-bottom: 8px; color: var(--clay); font: 800 12px "Manrope", sans-serif; }
.audience-item strong { font: 750 15px/1.3 "Manrope", sans-serif; }
.category-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.category-card { position: relative; min-height: 248px; padding: 26px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); transition: .25s ease; cursor: pointer; }
.category-card:hover { transform: translateY(-5px); border-color: rgba(201,110,77,.45); box-shadow: 0 22px 45px rgba(23,50,38,.08); }
.category-number { color: var(--clay); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.category-card h3 { position: relative; z-index: 2; max-width: 150px; margin: 16px 0 0; font: 750 21px/1.17 "Manrope",sans-serif; letter-spacing: -.025em; }
.category-card p { position: relative; z-index: 2; max-width: 180px; color: var(--ink-soft); font-size: 13px; line-height: 1.5; }
.category-shape { position: absolute; right: -22px; bottom: -22px; width: 138px; height: 138px; border-radius: 50%; background: var(--sage-pale); transition: .25s ease; }
.category-card:hover .category-shape { transform: scale(1.08) rotate(8deg); }
.shape-buttons { box-shadow: inset 0 0 0 27px #a2b2a2; }
.shape-buttons::before { content: ""; position: absolute; inset: 45px; border-radius: 50%; background: var(--forest); box-shadow: -29px 0 0 -10px var(--forest),29px 0 0 -10px var(--forest),0 -29px 0 -10px var(--forest),0 29px 0 -10px var(--forest); }
.shape-zip { width: 165px; height: 70px; right: -18px; bottom: 25px; border-radius: 8px; transform: rotate(-36deg); background: repeating-linear-gradient(90deg,#b75f43 0 7px,#efb39d 7px 12px); }
.shape-ribbon { width: 180px; height: 54px; right: -35px; bottom: 28px; border-radius: 40px; transform: rotate(25deg); background: repeating-linear-gradient(90deg,#d6ae66 0 14px,#e4c58e 14px 28px); }
.shape-label { width: 150px; height: 94px; right: -10px; bottom: -5px; border-radius: 10px; transform: rotate(-8deg); background: #b7c5b8; box-shadow: inset 0 0 0 10px #edf1ea; }
.shape-lace { border-radius: 50% 50% 8px 8px; background: repeating-radial-gradient(circle at 10px 10px,#d29b84 0 5px,transparent 6px 13px),#f1d2c5; }
.shape-elastic { width: 180px; height: 50px; border-radius: 8px; transform: rotate(-20deg); background: repeating-linear-gradient(0deg,#77907d 0 4px,#9bad9c 4px 8px); }
.shape-hardware { background: conic-gradient(from 45deg,#b88c43,#f3d49b,#997537,#e0bb70,#b88c43); box-shadow: inset 0 0 0 35px var(--paper); }
.shape-thread { background: repeating-radial-gradient(ellipse at center,#c96e4d 0 3px,#b95e42 4px 7px); border-radius: 45% 45% 35% 35%; }

/* Products */
.catalog-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip { padding: 10px 15px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink-soft); cursor: pointer; font-size: 13px; font-weight: 700; }
.filter-chip.active, .filter-chip:hover { color: white; border-color: var(--forest); background: var(--forest); }
.product-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.product-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); transition: .25s ease; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(23,50,38,.09); }
.product-image { aspect-ratio: 1/1; display: grid; place-items: center; overflow: hidden; background: #f0eee7; }
.product-image img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s ease; }
.product-card:hover .product-image img { transform: scale(1.035); }
.product-placeholder { width: 120px; height: 120px; display: grid; place-items: center; border: 1px dashed rgba(23,50,38,.28); border-radius: 50%; color: var(--forest); font: 800 12px "Manrope",sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.product-content { display: flex; flex: 1; flex-direction: column; padding: 22px; }
.product-meta { display: flex; justify-content: space-between; gap: 12px; color: var(--ink-soft); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.product-content h3 { display: -webkit-box; min-height: 2.5em; margin: 12px 0 18px; overflow: hidden; font: 750 20px/1.25 "Manrope",sans-serif; letter-spacing: -.025em; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.product-actions { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--clay-dark); font-weight: 750; font-size: 13px; cursor: pointer; border: 0; background: none; padding: 0; }
.empty-state { grid-column: 1/-1; padding: 70px 30px; text-align: center; border: 1px dashed rgba(23,50,38,.2); border-radius: var(--radius); background: rgba(255,255,255,.35); }
.empty-state h3 { margin: 0 0 10px; font: 750 22px "Manrope",sans-serif; }

/* Value, process, CTA */
.value-section { color: white; background: var(--forest); }
.value-section .section-head p { color: rgba(255,255,255,.65); }
.value-grid { display: grid; grid-template-columns: 1.1fr .9fr .9fr; gap: 1px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 26px; background: rgba(255,255,255,.12); }
.value-card { min-height: 300px; padding: 38px; background: var(--forest); }
.value-card:first-child { background: var(--forest-2); }
.value-card .num { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 66px; border-radius: 50%; color: var(--forest); background: var(--gold); font-weight: 800; }
.value-card h3 { margin: 0 0 12px; font: 750 23px "Manrope",sans-serif; }
.value-card p { margin: 0; color: rgba(255,255,255,.64); line-height: 1.65; }
.process-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.process-step { position: relative; padding: 30px 30px 34px; border-top: 2px solid var(--ink); }
.process-step::after { content: ""; position: absolute; top: -6px; right: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--clay); }
.process-step span { color: var(--clay); font-size: 12px; font-weight: 800; }
.process-step h3 { margin: 28px 0 10px; font: 750 22px "Manrope",sans-serif; }
.process-step p { margin: 0; color: var(--ink-soft); line-height: 1.65; }
.cta-panel { position: relative; padding: clamp(42px,7vw,82px); overflow: hidden; border-radius: 30px; color: white; background: var(--clay); }
.cta-panel::after { content: ""; position: absolute; width: 420px; height: 420px; right: -130px; top: -200px; border: 70px solid rgba(255,255,255,.1); border-radius: 50%; }
.cta-panel h2 { position: relative; z-index: 1; max-width: 760px; margin: 0 0 18px; font: 800 clamp(36px,5vw,66px)/1 "Manrope",sans-serif; letter-spacing: -.05em; }
.cta-panel p { position: relative; z-index: 1; max-width: 650px; margin: 0 0 30px; color: rgba(255,255,255,.8); font-size: 17px; line-height: 1.6; }
.cta-panel .btn { position: relative; z-index: 1; }

/* Page and product detail */
.page-hero { padding: 76px 0 52px; }
.page-hero p { max-width: 700px; margin: 22px 0 0; color: var(--ink-soft); font-size: 17px; line-height: 1.7; }
.products-hero { padding-bottom: 24px; }
.catalog-section { padding-top: 20px; }
.breadcrumbs { margin-bottom: 22px; color: var(--ink-soft); font-size: 13px; }
.breadcrumbs a:hover { color: var(--clay-dark); }
.product-detail { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; padding: 40px 0 100px; }
.gallery-main { aspect-ratio: 1/1; overflow: hidden; display: grid; place-items: center; border-radius: 28px; background: #e0e8df; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(5,1fr); gap: 10px; margin-top: 10px; }
.gallery-thumb { aspect-ratio: 1; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 12px; background: #e0e8df; cursor: pointer; }
.gallery-thumb.active { border-color: var(--clay); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; }
.detail-copy { padding-top: 18px; }
.detail-copy h1 { margin: 10px 0 18px; font: 800 clamp(38px,5vw,62px)/1.02 "Manrope",sans-serif; letter-spacing: -.05em; }
.detail-copy .description { color: var(--ink-soft); font-size: 16px; line-height: 1.75; }
.detail-specs { margin: 30px 0; border-top: 1px solid var(--line); }
.detail-spec { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.detail-spec span { color: var(--ink-soft); font-size: 13px; }
.detail-spec strong { font-size: 14px; }
.detail-note { padding: 18px; margin: 22px 0; border-radius: 16px; background: var(--sage-pale); color: var(--forest); font-size: 14px; line-height: 1.55; }
.legal { max-width: 820px; padding-bottom: 100px; }
.legal h2 { margin: 42px 0 12px; font: 750 24px "Manrope",sans-serif; }
.legal p, .legal li { color: var(--ink-soft); line-height: 1.75; }

/* Forms and modal */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1/-1; }
.field label { color: var(--ink-soft); font-size: 12px; font-weight: 750; letter-spacing: .04em; }
.field input, .field textarea, .field select { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid rgba(22,38,30,.18); border-radius: 12px; outline: none; color: var(--ink); background: white; transition: .18s; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--clay); box-shadow: 0 0 0 3px rgba(201,110,77,.12); }
.honeypot { position: absolute !important; left: -9999px !important; }
.form-status { min-height: 24px; margin: 12px 0 0; color: var(--ink-soft); font-size: 13px; }
.form-status.error { color: #a83b35; }
.form-status.success { color: #247249; }
.modal-backdrop { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(8,20,14,.62); backdrop-filter: blur(8px); }
.modal-backdrop[hidden] { display: none; }
.modal-card { position: relative; width: min(100%, 590px); max-height: calc(100vh - 40px); overflow: auto; padding: 38px; border-radius: 24px; background: var(--paper); box-shadow: 0 30px 100px rgba(0,0,0,.25); }
.modal-card h2 { margin: 0 36px 10px 0; font: 800 32px/1.1 "Manrope",sans-serif; letter-spacing: -.04em; }
.modal-card > p { margin: 0 0 25px; color: var(--ink-soft); line-height: 1.6; }
.modal-close { position: absolute; top: 18px; right: 18px; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; }
.language-welcome { text-align: center; }
.language-welcome .brand-mark { margin: 0 auto 20px; width: 54px; height: 54px; }
.language-welcome h2 { margin-right: 0; }
.language-options { display: grid; gap: 10px; margin-top: 26px; }
.language-option { display: flex; align-items: center; justify-content: space-between; padding: 17px 18px; border: 1px solid var(--line); border-radius: 14px; background: white; cursor: pointer; text-align: left; }
.language-option:hover { border-color: var(--clay); background: #fff8f4; }
.language-option span:last-child { color: var(--ink-soft); font-size: 13px; }

/* Footer */
.site-footer { padding: 70px 0 30px; color: white; background: #102219; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr .7fr 1fr; gap: 40px; padding-bottom: 52px; }
.footer-brand p { max-width: 360px; color: rgba(255,255,255,.58); line-height: 1.7; }
.footer-col h4 { margin: 0 0 17px; font: 750 13px "Manrope",sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.footer-col a, .footer-col span { display: block; margin: 10px 0; color: rgba(255,255,255,.62); font-size: 14px; }
.footer-col a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.42); font-size: 12px; }

/* Admin */
.admin-page { min-height: 100vh; color: #1d2923; background: #f2f4f0; }
.admin-login { min-height: 100vh; display: grid; place-items: center; padding: 20px; background: radial-gradient(circle at 80% 10%,#cad9cb,transparent 35%),#eaf0e9; }
.login-card { width: min(100%, 430px); padding: 42px; border-radius: 24px; background: white; box-shadow: var(--shadow); }
.login-card .brand { margin-bottom: 35px; }
.login-card h1 { margin: 0 0 9px; font: 800 32px "Manrope",sans-serif; letter-spacing: -.04em; }
.login-card p { margin: 0 0 26px; color: var(--ink-soft); }
.admin-layout { min-height: 100vh; display: grid; grid-template-columns: 240px 1fr; }
.admin-sidebar { position: sticky; top: 0; height: 100vh; padding: 26px 20px; color: white; background: var(--forest); }
.admin-sidebar .brand { margin: 0 8px 38px; }
.admin-sidebar .brand-mark { color: var(--forest); background: white; }
.admin-sidebar .brand-text span { color: rgba(255,255,255,.5); }
.admin-nav { display: grid; gap: 6px; }
.admin-nav button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 13px 14px; border: 0; border-radius: 12px; color: rgba(255,255,255,.7); background: transparent; cursor: pointer; text-align: left; font-weight: 700; }
.admin-nav button.active, .admin-nav button:hover { color: white; background: rgba(255,255,255,.1); }
.nav-icon { width: 22px; text-align: center; }
.admin-sidebar-bottom { position: absolute; left: 20px; right: 20px; bottom: 24px; display: grid; gap: 8px; }
.admin-sidebar-bottom a, .admin-sidebar-bottom button { padding: 11px 14px; border: 1px solid rgba(255,255,255,.14); border-radius: 10px; color: rgba(255,255,255,.72); background: transparent; cursor: pointer; font-size: 13px; text-align: left; }
.admin-main { min-width: 0; padding: 40px; }
.admin-topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.admin-topbar h1 { margin: 0; font: 800 33px "Manrope",sans-serif; letter-spacing: -.04em; }
.admin-topbar p { margin: 5px 0 0; color: #657269; font-size: 14px; }
.metric-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-bottom: 26px; }
.metric-card { padding: 23px; border: 1px solid #dde3dd; border-radius: 17px; background: white; }
.metric-card span { display: block; margin-bottom: 14px; color: #6b786f; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.metric-card strong { font: 800 34px "Manrope",sans-serif; }
.admin-panel { overflow: hidden; border: 1px solid #dde3dd; border-radius: 18px; background: white; }
.admin-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 19px 22px; border-bottom: 1px solid #e6eae6; }
.admin-panel-head h2 { margin: 0; font: 750 18px "Manrope",sans-serif; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { padding: 13px 16px; color: #78827c; background: #fafbfa; font-size: 11px; text-align: left; text-transform: uppercase; letter-spacing: .07em; }
.admin-table td { padding: 15px 16px; border-top: 1px solid #edf0ed; font-size: 13px; vertical-align: middle; }
.admin-table tbody tr:hover { background: #fbfcfb; }
.table-product { display: flex; align-items: center; gap: 12px; min-width: 230px; }
.table-thumb { width: 46px; height: 46px; flex: 0 0 auto; overflow: hidden; display: grid; place-items: center; border-radius: 10px; color: #758278; background: #e6ebe6; font-size: 10px; }
.table-thumb img { height: 100%; object-fit: cover; }
.status-badge { display: inline-flex; padding: 6px 9px; border-radius: 999px; font-size: 11px; font-weight: 800; }
.status-published, .status-contacted { color: #216043; background: #def2e6; }
.status-draft { color: #786228; background: #f7edce; }
.status-new { color: #844730; background: #fae4dc; }
.status-closed { color: #5d6861; background: #e9ece9; }
.table-actions { display: flex; gap: 6px; }
.icon-btn { min-width: 35px; min-height: 35px; display: grid; place-items: center; padding: 0 10px; border: 1px solid #dfe4df; border-radius: 9px; color: #3f4e45; background: white; cursor: pointer; }
.icon-btn:hover { border-color: #91a297; }
.danger { color: #ad423b !important; }
.admin-empty { padding: 55px 20px; color: #6b786f; text-align: center; }
.admin-modal .modal-card { width: min(100%, 900px); }
.admin-form-tabs { display: flex; gap: 8px; margin: 22px 0; border-bottom: 1px solid var(--line); }
.admin-form-tabs button { padding: 10px 14px; border: 0; border-bottom: 2px solid transparent; background: transparent; cursor: pointer; }
.admin-form-tabs button.active { border-color: var(--clay); color: var(--clay-dark); font-weight: 800; }
.admin-form-section[hidden] { display: none; }
.image-uploader { padding: 24px; border: 1px dashed #aab6ad; border-radius: 14px; background: #f8faf8; text-align: center; }
.image-uploader input { max-width: 100%; }
.image-list { display: grid; grid-template-columns: repeat(5,1fr); gap: 10px; margin-top: 14px; }
.image-item { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 10px; background: #e8ece8; }
.image-item img { width: 100%; height: 100%; object-fit: contain; }
.image-item button { position: absolute; top: 5px; right: 5px; width: 25px; height: 25px; padding: 0; border: 0; border-radius: 50%; color: white; background: rgba(15,30,22,.75); cursor: pointer; }
.primary-image-badge { position: absolute; left: 7px; bottom: 7px; padding: 4px 7px; border-radius: 999px; color: white; background: rgba(23,50,38,.85); font-size: 10px; font-weight: 800; }

@media (min-width: 1500px) {
  .product-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
.settings-card { max-width: 840px; padding: 28px; border: 1px solid #dde3dd; border-radius: 18px; background: white; }
.inquiry-contact { font-weight: 750; }
.inquiry-message { max-width: 360px; color: #5c6961; line-height: 1.45; }

/* Guides */
.guide-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.guide-card { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.guide-card h2 { margin: 0 0 14px; font: 750 25px/1.25 "Manrope",sans-serif; }
.guide-card p { min-height: 52px; color: var(--ink-soft); line-height: 1.65; }
.guide-article { max-width: 900px; padding-top: 72px; padding-bottom: 40px; }
.guide-article .page-title { max-width: 800px; }
.guide-intro { margin: 24px 0 54px; color: var(--ink-soft); font-size: 19px; line-height: 1.7; }
.guide-article section { padding: 28px 0; border-top: 1px solid var(--line); }
.guide-article section h2 { margin: 0 0 12px; font: 750 25px "Manrope",sans-serif; }
.guide-article section p { margin: 0; color: var(--ink-soft); line-height: 1.8; }

@media (max-width: 1050px) {
  .main-nav { gap: 17px; }
  .main-nav a { font-size: 13px; }
  .header-actions .btn { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .trim-board { min-height: 470px; }
  .audience-grid { grid-template-columns: 1fr 1fr; }
  .audience-item:nth-child(2) { border-right: 0; }
  .audience-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .category-grid { grid-template-columns: repeat(2,1fr); }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 72px 0; }
  .header-inner { height: 68px; }
  .brand-text span { display: none; }
  .main-nav { position: fixed; top: 68px; left: 0; right: 0; display: none; padding: 18px 20px 24px; border-bottom: 1px solid var(--line); background: var(--paper); box-shadow: 0 20px 35px rgba(22,38,30,.1); }
  .main-nav.open { display: grid; }
  .main-nav a { padding: 10px 0; font-size: 16px; }
  .main-nav a.active::after { display: none; }
  .mobile-nav-inquiry { display: inline-flex; width: 100%; margin-top: 8px; }
  .mobile-toggle { display: block; }
  .language-toggle { padding: 0 11px; font-size: 12px; }
  .hero { padding: 24px 0 48px; }
  .hero-grid { border-radius: 24px; }
  .hero-copy { padding: 42px 26px 45px; }
  .hero h1 { font-size: clamp(44px,14vw,66px); }
  html[lang="th"] .hero h1 { font-size: clamp(42px, 12.8vw, 58px); line-height: 1.12; }
  .hero-lead { margin: 22px 0 28px; font-size: 16px; }
  .hero-proof { flex-direction: column; gap: 10px; margin-top: 35px; }
  .trim-board { min-height: 390px; }
  .spool { width: 145px; height: 145px; }
  .section-head { display: block; }
  .section-head p { margin-top: 18px; }
  .audience-grid { grid-template-columns: 1fr; }
  .audience-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .audience-item:last-child { border-bottom: 0; }
  .category-grid, .process-grid, .guide-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .category-card { min-height: 210px; }
  .value-grid { grid-template-columns: 1fr; }
  .value-card { min-height: auto; }
  .value-card .num { margin-bottom: 40px; }
  .products-hero { padding: 42px 0 18px; }
  .catalog-section { padding-top: 12px; }
  .catalog-bar { align-items: stretch; flex-direction: column; gap: 14px; margin-bottom: 18px; }
  .filter-row { width: calc(100vw - 14px); margin-right: -14px; padding-right: 14px; padding-bottom: 4px; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .filter-row::-webkit-scrollbar { display: none; }
  .filter-chip { flex: 0 0 auto; }
  .catalog-bar > .btn { width: 100%; }
  .product-content { padding: 13px; }
  .product-meta { font-size: 9px; }
  .product-meta span:last-child { display: none; }
  .product-content h3 { min-height: 2.7em; margin: 8px 0 12px; font-size: 14px; line-height: 1.35; }
  .product-actions .text-link:first-child { display: none; }
  .product-actions .text-link:last-child { width: 100%; min-height: 34px; justify-content: center; padding: 7px 8px; border-radius: 999px; background: var(--sage-pale); font-size: 11px; line-height: 1.2; text-align: center; }
  .product-detail { grid-template-columns: 1fr; gap: 26px; padding-bottom: 72px; }
  .detail-copy h1 { font-size: 40px; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .modal-card { padding: 30px 22px; }
  .admin-layout { display: block; }
  .admin-sidebar { position: relative; height: auto; padding: 18px; }
  .admin-sidebar .brand { margin-bottom: 18px; }
  .admin-nav { display: flex; overflow-x: auto; }
  .admin-nav button { width: auto; min-width: max-content; }
  .admin-sidebar-bottom { position: static; display: flex; margin-top: 18px; }
  .admin-main { padding: 24px 14px; }
  .admin-topbar { align-items: flex-start; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .image-list { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 430px) {
  .header-actions { gap: 5px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-text strong { font-size: 15px; }
  .hero-buttons .btn { width: 100%; }
  .metric-grid { grid-template-columns: 1fr; }
  .admin-topbar { display: block; }
  .admin-topbar .btn { margin-top: 16px; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
