@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600&display=swap');

:root {
  --hai-orange: #c85f38;
  --hai-orange-dark: #a94727;
  --hai-black: #0d0f0c;
  --hai-charcoal: #1d201c;
  --hai-muted: #747a71;
  --hai-line: #e3e6df;
  --hai-soft: #f3f1ec;
  --hai-softest: #faf8f4;
  --hai-white: #ffffff;
  --hai-radius-lg: 24px;
  --hai-radius-md: 14px;
  --hai-shadow: 0 18px 48px rgba(13, 15, 12, .07);
}

body.hai-commerce-cart-page,
body.hai-commerce-checkout-page,
body.hai-commerce-confirmation-page {
  background: var(--hai-white);
  color: var(--hai-black);
}

body.hai-commerce-cart-page .site-main,
body.hai-commerce-checkout-page .site-main,
body.hai-commerce-confirmation-page .site-main,
body.hai-commerce-cart-page .entry-content,
body.hai-commerce-checkout-page .entry-content,
body.hai-commerce-confirmation-page .entry-content {
  font-family: 'Sora', sans-serif;
}

body.hai-commerce-cart-page .woocommerce,
body.hai-commerce-checkout-page .woocommerce,
body.hai-commerce-confirmation-page .woocommerce {
  width: min(1280px, calc(100% - 48px));
  margin-inline: auto;
}

.hai-commerce-intro {
  padding: 42px 0 48px;
}

.hai-commerce-progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  border-bottom: 1px solid var(--hai-line);
  margin-bottom: 68px;
}

.hai-commerce-progress__step { position: relative; }
.hai-commerce-progress__step::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: transparent;
  transform-origin: left;
}
.hai-commerce-progress__step.is-active::after,
.hai-commerce-progress__step.is-complete::after { background: var(--hai-orange); }

.hai-commerce-progress a,
.hai-commerce-progress__step > span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 0 16px;
  color: var(--hai-muted);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hai-commerce-progress__step.is-active a,
.hai-commerce-progress__step.is-active > span,
.hai-commerce-progress__step.is-complete a { color: var(--hai-black); }
.hai-commerce-progress__number { color: var(--hai-orange); font-weight: 600; }

.hai-commerce-intro__copy { max-width: 850px; }
.hai-commerce-eyebrow {
  margin: 0 0 14px;
  color: var(--hai-orange);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
}
.hai-commerce-intro h1 {
  margin: 0;
  color: var(--hai-black);
  font-size: clamp(44px, 5.6vw, 72px);
  line-height: .98;
  letter-spacing: -.045em;
  font-weight: 300;
}

.hai-cart-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 12px;
  padding: 0 0 18px;
  border-bottom: 1px solid var(--hai-line);
}
.hai-cart-toolbar p {
  margin: 0;
  color: var(--hai-muted);
  font-size: 12px;
  letter-spacing: .04em;
}
.hai-cart-back {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--hai-black) !important;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none !important;
}
.hai-cart-back span {
  color: var(--hai-orange);
  font-size: 19px;
  transition: transform .2s ease;
}
.hai-cart-back:hover span { transform: translateX(-3px); }
.hai-commerce-intro__copy > p:last-child {
  margin: 22px 0 0;
  max-width: 620px;
  color: var(--hai-muted);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.65;
}

/* Notices */
.woocommerce-notices-wrapper,
.woocommerce-NoticeGroup { margin-bottom: 28px; }
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border: 1px solid var(--hai-line) !important;
  border-top: 0 !important;
  border-radius: var(--hai-radius-md);
  background: var(--hai-softest) !important;
  color: var(--hai-charcoal) !important;
  padding: 16px 18px 16px 48px !important;
  box-shadow: none !important;
  font-size: 14px;
}
.woocommerce-message::before,
.woocommerce-info::before { color: var(--hai-orange) !important; }
.woocommerce-error { background: #fff8f7 !important; border-color: #f0c8c2 !important; }
.woocommerce-error::before { color: #c63b2b !important; }

/* Buttons */
body.hai-commerce-cart-page .woocommerce a.button,
body.hai-commerce-cart-page .woocommerce button.button,
body.hai-commerce-cart-page .woocommerce input.button,
body.hai-commerce-checkout-page .woocommerce a.button,
body.hai-commerce-checkout-page .woocommerce button.button,
body.hai-commerce-checkout-page .woocommerce input.button,
body.hai-commerce-confirmation-page .woocommerce a.button {
  min-height: 50px;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--hai-black) !important;
  color: #fff !important;
  padding: 0 24px !important;
  font-family: 'Sora', sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 50px !important;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
body.hai-commerce-cart-page .woocommerce a.button:hover,
body.hai-commerce-cart-page .woocommerce button.button:hover,
body.hai-commerce-checkout-page .woocommerce a.button:hover,
body.hai-commerce-checkout-page .woocommerce button.button:hover,
body.hai-commerce-confirmation-page .woocommerce a.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(13,15,12,.12);
}
body.hai-commerce-cart-page .wc-proceed-to-checkout a.checkout-button,
body.hai-commerce-checkout-page #payment #place_order {
  width: 100%;
  min-height: 58px !important;
  background: var(--hai-orange) !important;
  line-height: 58px !important;
  text-align: center;
  letter-spacing: .01em;
}
body.hai-commerce-cart-page .wc-proceed-to-checkout a.checkout-button:hover,
body.hai-commerce-checkout-page #payment #place_order:hover { background: var(--hai-orange-dark) !important; }

/* CART */
.hai-commerce-cart-page .woocommerce-cart-form {
  width: calc(65% - 24px);
  float: left;
}
.hai-commerce-cart-page .cart-collaterals {
  width: calc(35% - 24px);
  float: right;
}
.hai-commerce-cart-page .woocommerce::after { content: ''; display: table; clear: both; }

.hai-commerce-cart-page table.shop_table {
  border: 0 !important;
  border-radius: 0 !important;
  border-collapse: collapse !important;
  margin: 0 !important;
  background: transparent;
}
.hai-commerce-cart-page table.shop_table thead { display: table-header-group; }
.hai-commerce-cart-page table.shop_table thead th {
  padding: 0 14px 13px !important;
  border: 0 !important;
  color: var(--hai-muted);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hai-commerce-cart-page table.shop_table thead th:first-child { padding-left: 0 !important; }
.hai-commerce-cart-page table.shop_table td {
  border-top: 0 !important;
  border-bottom: 1px solid var(--hai-line) !important;
  padding: 28px 14px !important;
  vertical-align: middle;
  background: transparent !important;
}
.hai-commerce-cart-page td.product-thumbnail { width: 150px; padding-left: 0 !important; }
.hai-commerce-cart-page td.product-thumbnail img {
  width: 128px !important;
  height: 128px !important;
  border-radius: 18px;
  object-fit: cover;
  background: var(--hai-softest);
  transition: transform .25s ease;
}
.hai-commerce-cart-page tr.cart_item:hover td.product-thumbnail img { transform: scale(1.015); }
.hai-commerce-cart-page td.product-name { width: 36%; }
.hai-commerce-product-name a,
.hai-commerce-product-name {
  color: var(--hai-black) !important;
  font-size: 17px;
  font-weight: 500;
  text-decoration: none !important;
}
.hai-commerce-sku,
.hai-commerce-cart-page .variation {
  margin-top: 8px;
  color: var(--hai-muted);
  font-size: 12px;
  line-height: 1.55;
}
.hai-commerce-cart-page .variation dt,
.hai-commerce-cart-page .variation dd { display: inline; float: none; margin: 0 5px 0 0; }
.hai-commerce-cart-page .variation p { margin: 0; }
.hai-commerce-cart-page td.product-price,
.hai-commerce-cart-page td.product-subtotal { font-size: 14px; font-weight: 500; color: var(--hai-charcoal); }
.hai-commerce-cart-page td.product-remove { width: 44px; padding-right: 0 !important; }
.hai-commerce-cart-page td.product-remove a.remove {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--hai-line);
  border-radius: 50%;
  color: var(--hai-muted) !important;
  background: #fff !important;
  font-size: 20px !important;
  line-height: 1 !important;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.hai-commerce-cart-page td.product-remove a.remove:hover {
  border-color: var(--hai-orange);
  color: var(--hai-orange) !important;
  background: #fff7f5 !important;
}

.hai-commerce-cart-page .quantity {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border: 1px solid var(--hai-line);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}
.hai-commerce-cart-page .quantity .qty {
  width: 48px !important;
  min-height: 42px;
  border: 0 !important;
  background: transparent !important;
  text-align: center;
  font-family: 'Sora', sans-serif;
  color: var(--hai-black);
  box-shadow: none !important;
  appearance: textfield;
}
.hai-commerce-cart-page .quantity .qty::-webkit-inner-spin-button,
.hai-commerce-cart-page .quantity .qty::-webkit-outer-spin-button { appearance: none; margin: 0; }
.hai-qty-btn {
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: var(--hai-black);
  font: 500 18px/1 'Sora', sans-serif;
  cursor: pointer;
}
.hai-qty-btn:hover { background: var(--hai-softest); }

.hai-commerce-cart-page td.actions { padding: 28px 0 0 !important; border-bottom: 0 !important; }
.hai-commerce-cart-page .coupon { display: flex; width: 100%; gap: 12px; }
.hai-commerce-cart-page .coupon label { display: none; }
.hai-commerce-cart-page .coupon .input-text {
  width: min(420px, 100%) !important;
  min-height: 50px;
  border: 1px solid var(--hai-line) !important;
  border-radius: 999px !important;
  padding: 0 20px !important;
  font-family: 'Sora', sans-serif;
  box-shadow: none !important;
}
.hai-commerce-cart-page button[name="update_cart"] { margin-left: auto; }

.hai-commerce-cart-page .cart_totals {
  float: none !important;
  width: 100% !important;
  position: sticky;
  top: 28px;
  padding: 30px;
  border: 1px solid var(--hai-line);
  border-radius: var(--hai-radius-lg);
  background: var(--hai-softest);
}
.hai-commerce-cart-page .cart_totals h2 {
  margin: 0 0 22px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -.02em;
}
.hai-commerce-cart-page .cart_totals table { width: 100%; }
.hai-commerce-cart-page .cart_totals table th,
.hai-commerce-cart-page .cart_totals table td {
  border: 0 !important;
  border-bottom: 1px solid var(--hai-line) !important;
  padding: 14px 0 !important;
  font-size: 13px;
}
.hai-commerce-cart-page .cart_totals table th { color: var(--hai-muted); font-weight: 400; }
.hai-commerce-cart-page .cart_totals table td { color: var(--hai-black); text-align: right; font-weight: 500; }
.hai-commerce-cart-page .cart_totals tr.order-total th,
.hai-commerce-cart-page .cart_totals tr.order-total td {
  padding-top: 20px !important;
  font-size: 17px;
  color: var(--hai-black);
}
.hai-commerce-cart-page .wc-proceed-to-checkout { padding: 22px 0 0 !important; }

.hai-commerce-cart-page .cart_totals::before {
  content: 'Order summary';
  display: block;
  margin: 0 0 22px;
  color: var(--hai-orange);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.hai-commerce-cart-page .cart_totals h2 { display: none; }

.hai-cart-note {
  width: calc(65% - 24px);
  float: left;
  display: grid;
  grid-template-columns: minmax(190px, .75fr) 1.25fr;
  gap: 28px;
  margin: 34px 0 70px;
  padding: 28px;
  border: 1px solid var(--hai-line);
  border-radius: var(--hai-radius-lg);
  background: var(--hai-white);
}
.hai-cart-note__kicker {
  margin: 0 0 9px !important;
  color: var(--hai-orange);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.hai-cart-note h2 {
  margin: 0 0 10px;
  color: var(--hai-black);
  font-size: 18px;
  font-weight: 500;
}
.hai-cart-note div > p:last-child {
  margin: 0;
  color: var(--hai-muted);
  font-size: 12px;
  line-height: 1.6;
}
.hai-cart-note textarea {
  width: 100%;
  min-height: 116px;
  resize: vertical;
  border: 1px solid var(--hai-line);
  border-radius: 14px;
  background: var(--hai-softest);
  padding: 16px;
  color: var(--hai-black);
  font: 400 13px/1.6 'Sora', sans-serif;
  outline: none;
  box-shadow: none;
}
.hai-cart-note textarea:focus { border-color: var(--hai-orange); background: #fff; }
.hai-cart-note__status {
  grid-column: 2;
  min-height: 16px;
  margin: -20px 0 0;
  color: var(--hai-muted);
  font-size: 10px;
  text-align: right;
}

/* Empty cart */
.hai-commerce-cart-page .wc-empty-cart-message + .return-to-shop,
.hai-commerce-cart-page .cart-empty + .return-to-shop { text-align: center; }
.hai-commerce-cart-page .cart-empty,
.hai-commerce-cart-page .wc-empty-cart-message {
  max-width: 720px;
  margin: 20px auto 26px !important;
  padding: 86px 28px 30px !important;
  border: 0 !important;
  background: transparent !important;
  text-align: center;
  font-size: 0;
}
.hai-commerce-cart-page .cart-empty::before,
.hai-commerce-cart-page .wc-empty-cart-message::before {
  content: '○';
  position: static !important;
  display: block;
  margin: 0 auto 28px;
  color: var(--hai-orange) !important;
  font-size: 66px;
  line-height: 1;
}
.hai-commerce-cart-page .cart-empty::after,
.hai-commerce-cart-page .wc-empty-cart-message::after {
  content: 'Your cart is empty\A Your next move starts here.';
  white-space: pre;
  display: block;
  color: var(--hai-black);
  font-size: 28px;
  line-height: 1.5;
  font-weight: 300;
}
.hai-commerce-cart-page .return-to-shop .button { background: var(--hai-orange) !important; }

/* CHECKOUT */
.hai-commerce-checkout-page form.checkout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(340px, .85fr); gap: 54px; align-items: start; }
.hai-commerce-checkout-page #customer_details,
.hai-commerce-checkout-page #order_review_heading,
.hai-commerce-checkout-page #order_review { float: none !important; width: 100% !important; }
.hai-commerce-checkout-page #customer_details { grid-column: 1; }
.hai-commerce-checkout-page #order_review_heading { grid-column: 2; margin: 0; }
.hai-commerce-checkout-page #order_review { grid-column: 2; position: sticky; top: 28px; }
.hai-commerce-checkout-page #customer_details .col-1,
.hai-commerce-checkout-page #customer_details .col-2 { float: none !important; width: 100% !important; }
.hai-commerce-checkout-page #customer_details .col-2 { margin-top: 34px; }

.hai-commerce-checkout-page .woocommerce-billing-fields,
.hai-commerce-checkout-page .woocommerce-shipping-fields,
.hai-commerce-checkout-page .woocommerce-additional-fields {
  padding: 30px;
  border: 1px solid var(--hai-line);
  border-radius: var(--hai-radius-lg);
  background: #fff;
}
.hai-commerce-checkout-page .woocommerce-shipping-fields,
.hai-commerce-checkout-page .woocommerce-additional-fields { margin-top: 24px; }
.hai-commerce-checkout-page .woocommerce-billing-fields > h3,
.hai-commerce-checkout-page .woocommerce-shipping-fields > h3,
.hai-commerce-checkout-page .woocommerce-additional-fields > h3,
.hai-commerce-checkout-page #order_review_heading {
  margin: 0 0 24px;
  color: var(--hai-black);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -.02em;
}

.hai-commerce-checkout-page .form-row { margin: 0 0 18px !important; padding: 0 !important; }
.hai-commerce-checkout-page .form-row label {
  margin: 0 0 8px;
  color: var(--hai-charcoal);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 500;
}
.hai-commerce-checkout-page .form-row label .required { color: var(--hai-orange); }
.hai-commerce-checkout-page input.input-text,
.hai-commerce-checkout-page textarea,
.hai-commerce-checkout-page select,
.hai-commerce-checkout-page .select2-container .select2-selection--single {
  min-height: 54px;
  border: 1px solid var(--hai-line) !important;
  border-radius: var(--hai-radius-md) !important;
  background: #fff !important;
  color: var(--hai-black) !important;
  font-family: 'Sora', sans-serif !important;
  font-size: 14px !important;
  box-shadow: none !important;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.hai-commerce-checkout-page input.input-text,
.hai-commerce-checkout-page textarea { padding: 13px 15px !important; }
.hai-commerce-checkout-page textarea { min-height: 120px; resize: vertical; }
.hai-commerce-checkout-page .select2-container .select2-selection--single .select2-selection__rendered { line-height: 52px !important; padding-left: 15px !important; }
.hai-commerce-checkout-page .select2-container .select2-selection--single .select2-selection__arrow { height: 52px !important; right: 8px !important; }
.hai-commerce-checkout-page input.input-text:focus,
.hai-commerce-checkout-page textarea:focus,
.hai-commerce-checkout-page select:focus,
.hai-commerce-checkout-page .select2-container--focus .select2-selection--single {
  border-color: var(--hai-orange) !important;
  box-shadow: 0 0 0 3px rgba(255,79,53,.12) !important;
  outline: 0 !important;
}
.hai-commerce-checkout-page .woocommerce-invalid input.input-text,
.hai-commerce-checkout-page .woocommerce-invalid .select2-selection { border-color: #c63b2b !important; }

.hai-commerce-checkout-page #order_review_heading { padding: 0 4px; }
.hai-commerce-checkout-page #order_review {
  padding: 28px;
  border: 1px solid var(--hai-line);
  border-radius: var(--hai-radius-lg);
  background: var(--hai-softest);
}
.hai-commerce-checkout-page table.woocommerce-checkout-review-order-table {
  border: 0 !important;
  border-radius: 0 !important;
  margin: 0 !important;
  background: transparent !important;
}
.hai-commerce-checkout-page table.woocommerce-checkout-review-order-table th,
.hai-commerce-checkout-page table.woocommerce-checkout-review-order-table td {
  border-top: 0 !important;
  border-bottom: 1px solid var(--hai-line) !important;
  padding: 14px 0 !important;
  background: transparent !important;
  font-size: 13px;
}
.hai-commerce-checkout-page table.woocommerce-checkout-review-order-table thead th {
  color: var(--hai-muted);
  font-weight: 500;
}
.hai-commerce-checkout-page table.woocommerce-checkout-review-order-table td.product-name { color: var(--hai-black); padding-right: 12px !important; }
.hai-commerce-checkout-qty { color: var(--hai-muted); font-size: 12px; white-space: nowrap; }
.hai-commerce-checkout-page table.woocommerce-checkout-review-order-table tfoot th { color: var(--hai-muted); font-weight: 400; }
.hai-commerce-checkout-page table.woocommerce-checkout-review-order-table tfoot td { text-align: right; color: var(--hai-black); font-weight: 500; }
.hai-commerce-checkout-page table.woocommerce-checkout-review-order-table .order-total th,
.hai-commerce-checkout-page table.woocommerce-checkout-review-order-table .order-total td {
  padding-top: 20px !important;
  color: var(--hai-black);
  font-size: 17px;
}

/* Shipping rate cards, including iCarry rates exposed through WooCommerce */
.hai-commerce-checkout-page ul#shipping_method,
.hai-commerce-cart-page ul#shipping_method { margin: 8px 0 0 !important; }
.hai-commerce-checkout-page ul#shipping_method li,
.hai-commerce-cart-page ul#shipping_method li {
  position: relative;
  margin: 10px 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
.hai-commerce-checkout-page ul#shipping_method li label,
.hai-commerce-cart-page ul#shipping_method li label {
  display: block;
  margin: 0 !important;
  padding: 14px 14px 14px 42px;
  border: 1px solid var(--hai-line);
  border-radius: 14px;
  background: #fff;
  color: var(--hai-charcoal);
  font-size: 13px;
  line-height: 1.45;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease;
}
.hai-commerce-checkout-page ul#shipping_method li input,
.hai-commerce-cart-page ul#shipping_method li input {
  position: absolute;
  left: 15px;
  top: 17px;
  accent-color: var(--hai-orange);
}
.hai-commerce-checkout-page ul#shipping_method li input:checked + label,
.hai-commerce-cart-page ul#shipping_method li input:checked + label {
  border-color: var(--hai-orange);
  background: #fff8f6;
}

/* Payments */
.hai-commerce-checkout-page #payment {
  margin-top: 24px;
  border-radius: 18px !important;
  background: #fff !important;
}
.hai-commerce-checkout-page #payment ul.payment_methods { border-bottom: 1px solid var(--hai-line) !important; padding: 0 0 18px !important; }
.hai-commerce-checkout-page #payment ul.payment_methods li {
  position: relative;
  margin: 10px 0 !important;
  padding: 0 !important;
}
.hai-commerce-checkout-page #payment ul.payment_methods li > input { position: absolute; left: 16px; top: 18px; accent-color: var(--hai-orange); }
.hai-commerce-checkout-page #payment ul.payment_methods li > label {
  display: block;
  min-height: 54px;
  padding: 17px 16px 17px 44px;
  border: 1px solid var(--hai-line);
  border-radius: 14px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
}
.hai-commerce-checkout-page #payment ul.payment_methods li > input:checked + label { border-color: var(--hai-orange); background: #fff8f6; }
.hai-commerce-checkout-page #payment div.payment_box {
  margin: 8px 0 10px !important;
  border-radius: 12px;
  background: var(--hai-soft) !important;
  color: var(--hai-muted) !important;
  font-size: 12px;
}
.hai-commerce-checkout-page #payment div.payment_box::before { border-bottom-color: var(--hai-soft) !important; }
.hai-commerce-checkout-page #payment .place-order { padding: 20px 0 0 !important; }

/* PW WooCommerce Gift Cards: match the HAI checkout system */
.hai-commerce-checkout-page #pwgc-redeem-gift-card-form {
  width: 100%;
  margin: 22px 0 20px;
  padding: 20px;
  border: 1px solid var(--hai-line);
  border-radius: 14px;
  background: var(--hai-softest);
}
.hai-commerce-checkout-page #pwgc-redeem-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  margin: 0;
}
.hai-commerce-checkout-page #pwgc-redeem-form label {
  grid-column: 1 / -1;
  display: block;
  margin: 0;
  color: var(--hai-black);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .01em;
}
.hai-commerce-checkout-page #pwgc-redeem-error {
  grid-column: 1 / -1;
  margin: -4px 0 0;
  font-size: 11px;
  line-height: 1.45;
}
.hai-commerce-checkout-page #pwgc-redeem-error:empty { display: none; }
.hai-commerce-checkout-page #pwgc-redeem-gift-card-number {
  width: 100% !important;
  min-width: 0;
  height: 52px !important;
  margin: 0 !important;
  padding: 0 15px !important;
  border: 1px solid var(--hai-line) !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: var(--hai-black) !important;
  font-family: inherit !important;
  font-size: 13px !important;
  line-height: 52px !important;
  box-shadow: none !important;
}
.hai-commerce-checkout-page #pwgc-redeem-gift-card-number::placeholder {
  color: var(--hai-muted);
  opacity: .8;
}
.hai-commerce-checkout-page #pwgc-redeem-gift-card-number:focus {
  border-color: var(--hai-orange) !important;
  outline: 3px solid rgba(255,79,53,.12) !important;
  outline-offset: 0;
}
.hai-commerce-checkout-page #pwgc-redeem-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  min-width: 138px;
  height: 52px !important;
  margin: 0 !important;
  padding: 0 20px !important;
  border: 1px solid var(--hai-black) !important;
  border-radius: 10px !important;
  background: transparent !important;
  color: var(--hai-black) !important;
  font-family: inherit !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: none !important;
  transition: color .18s ease, background .18s ease, border-color .18s ease;
}
.hai-commerce-checkout-page #pwgc-redeem-button:hover {
  border-color: var(--hai-orange) !important;
  background: var(--hai-orange) !important;
  color: #fff !important;
}

/* Checkout updating state */
body.hai-commerce-checkout-page.woocommerce-checkout-processing #order_review,
body.hai-commerce-checkout-page.hai-is-updating-checkout #order_review { opacity: .62; }
body.hai-commerce-cart-page.hai-is-updating-cart .woocommerce-cart-form { opacity: .6; }
.hai-commerce-checkout-page #order_review,
.hai-commerce-cart-page .woocommerce-cart-form { transition: opacity .18s ease; }

/* Confirmation */
.hai-commerce-confirmation-page .woocommerce-order { max-width: 980px; margin: 0 auto 70px; }
.hai-commerce-confirmation-page .woocommerce-thankyou-order-received {
  padding: 24px;
  border: 1px solid var(--hai-line);
  border-radius: 18px;
  background: var(--hai-softest);
  color: var(--hai-charcoal);
}
.hai-commerce-confirmation-page ul.woocommerce-order-overview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 28px 0 !important;
  padding: 0 !important;
}
.hai-commerce-confirmation-page ul.woocommerce-order-overview li {
  margin: 0 !important;
  padding: 18px !important;
  border: 1px solid var(--hai-line) !important;
  border-radius: 14px;
  background: #fff;
}

/* Global focus */
.hai-commerce-cart-page a:focus-visible,
.hai-commerce-cart-page button:focus-visible,
.hai-commerce-checkout-page a:focus-visible,
.hai-commerce-checkout-page button:focus-visible,
.hai-commerce-confirmation-page a:focus-visible {
  outline: 3px solid rgba(255,79,53,.28) !important;
  outline-offset: 3px;
}

@media (max-width: 1024px) {
  body.hai-commerce-cart-page .woocommerce,
  body.hai-commerce-checkout-page .woocommerce,
  body.hai-commerce-confirmation-page .woocommerce { width: min(100% - 34px, 960px); }
  .hai-commerce-checkout-page form.checkout { grid-template-columns: 1fr; gap: 30px; }
  .hai-commerce-checkout-page #customer_details,
  .hai-commerce-checkout-page #order_review_heading,
  .hai-commerce-checkout-page #order_review { grid-column: 1; }
  .hai-commerce-checkout-page #order_review { position: static; }
  .hai-commerce-checkout-page #order_review_heading { margin-top: 8px; }
}

@media (max-width: 820px) {
  .hai-commerce-cart-page .woocommerce-cart-form,
  .hai-commerce-cart-page .cart-collaterals { width: 100%; float: none; }
  .hai-commerce-cart-page .cart-collaterals { margin-top: 32px; }
  .hai-commerce-cart-page .cart_totals { position: static; }
  .hai-cart-note { width: 100%; float: none; margin-bottom: 34px; }
}

@media (max-width: 767px) {
  body.hai-commerce-cart-page .woocommerce,
  body.hai-commerce-checkout-page .woocommerce,
  body.hai-commerce-confirmation-page .woocommerce { width: min(100% - 28px, 720px); }
  .hai-commerce-intro { padding: 24px 0 32px; }
  .hai-commerce-progress { gap: 10px; margin-bottom: 44px; }
  .hai-commerce-progress a,
  .hai-commerce-progress__step > span { gap: 5px; padding-bottom: 13px; font-size: 9px; letter-spacing: .04em; }
  .hai-commerce-progress__number { font-size: 10px; }
  .hai-commerce-intro h1 { font-size: clamp(40px, 13vw, 58px); }
  .hai-commerce-intro__copy > p:last-child { margin-top: 16px; font-size: 15px; }
  .hai-cart-toolbar { align-items: flex-start; flex-direction: column; gap: 8px; }
  .hai-cart-toolbar p { display: none; }
  .hai-commerce-cart-page table.shop_table thead { display: none; }

  .hai-commerce-cart-page table.shop_table,
  .hai-commerce-cart-page table.shop_table tbody,
  .hai-commerce-cart-page table.shop_table tr,
  .hai-commerce-cart-page table.shop_table td { display: block; width: 100% !important; }
  .hai-commerce-cart-page table.shop_table tr.cart_item {
    position: relative;
    display: grid;
    grid-template-columns: 104px 1fr;
    gap: 0 16px;
    padding: 24px 0;
    border-bottom: 1px solid var(--hai-line);
  }
  .hai-commerce-cart-page table.shop_table tr.cart_item td {
    border: 0 !important;
    padding: 5px 0 !important;
    text-align: left !important;
  }
  .hai-commerce-cart-page tr.cart_item td.product-thumbnail { grid-column: 1; grid-row: 1 / span 5; }
  .hai-commerce-cart-page td.product-thumbnail::before { display: none !important; }
  .hai-commerce-cart-page td.product-thumbnail img { width: 104px !important; height: 112px !important; border-radius: 15px; }
  .hai-commerce-cart-page tr.cart_item td.product-name,
  .hai-commerce-cart-page tr.cart_item td.product-price,
  .hai-commerce-cart-page tr.cart_item td.product-quantity,
  .hai-commerce-cart-page tr.cart_item td.product-subtotal { grid-column: 2; }
  .hai-commerce-cart-page tr.cart_item td.product-remove {
    position: absolute;
    top: 20px;
    right: 0;
    width: auto !important;
  }
  .hai-commerce-cart-page tr.cart_item td::before { display: none !important; }
  .hai-commerce-cart-page td.product-subtotal { padding-top: 10px !important; font-size: 15px; }
  .hai-commerce-cart-page td.actions { display: block !important; padding-top: 26px !important; }
  .hai-commerce-cart-page .coupon { flex-direction: column; }
  .hai-commerce-cart-page .coupon .input-text,
  .hai-commerce-cart-page .coupon .button { width: 100% !important; }
  .hai-commerce-cart-page button[name="update_cart"] { width: 100%; margin: 12px 0 0; }
  .hai-commerce-cart-page .cart_totals { padding: 24px 20px; }
  .hai-cart-note { grid-template-columns: 1fr; gap: 18px; padding: 22px 18px; border-radius: 18px; }
  .hai-cart-note__status { grid-column: 1; margin-top: -12px; }

  .hai-commerce-checkout-page .woocommerce-billing-fields,
  .hai-commerce-checkout-page .woocommerce-shipping-fields,
  .hai-commerce-checkout-page .woocommerce-additional-fields,
  .hai-commerce-checkout-page #order_review { padding: 22px 18px; border-radius: 18px; }
  .hai-commerce-checkout-page .form-row-first,
  .hai-commerce-checkout-page .form-row-last { width: 100% !important; float: none !important; }
  .hai-commerce-checkout-page #pwgc-redeem-gift-card-form { margin: 20px 0 18px; padding: 18px; }
  .hai-commerce-checkout-page #pwgc-redeem-form { grid-template-columns: 1fr; gap: 10px; }
  .hai-commerce-checkout-page #pwgc-redeem-form label,
  .hai-commerce-checkout-page #pwgc-redeem-error { grid-column: 1; }
  .hai-commerce-checkout-page #pwgc-redeem-button { width: 100% !important; min-width: 0; }
  .hai-commerce-confirmation-page ul.woocommerce-order-overview { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .hai-commerce-progress__label { font-size: 8px; }
  .hai-commerce-confirmation-page ul.woocommerce-order-overview { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: no-preference) {
  .hai-commerce-intro__copy,
  .hai-commerce-progress,
  .hai-commerce-cart-page .woocommerce-cart-form,
  .hai-commerce-cart-page .cart-collaterals,
  .hai-commerce-checkout-page #customer_details,
  .hai-commerce-checkout-page #order_review_heading,
  .hai-commerce-checkout-page #order_review {
    animation: haiFadeUp .48s ease both;
  }
  .hai-commerce-cart-page .cart-collaterals,
  .hai-commerce-checkout-page #order_review_heading,
  .hai-commerce-checkout-page #order_review { animation-delay: .07s; }
  @keyframes haiFadeUp {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

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

/* Dedicated delivery region. The native WooCommerce/iCarry shipping controls are moved here, never cloned. */
.hai-commerce-checkout-page .hai-commerce-delivery {
  grid-column: 1;
  margin-top: 28px;
  padding: 30px;
  border: 1px solid var(--hai-line);
  border-radius: var(--hai-radius-lg);
  background: var(--hai-softest);
}
.hai-commerce-checkout-page .hai-commerce-section-kicker {
  margin-bottom: 10px;
  color: var(--hai-orange);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
}
.hai-commerce-checkout-page .hai-commerce-delivery__heading h3 {
  margin: 0;
  color: var(--hai-black);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -.02em;
}
.hai-commerce-checkout-page .hai-commerce-delivery__heading p {
  margin: 8px 0 20px;
  color: var(--hai-muted);
  font-size: 13px;
  line-height: 1.6;
}
.hai-commerce-checkout-page .hai-commerce-delivery__rates:empty::before {
  content: 'Enter your delivery address to see the available delivery options.';
  display: block;
  padding: 18px;
  border: 1px dashed var(--hai-line);
  border-radius: 14px;
  background: #fff;
  color: var(--hai-muted);
  font-size: 13px;
  line-height: 1.55;
}
.hai-commerce-checkout-page .hai-commerce-delivery__package + .hai-commerce-delivery__package { margin-top: 12px; }
.hai-commerce-checkout-page .hai-commerce-delivery__rates .woocommerce-shipping-destination,
.hai-commerce-checkout-page .hai-commerce-delivery__rates .woocommerce-shipping-calculator,
.hai-commerce-checkout-page .hai-commerce-delivery__rates p {
  color: var(--hai-muted);
  font-size: 12px;
  line-height: 1.55;
}
.hai-commerce-checkout-page tr.hai-commerce-shipping-source { display: none !important; }

@media (max-width: 1024px) {
  .hai-commerce-checkout-page .hai-commerce-delivery { grid-column: 1; }
}
@media (max-width: 767px) {
  .hai-commerce-checkout-page .hai-commerce-delivery { padding: 22px 18px; border-radius: 18px; }
}
