:root {
  --pine: #073927;
  --deep: #092d21;
  --leaf: #08733d;
  --bright: #90e7a3;
  --sage: #eff6ed;
  --paper: #fff;
  --ink: #19382c;
  --muted: #50665a;
  --line: #d7e5d9;
}

html { background: var(--deep); }
body, body.bg-light, body.bg-success {
  width: min(1120px, calc(100% - 64px));
  margin: 24px auto;
  background: var(--sage) !important;
  color: var(--ink) !important;
  font: 1rem/1.6 "Inter", "Segoe UI", system-ui, sans-serif;
  border-radius: 20px;
}
a { color: #067344; overflow-wrap: anywhere; }
a:hover { color: var(--pine); }
:focus-visible { outline: 3px solid #228d58; outline-offset: 3px; }

body > header.container-fluid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 10px 24px;
  padding: 14px 28px;
  border-radius: 20px 20px 0 0;
  background: var(--paper) !important;
}
body > header > img, .gm-home-link > img {
  display: block;
  width: min(286px, 100%) !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}
.gm-home-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  flex: 0 1 286px;
  min-width: 0;
  max-width: 100%;
  border-radius: 4px;
}
body > header p {
  margin: 0;
  color: var(--pine) !important;
  font-size: .875rem;
  font-weight: 620;
  line-height: 1.35;
  text-align: right;
}
body > header p img {
  object-fit: contain;
  width: 25px !important;
  height: auto !important;
  padding: 0 !important;
  margin-inline: 3px;
  vertical-align: baseline;
}

body > nav.navbar {
  position: relative;
  inset: auto;
  z-index: 20;
  min-height: 46px;
  padding: 5px 28px 5px 18px;
  background: var(--paper) !important;
  border-top: 1px solid #eef2ed;
  border-bottom: 1px solid #dce8dd;
}
body > nav .navbar-nav {
  width: 100%;
  align-items: center;
  flex-wrap: wrap;
  gap: 3px clamp(2px, .7vw, 11px);
}
body > nav .navbar-nav .nav-item { max-width: 100%; }
body > nav.navbar-dark .navbar-nav .nav-link {
  padding: 6px 10px;
  color: #174432;
  font-size: .875rem;
  border-radius: 7px;
  font-weight: 650;
}
body > nav .navbar-nav .nav-link :is(b, strong) { font-weight: inherit; }
body > nav.navbar-dark .navbar-nav .nav-link:is(:hover, :focus-visible, [aria-current="page"]) {
  color: #075631;
  background: #e7f3e7;
}
body > nav .gm-mobile-catalog { display: none; }

@media (min-width: 820px) {
  body > nav .navbar-toggler { display: none; }
  body > nav .navbar-collapse { display: flex !important; flex-basis: auto; }
  body > nav .navbar-nav { flex-direction: row; }
  body > nav .gm-nav-contact:last-child { margin-inline-start: auto; }
  body > nav.navbar-dark .gm-nav-contact > .nav-link {
    padding: 5px 13px;
    border: 1px solid #bad6bf;
  }
}

@media (min-width: 820px) and (max-width: 849px) {
  body > nav .navbar-nav { column-gap: 4px; }
}

@media (max-width: 819px) {
  body > nav.navbar { padding: 4px 16px; }
  body > nav .gm-mobile-catalog {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 7px;
    color: #075631;
    font-size: .875rem;
    font-weight: 650;
    border-radius: 7px;
  }
  body > nav.navbar-dark .navbar-toggler {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    margin-inline-start: auto;
    padding: 0 9px;
    color: #174432;
    font-size: .875rem;
    font-weight: 650;
    border: 1px solid #d2e3d3;
    border-radius: 7px;
  }
  body > nav.navbar-dark .navbar-toggler-icon {
    width: 14px;
    height: 11px;
    background: linear-gradient(#245741, #245741) center / 100% 1.5px no-repeat;
    border-block: 1.5px solid #245741;
  }
  body > nav .navbar-nav {
    align-items: stretch;
    gap: 1px;
    margin-top: 4px;
    padding: 7px 0 4px;
    border-top: 1px solid #eef2ed;
  }
  body > nav.navbar-dark .navbar-nav .nav-link { min-height: 40px; padding: 8px 10px; }
}

body > nav + br, .gm-hero + br { display: none; }
.gm-hero {
  padding: 22px 28px 25px;
  background: var(--pine);
  color: #fff;
  border-top: 1px solid #ffffff20;
}
.gm-hero h1 {
  margin: 0 0 6px;
  font-size: clamp(1.7rem, 3.8vw, 2.55rem);
  line-height: 1.15;
  letter-spacing: -.04em;
  font-weight: 740;
}
body > .container-fluid { padding: 24px 28px 30px; }
.gm-catalog-title { font-size: 1.2rem; letter-spacing: -.025em; margin: 0 0 12px; font-weight: 700; }
.gm-grid.row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 14px; margin: 0; }
.gm-grid .imgcateg {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  margin: 0;
  height: auto;
  min-width: 0;
  padding: 6px 9px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 10px;
}
.gm-grid .imgcateg:hover, .gm-grid .imgcateg:focus-within { border-color: #93bda0; }
.gm-grid .imgcateg > img {
  width: 100% !important;
  height: 45px !important;
  object-fit: contain;
  border: 0;
  padding: 0;
}
.gm-grid .btn-group { width: 100%; align-items: stretch; }
.gm-grid .btn-group > .btn {
  margin: 0 !important;
  flex: 1 1 0;
  min-width: 0;
  min-height: 44px;
  padding: 5px 7px;
  color: var(--ink);
  background: transparent;
  border: 0;
  font-size: .9375rem;
  white-space: normal;
  text-align: left;
  font-weight: 610;
}
.gm-grid .btn-group > .btn:hover, .gm-grid .show > .btn { color: var(--leaf); }
.gm-grid .text-danger { color: var(--leaf) !important; }
.gm-grid .btn-group > .dropdown-toggle-split { flex: 0 0 36px; text-align: center; }
.dropdown-menu {
  max-width: min(24rem, calc(100vw - 28px));
  min-width: min(15rem, calc(100vw - 28px));
  border-color: var(--line);
  border-radius: 10px;
  box-shadow: 0 12px 28px #082c2526;
  padding: 5px;
}
.dropdown-item { white-space: normal; color: var(--ink); font-size: .9375rem; padding: 7px 10px; }
.dropdown-item:focus, .dropdown-item:hover { background: var(--sage); color: var(--pine); }
.dropdown-item:active { background: var(--pine); color: white; }

.gm-detail.row { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 16px; margin: 0; }
.gm-detail.row > * { min-width: 0; max-width: none; }
.gm-detail .gm-sidebar { flex: 0 0 100%; padding: 0; order: -1; }
.gm-sidebar > .btn { width: auto; min-height: 42px; }
.gm-sidebar .btn-warning, .btn-success {
  background: var(--leaf);
  border-color: var(--leaf);
  color: #fff;
}
.gm-sidebar .btn-warning:hover, .gm-sidebar .btn-warning:focus,
.btn-success:hover, .btn-success:focus { background: var(--pine); border-color: var(--pine); color: #fff; }
.gm-sidebar #demo.show { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(188px, 100%), 1fr)); gap: 8px; margin-top: 12px; }
.gm-sidebar .categprod { width: 100%; margin: 0; }
.gm-sidebar .categprod > .btn { white-space: normal; }
.gm-detail .gm-panel {
  flex: 1 1 320px;
  background: var(--paper);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin: 0 !important;
  overflow-wrap: anywhere;
}
.gm-panel h1, .gm-panel h2, .gm-panel h3, .gm-panel h4, .gm-panel h5 {
  letter-spacing: -.025em;
  font-weight: 730;
  color: var(--pine);
}
.gm-panel img { max-width: 100%; height: auto !important; object-fit: contain; }
.gm-panel .photos img { max-height: 230px; }
.gm-panel iframe { max-width: 100%; border: 0; border-radius: 10px; }
.gm-panel table { max-width: 100%; }
.gm-panel pre { white-space: pre-wrap; overflow-wrap: anywhere; }
body > .footer, body > footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  column-gap: 16px;
  min-height: 55px;
  padding: 5px 28px;
  border-top: 1px solid #ffffff24;
  border-radius: 0 0 20px 20px;
  color: #e1eee3;
  background: var(--pine);
  font-size: .8125rem;
  line-height: 1.4;
}
body > .footer p, body > footer p { order: -1; margin: 0; color: #e1eee3; text-align: left; }
body > .footer a, body > footer a { color: #fff; }

.gm-legal {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 16px;
  margin-inline-start: auto;
}
.gm-legal a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 2px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.gm-legal a:focus-visible { outline-color: var(--bright); outline-offset: 0; }
.gm-legal a[aria-current="page"] { font-weight: 700; }

@media (max-width: 700px) {
  body, body.bg-light, body.bg-success { width: calc(100% - 24px); margin: 12px auto; }
  body > header.container-fluid, body > .container-fluid, .gm-hero { padding: 16px; }
  .gm-grid.row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .gm-detail .gm-panel { padding: 16px; }
  body > .footer, body > footer { flex-direction: column; padding: 4px 12px 12px; }
  body > .footer p, body > footer p { order: 0; font-size: .75rem; text-align: center; text-wrap: balance; }
  .gm-legal { column-gap: 8px; margin-inline-start: 0; }
}

body:has(.gm-browser) .gm-hero {
  color: var(--pine);
  background: var(--sage);
  border-top: 0;
  padding-bottom: 4px;
}
.gm-banner {
  position: relative;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 14px;
  background: var(--pine);
}
.gm-banner-visual {
  position: relative;
  container-type: inline-size;
  opacity: .7;
}
.gm-banner-artwork {
  display: block;
  width: 100%;
  height: auto;
}
.gm-banner-decal {
  position: absolute;
  left: 91%;
  top: 69.5%;
  /* Lățimea păstrează poziția pe capac și când fotografia e decupată vertical. */
  top: calc(42% + 9.34cqw);
  width: 9.2%;
  height: auto;
  opacity: .53;
  transform: translate(-50%, -50%) rotate(-1deg);
  pointer-events: none;
}
.gm-catalog-search {
  --search-inset: clamp(10px, 2.4vw, 26px);
  --search-bottom: clamp(9px, 1.65vw, 18px);
  --search-icon-bottom: calc(var(--search-bottom) + 18px);
  position: absolute;
  inset: auto 0 0;
  display: grid;
  padding: clamp(14px, 3vw, 36px) var(--search-inset) var(--search-bottom);
  background: linear-gradient(transparent, #082e216b);
}
.gm-catalog-search::before,
.gm-catalog-search::after {
  content: "";
  position: absolute;
  z-index: 1;
  pointer-events: none;
  color: var(--leaf);
}
.gm-catalog-search::before {
  width: 15px;
  height: 15px;
  border: 2px solid currentColor;
  border-radius: 50%;
  left: calc(var(--search-inset) + 15px);
  bottom: var(--search-icon-bottom);
}
.gm-catalog-search::after {
  width: 7px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transform: rotate(45deg);
  left: calc(var(--search-inset) + 27px);
  bottom: calc(var(--search-icon-bottom) - 1px);
}
.gm-search {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 8px 14px 8px 42px;
  color: var(--ink);
  background: #fffffff5;
  border: 1px solid #fff;
  border-radius: 9px;
  box-shadow: 0 3px 14px #06281c4d;
}
.gm-search::placeholder { color: var(--muted); }
.gm-hero .gm-catalog-heading h1 {
  font-size: clamp(1.3125rem, 2.8vw, 1.75rem);
  overflow-wrap: anywhere;
}
.gm-catalog-heading:has(.gm-catalog-search) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(250px, 34%, 360px);
  align-items: center;
  gap: 20px;
}
.gm-hero .gm-catalog-heading:has(.gm-catalog-search) h1 { margin: 0; }
.gm-catalog-heading .gm-catalog-search {
  --search-inset: 0px;
  --search-icon-bottom: 16px;
  position: relative;
  inset: auto;
  padding: 0;
  background: none;
}
.gm-catalog-heading .gm-search {
  min-height: 44px;
  background: var(--paper);
  border-color: #b6cdb9;
  box-shadow: 0 2px 6px #0739270b;
}
.gm-browser.row {
  display: grid;
  grid-template-columns: 198px minmax(0, 1fr);
  align-items: start;
  gap: 20px;
  margin: 0;
}
.gm-filters {
  border: 1px solid #e1ebe0;
  background: var(--paper);
  border-radius: 10px;
}
.gm-filters h2 { font-size: 1rem; font-weight: 720; margin: 0; padding: 12px; }
.gm-filters button {
  display: block;
  width: 100%;
  min-height: 35px;
  padding: 7px 12px;
  border: 0;
  border-top: 1px solid #edf2ec;
  background: transparent;
  text-align: left;
  color: var(--ink);
  font-size: .875rem;
  line-height: 1.3;
}
.gm-filters button:last-child { border-radius: 0 0 10px 10px; }
.gm-filters button:hover { background: var(--sage); }
.gm-filters button[aria-pressed="true"] { background: #daeddb; color: var(--pine); font-weight: 680; }
.gm-mobile-categories { display: none; }
.gm-results { min-width: 0; scroll-margin-top: 16px; }
.gm-results-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin-bottom: 12px;
}
.gm-results-heading .gm-catalog-title { margin: 0; font-size: 1.45rem; line-height: 1.2; overflow-wrap: anywhere; }
.gm-count { margin: 0 0 13px; font-size: .875rem; color: var(--muted); }
.gm-results-heading .gm-count { margin: 0; }
.gm-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gm-product {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid #e7efe6;
  border-radius: 8px;
  transition: border-color .15s, box-shadow .15s;
}
.gm-product:hover {
  text-decoration: none;
  border-color: #87ad93;
  box-shadow: 0 4px 12px #07392714;
}
.gm-product-photo {
  height: 108px;
  padding: 9px 12px 5px;
  background: #faf9f5;
  border-radius: 8px 8px 0 0;
}
.gm-product-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.gm-product-copy { display: flex; flex: 1; flex-direction: column; padding: 8px 11px 10px; }
.gm-product h3 { margin: 0 0 3px; font-size: .90625rem; line-height: 1.25; font-weight: 720; }
.gm-product p { margin: 0 0 5px; color: var(--muted); font-size: .875rem; line-height: 1.3; }
.gm-product span { margin-top: auto; padding-top: 3px; font-size: .875rem; color: var(--leaf); font-weight: 680; }
.gm-product:hover span { text-decoration: underline; }

@media (min-width: 701px) {
  .gm-banner-artwork { max-height: 300px; object-fit: cover; object-position: center 42%; }
}
@media (min-width: 851px) {
  .gm-filters {
    position: sticky;
    top: 16px;
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
  }
}
@media (min-width: 1100px) {
  .gm-products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 850px) {
  .gm-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .gm-catalog-search {
    --search-inset: 10px;
    --search-bottom: 10px;
    position: relative;
    padding-top: 8px;
    background: linear-gradient(90deg, #1d421d, #284f22);
  }
  .gm-browser.row { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .gm-filters { display: none; }
  .gm-results-heading .gm-catalog-title { font-size: 1.2rem; }
  .gm-mobile-categories { display: block; }
  .gm-mobile-category-heading { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 8px; }
  .gm-mobile-category-heading h2 { margin: 0; color: var(--pine); font-size: 1.15rem; font-weight: 720; }
  .gm-mobile-category-heading button {
    min-height: 36px;
    padding: 3px 4px;
    border: 0;
    background: transparent;
    color: var(--leaf);
    font-size: .875rem;
    font-weight: 670;
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  .gm-mobile-category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .gm-mobile-category {
    min-width: 0;
    border: 1px solid #e0ebe0;
    border-radius: 8px;
    background: var(--paper);
  }
  .gm-mobile-category summary {
    position: relative;
    display: grid;
    grid-template-rows: 60px 1fr auto;
    gap: 5px;
    height: 100%;
    padding: 7px 9px 8px;
    color: var(--pine);
    cursor: pointer;
    list-style: none;
    line-height: 1.25;
  }
  .gm-mobile-category summary::-webkit-details-marker { display: none; }
  .gm-mobile-category summary::after {
    content: "";
    position: absolute;
    top: 10px;
    right: 9px;
    width: 7px;
    height: 7px;
    border-bottom: 1.5px solid var(--leaf);
    border-right: 1.5px solid var(--leaf);
    transform: rotate(45deg);
  }
  .gm-mobile-category summary img {
    width: 100%;
    height: 60px;
    padding: 0 10px;
    object-fit: contain;
  }
  .gm-mobile-category summary strong { font-size: .875rem; overflow-wrap: anywhere; }
  .gm-mobile-category summary small { color: var(--muted); font-size: .8125rem; }
  .gm-mobile-category[open] { grid-column: 1 / -1; }
  .gm-mobile-category[open] summary { grid-template-rows: auto auto; height: auto; padding: 10px 24px 10px 10px; background: #e2efe2; border-radius: 7px 7px 0 0; }
  .gm-mobile-category[open] summary img { display: none; }
  .gm-mobile-category[open] summary::after { transform: rotate(225deg); top: 15px; }
  .gm-mobile-category > .gm-results { padding: 8px; }
  .gm-mobile-category > .gm-results h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .gm-mobile-category .gm-results-heading { margin-bottom: 8px; }
  .gm-mobile-category .gm-results-heading:has(.gm-count[hidden]) { margin-bottom: 0; }
  .gm-mobile-category .gm-products { gap: 7px; }
  .gm-mobile-category .gm-product-photo { height: 90px; }
}
@media (max-width: 370px) {
  .gm-products { grid-template-columns: minmax(0, 1fr); }
}


@media (max-width: 520px) {
  body > header.container-fluid { gap: 10px; }
  .gm-home-link { flex: 1 1 55%; }
  body > header p { flex: 0 1 45%; font-size: .75rem; }
  body > header p img { width: 21px !important; }
}

.gm-product-actions { margin-bottom: 12px; }
.gm-product-actions a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 5px 10px;
  border: 1px solid #9ab6a2;
  border-radius: 8px;
  color: var(--pine);
  background: var(--paper);
  font-size: .875rem;
  line-height: 1.35;
  font-weight: 620;
}
.gm-product-actions a::before {
  content: "";
  width: 7px;
  height: 7px;
  border-bottom: 1.5px solid currentColor;
  border-left: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.gm-product-actions a:hover { background: #e3efe3; }
#catalog-rezultate { scroll-margin-top: 16px; }

.gm-overview {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
  flex: 0 0 100%;
  gap: clamp(18px, 3vw, 32px);
  align-items: start;
  padding: clamp(14px, 2vw, 22px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}
.gm-overview h1 {
  margin: 0 0 6px;
  color: var(--pine);
  font-size: clamp(1.3125rem, 2.2vw, 1.6875rem);
  line-height: 1.12;
  letter-spacing: -.035em;
  font-weight: 750;
}
.gm-overview-category {
  display: inline-block;
  margin: 0 0 10px;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--leaf);
  color: #fff;
  font-size: .8125rem;
  font-weight: 650;
}
.gm-overview .gm-overview-subtitle {
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 1rem;
  text-align: left !important;
}
.gm-product-gallery { min-width: 0; }
.gm-product-gallery > a:not([hidden]) { display: block; }
.gm-product-gallery > a > img, .gm-product-gallery > img {
  display: block;
  width: 100% !important;
  height: clamp(200px, 25vw, 280px) !important;
  border: 0;
  border-radius: 9px;
  padding: 0;
  background: #f3f6f3;
  object-fit: scale-down;
}
.gm-product-thumbnails { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 9px; }
.gm-product-thumbnails button {
  width: 62px;
  height: 54px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
}
.gm-product-thumbnails button[aria-pressed="true"] { border-color: var(--leaf); }
.gm-product-thumbnails img { width: 100%; height: 100%; object-fit: contain; }
.gm-product-warning {
  padding: 9px 12px;
  border-left: 3px solid #a17326;
  border-radius: 7px;
  color: #543c15;
  background: #faf2dd;
}
.gm-product-warning p { margin: 0; }
.gm-product-warning p + p { margin-top: 4px; }
.gm-product-detail .gm-panel iframe[src*="youtube"] { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.gm-product-faq { flex: 0 0 100%; padding: 0 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; }
.gm-product-faq summary { cursor: pointer; padding: 12px 0; color: var(--pine); font-weight: 700; }
.gm-product-faq p { margin-bottom: 10px; }
.gm-product-sizes { width: 100%; margin-bottom: 12px; }
.gm-product-sizes th, .gm-product-sizes td { padding: 5px 8px; border: 1px solid var(--line); }
.gm-product-sizes tbody tr:nth-child(even) { background: #f7faf7; }
.gm-product-sizes td:last-child { font-weight: 650; }
.gm-product-sizes th { background: var(--sage); }

@media (max-width: 700px) {
  .gm-overview { grid-template-columns: minmax(0, 1fr); }
  .gm-overview-copy { grid-row: 1; }
}

.gm-product-detail { font-size: .9375rem; line-height: 1.5; }
.gm-product-detail > .gm-panel { flex-basis: calc((100% - 16px) / 2); padding: 18px; }
.gm-product-detail > .gm-panel h2 { margin: 0 0 8px; font-size: 1.125rem; }
.gm-product-detail > .gm-panel p, .gm-overview-copy > p:not(.gm-overview-category) { margin-bottom: 9px; }
.gm-product-bullets { padding-left: 19px; margin-bottom: 11px; }
.gm-product-bullets li + li { margin-top: 3px; }
.gm-product-detail > .gm-panel h1 { font-size: 1.4375rem; }
@media (max-width: 700px) {
  .gm-product-detail > .gm-panel { flex-basis: 100%; }
}

.gm-product-video {
  width: 100%;
  margin: 0 0 12px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--paper);
}
.gm-product-video summary {
  padding: 10px 0;
  color: var(--pine);
  font-weight: 700;
  cursor: pointer;
}
.gm-product-video[open] { padding-bottom: 12px; }
.gm-product-video iframe { border: 0; border-radius: 6px; }
.gm-zoom-trigger { cursor: zoom-in; }
.gm-zoom-button {
  max-width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
}
.gm-zoom-dialog {
  position: fixed;
  max-width: min(90vw, 760px);
  max-height: 88vh;
  margin: auto;
  padding: 10px;
  border: 0;
  border-radius: 12px;
  background: var(--paper);
  box-shadow: 0 18px 70px #001c1290;
}
.gm-zoom-dialog::backdrop { background: #051d16b8; }
.gm-zoom-dialog > img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(82vw, 700px);
  max-height: 78vh;
  object-fit: contain;
  border-radius: 6px;
}
.gm-zoom-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--pine);
  background: var(--paper);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.gm-retail.row { display: grid; gap: 20px; margin: 0; }
.gm-retail-intro {
  padding: clamp(16px, 2.4vw, 26px);
  border-left: 4px solid var(--leaf);
  border-radius: 12px;
  background: #e2efe2;
  color: var(--pine);
}
.gm-retail-intro h1 {
  margin: 0 0 8px;
  font-size: clamp(1.65rem, 3.2vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -.03em;
  font-weight: 750;
}
.gm-retail-intro p { margin: 0; }
.gm-retail-section h2 { margin: 0 0 12px; color: var(--pine); font-size: 1.25rem; font-weight: 700; }
.gm-retail-partners {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.gm-retail-partners li, .gm-retail-partners li > a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
}
.gm-retail-partners li {
  min-height: 102px;
  padding: 10px 8px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--paper);
  color: var(--ink);
  text-align: center;
  font-size: .875rem;
  font-weight: 620;
  line-height: 1.3;
}
.gm-retail-partners img { display: block; width: min(112px, 100%); height: 48px; object-fit: contain; }
.gm-retail-partners .gm-retail-name-only { background: #f9fcf8; }
@media (max-width: 760px) {
  .gm-retail-partners { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .gm-retail-partners { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.gm-retail-partners .gm-retail-pharmacy-icon::before {
  content: "";
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background:
    linear-gradient(var(--leaf), var(--leaf)) center / 20px 4px no-repeat,
    linear-gradient(var(--leaf), var(--leaf)) center / 4px 20px no-repeat,
    #e2efe2;
}

.gm-contact { --contact-width: 960px; }
.gm-contact.row { display: grid; gap: 16px; margin: 0; }
.gm-contact > :is(.gm-contact-intro, .gm-contact-grid, .gm-contact-map) {
  width: min(100%, var(--contact-width));
  margin-inline: auto;
}
.gm-contact .gm-contact-intro {
  padding: 14px clamp(16px, 2vw, 22px);
  border-left-width: 3px;
}
.gm-contact-intro h1 { font-size: clamp(1.6rem, 3vw, 1.95rem); margin-bottom: 4px; }
.gm-contact-intro p { font-size: .9375rem; }
.gm-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}
.gm-contact-card {
  min-width: 0;
  padding: clamp(14px, 2vw, 22px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  font-size: .9375rem;
}
.gm-contact-card h2, .gm-contact-card h3 { color: var(--pine); font-weight: 720; }
.gm-contact-card h2 { margin: 0 0 12px; font-size: 1.2rem; }
.gm-contact-card h3 { margin: 14px 0 6px; font-size: 1rem; }
.gm-contact-card dl { margin: 0; }
.gm-contact-grid > .gm-contact-card, .gm-contact > .gm-contact-map {
  box-shadow: 0 2px 8px #07392708;
}
.gm-contact-info { display: flex; flex-direction: column; }
.gm-contact-card dl > div {
  display: grid;
  grid-template-columns: minmax(84px, .34fr) minmax(0, 1fr);
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid #e8eee8;
}
.gm-contact-card dt { color: var(--muted); font-weight: 620; }
.gm-contact-card dd { margin: 0; overflow-wrap: anywhere; }
.gm-contact-card pre {
  font: inherit;
  padding: 9px 10px;
  margin: 0;
  border-radius: 6px;
  background: var(--sage);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.gm-contact-phones {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(126px, 100%), 1fr));
  gap: 2px 8px;
}
.gm-contact-phones a { font-variant-numeric: tabular-nums; }
.gm-contact-company {
  padding: 10px 12px;
  margin-top: 12px;
  border-radius: 8px;
  background: #f0f5ef;
}
.gm-contact-company h3 { margin: 0 0 5px; }
.gm-contact-company dl > div {
  grid-template-columns: 63px minmax(0, 1fr);
  padding: 2px 0;
  font-size: .875rem;
  border-bottom: 0;
}
.gm-contact-company pre { padding: 0; background: transparent; }
.gm-contact-map { display: grid; gap: 10px; }
.gm-contact-map-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; }
.gm-contact-map-heading h2 { margin: 0; }
.gm-contact-map-heading a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 4px 10px;
  border: 1px solid #c9ddcd;
  border-radius: 7px;
  font-size: .875rem;
  font-weight: 650;
}
.gm-contact-map-heading a:hover { background: var(--sage); }
.gm-contact-map iframe { display: block; width: 100%; height: clamp(240px, 34vw, 320px); border-radius: 8px; }

.gm-posm.row { display: grid; gap: 16px; margin: 0; }
.gm-posm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.gm-posm-card, .gm-posm-about {
  padding: clamp(14px, 2vw, 20px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  font-size: .9375rem;
}
.gm-posm-card h2 {
  margin: 0 0 12px;
  font-size: 1.18rem;
  color: var(--pine);
  font-weight: 720;
}
.gm-posm-card .photos {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  padding: 8px;
  border-radius: 8px;
  background: var(--sage);
}
.gm-posm-card .photos a { flex: 1; min-width: 0; }
.gm-posm-card .photos img {
  display: block;
  width: 100% !important;
  height: clamp(150px, 20vw, 200px) !important;
  object-fit: contain;
  border: 0;
  background: var(--paper);
}
.gm-posm-copy p, .gm-posm-copy ul { margin-bottom: 8px; }
.gm-posm-copy ul { padding-left: 19px; }
.gm-posm-copy i { color: var(--pine); font-weight: 650; font-style: normal; }
.gm-posm-about h2 { margin: 0 0 8px; color: var(--pine); font-size: 1.18rem; font-weight: 720; }
.gm-posm-about h5 { font-size: 1rem; }
.gm-posm-about p { margin: 0 0 8px; }
.gm-posm-about p:last-child { margin-bottom: 0; }
@media (max-width: 700px) {
  .gm-posm-grid { grid-template-columns: minmax(0, 1fr); }
}

.gm-glossary.row { display: grid; gap: 12px; margin: 0; }
.gm-glossary .gm-count { margin: 0; }
.gm-glossary-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; align-items: start; }
.gm-glossary-entry, .gm-glossary-resources {
  min-width: 0;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  font-size: .9375rem;
}
.gm-glossary-entry summary {
  padding: 10px 0;
  color: var(--pine);
  font-weight: 650;
  cursor: pointer;
}
.gm-glossary-entry[open] { border-color: #9ab6a2; }
.gm-glossary-entry p { margin: 0 0 10px; }
.gm-glossary-resources { display: flex; flex-wrap: wrap; gap: 8px 20px; padding-block: 10px; }
.gm-glossary-resources p { margin: 0; }
@media (max-width: 700px) {
  .gm-glossary-grid { grid-template-columns: minmax(0, 1fr); }
}

.gm-contact-form { display: grid; gap: 10px; }
.gm-contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; }
.gm-contact-form label { display: block; margin: 0; color: var(--pine); font-weight: 650; }
.gm-contact-form label[hidden] { display: none; }
.gm-contact-form label span { color: var(--muted); font-weight: 400; }
.gm-contact-form :is(input, select, textarea) {
  display: block;
  width: 100%;
  min-height: 42px;
  margin-top: 4px;
  padding: 8px 10px;
  border: 1px solid #a9bfad;
  border-radius: 8px;
  background: #fcfefb;
  color: var(--ink);
  font: inherit;
  font-weight: 400;
}
.gm-contact-form textarea { resize: vertical; }
.gm-contact-actions {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px 12px;
}
.gm-contact-form button {
  justify-self: start;
  min-height: 42px;
  padding: 7px 15px;
  border: 0;
  border-radius: 8px;
  background: var(--leaf);
  color: #fff;
  font-weight: 700;
}
.gm-contact-form button:hover { background: var(--pine); }
.gm-contact-form button:disabled { opacity: .7; }
.gm-contact-note, .gm-contact-status { margin: 0; font-size: .875rem; }
.gm-contact-actions .gm-contact-note { font-size: .8125rem; line-height: 1.35; }
.gm-contact-note { color: var(--muted); }
.gm-contact-status:empty { display: none; }
.gm-contact-status[data-error] { color: #9c2922; }

.gm-resources.row, .gm-about.row { display: grid; gap: 17px; margin: 0; }
.gm-resources h2 { margin: 0 0 10px; color: var(--pine); font-size: 1.2rem; font-weight: 700; }
.gm-resource-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; list-style: none; padding: 0; margin: 0; }
.gm-resource-list li { min-width: 0; }
.gm-resource-list a {
  display: flex;
  align-items: center;
  gap: 11px;
  height: 100%;
  min-height: 47px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--pine);
  font-size: .9375rem;
  font-weight: 650;
}
.gm-resource-list a:hover { border-color: #9cbaa3; }
.gm-video-link::before {
  content: "";
  flex: 0 0 auto;
  border-block: 5px solid transparent;
  border-left: 8px solid var(--leaf);
}
.gm-about-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.gm-about-grid > section:last-child { grid-column: 1 / -1; }
.gm-about-grid p, .gm-about-grid ul { margin-bottom: 10px; }
.gm-about-grid p:last-child { margin-bottom: 0; }
.gm-about-grid ul { padding-left: 18px; }

@media (max-width: 700px) {
  .gm-contact-grid, .gm-resource-list, .gm-about-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 460px) {
  .gm-contact-fields { grid-template-columns: minmax(0, 1fr); }
  .gm-contact-actions { grid-template-columns: minmax(0, 1fr); }
  .gm-contact-actions button { justify-self: stretch; }
}

.gm-policy { display: grid; gap: 12px; }
.gm-policy-card {
  padding: clamp(14px, 2vw, 22px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  font-size: .9375rem;
  overflow-wrap: anywhere;
}
.gm-policy-card h2 {
  margin: 0 0 8px;
  color: var(--pine);
  font-size: 1.18rem;
  font-weight: 720;
}
.gm-policy-card :is(p, ul, dl) { max-width: 90ch; margin: 0 0 9px; }
.gm-policy-card :is(p, ul, dl):last-child { margin-bottom: 0; }
.gm-policy-card ul { padding-left: 20px; }
.gm-policy-card li + li { margin-top: 6px; }
.gm-policy-card a { text-decoration: underline; text-underline-offset: 3px; }
.gm-policy-services > div { padding: 6px 0; border-top: 1px solid var(--line); }
.gm-policy-services dt { color: var(--pine); }
.gm-policy-services dd { margin: 0; }
body:has(.gm-policy) > .footer { margin-top: 0 !important; }
.gm-overview-text { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 700px) {
  .gm-mobile-category summary:not(:has(img)) { grid-template-rows: 1fr auto; min-height: 85px; }
  .gm-mobile-category[open] summary:not(:has(img)) { min-height: 0; }
}

.gm-contact-form .gm-contact-challenge {
  display: flex;
  align-items: center;
  gap: 9px;
  justify-self: start;
  padding: 4px 6px 4px 10px;
  border-radius: 8px;
  background: #f0f5ef;
}
.gm-contact-form .gm-contact-challenge span { color: var(--pine); font-size: .875rem; font-weight: 650; }
.gm-contact-form .gm-contact-challenge input {
  flex: 0 0 54px;
  width: 54px;
  min-height: 36px;
  margin-top: 0;
  text-align: center;
}
main.gm-retail, main.gm-posm, main.gm-glossary, main.gm-resources,
main.gm-about, main.gm-contact { display: grid; gap: 16px; }
