/* =========================================================
   VERIDIAN GLOBAL — DESIGN SYSTEM
   ---------------------------------------------------------
   Visual direction:
   "Kawaii Beauty × Premium Commerce × Thai Modern"

   The logo uses green, pink, cream and rounded forms.
   We convert that into a commercial system rather than
   simply repeating logo colors everywhere.
   ========================================================= */

:root {
  --bg: #fffaf7;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-solid: #ffffff;
  --text: #1d2a22;
  --muted: #6f7b74;

  --green-900: #183f2c;
  --green-700: #2d7b49;
  --green-500: #64b65f;
  --green-200: #dff1d9;

  --pink-600: #e96d88;
  --pink-400: #f49ab0;
  --pink-200: #ffe0e8;

  --cream: #fff2df;
  --gold: #cda268;
  --dark: #183027;

  --border: rgba(24, 63, 44, 0.10);
  --shadow: 0 24px 80px rgba(40, 84, 61, 0.12);
  --shadow-soft: 0 12px 32px rgba(40, 84, 61, 0.10);

  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;

  --container: 1180px;
  --header-h: 74px;

  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 6%, rgba(244, 154, 176, .13), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(100, 182, 95, .13), transparent 30%),
    var(--bg);
  font-family:
    Inter, "Noto Sans Thai", "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

button,
a,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

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

.section-shell {
  width: min(calc(100% - 32px), var(--container));
  margin-inline: auto;
}

/* ---------- ambient shapes ---------- */
.ambient {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .14;
  pointer-events: none;
  z-index: -1;
}

.ambient--one {
  background: var(--pink-400);
  top: 8%;
  left: -180px;
}

.ambient--two {
  background: var(--green-500);
  right: -220px;
  top: 34%;
}

/* ---------- floating header ---------- */
.site-header {
  position: sticky;
  top: 12px;
  z-index: 60;
  width: min(calc(100% - 24px), 1220px);
  min-height: var(--header-h);
  margin: 12px auto 0;
  padding: 10px 14px 10px 12px;

  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;

  background: rgba(255, 255, 255, .74);
  border: 1px solid rgba(255, 255, 255, .92);
  box-shadow: 0 16px 46px rgba(30, 64, 46, .09);
  backdrop-filter: blur(18px);
  border-radius: 999px;
  transition: .25s ease;
}

.site-header.is-scrolled {
  transform: translateY(-3px);
  background: rgba(255,255,255,.9);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand__logo {
  /* Full logo: never crop the artwork inside the navigation. */
  width: 52px;
  height: 52px;
  padding: 3px;
  object-fit: contain;
  object-position: center;
  border-radius: 16px;
  background: rgba(255,255,255,.82);
  box-shadow: var(--shadow-soft);
  animation: brandLogoFloat 4.8s ease-in-out infinite;
  transform-origin: center;
  will-change: transform;
}

.brand:hover .brand__logo {
  animation-play-state: paused;
  transform: translateY(-2px) scale(1.045);
}

.brand__text {
  font-weight: 800;
  white-space: nowrap;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: .94rem;
  color: #526158;
}

.nav a {
  transition: .2s ease;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.language-switch {
  display: flex;
  padding: 4px;
  background: #f1f4f0;
  border-radius: 999px;
}

.lang-btn {
  border: 0;
  min-width: 42px;
  padding: 8px 10px;
  background: transparent;
  color: #748078;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
}

.lang-btn.is-active {
  background: #fff;
  color: var(--green-900);
  box-shadow: 0 4px 12px rgba(31,67,48,.10);
}

.icon-btn {
  position: relative;
  border: 1px solid var(--border);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  cursor: pointer;
}

.cart-badge {
  position: absolute;
  right: -1px;
  top: -4px;
  min-width: 20px;
  height: 20px;
  padding-inline: 5px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--pink-600);
  font-size: .7rem;
  font-weight: 800;
}

/* ---------- common ---------- */
.eyebrow,
.eyebrow-text {
  color: var(--green-700);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(255,255,255,.72);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.eyebrow__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-500), var(--pink-400));
  box-shadow: 0 0 0 5px rgba(100, 182, 95, .12);
}

.gradient-text {
  background: linear-gradient(135deg, var(--green-700), var(--pink-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn {
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
  transition: .22s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
  box-shadow: 0 14px 28px rgba(69, 139, 82, .22);
}

.btn--ghost {
  background: rgba(255,255,255,.62);
  border: 1px solid var(--border);
}

.btn--light {
  background: #fff;
  color: var(--green-900);
}

.btn--compact {
  min-height: 44px;
  padding-inline: 16px;
  font-size: .9rem;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  align-items: end;
  gap: 28px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 8px 0 0;
  font-size: clamp(2rem, 4vw, 4.3rem);
  line-height: .98;
  letter-spacing: -.04em;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
}

/* ---------- HERO ---------- */
.hero {
  min-height: 760px;
  padding: 76px 0 54px;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 34px;
}

.hero h1 {
  margin: 22px 0 18px;
  max-width: 780px;
  font-size: clamp(3.4rem, 7vw, 7.4rem);
  line-height: .92;
  letter-spacing: -.065em;
}

.hero h1 span {
  display: block;
}

.hero__lead {
  max-width: 660px;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero__trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 36px;
}

.hero__trust div {
  padding: 16px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.62);
  border-radius: 18px;
}

.hero__trust strong,
.hero__trust span {
  display: block;
}

.hero__trust strong {
  font-size: .86rem;
}

.hero__trust span {
  margin-top: 3px;
  font-size: .78rem;
  color: var(--muted);
}

.hero__visual {
  position: relative;
  min-height: 600px;
}

.hero-card--main {
  position: absolute;
  inset: 42px 34px 44px 52px;
  display: grid;
  place-items: center;
  border-radius: 48px;
  background:
    radial-gradient(circle at 28% 20%, rgba(255,255,255,.9), transparent 30%),
    linear-gradient(145deg, #f5ffe9, #ffe9ef 70%, #fff5e8);
  border: 1px solid rgba(255,255,255,.95);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: rotate(2deg);
}

.hero-card--main::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(45,123,73,.14);
  right: -86px;
  bottom: -86px;
}

.hero-card--main img {
  /* Hero logo must always be shown in full, with no edge cropping. */
  position: relative;
  z-index: 2;
  width: min(88%, 520px);
  height: min(88%, 520px);
  object-fit: contain;
  object-position: center;
  border-radius: 34px;
  box-shadow: 0 28px 60px rgba(32, 75, 48, .16);
  animation:
    heroLogoFloat 5.8s ease-in-out infinite,
    heroLogoBreath 7.2s ease-in-out infinite;
  transform-origin: center;
  will-change: transform, filter;
}

/* Soft cosmetic-style light sweep over the logo. */
.hero-card--main::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: -30%;
  left: -55%;
  width: 34%;
  height: 160%;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,.16),
    rgba(255,255,255,.58),
    rgba(255,255,255,.14),
    transparent
  );
  transform: rotate(18deg);
  animation: logoShine 6.8s ease-in-out infinite;
}

.floating-pill {
  position: absolute;
  z-index: 5;
  padding: 11px 15px;
  border-radius: 999px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(255,255,255,.95);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
  font-size: .72rem;
  letter-spacing: .12em;
  font-weight: 900;
}

.floating-pill--one { top: 26px; right: 28px; }
.floating-pill--two { left: 2px; bottom: 150px; }
.floating-pill--three { right: 0; bottom: 86px; }

.mini-stat {
  position: absolute;
  z-index: 6;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(255,255,255,.95);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}

.mini-stat--top {
  top: 112px;
  left: 0;
}

.mini-stat--bottom {
  right: 24px;
  bottom: 18px;
  display: block;
}

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

.mini-stat--bottom span {
  color: var(--muted);
  font-size: .76rem;
}

/* ---------- category rail ---------- */
.category-rail {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 12px 0 28px;
  scrollbar-width: none;
}

.category-rail::-webkit-scrollbar {
  display: none;
}

.category-chip {
  flex: 0 0 auto;
  border: 1px solid var(--border);
  padding: 12px 16px;
  border-radius: 999px;
  color: #617067;
  background: rgba(255,255,255,.66);
  cursor: pointer;
  font-weight: 700;
}

.category-chip.is-active {
  color: #fff;
  background: var(--green-900);
}

/* ---------- products ---------- */
.products-section {
  padding: 70px 0 90px;
}

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

.product-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  padding: 14px;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.94);
  background: rgba(255,255,255,.72);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
  transition: .24s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.product-card__media {
  position: relative;
  aspect-ratio: 1 / .92;
  border-radius: 20px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 25% 20%, rgba(255,255,255,.95), transparent 28%),
    linear-gradient(145deg, #f3ffe9, #ffe7ef);
}

.product-card__media::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 1px solid rgba(45,123,73,.10);
  right: -38px;
  top: -34px;
}

.product-visual {
  width: 58%;
  max-height: 74%;
  object-fit: contain;
  filter: drop-shadow(0 18px 18px rgba(46, 74, 54, .16));
}

.product-card__body {
  padding: 14px 4px 2px;
}

.product-card__category {
  color: var(--green-700);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.product-card h3 {
  margin: 5px 0 10px;
  font-size: 1.05rem;
}

.price-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
}

.price-stack span,
.price-stack strong {
  display: block;
}

.price-stack span {
  font-size: .72rem;
  color: var(--muted);
}

.price-stack strong {
  font-size: 1.18rem;
}

.wholesale-price {
  color: var(--pink-600);
  font-size: .76rem;
  font-weight: 800;
}

.add-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--green-900);
  cursor: pointer;
  font-size: 1.25rem;
}

/* ---------- bento ---------- */
.bento {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  grid-template-rows: repeat(2, minmax(220px, auto));
  gap: 18px;
  padding-bottom: 90px;
}

.bento-card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-card h3 {
  margin: 0 0 8px;
  max-width: 470px;
  font-size: clamp(1.7rem, 3.2vw, 3.7rem);
  line-height: 1;
  letter-spacing: -.04em;
}

.bento-card p {
  max-width: 500px;
  margin: 0;
  color: rgba(29, 42, 34, .68);
}

.bento-card__tag {
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .14em;
}

.bento-card__emoji {
  position: absolute;
  right: 28px;
  top: 28px;
  font-size: 3rem;
}

.bento-card--large {
  grid-row: span 2;
}

.bento-card--green {
  background: linear-gradient(145deg, #e5f8d8, #c7eca8);
}

.bento-card--pink {
  background: linear-gradient(145deg, #ffe7ed, #ffcbd8);
}

.bento-card--cream {
  background: linear-gradient(145deg, #fff4df, #ffe5b8);
}

.bento-card--dark {
  color: #fff;
  background:
    radial-gradient(circle at 88% 12%, rgba(244,154,176,.24), transparent 22%),
    var(--dark);
}

.bento-card--dark p {
  color: rgba(255,255,255,.66);
}

.text-link {
  font-weight: 800;
}

/* ---------- wholesale ---------- */
.wholesale {
  padding-bottom: 90px;
}

.wholesale__panel {
  overflow: hidden;
  border-radius: 46px;
  padding: 42px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 34px;
  color: #fff;
  background:
    radial-gradient(circle at 18% 0%, rgba(100,182,95,.38), transparent 34%),
    radial-gradient(circle at 100% 100%, rgba(244,154,176,.20), transparent 30%),
    #183027;
  box-shadow: var(--shadow);
}

.wholesale__intro h2 {
  margin: 10px 0 18px;
  max-width: 520px;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: .96;
  letter-spacing: -.05em;
}

.wholesale__intro p {
  color: rgba(255,255,255,.66);
  max-width: 560px;
}

.wholesale__intro .eyebrow-text {
  color: #b7e5b0;
}

.wholesale__intro .btn {
  margin-top: 18px;
}

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

.business-card {
  min-height: 180px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(12px);
}

.business-card > span {
  color: #b8d7c1;
  font-size: .78rem;
}

.business-card strong {
  font-size: 1.24rem;
}

.business-card small {
  color: rgba(255,255,255,.58);
}

/* ---------- story ---------- */
.story {
  padding-bottom: 90px;
}

.story__card {
  padding: 22px;
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 34px;
  align-items: center;
  border-radius: 38px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.95);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(15px);
}

.story__logo-wrap {
  min-height: 430px;
  padding: 28px;
  display: grid;
  place-items: center;
  border-radius: 30px;
  background: linear-gradient(145deg, #f1ffe7, #ffe9ef);
}

.story__logo-wrap img {
  width: min(92%, 430px);
  max-height: 390px;
  object-fit: contain;
  object-position: center;
  border-radius: 32px;
  box-shadow: var(--shadow-soft);
  animation: storyLogoFloat 6.4s ease-in-out infinite;
  transform-origin: center;
  will-change: transform;
}

.story__copy {
  padding-right: 32px;
}

.story__copy h2 {
  margin: 8px 0 16px;
  font-size: clamp(2.2rem, 4.4vw, 4.5rem);
  line-height: 1;
  letter-spacing: -.045em;
}

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

.company-meta {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.company-meta div {
  padding: 18px;
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--border);
}

.company-meta span,
.company-meta strong {
  display: block;
}

.company-meta span {
  color: var(--muted);
  font-size: .76rem;
  margin-bottom: 5px;
}

/* ---------- contact + map ---------- */
.contact {
  padding-bottom: 70px;
}

.contact__grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 18px;
}

.contact-card,
.map-card {
  min-height: 430px;
  border-radius: 38px;
  overflow: hidden;
}

.contact-card {
  padding: 34px;
  background: linear-gradient(145deg, #ffe8ee, #fff7f8);
  border: 1px solid rgba(255,255,255,.92);
}

.contact-card h2 {
  margin: 10px 0 28px;
  max-width: 520px;
  font-size: clamp(2rem, 3.7vw, 3.7rem);
  line-height: 1.02;
  letter-spacing: -.04em;
}

.contact-list {
  display: grid;
  gap: 10px;
}

.contact-list a {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.94);
  transition: .2s ease;
}

.contact-list a:hover {
  transform: translateX(4px);
}

.contact-list span {
  color: var(--muted);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.map-card {
  position: relative;
  background:
    linear-gradient(120deg, rgba(24,48,39,.94), rgba(24,48,39,.70)),
    linear-gradient(145deg, #caefb4, #ffd9e4);
}

.map-card__overlay {
  position: absolute;
  left: 34px;
  top: 34px;
  z-index: 3;
  max-width: 470px;
  color: #fff;
}

.map-card__overlay .eyebrow-text {
  color: #c8ebc2;
}

.map-card__overlay h3 {
  margin: 8px 0 14px;
  font-size: clamp(1.8rem, 3.2vw, 3.2rem);
  line-height: 1.02;
}

.map-card__overlay p {
  color: rgba(255,255,255,.72);
}

.map-card__overlay .btn {
  margin-top: 14px;
}

.map-card__art {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.map-card__art::before,
.map-card__art::after {
  content: "";
  position: absolute;
  width: 150%;
  height: 1px;
  background: rgba(255,255,255,.14);
  transform: rotate(-18deg);
}

.map-card__art::before { top: 58%; left: -20%; }
.map-card__art::after { top: 72%; left: -20%; }

.map-pin {
  position: absolute;
  right: 16%;
  bottom: 18%;
  width: 82px;
  height: 82px;
  border-radius: 50% 50% 50% 12px;
  transform: rotate(-45deg);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--pink-600), var(--pink-400));
  box-shadow: 0 20px 40px rgba(0,0,0,.22);
}

.map-pin::after {
  content: "♥";
  transform: rotate(45deg);
}

.map-pin {
  font-size: 0;
}

.map-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,.62);
}

.map-dot--one { top: 18%; right: 24%; }
.map-dot--two { top: 42%; right: 8%; }
.map-dot--three { bottom: 16%; left: 22%; }

/* ---------- footer ---------- */
.footer {
  min-height: 110px;
  padding: 24px 0 110px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: .84rem;
}

.footer strong,
.footer span {
  display: block;
}

/* ---------- floating cart bar ---------- */
.floating-cart {
  position: fixed;
  z-index: 70;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: min(calc(100% - 28px), 560px);
  min-height: 58px;
  padding: 8px 10px 8px 16px;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;

  color: #fff;
  background: rgba(24, 48, 39, .94);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 18px 44px rgba(20, 52, 36, .28);
  border-radius: 999px;
  backdrop-filter: blur(14px);
  cursor: pointer;
}

.floating-cart div {
  display: flex;
  align-items: center;
  gap: 9px;
}

/* ---------- cart bottom sheet ---------- */
.sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 89;
  opacity: 0;
  visibility: hidden;
  background: rgba(10, 22, 16, .36);
  backdrop-filter: blur(6px);
  transition: .25s ease;
}

.sheet-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
}

.cart-sheet {
  position: fixed;
  z-index: 90;
  left: 50%;
  bottom: 0;
  width: min(100%, 760px);
  max-height: 86vh;
  padding: 14px 22px 22px;
  overflow: auto;

  background: rgba(255,255,255,.97);
  border: 1px solid rgba(255,255,255,.96);
  border-radius: 34px 34px 0 0;
  box-shadow: 0 -24px 60px rgba(26, 56, 39, .20);

  transform: translate(-50%, 104%);
  transition: transform .34s cubic-bezier(.2,.8,.2,1);
}

.cart-sheet.is-open {
  transform: translate(-50%, 0);
}

.cart-sheet__handle {
  width: 52px;
  height: 5px;
  margin: 3px auto 18px;
  border-radius: 999px;
  background: #dce3dd;
}

.cart-sheet__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.cart-sheet__header h2 {
  margin: 4px 0 0;
  font-size: 2rem;
}

.cart-items {
  display: grid;
  gap: 10px;
}

.cart-empty {
  padding: 34px 16px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--border);
  border-radius: 22px;
}

.cart-item {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 10px;
  border-radius: 20px;
  background: #f8faf8;
  border: 1px solid var(--border);
}

.cart-item__thumb {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(145deg, #f2ffe9, #ffe4ec);
}

.cart-item__thumb img {
  width: 72%;
  max-height: 72%;
  object-fit: contain;
}

.cart-item h4 {
  margin: 0 0 4px;
  font-size: .96rem;
}

.cart-item__price {
  color: var(--muted);
  font-size: .82rem;
}

.qty {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty button {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

.cart-summary {
  position: sticky;
  bottom: -22px;
  margin: 18px -22px -22px;
  padding: 18px 22px 22px;
  background: rgba(255,255,255,.98);
  border-top: 1px solid var(--border);
}

.cart-summary > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.cart-summary strong {
  font-size: 1.45rem;
}

.btn--checkout {
  width: 100%;
}

.checkout-note {
  margin: 10px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: .75rem;
}


/* ---------- logo motion system ----------
   Slow, low-amplitude motion keeps the site premium instead of looking
   like an animated banner or GIF.
*/
@keyframes brandLogoFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50%      { transform: translate3d(0, -3px, 0) rotate(1.2deg); }
}

@keyframes heroLogoFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-1.4deg); }
  50%      { transform: translate3d(0, -12px, 0) rotate(1.4deg); }
}

@keyframes heroLogoBreath {
  0%, 100% { filter: saturate(1) drop-shadow(0 18px 18px rgba(46,74,54,.08)); }
  50%      { filter: saturate(1.06) drop-shadow(0 24px 24px rgba(46,74,54,.13)); }
}

@keyframes storyLogoFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50%      { transform: translate3d(0, -8px, 0) rotate(-1deg); }
}

@keyframes logoShine {
  0%, 17%   { left: -55%; opacity: 0; }
  24%       { opacity: 1; }
  42%       { left: 125%; opacity: 0; }
  100%      { left: 125%; opacity: 0; }
}

/* Respect accessibility preferences. */
@media (prefers-reduced-motion: reduce) {
  .brand__logo,
  .hero-card--main img,
  .story__logo-wrap img,
  .hero-card--main::before {
    animation: none !important;
  }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .brand__text {
    font-size: .92rem;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 50px;
  }

  .hero__visual {
    min-height: 520px;
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .wholesale__panel,
  .story__card,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .story__copy {
    padding: 10px 8px 18px;
  }
}

@media (max-width: 680px) {
  :root {
    --radius-xl: 28px;
  }

  .section-shell {
    width: min(calc(100% - 20px), var(--container));
  }

  .site-header {
    top: 8px;
    width: calc(100% - 14px);
    margin-top: 8px;
    padding: 8px;
  }

  .brand__logo {
    width: 46px;
    height: 46px;
    padding: 3px;
    object-fit: contain;
    border-radius: 14px;
  }

  .brand__text {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 52px 0 38px;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 16vw, 5rem);
  }

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

  .hero__visual {
    min-height: 430px;
  }

  .hero-card--main {
    inset: 36px 18px 30px 28px;
    border-radius: 34px;
  }

  .hero-card--main img {
    width: 92%;
    height: 92%;
    object-fit: contain;
  }

  .floating-pill--one { right: 6px; }
  .floating-pill--two { left: 2px; bottom: 98px; }
  .floating-pill--three { right: 0; bottom: 46px; }

  .mini-stat--top {
    left: 0;
    top: 86px;
    max-width: 180px;
    font-size: .74rem;
  }

  .mini-stat--bottom {
    display: none;
  }

  .products-section,
  .wholesale,
  .story {
    padding-bottom: 60px;
  }

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

  .product-card {
    padding: 9px;
    border-radius: 20px;
  }

  .product-card__media {
    border-radius: 15px;
  }

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

  .bento {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .bento-card--large {
    grid-row: auto;
  }

  .wholesale__panel {
    padding: 26px 18px;
    border-radius: 32px;
  }

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

  .business-card {
    min-height: 155px;
    padding: 16px;
  }

  .story__card {
    padding: 10px;
    border-radius: 28px;
  }

  .story__logo-wrap {
    min-height: 300px;
  }

  .company-meta {
    grid-template-columns: 1fr;
  }

  .contact-card,
  .map-card {
    min-height: 420px;
    border-radius: 28px;
  }

  .contact-card {
    padding: 24px;
  }

  .map-card__overlay {
    left: 24px;
    top: 24px;
    right: 24px;
  }

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

  .cart-sheet {
    padding-inline: 14px;
  }

  .cart-summary {
    margin-inline: -14px;
    padding-inline: 14px;
  }
}

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

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

  .hero__actions .btn {
    width: 100%;
  }
}

/* =========================================================
   PRODUCT CATALOG — 50 real products
   Product photography is extracted from the supplied DOCX
   and converted to WebP. Cards use object-fit: contain so
   packaging is never cropped.
   ========================================================= */
.product-card__media {
  background: linear-gradient(145deg, #fffdfb, #fff6f8);
}

.product-visual {
  width: 88%;
  height: 88%;
  max-height: 88%;
  object-fit: contain;
  border-radius: 12px;
  filter: drop-shadow(0 12px 18px rgba(46, 74, 54, .10));
}

.product-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.product-card__number {
  color: var(--muted);
  font-size: .68rem;
  font-weight: 800;
  white-space: nowrap;
}

.product-card h3 {
  min-height: 3.15em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.42;
}

.price-stack {
  min-width: 0;
}

@media (max-width: 680px) {
  .product-card h3 {
    min-height: auto;
  }
}

/* Prevent a Thai-to-English flash when a returning visitor has EN saved. */
body { opacity: 0; }
body.is-ready { opacity: 1; transition: opacity .18s ease; }


/* =========================================================
   FULL BRAND LOGO GUARANTEE
   ---------------------------------------------------------
   The previous EN mode used a cropped alternate image.
   These rules ensure the complete square brand artwork is
   visible in every placement and never clipped by sizing.
   ========================================================= */

.brand__logo,
.hero-card--main img[data-logo-switch],
.story__logo-wrap img[data-logo-switch] {
  object-fit: contain !important;
  object-position: center !important;
}

/* The hero brand stage gives the square logo enough room to show all Thai
   lettering, cosmetic elements and the bottom heart without clipping. */
.hero-card--main {
  padding: 24px !important;
}

.hero-card--main img[data-logo-switch] {
  width: min(92%, 540px) !important;
  height: auto !important;
  max-width: 92% !important;
  max-height: 92% !important;
  aspect-ratio: 1 / 1;
}

/* Full logo remains inside the About card as well. */
.story__logo-wrap img[data-logo-switch] {
  width: min(94%, 440px) !important;
  height: auto !important;
  max-height: 94% !important;
  aspect-ratio: 1 / 1;
}

/* Navigation uses a small but fully contained version. */
.brand__logo[data-logo-switch] {
  padding: 2px !important;
  object-fit: contain !important;
}

@media (max-width: 680px) {
  .hero-card--main {
    padding: 14px !important;
  }

  .hero-card--main img[data-logo-switch] {
    width: 96% !important;
    max-width: 96% !important;
    max-height: 96% !important;
  }
}
