/* Homsef commerce surfaces. Native Woo pages put .woocommerce on body;
   shortcodes use a nested .woocommerce wrapper. Support both and .he-commerce.
   WooCommerce owns visibility and checkout behaviour. */
body.he-theme {
  --he-commerce-red: #dd3333;
  --he-commerce-ink: #171717;
  --he-commerce-muted: #6b6b6b;
  --he-commerce-line: #e5e5e5;
  --he-commerce-soft: #f6f6f6;
  --woocommerce: #dd3333;
  --wc-primary: #dd3333;
  --wc-primary-text: #fff;
}

body.he-theme :is(.he-commerce, .he-content) {
  min-width: 0;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) {
  color: var(--he-commerce-ink);
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce, body.he-theme .wc-block-components-form) :is(input, select, textarea):focus-visible,
:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce, body.he-theme .wc-block-components-form) :is(a, button, [tabindex]):focus-visible {
  outline: 3px solid #dd33334d;
  outline-offset: 3px;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) :is(a.button, button.button, input.button, .woocommerce-button),
body.he-theme .wc-block-components-button:not(.is-link) {
  min-height: 46px;
  padding: 13px 20px;
  border: 1px solid var(--he-commerce-ink);
  border-radius: 12px;
  background: var(--he-commerce-ink);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  box-shadow: none;
  transition: background-color .16s ease, border-color .16s ease;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) :is(a.button, button.button, input.button, .woocommerce-button):hover,
body.he-theme .wc-block-components-button:not(.is-link):hover {
  background: #303030;
  border-color: #303030;
  color: #fff;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) :is(a.button.alt, button.button.alt, input.button.alt),
:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) #respond input#submit.alt,
body.he-theme .wc-block-cart__submit-button,
body.he-theme .wc-block-components-checkout-place-order-button {
  border-color: var(--he-commerce-red);
  background: var(--he-commerce-red);
  color: #fff;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) :is(a.button.alt, button.button.alt, input.button.alt):hover,
:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) #respond input#submit.alt:hover,
body.he-theme .wc-block-cart__submit-button:hover,
body.he-theme .wc-block-components-checkout-place-order-button:hover {
  border-color: #bd2828;
  background: #bd2828;
  color: #fff;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) :is(a.button, button.button, input.button):disabled,
:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) :is(a.button, button.button, input.button).disabled,
body.he-theme .wc-block-components-button:disabled {
  opacity: .5;
  cursor: not-allowed;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) :is(a.button.alt, button.button.alt, input.button.alt):is(.disabled, :disabled, [disabled]),
:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) :is(a.button.alt, button.button.alt, input.button.alt):is(.disabled, :disabled, [disabled]):hover {
  border-color: var(--he-commerce-red);
  background: var(--he-commerce-red);
  color: #fff;
  opacity: .5;
  cursor: not-allowed;
}

/* The global Woo input reset must not add a second border to header search. */
body.he-theme .he-topbar .he-search input[type="search"] {
  min-height: 0;
  height: 100%;
  padding: 0 18px 0 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) :is(input.input-text, select, textarea),
:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) .quantity .qty {
  min-height: 46px;
  max-width: 100%;
  padding: 11px 13px;
  border: 1px solid #d6d6d6;
  border-radius: 10px;
  background-color: #fff;
  color: var(--he-commerce-ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.45;
  box-shadow: none;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) textarea {
  min-height: 112px;
  resize: vertical;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) :is(input[type="checkbox"], input[type="radio"]) {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  accent-color: var(--he-commerce-red);
  vertical-align: middle;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) form .form-row {
  padding: 0;
  margin: 0 0 18px;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) form .form-row label {
  margin-bottom: 7px;
  color: #343434;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) form .form-row :is(label.checkbox, label.woocommerce-form__label-for-checkbox) {
  min-height: 44px;
  padding-block: 10px;
  font-weight: 400;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) form .form-row .required {
  color: var(--he-commerce-red);
  text-decoration: none;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) .select2-container .select2-selection--single {
  height: 46px;
  border: 1px solid #d6d6d6;
  border-radius: 10px;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) .select2-container--default .select2-selection--single .select2-selection__rendered {
  padding-left: 13px;
  color: var(--he-commerce-ink);
  font-size: 16px;
  line-height: 44px;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) .select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 10px;
  right: 9px;
}

body.he-theme :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) {
  margin: 0 0 24px;
  padding: 18px 20px 18px 50px;
  border: 1px solid var(--he-commerce-line);
  border-radius: 12px;
  background: #fafafa;
  color: #292929;
  font-size: 14px;
  line-height: 1.65;
}

body.he-theme :is(.woocommerce-message, .woocommerce-info, .woocommerce-error)::before {
  display: block;
  top: 19px;
  left: 20px;
}

body.he-theme .woocommerce-error {
  border-color: #efbcbc;
  background: #fff5f5;
}

body.he-theme .woocommerce-error::before {
  color: #b52323;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) form .form-row.woocommerce-invalid :is(input.input-text, select, .select2-selection) {
  border-color: #b52323;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) form .form-row.woocommerce-validated :is(input.input-text, select, .select2-selection) {
  border-color: #7b9a83;
}

body.he-theme .woocommerce-breadcrumb {
  margin: 0 0 26px;
  color: var(--he-commerce-muted);
  font-size: 13px;
  line-height: 1.6;
}

body.he-theme .woocommerce-breadcrumb a {
  color: #484848;
  text-underline-offset: 3px;
}

body.he-theme .woocommerce-products-header {
  margin-bottom: 26px;
}

body.he-theme .woocommerce-products-header__title {
  margin: 0 0 14px;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.15;
}

body.he-theme .woocommerce-products-header .term-description {
  max-width: 760px;
  color: var(--he-commerce-muted);
  line-height: 1.7;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) .woocommerce-result-count {
  margin: 13px 0 25px;
  color: var(--he-commerce-muted);
  font-size: 14px;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) .woocommerce-ordering {
  margin: 0 0 25px;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) .woocommerce-ordering select {
  min-width: 230px;
  font-size: 14px;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 20px;
  clear: both;
  margin: 0 0 36px;
  padding: 0;
  list-style: none;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) ul.products::before,
:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) ul.products::after {
  display: none;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) ul.products li.product {
  display: flex;
  flex-direction: column;
  position: relative;
  float: none;
  width: auto;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--he-commerce-line);
  border-radius: 16px;
  background: #fff;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) ul.products li.product:has(> .he-product-card) {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) ul.products li.product .he-product-card {
  height: 100%;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) ul.products li.product > a img {
  width: 100%;
  height: auto;
  margin: 0;
  border-radius: 0;
  background: var(--he-commerce-soft);
  object-fit: contain;
  box-shadow: none;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) ul.products li.product .woocommerce-loop-product__title {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  padding: 14px 14px 0;
  color: var(--he-commerce-ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow-wrap: anywhere;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) ul.products li.product .price {
  margin: 0 0 12px;
  padding: 9px 14px 0;
  color: var(--he-commerce-ink);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.5;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) ul.products li.product .price del {
  margin-right: 6px;
  color: #767676;
  font-size: 13px;
  font-weight: 400;
  opacity: 1;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) ul.products li.product .price ins {
  text-decoration: none;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) ul.products li.product .button {
  margin-top: 0;
  padding: 11px 15px;
  min-height: 44px;
  font-size: 13px;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) ul.products li.product > .button {
  margin: auto 14px 14px;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) ul.products li.product .added_to_cart {
  min-height: 44px;
  margin: 0 14px 14px;
  padding-block: 12px;
  color: var(--he-commerce-ink);
  font-size: 13px;
  text-underline-offset: 3px;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) span.onsale {
  z-index: 2;
  top: 12px;
  left: 12px;
  right: auto;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 7px 10px;
  border-radius: 8px;
  background: var(--he-commerce-red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) ul.products li.product .onsale {
  top: 12px;
  left: 12px;
  right: auto;
  margin: 0;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) nav.woocommerce-pagination {
  margin: 34px 0 12px;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) nav.woocommerce-pagination ul {
  display: inline-flex;
  gap: 6px;
  border: 0;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) nav.woocommerce-pagination ul li {
  border: 0;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) nav.woocommerce-pagination ul li :is(a, span) {
  display: grid;
  min-width: 44px;
  min-height: 44px;
  padding: 10px;
  place-items: center;
  border: 1px solid var(--he-commerce-line);
  border-radius: 10px;
  color: var(--he-commerce-ink);
  font-size: 14px;
  line-height: 1;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) nav.woocommerce-pagination ul li span.current {
  border-color: var(--he-commerce-ink);
  background: var(--he-commerce-ink);
  color: #fff;
}

/* Single product: keep the gallery's inline flexslider dimensions intact. */
:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) div.product:not(.product-category) {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: start;
  column-gap: clamp(30px, 5vw, 70px);
  row-gap: 42px;
  position: relative;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) div.product::before,
:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) div.product::after {
  display: none;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) div.product div.images {
  grid-column: 1;
  float: none;
  width: 100%;
  min-width: 0;
  margin: 0;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) div.product .woocommerce-product-gallery__wrapper {
  margin: 0;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) div.product .woocommerce-product-gallery__image {
  border-radius: 16px;
  overflow: hidden;
  background: #f7f7f7;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) div.product div.images img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) div.product div.images .flex-control-thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) div.product div.images .flex-control-thumbs li {
  float: none;
  width: auto;
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) div.product div.images .flex-control-thumbs li img {
  border: 1px solid transparent;
  border-radius: 10px;
  opacity: .65;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) div.product div.images .flex-control-thumbs li :is(img.flex-active, img:hover) {
  border-color: var(--he-commerce-ink);
  opacity: 1;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) div.product div.summary {
  grid-column: 2;
  float: none;
  width: 100%;
  min-width: 0;
  margin: 0;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) div.product .product_title {
  margin: 0 0 18px;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) div.product .woocommerce-product-rating {
  margin-bottom: 18px;
  font-size: 14px;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) div.product :is(p.price, span.price) {
  margin: 0 0 20px;
  color: var(--he-commerce-ink);
  font-size: 26px;
  font-weight: 650;
  line-height: 1.5;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) div.product :is(p.price, span.price) del {
  margin-right: 8px;
  color: #767676;
  font-size: 18px;
  font-weight: 400;
  opacity: 1;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) div.product :is(p.price, span.price) ins {
  text-decoration: none;
}

body.he-theme .woocommerce-product-details__short-description {
  margin-bottom: 24px;
  color: #555;
  font-size: 15px;
  line-height: 1.75;
}

body.he-theme .woocommerce-product-details__short-description :is(ul, ol) {
  padding-left: 20px;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) div.product form.cart {
  margin: 24px 0;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) div.product form.cart div.quantity {
  margin: 0 12px 10px 0;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) .quantity .qty {
  width: 76px;
  padding-inline: 7px;
  text-align: center;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) div.product form.cart .button {
  min-width: 180px;
  min-height: 48px;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) div.product form.cart .variations {
  width: 100%;
  margin: 0 0 20px;
  border: 0;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) div.product form.cart .variations :is(th, td) {
  padding: 0 0 16px;
  border: 0;
  text-align: left;
  vertical-align: middle;
  line-height: 1.5;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) div.product form.cart .variations th.label {
  width: 26%;
  padding-right: 14px;
  color: #343434;
  font-size: 14px;
  font-weight: 600;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) div.product form.cart .variations select {
  width: 100%;
  min-width: 0;
  margin: 0;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) div.product form.cart .reset_variations {
  min-height: 44px;
  margin-top: 2px;
  padding-block: 12px;
  color: #555;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) div.product .woocommerce-variation-description {
  color: #555;
  font-size: 14px;
  line-height: 1.65;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) div.product .stock {
  margin-bottom: 16px;
  color: #356447;
  font-size: 14px;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) div.product .out-of-stock {
  color: #a62525;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) .product_meta {
  clear: both;
  padding-top: 24px;
  border-top: 1px solid var(--he-commerce-line);
  color: var(--he-commerce-muted);
  font-size: 13px;
  line-height: 1.8;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) .product_meta > span {
  display: block;
  margin-bottom: 4px;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) .product_meta a {
  color: #343434;
  text-underline-offset: 3px;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) div.product :is(.woocommerce-tabs, .related, .upsells) {
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
  clear: both;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) div.product .woocommerce-tabs ul.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0 28px;
  margin: 0 0 26px;
  padding: 0;
  border-bottom: 1px solid var(--he-commerce-line);
  overflow: visible;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) div.product .woocommerce-tabs ul.tabs::before,
:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) div.product .woocommerce-tabs ul.tabs li::before,
:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) div.product .woocommerce-tabs ul.tabs li::after {
  display: none;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) div.product .woocommerce-tabs ul.tabs li {
  margin: 0 0 -1px;
  padding: 0;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) div.product .woocommerce-tabs ul.tabs li a {
  min-height: 48px;
  padding: 15px 0;
  color: #666;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  border-bottom: 0;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) div.product .woocommerce-tabs ul.tabs li.active {
  border-bottom-color: var(--he-commerce-red);
  background: transparent;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) div.product .woocommerce-tabs ul.tabs li.active a {
  color: var(--he-commerce-ink);
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) div.product .woocommerce-tabs .panel {
  margin-bottom: 0;
  color: #555;
  font-size: 15px;
  line-height: 1.8;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) :is(.woocommerce-tabs, .related, .upsells) h2 {
  margin: 0 0 22px;
  color: var(--he-commerce-ink);
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -.02em;
  line-height: 1.3;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) .woocommerce-product-attributes {
  border: 1px solid var(--he-commerce-line);
  border-collapse: collapse;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) .woocommerce-product-attributes :is(th, td) {
  padding: 12px 16px;
  border-bottom: 1px solid var(--he-commerce-line);
  font-style: normal;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) .woocommerce-product-attributes th {
  width: 28%;
  background: #f7f7f7;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) #reviews #comments ol.commentlist {
  padding: 0;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) #reviews #comments ol.commentlist li .comment-text {
  border-color: var(--he-commerce-line);
  border-radius: 12px;
}

/* Classic cart and checkout. */
:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) table.shop_table {
  width: 100%;
  margin: 0 0 24px;
  border: 1px solid var(--he-commerce-line);
  border-spacing: 0;
  border-radius: 14px;
  color: #343434;
  font-size: 14px;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) table.shop_table th {
  padding: 16px;
  background: #f7f7f7;
  color: #393939;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.5;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) table.shop_table td {
  padding: 18px 16px;
  border-top: 1px solid var(--he-commerce-line);
  line-height: 1.6;
  vertical-align: middle;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) table.shop_table thead tr:first-child th:first-child {
  border-top-left-radius: 13px;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) table.shop_table thead tr:first-child th:last-child {
  border-top-right-radius: 13px;
}

:is(body.he-theme.woocommerce-cart, body.he-theme.woocommerce-cart :is(.woocommerce, .he-commerce)):has(> .woocommerce-cart-form) {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, 1fr);
  align-items: start;
  gap: 0 30px;
}

:is(body.he-theme.woocommerce-cart, body.he-theme.woocommerce-cart :is(.woocommerce, .he-commerce)):has(> .woocommerce-cart-form) > * {
  grid-column: 1 / -1;
  min-width: 0;
}

:is(body.he-theme.woocommerce-cart, body.he-theme.woocommerce-cart :is(.woocommerce, .he-commerce)):has(> .woocommerce-cart-form) > .woocommerce-cart-form {
  grid-column: 1;
}

:is(body.he-theme.woocommerce-cart, body.he-theme.woocommerce-cart :is(.woocommerce, .he-commerce)):has(> .woocommerce-cart-form) > .cart-collaterals {
  grid-column: 2;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) table.cart .product-thumbnail {
  width: 88px;
  padding-right: 4px;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) table.cart .product-thumbnail img {
  width: 68px;
  height: 76px;
  border-radius: 8px;
  object-fit: contain;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) table.cart .product-name {
  min-width: 120px;
  overflow-wrap: anywhere;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) table.cart .product-name a {
  color: var(--he-commerce-ink);
  font-weight: 550;
  text-decoration: none;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) table.cart .product-price,
:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) table.cart .product-subtotal {
  white-space: nowrap;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) a.remove {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  color: #777 !important;
  font-size: 23px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) a.remove:hover {
  background: #fff0f0;
  color: #b52323 !important;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) table.shop_table dl.variation,
:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) table.shop_table .wc-item-meta {
  margin: 7px 0 0;
  color: #666;
  font-size: 12px;
  line-height: 1.6;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) table.shop_table dl.variation :is(dt, dd) {
  margin-bottom: 2px;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) table.cart td.actions {
  padding: 18px 16px;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) table.cart td.actions .coupon {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  max-width: 100%;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) table.cart td.actions .coupon .input-text {
  width: 150px;
  min-height: 46px;
  margin: 0;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) .cart-collaterals .cart_totals {
  float: none;
  width: 100%;
  padding: 24px;
  border: 1px solid var(--he-commerce-line);
  border-radius: 16px;
  background: #fafafa;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) .cart-collaterals .cart_totals h2 {
  margin: 0 0 20px;
  font-size: 22px;
  letter-spacing: -.02em;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) .cart_totals table.shop_table {
  border: 0;
  background: transparent;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) .cart_totals table.shop_table :is(th, td) {
  padding: 14px 0;
  border-top: 1px solid var(--he-commerce-line);
  background: transparent;
  vertical-align: top;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) .cart_totals table.shop_table tr:first-child :is(th, td) {
  border-top: 0;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) .cart_totals table.shop_table th {
  width: 35%;
  padding-right: 12px;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) .cart_totals .order-total {
  font-size: 17px;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) ul#shipping_method li {
  margin-bottom: 10px;
  line-height: 1.6;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) ul#shipping_method li label {
  display: inline;
  font-size: 14px;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) .woocommerce-shipping-destination {
  margin-top: 12px;
  color: #666;
  font-size: 12px;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) .shipping-calculator-button {
  display: inline-block;
  min-height: 44px;
  padding-block: 12px;
  color: var(--he-commerce-ink);
  font-size: 13px;
  text-underline-offset: 3px;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) .wc-proceed-to-checkout {
  padding: 0;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) .wc-proceed-to-checkout a.checkout-button {
  width: 100%;
  margin: 0;
  font-size: 15px;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) form.checkout_coupon,
:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) form.login,
:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) form.register {
  margin: 0 0 26px;
  padding: 24px;
  border: 1px solid var(--he-commerce-line);
  border-radius: 14px;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) .showcoupon,
:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) .showlogin {
  display: inline-block;
  min-height: 44px;
  padding-block: 10px;
  color: var(--he-commerce-ink);
  font-weight: 600;
  text-underline-offset: 3px;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) form.checkout.woocommerce-checkout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: start;
  column-gap: 42px;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) form.checkout.woocommerce-checkout > * {
  grid-column: 1 / -1;
  min-width: 0;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) form.checkout #customer_details {
  display: block;
  grid-column: 1;
  grid-row: 1 / 4;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) form.checkout #customer_details :is(.col-1, .col-2) {
  float: none;
  width: 100%;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) form.checkout #order_review_heading {
  grid-column: 2;
  margin-top: 0;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) form.checkout #order_review {
  grid-column: 2;
  padding: 24px;
  border: 1px solid var(--he-commerce-line);
  border-radius: 16px;
  background: #fafafa;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) form.checkout h3 {
  margin: 0 0 22px;
  font-size: 23px;
  font-weight: 650;
  letter-spacing: -.02em;
  line-height: 1.4;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) form.checkout #ship-to-different-address {
  margin-top: 15px;
  font-size: 16px;
  letter-spacing: 0;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) form.checkout #ship-to-different-address label {
  display: block;
  min-height: 44px;
  padding-block: 10px;
  cursor: pointer;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) :is(.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper, .woocommerce-address-fields__field-wrapper) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 18px;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) :is(.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper, .woocommerce-address-fields__field-wrapper) .form-row {
  float: none;
  width: auto;
  min-width: 0;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) :is(.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper, .woocommerce-address-fields__field-wrapper) .form-row-wide {
  grid-column: 1 / -1;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) .woocommerce-additional-fields {
  margin-top: 20px;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) #order_review table.shop_table {
  border: 0;
  background: transparent;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) #order_review table.shop_table :is(th, td) {
  padding: 14px 0;
  border-top: 0;
  border-bottom: 1px solid var(--he-commerce-line);
  background: transparent;
  vertical-align: top;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) #order_review table.shop_table :is(th, td):last-child {
  padding-left: 14px;
  text-align: right;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) #order_review table.shop_table .product-name {
  width: 65%;
  overflow-wrap: anywhere;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) #order_review table.shop_table .order-total :is(th, td) {
  padding-top: 20px;
  border-bottom: 0;
  font-size: 18px;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) #order_review #shipping_method {
  text-align: left;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) #payment {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) #payment ul.payment_methods {
  padding: 0 0 18px;
  border-bottom: 1px solid var(--he-commerce-line);
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) #payment ul.payment_methods li {
  padding: 12px 0;
  font-size: 14px;
  line-height: 1.65;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) #payment ul.payment_methods li > label {
  cursor: pointer;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) #payment ul.payment_methods li input {
  margin: 0 8px 0 0;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) #payment ul.payment_methods li img {
  max-height: 30px;
  max-width: 120px;
  object-fit: contain;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) #payment div.payment_box {
  width: 100%;
  margin: 12px 0 0;
  padding: 14px;
  border-radius: 10px;
  background: #eee;
  color: #484848;
  font-size: 13px;
  line-height: 1.7;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) #payment div.payment_box::before {
  border-bottom-color: #eee;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) #payment div.form-row {
  margin: 0;
  padding: 20px 0 0;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) .woocommerce-privacy-policy-text,
:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) .woocommerce-terms-and-conditions-wrapper {
  color: #666;
  font-size: 12px;
  line-height: 1.75;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) .woocommerce-privacy-policy-text a,
:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) .woocommerce-terms-and-conditions-wrapper a {
  color: #343434;
  text-underline-offset: 3px;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) #payment #place_order {
  float: none;
  width: 100%;
  margin-top: 16px;
  min-height: 50px;
  font-size: 16px;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) .woocommerce-order-overview {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 30px;
  margin: 26px 0;
  padding: 22px;
  border: 1px solid var(--he-commerce-line);
  border-radius: 14px;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) ul.order_details li {
  float: none;
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 12px;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) ul.order_details li strong {
  margin-top: 6px;
  font-size: 15px;
  overflow-wrap: anywhere;
}

:is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) .woocommerce-customer-details address {
  padding: 20px;
  border: 1px solid var(--he-commerce-line);
  border-radius: 14px;
  line-height: 1.8;
}

/* Account navigation stays fully available on smaller screens. */
body.he-theme .woocommerce-MyAccount-navigation {
  width: 24%;
}

body.he-theme .woocommerce-MyAccount-navigation ul {
  margin: 0;
  padding: 8px;
  border: 1px solid var(--he-commerce-line);
  border-radius: 14px;
  list-style: none;
}

body.he-theme .woocommerce-MyAccount-navigation li a {
  display: block;
  min-height: 46px;
  padding: 13px 14px;
  border-radius: 9px;
  color: #555;
  font-size: 14px;
  text-decoration: none;
}

body.he-theme .woocommerce-MyAccount-navigation li.is-active a {
  background: var(--he-commerce-ink);
  color: #fff;
  font-weight: 600;
}

body.he-theme .woocommerce-MyAccount-content {
  width: 71%;
  min-width: 0;
  color: #555;
  font-size: 15px;
  line-height: 1.75;
}

body.he-theme .woocommerce-MyAccount-content :is(h2, h3) {
  color: var(--he-commerce-ink);
  font-size: 23px;
  letter-spacing: -.02em;
}

body.he-theme .woocommerce-MyAccount-content fieldset {
  margin: 26px 0;
  padding: 22px;
  border: 1px solid var(--he-commerce-line);
  border-radius: 14px;
}

body.he-theme .woocommerce-MyAccount-content legend {
  padding-inline: 8px;
  color: var(--he-commerce-ink);
  font-weight: 600;
}

/* WooCommerce blocks retain their component layout and state handling. */
body.he-theme :is(.wc-block-cart, .wc-block-checkout) {
  color: var(--he-commerce-ink);
  font-size: 15px;
  --wc-form-border-radius: 10px;
  --wc-form-color-background: #fff;
  --wc-form-color-text: #171717;
}

body.he-theme :is(.wc-block-cart, .wc-block-checkout) .wc-block-components-sidebar {
  padding: 24px;
  border: 1px solid var(--he-commerce-line);
  border-radius: 16px;
  background: #fafafa;
}

body.he-theme :is(.wc-block-cart, .wc-block-checkout) :is(h2, .wc-block-components-title) {
  color: var(--he-commerce-ink);
  font-size: 23px;
  font-weight: 650;
  letter-spacing: -.02em;
  line-height: 1.35;
}

body.he-theme .wc-block-components-text-input :is(input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"]),
body.he-theme .wc-block-components-textarea,
body.he-theme .wc-block-components-select .wc-block-components-select__select {
  min-height: 50px;
  border-color: #d6d6d6;
  border-radius: 10px;
  background-color: #fff;
  color: var(--he-commerce-ink);
  font-size: 16px;
}

body.he-theme .wc-block-components-radio-control__option {
  min-height: 48px;
}

body.he-theme .wc-block-components-radio-control__input {
  accent-color: var(--he-commerce-red);
}

body.he-theme .wc-block-components-product-name {
  color: var(--he-commerce-ink);
  font-size: 15px;
  font-weight: 550;
  line-height: 1.55;
  text-decoration: none;
  overflow-wrap: anywhere;
}

body.he-theme .wc-block-cart-item__image img {
  border-radius: 10px;
  object-fit: contain;
}

body.he-theme .wc-block-components-quantity-selector {
  min-height: 44px;
  border-color: #d6d6d6;
  border-radius: 10px;
}

body.he-theme .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button {
  min-width: 36px;
  min-height: 44px;
}

body.he-theme .wc-block-cart-item__remove-link {
  min-height: 44px;
  padding-block: 10px;
  color: #666;
  text-underline-offset: 3px;
}

body.he-theme .wc-block-components-totals-coupon-link {
  display: inline-block;
  min-height: 44px;
  padding-block: 10px;
  color: var(--he-commerce-ink);
  text-underline-offset: 3px;
}

body.he-theme .wc-block-components-notice-banner {
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.65;
}

@media (max-width: 1100px) {
  :is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  :is(body.he-theme.woocommerce-cart, body.he-theme.woocommerce-cart :is(.woocommerce, .he-commerce)):has(> .woocommerce-cart-form) {
    grid-template-columns: minmax(0, 1fr);
  }

  :is(body.he-theme.woocommerce-cart, body.he-theme.woocommerce-cart :is(.woocommerce, .he-commerce)):has(> .woocommerce-cart-form) > :is(.woocommerce-cart-form, .cart-collaterals) {
    grid-column: 1;
  }

  :is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) .cart-collaterals .cart_totals {
    max-width: 620px;
    margin-left: auto;
  }

  :is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) form.checkout.woocommerce-checkout {
    column-gap: 26px;
  }
}

@media (max-width: 780px) {
  :is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) div.product:not(.product-category) {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 28px;
  }

  :is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) div.product :is(div.images, div.summary) {
    grid-column: 1;
  }

  :is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) div.product .product_title {
    font-size: 26px;
  }

  :is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) form.checkout.woocommerce-checkout {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  :is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) form.checkout :is(#customer_details, #order_review_heading, #order_review) {
    grid-column: 1;
    grid-row: auto;
  }

  :is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) form.checkout #order_review_heading {
    margin-top: 24px;
  }

  :is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) :is(.woocommerce-MyAccount-navigation, .woocommerce-MyAccount-content) {
    float: none;
    width: 100%;
  }

  body.he-theme .woocommerce-MyAccount-navigation {
    margin-bottom: 28px;
  }

  body.he-theme .woocommerce-MyAccount-navigation ul {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
  }

  body.he-theme .woocommerce-MyAccount-navigation li {
    flex: 1 1 140px;
  }

  :is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) table.shop_table_responsive tr {
    margin-bottom: 20px;
    border-bottom: 1px solid var(--he-commerce-line);
  }

  :is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) table.shop_table_responsive tr td {
    min-height: 48px;
    padding: 12px 16px;
    background: #fff;
  }

  :is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) table.shop_table_responsive tr td::before {
    padding-right: 12px;
    color: #666;
    font-size: 13px;
    font-weight: 500;
  }

  :is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) table.cart .product-remove {
    padding-block: 6px;
  }

  :is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) table.cart .product-remove a {
    margin-left: auto;
  }

  :is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) table.cart .product-name {
    text-align: left !important;
  }

  :is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) table.cart .product-name::before {
    display: none;
  }

  :is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) table.cart .product-quantity .quantity {
    display: inline-block;
  }

  :is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) table.cart td.actions {
    background: #fafafa;
  }

  :is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) table.cart td.actions .coupon {
    float: none;
    width: 100%;
    margin-bottom: 12px;
    padding-bottom: 0;
  }

  :is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) table.cart td.actions .coupon :is(.input-text, .button) {
    float: none;
    width: auto;
    flex: 1 1 130px;
  }

  :is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) table.cart td.actions > .button {
    width: 100%;
  }

  :is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) .cart_totals table.shop_table_responsive tr {
    margin-bottom: 0;
  }

  :is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) .cart_totals table.shop_table_responsive tr td {
    padding: 16px 0;
    background: transparent;
  }

  body.he-theme :is(.wc-block-cart, .wc-block-checkout) .wc-block-components-sidebar {
    padding: 20px;
  }
}

@media (max-width: 600px) {
  body.he-theme .woocommerce-breadcrumb {
    margin-bottom: 20px;
    font-size: 12px;
  }

  :is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) .woocommerce-result-count,
  :is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) .woocommerce-ordering {
    float: none;
    width: 100%;
  }

  :is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) .woocommerce-result-count {
    margin: 0 0 12px;
    font-size: 13px;
  }

  :is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) .woocommerce-ordering select {
    width: 100%;
    min-width: 0;
    font-size: 16px;
  }

  :is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 12px;
  }

  :is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) ul.products li.product .woocommerce-loop-product__title {
    font-size: 13px;
  }

  :is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) ul.products li.product .price {
    font-size: 15px;
  }

  :is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) ul.products li.product .price del {
    font-size: 12px;
  }

  :is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) ul.products li.product .button {
    width: calc(100% - 28px);
    padding: 11px 8px;
    font-size: 12px;
  }

  :is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) ul.products li.product .added_to_cart {
    margin-inline: 14px;
  }

  :is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) ul.products li.product .onsale {
    top: 8px;
    left: 8px;
    padding: 6px 8px;
    font-size: 10px;
  }

  :is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) div.product :is(p.price, span.price) {
    font-size: 24px;
  }

  :is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) div.product form.cart .variations th.label {
    width: 25%;
    padding-right: 10px;
    font-size: 13px;
  }

  :is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) div.product form.cart .button {
    min-width: 0;
    width: calc(100% - 88px);
  }

  :is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) div.product .woocommerce-tabs ul.tabs {
    gap: 0 20px;
  }

  :is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) div.product .woocommerce-tabs ul.tabs li a {
    font-size: 13px;
  }

  :is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) :is(.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper, .woocommerce-address-fields__field-wrapper) {
    grid-template-columns: minmax(0, 1fr);
  }

  :is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) form.checkout #order_review,
  :is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) .cart-collaterals .cart_totals,
  :is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) :is(form.checkout_coupon, form.login, form.register) {
    padding: 20px;
  }

  :is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) form.checkout h3 {
    font-size: 21px;
  }

  body.he-theme :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) .button {
    float: none;
    margin: 0 0 12px;
  }

  :is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) form :is(.form-row-first, .form-row-last) {
    float: none;
    width: 100%;
  }

  :is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) table.my_account_orders .button {
    margin: 3px 0 3px 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  :is(body.he-theme.woocommerce, body.he-theme .woocommerce, body.he-theme .he-commerce) :is(a.button, button.button, input.button),
  body.he-theme .wc-block-components-button {
    transition: none;
  }
}

/* Commerce blocks may use the available desktop width for their own grid. */
body.he-theme.woocommerce-cart .he-article,
body.he-theme.woocommerce-checkout .he-article { max-width: none; }

/* Keep purchase actions consistent with the approved red CTAs. */
body.he-theme .he-main-shell :is(.he-commerce .products .button, .wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button) {
    background: var(--he-commerce-red); border-color: var(--he-commerce-red); color:#fff;
}
body.he-theme .he-main-shell :is(.he-commerce .products .button, .wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button):hover {
    background: #bd2828; border-color:#bd2828; color:#fff;
}
