/**
 * Cart page (woocommerce/cart/cart.php, cart-totals.php, cart-empty.php),
 * converted from the guardrail cart: pages.css "Cart page" rules and the
 * cart.json block settings (summary and shipping bar #efe8de, square images on
 * #efeae2, 63/32px heading, 25/18px summary title, 23/16px estimate title).
 *
 * Ecomus styles the classic cart through .woocommerce-cart selectors of up to
 * four classes; rules that must win against them carry enough classes and say so.
 */

.hg-cart-page {
  --hg-cart-panel-bg: #efe8de;
  --hg-cart-rule: rgb(0 0 0 / 0.1);
  --hg-cart-field-border: rgb(0 0 0 / 0.3);
  padding-block: 60px;
}

/* Ecomus's content container on this page (inc/cart-page.php): full width, as the trust strip runs edge to edge. */
.hg-cart-shell {
  width: 100%;
}
/* Ecomus pads the content area for its page header, which the cart hides; the cart sets its own spacing. */
.woocommerce-cart .site-content {
  padding-block: 0;
}

.hg-cart-page__container {
  width: min(1440px, calc(100% - 32px));
  margin-inline: auto;
}

/* Notices print above the form; cart.js adds them here after updates. Panels in the summary colour. */
.hg-cart-page .woocommerce-notices-wrapper:not(:empty) {
  margin-block-end: 20px;
}
.hg-cart-page .woocommerce-notices-wrapper :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) {
  margin: 0 0 10px;
  padding: 11px 18px;
  border: 0;
  border-radius: 8px;
  background: var(--hg-cart-panel-bg);
  color: var(--hg-text);
  font-size: 14px;
  line-height: 1.6;
  list-style: none;
}
.hg-cart-page .woocommerce-notices-wrapper :is(.woocommerce-message, .woocommerce-info, .woocommerce-error)::before {
  content: none;
}
.hg-cart-page .woocommerce-notices-wrapper .woocommerce-error {
  border: 1px solid var(--hg-accent);
  background: #fff;
  color: var(--hg-accent-text);
}
.hg-cart-page .woocommerce-notices-wrapper .woocommerce-error li {
  margin: 0;
  padding: 0;
}
.hg-cart-page .woocommerce-notices-wrapper :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
/* The bulk discount plugin's notices bring their own box; drop the panel around it. */
.hg-cart-page .woocommerce-notices-wrapper .woocommerce-info:has(> .salesgen-discount-notices) {
  padding: 0;
  background: none;
}
/* Its box comes in green, yellow or grey with blue figures; drawn as the shipping bar's panel instead. */
.hg-cart-page .woocommerce-notices-wrapper .woocommerce-info .salesgen-discount-notices {
  margin: 0;
  padding: 11px 18px;
  border: 0;
  border-radius: 8px;
  background: var(--hg-cart-panel-bg);
  color: var(--hg-text);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  text-align: start;
}
/* The next tier still to unlock keeps the plugin's dashed outline, without the fill. */
.hg-cart-page .woocommerce-notices-wrapper .woocommerce-info .salesgen-discount-notices.salesgen-closest-o {
  border: 1px dashed var(--hg-cart-field-border);
  background: transparent;
}
.hg-cart-page .woocommerce-notices-wrapper .salesgen-discount-notices :is(strong, strong .amount) {
  color: var(--hg-accent-text);
  font-weight: 700;
}

/* Ecomus floats the form and the totals into two sticky columns. */
.woocommerce-cart-form.hg-cart-page__form {
  position: static;
  float: none;
  width: auto;
}

.hg-cart-page__layout {
  display: grid;
  gap: 30px;
  align-items: start;
}
.hg-cart-page__items,
.hg-cart-page__side {
  min-width: 0;
}

/* Heading and item count. */
.hg-cart-page__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  margin-block-end: 24px;
}
.hg-cart-page .hg-cart-page__title {
  margin: 0;
  font-family: var(--hg-font-heading);
  font-size: 63px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
/* Focused by script after a line is removed; the heading is not a control. */
.hg-cart-page__title:focus:not(:focus-visible) {
  outline: none;
}
.hg-cart-page__count {
  margin: 0;
  font-size: 14px;
}

/* Free shipping progress (reference shipping_bar block). */
.hg-cart-page__ship {
  margin: 0 0 10px;
  padding: 11px 18px;
  border-radius: 8px;
  background: var(--hg-cart-panel-bg);
}
.hg-cart-page__ship-text {
  margin: 4px 0 6px;
  font-size: 14px;
  line-height: 1.6;
}
.hg-cart-page__ship-bar {
  height: 7px;
  margin: 0 0 11px;
  overflow: hidden;
  border-radius: 20px;
  background: #e1dfdf;
}
.hg-cart-page__ship-bar span {
  display: block;
  width: var(--hg-ship-progress, 0%);
  height: 100%;
  border-radius: inherit;
  background: var(--hg-accent);
}

/* Lines. */
.hg-lines {
  padding: 0 25px;
  border: 1px solid var(--hg-cart-rule);
  border-radius: 20px;
}
.hg-line {
  display: grid;
  grid-template-columns: 85px minmax(0, 1fr) 135px minmax(96px, auto) 28px;
  align-items: center;
  gap: 30px;
  padding: 25px 0;
  border-block-end: 1px solid var(--hg-cart-rule);
}
.hg-line:last-of-type {
  border-block-end: 0;
}

.hg-line__media {
  position: relative;
  display: block;
  align-self: start;
  aspect-ratio: 1;
  margin-block-start: 3px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--hg-card-media-bg);
}
.hg-line .hg-line__media img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
}
/* A line photo still downloading: the loading shade and spinner (base.css) over its frame. */
html.hg-iw .hg-line .hg-line__media:has(> img:not(.hg-img-ok))::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--hg-wait);
  pointer-events: none;
  animation: var(--hg-wait-late);
}
html.hg-iw .hg-line .hg-line__media:has(> img:not(.hg-img-ok))::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 18px;
  height: 18px;
  margin: auto;
  background: var(--hg-wait-spinner) center / contain no-repeat;
  pointer-events: none;
  animation: var(--hg-wait-late), var(--hg-wait-spin);
}

.hg-line__info {
  display: grid;
  gap: 6px;
  align-content: start;
  min-width: 0;
  font-size: 14px;
  line-height: 1;
}
.hg-line .hg-line__title {
  margin-block-end: 2px;
  color: inherit;
  line-height: 1;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.hg-line .hg-line__title:hover {
  color: inherit;
  text-decoration: underline;
}
.hg-line__info p {
  margin: 0;
}
.hg-line__unit {
  font-weight: 700;
  line-height: 1.2;
}

/* Variation and add-on choices (WCPA plugin), one line each like the reference's variant line. */
.hg-line__info .variation {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 4px;
  row-gap: 6px;
  margin: 0;
}
.hg-line__info .variation dt,
.hg-line__info .variation dd {
  margin: 0;
  font-weight: 400;
}
.hg-line .hg-line__info .wcpa_cart_meta {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  font-size: inherit;
  list-style: none;
}
.hg-line .wcpa_cart_meta .wcpa_cart_meta_item {
  display: block;
  margin: 0;
  padding: 0;
  overflow-wrap: anywhere;
}
.hg-line .wcpa_cart_meta .wcpa_cart_meta_item .wcpa_cart_meta_item-label,
.hg-line .wcpa_cart_meta .wcpa_cart_meta_item .wcpa_cart_meta_item-value,
.hg-line .wcpa_cart_meta .wcpa_cart_meta_item .wcpa_cart_meta_item-value p {
  display: inline;
  margin: 0;
  font-weight: inherit;
}
/* The options as one muted line of values (hg_cart_item_options()); a long name wraps. */
.hg-line .hg-cart-opts {
  color: var(--hg-muted);
  line-height: 1.4;
  overflow-wrap: anywhere;
}

/* Quantity box: decrease, number, increase. */
.hg-cart-qty {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  width: 135px;
  height: 45px;
  overflow: hidden;
  border: 1px solid var(--hg-cart-field-border);
  border-radius: 6px;
}
.hg-cart-qty .hg-cart-qty__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}
.hg-cart-qty .hg-cart-qty__btn::before,
.hg-cart-qty .hg-cart-qty__btn::after {
  display: none;
}
.hg-cart-qty .hg-cart-qty__btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.hg-cart-qty .hg-cart-qty__input {
  width: 100%;
  min-width: 0;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 16px;
  text-align: center;
  -moz-appearance: textfield;
  appearance: textfield;
}
.hg-cart-qty .hg-cart-qty__input::-webkit-inner-spin-button,
.hg-cart-qty .hg-cart-qty__input::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}
/* The box clips outlines drawn outside its controls. */
.hg-cart-qty .hg-cart-qty__btn:focus-visible,
.hg-cart-qty .hg-cart-qty__input:focus-visible {
  outline-offset: -2px;
}
/* Ecomus's bought-together offer: a fixed quantity and its tag. */
.hg-line__qty .ecomus-product-quantity__text {
  font-size: 16px;
}
.hg-line__info .ecomus-product-offer {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.hg-line__price {
  display: grid;
  gap: 2px;
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}
.hg-line__compare {
  color: var(--hg-muted);
  font-size: 13px;
  font-weight: 400;
}
/* hgo-offers:begin cart-page-1 */
/* A plugin line's struck unit price (cart.php cart-3), for phones: from 750px the line total shows it. */
.hg-line__unit-compare {
  color: var(--hg-muted);
  font-weight: 400;
}
@media (min-width: 750px) {
  .hg-line__unit-compare {
    display: none;
  }
}
/* hgo-offers:end cart-page-1 */

.hg-line__remove {
  display: flex;
}
.hg-line .hg-remove {
  display: inline-flex;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: none;
  color: inherit;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}
.hg-line .hg-remove:hover {
  background: none;
  color: inherit;
  opacity: 1;
}
.hg-remove svg {
  display: block;
}

/* Update cart: only without JavaScript, where quantity changes need a submit. */
.hg-cart-page__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-block-start: 15px;
}
.woocommerce-js .hg-cart-page__actions {
  margin-block-start: 0;
}
.woocommerce-js .hg-cart-page__update {
  display: none;
}

/* Shipping estimate (reference estimate block). */
.hg-estimate {
  margin: 35px 0 50px;
  padding: 25px;
  border: 1px solid #ababab;
  border-radius: 10px;
}
.hg-cart-page .hg-estimate__title {
  margin: 0 0 25px;
  font-family: var(--hg-font-heading);
  font-size: 23px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}
/* One column per field plus the button; fields the country does not use drop out. */
.hg-estimate__row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr);
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
  gap: 0 20px;
  align-items: end;
  padding-block-start: 10px;
}
.hg-estimate .form-row.hg-estimate__field {
  float: none;
  width: auto;
  margin: 0 0 20px;
  padding: 0;
  font-family: var(--hg-font-heading);
  font-size: 14px;
  line-height: 22px;
  text-transform: uppercase;
}
.hg-estimate .form-row.hg-estimate__field[hidden] {
  display: none;
}
.hg-estimate .hg-estimate__label {
  display: block;
  margin: 0 0 4px;
  color: inherit;
  font: inherit;
}
/* address-i18n.js retitles the fields for the chosen country and marks them required or optional; an estimate needs none of them. */
.hg-estimate__label :is(.required, .optional) {
  display: none;
}
/* Three classes so Ecomus's input and select styles stay out. */
.hg-estimate .hg-estimate__field .hg-estimate__input {
  display: block;
  width: 100%;
  height: 49px;
  margin: 0;
  padding: 12px 15px;
  border: 1px solid var(--hg-cart-field-border);
  border-radius: 4px;
  background-color: transparent;
  color: inherit;
  font-family: var(--hg-font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  text-transform: none;
}
.hg-estimate .hg-estimate__field select.hg-estimate__input {
  padding-inline-end: 36px;
}
.hg-estimate .hg-estimate__btn {
  width: 100%;
  min-height: 49px;
  margin: 0 0 20px;
}
.hg-estimate__results {
  display: grid;
  gap: 4px;
  font-size: 14px;
  line-height: 1.5;
}
.hg-estimate__results p {
  margin: 0;
}

/* Ecomus sizes placeholders on their own; the reference's follow the field text (16px on phones). */
.hg-cart-page :is(input, textarea)::placeholder {
  font-size: inherit;
}

/* Side column: Continue shopping, then the summary box. */
.hg-cart-page__continue {
  display: flex;
  justify-content: flex-end;
  margin: -15px 0 25px;
}
.hg-cart-page .hg-cart-page__continue-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 250px;
  min-height: 54px;
  padding: 12px;
  border: 1px solid var(--hg-text);
  border-radius: 100px;
  background: transparent;
  color: var(--hg-text);
  font-family: var(--hg-font-heading);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.hg-cart-page .hg-cart-page__continue-btn:hover {
  background: var(--hg-text);
  color: #fff;
}

.hg-summary {
  display: flex;
  flex-direction: column;
  padding: 25px;
  border-radius: 10px;
  background: var(--hg-cart-panel-bg);
}
.hg-cart-page .hg-summary__title {
  margin: 0 0 40px;
  font-family: var(--hg-font-heading);
  font-size: 25px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

/* Order note. Three classes against Ecomus's .woocommerce-cart .woocommerce-cart-form .notes. */
.hg-summary .hg-summary__note.notes {
  width: auto;
  margin: 0;
  padding: 0;
}
.hg-summary .hg-summary__note label.hg-summary__note-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 15px;
  color: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 22px;
}
.hg-summary__note-label svg {
  flex: none;
}
.hg-summary .hg-summary__note .hg-summary__textarea {
  display: block;
  width: 100%;
  height: 140px;
  margin: 0 0 20px;
  padding: 20px;
  border: 1px solid #b1b1b1;
  border-radius: 10px;
  background: #fff;
  color: inherit;
  font-family: var(--hg-font-body);
  font-size: 14px;
  resize: vertical;
}

/* Discount code, laid out like the drawer's. */
.hg-summary .hg-summary__coupon {
  margin: 0 0 20px;
}
.hg-summary__coupon-row {
  display: flex;
  gap: 8px;
}
.hg-summary .hg-summary__coupon .hg-summary__coupon-input {
  flex: 1;
  min-width: 0;
  height: 44px;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid currentColor;
  border-radius: 0;
  background: #fff;
  color: inherit;
  font-family: var(--hg-font-body);
  font-size: 14px;
}
.hg-summary .hg-summary__coupon .hg-summary__coupon-input.has-error {
  border-color: var(--hg-accent);
}
.hg-summary__coupon .coupon-error-notice {
  margin: 8px 0 0;
  color: var(--hg-accent-text);
  font-size: 13px;
}

/* Totals. Ecomus floats and pads .cart-collaterals and styles .cart_totals rows with three classes. */
.hg-summary .cart-collaterals.hg-summary__totals {
  position: static;
  float: none;
  width: auto;
  margin: 0;
  padding: 0;
}
/* Four classes: Ecomus's .woocommerce-cart .cart_totals table.shop_table zeroes the margin above the button. */
.hg-summary .cart_totals.hg-totals .hg-totals__table {
  width: 100%;
  margin: 0 0 25px;
  border: 0;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.6;
}
.hg-summary .hg-totals .hg-totals__table tr {
  border: 0;
}
.hg-summary .hg-totals .hg-totals__table th,
.hg-summary .hg-totals .hg-totals__table td {
  padding: 6px 0;
  border: 0;
  background: none;
  color: inherit;
  font-family: var(--hg-font-body);
  font-size: inherit;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  vertical-align: top;
}
.hg-summary .hg-totals .hg-totals__table th {
  padding-inline-end: 12px;
  text-align: start;
}
.hg-summary .hg-totals .hg-totals__table td {
  text-align: end;
}
.hg-summary .hg-totals .woocommerce-remove-coupon {
  margin-inline-start: 6px;
  color: inherit;
  font-size: 12px;
  text-decoration: underline;
}
.hg-summary .hg-totals .woocommerce-remove-coupon:hover {
  color: var(--hg-accent-text);
}

/* Shipping: Ecomus's row hides the th and titles the cell, then lists the methods.
   Ecomus also sets the row in 16px; it keeps the box's 14px like the other rows. */
.hg-summary .hg-totals .woocommerce-shipping-totals {
  font-size: inherit;
}
.hg-summary .hg-totals .woocommerce-shipping-totals th {
  display: none;
}
.hg-summary .hg-totals .woocommerce-shipping-totals td {
  text-align: start;
}
.hg-summary .hg-totals .woocommerce-shipping-totals .shipping-title {
  margin: 0 0 6px;
  color: inherit;
  font-family: var(--hg-font-body);
  font-size: inherit;
  font-weight: 400;
  line-height: inherit;
  letter-spacing: 0;
  text-transform: none;
}
.hg-summary .hg-totals .woocommerce-shipping-methods {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hg-summary .hg-totals .woocommerce-shipping-methods li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
}
/* Ecomus draws its 20px radio with pseudo-elements around the native box; size the box to match. */
.hg-summary .hg-totals .woocommerce-shipping-methods input[type="radio"] {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 0;
  margin-inline-end: 2px;
}
/* Its unchecked ring (#ebebeb) disappears on the summary panel; the muted text colour keeps it visible. */
.hg-summary .hg-totals .woocommerce-shipping-methods input[type="radio"]:not(:checked)::before {
  border-color: var(--hg-muted);
}
.hg-summary .hg-totals .woocommerce-shipping-methods input[type="radio"]:not(:checked):hover::before {
  border-color: var(--hg-text);
}
.hg-summary .hg-totals .woocommerce-shipping-methods label {
  display: flex;
  flex: 1;
  justify-content: space-between;
  gap: 8px;
  margin: 0;
  font-size: inherit;
  cursor: pointer;
}
/* Ecomus floats the rate and sets it in 500 dark; it reads like the subtotal figure instead. */
.hg-summary .hg-totals .woocommerce-shipping-methods label .woocommerce-Price-amount {
  float: none;
  margin: 0;
  color: inherit;
  font-weight: inherit;
}
.hg-summary .hg-totals .woocommerce-shipping-destination,
.hg-summary .hg-totals .woocommerce-shipping-contents {
  margin: 6px 0 0;
  font-size: 13px;
}

.hg-summary .hg-totals .hg-totals__table .order-total th,
.hg-summary .hg-totals .hg-totals__table .order-total td {
  padding-block-start: 15px;
  border-block-start: 1px solid var(--hg-cart-rule);
  font-size: 18px;
  font-weight: 500;
}
.hg-summary .hg-totals .order-total strong {
  font-weight: inherit;
}

.hg-totals__note {
  margin: 0 0 25px;
  padding-block-start: 10px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
}

/* Four classes against Ecomus's .woocommerce-cart .cart_totals .wc-proceed-to-checkout .checkout-button. */
.hg-summary .hg-totals .wc-proceed-to-checkout.hg-totals__checkout {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
}
.hg-summary .hg-totals .hg-totals__checkout .hg-totals__checkout-btn {
  width: 100%;
  min-height: 50px;
  font-weight: 800;
}

/* Empty cart (reference empty block). cart.js finds the empty markup by .wc-empty-cart-message, which Ecomus hides. */
.woocommerce-cart .hg-cart-page.wc-empty-cart-message {
  display: block;
}
.hg-cart-empty {
  padding: 48px 0;
  font-size: 16px;
  text-align: center;
}
.hg-cart-empty p {
  margin: 0;
}
/* A side cart plugin boxes every .cart-empty message. */
.hg-cart-empty .cart-empty {
  display: block;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: inherit;
  font-size: inherit;
}
.hg-cart-empty .hg-cart-empty__cta {
  margin-block-start: 16px;
}

@media (min-width: 990px) {
  .hg-cart-page__container {
    padding-inline: 35px;
  }
  .hg-cart-page__layout {
    grid-template-columns: minmax(0, 1fr) 408px;
    column-gap: 40px;
  }
  /* The pill rises 15px beside the heading; under notices it would butt against them, so it lines up with the heading. */
  .hg-cart-page__container:has(> .woocommerce-notices-wrapper:not(:empty)) .hg-cart-page__continue {
    margin-block-start: 0;
  }
}

@media (max-width: 749px) {
  .hg-cart-page {
    padding-block: 20px;
  }
  .hg-cart-page__container {
    width: calc(100% - 24px);
    padding-inline: 8px;
  }

  .hg-cart-page__head {
    margin-block-end: 28px;
  }
  .hg-cart-page .hg-cart-page__title {
    font-size: 32px;
  }
  .hg-cart-page__count {
    font-size: 13px;
  }

  .hg-lines {
    padding: 0 15px;
  }
  /* Phone rows: image inset 10px, details 15px after it, remove control 4px above the image. */
  .hg-line {
    grid-template-areas:
      "media . info . remove"
      "media . qty qty qty";
    grid-template-columns: 85px 15px minmax(0, 1fr) 2px 28px;
    align-items: start;
    gap: 0;
    padding-block: 20px;
    padding-inline: 10px 0;
  }
  .hg-line__media {
    grid-area: media;
    margin: 0 0 10px;
  }
  .hg-line__info {
    grid-area: info;
  }
  .hg-line .hg-line__title {
    line-height: 1.28;
  }
  .hg-line__qty {
    grid-area: qty;
    margin-block-start: 16px;
  }
  /* The reference hides line totals on phones; the unit price stays in the details. */
  .hg-line__price {
    display: none;
  }
  .hg-line__remove {
    grid-area: remove;
    margin-block-start: -4px;
  }
  .hg-cart-qty {
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    width: 120px;
    height: 40px;
  }

  .hg-estimate {
    margin: 30px 0 15px;
    padding: 15px;
  }
  .hg-cart-page .hg-estimate__title {
    font-size: 16px;
  }
  .hg-estimate__row {
    grid-auto-flow: row;
    grid-template-columns: minmax(0, 1fr);
  }
  .hg-estimate .form-row.hg-estimate__field,
  .hg-estimate .hg-estimate__btn {
    margin-block-end: 15px;
  }
  .hg-estimate .hg-estimate__field .hg-estimate__input {
    font-size: 16px;
  }

  .hg-cart-page__continue {
    justify-content: center;
    margin: 0 0 50px;
  }

  .hg-cart-page .hg-summary__title {
    font-size: 18px;
  }
  .hg-summary .hg-summary__note .hg-summary__textarea {
    height: 110px;
    font-size: 16px;
  }
  .hg-summary .hg-summary__coupon .hg-summary__coupon-input {
    font-size: 16px;
  }
  .hg-summary .cart_totals.hg-totals .hg-totals__table {
    margin-block-end: 15px;
  }
  .hg-totals__note {
    margin-block-end: 15px;
    padding-block-start: 0;
  }
  .hg-summary .hg-totals .hg-totals__checkout .hg-totals__checkout-btn {
    min-height: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hg-line .hg-remove,
  .hg-cart-page .hg-cart-page__continue-btn {
    transition: none;
  }
}
