:root {
  --hg-paper: #fff;
  --hg-bg: #fbfbf7;
  --hg-linen: #eeeae0;
  --hg-sage: #93c47e;
  --hg-sage-dark: #6f925f;
  --hg-sage-soft: #dfe9d7;
  --hg-rose: #c99a94;
  --hg-ink: #2f332f;
  --hg-muted: #686f65;
  --hg-line: rgba(94, 116, 82, 0.2);
  --hg-shadow: 0 16px 45px rgba(78, 91, 70, 0.1);
  --hg-display: Marcellus, "Times New Roman", serif;
  --hg-body: "Open Sans", Inter, system-ui, sans-serif;
}

.health-guidance-commerce {
  background: var(--hg-bg);
  color: var(--hg-ink);
  font-family: var(--hg-body);
}

.health-guidance-commerce :where(.woocommerce, .woocommerce-page) {
  color: var(--hg-ink);
}

.health-guidance-commerce main .woocommerce {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
  padding-block: clamp(38px, 6vw, 76px);
}

.health-guidance-commerce .woocommerce h1,
.health-guidance-commerce .woocommerce h2,
.health-guidance-commerce .woocommerce h3 {
  color: var(--hg-sage-dark);
  font-family: var(--hg-display);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.12;
}

.health-guidance-commerce .woocommerce h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.health-guidance-commerce .woocommerce a {
  color: var(--hg-sage-dark);
  text-underline-offset: 3px;
}

.health-guidance-commerce :where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid rgba(147, 196, 126, 0.58);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.9);
}

.woocommerce-account:not(.logged-in) #customer_login {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 4vw, 48px);
}

.woocommerce-account:not(.logged-in) #customer_login > div {
  width: auto;
  float: none;
}

.health-guidance-commerce .woocommerce form.login,
.health-guidance-commerce .woocommerce form.register,
.health-guidance-commerce .woocommerce form.checkout_coupon,
.health-guidance-commerce .woocommerce form.lost_reset_password,
.health-guidance-commerce .woocommerce .woocommerce-address-fields,
.health-guidance-commerce .woocommerce .edit-account {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--hg-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--hg-shadow);
}

.health-guidance-commerce .woocommerce form .form-row {
  padding: 0;
  margin: 0 0 18px;
}

.health-guidance-commerce .woocommerce form .form-row label {
  margin-bottom: 7px;
  color: var(--hg-ink);
  font-size: 0.9rem;
  font-weight: 700;
}

.health-guidance-commerce .woocommerce :where(input.input-text, textarea, select),
.health-guidance-commerce .select2-container .select2-selection--single {
  min-height: 48px;
  padding: 10px 13px;
  border: 1px solid rgba(94, 116, 82, 0.28);
  border-radius: 6px;
  background: var(--hg-paper);
  color: var(--hg-ink);
  font: inherit;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.health-guidance-commerce .woocommerce :where(input.input-text, textarea, select):focus,
.health-guidance-commerce .select2-container--focus .select2-selection--single {
  border-color: var(--hg-sage-dark);
  box-shadow: 0 0 0 4px rgba(147, 196, 126, 0.15);
}

.health-guidance-commerce .woocommerce .password-input {
  width: 100%;
}

.health-guidance-commerce .woocommerce .show-password-input {
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
}

.health-guidance-commerce .woocommerce :where(button.button, a.button, input.button, #respond input#submit),
.health-guidance-commerce .health-guidance-account-link {
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid var(--hg-sage-dark);
  border-radius: 6px;
  background: var(--hg-sage-dark);
  color: #fff;
  font-family: var(--hg-body);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.health-guidance-commerce .woocommerce :where(button.button, a.button, input.button, #respond input#submit):hover,
.health-guidance-commerce .health-guidance-account-link:hover {
  border-color: var(--hg-rose);
  background: var(--hg-rose);
  color: #fff;
  box-shadow: 0 10px 26px rgba(78, 91, 70, 0.13);
  transform: translateY(-1px);
}

.health-guidance-commerce .woocommerce :where(button.button, a.button, input.button, #respond input#submit):active {
  transform: translateY(0) scale(0.98);
}

.health-guidance-commerce .woocommerce .woocommerce-form-login__rememberme {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-right: 12px;
}

.health-guidance-commerce .woocommerce :where(.woocommerce-error, .woocommerce-info, .woocommerce-message) {
  padding: 18px 20px 18px 52px;
  border: 1px solid var(--hg-line);
  border-top: 3px solid var(--hg-sage-dark);
  border-radius: 8px;
  background: var(--hg-paper);
  color: var(--hg-ink);
  box-shadow: 0 10px 28px rgba(78, 91, 70, 0.07);
}

.health-guidance-commerce .woocommerce .woocommerce-error {
  border-top-color: var(--hg-rose);
}

.woocommerce-account.logged-in .woocommerce {
  display: grid;
  grid-template-columns: minmax(190px, 240px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
}

.health-guidance-commerce .woocommerce-MyAccount-navigation {
  width: auto;
  float: none;
  padding: 12px;
  border: 1px solid var(--hg-line);
  border-radius: 8px;
  background: rgba(238, 234, 224, 0.7);
}

.health-guidance-commerce .woocommerce-MyAccount-navigation ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.health-guidance-commerce .woocommerce-MyAccount-navigation li + li {
  margin-top: 4px;
}

.health-guidance-commerce .woocommerce-MyAccount-navigation a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--hg-ink);
  font-weight: 700;
  text-decoration: none;
}

.health-guidance-commerce .woocommerce-MyAccount-navigation a:hover,
.health-guidance-commerce .woocommerce-MyAccount-navigation .is-active a {
  background: var(--hg-paper);
  color: var(--hg-sage-dark);
  box-shadow: 0 8px 22px rgba(78, 91, 70, 0.08);
}

.health-guidance-commerce .woocommerce-MyAccount-content {
  width: auto;
  min-width: 0;
  float: none;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--hg-line);
  border-radius: 8px;
  background: var(--hg-paper);
  box-shadow: var(--hg-shadow);
}

.health-guidance-commerce .woocommerce table.shop_table {
  overflow: hidden;
  border: 1px solid var(--hg-line);
  border-collapse: separate;
  border-radius: 8px;
  background: var(--hg-paper);
}

.health-guidance-commerce .woocommerce table.shop_table th {
  background: rgba(223, 233, 215, 0.48);
  color: var(--hg-sage-dark);
  font-size: 0.83rem;
  text-transform: none;
}

.health-guidance-commerce .woocommerce table.shop_table :where(th, td) {
  padding: 14px 16px;
  border-color: var(--hg-line);
}

.woocommerce-cart .cart-collaterals,
.woocommerce-checkout #order_review {
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--hg-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--hg-shadow);
}

.woocommerce-checkout .col2-set {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 4vw, 46px);
}

.woocommerce-checkout .col2-set > :where(.col-1, .col-2) {
  width: auto;
  float: none;
}

.health-guidance-commerce .woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 28px);
}

.health-guidance-commerce .woocommerce ul.products::before,
.health-guidance-commerce .woocommerce ul.products::after {
  display: none;
}

.health-guidance-commerce .woocommerce ul.products li.product {
  width: auto;
  min-width: 0;
  padding: 0 0 20px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--hg-line);
  border-radius: 8px;
  background: var(--hg-paper);
  box-shadow: 0 12px 34px rgba(78, 91, 70, 0.08);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.health-guidance-commerce .woocommerce ul.products li.product:hover {
  border-color: rgba(201, 154, 148, 0.55);
  box-shadow: var(--hg-shadow);
  transform: translateY(-3px);
}

.health-guidance-commerce .woocommerce ul.products li.product :where(.woocommerce-loop-product__title, .price, .button) {
  margin-right: 18px;
  margin-left: 18px;
}

.health-guidance-commerce .woocommerce ul.products li.product .woocommerce-loop-product__title {
  color: var(--hg-ink);
  font-family: var(--hg-display);
  font-size: 1.22rem;
}

.health-guidance-commerce .woocommerce ul.products li.product .price {
  color: var(--hg-sage-dark);
  font-weight: 800;
}

@media (max-width: 900px) {
  .woocommerce-account.logged-in .woocommerce,
  .woocommerce-checkout .col2-set {
    grid-template-columns: 1fr;
  }

  .health-guidance-commerce .woocommerce-MyAccount-navigation ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
  }

  .health-guidance-commerce .woocommerce-MyAccount-navigation li + li {
    margin-top: 0;
  }
}

@media (max-width: 760px) {
  .health-guidance-commerce main .woocommerce {
    width: min(100% - 28px, 1180px);
    padding-block: 30px 44px;
  }

  .woocommerce-account:not(.logged-in) #customer_login,
  .health-guidance-commerce .woocommerce ul.products {
    grid-template-columns: 1fr;
  }

  .health-guidance-commerce .woocommerce-MyAccount-navigation ul {
    grid-template-columns: 1fr;
  }

  .health-guidance-commerce .woocommerce-MyAccount-content {
    padding: 22px 16px;
  }

  .health-guidance-commerce .woocommerce table.shop_table {
    border-radius: 6px;
  }

  .health-guidance-commerce .woocommerce :where(button.button, a.button, input.button) {
    min-height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .health-guidance-commerce *,
  .health-guidance-commerce *::before,
  .health-guidance-commerce *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
