/* Bangkok Mart Thai child theme — presentation system v1.0.0 */
:root {
  --bm-bg: #F6F8F7;
  --bm-surface: #FFFFFF;
  --bm-text: #102329;
  --bm-muted: #52666B;
  --bm-deep: #0D2730;
  --bm-teal: #007C83;
  --bm-blue: #1B86C9;
  --bm-warm: #F2A65A;
  --bm-success: #177245;
  --bm-error: #B42318;
  --bm-line: #D7E3E2;
  --bm-soft: #E8F1F0;
  --bm-radius-card: 12px;
  --bm-radius-button: 8px;
  --bm-shadow: 0 14px 36px rgba(13, 39, 48, .10);
  --bm-shell: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.site-bangkokmart {
  margin: 0;
  background: var(--bm-bg);
  color: var(--bm-text);
  font-family: "Noto Sans Thai", "Noto Sans", Inter, Tahoma, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
body.site-bangkokmart a { color: inherit; }
body.site-bangkokmart img { max-width: 100%; }
body.site-bangkokmart button,
body.site-bangkokmart input,
body.site-bangkokmart select,
body.site-bangkokmart textarea { font: inherit; }
body.site-bangkokmart :where(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--bm-warm);
  outline-offset: 3px;
  box-shadow: 0 0 0 1px var(--bm-deep);
}
body.site-bangkokmart .screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
body.site-bangkokmart .bm-shell {
  width: min(var(--bm-shell), calc(100% - 48px));
  margin-inline: auto;
}
body.site-bangkokmart .bm-kicker {
  margin: 0;
  color: var(--bm-teal);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.4;
  text-transform: uppercase;
}
body.site-bangkokmart .bm-text-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--bm-teal);
  font-size: .875rem;
  font-weight: 800;
  text-decoration: none;
  text-underline-offset: .25em;
}
body.site-bangkokmart .bm-text-link:hover { color: var(--bm-blue); text-decoration: underline; }
body.site-bangkokmart .bm-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  border: 1px solid transparent;
  border-radius: var(--bm-radius-button);
  padding: 0 1.25rem;
  font-size: .9375rem;
  font-weight: 800;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
body.site-bangkokmart .bm-button:hover { transform: translateY(-2px); }
body.site-bangkokmart .bm-button-primary { background: var(--bm-warm); color: var(--bm-deep); }
body.site-bangkokmart .bm-button-primary:hover { background: #F6BC78; }
body.site-bangkokmart .bm-button-secondary { border-color: rgba(255,255,255,.55); color: #fff; }
body.site-bangkokmart .bm-button-secondary:hover { background: rgba(255,255,255,.10); border-color: #fff; }
body.site-bangkokmart .bm-button-dark { background: var(--bm-deep); color: #fff; }
body.site-bangkokmart .bm-button-dark:hover { background: var(--bm-teal); }

/* Header */
body.site-bangkokmart .bm-topbar {
  background: var(--bm-deep);
  color: #D8EEEC;
  font-size: .75rem;
}
body.site-bangkokmart .bm-topbar-inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
body.site-bangkokmart .bm-topbar a { color: #D8EEEC; text-decoration: none; }
body.site-bangkokmart .bm-topbar a:hover { color: var(--bm-warm); }
body.site-bangkokmart .bm-topbar-links { display: flex; gap: 1.25rem; }
body.site-bangkokmart .bm-site-header {
  position: relative;
  z-index: 20;
  background: var(--bm-surface);
  border-bottom: 1px solid var(--bm-line);
}
body.site-bangkokmart .bm-header-main {
  min-height: 92px;
  display: grid;
  grid-template-columns: auto minmax(170px, 235px) minmax(220px, 1fr) auto;
  align-items: center;
  gap: 1.5rem;
}
body.site-bangkokmart .bm-brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: var(--bm-deep);
  text-decoration: none;
  white-space: nowrap;
}
body.site-bangkokmart .bm-brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bm-deep);
  color: #BFE9E6;
  font: 900 .7rem/1 Inter, Arial, sans-serif;
}
body.site-bangkokmart .bm-brand-word {
  font: 900 1.35rem/1 Inter, Arial, sans-serif;
  letter-spacing: .07em;
}
body.site-bangkokmart .bm-brand-word span { color: var(--bm-teal); }
body.site-bangkokmart .bm-site-search {
  height: 48px;
  min-width: 0;
  display: flex;
  overflow: hidden;
  border: 1px solid #9BCAC8;
  border-radius: 6px;
  background: #FBFDFC;
}
body.site-bangkokmart .bm-site-search:focus-within {
  border-color: var(--bm-teal);
  box-shadow: 0 0 0 3px rgba(0,124,131,.14);
}
body.site-bangkokmart .bm-site-search input[type="search"] {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--bm-text);
  padding: 0 1rem;
}
body.site-bangkokmart .bm-site-search input::placeholder { color: #71858A; }
body.site-bangkokmart .bm-site-search button {
  min-width: 84px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .3rem;
  border: 0;
  background: var(--bm-deep);
  color: #fff;
  cursor: pointer;
  font-size: .8125rem;
  font-weight: 800;
}
body.site-bangkokmart .bm-site-search button:hover { background: var(--bm-teal); }
body.site-bangkokmart .bm-site-search button span:first-child { font-size: 1.25rem; line-height: 1; }
body.site-bangkokmart .bm-header-actions { display: flex; align-items: center; gap: .5rem; }
body.site-bangkokmart .bm-account-link,
body.site-bangkokmart .bm-cart-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  border-radius: 6px;
  padding: 0 .7rem;
  font-size: .8125rem;
  text-decoration: none;
  white-space: nowrap;
}
body.site-bangkokmart .bm-account-link:hover { color: var(--bm-teal); }
body.site-bangkokmart .bm-cart-link { background: var(--bm-soft); border: 1px solid var(--bm-line); }
body.site-bangkokmart .bm-cart-link:hover { background: #D7EEEC; }
body.site-bangkokmart .bm-cart-link b {
  min-width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bm-teal);
  color: #fff;
  font-size: .6875rem;
}
body.site-bangkokmart .bm-menu-toggle {
  display: none;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--bm-line);
  border-radius: 6px;
  background: #fff;
  color: var(--bm-deep);
  cursor: pointer;
}
body.site-bangkokmart .bm-category-nav { background: var(--bm-deep); color: #fff; }
body.site-bangkokmart .bm-category-nav-inner { min-height: 52px; display: flex; align-items: stretch; }
body.site-bangkokmart .bm-all-products {
  min-width: 178px;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: 0 1.25rem;
  background: var(--bm-teal);
  color: #fff;
  font-size: .875rem;
  font-weight: 900;
  text-decoration: none;
}
body.site-bangkokmart .bm-all-products:hover { background: var(--bm-blue); }
body.site-bangkokmart .bm-all-products span:first-child { font-size: 1.2rem; }
body.site-bangkokmart .bm-main-menu { display: flex; flex: 1 1 auto; align-items: stretch; gap: 0; min-width: 0; overflow: hidden; }
body.site-bangkokmart .bm-main-menu a {
  flex: 1 1 0;
  min-width: 0;
  justify-content: center;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  padding: 0 .45rem;
  color: #EDF9F8;
  font-size: .75rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}
body.site-bangkokmart .bm-main-menu a:hover,
body.site-bangkokmart .bm-main-menu a:focus-visible { background: #16424D; color: var(--bm-warm); }
body.site-bangkokmart .bm-main-menu small {
  flex: 0 0 auto;
  min-width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(191,233,230,.15);
  color: #BFE9E6;
  font-size: .5625rem;
}

/* Homepage */
body.site-bangkokmart .bm-home { overflow: hidden; }
body.site-bangkokmart .bm-trust-strip { background: #EAF3F2; border-bottom: 1px solid var(--bm-line); }
body.site-bangkokmart .bm-trust-grid {
  min-height: 42px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: 1rem;
  color: var(--bm-muted);
  font-size: .75rem;
}
body.site-bangkokmart .bm-trust-grid span { display: inline-flex; align-items: center; gap: .45rem; }
body.site-bangkokmart .bm-trust-grid strong { color: var(--bm-teal); font-size: .6875rem; }
body.site-bangkokmart .bm-hero { background: var(--bm-deep); color: #fff; }
body.site-bangkokmart .bm-hero-grid {
  min-height: 590px;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 3.5rem;
  align-items: center;
}
body.site-bangkokmart .bm-hero-copy { padding: 4.5rem 0; }
body.site-bangkokmart .bm-hero-copy .bm-kicker { color: #9FDCD8; }
body.site-bangkokmart .bm-hero-copy h1 {
  max-width: 620px;
  margin: 1.25rem 0 1.25rem;
  color: #fff;
  font-size: clamp(2.6rem, 5vw, 4.9rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.12;
  text-wrap: balance;
}
body.site-bangkokmart .bm-hero-copy h1 span { color: #A9E8E4; }
body.site-bangkokmart .bm-hero-lede { max-width: 560px; margin: 0; color: #C7E5E2; font-size: 1rem; line-height: 1.85; }
body.site-bangkokmart .bm-hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
body.site-bangkokmart .bm-hero-note { display: flex; align-items: center; gap: .5rem; margin: 1.4rem 0 0; color: #92C3C1; font-size: .75rem; }
body.site-bangkokmart .bm-hero-note span { color: var(--bm-warm); font-size: .6rem; }
body.site-bangkokmart .bm-hero-product {
  position: relative;
  min-height: 460px;
  padding: 2.5rem 0 2.5rem 1rem;
}
body.site-bangkokmart .bm-hero-product-label {
  position: absolute;
  z-index: 2;
  top: 1rem;
  right: 0;
  display: grid;
  gap: .2rem;
  padding: .7rem .9rem;
  background: var(--bm-warm);
  color: var(--bm-deep);
  font-size: .625rem;
  line-height: 1.35;
}
body.site-bangkokmart .bm-hero-product-label span { font-weight: 700; letter-spacing: .14em; }
body.site-bangkokmart .bm-hero-product-label strong { font-size: .75rem; }
body.site-bangkokmart .bm-hero-image {
  position: relative;
  height: 460px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(191,233,230,.28);
  background: #F2F7F5;
  box-shadow: 1.25rem 1.5rem 0 rgba(0,124,131,.18);
  transition: border-color .25s ease, box-shadow .45s ease;
  will-change: auto;
}
body.site-bangkokmart .bm-hero-image img {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  mix-blend-mode: multiply;
}

body.site-bangkokmart .bm-image-fallback { height: 100%; display: grid; place-items: center; color: var(--bm-deep); font-size: 1.5rem; font-weight: 800; }
body.site-bangkokmart .bm-hero-product-link {
  position: absolute;
  right: 0;
  bottom: 1.6rem;
  left: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .8rem 1rem;
  background: rgba(13,39,48,.92);
  color: #fff;
  font-size: .8rem;
  text-decoration: none;
  --bm-tilt-x: 0deg;
  --bm-tilt-y: 0deg;
  --bm-glow-x: 50%;
  --bm-glow-y: 50%;
  transform: perspective(900px) rotateX(var(--bm-tilt-y)) rotateY(var(--bm-tilt-x));
  transform-origin: center;
  transition: background-color .2s ease, transform .25s cubic-bezier(.2,.75,.25,1);
  touch-action: pan-y pinch-zoom;
  will-change: auto;
  overflow: hidden;
}
body.site-bangkokmart .bm-hero-product-link::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at var(--bm-glow-x) var(--bm-glow-y), rgba(255,255,255,.35), rgba(255,255,255,0) 64%);
  transition: opacity .2s ease;
}
body.site-bangkokmart .bm-hero-product-link > span { position: relative; z-index: 1; }
body.site-bangkokmart .bm-hero-product-link:hover {
  background: var(--bm-teal);
}
@media (hover: hover) and (pointer: fine) {
  body.site-bangkokmart .bm-hero-product-link:hover {
  transform: perspective(900px) rotateX(var(--bm-tilt-y)) rotateY(var(--bm-tilt-x)) translateY(-2px);
  }
}
body.site-bangkokmart .bm-hero-product-link:focus-visible { background: var(--bm-teal); }
body.site-bangkokmart .bm-hero-product-link.is-tilting { will-change: transform; }
body.site-bangkokmart .bm-hero-product-link.is-tilting::before { opacity: .65; }
body.site-bangkokmart .bm-hero-product-link span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.site-bangkokmart .bm-section { padding: 5.5rem 0; }
body.site-bangkokmart .bm-category-section { background: var(--bm-bg); }
body.site-bangkokmart .bm-products-section { background: var(--bm-surface); }
body.site-bangkokmart .bm-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2rem; }
body.site-bangkokmart .bm-section-heading h2 {
  max-width: 720px;
  margin: .55rem 0 0;
  color: var(--bm-text);
  font-size: clamp(1.75rem, 3vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.2;
}
body.site-bangkokmart .bm-category-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .75rem; }
body.site-bangkokmart .bm-category-card {
  min-width: 0;
  display: block;
  overflow: hidden;
  border: 1px solid var(--bm-line);
  border-radius: var(--bm-radius-card);
  background: var(--bm-surface);
  text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
body.site-bangkokmart .bm-category-card:hover { border-color: var(--bm-teal); box-shadow: var(--bm-shadow); transform: translateY(-3px); }
body.site-bangkokmart .bm-category-media { position: relative; display: block; aspect-ratio: 1 / 1.05; overflow: hidden; background: var(--bm-soft); }
body.site-bangkokmart .bm-category-media img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .35s ease; }
body.site-bangkokmart .bm-category-card:hover .bm-category-media img { transform: scale(1.04); }
body.site-bangkokmart .bm-category-count { position: absolute; right: .5rem; bottom: .5rem; padding: .25rem .4rem; background: rgba(13,39,48,.88); color: #D4F1EE; font-size: .625rem; }
body.site-bangkokmart .bm-category-body { min-height: 4.3rem; display: flex; align-items: center; justify-content: space-between; gap: .45rem; padding: .7rem .75rem; }
body.site-bangkokmart .bm-category-body strong { color: var(--bm-text); font-size: .8125rem; line-height: 1.45; }
body.site-bangkokmart .bm-category-body > span { color: var(--bm-teal); font-size: 1.2rem; }
body.site-bangkokmart .bm-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; }
body.site-bangkokmart .bm-product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--bm-line);
  border-radius: var(--bm-radius-card);
  background: var(--bm-surface);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
body.site-bangkokmart .bm-product-card:hover { border-color: var(--bm-teal); box-shadow: var(--bm-shadow); transform: translateY(-3px); }
body.site-bangkokmart .bm-product-card-link { display: block; color: inherit; text-decoration: none; }
body.site-bangkokmart .bm-product-card-media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #F0F5F4; }
body.site-bangkokmart .bm-product-card-media img { width: 100%; height: 100%; display: block; object-fit: contain; mix-blend-mode: multiply; transition: transform .35s ease; }
body.site-bangkokmart .bm-product-card:hover .bm-product-card-media img { transform: scale(1.04); }
body.site-bangkokmart .bm-product-badge { position: absolute; top: .65rem; left: .65rem; padding: .28rem .45rem; background: var(--bm-warm); color: var(--bm-deep); font-size: .625rem; font-weight: 800; }
body.site-bangkokmart .bm-product-card-body { padding: .9rem .85rem 1rem; }
body.site-bangkokmart .bm-product-card-category { display: block; min-height: 1.2em; margin-bottom: .35rem; color: var(--bm-teal); font-size: .625rem; font-weight: 800; line-height: 1.35; }
body.site-bangkokmart .bm-product-card-body h3 { min-height: 3.1em; margin: 0; overflow: hidden; color: var(--bm-text); font-size: .9375rem; font-weight: 700; line-height: 1.55; }
body.site-bangkokmart .bm-product-card-meta { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: .8rem; }
body.site-bangkokmart .bm-product-price { color: var(--bm-teal); font-size: 1rem; font-weight: 900; }
body.site-bangkokmart .bm-product-price del { margin-right: .3rem; color: #7A8B8E; font-size: .75rem; font-weight: 500; }
body.site-bangkokmart .bm-product-card-meta > span:last-child { color: var(--bm-blue); font-size: 1.2rem; }
body.site-bangkokmart .bm-context-section { background: var(--bm-deep); color: #fff; }
body.site-bangkokmart .bm-section-heading-dark h2 { color: #fff; }
body.site-bangkokmart .bm-section-heading-dark .bm-kicker { color: #9FDCD8; }
body.site-bangkokmart .bm-context-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; border: 1px solid rgba(191,233,230,.25); background: rgba(191,233,230,.25); }
body.site-bangkokmart .bm-context-card { min-height: 245px; display: flex; flex-direction: column; align-items: flex-start; padding: 1.8rem; background: var(--bm-deep); color: #fff; text-decoration: none; transition: background-color .2s ease, transform .2s ease; }
body.site-bangkokmart .bm-context-card:hover { background: #16424D; transform: translateY(-2px); }
body.site-bangkokmart .bm-context-card .bm-kicker { color: #A9E8E4; }
body.site-bangkokmart .bm-context-card h3 { margin: 1.2rem 0 .6rem; color: #fff; font-size: 1.45rem; line-height: 1.3; }
body.site-bangkokmart .bm-context-card p { max-width: 28rem; margin: 0; color: #C7E5E2; font-size: .875rem; line-height: 1.75; }
body.site-bangkokmart .bm-context-link { display: inline-flex; gap: .5rem; margin-top: auto; padding-top: 1.4rem; color: var(--bm-warm); font-size: .8rem; font-weight: 800; }
body.site-bangkokmart .bm-sale-section { background: #EAF3F2; }
body.site-bangkokmart .bm-help-section { background: var(--bm-surface); }
body.site-bangkokmart .bm-help-panel { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2.25rem 2.5rem; background: #DCEFED; border: 1px solid #B9DEDB; border-radius: var(--bm-radius-card); }
body.site-bangkokmart .bm-help-panel h2 { max-width: 680px; margin: .55rem 0 .65rem; color: var(--bm-deep); font-size: clamp(1.6rem, 3vw, 2.5rem); line-height: 1.2; }
body.site-bangkokmart .bm-help-panel p:last-child { max-width: 650px; margin: 0; color: var(--bm-muted); font-size: .9375rem; }

/* Footer */
body.site-bangkokmart .bm-site-footer { background: var(--bm-deep); color: #fff; padding: 3.75rem 0 1.25rem; }
body.site-bangkokmart .bm-footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 2rem; }
body.site-bangkokmart .bm-footer-brand p { max-width: 22rem; margin: 1rem 0; color: #B8D5D2; font-size: .875rem; line-height: 1.75; }
body.site-bangkokmart .bm-footer-brand .bm-brand { color: #fff; }
body.site-bangkokmart .bm-footer-brand .bm-brand-mark { background: #fff; color: var(--bm-deep); }
body.site-bangkokmart .bm-footer-contact { color: var(--bm-warm); font-size: .875rem; font-weight: 800; text-decoration: none; }
body.site-bangkokmart .bm-footer-column { display: grid; align-content: start; gap: .6rem; }
body.site-bangkokmart .bm-footer-column strong { margin-bottom: .35rem; color: #fff; font-size: .875rem; }
body.site-bangkokmart .bm-footer-column a { color: #B8D5D2; font-size: .8125rem; text-decoration: none; }
body.site-bangkokmart .bm-footer-column a:hover { color: var(--bm-warm); }
body.site-bangkokmart .bm-footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid rgba(191,233,230,.2); color: #86ABA8; font-size: .75rem; }

/* WooCommerce presentation surfaces */
body.site-bangkokmart .vl-commerce { min-height: 60vh; padding: 3rem 0 5rem; background: var(--bm-bg); }
body.site-bangkokmart .vl-commerce > .container { width: min(var(--bm-shell), calc(100% - 48px)); }
body.site-bangkokmart .vl-commerce .woocommerce-breadcrumb,
body.site-bangkokmart .vl-breadcrumb { margin: 0 0 1.75rem; color: var(--bm-muted); font-size: .75rem; }
body.site-bangkokmart .vl-breadcrumb a { color: var(--bm-teal); text-decoration: none; }
body.site-bangkokmart .woocommerce .woocommerce-products-header { margin: 0 0 1.5rem; }
body.site-bangkokmart .woocommerce .woocommerce-products-header h1,
body.site-bangkokmart .woocommerce-products-header__title { margin: 0; color: var(--bm-deep); font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.2; }
body.site-bangkokmart .woocommerce .woocommerce-result-count { color: var(--bm-muted); font-size: .8125rem; }
body.site-bangkokmart .woocommerce .woocommerce-ordering select { min-height: 44px; border: 1px solid var(--bm-line); border-radius: 6px; background: #fff; color: var(--bm-text); padding: 0 .7rem; font-size: .8125rem; }
body.site-bangkokmart .woocommerce ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; margin: 1.75rem 0 0; }
body.site-bangkokmart .woocommerce ul.products::before,
body.site-bangkokmart .woocommerce ul.products::after { display: none; }
body.site-bangkokmart .woocommerce ul.products li.product { float: none; width: auto; margin: 0; padding: 0 0 1rem; overflow: hidden; border: 1px solid var(--bm-line); border-radius: var(--bm-radius-card); background: #fff; }
body.site-bangkokmart .woocommerce ul.products li.product:hover { border-color: var(--bm-teal); box-shadow: var(--bm-shadow); }
body.site-bangkokmart .woocommerce ul.products li.product a img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; margin: 0; background: #F0F5F4; mix-blend-mode: multiply; }
body.site-bangkokmart .woocommerce ul.products li.product .woocommerce-loop-product__title { min-height: 3.1em; margin: 0; padding: .8rem .85rem 0; color: var(--bm-text); font-size: .9375rem; font-weight: 700; line-height: 1.55; }
body.site-bangkokmart .woocommerce ul.products li.product .price { display: block; padding: .6rem .85rem .8rem; color: var(--bm-teal); font-size: 1rem; font-weight: 900; }
body.site-bangkokmart .woocommerce ul.products li.product .button { min-height: 44px; display: block; margin: 0 .85rem; border-radius: var(--bm-radius-button); background: var(--bm-deep); color: #fff; text-align: center; font-size: .8125rem; }
body.site-bangkokmart .woocommerce ul.products li.product .button:hover { background: var(--bm-teal); }
body.site-bangkokmart .woocommerce span.onsale { top: .75rem; left: .75rem; min-width: auto; min-height: auto; margin: 0; border-radius: 4px; padding: .3rem .5rem; background: var(--bm-warm); color: var(--bm-deep); font-size: .6875rem; line-height: 1.2; }
body.site-bangkokmart .woocommerce nav.woocommerce-pagination { margin-top: 2.5rem; text-align: center; }
body.site-bangkokmart .woocommerce nav.woocommerce-pagination ul { border: 0; }
body.site-bangkokmart .woocommerce nav.woocommerce-pagination ul li { border: 0; }
body.site-bangkokmart .woocommerce nav.woocommerce-pagination ul li a,
body.site-bangkokmart .woocommerce nav.woocommerce-pagination ul li span { min-width: 40px; min-height: 40px; display: inline-grid; place-items: center; border: 1px solid var(--bm-line); color: var(--bm-deep); background: #fff; }
body.site-bangkokmart .woocommerce nav.woocommerce-pagination ul li span.current { background: var(--bm-deep); color: #fff; }
body.site-bangkokmart .woocommerce div.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 3rem; padding: 1.75rem; border: 1px solid var(--bm-line); border-radius: var(--bm-radius-card); background: #fff; }
body.site-bangkokmart .woocommerce div.product div.images,
body.site-bangkokmart .woocommerce div.product div.summary { float: none; width: auto; margin: 0; }
body.site-bangkokmart .woocommerce div.product div.images img { background: #F0F5F4; }
body.site-bangkokmart .woocommerce div.product .product_title { margin: 0 0 1rem; color: var(--bm-deep); font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.25; }
body.site-bangkokmart .woocommerce div.product p.price,
body.site-bangkokmart .woocommerce div.product span.price { color: var(--bm-teal); font-size: 1.75rem; font-weight: 900; }
body.site-bangkokmart .woocommerce div.product .woocommerce-product-details__short-description { color: var(--bm-muted); font-size: .9375rem; line-height: 1.8; }
body.site-bangkokmart .woocommerce div.product form.cart { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 1.75rem; }
body.site-bangkokmart .woocommerce .quantity input.qty { min-height: 48px; border: 1px solid var(--bm-line); }
body.site-bangkokmart .woocommerce div.product form.cart .button,
body.site-bangkokmart .woocommerce a.button,
body.site-bangkokmart .woocommerce button.button,
body.site-bangkokmart .woocommerce input.button { min-height: 48px; border-radius: var(--bm-radius-button); background: var(--bm-deep); color: #fff; font-size: .875rem; font-weight: 800; }
body.site-bangkokmart .woocommerce div.product form.cart .button:hover,
body.site-bangkokmart .woocommerce a.button:hover,
body.site-bangkokmart .woocommerce button.button:hover,
body.site-bangkokmart .woocommerce input.button:hover { background: var(--bm-teal); color: #fff; }
body.site-bangkokmart .woocommerce div.product .product_meta { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--bm-line); color: var(--bm-muted); font-size: .8125rem; }
body.site-bangkokmart .woocommerce-tabs { margin-top: 2rem; }
body.site-bangkokmart .woocommerce-tabs ul.tabs { padding: 0; }
body.site-bangkokmart .woocommerce-tabs ul.tabs::before { border-color: var(--bm-line); }
body.site-bangkokmart .woocommerce-tabs ul.tabs li { border-color: var(--bm-line); background: #fff; border-radius: 6px 6px 0 0; }
body.site-bangkokmart .woocommerce-tabs .panel { color: var(--bm-muted); font-size: .9375rem; line-height: 1.8; }
body.site-bangkokmart .woocommerce table.shop_table { border-color: var(--bm-line); border-radius: var(--bm-radius-card); background: #fff; }
body.site-bangkokmart .woocommerce .cart_totals,
body.site-bangkokmart .woocommerce-checkout-review-order,
body.site-bangkokmart .woocommerce form.checkout_coupon,
body.site-bangkokmart .woocommerce form.login,
body.site-bangkokmart .woocommerce form.register { padding: 1.5rem; border: 1px solid var(--bm-line); border-radius: var(--bm-radius-card); background: #fff; }
body.site-bangkokmart .woocommerce form .form-row input.input-text,
body.site-bangkokmart .woocommerce form .form-row textarea,
body.site-bangkokmart .woocommerce form .form-row select { min-height: 46px; border: 1px solid var(--bm-line); border-radius: 6px; background: #fff; padding: 0 .75rem; }
body.site-bangkokmart .woocommerce form .form-row textarea { min-height: 120px; padding-top: .75rem; }
body.site-bangkokmart .woocommerce-message,
body.site-bangkokmart .woocommerce-info,
body.site-bangkokmart .woocommerce-error { border-top-color: var(--bm-teal); background: #EAF6F4; }
body.site-bangkokmart .woocommerce-message::before,
body.site-bangkokmart .woocommerce-info::before { color: var(--bm-teal); }

@media (max-width: 1100px) {
  body.site-bangkokmart .bm-category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.site-bangkokmart .bm-header-main { grid-template-columns: auto minmax(160px, 210px) minmax(200px, 1fr) auto; gap: 1rem; }
  body.site-bangkokmart .bm-main-menu a { padding-inline: .55rem; font-size: .75rem; }
}
@media (max-width: 900px) {
  body.site-bangkokmart .bm-shell { width: min(var(--bm-shell), calc(100% - 32px)); }
  body.site-bangkokmart .bm-header-main { min-height: 76px; grid-template-columns: auto minmax(145px, 1fr) auto; gap: .75rem; }
  body.site-bangkokmart .bm-menu-toggle { display: inline-grid; place-items: center; }
  body.site-bangkokmart .bm-site-search { grid-column: 2; grid-row: 1; height: 42px; }
  body.site-bangkokmart .bm-header-actions { grid-column: 3; grid-row: 1; }
  body.site-bangkokmart .bm-account-link { display: none; }
  body.site-bangkokmart .bm-brand { grid-column: 1; grid-row: 1; }
  body.site-bangkokmart .bm-brand-word { font-size: 1rem; }
  body.site-bangkokmart .bm-brand-mark { width: 30px; height: 30px; }
  body.site-bangkokmart .bm-category-nav-inner { min-height: 46px; }
  body.site-bangkokmart .bm-all-products { min-width: 0; padding-inline: .8rem; font-size: .8125rem; }
  body.site-bangkokmart .bm-main-menu {
    position: absolute;
    z-index: 100;
    top: calc(100% + .5rem);
    left: 1rem;
    right: 1rem;
    display: none;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .65rem;
    border: 1px solid var(--bm-line);
    background: #fff;
    box-shadow: var(--bm-shadow);
  }
  body.site-bangkokmart .bm-main-menu.open,
  body.site-bangkokmart .bm-main-menu.is-open { display: flex; visibility: visible; opacity: 1; pointer-events: auto; }
  body.site-bangkokmart .bm-main-menu a { min-height: 44px; padding: .65rem .75rem; color: var(--bm-deep); font-size: .9375rem; }
  body.site-bangkokmart .bm-main-menu a:hover,
  body.site-bangkokmart .bm-main-menu a:focus-visible { background: var(--bm-soft); color: var(--bm-teal); }
  body.site-bangkokmart .bm-trust-grid { grid-template-columns: repeat(2, 1fr); padding-block: .65rem; }
  body.site-bangkokmart .bm-hero-grid { grid-template-columns: 1fr; gap: 0; }
  body.site-bangkokmart .bm-hero-copy { padding: 3.25rem 0 2rem; }
  body.site-bangkokmart .bm-hero-product { min-height: 390px; padding: .75rem 0 2rem; }
  body.site-bangkokmart .bm-hero-image { height: 390px; }
  body.site-bangkokmart .bm-hero-product-link { bottom: 1.25rem; left: 2rem; }
  body.site-bangkokmart .bm-product-grid,
  body.site-bangkokmart .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.site-bangkokmart .bm-context-grid { grid-template-columns: 1fr; }
  body.site-bangkokmart .bm-footer-grid { grid-template-columns: repeat(2, 1fr); }
  body.site-bangkokmart .woocommerce div.product { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 560px) {
  body.site-bangkokmart .bm-shell { width: calc(100% - 24px); }
  body.site-bangkokmart .bm-topbar-inner { min-height: 34px; }
  body.site-bangkokmart .bm-topbar-inner > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  body.site-bangkokmart .bm-topbar-links { display: none; }
  body.site-bangkokmart .bm-header-main { grid-template-columns: auto minmax(0, 1fr) auto; gap: .45rem; }
  body.site-bangkokmart .bm-brand-word { display: none; }
  body.site-bangkokmart .bm-site-search input[type="search"] { padding-inline: .55rem; font-size: .8125rem; }
  body.site-bangkokmart .bm-site-search button { min-width: 44px; }
  body.site-bangkokmart .bm-site-search button span:last-child { display: none; }
  body.site-bangkokmart .bm-cart-link { min-width: 44px; padding-inline: .4rem; }
  body.site-bangkokmart .bm-cart-link > span:nth-child(2) { display: none; }
  body.site-bangkokmart .bm-all-products { flex: 1; justify-content: center; }
  body.site-bangkokmart .bm-trust-grid { grid-template-columns: 1fr 1fr; gap: .35rem .75rem; font-size: .6875rem; }
  body.site-bangkokmart .bm-hero-copy { padding: 2.75rem 0 1.75rem; }
  body.site-bangkokmart .bm-hero-copy h1 { font-size: clamp(2.35rem, 12vw, 3.2rem); }
  body.site-bangkokmart .bm-hero-lede { font-size: .9375rem; }
  body.site-bangkokmart .bm-hero-actions { align-items: stretch; flex-direction: column; }
  body.site-bangkokmart .bm-button { width: 100%; }
  body.site-bangkokmart .bm-hero-product { min-height: 310px; }
  body.site-bangkokmart .bm-hero-image { height: 310px; }
  body.site-bangkokmart .bm-hero-product-label { top: .5rem; right: .5rem; }
  body.site-bangkokmart .bm-hero-product-link { right: .5rem; bottom: .85rem; left: .85rem; min-height: 44px; padding: .65rem .75rem; font-size: .6875rem; }
  body.site-bangkokmart .bm-section { padding: 3.75rem 0; }
  body.site-bangkokmart .bm-section-heading { align-items: flex-start; flex-direction: column; gap: .75rem; margin-bottom: 1.4rem; }
  body.site-bangkokmart .bm-section-heading h2 { font-size: 1.75rem; }
  body.site-bangkokmart .bm-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
  body.site-bangkokmart .bm-category-body { min-height: 4.1rem; padding: .6rem; }
  body.site-bangkokmart .bm-category-body strong { font-size: .75rem; }
  body.site-bangkokmart .bm-category-count { right: .35rem; bottom: .35rem; font-size: .5625rem; }
  body.site-bangkokmart .bm-product-grid,
  body.site-bangkokmart .woocommerce ul.products { gap: .65rem; }
  body.site-bangkokmart .bm-product-card-body { padding: .7rem .65rem .8rem; }
  body.site-bangkokmart .bm-product-card-body h3 { font-size: .8125rem; }
  body.site-bangkokmart .bm-product-price { font-size: .875rem; }
  body.site-bangkokmart .bm-help-panel { align-items: stretch; flex-direction: column; padding: 1.4rem; }
  body.site-bangkokmart .bm-footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  body.site-bangkokmart .bm-footer-bottom { align-items: flex-start; flex-direction: column; margin-top: 2rem; }
  body.site-bangkokmart .vl-commerce { padding-top: 2rem; }
  body.site-bangkokmart .woocommerce div.product,
  body.site-bangkokmart .woocommerce div.product > *,
  body.site-bangkokmart .woocommerce div.product div.images,
  body.site-bangkokmart .woocommerce div.product div.summary,
  body.site-bangkokmart .woocommerce-product-gallery,
  body.site-bangkokmart .woocommerce-product-gallery__wrapper,
  body.site-bangkokmart .woocommerce-product-gallery__image { min-width: 0; max-width: 100%; width: 100%; }
  body.site-bangkokmart .woocommerce div.product { grid-template-columns: minmax(0, 1fr); }
  body.site-bangkokmart .woocommerce-product-gallery__image img { width: 100%; height: auto; }
}
@media (max-width: 560px) {
  body.site-bangkokmart.woocommerce-page div.product {
    grid-template-columns: minmax(0, 1fr);
  }
  body.site-bangkokmart.woocommerce-page div.product > *,
  body.site-bangkokmart.woocommerce-page div.product div.images,
  body.site-bangkokmart.woocommerce-page div.product div.summary,
  body.site-bangkokmart.woocommerce-page .woocommerce-product-gallery,
  body.site-bangkokmart.woocommerce-page .woocommerce-product-gallery__wrapper,
  body.site-bangkokmart.woocommerce-page .woocommerce-product-gallery__image {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }
  body.site-bangkokmart.woocommerce-page .woocommerce-product-gallery__image img {
    width: 100%;
    height: auto;
  }
  body.site-bangkokmart.woocommerce-page .woocommerce-tabs,
  body.site-bangkokmart.woocommerce-page .woocommerce-tabs .panel,
  body.site-bangkokmart.woocommerce-page .woocommerce-tabs .panel * {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  body.site-bangkokmart.woocommerce-page .woocommerce-tabs,
  body.site-bangkokmart.woocommerce-page .woocommerce-tabs .panel {
    overflow: hidden;
  }
  body.site-bangkokmart.woocommerce-page .related.products {
    display: block;
    width: 100%;
    min-width: 0;
    overflow: hidden;
  }
  body.site-bangkokmart.woocommerce-page .related.products > h2 {
    width: 100%;
  }
  body.site-bangkokmart.woocommerce-page .related.products ul.products {
    width: 100%;
    min-width: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-inline: 0;
  }
  body.site-bangkokmart.woocommerce-page .related.products ul.products li.product {
    min-width: 0;
    width: auto;
  }
  body.site-bangkokmart.woocommerce-page .related.products ul.products li.product .button {
    white-space: normal;
    word-break: break-word;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.site-bangkokmart,
  body.site-bangkokmart * {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
  body.site-bangkokmart .bm-hero-product-link {
    transform: none !important;
    transition: none !important;
  }
  body.site-bangkokmart .bm-hero-product-link::before {
    opacity: 0 !important;
    transition: none !important;
  }
} 
