:root {
  --primary: #2E5A40;
  --primary-dark: #173423;
  --primary-soft: #E7EFE8;
  --sage: #95A595;
  --accent: #D4A373;
  --accent-dark: #B9844D;
  --bg: #F5F2EA;
  --bg-soft: #EAF0E7;
  --text: #222D24;
  --muted: #647064;
  --card: #FFFFFF;
  --line: rgba(46, 90, 64, .16);
  --shadow: 0 20px 60px rgba(24, 48, 33, .12);
  --shadow-soft: 0 10px 28px rgba(24, 48, 33, .08);
  --radius: 22px;
  --container: min(1160px, calc(100% - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(212, 163, 115, .18), transparent 28%),
    radial-gradient(circle at 92% 12%, rgba(46, 90, 64, .12), transparent 30%),
    linear-gradient(180deg, #F8F5EE 0%, #EAF0E7 52%, #F6EFE5 100%);
  color: var(--text);
  font-family: "Kanit", sans-serif;
  font-weight: 400;
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: break-word;
  overflow-x: hidden;
}

body *,
body *::before,
body *::after {
  font-family: "Kanit", sans-serif;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Kanit", sans-serif;
  color: var(--text);
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0;
}

p {
  margin: 0;
  font-weight: 400;
  line-height: 1.72;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background:
    linear-gradient(90deg, rgba(18, 35, 24, .98), rgba(35, 76, 51, .96) 56%, rgba(26, 48, 34, .98));
  border-bottom: 1px solid rgba(212, 163, 115, .24);
  box-shadow: 0 12px 34px rgba(10, 22, 15, .20);
  backdrop-filter: blur(18px);
}

.nav {
  width: var(--container);
  min-height: 76px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  min-width: 230px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(46, 90, 64, .16);
  background: #FFFFFF;
}

.brand-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text strong,
.brand-text span {
  display: block;
}

.brand-text strong {
  color: #F8F5EE;
  font-family: "Kanit", sans-serif;
  font-size: 1rem;
  font-weight: 600;
}

.brand-text span {
  color: rgba(248, 245, 238, .68);
  font-size: .82rem;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, .88);
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.55;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: #FFD48A;
  background: rgba(212, 163, 115, .13);
}

.nav-links .line-button {
  color: #FFFFFF;
  background: linear-gradient(135deg, #D4A373, #B9844D);
  box-shadow: 0 12px 26px rgba(212, 163, 115, .26);
}

.nav-links .line-button:hover,
.nav-links .line-button.is-active {
  color: #FFFFFF;
  background: linear-gradient(135deg, #B9844D, #9B6F3F);
}

.page-hero {
  padding: 74px 0 38px;
}

.hero-panel {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
}

.hero-panel > * {
  min-width: 0;
}

.hero-copy-block {
  display: grid;
  gap: 16px;
}

.eyebrow {
  color: var(--accent-dark);
  font-size: .92rem;
  font-weight: 600;
}

.page-title {
  max-width: 820px;
  color: var(--primary-dark);
  font-size: clamp(2.15rem, 5vw, 4.2rem);
}

.page-title em {
  display: block;
  color: var(--accent-dark);
  font-style: normal;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
}

.page-copy {
  max-width: 720px;
  color: #4D594F;
  font-size: 1.08rem;
}

.hero-actions,
.line-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn,
button.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  line-height: 1.55;
}

.btn-primary {
  color: #FFFFFF;
  background: var(--primary);
  box-shadow: 0 14px 30px rgba(46, 90, 64, .22);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-outline {
  color: var(--primary);
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(46, 90, 64, .28);
}

.btn-line {
  color: #FFFFFF;
  background: var(--accent);
  box-shadow: 0 14px 30px rgba(212, 163, 115, .24);
}

.btn-line:hover {
  background: var(--accent-dark);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.stat-card,
.surface,
.hero-image-card,
.product-card,
.result-card,
.advisor-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow-soft);
}

.stat-card {
  padding: 14px;
  border-radius: 18px;
}

.stat-card strong,
.stat-card span {
  display: block;
}

.stat-card strong {
  color: var(--primary);
  font-family: "Kanit", sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
}

.stat-card span {
  color: var(--muted);
  font-size: .92rem;
}

.hero-image-card {
  overflow: hidden;
  border-radius: 28px;
}

.hero-image-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.product-page-hero .hero-panel {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
}

.product-brochure-card {
  width: 100%;
  max-width: 100%;
  padding: 10px;
  background:
    radial-gradient(circle at 50% 0%, rgba(212, 163, 115, .12), transparent 34%),
    linear-gradient(145deg, #FFFFFF, #EEF3EC);
}

.product-brochure-card img {
  width: 100%;
  height: clamp(300px, 36vw, 460px);
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 18px;
}

.hero-image-caption {
  display: grid;
  gap: 2px;
  padding: 16px 18px 18px;
}

.hero-image-caption strong {
  color: var(--primary-dark);
  font-family: "Kanit", sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
}

.hero-image-caption span {
  color: var(--muted);
}

.home-page {
  background:
    radial-gradient(circle at 8% 8%, rgba(212, 163, 115, .22), transparent 30%),
    radial-gradient(circle at 92% 18%, rgba(46, 90, 64, .22), transparent 34%),
    linear-gradient(180deg, #101E15 0%, #EAF0E7 62%, #F6EFE5 100%);
}

.home-page .site-header {
  background: rgba(20, 34, 25, .96);
  border-bottom-color: rgba(212, 163, 115, .22);
  box-shadow: 0 12px 34px rgba(10, 22, 15, .22);
}

.home-page .brand-text strong,
.home-page .nav-links a {
  color: #F8F5EE;
}

.home-page .brand-text span {
  color: rgba(248, 245, 238, .68);
}

.home-page .nav-links a:hover,
.home-page .nav-links a.is-active {
  color: #FFD48A;
  background: rgba(212, 163, 115, .12);
}

.home-page .nav-links .line-button {
  color: #FFFFFF;
  background: linear-gradient(135deg, #D4A373, #B9844D);
}

.home-hero {
  position: relative;
  min-height: min(820px, calc(100vh - 76px));
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 86px 0 70px;
  background:
    linear-gradient(90deg, rgba(15, 31, 21, .98) 0%, rgba(20, 44, 29, .90) 42%, rgba(20, 44, 29, .54) 100%),
    url("../../รีวิวร้านค้า/reviewA02.jpg") center / cover no-repeat;
}

.home-hero::before,
.home-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.home-hero::before {
  inset: 0;
  background:
    radial-gradient(circle at 22% 30%, rgba(212, 163, 115, .24), transparent 26%),
    radial-gradient(circle at 78% 20%, rgba(255, 212, 138, .16), transparent 24%),
    linear-gradient(180deg, transparent 68%, rgba(245, 242, 234, .96) 100%);
}

.home-hero::after {
  width: 420px;
  height: 420px;
  right: -170px;
  bottom: -120px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(212, 163, 115, .28), transparent 64%);
}

.home-hero .container {
  position: relative;
  z-index: 1;
}

.home-hero .eyebrow {
  width: fit-content;
  padding: 9px 16px;
  border: 1px solid rgba(255, 212, 138, .36);
  border-radius: 999px;
  color: #FFD48A;
  background: rgba(212, 163, 115, .14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
}

.home-hero .page-title {
  color: #FFFFFF;
  font-size: clamp(2.55rem, 5.6vw, 5rem);
  text-shadow: 0 14px 42px rgba(0, 0, 0, .34);
}

.home-hero .page-title em {
  margin-top: 10px;
  color: #FFD08A;
  font-size: clamp(1.25rem, 2.5vw, 2rem);
}

.home-hero .page-copy {
  max-width: 680px;
  color: rgba(255, 255, 255, .92);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  text-shadow: 0 10px 28px rgba(0, 0, 0, .32);
}

.home-crop-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.home-crop-tags span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  color: #FFFFFF;
  background: rgba(255, 255, 255, .10);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14);
  font-weight: 600;
}

.home-hero .btn-primary {
  color: #FFFFFF;
  background: linear-gradient(135deg, #D4A373, #B9844D);
  box-shadow: 0 18px 34px rgba(212, 163, 115, .26);
}

.home-hero .btn-primary:hover {
  background: linear-gradient(135deg, #B9844D, #9B6F3F);
}

.home-hero .btn-outline {
  color: #FFFFFF;
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
}

.home-hero .hero-stats {
  margin-top: 18px;
}

.home-hero .stat-card {
  border-color: rgba(212, 163, 115, .26);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 22px 46px rgba(0, 0, 0, .20);
}

.home-hero .stat-card strong {
  color: #103522;
}

.home-hero .stat-card span {
  color: #7A877A;
}

.home-logo-card {
  position: relative;
  padding: 26px;
  border: 1px solid rgba(212, 163, 115, .32);
  border-radius: 30px;
  overflow: hidden;
  background:
    radial-gradient(circle at 52% 18%, rgba(255, 212, 138, .28), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, .95), rgba(238, 233, 222, .92));
  box-shadow: 0 32px 70px rgba(0, 0, 0, .30);
}

.home-logo-card::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(212, 163, 115, .20);
  border-radius: 24px;
  pointer-events: none;
}

.home-logo-card::after {
  content: "";
  position: absolute;
  top: -46px;
  right: -30px;
  width: 150px;
  height: 150px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 212, 138, .42), transparent 62%);
  pointer-events: none;
}

.home-logo-card > img {
  position: relative;
  z-index: 1;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 12px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 0%, rgba(212, 163, 115, .12), transparent 36%),
    #FFFFFF;
}

.home-logo-card .hero-image-caption {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  padding: 18px;
  border-radius: 18px;
  text-align: center;
  background: linear-gradient(135deg, #24583A, #173423);
}

.home-logo-card .hero-image-caption strong {
  color: #FFFFFF;
}

.home-logo-card .hero-image-caption span {
  color: rgba(255, 255, 255, .82);
}

.home-page .section {
  position: relative;
}

/* Keep the first information section light so its proof points stay readable after the dark home hero. */
.home-page .home-hero + .section {
  isolation: isolate;
  background:
    radial-gradient(circle at 8% 10%, rgba(212, 163, 115, .18), transparent 30%),
    radial-gradient(circle at 92% 82%, rgba(46, 90, 64, .12), transparent 34%),
    linear-gradient(145deg, #F9F7F0, #ECF2E9 62%, #F7F1E7);
  border-top: 1px solid rgba(212, 163, 115, .18);
  box-shadow: inset 0 16px 28px rgba(24, 48, 33, .05);
}

.home-page .home-hero + .section .section-title {
  color: #173423;
}

.home-page .home-hero + .section .section-copy {
  color: #526157;
}

.home-page .info-card,
.home-page .surface {
  border-color: rgba(46, 90, 64, .14);
  background:
    radial-gradient(circle at 0% 0%, rgba(212, 163, 115, .10), transparent 32%),
    rgba(255, 255, 255, .94);
}

.section {
  padding: 44px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.section-title {
  color: var(--primary-dark);
  font-size: clamp(1.7rem, 4vw, 2.7rem);
}

.section-copy {
  max-width: 760px;
  color: var(--muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.info-card {
  min-height: 180px;
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .9);
  box-shadow: var(--shadow-soft);
}

.info-card span {
  color: var(--accent-dark);
  font-weight: 600;
}

.info-card h3 {
  color: var(--primary-dark);
  font-size: 1.22rem;
}

.preview-grid,
.calculator-grid,
.dealer-grid,
.contact-grid,
.review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.surface {
  padding: 22px;
  border-radius: var(--radius);
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.search-input,
.form-control {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid rgba(46, 90, 64, .16);
  border-radius: 14px;
  background: #FFFFFF;
  color: var(--text);
}

.search-input {
  max-width: 360px;
}

.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-tab {
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid rgba(46, 90, 64, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .86);
  color: var(--primary);
  cursor: pointer;
  font-weight: 600;
  line-height: 1.55;
}

.filter-tab.is-active {
  color: #FFFFFF;
  background: var(--primary);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.product-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 18px;
}

.product-image {
  position: relative;
  min-height: 230px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 0%, rgba(212, 163, 115, .16), transparent 35%),
    linear-gradient(160deg, #F8F6EF, #E9F0E7);
}

.product-image img {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: contain;
  padding: 10px;
}

.product-image:has(.product-image-fallback) img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .18s ease;
}

.product-image:has(.product-image-fallback) img.is-loaded {
  opacity: 1;
}

.product-image-fallback {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 72%;
  min-height: 170px;
  padding: 16px;
  border-radius: 18px;
  color: #FFFFFF;
  background: linear-gradient(160deg, var(--primary), var(--primary-dark));
  text-align: center;
  font-family: "Kanit", sans-serif;
  font-size: 1.55rem;
  font-weight: 600;
}

.product-card h3 {
  color: var(--primary-dark);
  font-size: 1.24rem;
}

.product-card p {
  color: var(--muted);
}

.product-meta {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--primary);
  background: rgba(46, 90, 64, .08);
  font-size: .86rem;
  font-weight: 600;
}

.product-card .btn {
  width: 100%;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-field {
  display: grid;
  gap: 6px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--primary-dark);
  font-weight: 600;
}

.field-helper {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(46, 90, 64, .18);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(46, 90, 64, .08), rgba(212, 163, 115, .13));
  color: #244834;
  font-size: .94rem;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.field-helper:empty {
  display: none;
}

.form-field.is-area-mode .form-control {
  display: none;
}

.result-panel {
  display: grid;
  gap: 14px;
}

.calculator-grid {
  align-items: start;
}

.calculator-form-card {
  min-height: 100%;
  border-color: rgba(46, 90, 64, .22);
  background:
    radial-gradient(circle at 8% 0%, rgba(212, 163, 115, .16), transparent 34%),
    linear-gradient(145deg, #FFFFFF 0%, #F1F6EF 100%);
}

.calculator-form-card label {
  color: #173423;
}

.calculator-form-card .form-control {
  border-color: rgba(46, 90, 64, .24);
  background: #FFFFFF;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
}

.calculator-form-card .form-control:focus {
  outline: 3px solid rgba(212, 163, 115, .24);
  border-color: rgba(46, 90, 64, .46);
}

.app-install-section {
  padding: 0 0 26px;
}

.app-install-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 22px;
  border: 1px solid rgba(212, 163, 115, .28);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 8% 10%, rgba(255, 212, 138, .26), transparent 28%),
    linear-gradient(135deg, rgba(22, 52, 35, .98), rgba(46, 90, 64, .94) 52%, rgba(19, 39, 27, .98));
  color: #FFFFFF;
  box-shadow: 0 24px 58px rgba(24, 48, 33, .18);
}

.phone-home-preview {
  width: 116px;
  min-height: 148px;
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 14px 12px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 212, 138, .22), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .06));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16);
}

.app-icon-tile {
  position: relative;
  width: 74px;
  height: 74px;
  overflow: hidden;
  border: 2px solid rgba(255, 212, 138, .78);
  border-radius: 22px;
  background: #FFFFFF;
  box-shadow: 0 16px 30px rgba(0, 0, 0, .22);
}

.app-icon-main-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-icon-badge-logo {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 28px;
  height: 28px;
  object-fit: cover;
  border: 2px solid #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, .22);
}

.phone-home-preview span {
  color: rgba(255, 255, 255, .92);
  font-size: .85rem;
  line-height: 1.55;
  text-align: center;
}

.app-install-copy h2 {
  margin: 0 0 8px;
  color: #FFFFFF;
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  line-height: 1.55;
}

.app-install-copy p {
  max-width: 620px;
  color: rgba(255, 255, 255, .82);
  line-height: 1.7;
}

.app-install-actions {
  min-width: 220px;
  display: grid;
  gap: 10px;
}

.app-install-actions .btn {
  width: 100%;
  color: #173423;
  background: linear-gradient(135deg, #FFD48A, #D4A373);
}

.app-install-actions .btn:disabled {
  cursor: not-allowed;
  opacity: .68;
}

.app-install-actions p {
  color: rgba(255, 255, 255, .76);
  font-size: .88rem;
  line-height: 1.65;
}

@media (max-width: 720px) {
  .app-install-section {
    padding: 0 0 18px;
  }

  .app-install-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px;
  }

  .app-icon-preview {
    display: flex;
    justify-content: center;
  }

  .phone-home-preview {
    width: 108px;
    min-height: 136px;
    border-radius: 24px;
  }

  .app-icon-tile {
    width: 68px;
    height: 68px;
    border-radius: 20px;
  }

  .app-install-copy {
    text-align: center;
  }

  .app-install-copy h2 {
    font-size: 1.22rem;
  }

  .app-install-copy p {
    font-size: .9rem;
  }

  .app-install-actions {
    min-width: 0;
  }
}

.calculator-result-panel {
  padding: 18px;
  border: 1px solid rgba(212, 163, 115, .32);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 12% 4%, rgba(212, 163, 115, .22), transparent 28%),
    linear-gradient(145deg, #173423 0%, #2E5A40 58%, #1B3E2A 100%);
  box-shadow: 0 24px 58px rgba(24, 48, 33, .20);
}

.calculator-result-panel .advisor-card {
  border-color: rgba(255, 212, 138, .28);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 212, 138, .18), transparent 28%),
    linear-gradient(145deg, rgba(22, 52, 35, .98), rgba(33, 78, 52, .96));
  box-shadow: none;
}

.calculator-result-panel .advisor-card .product-meta {
  color: #173423;
  background: #F2D39A;
}

.calculator-result-panel .advisor-card h2,
.calculator-result-panel .advisor-card h3 {
  color: #FFFFFF;
}

.calculator-result-panel .advisor-card p {
  color: rgba(255, 255, 255, .88);
}

.calculator-result-panel .advisor-card p strong {
  color: #FFD48A;
}

.calculator-result-panel .formula-fit-note {
  margin: 12px 0;
  padding: 12px 14px;
  border-radius: 14px;
  line-height: 1.65;
}

.calculator-result-panel .formula-fit-note.is-ideal {
  color: #F9FFFB;
  background: rgba(149, 165, 149, .18);
  border: 1px solid rgba(204, 232, 204, .22);
}

.calculator-result-panel .formula-fit-note.is-close {
  color: #FFF8E8;
  background: rgba(212, 163, 115, .18);
  border: 1px solid rgba(255, 212, 138, .28);
}

.calculator-result-panel .formula-warning-card {
  border-color: rgba(255, 198, 121, .46);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 212, 138, .22), transparent 30%),
    linear-gradient(145deg, #522817 0%, #74351F 46%, #173423 100%);
}

.calculator-result-panel .formula-warning-card .product-meta {
  color: #3A1E11;
  background: #FFD48A;
}

.formula-guidance {
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 212, 138, .28);
  border-radius: 14px;
  background: rgba(255, 255, 255, .08);
}

.formula-guidance span {
  display: block;
  color: rgba(255, 255, 255, .78);
  font-size: .9rem;
}

.formula-guidance p {
  color: #FFFFFF;
}

.formula-highlight {
  color: var(--primary);
  font-family: "Kanit", sans-serif;
  font-size: clamp(2rem, 6vw, 3.2rem);
  font-weight: 600;
}

.calculator-result-panel .formula-highlight {
  color: #FFD48A;
  text-shadow: 0 10px 26px rgba(0, 0, 0, .24);
}

.result-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.result-stat {
  padding: 14px;
  border-radius: 14px;
  background: #F5F8F2;
}

.calculator-result-panel .result-stat {
  min-height: 112px;
  border: 1px solid rgba(212, 163, 115, .26);
  background:
    linear-gradient(145deg, #FFFDF6 0%, #EEF4EA 100%);
  box-shadow: 0 10px 24px rgba(15, 31, 21, .12);
}

.result-stat span,
.result-stat small {
  display: block;
  color: var(--muted);
}

.calculator-result-panel .result-stat span {
  color: #4F6256;
  font-weight: 500;
}

.calculator-result-panel .result-stat small {
  color: #647064;
}

.result-stat strong {
  display: block;
  color: var(--primary-dark);
  font-size: 1.2rem;
}

.calculator-result-panel .result-stat strong {
  margin: 4px 0 2px;
  color: #103522;
  font-family: "Kanit", sans-serif;
  font-size: 1.38rem;
}

.calculator-result-panel .result-card {
  border-color: rgba(212, 163, 115, .26);
  background: #FFFDF6;
  color: #173423;
}

.calculator-result-panel > .btn {
  width: 100%;
  min-height: 54px;
  color: #173423;
  background: linear-gradient(135deg, #F0C77F, #D4A373);
  box-shadow: 0 16px 32px rgba(0, 0, 0, .14);
}

.result-card {
  padding: 20px;
  border-radius: 18px;
}

.advisor-card {
  padding: 20px;
  border-radius: 18px;
}

.media-slider {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 16% 14%, rgba(212, 163, 115, .16), transparent 30%),
    linear-gradient(145deg, #FFFFFF, #F1F4EE);
  box-shadow: var(--shadow);
}

.auto-media-slider,
.auto-media-gallery {
  background:
    radial-gradient(circle at 18% 12%, rgba(212, 163, 115, .14), transparent 32%),
    radial-gradient(circle at 82% 88%, rgba(46, 90, 64, .10), transparent 34%),
    linear-gradient(145deg, #FFFFFF, #EEF3EC);
}

.media-slider .slider-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 12px;
  opacity: 0;
  object-fit: contain;
  transition: opacity .35s ease;
}

.media-slider[data-media-fit="cover"] .slider-image {
  object-fit: cover;
}

#posterSlider .slider-image,
#shopReviewSlider .slider-image,
#customerReviewSlider .slider-image,
[data-media-slider="posters"] .slider-image,
[data-media-slider="shopReviews"] .slider-image,
[data-media-slider="customerReviews"] .slider-image {
  object-fit: contain;
}

.media-slider .slider-image.is-active {
  opacity: 1;
}

.slider-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  display: flex;
  gap: 7px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  transform: translateX(-50%);
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(46, 90, 64, .24);
}

.slider-dot.is-active {
  width: 22px;
  background: var(--accent);
}

.review-note {
  margin-bottom: 12px;
  color: var(--muted);
}

.dealer-visual,
.contact-visual {
  min-width: 0;
  overflow: hidden;
  border-radius: 20px;
}

.dealer-visual img,
.contact-visual img,
.thank-card img {
  display: block;
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.dealer-visual img {
  aspect-ratio: 16 / 10;
  object-fit: contain;
  padding: 8px;
  background:
    radial-gradient(circle at 50% 0%, rgba(212, 163, 115, .14), transparent 34%),
    linear-gradient(145deg, #FFFFFF, #EEF3EC);
}

.contact-visual img {
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 8px;
  background:
    radial-gradient(circle at 50% 0%, rgba(212, 163, 115, .14), transparent 34%),
    linear-gradient(145deg, #FFFFFF, #EEF3EC);
}

.contact-copy-card .page-title {
  max-width: none;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.contact-copy-card .page-copy {
  max-width: none;
}

.line-actions .btn {
  white-space: nowrap;
}

.thank-card {
  margin-top: 22px;
}

.dealer-steps {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.dealer-steps li {
  padding: 14px;
  border-radius: 14px;
  background: rgba(46, 90, 64, .07);
  color: var(--primary-dark);
  font-weight: 600;
}

.contact-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.contact-list li {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(46, 90, 64, .07);
}

.products-page,
.reviews-page,
.dealer-page,
.contact-page {
  background:
    radial-gradient(circle at 8% 4%, rgba(212, 163, 115, .22), transparent 30%),
    radial-gradient(circle at 92% 14%, rgba(46, 90, 64, .16), transparent 34%),
    linear-gradient(180deg, #F8F3E9 0%, #EAF1E7 42%, #F7F2E8 100%);
}

.products-page .page-hero,
.reviews-page .page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 18%, rgba(212, 163, 115, .28), transparent 28%),
    linear-gradient(135deg, rgba(19, 47, 31, .96), rgba(46, 90, 64, .88) 55%, rgba(185, 132, 77, .22));
}

.products-page .page-hero::before,
.reviews-page .page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .03), transparent 42%),
    radial-gradient(circle at 88% 18%, rgba(255, 212, 138, .18), transparent 26%);
}

.products-page .page-hero .container,
.reviews-page .page-hero .container {
  position: relative;
  z-index: 1;
}

.products-page .page-hero .eyebrow,
.reviews-page .page-hero .eyebrow,
.dealer-page .page-hero .eyebrow,
.contact-page .page-hero .eyebrow {
  width: fit-content;
  padding: 8px 14px;
  border: 1px solid rgba(212, 163, 115, .34);
  border-radius: 999px;
  color: #FFD48A;
  background: rgba(23, 52, 35, .72);
}

.products-page .page-hero .page-title,
.reviews-page .page-hero .page-title {
  color: #FFFFFF;
  text-shadow: 0 12px 34px rgba(0, 0, 0, .24);
}

.products-page .page-hero .page-copy,
.reviews-page .page-hero .page-copy {
  color: rgba(255, 255, 255, .88);
}

.products-page .product-brochure-card,
.reviews-page .hero-image-card {
  border-color: rgba(255, 212, 138, .35);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 212, 138, .22), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(239, 245, 235, .94));
  box-shadow: 0 28px 70px rgba(12, 31, 20, .30);
}

.products-page .toolbar {
  position: sticky;
  top: 88px;
  z-index: 20;
  padding: 14px;
  border: 1px solid rgba(46, 90, 64, .16);
  border-radius: 22px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 18px 44px rgba(24, 48, 33, .12);
  backdrop-filter: blur(16px);
}

.products-page .product-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.products-page .product-card {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border-color: rgba(46, 90, 64, .18);
  background:
    radial-gradient(circle at 16% 0%, rgba(212, 163, 115, .16), transparent 34%),
    linear-gradient(180deg, #FFFFFF 0%, #F1F6EF 100%);
  box-shadow: 0 18px 42px rgba(24, 48, 33, .12);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.products-page .product-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, #2E5A40, #D4A373, #6E3D7C);
}

.products-page .product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 163, 115, .42);
  box-shadow: 0 26px 58px rgba(24, 48, 33, .18);
}

.products-page .product-image {
  min-height: 260px;
  border: 1px solid rgba(46, 90, 64, .12);
  background:
    radial-gradient(circle at 50% 10%, rgba(212, 163, 115, .22), transparent 36%),
    linear-gradient(145deg, #FFFDF6, #E8F0E5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .88);
}

.products-page .product-image img {
  height: 260px;
  padding: 12px;
  filter: drop-shadow(0 16px 18px rgba(25, 47, 33, .20));
}

.products-page .product-meta {
  color: #FFFFFF;
  background: linear-gradient(135deg, #2E5A40, #173423);
}

.products-page .product-card h3 {
  color: #173423;
  font-size: 1.36rem;
}

.products-page .product-card .btn {
  color: #173423;
  background: linear-gradient(135deg, #F2D39A, #D4A373);
  border-color: rgba(185, 132, 77, .22);
}

.reviews-page .review-grid > article {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(46, 90, 64, .16);
  border-radius: 24px;
  background:
    radial-gradient(circle at 14% 0%, rgba(212, 163, 115, .18), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(238, 245, 235, .96));
  box-shadow: 0 24px 58px rgba(24, 48, 33, .14);
}

.reviews-page .review-grid > article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, #2E5A40, #D4A373, #8E4AA8);
}

.reviews-page .review-grid .section-title {
  color: #173423;
}

.reviews-page .review-note {
  color: #4E5E52;
  font-weight: 600;
}

.reviews-page .media-slider {
  min-height: 640px;
  border: 1px solid rgba(212, 163, 115, .30);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 0%, rgba(212, 163, 115, .20), transparent 32%),
    linear-gradient(145deg, #102419, #254D35 52%, #F4F0E6 53%, #FFFFFF);
  box-shadow: 0 28px 64px rgba(24, 48, 33, .22);
}

.reviews-page .media-slider .slider-image {
  padding: 16px;
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, .16));
}

.dealer-page,
.contact-page {
  background:
    radial-gradient(circle at 10% 0%, rgba(212, 163, 115, .28), transparent 28%),
    radial-gradient(circle at 90% 20%, rgba(117, 55, 128, .12), transparent 30%),
    linear-gradient(180deg, #173423 0%, #E9F0E7 46%, #F7F1E7 100%);
}

.dealer-page .page-hero,
.contact-page .page-hero {
  padding-bottom: 58px;
}

.dealer-page .surface,
.contact-page .contact-copy-card {
  border-color: rgba(255, 212, 138, .26);
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 212, 138, .18), transparent 30%),
    linear-gradient(145deg, rgba(23, 52, 35, .98), rgba(46, 90, 64, .94));
  box-shadow: 0 30px 70px rgba(12, 31, 20, .30);
}

.dealer-page .surface .page-title,
.contact-page .contact-copy-card .page-title {
  color: #FFFFFF;
}

.dealer-page .surface .page-copy,
.contact-page .contact-copy-card .page-copy {
  color: rgba(255, 255, 255, .88);
}

.dealer-page .dealer-steps li,
.contact-page .contact-list li {
  border: 1px solid rgba(255, 212, 138, .16);
  color: #FFFFFF;
  background: rgba(255, 255, 255, .10);
}

.dealer-page .dealer-visual,
.contact-page .contact-visual {
  border: 1px solid rgba(212, 163, 115, .36);
  box-shadow: 0 30px 72px rgba(12, 31, 20, .28);
}

.dealer-page .dealer-visual img,
.contact-page .contact-visual img {
  padding: 12px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 212, 138, .22), transparent 32%),
    linear-gradient(145deg, #FFFFFF, #F0E4D0);
}

.dealer-page .thank-card img {
  border: 1px solid rgba(212, 163, 115, .28);
  box-shadow: 0 30px 72px rgba(24, 48, 33, .18);
}

.dealer-page .btn-line,
.contact-page .btn-line {
  color: #173423;
  background: linear-gradient(135deg, #FFD48A, #D4A373);
}

.dealer-page .btn-outline,
.contact-page .btn-outline {
  color: #FFFFFF;
  background: rgba(255, 255, 255, .10);
  border-color: rgba(255, 255, 255, .28);
}

.media-empty-state {
  min-height: 220px;
  display: grid;
  place-items: center;
  padding: 28px;
  color: var(--primary);
  font-weight: 600;
  text-align: center;
}

.auto-media-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.auto-media-gallery-item {
  min-height: 320px;
  display: grid;
  place-items: center;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 20% 0%, rgba(212, 163, 115, .12), transparent 30%),
    linear-gradient(145deg, #FFFFFF, #F1F4EE);
  box-shadow: var(--shadow-soft);
}

.auto-media-gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 620px;
  padding: 10px;
  object-fit: contain;
}

.auto-media-gallery[data-media-fit="cover"] .auto-media-gallery-item img {
  object-fit: cover;
}

.site-footer {
  margin-top: 48px;
  padding: 34px 0;
  color: #FFFFFF;
  background: var(--primary);
}

.footer-inner {
  width: var(--container);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links a:hover {
  color: #F1C982;
}

.mobile-line-sticky {
  display: none;
}

@media (max-width: 980px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  body {
    padding-bottom: 92px;
  }

  .nav {
    min-height: auto;
    display: grid;
    gap: 10px;
    padding: 10px 0;
  }

  .brand {
    min-width: 0;
  }

  .nav-links {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    flex: 0 0 auto;
    padding: 8px 10px;
    font-size: .86rem;
  }

  .hero-panel,
  .preview-grid,
  .calculator-grid,
  .dealer-grid,
  .contact-grid,
  .review-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats,
  .result-stats {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 40px 0 20px;
  }

  .home-hero {
    min-height: auto;
    padding: 44px 0 34px;
    background:
      linear-gradient(180deg, rgba(15, 31, 21, .98) 0%, rgba(20, 44, 29, .88) 54%, rgba(20, 44, 29, .68) 100%),
      url("../../รีวิวร้านค้า/reviewA02.jpg") center top / cover no-repeat;
  }

  .home-hero .hero-panel {
    gap: 24px;
  }

  .home-hero .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-logo-card {
    max-width: 440px;
    justify-self: center;
    padding: 18px;
  }

  .product-brochure-card img {
    height: clamp(230px, 62vw, 360px);
  }

  .section {
    padding: 30px 0;
  }

  .toolbar,
  .section-head {
    align-items: stretch;
    flex-direction: column;
  }

  .search-input {
    max-width: none;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .product-card {
    grid-template-columns: 112px 1fr;
    align-items: center;
    gap: 12px;
    padding: 12px;
  }

  .product-image {
    min-height: 128px;
  }

  .product-image img {
    height: 128px;
    padding: 6px;
  }

  .product-image-fallback {
    width: 92px;
    min-height: 112px;
    font-size: 1rem;
  }

  .product-card h3 {
    font-size: 1.08rem;
  }

  .product-card p {
    font-size: .95rem;
  }

  .media-slider {
    min-height: 420px;
    aspect-ratio: 4 / 5;
  }

  .media-slider .slider-image {
    padding: 8px;
  }

  .auto-media-gallery {
    grid-template-columns: 1fr;
  }

  .auto-media-gallery-item {
    min-height: 360px;
  }

  .mobile-line-sticky {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 12px;
    z-index: 60;
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 999px;
    color: #FFFFFF;
    background: var(--primary);
    font-weight: 600;
    box-shadow: 0 18px 36px rgba(24, 48, 33, .24);
  }
}

@media (max-width: 560px) {
  .container,
  .nav,
  .footer-inner {
    width: min(100% - 24px, 1160px);
  }

  .brand-text span {
    display: none;
  }

  .page-title {
    font-size: clamp(1.85rem, 12vw, 2.7rem);
  }

  .home-hero .page-title {
    font-size: clamp(2rem, 13vw, 3.15rem);
  }

  .home-hero .page-title em {
    font-size: clamp(1.05rem, 6vw, 1.45rem);
  }

  .home-hero .hero-stats {
    grid-template-columns: 1fr;
  }

  .home-crop-tags span {
    min-height: 34px;
    padding: 7px 11px;
    font-size: .92rem;
  }

  .home-logo-card {
    border-radius: 24px;
  }

  .page-copy {
    font-size: 1rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .line-actions {
    display: grid;
  }

  .line-actions .btn {
    white-space: normal;
    text-align: center;
  }

  .btn {
    width: 100%;
  }

  .product-card {
    grid-template-columns: 1fr;
  }

  .product-image {
    min-height: 190px;
  }

  .product-image img {
    height: 190px;
  }

  .product-image-fallback {
    width: 70%;
    min-height: 150px;
    font-size: 1.25rem;
  }
}

@media (max-width: 860px) {
  .products-page .toolbar {
    position: static;
    padding: 12px;
    border-radius: 18px;
  }

  .products-page .product-card {
    transform: none;
  }

  .products-page .product-image {
    min-height: 150px;
  }

  .products-page .product-image img {
    height: 150px;
    padding: 8px;
  }

  .reviews-page .media-slider {
    min-height: 440px;
    aspect-ratio: 4 / 5;
  }

  .reviews-page .media-slider .slider-image {
    padding: 10px;
  }

  .dealer-page .page-hero,
  .contact-page .page-hero {
    padding-bottom: 28px;
  }
}

@media (max-width: 560px) {
  .products-page .product-grid {
    gap: 16px;
  }

  .products-page .product-image {
    min-height: 210px;
  }

  .products-page .product-image img {
    height: 210px;
  }

  .reviews-page .review-grid > article {
    padding: 14px;
    border-radius: 20px;
  }

  .reviews-page .media-slider {
    min-height: 390px;
  }

  .dealer-page .surface,
  .contact-page .contact-copy-card {
    padding: 18px;
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: 148px;
  }

  .nav {
    width: min(100% - 24px, 1160px);
    overflow: hidden;
  }

  .nav-links {
    max-width: 100%;
    min-width: 0;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    flex: 0 0 auto;
    padding: 8px 10px;
    font-size: 0.84rem;
    white-space: nowrap;
  }

  .products-page .product-page-hero {
    padding: 28px 0 18px;
  }

  .products-page .product-page-hero .hero-panel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
  }

  .products-page .product-page-hero .hero-copy-block {
    order: 1;
    width: 100%;
    max-width: none;
  }

  .products-page .product-page-hero .product-brochure-card {
    order: 2;
    width: 100%;
    max-width: 100%;
    justify-self: stretch;
    padding: 8px;
    border-radius: 22px;
  }

  .products-page .product-page-hero .page-title {
    max-width: 100%;
    font-size: clamp(2.05rem, 13vw, 3.05rem);
    line-height: 1.55;
  }

  .products-page .product-page-hero .page-copy {
    max-width: 100%;
    font-size: 1rem;
  }

  .products-page .product-brochure-card img {
    width: 100%;
    height: auto;
    max-height: 330px;
    object-fit: contain;
  }

  .products-page main,
  .products-page .section:last-of-type {
    padding-bottom: 148px;
  }

  .mobile-line-sticky {
    left: 16px;
    right: 16px;
    bottom: 14px;
    min-height: 58px;
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: 118px;
  }

  .site-header {
    box-shadow: 0 8px 22px rgba(10, 24, 15, .18);
  }

  .nav {
    width: 100%;
    padding: 8px 14px 10px;
    gap: 8px;
  }

  .brand {
    gap: 10px;
  }

  .brand-logo {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .brand-text strong {
    font-size: .95rem;
  }

  .nav-links {
    gap: 4px;
    padding-bottom: 0;
    scroll-padding-inline: 14px;
  }

  .nav-links a {
    min-height: 34px;
    padding: 7px 9px;
    font-size: .78rem;
  }

  .nav-links .line-button {
    padding-inline: 12px;
  }

  .section {
    padding: 28px 0;
  }

  .products-page .product-page-hero {
    padding: 20px 0 14px;
  }

  .products-page .product-page-hero .hero-panel {
    gap: 14px;
  }

  .products-page .page-hero .eyebrow {
    padding: 6px 12px;
    font-size: .78rem;
  }

  .products-page .product-page-hero .page-title {
    font-size: clamp(1.75rem, 9vw, 2.35rem);
    line-height: 1.55;
  }

  .products-page .product-page-hero .page-copy {
    font-size: .92rem;
    line-height: 1.6;
  }

  .products-page .product-page-hero .product-brochure-card {
    padding: 6px;
    border-radius: 18px;
  }

  .products-page .product-brochure-card img {
    max-height: 230px;
  }

  .products-page .toolbar {
    gap: 10px;
    padding: 12px;
    border-radius: 18px;
  }

  .search-input,
  .form-control {
    min-height: 44px;
    padding: 10px 12px;
    font-size: .92rem;
  }

  .filter-tabs {
    gap: 6px;
  }

  .filter-tab {
    min-height: 36px;
    padding: 7px 11px;
    font-size: .86rem;
  }

  .products-page .toolbar strong {
    font-size: 1rem;
  }

  .products-page .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .products-page .product-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    padding: 10px;
    border-radius: 16px;
  }

  .products-page .product-card::before {
    height: 3px;
  }

  .products-page .product-image {
    min-height: 132px;
    border-radius: 14px;
  }

  .products-page .product-image img {
    height: 132px;
    padding: 6px;
    filter: drop-shadow(0 10px 12px rgba(25, 47, 33, .16));
  }

  .products-page .product-image-fallback {
    width: 100%;
    min-height: 110px;
    font-size: .95rem;
  }

  .products-page .product-meta {
    padding: 4px 8px;
    font-size: .76rem;
  }

  .products-page .product-card h3 {
    font-size: 1.08rem;
    line-height: 1.55;
  }

  .products-page .product-card p {
    font-size: .84rem;
    line-height: 1.55;
  }

  .products-page main,
  .products-page .section:last-of-type {
    padding-bottom: 128px;
  }

  .mobile-line-sticky {
    left: 18px;
    right: 18px;
    bottom: 10px;
    min-height: 48px;
    font-size: 1rem;
    box-shadow: 0 12px 28px rgba(19, 57, 36, .28);
  }

  .home-hero {
    padding: 30px 0 26px;
    min-height: auto;
  }

  .home-hero .hero-panel {
    gap: 18px;
  }

  .home-hero .eyebrow {
    padding: 6px 12px;
    font-size: .75rem;
  }

  .home-hero .page-title {
    font-size: clamp(2rem, 11vw, 2.75rem);
    line-height: 1.55;
  }

  .home-hero .page-title em {
    margin-top: 6px;
    font-size: clamp(1.05rem, 6vw, 1.4rem);
    line-height: 1.55;
  }

  .home-hero .page-copy {
    font-size: .98rem;
    line-height: 1.65;
  }

  .home-crop-tags {
    gap: 8px;
  }

  .home-crop-tags span {
    min-height: 32px;
    padding: 6px 10px;
    font-size: .86rem;
  }

  .hero-actions {
    gap: 10px;
  }

  .home-hero .btn {
    min-height: 46px;
    font-size: .96rem;
  }

  .home-hero .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .home-hero .stat-card {
    padding: 10px;
    border-radius: 14px;
  }

  .home-hero .stat-card strong {
    font-size: 1.25rem;
  }

  .home-hero .stat-card span {
    font-size: .75rem;
  }
}

@media (max-width: 380px) {
  .products-page .product-grid {
    grid-template-columns: 1fr;
  }

  .products-page .product-card {
    display: grid;
    grid-template-columns: 104px 1fr;
    align-items: center;
  }

  .products-page .product-image {
    min-height: 118px;
  }

  .products-page .product-image img {
    height: 118px;
  }
}

/* Media presentation polish: keeps original brochure, bag, and review images prominent without cropping them. */
.product-visual-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(19, 52, 35, .98), rgba(34, 84, 56, .95)),
    linear-gradient(180deg, #173423, #285A3E);
}

.product-visual-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 84% 12%, rgba(242, 211, 154, .2), transparent 26%);
}

.product-visual-section .container {
  position: relative;
}

.product-visual-section .section-title,
.product-visual-section .section-copy {
  color: #FFFFFF;
}

.product-visual-section .section-copy {
  max-width: 680px;
  color: rgba(255, 255, 255, .82);
}

.product-visual-section .eyebrow {
  color: #F2D39A;
}

.product-visual-section .btn-outline {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .08);
}

.product-visual-section .btn-outline:hover {
  color: #173423;
  background: #F2D39A;
  border-color: #F2D39A;
}

.brochure-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.brochure-tile {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .98), rgba(239, 244, 237, .94));
  box-shadow: 0 18px 38px rgba(0, 0, 0, .2);
  color: #173423;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.brochure-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(242, 211, 154, .88);
  box-shadow: 0 24px 44px rgba(0, 0, 0, .28);
}

.brochure-tile img {
  display: block;
  width: 100%;
  height: 258px;
  padding: 10px;
  box-sizing: border-box;
  object-fit: contain;
  background:
    radial-gradient(circle at 50% 15%, rgba(212, 163, 115, .2), transparent 44%),
    linear-gradient(145deg, #F9F8F2, #EAF1E8);
}

.brochure-tile-copy {
  display: grid;
  gap: 3px;
  padding: 13px 15px 15px;
  border-top: 1px solid rgba(46, 90, 64, .12);
}

.brochure-tile-copy strong {
  color: #173423;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.55;
}

.brochure-tile-copy small {
  color: #607066;
  font-size: .9rem;
  font-weight: 400;
  line-height: 1.55;
}

.brochure-tile-organic img {
  background: linear-gradient(145deg, #F8F7F2, #F3EAEA);
}

.brochure-tile-soil img {
  background: linear-gradient(145deg, #F8F7F0, #EDF2E2);
}

.brochure-caption {
  margin-top: 8px;
  padding: 8px 10px 2px;
  color: #EED09A;
  font-size: .92rem;
  font-weight: 500;
  line-height: 1.55;
  text-align: center;
}

.reviews-page .review-panel {
  display: flex;
  flex-direction: column;
}

.reviews-page .review-panel .media-slider {
  flex: 1;
}

.reviews-page .review-panel-shop::before {
  background: linear-gradient(90deg, #B97739, #F2D39A, #2E5A40);
}

.reviews-page .review-panel-farmer::before {
  background: linear-gradient(90deg, #2E5A40, #74A165, #D4A373);
}

.reviews-page [data-media-kind="shopReviews"] {
  background:
    radial-gradient(circle at 50% 0%, rgba(242, 211, 154, .26), transparent 32%),
    linear-gradient(145deg, #4A2B18, #9A6136 52%, #F5EEE2 53%, #FFFFFF);
}

.reviews-page [data-media-kind="customerReviews"] {
  background:
    radial-gradient(circle at 50% 0%, rgba(150, 194, 128, .23), transparent 32%),
    linear-gradient(145deg, #102419, #2D633E 52%, #EEF4E9 53%, #FFFFFF);
}

@media (max-width: 720px) {
  .product-visual-section .section-head {
    gap: 14px;
  }

  .product-visual-section .section-head .btn {
    width: fit-content;
  }

  .brochure-gallery {
    grid-auto-columns: minmax(260px, 82vw);
    grid-auto-flow: column;
    grid-template-columns: none;
    overflow-x: auto;
    padding: 2px 2px 10px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .brochure-gallery::-webkit-scrollbar {
    display: none;
  }

  .brochure-tile {
    scroll-snap-align: start;
  }

  .brochure-tile img {
    height: 214px;
  }

  .brochure-tile-copy {
    padding: 11px 13px 13px;
  }

  .brochure-tile-copy strong {
    font-size: 1rem;
  }

  .brochure-tile-copy small,
  .brochure-caption {
    font-size: .84rem;
  }
}

@media (max-width: 720px) {
  .site-header {
    overflow: hidden;
  }

  .nav {
    width: 100%;
    max-width: 100vw;
    margin: 0;
    padding: 8px 14px 9px;
    gap: 7px;
    box-sizing: border-box;
  }

  .brand-logo {
    width: 38px;
    height: 38px;
  }

  .brand-text strong {
    font-size: .88rem;
    line-height: 1.55;
  }

  .nav-links {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    gap: 3px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    flex: 0 0 auto;
    min-height: 31px;
    padding: 5px 8px;
    font-size: .7rem;
    line-height: 1.55;
    white-space: nowrap;
  }

  .nav-links .line-button {
    display: none;
  }

  .home-hero {
    padding: 22px 0 24px;
  }

  .home-hero .eyebrow,
  .dealer-page .page-hero .eyebrow {
    padding: 5px 10px;
    font-size: .68rem;
  }

  .home-hero .page-title {
    font-size: clamp(1.62rem, 8.5vw, 2.22rem);
    line-height: 1.55;
  }

  .home-hero .page-title em {
    font-size: clamp(.95rem, 5vw, 1.16rem);
    line-height: 1.58;
  }

  .home-hero .page-copy {
    font-size: .9rem;
    line-height: 1.68;
  }

  .home-crop-tags span {
    min-height: 30px;
    padding: 5px 9px;
    font-size: .78rem;
  }

  .home-hero .btn {
    min-height: 42px;
    font-size: .88rem;
  }

  .dealer-page .page-hero {
    padding: 22px 0 24px;
  }

  .dealer-page .surface,
  .contact-page .contact-copy-card {
    padding: 18px;
    border-radius: 22px;
  }

  .dealer-page .surface .page-title,
  .contact-page .contact-copy-card .page-title {
    max-width: 100%;
    font-size: clamp(1.55rem, 8vw, 2.1rem);
    line-height: 1.58;
  }

  .dealer-page .surface .page-copy,
  .contact-page .contact-copy-card .page-copy {
    font-size: .9rem;
    line-height: 1.68;
  }

  .dealer-steps {
    gap: 8px;
  }

  .dealer-step {
    padding: 10px 12px;
    border-radius: 14px;
    font-size: .86rem;
    line-height: 1.55;
  }

  .line-actions .btn {
    min-height: 42px;
    padding: 9px 12px;
    font-size: .86rem;
  }

  .mobile-line-sticky {
    min-height: 44px;
    font-size: .92rem;
    left: 18px;
    right: 18px;
    bottom: 10px;
  }
}

@media (max-width: 720px) {
  .container,
  .footer-inner {
    width: min(100% - 28px, 1160px);
    max-width: calc(100vw - 28px);
  }

  .nav {
    padding-inline: 12px;
  }

  .nav-links a {
    min-height: 30px;
    padding: 5px 7px;
    font-size: .66rem;
  }

  .home-hero .page-title {
    font-size: clamp(1.42rem, 7vw, 1.86rem);
    line-height: 1.58;
  }

  .home-hero .page-title em {
    font-size: clamp(.82rem, 4.4vw, 1.02rem);
    line-height: 1.62;
  }

  .home-hero .page-copy {
    font-size: .84rem;
    line-height: 1.7;
  }

  .dealer-grid,
  .dealer-grid > *,
  .dealer-page .surface,
  .dealer-page .line-actions,
  .contact-grid,
  .contact-grid > *,
  .contact-page .contact-copy-card {
    min-width: 0;
    max-width: 100%;
  }

  .dealer-page .surface,
  .contact-page .contact-copy-card {
    overflow: hidden;
  }

  .dealer-page .surface .page-title,
  .contact-page .contact-copy-card .page-title {
    font-size: clamp(1.28rem, 6.7vw, 1.72rem);
    line-height: 1.62;
    overflow-wrap: break-word;
    word-break: keep-all;
  }

  .dealer-page .surface .page-copy,
  .contact-page .contact-copy-card .page-copy {
    font-size: .84rem;
    line-height: 1.7;
  }

  .dealer-page .dealer-steps {
    display: grid;
    gap: 8px;
    padding: 0;
  }

  .dealer-page .dealer-steps li {
    min-width: 0;
    padding: 9px 11px;
    font-size: .8rem;
    line-height: 1.6;
  }

  .dealer-page .line-actions,
  .contact-page .line-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .dealer-page .line-actions .btn,
  .contact-page .line-actions .btn {
    width: 100%;
    min-width: 0;
    min-height: 40px;
    padding: 8px 10px;
    font-size: .8rem;
    white-space: normal;
    text-align: center;
  }

  .mobile-line-sticky {
    min-height: 42px;
    font-size: .86rem;
  }
}

/* Final mobile QA pass: keep Thai text readable without oversized blocks,
   prevent image sliders from creating horizontal scroll on narrow phones,
   and reserve enough room for the sticky LINE button. */
@media (max-width: 720px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    padding-bottom: calc(118px + env(safe-area-inset-bottom));
  }

  .site-header,
  .nav,
  main,
  .container,
  .footer-inner {
    max-width: 100vw;
  }

  .nav {
    grid-template-columns: 1fr;
    align-items: start;
    overflow: hidden;
  }

  .nav-links {
    max-width: calc(100vw - 24px);
    padding-bottom: 2px;
    scroll-padding-inline: 10px;
  }

  .page-title,
  .products-page .product-page-hero .page-title,
  .calculator-page .page-hero .page-title,
  .reviews-page .page-hero .page-title,
  .dealer-page .surface .page-title,
  .contact-page .contact-copy-card .page-title {
    font-size: clamp(1.46rem, 6.4vw, 1.96rem);
    line-height: 1.62;
    letter-spacing: 0;
    word-break: keep-all;
    overflow-wrap: break-word;
  }

  .page-copy,
  .products-page .product-page-hero .page-copy,
  .calculator-page .page-hero .page-copy,
  .reviews-page .page-hero .page-copy,
  .dealer-page .surface .page-copy,
  .contact-page .contact-copy-card .page-copy {
    font-size: .86rem;
    line-height: 1.7;
    letter-spacing: 0;
    word-break: keep-all;
    overflow-wrap: break-word;
  }

  .media-slider,
  .auto-media-slider,
  .reviews-page .media-slider {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
  }

  .media-slider .slider-image,
  .auto-media-slider .slider-image,
  .reviews-page .media-slider .slider-image {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .mobile-line-sticky {
    left: 16px;
    right: 16px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    min-height: 40px;
    padding: 9px 14px;
    font-size: .82rem;
    line-height: 1.55;
    border: 1px solid rgba(255, 255, 255, .24);
    opacity: 0;
    pointer-events: none;
    transform: translateY(calc(100% + 24px));
    transition: opacity .2s ease, transform .2s ease;
  }

  body.has-scrolled-mobile .mobile-line-sticky {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-line-sticky {
    transition: none;
  }
}

@media (min-width: 721px) and (max-width: 860px) {
  body {
    padding-bottom: calc(126px + env(safe-area-inset-bottom));
  }

  .mobile-line-sticky {
    bottom: calc(14px + env(safe-area-inset-bottom));
    min-height: 48px;
    font-size: .9rem;
    line-height: 1.55;
  }
}

@media (max-width: 380px) {
  .nav {
    padding-inline: 10px;
  }

  .brand-logo {
    width: 34px;
    height: 34px;
  }

  .brand-text strong {
    font-size: .8rem;
  }

  .nav-links {
    max-width: calc(100vw - 20px);
    gap: 2px;
  }

  .nav-links a {
    min-height: 28px;
    padding: 4px 6px;
    font-size: .61rem;
  }

  .page-title,
  .products-page .product-page-hero .page-title,
  .calculator-page .page-hero .page-title,
  .reviews-page .page-hero .page-title,
  .dealer-page .surface .page-title,
  .contact-page .contact-copy-card .page-title {
    font-size: clamp(1.28rem, 6.2vw, 1.55rem);
  }
}
