/* Commerce layer: scoped to the shop, cart and checkout experience. */

.header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.site-header .site-nav {
  margin-left: auto;
}

.header-cart {
  position: relative;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  padding: 0;
  border: 1px solid rgba(21, 25, 29, 0.14);
  border-radius: 6px;
  color: #171e22;
  background: #ffffff;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.header-cart:hover,
.header-cart[aria-expanded="true"] {
  color: #ffffff;
  border-color: #171e22;
  background: #171e22;
}

.header-cart svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  padding: 0 5px;
  border: 2px solid #ffffff;
  border-radius: 999px;
  color: #ffffff;
  background: #7f858b;
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1;
}

.cart-count.has-items {
  background: #d56d12;
}

.cart-count.is-updated {
  animation: commerce-cart-bump 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes commerce-cart-bump {
  0%,
  100% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.24);
  }
}

.catalog-shop-callout {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px solid rgba(21, 25, 29, 0.13);
  border-left: 4px solid #d56d12;
  border-radius: 7px;
  background: #ffffff;
}

.catalog-shop-callout > div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.catalog-shop-callout strong {
  color: #171e22;
  font-size: 0.96rem;
}

.catalog-shop-callout span {
  color: #626b72;
  font-size: 0.78rem;
  line-height: 1.45;
}

.shop-band {
  background: #f4f5f2;
}

.shop-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.62fr);
  align-items: end;
  gap: 36px;
  margin-bottom: 24px;
}

.shop-intro h2 {
  margin: 7px 0 0;
  max-width: 680px;
  color: #171e22;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.06;
  letter-spacing: 0;
}

.shop-intro > p {
  margin: 0;
  color: #626b72;
  font-size: 0.82rem;
  line-height: 1.55;
}

.shop-toolbar {
  position: sticky;
  top: calc(var(--header-h) - 1px);
  z-index: 28;
  display: grid;
  grid-template-columns: minmax(220px, 0.62fr) minmax(0, 1.38fr) auto;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  padding: 10px;
  border: 1px solid rgba(21, 25, 29, 0.13);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 32px rgba(21, 25, 29, 0.08);
  backdrop-filter: blur(14px);
}

.shop-search {
  min-width: 0;
  height: 42px;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  border: 1px solid rgba(21, 25, 29, 0.15);
  border-radius: 5px;
  background: #f7f8f6;
}

.shop-search:focus-within {
  border-color: #267a7f;
  box-shadow: 0 0 0 3px rgba(38, 122, 127, 0.12);
}

.shop-search svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #626b72;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.shop-search input {
  min-width: 0;
  height: 40px;
  padding: 0;
  border: 0;
  outline: 0;
  color: #171e22;
  background: transparent;
  font: inherit;
  font-size: 0.78rem;
}

.shop-filters {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  overflow-x: auto;
  scrollbar-width: none;
}

.shop-filters::-webkit-scrollbar {
  display: none;
}

.shop-filters button {
  min-height: 38px;
  flex: 0 0 auto;
  padding: 0 11px;
  border: 1px solid transparent;
  border-radius: 5px;
  color: #596168;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 0.69rem;
  font-weight: 780;
  white-space: nowrap;
}

.shop-filters button:hover {
  color: #171e22;
  background: #f1f2ef;
}

.shop-filters button.is-active {
  color: #ffffff;
  border-color: #171e22;
  background: #171e22;
}

.shop-result-count {
  margin: 0;
  color: #687078;
  font-size: 0.67rem;
  font-weight: 760;
  white-space: nowrap;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 14px;
}

.shop-product {
  min-width: 0;
  display: grid;
  grid-template-rows: 168px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(21, 25, 29, 0.13);
  border-radius: 7px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(21, 25, 29, 0.04);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.shop-product:hover {
  border-color: rgba(213, 109, 18, 0.45);
  box-shadow: 0 14px 32px rgba(21, 25, 29, 0.08);
  transform: translateY(-2px);
}

.shop-product-media {
  position: relative;
  display: block;
  overflow: hidden;
  border-bottom: 1px solid rgba(21, 25, 29, 0.09);
  background: #f5f6f4;
}

.shop-media-photo {
  position: relative;
  height: 100%;
  min-width: 0;
  overflow: hidden;
}

.shop-media-photo::after {
  position: absolute;
  inset: auto auto 0 0;
  width: 64px;
  height: 3px;
  content: "";
  background: var(--variant-color);
  transition: background-color 180ms ease;
}

.shop-media-photo img {
  width: 100%;
  height: 100%;
  padding: 14px 18px 16px;
  object-fit: contain;
  transform: scale(1);
  transition: opacity 200ms ease, transform 240ms ease, filter 220ms ease;
}

.shop-product:hover .shop-media-photo img {
  filter: saturate(1.04) contrast(1.02);
  transform: scale(1.02);
}

.shop-family-chip {
  position: absolute;
  left: 9px;
  bottom: 9px;
  max-width: calc(100% - 18px);
  padding: 4px 7px;
  border-radius: 4px;
  color: #ffffff;
  background: rgba(23, 30, 34, 0.88);
  font-size: 0.58rem;
  font-weight: 820;
  line-height: 1.25;
}

.shop-product-media.is-changing .shop-media-photo img {
  animation: commerce-media-swap 420ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.shop-price.is-changing strong {
  animation: commerce-price-swap 420ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes commerce-media-swap {
  0% {
    opacity: 0.18;
    transform: scale(0.985);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes commerce-price-swap {
  0% {
    color: var(--variant-color, #267a7f);
    transform: translateY(3px);
  }
  100% {
    color: #171e22;
    transform: translateY(0);
  }
}

.shop-product-copy {
  min-width: 0;
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 13px;
  padding: 15px;
}

.shop-product-heading {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
}

.shop-product-heading h3 {
  min-height: 2.35em;
  margin: 0;
  color: #171e22;
  font-size: 0.93rem;
  line-height: 1.18;
  letter-spacing: 0;
}

.shop-product-heading p {
  min-height: 2.8em;
  margin: 6px 0 0;
  color: #677078;
  font-size: 0.68rem;
  line-height: 1.4;
}

.variant-count {
  padding: 4px 6px;
  border: 1px solid rgba(21, 25, 29, 0.11);
  border-radius: 4px;
  color: #666f76;
  background: #f6f7f5;
  font-size: 0.57rem;
  font-weight: 820;
  white-space: nowrap;
}

.shop-variant-field {
  min-width: 0;
  display: grid;
  gap: 5px;
  color: #3f474d;
  font-size: 0.64rem;
  font-weight: 820;
}

.shop-variant-field select {
  width: 100%;
  min-width: 0;
  height: 42px;
  padding: 0 34px 0 12px;
  border: 1px solid rgba(21, 25, 29, 0.16);
  border-left: 3px solid var(--variant-color);
  border-radius: 5px;
  color: #22282c;
  background-color: #ffffff;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 650;
  text-overflow: ellipsis;
}

.shop-variant-field select:focus {
  outline: 0;
  border-color: var(--variant-color);
  box-shadow: 0 0 0 3px rgba(21, 25, 29, 0.08);
}

.shop-buy-row {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(21, 25, 29, 0.09);
}

.shop-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.shop-price {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.shop-price small {
  color: #6d757b;
  font-size: 0.58rem;
  font-weight: 760;
}

.shop-price strong {
  overflow-wrap: anywhere;
  color: #171e22;
  font-size: 0.98rem;
  line-height: 1.15;
}

.shop-add,
.shop-buy-now,
.shop-request-price {
  min-height: 40px !important;
  min-width: 96px;
  padding: 0 13px !important;
  border-radius: 5px !important;
  font-size: 0.68rem !important;
  white-space: nowrap;
}

.shop-add[hidden],
.shop-buy-now[hidden],
.shop-request-price[hidden],
[data-payment-submit][hidden],
[data-shop-card][hidden],
[data-shop-empty][hidden] {
  display: none !important;
}

.shop-actions.is-payment-ready .shop-add {
  color: #171e22 !important;
  border-color: rgba(21, 25, 29, 0.18) !important;
  background: #ffffff !important;
}

.shop-actions.is-payment-ready .shop-add:hover {
  border-color: rgba(21, 25, 29, 0.34) !important;
  background: #eef0ed !important;
}

.shop-add.is-added {
  color: #ffffff !important;
  background: #267a7f !important;
}

.shop-empty {
  padding: 48px 24px;
  border: 1px dashed rgba(21, 25, 29, 0.2);
  border-radius: 7px;
  text-align: center;
  background: #ffffff;
}

.shop-empty h3 {
  margin: 0;
  color: #171e22;
  font-size: 1.15rem;
}

.shop-empty p {
  margin: 8px 0 18px;
  color: #697178;
  font-size: 0.78rem;
}

.shop-commercial-note {
  margin: 18px 0 0;
  padding-left: 11px;
  border-left: 3px solid #267a7f;
  color: #687078;
  font-size: 0.68rem;
  line-height: 1.5;
}

.product-shop-band {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(250px, 0.55fr);
  align-items: center;
  gap: clamp(28px, 6vw, 76px);
  padding: 38px max(22px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid rgba(21, 25, 29, 0.09);
  border-bottom: 1px solid rgba(21, 25, 29, 0.09);
  background: #eef0ed;
}

.product-shop-copy h2 {
  margin: 7px 0 0;
  max-width: 680px;
  color: #171e22;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.07;
  letter-spacing: 0;
}

.product-shop-copy > p:not(.eyebrow) {
  margin: 12px 0 0;
  color: #626b72;
  font-size: 0.8rem;
}

.product-shop-action {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 4px 10px;
  padding-left: 20px;
  border-left: 1px solid rgba(21, 25, 29, 0.14);
}

.product-shop-action > span {
  color: #6a7278;
  font-size: 0.65rem;
  font-weight: 760;
}

.product-shop-action > strong {
  color: #171e22;
  font-size: 1.25rem;
}

.product-shop-action .button {
  grid-column: 1 / -1;
  margin-top: 9px;
}

.commerce-shell {
  position: relative;
  z-index: 450;
}

.cart-scrim {
  position: fixed;
  inset: 0;
  z-index: 451;
  border: 0;
  background: rgba(12, 16, 18, 0.55);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 452;
  width: min(440px, 100vw);
  height: 100dvh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  color: #171e22;
  background: #ffffff;
  box-shadow: -24px 0 70px rgba(12, 16, 18, 0.22);
  transform: translateX(102%);
  visibility: hidden;
  transition: transform 220ms ease, visibility 220ms ease;
}

.cart-open {
  overflow: hidden;
}

.cart-open .cart-scrim {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.cart-open .cart-drawer {
  transform: translateX(0);
  visibility: visible;
}

.cart-drawer-head {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(21, 25, 29, 0.11);
  background: #f6f7f5;
}

.cart-drawer-head .eyebrow {
  margin-bottom: 4px;
  font-size: 0.61rem;
}

.cart-drawer-head h2 {
  margin: 0;
  font-size: 1.15rem;
  letter-spacing: 0;
}

.cart-close {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  border: 1px solid rgba(21, 25, 29, 0.14);
  border-radius: 5px;
  color: #171e22;
  background: #ffffff;
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
}

.cart-drawer-body {
  min-height: 0;
  overflow-y: auto;
  padding: 14px 16px 22px;
}

.cart-lines {
  display: grid;
}

.cart-line {
  min-width: 0;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: start;
  gap: 11px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(21, 25, 29, 0.1);
}

.cart-line > img {
  width: 64px;
  height: 64px;
  padding: 6px;
  border: 1px solid rgba(21, 25, 29, 0.1);
  border-radius: 5px;
  object-fit: contain;
  background: #f1f2ef;
}

.cart-line-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.cart-line-copy strong {
  color: #171e22;
  font-size: 0.74rem;
  line-height: 1.3;
}

.cart-line-copy span {
  color: #697178;
  font-size: 0.59rem;
  line-height: 1.35;
}

.cart-line-copy b {
  color: #171e22;
  font-size: 0.72rem;
}

.cart-line-controls {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.quantity-stepper {
  height: 30px;
  display: grid;
  grid-template-columns: 28px 30px 28px;
  border: 1px solid rgba(21, 25, 29, 0.15);
  border-radius: 5px;
  overflow: hidden;
}

.quantity-stepper button,
.quantity-stepper span {
  display: grid;
  place-items: center;
  border: 0;
  color: #171e22;
  background: #ffffff;
  font-size: 0.72rem;
}

.quantity-stepper button {
  cursor: pointer;
}

.quantity-stepper button:hover {
  background: #eef0ed;
}

.quantity-stepper span {
  border-inline: 1px solid rgba(21, 25, 29, 0.12);
  font-weight: 800;
}

.cart-remove {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 0;
  color: #747b81;
  background: transparent;
  cursor: pointer;
  font-size: 1rem;
}

.cart-remove:hover {
  color: #a6402e;
}

.cart-totals {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 2px solid #171e22;
}

.cart-totals span {
  color: #5f676e;
  font-size: 0.75rem;
  font-weight: 760;
}

.cart-totals strong {
  color: #171e22;
  font-size: 1.18rem;
}

.cart-note {
  margin: 8px 0 15px;
  color: #6a7278;
  font-size: 0.64rem;
  line-height: 1.45;
}

.cart-checkout {
  width: 100%;
  min-height: 46px !important;
  border-radius: 5px !important;
}

.cart-continue {
  display: block;
  margin-top: 12px;
  color: #4f585f;
  font-size: 0.71rem;
  font-weight: 800;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cart-empty-state {
  min-height: 58vh;
  display: grid;
  place-items: center;
  align-content: center;
  padding: 36px 20px;
  text-align: center;
}

.cart-empty-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(21, 25, 29, 0.12);
  border-radius: 7px;
  color: #d56d12;
  background: #f4f5f2;
}

.cart-empty-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.cart-empty-state h3 {
  margin: 15px 0 0;
  color: #171e22;
  font-size: 1.05rem;
}

.cart-empty-state p {
  max-width: 260px;
  margin: 7px 0 17px;
  color: #687078;
  font-size: 0.74rem;
  line-height: 1.45;
}

.checkout-hero {
  min-height: 300px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 42px;
  padding: calc(var(--header-h) + 48px) max(22px, calc((100vw - var(--max)) / 2)) 42px;
  color: #ffffff;
  border-bottom: 4px solid #d56d12;
  background: #171e22;
}

.checkout-hero h1 {
  max-width: 760px;
  margin: 7px 0 0;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.checkout-hero > div > p:not(.eyebrow) {
  max-width: 680px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.73);
  font-size: 0.86rem;
  line-height: 1.55;
}

.checkout-steps {
  display: flex;
  align-items: center;
  gap: 0;
  padding-bottom: 4px;
}

.checkout-steps span {
  min-width: 84px;
  padding: 10px 12px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.67rem;
  font-weight: 820;
  text-align: center;
}

.checkout-steps span.is-complete {
  color: #9cc7c8;
  border-bottom-color: #267a7f;
}

.checkout-steps span.is-active {
  color: #ffffff;
  border-bottom-color: #f08b2d;
}

.checkout-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.42fr);
  align-items: start;
  gap: 20px;
  background: #f4f5f2;
}

.checkout-form-panel,
.checkout-summary {
  border: 1px solid rgba(21, 25, 29, 0.13);
  border-radius: 7px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(21, 25, 29, 0.06);
}

.checkout-form-panel {
  padding: clamp(20px, 3vw, 34px);
}

.checkout-form-head {
  margin-bottom: 22px;
}

.checkout-form-head h2 {
  margin: 7px 0 0;
  color: #171e22;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  line-height: 1.06;
  letter-spacing: 0;
}

.checkout-form-head > p:not(.eyebrow) {
  margin: 10px 0 0;
  color: #667077;
  font-size: 0.76rem;
  line-height: 1.5;
}

.checkout-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.checkout-form-panel label {
  min-width: 0;
  display: grid;
  gap: 6px;
  margin-top: 13px;
  color: #3c444a;
  font-size: 0.68rem;
  font-weight: 820;
}

.checkout-fields label {
  margin-top: 0;
}

.checkout-form-panel input,
.checkout-form-panel textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(21, 25, 29, 0.17);
  border-radius: 5px;
  color: #171e22;
  background: #fbfcfa;
  font: inherit;
  font-size: 0.77rem;
  font-weight: 600;
}

.checkout-form-panel input {
  height: 44px;
  padding: 0 11px;
}

.checkout-form-panel textarea {
  min-height: 88px;
  padding: 11px;
  resize: vertical;
  line-height: 1.45;
}

.checkout-form-panel input:focus,
.checkout-form-panel textarea:focus {
  outline: 0;
  border-color: #267a7f;
  box-shadow: 0 0 0 3px rgba(38, 122, 127, 0.12);
  background: #ffffff;
}

.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.checkout-submit-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}

.checkout-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.checkout-submit-row .button {
  min-height: 46px !important;
  border-radius: 5px !important;
  white-space: nowrap;
}

.checkout-submit-row p {
  margin: 0;
  color: #697178;
  font-size: 0.62rem;
  line-height: 1.4;
}

.checkout-summary {
  position: sticky;
  top: calc(var(--header-h) + 18px);
  padding: 20px;
}

.checkout-summary-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(21, 25, 29, 0.11);
}

.checkout-summary-head .eyebrow {
  margin-bottom: 4px;
}

.checkout-summary-head h2 {
  margin: 0;
  color: #171e22;
  font-size: 1.15rem;
  letter-spacing: 0;
}

.checkout-summary-head button,
.checkout-summary-head a {
  padding: 4px 0;
  border: 0;
  color: #a7510d;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.checkout-summary ul {
  max-height: 390px;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  list-style: none;
}

.checkout-line {
  min-width: 0;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: start;
  gap: 9px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(21, 25, 29, 0.09);
}

.checkout-line img {
  width: 48px;
  height: 48px;
  padding: 4px;
  border: 1px solid rgba(21, 25, 29, 0.1);
  border-radius: 4px;
  object-fit: contain;
  background: #f1f2ef;
}

.checkout-line > div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.checkout-line strong {
  color: #171e22;
  font-size: 0.66rem;
  line-height: 1.3;
}

.checkout-line span,
.checkout-line small {
  color: #6a7278;
  font-size: 0.55rem;
  line-height: 1.35;
}

.checkout-line > b {
  color: #171e22;
  font-size: 0.64rem;
  white-space: nowrap;
}

.checkout-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-top: 15px;
  padding-top: 14px;
  border-top: 2px solid #171e22;
}

.checkout-total span {
  color: #596168;
  font-size: 0.7rem;
  font-weight: 800;
}

.checkout-total strong {
  color: #171e22;
  font-size: 1.08rem;
}

.checkout-summary > p {
  margin: 8px 0 0;
  color: #6a7278;
  font-size: 0.6rem;
  line-height: 1.45;
}

.checkout-empty {
  background: #f4f5f2;
}

.checkout-empty-panel {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: center;
  gap: 34px;
  max-width: 820px;
  margin-inline: auto;
  padding: 24px;
  border: 1px solid rgba(21, 25, 29, 0.13);
  border-radius: 7px;
  background: #ffffff;
}

.checkout-empty-panel img {
  width: 220px;
  height: 180px;
  padding: 16px;
  object-fit: contain;
  background: #eef0ed;
}

.checkout-empty-panel h2 {
  margin: 7px 0 0;
  color: #171e22;
  font-size: 1.7rem;
  letter-spacing: 0;
}

.checkout-empty-panel p:not(.eyebrow) {
  margin: 9px 0 17px;
  color: #687078;
  font-size: 0.77rem;
  line-height: 1.5;
}

.checkout-success {
  min-height: 360px;
  display: grid;
  align-content: center;
  justify-items: start;
}

.checkout-success > span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 6px;
  color: #ffffff;
  background: #267a7f;
  font-size: 1.3rem;
  font-weight: 900;
}

.checkout-success h2 {
  margin: 6px 0 0;
  color: #171e22;
  font-size: 1.8rem;
  letter-spacing: 0;
}

.checkout-success > p:not(.eyebrow) {
  max-width: 620px;
  margin: 11px 0 0;
  color: #626b72;
  font-size: 0.8rem;
  line-height: 1.55;
}

.checkout-success small {
  display: block;
  margin-top: 10px;
  color: #687078;
  font-size: 0.66rem;
  overflow-wrap: anywhere;
}

@media (max-width: 1120px) {
  .shop-toolbar {
    grid-template-columns: minmax(220px, 0.65fr) minmax(0, 1.35fr);
  }

  .shop-result-count {
    grid-column: 1 / -1;
    padding-inline: 2px;
  }

  .shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .checkout-band {
    grid-template-columns: minmax(0, 1fr) minmax(290px, 0.48fr);
  }
}

@media (max-width: 860px) {
  .site-header .site-nav {
    margin-left: 0;
  }

  .header-tools {
    margin-left: auto;
  }

  .header-tools .menu-button {
    margin-left: 0 !important;
  }

  .shop-intro {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .shop-toolbar {
    position: static;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .shop-result-count {
    grid-column: auto;
  }

  .product-shop-band {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .product-shop-action {
    grid-template-columns: auto auto;
    justify-content: start;
    padding: 16px 0 0;
    border-top: 1px solid rgba(21, 25, 29, 0.13);
    border-left: 0;
  }

  .checkout-hero {
    min-height: 280px;
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 30px;
  }

  .checkout-steps {
    width: 100%;
  }

  .checkout-steps span {
    min-width: 0;
    flex: 1;
  }

  .checkout-band {
    grid-template-columns: 1fr;
  }

  .checkout-summary {
    position: static;
    grid-row: 1;
  }
}

@media (max-width: 640px) {
  .header-tools {
    gap: 6px;
  }

  .header-cart,
  .header-tools .menu-button {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    flex-basis: 40px;
  }

  .header-cart svg {
    width: 18px;
    height: 18px;
  }

  .cart-count {
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    font-size: 0.57rem;
  }

  .catalog-shop-callout {
    align-items: stretch;
    flex-direction: column;
    gap: 13px;
    margin-top: 18px;
    padding: 14px;
  }

  .catalog-shop-callout .button {
    width: 100%;
  }

  .shop-intro {
    margin-bottom: 16px;
  }

  .shop-intro h2 {
    font-size: 1.45rem;
  }

  .shop-toolbar {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 13px;
    padding: 8px;
  }

  .shop-filters {
    margin-inline: -2px;
    padding-bottom: 1px;
  }

  .shop-filters button {
    min-height: 34px;
    padding-inline: 9px;
    font-size: 0.63rem;
  }

  .shop-result-count {
    grid-column: auto;
  }

  .shop-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .shop-product {
    grid-template-rows: 132px minmax(0, 1fr);
  }

  .shop-product:hover {
    transform: none;
  }

  .shop-media-photo img {
    padding: 10px 14px 12px;
  }

  .shop-media-photo::after {
    inset: auto auto 0 0;
    width: 52px;
  }

  .shop-family-chip {
    left: 7px;
    bottom: 7px;
    max-width: calc(100% - 14px);
    padding: 3px 6px;
    font-size: 0.51rem;
  }

  .shop-product-copy {
    gap: 10px;
    padding: 12px;
  }

  .shop-product-heading h3 {
    min-height: 0;
    font-size: 0.85rem;
  }

  .shop-product-heading p {
    min-height: 0;
    margin-top: 4px;
    font-size: 0.64rem;
  }

  .variant-count {
    font-size: 0.53rem;
  }

  .shop-buy-row {
    gap: 8px;
    padding-top: 10px;
  }

  .shop-price strong {
    font-size: 0.88rem;
  }

  .shop-add,
  .shop-buy-now,
  .shop-request-price {
    min-width: 96px;
    padding-inline: 10px !important;
  }

  .product-shop-band {
    gap: 16px;
    padding: 24px 14px;
  }

  .product-shop-copy h2 {
    font-size: 1.38rem;
  }

  .product-shop-action {
    padding-top: 13px;
  }

  .product-shop-action .button {
    width: 100%;
  }

  .cart-drawer {
    width: min(390px, 100vw);
  }

  .cart-drawer-head {
    min-height: 66px;
    padding: 12px 14px;
  }

  .cart-drawer-body {
    padding: 10px 13px 18px;
  }

  .cart-line {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 9px;
    padding: 11px 0;
  }

  .cart-line > img {
    width: 54px;
    height: 54px;
  }

  .cart-line-controls {
    grid-column: 2;
    grid-template-columns: auto auto;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .quantity-stepper {
    height: 28px;
    grid-template-columns: 27px 30px 27px;
  }

  .checkout-hero {
    min-height: 248px;
    gap: 18px;
    padding: calc(var(--header-h) + 32px) 14px 24px;
  }

  .checkout-hero h1 {
    font-size: 1.8rem;
  }

  .checkout-hero > div > p:not(.eyebrow) {
    font-size: 0.72rem;
  }

  .checkout-steps span {
    padding: 8px 6px;
    font-size: 0.6rem;
  }

  .checkout-band {
    gap: 12px;
    padding-inline: 12px !important;
  }

  .checkout-form-panel,
  .checkout-summary {
    border-radius: 6px;
  }

  .checkout-summary {
    padding: 14px;
  }

  .checkout-summary ul {
    max-height: 270px;
  }

  .checkout-form-panel {
    padding: 16px;
  }

  .checkout-fields {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .checkout-submit-row {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
  }

  .checkout-submit-row .button {
    width: 100%;
    white-space: normal;
  }

  .checkout-actions {
    width: 100%;
    flex-direction: column;
  }

  .checkout-empty-panel {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 16px;
  }

  .checkout-empty-panel img {
    width: 100%;
    height: 120px;
  }
}

@media (max-width: 350px) {
  .header-tools {
    gap: 4px;
  }

  .header-cart,
  .header-tools .menu-button {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    flex-basis: 38px;
  }

  .shop-buy-row {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .shop-product {
    grid-template-rows: 124px minmax(0, 1fr);
  }

  .shop-add,
  .shop-buy-now,
  .shop-request-price {
    width: 100%;
  }

  .shop-actions {
    width: 100%;
  }

  .shop-actions .button {
    flex: 1 1 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shop-product,
  .shop-media-photo img,
  .cart-scrim,
  .cart-drawer {
    transition: none !important;
  }

  .shop-product-media.is-changing .shop-media-photo img,
  .shop-price.is-changing strong,
  .cart-count.is-updated {
    animation: none !important;
  }
}
