:root {
  --bg: #ffffff;
  --ink: #17201a;
  --muted: #677269;
  --line: #dce8df;
  --green: #07872d;
  --green-dark: #035e20;
  --green-soft: #e8f8ee;
  --yellow: #ffc73a;
  --yellow-soft: #fff5cc;
  --surface: #f7fbf8;
  --shadow: 0 18px 50px rgba(19, 65, 35, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans Thai", system-ui, sans-serif;
  letter-spacing: 0;
}

img,
svg {
  display: block;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 0 clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 800;
  white-space: nowrap;
}

.brand strong {
  color: var(--green);
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  background: var(--green);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(7, 135, 45, 0.22);
  font-size: 15px;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #314039;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--green);
}

.header-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
}

.header-action {
  padding: 0 16px;
  color: #fff;
  background: var(--green);
}

svg {
  width: 19px;
  height: 19px;
}

svg path,
svg circle,
svg rect {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  align-items: center;
  gap: clamp(38px, 6vw, 82px);
  min-height: min(720px, calc(100vh - 128px));
  padding: clamp(34px, 5vw, 68px) clamp(20px, 5vw, 72px) 44px;
  background:
    linear-gradient(90deg, #fff 0%, #fff 54%, #f2fbf5 54%, #f2fbf5 100%),
    var(--bg);
}

.hero-copy {
  max-width: 650px;
}

.hero h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 1.04;
  font-weight: 800;
}

.hero p {
  max-width: 600px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  padding: 0 20px;
  border: 1px solid transparent;
}

.button.primary {
  color: #fff;
  background: var(--green);
  box-shadow: 0 12px 28px rgba(7, 135, 45, 0.18);
}

.button.secondary {
  color: var(--green-dark);
  background: #fff;
  border-color: #cfe5d5;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.trust-row div {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  color: #31523c;
  background: var(--green-soft);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
}

.trust-row svg {
  width: 17px;
  height: 17px;
  color: var(--green);
}

.shelf {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.mini-product {
  min-height: 220px;
  padding: 12px;
  background: #fff;
  border: 1px solid #e6eee8;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transform: translateY(var(--lift, 0));
}

.mini-product:nth-child(2),
.mini-product:nth-child(5) {
  --lift: 30px;
}

.mini-product:nth-child(3) {
  --lift: -18px;
}

.mini-product img {
  width: 100%;
  height: 126px;
  object-fit: cover;
  background: var(--surface);
  border-radius: 6px;
}

.mini-product.tall img {
  height: 170px;
}

.mini-product h3,
.deal-card h3 {
  margin: 12px 0 3px;
  font-size: 15px;
  line-height: 1.35;
}

.mini-product p,
.deal-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.mini-product strong,
.deal-card strong {
  display: block;
  margin-top: 8px;
  color: var(--green-dark);
  font-size: 18px;
}

.section {
  padding: clamp(54px, 7vw, 92px) clamp(20px, 5vw, 72px);
}

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

.section h2,
.notify h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.2;
}

.section-head a {
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
}

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

.category-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.category-card:hover {
  border-color: #9ed6ae;
  transform: translateY(-2px);
}

.category-card span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  background: #fff;
  border-radius: 8px;
  font-size: 20px;
}

#deals {
  background: #f6faf7;
}

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

.deal-card {
  position: relative;
  min-width: 0;
  padding: 14px;
  background: #fff;
  border: 1px solid #e4ece6;
  border-radius: 8px;
}

.deal-card img {
  width: 100%;
  aspect-ratio: 1.16;
  object-fit: cover;
  border-radius: 6px;
  background: var(--surface);
}

.discount {
  position: absolute;
  top: 22px;
  left: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 9px;
  color: #2c2100;
  background: var(--yellow);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
}

.deal-card div {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 6px;
}

.deal-card strong {
  margin: 0;
}

.deal-card del,
.deal-card small {
  color: var(--muted);
}

.how {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}

.how p {
  margin: 16px 0 0;
  max-width: 660px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.how ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.how li {
  counter-increment: step;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 76px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.how li::before {
  content: counter(step);
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  color: #fff;
  background: var(--green);
  border-radius: 8px;
}

.names {
  background: #142017;
  color: #fff;
}

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

.name-grid article {
  padding: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.name-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--yellow);
  font-size: 20px;
}

.name-grid span {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
}

.notify {
  display: grid;
  grid-template-columns: auto 1fr minmax(360px, 0.9fr);
  gap: 22px;
  align-items: center;
  margin: clamp(32px, 5vw, 64px) clamp(20px, 5vw, 72px) clamp(48px, 7vw, 88px);
  padding: clamp(24px, 4vw, 36px);
  color: #102018;
  background: var(--yellow-soft);
  border: 1px solid #f2dd90;
  border-radius: 8px;
}

.mail-visual {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  background: #fff;
  border-radius: 8px;
}

.mail-visual svg {
  width: 62px;
  height: 62px;
}

.notify p {
  margin: 8px 0 0;
  color: #5a573f;
  line-height: 1.7;
}

.notify form {
  display: flex;
  position: relative;
  gap: 8px;
}

.notify input,
.notify button {
  height: 50px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
}

.notify input {
  min-width: 0;
  flex: 1;
  padding: 0 14px;
  background: #fff;
  border: 1px solid #e0cc80;
}

.notify button {
  padding: 0 18px;
  color: #fff;
  background: var(--green);
  border: 0;
  font-weight: 800;
  cursor: pointer;
}

.notify button:disabled {
  cursor: default;
  opacity: 0.82;
}

.form-status {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  margin: 0;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 700;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(20px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.6;
}

.site-footer p {
  margin: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.coming-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 199, 58, 0.22), transparent 28%),
    radial-gradient(circle at 82% 72%, rgba(7, 135, 45, 0.16), transparent 32%),
    #ffffff;
}

.coming-main {
  position: relative;
  display: grid;
  min-height: calc(100vh - 68px);
  place-items: center;
  padding: clamp(28px, 5vw, 72px);
  overflow: hidden;
}

.coming-main::before,
.coming-main::after {
  content: "";
  position: absolute;
  width: clamp(180px, 22vw, 320px);
  height: clamp(180px, 22vw, 320px);
  border: 1px solid rgba(7, 135, 45, 0.1);
  border-radius: 999px;
  pointer-events: none;
}

.coming-main::before {
  left: clamp(18px, 7vw, 118px);
  bottom: clamp(76px, 16vh, 170px);
  background: rgba(255, 199, 58, 0.08);
}

.coming-main::after {
  top: clamp(70px, 14vh, 150px);
  right: clamp(22px, 8vw, 128px);
  background: rgba(7, 135, 45, 0.06);
}

.coming-card {
  position: relative;
  z-index: 2;
  width: min(100%, 680px);
  padding: clamp(28px, 5vw, 56px);
  text-align: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(19, 65, 35, 0.14);
  backdrop-filter: blur(18px);
}

.coming-brand {
  justify-content: center;
}

.coming-page .brand-mark {
  border-radius: 14px;
}

.coming-domain {
  margin: 28px 0 0;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
}

.coming-card h1 {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: clamp(56px, 10vw, 108px);
  line-height: 0.95;
  font-weight: 800;
}

.coming-copy {
  max-width: 520px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.8;
}

.tiny-shelf {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.tiny-shelf span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  font-size: 22px;
}

.coming-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin: 32px 0 0;
  padding: 0 16px;
  color: var(--green-dark);
  background: var(--green-soft);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.coming-notify {
  display: block;
  max-width: 480px;
  margin: 34px auto 0;
  padding: 0;
  background: transparent;
  border: 0;
}

.coming-notify form {
  display: flex;
  position: relative;
  gap: 8px;
}

.coming-notify input,
.coming-notify button {
  height: 52px;
}

.coming-footer {
  padding: 0 20px 24px;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
}

.coming-footer p {
  margin: 0;
}

.floating-deal {
  position: absolute;
  z-index: 1;
  display: grid;
  min-width: 76px;
  height: 48px;
  place-items: center;
  color: var(--green-dark);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  font-weight: 800;
  animation: deal-float 5s ease-in-out infinite;
}

.deal-a {
  top: 20%;
  left: 12%;
}

.deal-b {
  right: 13%;
  top: 28%;
  animation-delay: -1.4s;
}

.deal-c {
  right: 20%;
  bottom: 18%;
  color: #2c2100;
  background: var(--yellow);
  animation-delay: -2.8s;
}

.deal-d {
  left: 19%;
  bottom: 27%;
  min-width: 54px;
  color: var(--ink);
  animation-delay: -3.5s;
}

.deal-e {
  top: 52%;
  right: 10%;
  min-width: 66px;
  color: var(--green-dark);
  background: var(--green-soft);
  animation-delay: -0.7s;
}

.bubble-items {
  position: absolute;
  z-index: 1;
  width: 210px;
  height: 210px;
  pointer-events: none;
}

.bubble-left {
  left: clamp(72px, 10vw, 160px);
  bottom: clamp(118px, 19vh, 200px);
}

.bubble-right {
  right: clamp(56px, 8vw, 124px);
  top: clamp(112px, 17vh, 185px);
}

.bubble-items span {
  position: absolute;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(220, 232, 223, 0.9);
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(19, 65, 35, 0.08);
  font-size: 21px;
}

.bubble-items span:nth-child(1) {
  left: 18px;
  top: 36px;
}

.bubble-items span:nth-child(2) {
  right: 18px;
  top: 64px;
}

.bubble-items span:nth-child(3) {
  left: 72px;
  bottom: 18px;
}

.bubble-right span:nth-child(1) {
  left: 28px;
  top: 26px;
}

.bubble-right span:nth-child(2) {
  right: 8px;
  top: 78px;
}

.bubble-right span:nth-child(3) {
  left: 82px;
  bottom: 10px;
}

@keyframes deal-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-16px);
  }
}

@media (max-width: 980px) {
  .site-header {
    flex-wrap: wrap;
    min-height: auto;
    padding-block: 14px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    overflow-x: auto;
  }

  .hero,
  .how,
  .notify {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-bottom: 42px;
    background: linear-gradient(180deg, #fff 0%, #fff 48%, #f2fbf5 48%, #f2fbf5 100%);
  }

  .hero h1 {
    max-width: 14ch;
  }

  .category-grid,
  .deal-grid,
  .name-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .notify form {
    max-width: 560px;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .site-header {
    gap: 14px;
  }

  .header-action {
    width: 44px;
    padding: 0;
    font-size: 0;
  }

  .hero {
    padding-top: 34px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-actions,
  .button,
  .notify form {
    width: 100%;
  }

  .shelf,
  .category-grid,
  .deal-grid,
  .name-grid {
    grid-template-columns: 1fr;
  }

  .mini-product:nth-child(n) {
    transform: none;
  }

  .mini-product,
  .mini-product.tall {
    min-height: 0;
  }

  .mini-product img,
  .mini-product.tall img {
    height: 190px;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

  .notify {
    margin-inline: 20px;
  }

  .notify form {
    flex-direction: column;
  }

  .coming-main {
    min-height: calc(100vh - 64px);
    padding: 20px;
  }

  .coming-card {
    padding: 28px 20px 34px;
  }

  .coming-card h1 {
    font-size: 58px;
  }

  .coming-notify form {
    flex-direction: column;
  }

  .floating-deal {
    min-width: 58px;
    height: 38px;
    font-size: 13px;
  }

  .deal-a {
    top: 8%;
    left: 8%;
  }

  .deal-b {
    top: 12%;
    right: 6%;
  }

  .deal-c {
    right: 10%;
    bottom: 9%;
  }

  .deal-d,
  .deal-e,
  .bubble-items {
    display: none;
  }
}
