/*------------------------------------------------------------------
[SJÖ SKINCARE — ORIGINAL DESIGN SYSTEM]

Palette:
  White      #FFFFFF  page background
  Green      #3D7A3D  primary accent, buttons, links, icons
  Deep green #2B5B2B  hover / darker accents
  Sage       #8FBC8F  button gradient base
  Brown      #8B7355  headings
  Ink        #4A4A4A  body text
  Border     #D1D1D1  light dividers

Type:
  Serif     "EB Garamond" — English text, numbers, branding
  Thai      "Noto Sans Thai" — all Thai typography
-------------------------------------------------------------------*/

:root {
  --primary: #3D7A3D;
  --primary-dark: #2B5B2B;
  --primary-darker: #2d5a2d;
  --cream: #FFFFFF;
  --sage: rgba(143, 188, 143, 0.15);
  --ink: #4A4A4A;
  --hairline: #D1D1D1;
  --accent: #3D7A3D;
  --serif: "EB Garamond", Georgia, serif;
}

/* Skip to content link */
.skip-link {
  position: absolute;
  top: -50px;
  left: 0;
  background: var(--primary);
  color: #fff;
  padding: 10px 20px;
  z-index: 10000;
  transition: top 0.3s;
}
.skip-link:focus {
  top: 0;
}

/* Video modal for shorts (9:16 aspect ratio) */
#videoModal .modal-dialog {
  max-width: 315px;
  margin: 1.75rem auto;
}
#videoModal .modal-content {
  width: 315px;
}
#videoModal iframe {
  display: block;
  width: 315px;
  height: 560px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/*  typography */
body {
  line-height: 1.7;
  font-family: "Noto Sans Thai", sans-serif;
  -webkit-font-smoothing: antialiased;
  font-size: 18px;
  color: var(--ink);
  background-color: var(--cream);
  overflow-x: hidden;
}

p, .paragraph {
  font-weight: 300;
  color: var(--ink);
  font-size: 18px;
  line-height: 2.05;
  font-family: "Noto Sans Thai", sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  color: #8B7355;
  font-family: "Noto Sans Thai", sans-serif;
  font-weight: 300;
  line-height: 1.35;
  letter-spacing: 0.005em;
}

h1, .h1 {
  font-size: 54px;
}

h2, .h2 {
  font-size: 44px;
}

h3, .h3 {
  font-size: 25px;
}

h4, .h4 {
  font-size: 20px;
}

h5, .h5 {
  font-size: 18px;
}

h6, .h6 {
  font-size: 18px;
}

/* Button style */
.btn {
  font-size: 15px;
  font-family: "Noto Sans Thai", sans-serif;
  letter-spacing: 0.08em;
  padding: 15px 44px;
  border-radius: 0;
  font-weight: 500;
  border: 1px solid transparent;
  position: relative;
  z-index: 1;
  transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}
.btn:hover, .btn:active, .btn:focus {
  outline: 0;
  box-shadow: none !important;
}

.btn-sm {
  padding: 11px 32px;
  font-size: 14px;
}

.btn-primary {
  background: linear-gradient(27deg, #8FBC8F 0%, #8FBC8F 100%);
  color: #fff;
  border-color: var(--primary);
}
.btn-primary:active, .btn-primary:hover, .btn-primary.focus, .btn-primary.active {
  background: linear-gradient(27deg, #8FBC8F 0%, #8FBC8F 100%) !important;
  border-color: var(--primary-dark) !important;
  color: #fff !important;
}

.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
  transition: none;
}
.btn-outline-primary:active, .btn-outline-primary:hover, .btn-outline-primary.focus, .btn-outline-primary.active {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #fff !important;
}

.btn-light {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.btn-light:active, .btn-light:hover, .btn-light.focus, .btn-light.active {
  background: var(--cream) !important;
  border-color: var(--cream) !important;
  color: var(--ink) !important;
}

.btn-play {
  height: 50px;
  width: 50px;
  padding: 0;
  line-height: 45px;
  display: inline-block;
  border-radius: 50%;
  text-align: center;
  color: #fff;
}

.btn-play-lg {
  height: 70px;
  width: 70px;
  padding: 0;
  line-height: 70px;
  display: inline-block;
  border-radius: 50%;
  text-align: center;
  color: #fff;
  font-size: 30px;
  box-shadow: 0 0 0 20px rgba(255, 255, 255, 0.35);
  transition: box-shadow 0.4s ease;
}
.btn-play-lg:hover {
  box-shadow: 0 0 0 25px rgba(255, 255, 255, 0.35);
}

@media (max-width: 534px) {
  html, body {
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
  }
  .container {
    max-width: 100%;
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }
  img, iframe, video, figure {
    max-width: 100%;
    height: auto;
  }
  .material-section .col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

::selection {
  background: var(--primary);
  color: #fff;
}

/* preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #fff;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader img {
  max-width: 300px;
  max-height: 300px;
  width: 100%;
  height: auto;
}

/* CTA Section */
.cta-section {
  position: relative;
  z-index: 1;
  padding-bottom: 40px;
}

.cta-image-wrapper {
  position: relative;
  z-index: 2;
  margin-top: -60px;
  min-height: 250px;
}

.cta-image {
  width: 100%;
  max-width: 350px;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  position: absolute;
  bottom: 0;
  right: 0;
}

.overlay-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
}

a,
a:hover,
a:focus {
  text-decoration: none;
}

a,
button,
select {
  cursor: pointer;
  transition: color 0.4s ease, background-color 0.4s ease, border-color 0.4s ease;
}
a:focus,
button:focus,
select:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
select:focus:not(:focus-visible) {
  outline: 0;
}

a:focus-visible,
button:focus-visible,
select:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

a:hover {
  color: var(--primary);
}

.slick-slide {
  outline: 0;
}

.section {
  padding-top: 140px;
  padding-bottom: 140px;
}
.section-sm {
  padding-top: 70px;
  padding-bottom: 70px;
}

.bg-cover {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.border-primary {
  border-color: var(--hairline) !important;
}

/* overlay */
.overlay {
  position: relative;
}
.overlay::before {
  position: absolute;
  content: "";
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  background: #000;
  opacity: 0.5;
}

.outline-0 {
  outline: 0 !important;
}

.d-unset {
  display: unset !important;
}

.bg-primary {
  background: var(--primary) !important;
}

.bg-gradient {
  background: linear-gradient(27deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
}

.hover-shadow {
  transition: box-shadow 0.4s ease;
}
.hover-shadow:hover {
  box-shadow: 0 12px 30px rgba(26, 26, 26, 0.08) !important;
}

.text-primary {
  color: var(--primary) !important;
}

.text-color {
  color: var(--ink);
}

.mb-10 {
  margin-bottom: 10px !important;
}

.mb-20 {
  margin-bottom: 20px !important;
}

.mb-30 {
  margin-bottom: 30px !important;
}

.mb-40 {
  margin-bottom: 40px !important;
}

.mb-50 {
  margin-bottom: 50px !important;
}

.mb-60 {
  margin-bottom: 60px !important;
}

.mb-70 {
  margin-bottom: 70px !important;
}

.mb-80 {
  margin-bottom: 80px !important;
}

.mb-90 {
  margin-bottom: 90px !important;
}

.mb-100 {
  margin-bottom: 100px !important;
}

.zindex-1 {
  z-index: 1;
}

.top-100 {
  top: 100px;
}

.overflow-hidden {
  overflow: hidden;
}

.font-weight-medium {
  font-weight: 500 !important;
}

.border-primary {
  border-color: var(--primary) !important;
}

/* form control */
.form-control {
  height: 52px;
  border: 1px solid var(--hairline);
  border-radius: 0;
  background: #fff;
}
.form-control:focus {
  outline: 0;
  box-shadow: none;
  border-color: var(--primary);
}

textarea.form-control {
  height: 100px;
}

.badge-primary {
  background: var(--primary);
}

/* nav-tab */
.nav-tabs {
  margin-bottom: 20px;
  border-bottom: 1px solid var(--hairline);
}
.nav-tabs .nav-item {
  margin-right: 10px;
}
.nav-tabs .nav-item .nav-link {
  border: 0;
  padding: 10px 0;
  color: var(--ink);
  font-weight: 500;
}
.nav-tabs .nav-item .nav-link.active {
  color: var(--primary);
}

/* navigation — minimal, hairline divider */
.navigation {
  transition: background-color 0.4s ease, border-color 0.4s ease;
  background: #fff;
  border-bottom: 1px solid transparent;
}
@media (max-width: 991px) {
  .navigation {
    border-bottom: 1px solid var(--hairline);
  }
  .navigation .navbar {
    padding: 10px 0;
  }
}
.navigation.sticky-top {
  z-index: 9999;
}

.nav-bg {
  border-bottom: 1px solid var(--hairline);
}
.nav-bg .navbar {
  padding: 10px 0;
}

.navbar {
  padding: 22px 0;
  transition: padding 0.4s ease;
}
.navbar .dropdown:hover .dropdown-menu {
  visibility: visible;
  opacity: 1;
  transform: scaleX(1);
}
.navbar .dropdown-menu {
  box-shadow: 0 10px 30px rgba(26, 26, 26, 0.08);
  padding: 15px;
  border: 1px solid var(--hairline);
  border-radius: 0;
  top: 50px;
  left: -10px;
  display: block;
  visibility: hidden;
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
  opacity: 0;
  transform: scale(0.98);
  background: #fff;
}
@media (max-width: 991px) {
  .navbar .dropdown-menu {
    display: none;
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    transform-origin: unset;
  }
}
.navbar .dropdown-menu.show {
  visibility: hidden;
}
@media (max-width: 991px) {
  .navbar .dropdown-menu.show {
    visibility: visible;
    display: block;
  }
}
.navbar .dropdown-item {
  color: var(--ink);
  transition: color 0.4s ease;
  padding: 10px;
}
.navbar .dropdown-item:hover {
  color: var(--primary);
  background: transparent;
}

.nav-item {
  margin: 0;
}
.nav-item .nav-link {
  font-size: 16px;
  letter-spacing: 0.04em;
}

.navbar-light .navbar-nav .nav-link {
  color: var(--ink);
}
.navbar-light .navbar-nav .nav-link:hover {
  color: var(--primary);
}

.navbar-expand-lg .navbar-nav .nav-link {
  padding: 20px;
}

/* search */
.search-btn {
  border: 0;
  background: transparent;
  color: #fff;
}

.search-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  z-index: 2;
  visibility: hidden;
  transition: 0.4s ease;
  opacity: 0;
}
.search-wrapper.open {
  visibility: visible;
  opacity: 1;
}

.search-box {
  height: 100%;
  width: 100%;
  border: 0;
  background: #fff;
  font-size: 20px;
  padding: 0;
}
.search-box:focus {
  box-shadow: none !important;
}

.search-close {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  page-break-after: 10px;
  font-size: 20px;
}

/* cart */
.cart {
  background: transparent;
  border: 0;
  position: relative;
}
@media (max-width: 991px) {
  .cart {
    position: absolute;
    top: 23px;
    right: 50px;
  }
}
.cart .badge {
  position: absolute;
  top: -5px;
  border-radius: 50%;
  right: -10px;
}

.overlay-image {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 100%;
  width: 100%;
}

.cta-image {
  position: absolute;
  bottom: 0;
  left: 60%;
}
@media (max-width: 767px) {
  .cta-image {
    padding-top: 100px;
    left: unset;
  }
}
@media (max-width: 449px) {
  .cta-image {
    padding-top: 170px;
  }
}

.img-border {
  position: relative;
  display: inline-block;
  width: 100%;
}
.img-border .video-btn-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
}
/* Floating offset hairline frame, shifted 20px down and right */
.img-border::before {
  position: absolute;
  content: "";
  top: 20px;
  left: 20px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--primary);
  border-radius: inherit;
  z-index: 0;
  pointer-events: none;
  transition: border-color 0.4s ease;
}
@media (max-width: 768px) {
  .img-border::before {
    top: 25px;
    left: 25px;
  }
}
.img-border img {
  position: relative;
  z-index: 1;
  display: block;
}
.img-border:hover::before {
  border-color: var(--primary-darker);
}

.content-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

/* testimonial */
.testimonial-slider {
  margin-bottom: 80px;
}
.testimonial-slider .slick-slide {
  margin-top: 80px;
}

.client-img {
  height: 100px;
  width: 100px;
  border-radius: 50%;
  border: 1px solid var(--primary);
  margin: -70px auto 20px;
}

/* rating */
.rating.five li i {
  color: #f9aa1f;
}
.rating.four li:not(:last-child) i {
  color: #f9aa1f;
}
.rating.three li i {
  color: #f9aa1f;
}
.rating.three li:last-child i {
  color: var(--hairline);
}
.rating.three li:nth-child(4) i {
  color: var(--hairline);
}
.rating.two li:first-child i {
  color: #f9aa1f;
}
.rating.two li:nth-child(2) i {
  color: #f9aa1f;
}
.rating.one li:first-child i {
  color: #f9aa1f;
}

/* /rating */
.slick-arrow {
  position: absolute;
  z-index: 1;
  border: 0;
  transition: all linear 0.4s;
  background: transparent;
  bottom: -50px;
}
.slick-arrow.prevArrow {
  left: calc(50% - 50px);
}
.slick-arrow.nextArrow {
  right: calc(50% - 50px);
}

.quoted {
  position: relative;
  padding: 0 10px;
}
.quoted::before {
  position: absolute;
  font-family: "themify";
  content: "\e67f";
  left: -10px;
  top: -5px;
}
.quoted::after {
  position: absolute;
  font-family: "themify";
  content: "\e67e";
  right: -10px;
  top: -5px;
}

/* google map */
#map_canvas {
  height: 450px;
}

/* blog */
.pagination {
  justify-content: center;
}
.pagination .page-item .page-link {
  display: inline-block;
  width: 42px;
  height: 42px;
  border-radius: 0;
  border: 1px solid var(--hairline);
  background: transparent;
  text-align: center;
  line-height: 40px;
  margin-right: 6px;
  font-weight: 500;
  color: var(--primary);
}
.pagination .page-item .page-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.pagination .page-item:first-child .page-link, .pagination .page-item:last-child .page-link {
  border-radius: 0;
}
.pagination .page-item.active .page-link {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* content style */
.content * {
  margin-bottom: 20px;
}
.content a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.content h1,
.content h2,
.content h3,
.content h4,
.content h5,
.content h6 {
  margin-bottom: 10px;
}
.content ol {
  padding-left: 20px;
}
.content ul {
  padding-left: 0;
}
.content ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  list-style-type: none;
}
.content ul li::before {
  position: absolute;
  content: "\e65d";
  font-family: "themify";
  font-size: 14px;
  left: 0;
  top: 1px;
  color: var(--primary);
  transition: color 0.4s ease;
}
.content table {
  text-align: left;
  width: 100%;
  max-width: 100%;
  margin-bottom: 1rem;
  border: 1px solid var(--hairline);
}
.content table th,
.content table td {
  padding: 0.75rem;
  vertical-align: top;
  border: 1px solid var(--hairline);
}
.content table thead {
  background: #f8f9fa;
}
.content table tbody {
  background: #fff;
}
.content table tbody tr:nth-child(even) {
  background: #f8f9fa;
}
.content table tbody td {
  text-align: left !important;
}
.content blockquote {
  border-left: 1px solid var(--primary);
  padding: 20px;
}
.content blockquote p {
  margin-bottom: 0;
  color: var(--ink);
  font-style: italic;
  font-size: 21px;
  font-weight: 400;
}
.content pre {
  padding: 10px 20px;
  background: rgb(223, 223, 223);
}

/* snipcart */
.snip-layout .snip-layout__main-container {
  top: 100px;
}

.snip-header__title {
  color: #fff;
}

/* rating widget */
.rw-ui-report {
  z-index: 9 !important;
}

/* product single page */
.product-slider .slick-list {
  border: 1px solid var(--hairline);
  margin-bottom: 10px;
  border-radius: 0;
}
.product-slider .slick-dots {
  margin-top: 10px;
  padding-left: 0;
  display: flex;
}
.product-slider .slick-dots li {
  list-style-type: none;
  border: 1px solid var(--hairline);
  margin: 10px;
  border-radius: 0;
  padding: 10px;
  cursor: pointer;
}
.product-slider .slick-dots li:first-child {
  margin-left: 0;
}
.product-slider .slick-dots li:last-child {
  margin-right: 0;
}
.product-slider .slick-dots li img {
  height: auto;
  max-width: 100%;
}

.video-btn-wrapper {
  margin-top: 1rem;
}
@media (min-width: 768px) {
  .video-btn-wrapper {
    display: none !important;
  }
}

/* Product slider thumbnail styles */
.product-slider .slick-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 15px;
}

.product-slider .slick-dots li {
  width: auto;
  height: auto;
  margin: 0;
}

.product-slider .slick-dots li img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 0;
  border: 1px solid transparent;
  transition: border-color 0.4s ease;
}

.product-slider .slick-dots li.slick-active img {
  border-color: var(--primary);
}

@media (max-width: 768px) {
  .product-slider .slick-dots li img {
    width: 60px;
    height: 60px;
  }
}

/*------------------------------------------------------------------
[CONVERSION & UX ADDITIONS]
-------------------------------------------------------------------*/

/* Mobile hero / typography */
@media (max-width: 767px) {
  h1, .h1 {
    font-size: 33px;
    line-height: 1.35;
  }
  h2, .h2 {
    font-size: 28px;
    line-height: 1.35;
  }
  p {
    font-size: 17px;
    line-height: 1.95;
  }
  .btn {
    padding: 13px 34px;
    font-size: 14px;
  }
  .section {
    padding-top: 70px;
    padding-bottom: 70px;
  }
}

/* Product buy box */
.product-price {
  font-size: 34px;
  font-weight: 500;
  color: var(--primary);
  font-family: var(--serif);
}
.product-price s {
  font-size: 20px;
  font-weight: 400;
  color: #777777;
  margin-right: 10px;
}
.product-price .baht {
  font-size: 22px;
}

/* Trust badges */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}
.trust-badges .badge-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--sage);
  border: 1px solid rgba(61, 122, 61, 0.25);
  color: var(--primary-dark);
  border-radius: 0;
  padding: 7px 14px;
  font-size: 13px;
  letter-spacing: 0.03em;
  line-height: 1.4;
}
.trust-badges .badge-item i {
  color: var(--primary);
}

/* Shipping / returns microcopy */
.shipping-note {
  font-size: 14px;
  color: #4A4A4A;
  margin-top: 12px;
}
.shipping-note i {
  color: var(--primary);
  margin-right: 4px;
}

/* Balm -> oil -> milk transformation steps */
.steps-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}
.steps-strip .step {
  flex: 1 1 150px;
  background: var(--sage);
  border: 1px solid var(--hairline);
  border-radius: 0;
  padding: 20px 16px;
  text-align: center;
}
.steps-strip .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 500;
  margin-bottom: 8px;
}
.steps-strip .step-title {
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}
.steps-strip .step-desc {
  font-size: 14px;
  line-height: 1.7;
  color: #4A4A4A;
}

/* Floating chat button (LINE etc.) */
.chat-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9990;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.chat-fab a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #06C755;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  font-size: 15px;
  font-weight: 600;
}
.chat-fab a:hover {
  transform: scale(1.05);
}
.chat-fab svg {
  width: 30px;
  height: 30px;
}

/* Reviews */
.review-card {
  border: 1px solid var(--hairline);
  border-radius: 0;
  padding: 24px;
  height: 100%;
  background: #fff;
}
.review-card .review-stars {
  color: #f9aa1f;
  margin-bottom: 8px;
}
.review-card .review-name {
  font-weight: 600;
  color: var(--ink);
  margin-top: 10px;
}
.review-card .review-date {
  font-size: 13px;
  color: #777777;
}

/*------------------------------------------------------------------
[BLOG LISTING CARDS]
-------------------------------------------------------------------*/
.blog-card {
  border: 1px solid var(--hairline);
  border-radius: 0;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.45s ease, transform 0.45s ease, border-color 0.45s ease;
}
.blog-card:hover {
  box-shadow: 0 14px 34px rgba(26, 26, 26, 0.07);
  transform: translateY(-3px);
  border-color: rgba(61, 122, 61, 0.35);
}
.blog-card > a {
  display: block;
}
.blog-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
@media (max-width: 575px) {
  .blog-card-img {
    height: 200px;
  }
}
.blog-card-title {
  font-size: 20px;
  line-height: 1.55;
  font-family: "Noto Sans Thai", sans-serif;
  font-weight: 400;
}
.blog-card-title a {
  color: var(--ink);
}
.blog-card-title a:hover {
  color: var(--primary);
}
/* cap excerpt to 3 lines for uniform card heights */
.blog-card-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0;
  color: #4A4A4A;
}
.blog-meta,
.post-meta {
  font-size: 13px;
  letter-spacing: 0.03em;
}
.blog-meta li,
.post-meta li {
  color: #4A4A4A;
}
.blog-meta i,
.post-meta i {
  color: var(--primary);
  margin-right: 6px;
}

/*------------------------------------------------------------------
[SINGLE POST / TABLE OF CONTENTS]
-------------------------------------------------------------------*/
.post-hero {
  border-radius: 0;
}

/* featured image caption */
.post-figure {
  margin: 0 0 1.5rem;
}

/* anchor targets must clear the sticky header when jumped to */
.contact-section {
  scroll-margin-top: 90px;
}

.post-caption {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #6c757d;
}

/* single post page — breathing room under the sticky header */
.post-section {
  padding-top: 70px;
}

/* smooth scroll for TOC anchors */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
/* keep anchored headings clear of the sticky header */
.content h2,
.content h3 {
  scroll-margin-top: 90px;
}

/* desktop sticky sidebar */
.toc-sticky {
  position: sticky;
  top: 100px;
}
.toc-box {
  background: var(--sage);
  border: 1px solid var(--hairline);
  border-radius: 0;
  padding: 22px;
  font-size: 14px;
}
.toc-box h5 {
  margin-bottom: 14px;
}

/* shared TOC list styling (desktop + mobile) */
#TableOfContents ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
#TableOfContents ul ul {
  padding-left: 16px;
}
#TableOfContents li {
  margin-bottom: 8px;
}
#TableOfContents a {
  color: var(--ink);
  display: block;
  line-height: 1.6;
}
#TableOfContents a:hover {
  color: var(--primary);
}
#TableOfContents a.toc-active {
  color: var(--primary);
  font-weight: 600;
}

/* mobile collapsible TOC */
.toc-mobile {
  background: var(--sage);
  border: 1px solid var(--hairline);
  border-radius: 0;
  overflow: hidden;
}
.toc-mobile > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  font-weight: 600;
  color: var(--ink);
}
.toc-mobile > a i:last-child {
  transition: transform 0.3s ease;
}
.toc-mobile > a[aria-expanded="true"] i:last-child {
  transform: rotate(180deg);
}
.toc-mobile .collapse {
  padding: 0 18px 16px;
}

/*------------------------------------------------------------------
[PRIORITY REFINEMENTS]
-------------------------------------------------------------------*/

/* CTA call-out card — soft sage tint, rounded, thin border */
.cta-card {
  position: relative;
  background: var(--sage);
  border: 1px solid rgba(143, 188, 143, 0.45);
  border-radius: 16px;
  padding: 80px 48px;
  overflow: hidden;
}
.cta-card h2 {
  margin-bottom: 18px;
}
.cta-card p {
  color: #4A4A4A;
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
}
@media (max-width: 767px) {
  .cta-card {
    padding: 56px 24px;
    border-radius: 12px;
  }
}

/* 2. Hero headline — refined weight & spacing */
.banner-section h1 {
  letter-spacing: 0.01em;
  line-height: 1.35;
  margin-bottom: 28px;
}
.banner-section .lead {
  color: #4A4A4A;
  line-height: 1.95;
  letter-spacing: 0.01em;
  max-width: 44ch;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 768px) {
  .banner-section .lead {
    margin-left: 0;
  }
}

/* 3. Product cards — larger, gallery-style prominence */
.product-card {
  background: #fff;
  border: 1px solid var(--hairline);
  padding: 48px 36px 40px;
  height: 100%;
  transition: box-shadow 0.45s ease, transform 0.45s ease, border-color 0.45s ease;
}
.product-card:hover {
  box-shadow: 0 16px 40px rgba(26, 26, 26, 0.07);
  transform: translateY(-3px);
  border-color: rgba(61, 122, 61, 0.35);
}
.product-card-media {
  display: block;
}
.product-card-img {
  width: 100%;
  /* height:auto is required: the intrinsic width/height attributes on <img>
     would otherwise become the used height and defeat aspect-ratio below. */
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: var(--cream);
}

/* product grid cards — same reason as .product-card-img */
.card-img-top {
  width: 100%;
  height: auto;
}
.product-card-body {
  margin-top: 28px;
}
.product-card-title {
  font-size: 23px;
  line-height: 1.45;
  margin-bottom: 12px;
}
.product-card-title a {
  color: var(--ink);
}
.product-card-title a:hover {
  color: var(--primary);
}
.product-card-price {
  font-family: var(--serif);
  color: var(--primary);
  font-size: 22px;
  margin-bottom: 22px;
}
.product-card-price s {
  font-family: "Noto Sans Thai", sans-serif;
  color: #777777;
  font-size: 16px;
  margin-right: 8px;
}

/* product card / grid action row: detail + Shopee side by side */
.product-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.product-card-actions .btn {
  margin-top: 0;
}

/* Shopee brand orange so the logo (which is already orange+white) reads
   correctly instead of sitting on the site's green primary.
   Selectors are doubled (.btn.product-card-shopee) because the base
   .btn-primary rules carry !important further down this file; matching
   specificity alone would lose on source order. */
.btn.product-card-shopee,
.btn.product-card-shopee:focus,
.btn.product-card-shopee.active {
  background: #ee4d2d !important;
  border-color: #ee4d2d !important;
  color: #fff !important;
}

.btn.product-card-shopee:hover,
.btn.product-card-shopee:focus {
  background: #d63f22 !important;
  border-color: #d63f22 !important;
  color: #fff !important;
}

.product-card-shopee img {
  height: 1.35em;
  width: auto;
  vertical-align: middle;
  margin-right: 6px;
}
@media (max-width: 767px) {
  .product-card {
    padding: 32px 22px 30px;
  }
}

/* 4. Consistent product photography — uniform square frames */
.product-slider .slick-list {
  background: #fff;
}
.product-slider .slick-list img {
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fff;
}

/*------------------------------------------------------------------
[EDITORIAL REFINEMENTS]
-------------------------------------------------------------------*/

/* Split hero: text left, image right, contained within the grid */
.hero-split .row {
  align-items: center;
}
.hero-media img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
/* Tablet: room under the buttons + tall image anchored to the bottom,
   extended to the right viewport edge */
@media (min-width: 768px) and (max-width: 991.98px) {
  .banner-section.hero-split {
    overflow: hidden;
  }
  .hero-copy {
    padding-bottom: 48px;
  }
  .hero-media {
    align-self: stretch;
    flex: 0 0 auto;
    width: calc(100% + (100vw - 100%) / 2);
    max-width: none;
    display: flex;
    align-items: flex-end;
  }
  .hero-media img {
    height: 100%;
    min-height: 440px;
    object-fit: cover;
    object-position: left center;
  }
}
.hero-copy .hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
}
@media (min-width: 768px) {
  .hero-copy .hero-actions {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    margin-top: 0;
  }
}

/* Feature icons / material items — float cleanly, no boxes */
.feature-item {
  text-align: center;
  padding: 24px 20px;
}
.feature-item h3,
.material-section h3 {
  font-weight: 400;
}
.feature-item p,
.material-section .card-body p {
  color: #4A4A4A;
  font-size: 16px;
}

/* Ingredients — editorial grid, no card backgrounds */
.ingredient-item {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.ingredient-item img {
  display: block;
  width: auto;
  max-width: min(100%, 340px);
  height: clamp(200px, 24vw, 300px);
  object-fit: contain;
  margin-bottom: 30px;
}
.ingredient-item h3 {
  font-size: 21px;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 16px;
}
.ingredient-item ul li {
  color: #4A4A4A;
  font-size: 16px;
  line-height: 1.9;
}
.ingredient-item ul li span {
  line-height: 1.9;
}
.ingredients-intro {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  color: #4A4A4A;
}
@media (min-width: 992px) {
  .ingredients-grid > .col-lg-4:nth-child(2) {
    transform: translateY(64px);
  }
  .ingredients-grid {
    margin-bottom: 64px;
  }
}

/* Video — sleek rounded frame + frosted-glass play button */
.video-frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(51, 50, 47, 0.12);
  background: var(--sage);
}
.video-frame img {
  display: block;
  width: 100%;
  height: auto;
}
.video-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(51, 50, 47, 0.08);
  pointer-events: none;
}
.video-play {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 10px 30px rgba(51, 50, 47, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.45s ease, background-color 0.45s ease;
}
.video-play:hover {
  transform: scale(1.06);
  background: rgba(255, 255, 255, 0.72);
}
.video-play i {
  font-size: 26px;
  color: var(--primary-dark);
  margin-left: 4px;
}
.video-caption .lead {
  color: #4A4A4A;
}

/* Asymmetric editorial layouts */
.editorial-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 24px 48px rgba(51, 50, 47, 0.10);
}
@media (min-width: 992px) {
  .editorial-offset {
    margin-top: 96px;
    padding-left: 24px;
    border-left: none;
  }
}
.about-editorial p {
  color: #4A4A4A;
}

/*------------------------------------------------------------------
[FINAL OVERRIDES]
-------------------------------------------------------------------*/

/* Absolute rules: no radius, no shadows, anywhere */
*,
*::before,
*::after {
  border-radius: 0 !important;
  box-shadow: none !important;
  text-shadow: none !important;
}
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible {
  outline: 1px solid var(--primary);
  outline-offset: 3px;
}
::selection {
  background: var(--primary);
  color: #fff;
}

/* Buttons */
.btn {
  letter-spacing: 0.06em;
}
.btn-primary,
.btn-primary:focus,
.btn-primary.focus {
  background: linear-gradient(27deg, #8FBC8F 0%, #8FBC8F 100%) !important;
  border: 1px solid var(--primary) !important;
  color: #fff !important;
}
.btn-primary:hover,
.btn-primary:not(:disabled):not(.disabled):active {
  background: linear-gradient(27deg, #8FBC8F 0%, #8FBC8F 100%) !important;
  border-color: var(--primary-dark) !important;
  color: #fff !important;
}
.btn-outline-primary,
.btn-outline-primary:focus,
.btn-outline-primary.focus {
  background-color: transparent !important;
  border: 1px solid var(--primary) !important;
  color: var(--primary) !important;
}
.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary.focus {
  background-color: var(--primary) !important;
  color: #fff !important;
}
.text-primary { color: var(--primary) !important; }
.bg-primary { background-color: var(--primary) !important; }
.border-primary { border-color: var(--primary) !important; }

/* Serif for English text, numbers, branding */
.product-price,
.product-card-price,
.steps-strip .step-num {
  font-family: var(--serif);
  letter-spacing: 0.08em;
}
.hero-kicker {
  display: block;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 22px;
}

/* Navbar — minimalist, single hairline base */
.navigation {
  background-color: #fff;
  border-bottom: 1px solid var(--hairline);
}
.nav-link {
  color: var(--ink);
  letter-spacing: 0.05em;
}
.nav-link:hover { color: var(--primary); }

/* Architectural grid — full-width hairline section dividers */
.section,
.section-sm {
  border-top: 1px solid var(--hairline);
}
hr {
  border-color: var(--hairline);
}

/* Footer — stark grid with thin column dividers */
footer .row.border-bottom {
  border-bottom: 1px solid var(--hairline) !important;
}
@media (min-width: 768px) {
  footer .row > [class*="col-"]:not(:first-child) {
    border-left: 1px solid var(--hairline);
    padding-left: 40px;
  }
}

/* CTA — typographic call-out between hairlines, no box */
.cta-card {
  background: transparent;
  border: none;
  padding: 10px 12px 60px;
}

/* Video — stark frame, square outlined play control */
.video-frame {
  background: transparent;
}
.video-frame::after {
  display: none;
}
.video-play {
  width: 72px;
  height: 72px;
  background: var(--cream);
  border: 1px solid var(--primary);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition: background-color 0.3s ease;
}
.video-play i {
  color: var(--primary);
  font-size: 22px;
  margin-left: 2px;
}
.video-play:hover {
  transform: none;
  background: var(--primary);
}
.video-play:hover i {
  color: #fff;
}

/* Chat FAB — square, outlined */
.chat-fab a {
  background: var(--cream) !important;
  color: var(--primary) !important;
  border: 1px solid var(--primary);
}

/* Features — aligned grid */
.feature-stagger .feature-item {
  text-align: center;
  padding: 24px 20px;
}

/* Ingredients — scientific / botanical index table */
.ingredient-row {
  display: grid;
  grid-template-columns: 220px 1fr 1.6fr;
  gap: 48px;
  align-items: center;
  padding: 48px 0;
  border-top: 1px solid var(--hairline);
}
.ingredient-row:last-child {
  border-bottom: 1px solid var(--hairline);
}
.ing-media img {
  display: block;
  height: 150px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.ing-name {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.25;
  margin: 0;
}
.ing-name-th {
  display: block;
  font-family: "Noto Sans Thai", sans-serif;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #4A4A4A;
  margin-top: 8px;
}
.ingredient-row ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ingredient-row ul li {
  color: #4A4A4A;
  font-size: 16px;
  line-height: 1.9;
}
@media (max-width: 991px) {
  .ingredient-row {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 36px 0;
  }
  /* Stacked to a single column: the img is width:auto, so it would sit
     hard against the left edge. Centre it within the row. */
  .ing-media {
    display: flex;
    justify-content: center;
  }
  .ing-media img {
    height: 120px;
    width: auto;
  }
}