/* Plugin-owned shopping shell; WooCommerce retains its forms, totals, gateways and hooks. */

body.hg-commerce-shell {
  margin: 0;
  background: #f6f8fb;
  color: #192d48;
  font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  line-height: 1.6;
}

.hg-commerce-page {
  width: calc(100% - 19px);
  max-width: 1240px;
  margin: 9.5px auto 32px;
}

.hg-commerce-page * {
  box-sizing: border-box;
}

.hg-commerce-page a {
  color: var(--hg-primary,#1748a5);
  text-decoration: none;
}

.hg-commerce-page .hg-commerce-brand {
  width: 100%;
  max-width: none;
  padding: 0;
  margin: 0 0 28px;
}

.hg-commerce-brand .hg-public-nav {
  padding: 14px 0;
  margin: 0 0 14px;
}

.hg-commerce-brand .hg-public-nav>div {
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
}

.hg-commerce-brand .hg-public-hero {
  min-height: 240px;
}

.hg-commerce-brand .hg-public-visual {
  min-height: 210px;
}

.hg-commerce-brand .hg-public-hero .hg-store-heading {
  font-size: clamp(26px,3.5vw,42px);
}

.hg-commerce-brand .hg-public-hero-copy {
  padding: 24px;
}

.hg-commerce-brand .hg-public-intro {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
  margin-bottom: 16px;
}

.hg-commerce-brand .hg-public-visual {
  overflow: visible;
}

.hg-commerce-brand .hg-brand-cover {
  border-radius: inherit;
}

.hg-commerce-brand .hg-brand-logo {
  width: 56px;
  height: 56px;
  bottom: -20px;
  left: 16px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  box-shadow: none;
  font-size: 26px;
}

/* Same type as the store header (font, title size and weight), on every commerce page. */
.hg-commerce-page .hg-commerce-page-title {
  font-family: inherit;
  font-size: clamp(25px,3vw,38px);
  font-weight: 800;
  line-height: 1.2;
  color: #001d6e;
  margin: 0 0 22px;
}

.hg-commerce-page .hg-commerce-content {
  font-size: 14px;
  line-height: 1.6;
}

.hg-commerce-page .woocommerce div.product .summary {
  margin: 0 0 22px;
  padding: 22px;
  border: 1px solid #dce5ef;
  border-radius: 14px;
  background: #fff;
}

.hg-commerce-page .woocommerce div.product .product_title {
  font-size: clamp(25px,3vw,38px);
  line-height: 1.25;
  margin: 10px 0 16px;
}

.hg-commerce-page .woocommerce div.product div.images {
  background: #fff;
  border-radius: 14px;
}

.hg-commerce-page .woocommerce div.product form.cart {
  margin: 22px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.hg-commerce-page .woocommerce div.product .woocommerce-product-details__short-description {
  font-size: 15px;
  color: #536b83;
  overflow-wrap: anywhere;
}

.hg-commerce-page .woocommerce div.product .woocommerce-tabs {
  padding: 24px;
  background: #fff;
  border: 1px solid #dce5ef;
  border-radius: 14px;
  margin-top: 24px;
}

.hg-commerce-page .woocommerce div.product .woocommerce-tabs ul.tabs {
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border: 0;
}

.hg-commerce-page .woocommerce div.product .woocommerce-tabs ul.tabs:before,
.hg-commerce-page .woocommerce div.product .woocommerce-tabs ul.tabs li:after,
.hg-commerce-page .woocommerce div.product .woocommerce-tabs ul.tabs li:before {
  display: none;
}

.hg-commerce-page .woocommerce div.product .woocommerce-tabs ul.tabs li {
  margin: 0;
  border: 1px solid #cad8e8;
  border-radius: 8px;
  background: #f0f5fb;
  padding: 0;
}

.hg-commerce-page .woocommerce div.product .woocommerce-tabs ul.tabs li a {
  display: block;
  padding: 10px 16px;
  color: #274e77;
  line-height: 1.5;
  font-size: 14px;
}

.hg-commerce-page .woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  background: var(--hg-primary,#1748a5);
  border-color: var(--hg-primary,#1748a5);
}

.hg-commerce-page .woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: #fff;
}

.hg-commerce-page .woocommerce .woocommerce-breadcrumb {
  font-size: 12px;
  line-height: 1.5;
  margin: 0 0 18px;
  color: #60758b;
}

.hg-commerce-page .woocommerce ul.products:not(.hg-shop-catalog) li.product {
  border: 1px solid #dce5ef;
  border-radius: 12px;
  background: #fff;
  padding: 12px;
  overflow: hidden;
}

.hg-commerce-page .woocommerce ul.products:not(.hg-shop-catalog) li.product img {
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
}

.hg-commerce-page .woocommerce ul.products:not(.hg-shop-catalog) li.product .woocommerce-loop-product__title {
  font-size: 15px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hg-commerce-page .woocommerce :is(a.button,button.button,input.button,.single_add_to_cart_button,.wc-block-components-button) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  height: auto;
  max-height: none;
  overflow: visible;
  margin: 0;
  padding: 11px 16px;
  border: 1px solid var(--hg-primary,#1748a5);
  border-radius: 8px;
  background: var(--hg-primary,#1748a5);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  white-space: normal;
  text-transform: none;
  letter-spacing: normal;
  box-shadow: none;
  text-shadow: none;
  text-decoration: none;
}

.hg-commerce-page .woocommerce :is(a.button,button.button,input.button):hover {
  background: #123d8e;
  color: #fff;
}

.hg-commerce-page .woocommerce :is(button.button:disabled,input.button:disabled) {
  opacity: .5;
  cursor: not-allowed;
}

.hg-commerce-page .woocommerce :is(input.input-text,textarea,select) {
  min-height: 44px;
  max-width: 100%;
  border: 1px solid #bccbdb;
  border-radius: 8px;
  background: #fff;
  color: #192d48;
  padding: 10px 12px;
  font: inherit;
  line-height: 1.5;
}

.hg-commerce-page .woocommerce label {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

.hg-commerce-page .woocommerce :is(.woocommerce-message,.woocommerce-info,.woocommerce-error) {
  border-radius: 9px;
  border: 1px solid #cfdeef;
  background: #eef5fc;
  color: #244d78;
  padding: 15px 18px 15px 46px;
  line-height: 1.6;
  font-size: 14px;
}

.hg-commerce-page .woocommerce .woocommerce-error {
  border-color: #e9bfc5;
  background: #fff5f5;
  color: #8a2c3b;
}

.hg-commerce-page .woocommerce :is(.woocommerce-message,.woocommerce-info,.woocommerce-error):before {
  top: 17px;
  left: 17px;
}

.hg-commerce-page .woocommerce a.added_to_cart {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid #c5d6ea;
  border-radius: 8px;
  background: #eef5fd;
  color: #24517f;
  font-size: 12px;
  font-weight: 650;
}

.hg-commerce-page :is(a,button,input,select,textarea):focus-visible {
  outline: 3px solid var(--hg-primary,#1748a5);
  outline-offset: 3px;
}

.hg-skip-link {
  position: absolute;
  left: 10px;
  top: -80px;
  padding: 12px 18px;
  background: #fff;
  color: var(--hg-primary,#1748a5);
  z-index: 99999;
  border: 2px solid var(--hg-primary,#1748a5);
  border-radius: 8px;
}

.hg-skip-link:focus {
  top: 10px;
}

.hg-commerce-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
  border-top: 1px solid #dce5ef;
  padding: 20px 0;
  color: #61758c;
  font-size: 12px;
}

.hg-commerce-footer p {
  margin: 0;
}

@media(min-width:1000px) {
  body.hg-store-checkout .woocommerce:has(>.woocommerce-cart-form) {
    display: grid;
    grid-template-columns: minmax(0,1.7fr) minmax(280px,1fr);
    gap: 20px;
    align-items: start;
  }

  body.hg-store-checkout .woocommerce>.woocommerce-notices-wrapper {
    grid-column: 1/-1;
  }

  body.hg-store-checkout .woocommerce>.woocommerce-cart-form {
    grid-column: 1;
    margin: 0;
  }

  body.hg-store-checkout .woocommerce>.cart-collaterals {
    grid-column: 2;
    margin: 0;
    position: sticky;
    top: 35px;
  }

  body.hg-store-checkout .woocommerce .cart-collaterals .cart_totals {
    max-width: none;
    padding: 20px;
  }

  body.hg-store-checkout .woocommerce .cart_totals h2 {
    font-size: 25px;
  }
}

@media(max-width:600px) {
  .hg-commerce-page .hg-commerce-brand .hg-public-hero {
    grid-template-columns: 1.1fr 1fr;
    min-height: 165px;
  }

  .hg-commerce-brand .hg-public-visual {
    grid-column: 2;
    grid-row: 1;
    min-height: 130px;
    margin: 16px 16px 24px 0!important;
    transform: none;
  }

  .hg-commerce-brand .hg-public-hero-copy {
    grid-column: 1;
    grid-row: 1;
    padding: 14px!important;
    text-align: left;
  }

  .hg-commerce-brand .hg-public-hero .hg-store-heading {
    font-size: 22px;
  }

  .hg-commerce-brand .hg-public-link {
    font-size: 11px;
    min-height: 36px;
    padding: 8px 10px;
  }

  .hg-commerce-brand .hg-public-intro {
    font-size: 12px;
    margin-bottom: 10px;
  }

  .hg-commerce-brand .hg-brand-logo {
    width: 40px;
    height: 40px;
    bottom: -16px;
    left: 8px;
  }

  .hg-commerce-brand.hg-public-store--beauty .hg-public-visual,
  .hg-commerce-brand.hg-public-store--coaching .hg-public-visual {
    grid-column: 1;
    margin: 16px 0 24px 16px!important;
  }

  .hg-commerce-brand.hg-public-store--beauty .hg-public-hero-copy,
  .hg-commerce-brand.hg-public-store--coaching .hg-public-hero-copy {
    grid-column: 2;
  }

  .hg-commerce-page .woocommerce div.product .summary {
    padding: 16px;
  }

  .hg-commerce-page .woocommerce div.product .woocommerce-tabs {
    padding: 16px;
  }

  .hg-commerce-page .woocommerce div.product .woocommerce-tabs ul.tabs li a {
    font-size: 12px;
    padding: 9px 12px;
  }

  body.hg-store-checkout .hg-commerce-page :is(.woocommerce,.wp-block-woocommerce-cart,.wp-block-woocommerce-checkout) {
    width: 100%;
    margin-inline: 0;
  }
}

:is(.hg-public-store--beauty,.hg-public-store--coaching,.hg-public-store--academy).hg-commerce-brand .hg-store-heading {
  font-family: Georgia,serif;
  font-weight: 400;
}

.hg-commerce-page .woocommerce div.product form.cart :is(.single_add_to_cart_button,.hg-single-buy) {
  margin: 0!important;
  align-self: center;
  vertical-align: middle;
  transform: none;
}

/* Review navigation stays readable in every interaction state. */

body.hg-commerce-shell .hg-commerce-page .woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  background: var(--hg-primary,#1748a5)!important;
  border-color: var(--hg-primary,#1748a5)!important;
  color: var(--hg-on-primary,#fff)!important;
}

body.hg-commerce-shell .hg-commerce-page .woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
body.hg-commerce-shell .hg-commerce-page .woocommerce div.product .woocommerce-tabs ul.tabs li.active a:is(:visited,:hover,:focus,:active) {
  background: transparent!important;
  color: var(--hg-on-primary,#fff)!important;
  opacity: 1;
  text-shadow: none;
}

body.hg-commerce-shell .hg-commerce-page .woocommerce div.product .woocommerce-tabs ul.tabs li:not(.active) a {
  background: #f0f5fb;
  color: #274e77;
  opacity: 1;
}

body.hg-commerce-shell .hg-commerce-page .woocommerce #review_form #respond :is(input#submit,input[type=submit],button[type=submit]) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  height: auto;
  max-height: none;
  padding: 11px 18px;
  margin: 8px 0 0;
  border: 1px solid var(--hg-primary,#1748a5);
  border-radius: 8px;
  background: var(--hg-primary,#1748a5);
  color: var(--hg-on-primary,#fff);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  white-space: normal;
  cursor: pointer;
  box-shadow: none;
  text-shadow: none;
}

body.hg-commerce-shell .hg-commerce-page .woocommerce #review_form #respond :is(input#submit,input[type=submit],button[type=submit]):hover {
  filter: brightness(.94);
  background: var(--hg-primary,#1748a5);
  color: var(--hg-on-primary,#fff);
}

.hg-commerce-page .hg-commerce-brand .hg-public-hero .hg-public-visual {
  margin-bottom: calc(var(--hg-logo-size,108px)/2 + 12px)!important;
}

@media(max-width:600px) {
  .hg-commerce-page .hg-commerce-brand .hg-public-hero .hg-public-visual {
    margin-bottom: calc(var(--hg-logo-mobile-size,78px)/2 + 12px)!important;
  }
}

/* PATCH032: show accessibility skip link only while it has keyboard focus. */
body.hg-commerce-shell .hg-skip-link { position: fixed; top: 0; left: 0; transform: translateY(-160%); clip-path: inset(100%); width: 1px; height: 1px; overflow: hidden; }
body.hg-commerce-shell .hg-skip-link:focus,body.hg-commerce-shell .hg-skip-link:focus-visible { transform: none; clip-path: none; width: auto; height: auto; top: 10px; left: 10px; }

/* PATCH033: prevent checkout/account panels from expanding beyond viewport. */
.hg-commerce-page,.hg-commerce-content,.hg-commerce-content>*,.hg-commerce-page .woocommerce{min-width:0;max-width:100%}
.hg-commerce-content :is(.woocommerce,.wp-block-woocommerce-checkout,.wp-block-woocommerce-order-confirmation-status){overflow-wrap:anywhere}
