:root {
  --paper: #fbfaf7;
  --ivory: #f4efe7;
  --white: #ffffff;
  --ink: #1f1d1a;
  --muted: #766f66;
  --line: #ded4c4;
  --gold: #b7975f;
  --rose: #d8a5a6;
  --sage: #8e9d87;
  --blue: #dce9ee;
  --shadow: 0 22px 58px rgba(66, 55, 40, .13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans Thai", "Noto Sans Arabic", "Noto Sans Devanagari", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  letter-spacing: 0;
}

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

img {
  display: block;
  max-width: 100%;
}

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

button,
select {
  cursor: pointer;
}

.promo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--ink);
  color: white;
  text-align: center;
  font-size: 13px;
}

.promo-strip span {
  padding: 10px 14px;
  border-right: 1px solid rgba(255, 255, 255, .18);
}

.promo-strip span:last-child {
  border-right: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(251, 250, 247, .9);
  border-bottom: 1px solid rgba(183, 151, 95, .18);
  backdrop-filter: blur(18px);
}

.brand-mark {
  display: grid;
  line-height: 1;
  min-width: 142px;
  font-weight: 800;
}

.brand-mark span {
  font-size: 20px;
}

.brand-mark small {
  color: var(--gold);
  font-size: 11px;
  letter-spacing: .22em;
}

.desktop-nav,
.site-footer nav,
[data-mobile-nav] {
  display: flex;
  gap: clamp(16px, 2.6vw, 34px);
  color: var(--muted);
  font-size: 14px;
}

.desktop-nav a:hover,
.site-footer a:hover {
  color: var(--ink);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-select,
.cart-button,
.menu-button,
.icon-button,
.primary-link,
.secondary-link,
.checkout-button,
.add-button,
.newsletter-form button {
  border: 1px solid var(--gold);
}

.language-select {
  min-height: 42px;
  padding: 0 12px;
  background: white;
  color: var(--ink);
}

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 15px;
  color: var(--ink);
  background: white;
}

.cart-button strong {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: white;
  background: var(--ink);
  border-radius: 50%;
  font-size: 12px;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  background: white;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  min-height: calc(100vh - 92px);
  padding: clamp(44px, 7vw, 90px) clamp(18px, 5vw, 72px) 44px;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, .94), rgba(251, 250, 247, .8)),
    linear-gradient(140deg, #f8f4ec 0%, #ffffff 48%, #eaf1ee 100%);
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 12px;
  font-size: clamp(52px, 8vw, 112px);
  line-height: .9;
  font-weight: 900;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.08;
}

h3 {
  margin-bottom: 8px;
  font-size: 19px;
  line-height: 1.2;
}

.hero-thai {
  color: var(--rose);
  font-size: clamp(20px, 2.6vw, 34px);
  line-height: 1.35;
}

.hero-text,
.section-copy p,
.section-heading p,
.module-card p,
.product-card p,
.cart-summary p,
.site-footer p {
  color: var(--muted);
  line-height: 1.75;
}

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

.primary-link,
.secondary-link,
.checkout-button,
.add-button,
.newsletter-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  background: transparent;
}

.primary-link,
.checkout-button,
.add-button,
.newsletter-form button {
  color: white;
  background: var(--ink);
  border-color: var(--ink);
}

.secondary-link {
  background: rgba(255, 255, 255, .55);
  color: var(--ink);
}

.hero-visual {
  position: relative;
  min-height: 580px;
}

.hero-visual .model {
  position: absolute;
  right: 26%;
  bottom: 0;
  width: min(46vw, 420px);
  height: 560px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.hero-visual .product {
  position: absolute;
  right: 0;
  top: 34px;
  width: min(34vw, 330px);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 12px solid rgba(255,255,255,.84);
  box-shadow: 0 18px 45px rgba(40, 34, 28, .16);
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: white;
}

.trust-row article {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px clamp(16px, 3vw, 30px);
  border-right: 1px solid var(--line);
}

.trust-row article:last-child {
  border-right: 0;
}

.trust-row span {
  color: var(--gold);
}

.section,
.proof-section {
  padding: clamp(56px, 8vw, 100px) clamp(18px, 5vw, 72px);
}

.compact-section {
  background: var(--white);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}

.section-heading p:last-child {
  max-width: 560px;
}

.concern-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.concern-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  padding: 18px;
  background: linear-gradient(150deg, white, var(--ivory));
  border: 1px solid var(--line);
  font-weight: 800;
}

.concern-card strong {
  color: var(--gold);
}

.story-section {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
  background: var(--paper);
}

.section-copy {
  max-width: 620px;
}

.story-section img,
.series-feature img,
.proof-grid img,
.media-grid img,
.media-grid video {
  width: 100%;
  box-shadow: var(--shadow);
}

.shop-section {
  background: white;
}

.muted-band {
  background: var(--ivory);
}

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

[data-product-section="sets"],
[data-product-section="new"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card,
.module-card {
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(183, 151, 95, .24);
}

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 500px;
}

.product-media {
  position: relative;
  display: grid;
  place-items: center;
  height: 230px;
  overflow: hidden;
  background: linear-gradient(145deg, #fff, #f1ece3);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
}

.sale-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  padding: 6px 10px;
  color: white;
  background: var(--sage);
  font-size: 12px;
  font-weight: 800;
}

.product-body {
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.tag {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}

.shade-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0;
}

.shade-list span {
  padding: 5px 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.review-line {
  margin-top: auto;
  color: var(--gold);
  font-size: 13px;
}

.review-line span {
  color: var(--muted);
}

.product-meta {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 12px;
}

.price {
  font-size: 20px;
  font-weight: 900;
}

.compare-price {
  color: var(--muted);
  text-decoration: line-through;
}

.add-button {
  width: 100%;
  margin-top: 16px;
}

.series-feature {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
  padding: clamp(56px, 8vw, 104px) clamp(18px, 5vw, 72px);
  background: linear-gradient(120deg, var(--blue), white 54%, var(--ivory));
}

.series-copy {
  max-width: 560px;
}

.proof-section {
  background: white;
}

.proof-grid,
.media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.media-grid video {
  aspect-ratio: 16 / 9;
  background: var(--ink);
  object-fit: cover;
}

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

.module-card {
  padding: 26px;
}

.module-card span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  margin-bottom: 20px;
  color: white;
  background: var(--sage);
  font-size: 12px;
}

.newsletter-section {
  display: grid;
  justify-items: center;
  padding: clamp(60px, 8vw, 100px) 18px;
  text-align: center;
  background: var(--ink);
  color: white;
}

.newsletter-section h2 {
  max-width: 720px;
}

.newsletter-form {
  display: flex;
  width: min(560px, 100%);
  margin-top: 18px;
}

.newsletter-form input {
  flex: 1;
  min-width: 0;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .08);
  color: white;
}

.newsletter-form button {
  min-height: 52px;
  border-color: white;
}

.cart-drawer,
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  justify-content: end;
  background: rgba(31, 29, 26, .32);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}

.cart-drawer.is-open,
.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cart-panel,
.mobile-menu-panel {
  width: min(460px, 100%);
  height: 100%;
  padding: 28px;
  background: var(--paper);
  box-shadow: -18px 0 48px rgba(0, 0, 0, .18);
  transform: translateX(100%);
  transition: transform .22s ease;
}

[dir="rtl"] .cart-panel,
[dir="rtl"] .mobile-menu-panel {
  transform: translateX(-100%);
}

.cart-drawer.is-open .cart-panel,
.mobile-menu.is-open .mobile-menu-panel {
  transform: translateX(0);
}

.cart-panel {
  display: flex;
  flex-direction: column;
}

.cart-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.icon-button {
  width: 42px;
  height: 42px;
  color: var(--ink);
  background: white;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.cart-items {
  flex: 1;
  overflow: auto;
  padding: 18px 0;
}

.cart-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.qty {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.qty button {
  width: 30px;
  height: 30px;
  background: white;
  border: 1px solid var(--line);
}

.cart-summary {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.cart-summary div {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 20px;
}

.checkout-button {
  width: 100%;
}

.mobile-menu-panel nav {
  display: grid;
  gap: 18px;
  margin: 24px 0;
  font-size: 22px;
}

.mega-menu {
  display: grid;
  gap: 18px;
  color: var(--muted);
}

.mega-menu div {
  display: grid;
  gap: 8px;
}

.mega-menu strong {
  color: var(--ink);
}

.site-footer {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 28px;
  padding: 34px clamp(18px, 5vw, 72px);
  background: white;
  border-top: 1px solid var(--line);
}

@media (max-width: 1080px) {
  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .site-header {
    grid-template-columns: auto auto 1fr;
  }

  .header-tools {
    justify-self: end;
  }

  .hero,
  .story-section,
  .series-feature {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 500px;
  }

  .hero-visual .model {
    left: 0;
    right: auto;
    width: 58%;
  }

  .hero-visual .product {
    width: 46%;
  }

  .trust-row,
  .concern-grid,
  .product-row,
  [data-product-section="sets"],
  [data-product-section="new"],
  .module-grid,
  .proof-grid,
  .media-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .promo-strip {
    grid-template-columns: 1fr;
  }

  .promo-strip span:nth-child(n+2) {
    display: none;
  }

  .site-header {
    gap: 10px;
    padding: 12px 14px;
  }

  .brand-mark {
    min-width: 106px;
  }

  .brand-mark span {
    font-size: 16px;
  }

  .language-select {
    max-width: 92px;
  }

  .cart-button span {
    display: none;
  }

  .hero {
    padding-top: 42px;
  }

  h1 {
    font-size: clamp(48px, 14vw, 68px);
  }

  .hero-visual {
    min-height: 390px;
  }

  .hero-visual .model {
    width: 64%;
    height: 380px;
  }

  .hero-visual .product {
    top: 44px;
    width: 50%;
    border-width: 8px;
  }

  .section-heading,
  .site-footer {
    display: block;
  }

  .trust-row,
  .concern-grid,
  .product-row,
  [data-product-section="sets"],
  [data-product-section="new"],
  .module-grid,
  .proof-grid,
  .media-grid {
    grid-template-columns: 1fr;
  }

  .trust-row article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .product-card {
    min-height: 0;
  }

  .newsletter-form {
    display: grid;
  }
}
