/* WooCommerce → mockup bridge for archive / cards */
.woocommerce-notices-wrapper:empty {
  display: none;
  margin: 0;
  padding: 0;
  border: 0;
}

.woocommerce-notices-wrapper:not(:empty),
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 14px;
}

.woocommerce-message {
  border-color: rgba(200, 50, 30, 0.35);
}

/* Add-to-cart is announced by #cart-live; do not show Woo's View cart banner. */
.woocommerce-message:has(a.wc-forward) {
  display: none;
}

.pc .pr .woocommerce-Price-amount,
.pc .pr .amount {
  font: inherit;
  color: inherit;
}

.pc .pr .n .woocommerce-Price-amount {
  font-family: var(--d);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.02em;
}

.pc .atb.button {
  text-decoration: none;
  box-sizing: border-box;
}

.pc .atb.loading {
  opacity: 0.7;
  pointer-events: none;
}

/* Confirmation modal replaces Woo's inline "View cart" link */
.pc a.added_to_cart,
.woocommerce a.added_to_cart.wc-forward {
  display: none !important;
}

.arch .pg .product,
.arch .pg .pc {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Woo adds .products sometimes — neutralize if present */
ul.products {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bc .woocommerce-breadcrumb,
.bc ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.home .pg {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 2.2vw, 32px);
}

.home .pg[hidden] {
  display: none !important;
}

@media (max-width: 1000px) {
  .home .pg {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .home .pg {
    gap: 12px;
  }
}

@media (max-width: 340px) {
  .home .pg {
    grid-template-columns: minmax(0, 1fr);
  }
}

.home .pg .pc,
.home .pg .product {
  margin: 0;
  width: auto;
  max-width: none;
  float: none;
}

/* PDP Woo form → mockup actions */
.buy-actions.cart {
  display: flex;
  gap: 12px;
  align-items: stretch;
  margin-bottom: 14px;
  flex-wrap: wrap;
  border: 0;
  padding: 0;
}

.buy-actions .btn-atc .woocommerce-Price-amount,
.buy-price .woocommerce-Price-amount {
  font: inherit;
  color: inherit;
}

.buy-price .now .woocommerce-Price-amount,
.buy-price .ws-now .woocommerce-Price-amount {
  font-family: var(--d);
  font-weight: 800;
  font-size: inherit;
}

.related .pg {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
}

@media (max-width: 1000px) {
  .related .pg {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .related .pg {
    gap: 12px;
  }
}

@media (max-width: 340px) {
  .related .pg {
    grid-template-columns: minmax(0, 1fr);
  }
}

.incl-item .ph:empty,
.incl-item .ph--empty {
  background: var(--wash);
  border: 1px solid var(--line);
  aspect-ratio: 1 / 1;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(20px);
  background: var(--black);
  color: #fff;
  padding: 12px 18px;
  font-family: var(--d);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  visibility: hidden;
  transition: var(--t2);
  z-index: 120;
}

.toast.on {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%);
}

/* Cart / checkout Woo → mockup */
.cart-row .th img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: var(--wash);
}

.cart-row.is-busy {
  opacity: 0.55;
  pointer-events: none;
}

.cart-row .qty-sm .quantity {
  display: contents;
}

.commerce-cart-form.has-ajax-qty [name="update_cart"] {
  display: none;
}

.cart-row .qty-sm input.qty::-webkit-outer-spin-button,
.cart-row .qty-sm input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cart-row .btn-text.remove {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--d);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-decoration: none;
}

.cart-row .btn-text.remove:hover {
  color: var(--red);
}

.commerce-side.summary .btn-red {
  width: 100%;
  margin-top: 16px;
}

.commerce-side .woocommerce-Price-amount,
.cart-row .line-total-col .woocommerce-Price-amount,
.summary-total .woocommerce-Price-amount {
  font: inherit;
  color: inherit;
}

/* ----- Checkout polish (login, coupon, fields, shipping, summary) ----- */
.checkout-pre {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 24px;
}

.woocommerce-checkout .woocommerce-info,
.woocommerce-checkout .woocommerce-message,
.woocommerce-checkout .woocommerce-error {
  margin: 0;
}

.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info,
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--wash);
  font-size: 14px;
  color: var(--ink-2);
}

.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info a,
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info a {
  color: var(--ink);
  font-family: var(--d);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.woocommerce-checkout form.woocommerce-form-login,
.woocommerce-checkout form.checkout_coupon {
  margin: 0;
  padding: 20px;
  border: 1px solid var(--line);
  background: #fff;
}

/* Login: neutralize Woo floats; message full-width, then equal fields */
.woocommerce-checkout form.woocommerce-form-login {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
  align-items: start;
}

.woocommerce-checkout form.woocommerce-form-login > p:not(.form-row):not(.lost_password) {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
}

.woocommerce-checkout form.woocommerce-form-login .form-row {
  float: none !important;
  clear: none !important;
  width: auto !important;
  margin: 0;
  padding: 0;
}

.woocommerce-checkout form.woocommerce-form-login .form-row-first {
  grid-column: 1;
}

.woocommerce-checkout form.woocommerce-form-login .form-row-last {
  grid-column: 2;
}

.woocommerce-checkout form.woocommerce-form-login .form-row-wide,
.woocommerce-checkout form.woocommerce-form-login .clear,
.woocommerce-checkout form.woocommerce-form-login .lost_password,
.woocommerce-checkout form.woocommerce-form-login .form-row:not(.form-row-first):not(.form-row-last) {
  grid-column: 1 / -1;
}

.woocommerce-checkout form.woocommerce-form-login .clear {
  display: none;
}

.woocommerce-checkout form.woocommerce-form-login label:not(.woocommerce-form__label-for-checkbox) {
  display: block;
  font-family: var(--d);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 8px;
  color: var(--ink-2);
}

.woocommerce-checkout form.woocommerce-form-login .input-text {
  width: 100%;
  min-height: 48px;
  border: 1.5px solid var(--edge);
  padding: 0 14px;
  font-family: var(--b);
  font-size: 15px;
  background: #fff;
  border-radius: 2px;
}

.woocommerce-checkout form.woocommerce-form-login .form-row:not(.form-row-first):not(.form-row-last) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}

.woocommerce-checkout form.woocommerce-form-login .woocommerce-form-login__rememberme {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  min-height: 44px;
  font-family: var(--b);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  cursor: pointer;
}

.woocommerce-checkout form.woocommerce-form-login button.button {
  min-height: 48px;
  margin-left: auto;
  padding: 0 22px;
  background: var(--black);
  color: #fff;
  border: 0;
  border-radius: 2px;
  font-family: var(--d);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.woocommerce-checkout form.woocommerce-form-login .lost_password {
  margin: 0;
  font-size: 13px;
}

.woocommerce-checkout form.woocommerce-form-login .lost_password a {
  color: var(--ink-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.woocommerce-checkout form.woocommerce-form-login .lost_password a:hover {
  color: var(--red);
}

/* Coupon: input + button on one row */
.woocommerce-checkout form.checkout_coupon {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 12px;
  align-items: end;
}

.woocommerce-checkout form.checkout_coupon > p {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 14px;
  color: var(--ink-2);
}

.woocommerce-checkout form.checkout_coupon .form-row {
  float: none !important;
  width: auto !important;
  margin: 0;
  padding: 0;
}

.woocommerce-checkout form.checkout_coupon .form-row-first {
  grid-column: 1;
}

.woocommerce-checkout form.checkout_coupon .form-row-last {
  grid-column: 2;
}

.woocommerce-checkout form.checkout_coupon .input-text {
  width: 100%;
  min-height: 48px;
  border: 1.5px solid var(--edge);
  padding: 0 14px;
  font-family: var(--b);
  font-size: 15px;
  border-radius: 2px;
}

.woocommerce-checkout form.checkout_coupon button.button {
  min-height: 48px;
  padding: 0 18px;
  background: var(--black);
  color: #fff;
  border: 0;
  border-radius: 2px;
  font-family: var(--d);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .woocommerce-checkout form.woocommerce-form-login {
    grid-template-columns: minmax(0, 1fr);
  }

  .woocommerce-checkout form.woocommerce-form-login .form-row-first,
  .woocommerce-checkout form.woocommerce-form-login .form-row-last {
    grid-column: 1;
  }

  .woocommerce-checkout form.woocommerce-form-login button.button {
    margin-left: 0;
    width: 100%;
  }

  .woocommerce-checkout form.checkout_coupon {
    grid-template-columns: minmax(0, 1fr);
  }

  .woocommerce-checkout form.checkout_coupon .form-row-first,
  .woocommerce-checkout form.checkout_coupon .form-row-last {
    grid-column: 1;
  }

  .woocommerce-checkout form.checkout_coupon button.button {
    width: 100%;
  }
}

.commerce-checkout .col2-set {
  display: grid;
  gap: clamp(16px, 2.5vw, 22px);
}

.commerce-checkout .form-block {
  margin-bottom: 0;
}

.commerce-checkout .form-block h3,
.commerce-checkout .form-block h2,
.commerce-checkout .woocommerce-billing-fields > h3,
.commerce-checkout .woocommerce-shipping-fields > h3,
.commerce-checkout .woocommerce-additional-fields > h3 {
  font-family: var(--d);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.commerce-checkout .woocommerce-billing-fields__field-wrapper,
.commerce-checkout .woocommerce-shipping-fields__field-wrapper,
.commerce-checkout .woocommerce-additional-fields__field-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}

.commerce-checkout .form-row {
  margin: 0;
  padding: 0;
  width: auto;
}

.commerce-checkout .form-row-wide,
.commerce-checkout #billing_address_1_field,
.commerce-checkout #billing_address_2_field,
.commerce-checkout #shipping_address_1_field,
.commerce-checkout #shipping_address_2_field,
.commerce-checkout #order_comments_field,
.commerce-checkout #billing_email_field,
.commerce-checkout #billing_phone_field,
.commerce-checkout #billing_company_field,
.commerce-checkout #billing_country_field,
.commerce-checkout #shipping_country_field {
  grid-column: 1 / -1;
}

@media (max-width: 640px) {
  .commerce-checkout .woocommerce-billing-fields__field-wrapper,
  .commerce-checkout .woocommerce-shipping-fields__field-wrapper,
  .commerce-checkout .woocommerce-additional-fields__field-wrapper {
    grid-template-columns: minmax(0, 1fr);
  }
}

.commerce-checkout .input-text,
.commerce-checkout select,
.commerce-checkout textarea,
.commerce-checkout .select2-container .select2-selection--single {
  width: 100%;
  min-height: 48px;
  border: 1.5px solid var(--edge);
  padding: 0 14px;
  font-family: var(--b);
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border-radius: 2px;
  box-shadow: none;
}

.commerce-checkout select {
  appearance: none;
  padding-right: 40px;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%234E5257' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.commerce-checkout .select2-container {
  width: 100% !important;
}

.commerce-checkout .select2-container .select2-selection--single {
  display: flex;
  align-items: center;
  padding: 0 36px 0 14px;
}

.commerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
  padding: 0;
  line-height: 1.3;
  color: var(--ink);
}

.commerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 100%;
  right: 10px;
  top: 0;
}

/* Field focus: no outer ring — existing border turns theme red */
.woocommerce-checkout .input-text:focus,
.woocommerce-checkout .input-text:focus-visible,
.woocommerce-checkout select:focus,
.woocommerce-checkout select:focus-visible,
.woocommerce-checkout textarea:focus,
.woocommerce-checkout textarea:focus-visible,
.commerce-checkout .input-text:focus,
.commerce-checkout .input-text:focus-visible,
.commerce-checkout select:focus,
.commerce-checkout select:focus-visible,
.commerce-checkout textarea:focus,
.commerce-checkout textarea:focus-visible,
.woocommerce-checkout .select2-container--default.select2-container--focus .select2-selection--single,
.woocommerce-checkout .select2-container--default.select2-container--open .select2-selection--single,
.commerce-checkout .select2-container--default.select2-container--focus .select2-selection--single,
.commerce-checkout .select2-container--default.select2-container--open .select2-selection--single {
  outline: none !important;
  outline-offset: 0;
  border-color: var(--red);
  box-shadow: none;
}

.commerce-checkout textarea.input-text {
  min-height: 96px;
  padding: 12px 14px;
}

.commerce-checkout label:not(.woocommerce-form__label-for-checkbox):not(.checkbox) {
  display: block;
  font-family: var(--d);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--ink-2);
}

.commerce-checkout #payment .payment_box label,
#payment .payment_box label {
  display: flex;
  align-items: flex-start;
  font-family: var(--b);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  margin: 0;
  color: var(--ink);
}

/* Create account / ship to different address */
.commerce-checkout .woocommerce-account-fields,
.commerce-checkout .woocommerce-shipping-fields,
.commerce-checkout .woocommerce-additional-fields {
  margin-top: 4px;
  width: 100%;
}

.commerce-checkout .woocommerce-account-fields {
  margin-top: 18px;
}

.commerce-checkout #ship-to-different-address,
.commerce-checkout .woocommerce-account-fields .create-account,
.commerce-checkout .form-row.create-account,
.commerce-checkout .woocommerce-account-fields > p {
  float: none !important;
  clear: both;
  width: 100% !important;
  max-width: 100%;
  margin: 16px 0 0;
  padding: 0;
  box-sizing: border-box;
}

.commerce-checkout #ship-to-different-address label,
.commerce-checkout .woocommerce-form__label-for-checkbox,
.commerce-checkout label.checkbox,
.commerce-checkout label.woocommerce-form__label-for-checkbox {
  display: flex !important;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-height: 44px;
  margin: 0;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  background: var(--wash);
  font-family: var(--b) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: var(--ink) !important;
  cursor: pointer;
  line-height: 1.35;
}

.commerce-checkout #ship-to-different-address label:hover,
.commerce-checkout .woocommerce-form__label-for-checkbox:hover {
  border-color: var(--edge);
}

.commerce-checkout .woocommerce-form__label-for-checkbox input[type="checkbox"],
.commerce-checkout #ship-to-different-address input[type="checkbox"],
.commerce-checkout label.checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  margin: 0;
  flex-shrink: 0;
  accent-color: var(--black);
}

.commerce-checkout .woocommerce-account-fields .create-account + .create-account,
.commerce-checkout .woocommerce-account-fields .form-row:not(.create-account) {
  margin-top: 12px;
}

.commerce-checkout .woocommerce-form__label-for-checkbox:has(input:focus-visible),
.commerce-checkout #ship-to-different-address label:has(input:focus-visible),
.commerce-checkout .woocommerce-form__label-for-checkbox:has(input:checked),
.commerce-checkout #ship-to-different-address label:has(input:checked) {
  border-color: var(--red);
}

.commerce-checkout .woocommerce-form__label-for-checkbox input:focus-visible,
.commerce-checkout #ship-to-different-address input:focus-visible {
  outline: none;
}

#payment .woocommerce-terms-and-conditions-wrapper,
.commerce-checkout .woocommerce-terms-and-conditions-wrapper {
  margin: 4px 0 14px;
  clear: both;
}

#payment .woocommerce-privacy-policy-text,
.commerce-checkout .woocommerce-privacy-policy-text {
  margin: 0 0 12px;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.5;
}

#payment .woocommerce-privacy-policy-text p:last-child,
.commerce-checkout .woocommerce-privacy-policy-text p:last-child {
  margin-bottom: 0;
}

.woocommerce-terms-and-conditions-wrapper .woocommerce-terms-and-conditions {
  display: none;
}

#payment .woocommerce-terms-and-conditions-wrapper .form-row,
.commerce-checkout .woocommerce-terms-and-conditions-wrapper .form-row {
  float: none;
  width: 100%;
  margin: 0;
  padding: 0;
}

.woocommerce-terms-and-conditions-wrapper .woocommerce-terms-and-conditions-link {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.woocommerce-terms-and-conditions-wrapper .woocommerce-terms-and-conditions-link:hover {
  color: var(--red-d);
}

.woocommerce-terms-and-conditions-wrapper .woocommerce-terms-and-conditions-link:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
}

.woocommerce-terms-and-conditions-wrapper .form-row.is-invalid .woocommerce-form__label-for-checkbox,
.woocommerce-terms-and-conditions-wrapper .woocommerce-form__label-for-checkbox:has(input.is-invalid) {
  border-color: var(--red);
}

.woocommerce-terms-and-conditions-wrapper .field-error {
  margin: 8px 0 0;
}

/* Shipping methods: card is the <li> (radio is a sibling of label) */
.woocommerce-checkout-review-order-table .woocommerce-shipping-totals th,
.woocommerce-checkout-review-order-table .woocommerce-shipping-totals td,
.woocommerce-checkout-review-order-table tr.shipping th,
.woocommerce-checkout-review-order-table tr.shipping td {
  display: block;
  width: 100%;
  text-align: left !important;
  padding: 10px 0 4px;
  border-bottom: 0;
}

.woocommerce-checkout-review-order-table .woocommerce-shipping-totals th,
.woocommerce-checkout-review-order-table tr.shipping th {
  font-family: var(--d);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding-bottom: 10px;
}

.woocommerce-checkout-review-order-table .woocommerce-shipping-totals td,
.woocommerce-checkout-review-order-table tr.shipping td {
  padding: 0 0 14px;
  border-bottom: 1px solid var(--line);
}

.commerce-checkout #shipping_method,
.woocommerce-checkout #shipping_method.woocommerce-shipping-methods,
.woocommerce-shipping-methods {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  text-align: left;
}

.commerce-checkout #shipping_method li,
.woocommerce-shipping-methods li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 12px 14px;
  min-height: 48px;
  border: 1.5px solid var(--line);
  background: #fff;
  box-sizing: border-box;
  transition: border-color var(--t), background var(--t);
}

.commerce-checkout #shipping_method li:has(input:checked),
.woocommerce-shipping-methods li:has(input:checked) {
  border-color: var(--red);
  background: var(--wash);
}

.commerce-checkout #shipping_method li:has(input:focus-visible),
.woocommerce-shipping-methods li:has(input:focus-visible) {
  border-color: var(--red);
}

.commerce-checkout #shipping_method label,
.woocommerce-shipping-methods label {
  display: block !important;
  flex: 1 1 auto;
  width: auto !important;
  min-height: 0;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  font-family: var(--b) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: var(--ink) !important;
  cursor: pointer;
  line-height: 1.4;
  text-align: left;
}

.commerce-checkout #shipping_method input[type="radio"],
.woocommerce-shipping-methods input[type="radio"] {
  width: 18px;
  height: 18px;
  margin: 0;
  flex-shrink: 0;
  order: -1;
  accent-color: var(--red);
}

.commerce-checkout #shipping_method input[type="radio"]:focus-visible,
.woocommerce-shipping-methods input[type="radio"]:focus-visible {
  outline: none;
}

.commerce-checkout .commerce-side.summary {
  padding: clamp(18px, 2.2vw, 24px);
}

.commerce-checkout .commerce-side.summary h2 {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.commerce-checkout .commerce-side.summary .chk-order-head {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.commerce-checkout .commerce-side.summary .chk-order-head h2 {
  margin: 0;
  padding: 0;
  border: 0;
}

.woocommerce-checkout-review-order-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-bottom: 14px;
}

.woocommerce-checkout-review-order-table thead th {
  padding: 0 0 10px;
  border-bottom: 1px solid var(--line);
  font-family: var(--d);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.woocommerce-checkout-review-order-table .cart_item td {
  padding: 12px 0;
  vertical-align: top;
}

.woocommerce-checkout-review-order-table .product-name {
  width: 68%;
  padding-right: 14px;
  font-size: 13px;
  line-height: 1.35;
  color: var(--ink);
  font-weight: 500;
  word-break: break-word;
}

.woocommerce-checkout-review-order-table .product-name a {
  color: inherit;
  text-decoration: none;
}

.woocommerce-checkout-review-order-table .product-name .product-quantity,
.woocommerce-checkout-review-order-table .product-name strong.product-quantity {
  display: inline;
  margin-left: 0.35em;
  white-space: nowrap;
  font-weight: 700;
  color: var(--ink-2);
  font-size: 12px;
}

.woocommerce-checkout-review-order-table .product-name dl.variation {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--ink-2);
}

.woocommerce-checkout-review-order-table .product-name dl.variation dd,
.woocommerce-checkout-review-order-table .product-name dl.variation p {
  margin: 0;
}

.woocommerce-checkout-review-order-table .product-total {
  width: 28%;
  text-align: right;
  white-space: nowrap;
  vertical-align: top;
  font-family: var(--d);
  font-weight: 700;
  font-size: 14px;
  padding-top: 12px;
}

.woocommerce-checkout-review-order-table thead th.product-name,
.woocommerce-checkout-review-order-table thead th.product-total {
  padding: 0 0 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  vertical-align: bottom;
  color: var(--ink-2);
}

.woocommerce-checkout-review-order-table tfoot td {
  text-align: right;
  white-space: nowrap;
  font-family: var(--d);
  font-weight: 700;
}

.woocommerce-checkout-review-order-table tfoot th {
  color: var(--ink-2);
  font-weight: 500;
}

.woocommerce-checkout-review-order-table .order-total th,
.woocommerce-checkout-review-order-table .order-total td {
  border-bottom: 0;
  padding-top: 14px;
  font-family: var(--d);
  font-weight: 800;
  font-size: 18px;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.commerce-checkout #place_order,
.commerce-checkout button#place_order {
  width: 100%;
  height: 56px;
  background: var(--red);
  color: #fff !important;
  border: 0;
  font-family: var(--d);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.commerce-checkout #place_order:hover {
  background: var(--red-d);
}

.hero-static {
  position: relative;
  min-height: min(72vh, 640px);
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
}

.hero-static .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-static .hero-copy {
  position: relative;
  z-index: 1;
  padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px);
}

.hero-static .brand-hero {
  font-family: var(--d);
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 13px;
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.82);
}

.hero-static h1 {
  font-family: var(--display, var(--d));
  font-size: clamp(40px, 7vw, 72px);
  line-height: 0.95;
  margin: 0 0 16px;
  max-width: 12ch;
}

.hero-static .lede {
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 300;
  margin: 0 0 24px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.sec-head {
  margin-bottom: clamp(22px, 3vw, 36px);
}

.sec-head h2 {
  margin: 0 0 8px;
}

.sec-head p {
  margin: 0;
  color: var(--ink-2);
  font-weight: 300;
}

/* Stripe Payment Element lives in an iframe. These rules only style the wrapper. */
#payment .payment_method_stripe,
#payment li.payment_method_stripe {
  overflow: visible;
}

#payment ul.wc_payment_methods > li.payment_method_stripe:has(input:checked) {
  background: #fff;
}

#payment .payment_method_stripe .payment_box,
#payment .payment_box.payment_method_stripe {
  padding: 8px 16px 16px;
}

#payment .payment_box fieldset,
#payment .payment_box .wc-credit-card-form,
#payment .payment_box .form-row,
#payment .payment_box .woocommerce-SavedPaymentMethods,
#payment .payment_box .woocommerce-SavedPaymentMethods-saveNew {
  float: none;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

#payment .wc-stripe-upe-element,
#payment #wc-stripe-upe-element,
#payment #wc-stripe-upe-form,
#payment .StripeElement,
#payment .wc-stripe-elements-field {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: #fff;
  box-shadow: none;
  min-height: 0;
}

#payment .payment_box iframe {
  display: block;
  width: 100% !important;
  max-width: 100%;
  border: 0;
}

#payment .payment_box .woocommerce-form__label-for-checkbox,
#payment .payment_box label.checkbox,
#payment .woocommerce-SavedPaymentMethods-saveNew label,
#payment .payment_box .woocommerce-SavedPaymentMethods-saveNew label {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  min-height: 24px;
  margin: 12px 0 0;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  font-family: var(--b) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: var(--ink) !important;
  line-height: 1.4;
}

#payment .payment_box .woocommerce-form__label-for-checkbox input[type="checkbox"],
#payment .woocommerce-SavedPaymentMethods-saveNew input[type="checkbox"],
#payment .payment_box input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  margin: 2px 0 0;
  flex-shrink: 0;
  accent-color: var(--red);
}

#payment .payment_box .testmode,
#payment .payment_box .wc-stripe-testmode,
#payment .stripe-testmode,
#payment .testmode-info,
#payment .wc-stripe-error,
#payment .stripe-source-errors {
  margin: 0 0 12px;
  padding: 10px 12px;
  border: 1.5px solid var(--line);
  background: var(--wash);
  color: var(--ink-2);
  font-family: var(--b);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.45;
}

#payment .wc-stripe-error,
#payment .stripe-source-errors {
  border-color: var(--red);
  color: var(--ink);
}

#wc-stripe-payment-request-wrapper,
#wc-stripe-express-checkout-element,
.wc-stripe-payment-request-wrapper {
  margin: 0 0 16px;
}

/* Stripe prints "— OR —"; show a hairline with a plain "or" label instead. */
#wc-stripe-payment-request-button-separator,
#wc-stripe-express-checkout-button-separator,
.wc-stripe-payment-request-button-separator {
  position: relative;
  margin-top: 18px !important;
  margin: 18px 0;
  text-align: center;
  font-size: 0;
  line-height: 0;
}

#wc-stripe-payment-request-button-separator::before,
#wc-stripe-express-checkout-button-separator::before,
.wc-stripe-payment-request-button-separator::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: var(--line);
}

#wc-stripe-payment-request-button-separator::after,
#wc-stripe-express-checkout-button-separator::after,
.wc-stripe-payment-request-button-separator::after {
  content: "or";
  position: relative;
  display: inline-block;
  padding: 0 12px;
  background: var(--white);
  font-family: var(--d);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
}

/* Stripe reads styles from this hidden input; keep it from widening the page. */
#payment .payment_box,
#payment .wc-upe-form {
  position: relative;
}

#wc-stripe-hidden-style-input {
  max-width: 100% !important;
}

@media (prefers-reduced-motion: reduce) {
  #payment ul.wc_payment_methods > li {
    transition: none;
  }
}
