/*
 * Gellyfit Thailand look and feel.
 *
 * Rules in this file load after the Flatsome parent and the child style.css.
 * Edit this file, merge to main, and check the staging site.
 * Production updates when you run Deploy to production and type deploy.
 *
 * The blocks below are examples inside this comment, so they do not change
 * the site. Copy a rule out of the comment when you want to use it.
 *
 * .header-main {
 *   background-color: #111111;
 * }
 *
 * .button.primary {
 *   border-radius: 0;
 * }
 *
 * .footer-wrapper {
 *   font-size: 15px;
 * }
 */

/* ==========================================================================
 * Homepage pass 1
 *
 * Tokens match the approved black-button mockup. Berry is an accent only:
 * the second hero line, eyebrows, "see all" links, the cart count, the
 * active nav label, and stat numbers. Buttons are black.
 *
 * Mobile rules use 849px, Flatsome's medium breakpoint, so the hamburger,
 * the chip row, and the hero switch together. The design file uses 760px.
 * At 768px Flatsome is already in its mobile header.
 * ========================================================================== */

:root {
  --gf-surface: #ffffff;
  --gf-surface-tint: #fff1f6;
  --gf-ink: #241a20;
  --gf-ink-muted: #6b5b64;
  --gf-bow-pink: #f49ac1;
  --gf-pink-100: #ffd9e7;
  --gf-accent: #b8326f;
  --gf-accent-hover: #9c285b;
  --gf-btn: #111111;
  --gf-btn-hover: #2b2b2b;
  --gf-on-btn: #ffffff;
  --gf-line: #ebdce3;
  --gf-line-strong: #9a8490;
  --gf-radius-sm: 8px;
  --gf-radius-md: 12px;
  --gf-radius-lg: 16px;
  --gf-radius-xl: 24px;
  --gf-radius-pill: 999px;
  --gf-shadow-card: 0 4px 20px rgba(36, 26, 32, 0.08);
  --gf-shadow-pop: 0 12px 32px rgba(36, 26, 32, 0.14);
  --gf-wrap: 1240px;
  --gf-ease: 180ms ease-out;
  /* Flatsome's mobile header is 70px until apply.sh sets it to 64px.
     The chip row uses this offset, then JS replaces it with the measured height. */
  --gf-header-offset: 70px;
}

/* Old name, kept so earlier rules in this file stay readable. */
:root {
  --gf-action: var(--gf-accent);
  --gf-action-hover: var(--gf-accent-hover);
  --gf-on-action: var(--gf-on-btn);
}

body {
  color: var(--gf-ink);
  font-family: "Noto Sans Thai", "Prompt", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.gf-hero p,
#content p {
  font-family: "Noto Sans Thai", "Prompt", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.heading-font,
.section-title-main {
  font-family: "Prompt", "Noto Sans Thai", sans-serif;
  font-weight: 600;
  text-transform: none;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--gf-ink);
}

a:focus-visible,
button:focus-visible,
.button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gf-btn);
  outline-offset: 2px;
}

.gf-ico {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
  flex-shrink: 0;
}

.gf-wrap {
  max-width: var(--gf-wrap);
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
  padding-right: 32px;
}

.gf-hero,
.gf-hero *,
.gf-collections,
.gf-collections *,
.gf-search,
.gf-search *,
.gf-mobile-tools,
.gf-mobile-tools *,
.gf-mobile-tools-fallback,
.gf-mobile-tools-fallback *,
.gf-tabbar,
.gf-tabbar * {
  box-sizing: border-box;
}

/* Buttons: black pill. Icon buttons (social, quick view) keep their shape. */
.button.primary:not(.icon):not(.is-outline):where(:not(.banner *)),
.button.checkout:where(:not(.banner *)),
.checkout-button:where(:not(.banner *)),
.woocommerce a.button.alt:not(.icon):where(:not(.banner *)),
.woocommerce button.button.alt:not(.icon):where(:not(.banner *)),
.single_add_to_cart_button:where(:not(.banner *)),
.add_to_cart_button:not(.icon):where(:not(.banner *)),
input[type="submit"].button:where(:not(.banner *)),
button.button.primary:not(.icon):where(:not(.banner *)) {
  background-color: var(--gf-btn);
  border-color: var(--gf-btn);
  color: var(--gf-on-btn);
  border-radius: var(--gf-radius-pill);
  border-width: 2px;
  border-style: solid;
  text-transform: none;
  letter-spacing: 0;
  font-family: "Prompt", "Noto Sans Thai", sans-serif;
  font-weight: 500;
  font-size: 16px;
  min-height: 48px;
  padding: 0 28px;
  line-height: 1.2;
  transition: background-color var(--gf-ease), border-color var(--gf-ease), color var(--gf-ease);
}

.button.primary:not(.icon):not(.is-outline):where(:not(.banner *)):hover,
.button.checkout:where(:not(.banner *)):hover,
.checkout-button:where(:not(.banner *)):hover,
.woocommerce a.button.alt:not(.icon):where(:not(.banner *)):hover,
.woocommerce button.button.alt:not(.icon):where(:not(.banner *)):hover,
.single_add_to_cart_button:where(:not(.banner *)):hover,
.add_to_cart_button:not(.icon):where(:not(.banner *)):hover,
input[type="submit"].button:where(:not(.banner *)):hover,
button.button.primary:not(.icon):where(:not(.banner *)):hover {
  background-color: var(--gf-btn-hover);
  border-color: var(--gf-btn-hover);
  color: var(--gf-on-btn);
}

.button.is-outline:not(.icon):where(:not(.banner *)),
.button.secondary:not(.icon):where(:not(.banner *)),
.button.white:not(.icon):where(:not(.banner *)) {
  background-color: var(--gf-surface);
  color: var(--gf-btn);
  border: 2px solid var(--gf-btn);
  border-radius: var(--gf-radius-pill);
  text-transform: none;
  letter-spacing: 0;
  font-family: "Prompt", "Noto Sans Thai", sans-serif;
  font-weight: 500;
  min-height: 48px;
  padding: 0 28px;
}

.button.is-outline:not(.icon):where(:not(.banner *)):hover,
.button.secondary:not(.icon):where(:not(.banner *)):hover,
.button.white:not(.icon):where(:not(.banner *)):hover {
  background-color: var(--gf-btn);
  border-color: var(--gf-btn);
  color: var(--gf-on-btn);
}

.social-icons .button {
  min-height: 0;
  padding: 0;
  width: 2.2em;
  height: 2.2em;
  border-radius: 50%;
  line-height: 2.2em;
}

/* Empty cart and continue shopping. Flatsome's line box sits at the top of the pill. */
.woocommerce-cart .return-to-shop .button,
.woocommerce-cart a.button.wc-backward,
.woocommerce a.button.wc-backward {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  min-height: 48px;
  padding-top: 0;
  padding-bottom: 0;
}

.button.is-small:not(.icon):where(:not(.banner *)),
.button.is-smaller:not(.icon):where(:not(.banner *)) {
  min-height: 40px;
  padding-left: 18px;
  padding-right: 18px;
  font-size: 14px;
}

.gf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 28px;
  border-radius: var(--gf-radius-pill);
  border: 2px solid var(--gf-btn);
  background: var(--gf-btn);
  color: var(--gf-on-btn);
  font-family: "Prompt", "Noto Sans Thai", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--gf-ease), border-color var(--gf-ease), color var(--gf-ease);
}

.gf-btn:hover {
  background: var(--gf-btn-hover);
  border-color: var(--gf-btn-hover);
  color: var(--gf-on-btn);
}

.gf-btn.is-outline {
  background: var(--gf-surface);
  color: var(--gf-btn);
  border-color: var(--gf-btn);
}

.gf-btn.is-outline:hover {
  background: var(--gf-btn);
  color: var(--gf-on-btn);
}

.gf-btn.is-sm {
  min-height: 40px;
  padding: 0 18px;
  font-size: 14px;
}

.gf-btn.is-light,
.gf-btn.is-light:hover {
  background: var(--gf-surface);
  border-color: var(--gf-surface);
  color: var(--gf-btn);
}

.gf-btn .gf-ico {
  width: 18px;
  height: 18px;
}

.gf-eyebrow {
  display: block;
  margin: 0 0 8px;
  font-family: "Prompt", "Noto Sans Thai", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gf-accent);
  line-height: 1.4;
}

.gf-link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "Prompt", "Noto Sans Thai", sans-serif;
  font-weight: 500;
  color: var(--gf-accent);
  text-decoration: none;
  white-space: nowrap;
}

.gf-link-more .gf-ico {
  width: 18px;
  height: 18px;
}

/* Promo bar. WooCommerce keeps it display:none until its script shows it.
   Do not set display here: that would beat the hidden state and ignore the dismiss cookie.
   When the script sets display:block, the rule below turns the bar into a flex row. */
.woocommerce-store-notice.demo_store {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  width: auto;
  margin: 0;
  background: var(--gf-ink);
  color: var(--gf-on-btn);
  font-family: "Prompt", "Noto Sans Thai", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 44px;
  padding: 0 4px 0 16px;
  white-space: nowrap;
  box-sizing: border-box;
}

.woocommerce-store-notice.demo_store[style*="block"],
.woocommerce-store-notice.demo_store[style*="flex"] {
  display: flex;
}

body.woocommerce-demo-store {
  margin-top: 0;
}

.gf-promo-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gf-promo-code {
  color: var(--gf-bow-pink);
  font-weight: 600;
}

.woocommerce-store-notice__dismiss-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  color: var(--gf-on-btn);
  text-decoration: none;
  border: 0;
  background: transparent;
  line-height: 1;
}

.woocommerce-store-notice__dismiss-link .gf-promo-x {
  display: block;
  width: 16px;
  height: 16px;
}

/* Header. The thin top bar is the old all-caps line. */
.header-top {
  display: none;
}

#header,
.header-wrapper,
.header-main {
  background: rgba(255, 255, 255, 0.96);
}

.header-main {
  height: 84px;
  border-bottom: 1px solid var(--gf-line);
  box-shadow: none;
}

.header-main .header-inner.container,
.header-bottom > .flex-row.container {
  width: 100%;
  max-width: var(--gf-wrap);
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
  padding-right: 32px;
  box-sizing: border-box;
}

.header-main .header-inner {
  height: 84px;
  min-height: 84px;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
}

.header-main .header-nav.nav,
.header-main .header-nav,
.header-nav-main {
  flex-wrap: nowrap;
  min-width: 0;
}

.header-main .header-nav > li > a,
.header-main .header-nav > li > a.nav-top-link,
#masthead .header-nav-main > li > a {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  white-space: nowrap;
  color: var(--gf-ink);
}

#masthead .header-nav-main.nav-left {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 2px;
  min-width: 0;
}

#masthead .header-nav-main.nav-left > li {
  margin: 0;
}

#masthead .header-nav-main > li > a .icon-angle-down {
  flex: 0 0 auto;
  opacity: 1;
  color: inherit;
  line-height: 1;
}

#masthead .header-nav-main a,
#masthead .header-nav-main a:hover,
#masthead .header-nav-main a:focus,
#masthead .header-nav-main a:focus-visible {
  text-decoration: none;
}

#masthead .header-nav-main a:focus-visible {
  outline: 2px solid var(--gf-btn);
  outline-offset: 2px;
}

.header-main .top-divider {
  display: none;
}

#logo {
  width: auto;
  max-width: 160px;
}

#logo img {
  max-height: 56px;
  width: auto;
  height: auto;
}

.header .nav-uppercase > li > a,
.header-nav > li > a,
.header-bottom-nav > li > a,
.off-canvas .nav > li > a {
  text-transform: none;
  letter-spacing: 0;
  font-family: "Prompt", "Noto Sans Thai", sans-serif;
  font-weight: 500;
}

.header-main .header-nav > li > a.nav-top-link,
.header-bottom .header-bottom-nav > li > a.nav-top-link,
#masthead .header-nav-main > li > a {
  font-size: 15px;
  padding: 8px 12px;
  border-radius: var(--gf-radius-pill);
  line-height: 1.2;
}

/* Customizer CSS is printed after this file and sets `.nav > li > a` to Lato 700.
   That selector ties `.header-nav > li > a`. The id selector wins on specificity. */
#masthead .header-nav-main > li > a {
  font-family: "Prompt", "Noto Sans Thai", sans-serif;
  font-weight: 500;
}

@media (min-width: 1280px) {
  .header-main .header-nav > li > a.nav-top-link,
  #masthead .header-nav-main > li > a {
    font-size: 16px;
  }
}

.header-main .header-nav > li > a:hover,
.header-main .header-nav > li.active > a,
.header-main .header-nav > li.current-menu-item > a,
.header-bottom .header-bottom-nav > li > a:hover,
.header-bottom .header-bottom-nav > li.active > a,
.header-bottom .header-bottom-nav > li.current-menu-item > a,
#masthead .header-nav-main > li > a:hover,
#masthead .header-nav-main > li.active > a,
#masthead .header-nav-main > li.current-menu-item > a,
#masthead .header-nav-main > li.current_page_item > a {
  background: var(--gf-surface-tint);
  color: var(--gf-accent);
}

.header-main .nav-right {
  align-items: center;
  gap: 6px;
}

.header-main .header-divider {
  display: none;
}

.gf-search {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: clamp(220px, 22vw, 280px);
  min-width: 220px;
  max-width: 280px;
  flex: 0 1 auto;
  height: 44px;
  padding: 0 16px;
  border: 1px solid var(--gf-line-strong);
  border-radius: var(--gf-radius-pill);
  background: var(--gf-surface);
  color: var(--gf-ink-muted);
  font-size: 15px;
}

.gf-search-icon .gf-ico {
  width: 18px;
  height: 18px;
}

.gf-search .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.gf-search input[type="search"],
.gf-search .gf-search-input {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  height: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  background-color: transparent;
  box-shadow: none;
  color: var(--gf-ink);
  font-family: "Noto Sans Thai", "Prompt", sans-serif;
  font-size: 15px;
  line-height: 1.2;
  text-align: left;
  -webkit-appearance: none;
  appearance: none;
}

.gf-search input[type="search"]::placeholder,
.gf-search .gf-search-input::placeholder {
  text-align: left;
}

.gf-search-input:focus {
  outline: none;
  box-shadow: none;
}

.gf-search:focus-within {
  outline: 2px solid var(--gf-btn);
  outline-offset: 2px;
}

.header-main .account-item > a,
.header-main .header-cart-link,
.header-main .nav-icon > a {
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--gf-radius-pill);
  position: relative;
  color: var(--gf-ink);
  background: transparent;
  border: 0;
  box-shadow: none;
}

.header-main .account-item > a {
  font-size: 0;
}

.header-main .account-item > a i,
.header-main .header-cart-link i {
  font-size: 22px;
}

.header-main .account-item > a:not(:has(i)):not(:has(svg)) {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23241a20' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c1.5-4 4.5-6 8-6s6.5 2 8 6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 22px;
}

/* The account link is icon-only. Flatsome's "Login / Register" span sets its
   own font size, so font-size: 0 on the link does not hide it. Keep it for
   screen readers. */
.header-main .account-item > a > span,
.header-cart-title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.header-main .header-cart-link i[data-icon-label]::after,
.cart-item i[data-icon-label]::after,
.gf-tab-count {
  background-color: var(--gf-accent);
  color: var(--gf-on-btn);
}

.header-main .header-cart-link:hover,
.header-main .account-item > a:hover {
  background-color: var(--gf-surface-tint);
  color: var(--gf-ink);
  border-color: transparent;
}

/* Mobile tools live in the header bottom row after apply.sh. */
.gf-mobile-search-slot,
.gf-mobile-tools,
.gf-mobile-tools-fallback {
  display: none;
}

.header-bottom {
  min-height: 0;
}

.gf-logo-name {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 850px) and (max-width: 1099px) {
  .header-main .gf-search {
    width: 172px;
    min-width: 164px;
    max-width: 188px;
  }
}

/* Wordmark is back from 1100px. At 172px the pill meets Academy.
   144px leaves 24px or more before the search. 1280px and up stay wider. */
@media (min-width: 1100px) and (max-width: 1279px) {
  .header-main .gf-search {
    width: 144px;
    min-width: 144px;
    max-width: 144px;
    flex: 0 1 144px;
  }
}

@media (min-width: 1280px) {
  .header-main .gf-search {
    width: 268px;
    min-width: 248px;
    max-width: 280px;
  }
}

@media (min-width: 850px) {
  #masthead .header-inner > .flex-col.flex-left {
    flex: 1 1 auto;
    min-width: 0;
  }

  #masthead .flex-col.flex-right,
  #masthead .header-inner > .flex-col.flex-right {
    flex: 0 0 auto;
    flex-shrink: 0;
  }

  .header-main #logo {
    flex: 0 0 170px;
    width: 170px;
    min-width: 170px;
    max-width: none;
    margin-left: 0;
    margin-right: 32px;
    overflow: visible;
  }

  /* The rules above assume the left logo that apply.sh sets on staging.
     A header still on Flatsome's centered logo needs equal side columns,
     or the left column takes the width and pushes the logo to the right. */
  #masthead .header-inner.logo-center > .flex-col.flex-left,
  #masthead .header-inner.logo-center > .flex-col.flex-right {
    flex: 1 1 0;
    min-width: 0;
  }

  #masthead .header-inner.logo-center > .flex-col.flex-right > .nav {
    justify-content: flex-end;
  }

  .header-main .header-inner.logo-center #logo {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (min-width: 850px) {
  .header-bottom:not(:has(.hide-for-medium .header-bottom-nav > li)) {
    display: none;
  }

  #logo {
    max-width: none;
    width: auto;
  }

  #logo > a,
  a#logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
  }

  #logo img {
    display: none;
  }

  #logo > a::before,
  a#logo::before {
    content: "";
    display: block;
    width: 62px;
    height: 36px;
    background: var(--gf-logo-bow) center / contain no-repeat;
    flex: 0 0 auto;
  }

  #logo > a::after,
  a#logo::after {
    content: "";
    display: block;
    width: 98px;
    height: 36px;
    background: var(--gf-logo-word) center / contain no-repeat;
    flex: 0 0 auto;
  }
}

@media (min-width: 850px) and (max-width: 1099px) {
  .header-main #logo {
    flex-basis: 59px;
    width: 59px;
    min-width: 59px;
  }

  #logo > a::after,
  a#logo::after {
    display: none;
  }

  #logo > a::before,
  a#logo::before {
    width: 59px;
    height: 34px;
  }
}


/* Hero */
.home .page-wrapper {
  padding-top: 0;
}

.section:has(.gf-hero) {
  padding-top: 0;
}

.gf-hero {
  background: linear-gradient(180deg, var(--gf-surface-tint), var(--gf-surface) 85%);
  padding: 48px 0 64px;
}

.gf-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.gf-hero h1 {
  margin: 8px 0 20px;
  font-size: 64px;
  line-height: 1.1;
  font-weight: 600;
  color: var(--gf-ink);
}

.gf-hero-accent {
  color: var(--gf-accent);
}

.gf-hero-lead {
  max-width: 520px;
  margin: 0;
  font-size: 20px;
  line-height: 1.7;
  color: var(--gf-ink);
}

.gf-hero-en {
  margin: 8px 0 0;
  font-size: 16px;
  color: var(--gf-ink-muted);
}

.gf-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 28px;
}

.gf-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gf-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gf-surface);
  border: 1px solid var(--gf-line);
  border-radius: var(--gf-radius-pill);
  padding: 7px 14px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
}

.gf-badge i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gf-bow-pink);
  display: block;
}

.gf-hero-art {
  position: relative;
  height: 540px;
}

.gf-hero-photo {
  position: absolute;
  inset: 0 0 0 60px;
  border-radius: var(--gf-radius-xl);
  overflow: hidden;
  box-shadow: var(--gf-shadow-pop);
}

.gf-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
  display: block;
}

.gf-hero-tag {
  position: absolute;
  right: 20px;
  top: 20px;
  background: var(--gf-ink);
  color: var(--gf-on-btn);
  border-radius: var(--gf-radius-pill);
  padding: 8px 16px;
  font-family: "Prompt", "Noto Sans Thai", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
}

.gf-hero-card {
  position: absolute;
  left: 0;
  bottom: 36px;
  width: 270px;
  background: var(--gf-surface);
  border-radius: var(--gf-radius-lg);
  box-shadow: var(--gf-shadow-pop);
  padding: 12px;
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  color: var(--gf-ink);
}

.gf-hero-card img {
  width: 64px;
  height: 64px;
  border-radius: var(--gf-radius-sm);
  object-fit: cover;
  display: block;
}

.gf-hero-card strong {
  display: block;
  font-family: "Prompt", "Noto Sans Thai", sans-serif;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.3;
}

.gf-hero-card span span {
  display: block;
  font-size: 13px;
  color: var(--gf-ink-muted);
  line-height: 1.4;
}

/* Collections */
.gf-collections {
  padding: 80px 0;
}

.gf-collections:has(+ .gf-more) {
  padding-bottom: 0;
}

.gf-more {
  margin-top: 24px;
  max-width: 100%;
  overflow: hidden;
}

.gf-more-title {
  margin: 0 0 12px;
  font-family: "Prompt", "Noto Sans Thai", sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.3;
  color: var(--gf-ink);
}

.gf-more-scroller {
  position: relative;
}

.gf-more-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gf-more-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid #ebdce3;
  border-radius: 999px;
  background: #fff;
  color: #241a20;
  font-family: "Prompt", "Noto Sans Thai", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.gf-more-chip:hover {
  border-color: #111;
  background: #fff;
  color: #241a20;
}

.gf-more-chip:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
}

.gf-more-fade {
  display: none;
}

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

.gf-sec-head h2 {
  margin: 0;
  font-size: 36px;
}

.gf-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 300px 300px;
  gap: 20px;
}

.gf-col {
  position: relative;
  display: block;
  border-radius: var(--gf-radius-xl);
  overflow: hidden;
  background: #eee;
  color: var(--gf-on-btn);
  text-decoration: none;
  min-height: 0;
}

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

.gf-col::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(36, 26, 32, 0) 45%, rgba(36, 26, 32, 0.78));
  pointer-events: none;
}

.gf-col-text {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 1;
  color: var(--gf-on-btn);
  text-wrap: balance;
  text-wrap: pretty;
}

.gf-col-text strong {
  display: block;
  font-family: "Prompt", "Noto Sans Thai", sans-serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--gf-on-btn);
}

.gf-col-tag {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.55;
  color: #fbeff4;
}

.gf-col.is-big {
  grid-column: span 2;
  grid-row: span 2;
}

.gf-col.is-big .gf-col-text strong {
  font-size: 34px;
}

.gf-col.is-big .gf-col-tag {
  font-size: 17px;
  max-width: 440px;
}

.gf-col.is-big .gf-btn {
  margin-top: 16px;
}

/* Optional tab bar. Hidden unless body.gf-has-tabbar, which is off by default. */
.gf-tabbar {
  display: none;
}

body.gf-has-tabbar {
  padding-bottom: calc(68px + env(safe-area-inset-bottom));
}

.gf-tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  background: var(--gf-surface);
  border-top: 1px solid var(--gf-line);
  height: calc(68px + env(safe-area-inset-bottom));
  padding: 0 8px env(safe-area-inset-bottom);
  justify-content: space-around;
  align-items: center;
}

.gf-tabbar a {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 56px;
  font-family: "Prompt", "Noto Sans Thai", sans-serif;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--gf-ink-muted);
  text-decoration: none;
}

.gf-tabbar a.is-on {
  color: var(--gf-accent);
}

.gf-tab-count {
  position: absolute;
  top: -4px;
  right: 10px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  font-size: 10px;
  line-height: 16px;
  text-align: center;
}

body.mfp-open .gf-tabbar,
html.mfp-open .gf-tabbar,
body.off-canvas-open .gf-tabbar,
body:has(.woocommerce-error, .woocommerce-message, .woocommerce-info) .gf-tabbar {
  display: none;
}

body.gf-has-tabbar:has(.woocommerce-error, .woocommerce-message, .woocommerce-info),
body.gf-has-tabbar.mfp-open,
html.mfp-open body.gf-has-tabbar {
  padding-bottom: 0;
}

/* Form fields */
input[type="text"],
input[type="email"],
input[type="search"],
input[type="password"],
input[type="tel"],
input[type="number"],
textarea,
select {
  border: 1px solid var(--gf-line-strong);
  border-radius: var(--gf-radius-sm);
  box-shadow: none;
  min-height: 44px;
  background-color: var(--gf-surface);
  color: var(--gf-ink);
}

.searchform input[type="search"],
.searchform input[type="text"] {
  border-radius: var(--gf-radius-pill);
  padding-left: 1.2em;
}

.gf-search input[type="search"],
.gf-search .gf-search-input {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  background-color: transparent;
  min-height: 0;
  font-size: 15px;
  text-align: left;
}

/* Product cards */
.product-small.box {
  background-color: var(--gf-surface);
  border: 1px solid var(--gf-line);
  border-radius: var(--gf-radius-lg);
  overflow: hidden;
  transition: box-shadow var(--gf-ease), transform var(--gf-ease);
}

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

.product-small.box .box-text {
  padding: 16px;
}

.product-small .product-cat,
.product-small .category {
  color: var(--gf-ink-muted);
  letter-spacing: 0.04em;
}

.product-small .woocommerce-loop-product__title a,
.product-small .name a {
  color: var(--gf-ink);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-small .price,
.product-small .price .amount,
.product-small .price ins,
.product-small .price ins .amount {
  color: var(--gf-ink);
  font-weight: 600;
}

.product-small .price ins,
.product-small .price ins .amount {
  text-decoration: none;
}

.product-small .price del,
.product-small .price del .amount {
  color: var(--gf-ink-muted);
  font-weight: 400;
}

.product-small .quick-view {
  border-radius: var(--gf-radius-pill);
  text-transform: none;
  letter-spacing: 0;
}

.badge-container .badge-inner.on-sale {
  background-color: var(--gf-btn);
  color: var(--gf-on-btn);
}

/* Footer. Berry is not used here. */
.footer-wrapper {
  font-size: 15px;
  line-height: 1.7;
}

.footer-wrapper a:hover {
  color: var(--gf-ink);
}

.absolute-footer {
  border-top: 1px solid var(--gf-line);
  font-size: 13px;
}

@media (max-width: 849px) {
  .gf-wrap,
  .header-main .header-inner.container,
  .header-bottom > .flex-row.container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .woocommerce-store-notice.demo_store {
    font-size: 12px;
    padding: 0 4px 0 12px;
  }

  .header-main,
  .header-main .header-inner {
    height: 64px;
    min-height: 64px;
  }

  #header .stuck #masthead {
    background: var(--gf-surface);
  }

  #header .stuck .header-bottom {
    box-shadow: 0 1px 0 var(--gf-line), 0 6px 18px rgba(36, 26, 32, 0.08);
  }

  #logo img {
    display: none;
  }

  .header-main #logo {
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    overflow: visible;
  }

  #logo > a,
  a#logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    position: relative;
  }

  #logo > a::before,
  a#logo::before {
    content: "";
    display: block;
    width: 45px;
    height: 26px;
    background: var(--gf-logo-bow) center / contain no-repeat;
    flex: 0 0 auto;
  }

  #logo > a::after,
  a#logo::after {
    content: "";
    display: block;
    width: 60px;
    height: 22px;
    background: var(--gf-logo-word) center / contain no-repeat;
    flex: 0 0 auto;
  }

  .header-bottom,
  #wide-nav.header-bottom {
    background: #fff;
    background-color: #fff;
  }

  .off-canvas .mfp-content,
  .off-canvas .sidebar-menu,
  #main-menu .sidebar-menu {
    background: #fff;
    background-color: #fff;
  }

  .off-canvas .mfp-close {
    display: block;
    color: var(--gf-ink);
  }

  .off-canvas .nav > li:last-child > a:empty,
  .off-canvas .nav > li:last-child:has(> a:empty),
  .off-canvas .nav-sidebar > li:last-child:not(:has(a[href])) {
    display: none;
  }

  .filter-button[data-open="#shop-sidebar"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid var(--gf-line-strong);
    border-radius: var(--gf-radius-pill);
    background: var(--gf-surface);
    color: var(--gf-ink);
    text-transform: none;
  }

  .gf-mobile-search-slot {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    contain: inline-size;
    list-style: none;
    margin: 0;
    padding: 8px 20px 0;
    background: var(--gf-surface);
  }

  .header-bottom .gf-mobile-search-slot {
    padding-inline: 0;
  }

  /* The hamburger already includes these category links. */
  .gf-mobile-tools,
  .gf-mobile-tools-fallback {
    display: none;
  }

  .header-bottom .flex-row,
  .header-bottom .mobile-nav {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    width: 100%;
  }

  .woocommerce-cart .coupon .button,
  .woocommerce-cart button[name="apply_coupon"] {
    background: #fff;
    color: #111;
    border: 2px solid #111;
    border-radius: var(--gf-radius-pill);
    min-height: 48px;
  }

  .woocommerce .woocommerce-message,
  .woocommerce .woocommerce-info,
  .woocommerce .woocommerce-error,
  .woocommerce-notices-wrapper .woocommerce-message,
  .woocommerce-notices-wrapper .woocommerce-info,
  .woocommerce-notices-wrapper .woocommerce-error,
  .woocommerce-message,
  .woocommerce-info,
  .woocommerce-error {
    border-color: #ebdce3;
    border-top-color: #ebdce3;
    color: #241a20;
    background-color: #fff;
  }

  .woocommerce-message a:not(.button),
  .woocommerce-info a:not(.button),
  .woocommerce-error a:not(.button) {
    color: #241a20;
  }

  .header-bottom .mobile-nav {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    contain: inline-size;
  }

  .gf-mobile-search {
    padding-bottom: 12px;
  }

  .gf-mobile-search .gf-search {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    flex-shrink: 1;
  }

  .gf-mobile-search .gf-search input[type="search"] {
    min-width: 0;
  }

  .gf-eyebrow {
    font-size: 12px;
  }

  .gf-hero {
    padding: 16px 0 40px;
  }

  .gf-hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .gf-hero-art {
    order: -1;
    height: 210px;
  }

  .gf-hero-photo {
    inset: 0;
  }

  .gf-hero-card {
    display: none;
  }

  .gf-hero-tag {
    right: 12px;
    top: 12px;
    font-size: 13px;
  }

  .gf-hero h1 {
    font-size: 36px;
    margin: 8px 0 12px;
  }

  .gf-hero-lead {
    font-size: 17px;
  }

  .gf-hero-en {
    display: none;
  }

  .gf-hero-ctas {
    margin: 20px 0 18px;
  }

  .gf-hero-ctas .gf-btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 0 12px;
  }

  .gf-badge {
    font-size: 13px;
    padding: 6px 12px;
  }

  .gf-collections {
    padding: 52px 0;
  }

  .gf-collections:has(+ .gf-more) {
    padding-bottom: 0;
  }

  .gf-more-title {
    font-size: 18px;
  }

  .gf-more-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    max-width: 100%;
  }

  .gf-more-row::-webkit-scrollbar {
    display: none;
    height: 0;
  }

  .gf-more-chip {
    scroll-snap-align: start;
  }

  .gf-more-fade {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 48px;
    pointer-events: none;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), #fff);
  }

  .gf-sec-head {
    margin-bottom: 20px;
  }

  .gf-sec-head h2 {
    font-size: 26px;
  }

  .gf-link-more {
    font-size: 14px;
  }

  .gf-bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    grid-auto-rows: 200px;
    gap: 12px;
  }

  .gf-col.is-big {
    grid-column: span 2;
    grid-row: auto;
    height: 380px;
  }

  .gf-col-text {
    left: 14px;
    right: 14px;
    bottom: 12px;
  }

  .gf-col-text strong {
    font-size: 18px;
  }

  .gf-col.is-big .gf-col-text strong {
    font-size: 26px;
  }

  .gf-col-tag {
    font-size: 13px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .gf-col.is-big .gf-col-tag {
    display: block;
    -webkit-line-clamp: unset;
    font-size: 15px;
  }

  body.gf-has-tabbar .gf-tabbar {
    display: flex;
  }

  .nav-icon,
  .header-nav .nav-icon > a,
  .mobile-nav > li > a {
    min-height: 44px;
  }

  .product-small.box .box-text {
    padding: 12px;
  }
}

@media (min-width: 850px) {
  body.gf-has-tabbar {
    padding-bottom: 0;
  }

  .gf-tabbar {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .button,
  .gf-btn,
  .product-small.box {
    transition: none;
  }

  .product-small.box:hover {
    transform: none;
  }
}
