:root {
  --sobae-commerce-ink: #171717;
  --sobae-commerce-muted: #666663;
  --sobae-commerce-line: #d9d9d4;
  --sobae-commerce-surface: #f7f7f5;
  --sobae-commerce-coral: #171717;
}

body.woocommerce-cart,
body.woocommerce-checkout,
.woocommerce-cart #main,
.woocommerce-checkout #main {
  background: #fff;
  color: var(--sobae-commerce-ink);
}

.woocommerce-cart .sobae-prefooter,
.woocommerce-checkout .sobae-prefooter {
  display: none !important;
}

.woocommerce-cart .hero-section,
.woocommerce-checkout .hero-section {
  margin: 0;
  padding: 64px 40px 0;
  background: #fff;
}

.woocommerce-cart .hero-section > [class*="ct-container"],
.woocommerce-checkout .hero-section > [class*="ct-container"] {
  width: min(100%, 1280px);
  max-width: 1280px;
  margin: 0 auto;
  padding: 0;
}

.woocommerce-cart .hero-section .entry-header,
.woocommerce-checkout .hero-section .entry-header {
  margin: 0;
}

.woocommerce-cart .hero-section .page-title,
.woocommerce-checkout .hero-section .page-title {
  color: var(--sobae-commerce-ink);
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 4.1vw, 56px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0;
}

.woocommerce-cart #main .ct-container-full,
.woocommerce-checkout #main .ct-container-full {
  padding: 64px 40px 104px;
}

.woocommerce-cart #main article,
.woocommerce-checkout #main article {
  width: min(100%, 1280px);
  margin: 0 auto;
}

.woocommerce-cart .entry-header,
.woocommerce-checkout .entry-header {
  margin-bottom: 48px;
}

.woocommerce-cart .entry-title,
.woocommerce-checkout .entry-title {
  margin: 0;
  color: var(--sobae-commerce-ink);
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 4.1vw, 56px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0;
}

.woocommerce-cart .entry-content,
.woocommerce-checkout .entry-content,
.woocommerce-cart .wp-block-woocommerce-cart,
.woocommerce-checkout .wp-block-woocommerce-checkout {
  width: 100%;
  max-width: none;
}

.woocommerce-cart .wc-block-cart {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  align-items: start;
  gap: 72px;
}

.woocommerce-cart .wc-block-cart__main,
.woocommerce-cart .wc-block-cart__sidebar,
.woocommerce-checkout .wc-block-checkout__main,
.woocommerce-checkout .wc-block-checkout__sidebar {
  width: auto !important;
  padding: 0 !important;
}

.woocommerce-cart .wc-block-cart-items {
  border-top: 2px solid var(--sobae-commerce-ink);
  border-bottom: 1px solid var(--sobae-commerce-line);
}

.woocommerce-cart .wc-block-cart-items thead {
  display: none;
}

.woocommerce-cart .wc-block-cart-items__row {
  position: relative;
  min-height: 160px;
  border-bottom: 1px solid var(--sobae-commerce-line);
}

.woocommerce-cart .wc-block-cart-items__row:last-child {
  border-bottom: 0;
}

.woocommerce-cart .wc-block-cart-item__image,
.woocommerce-cart .wc-block-cart-item__product,
.woocommerce-cart .wc-block-cart-item__total {
  padding-top: 24px !important;
  padding-bottom: 24px !important;
}

.woocommerce-cart .wc-block-cart-item__image {
  width: 112px;
  padding-right: 20px !important;
}

.woocommerce-cart .wc-block-cart-item__image img {
  width: 112px;
  height: 112px;
  object-fit: contain;
  background: var(--sobae-commerce-surface);
}

.woocommerce-cart .wc-block-components-product-name,
.woocommerce-checkout .wc-block-components-product-name {
  color: var(--sobae-commerce-ink) !important;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
  text-decoration: none;
}

.woocommerce-cart .wc-block-cart-item__prices,
.woocommerce-cart .wc-block-cart-item__total,
.woocommerce-checkout .wc-block-components-order-summary-item__total-price {
  color: var(--sobae-commerce-muted);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
}

.woocommerce-cart .wc-block-components-quantity-selector {
  width: 120px;
  height: 44px;
  border: 1px solid var(--sobae-commerce-ink);
  border-radius: 2px;
}

.woocommerce-cart .wc-block-components-quantity-selector::after {
  display: none;
}

.woocommerce-cart .wc-block-components-quantity-selector__button {
  min-width: 44px;
  min-height: 44px;
  color: var(--sobae-commerce-ink) !important;
}

.woocommerce-cart .wc-block-components-quantity-selector__input {
  color: var(--sobae-commerce-ink) !important;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
}

.woocommerce-cart .wc-block-cart-item__remove-link {
  color: var(--sobae-commerce-ink) !important;
}

.woocommerce-cart .wc-block-cart__sidebar {
  position: sticky;
  top: 110px;
  border-top: 2px solid var(--sobae-commerce-ink);
}

.woocommerce-cart .wc-block-cart__totals-title {
  padding: 18px 0 14px !important;
  color: var(--sobae-commerce-ink);
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.15;
  text-align: left;
  text-transform: none;
}

.woocommerce-cart .wc-block-components-totals-wrapper,
.woocommerce-cart .wc-block-cart__submit-container,
.woocommerce-checkout .wc-block-components-totals-wrapper {
  border-color: var(--sobae-commerce-line) !important;
}

.woocommerce-cart .wc-block-components-totals-coupon-link,
.woocommerce-checkout .wc-block-components-totals-coupon-link {
  color: var(--sobae-commerce-ink) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.woocommerce-cart .wc-block-cart__submit-button,
.woocommerce-checkout .wc-block-components-checkout-place-order-button {
  min-height: 52px;
  border: 1px solid var(--sobae-commerce-ink) !important;
  border-radius: 2px !important;
  background: var(--sobae-commerce-ink) !important;
  color: #fff !important;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase;
  box-shadow: none !important;
}

.woocommerce-cart .wc-block-cart__submit-button:hover,
.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover:not(:disabled) {
  background: #fff !important;
  color: var(--sobae-commerce-ink) !important;
}

.woocommerce-cart .wc-block-cart__submit-button:focus-visible,
.woocommerce-checkout .wc-block-components-checkout-place-order-button:focus-visible,
.woocommerce-cart button:focus-visible,
.woocommerce-checkout button:focus-visible,
.woocommerce-cart input:focus-visible,
.woocommerce-checkout input:focus-visible,
.woocommerce-checkout select:focus-visible {
  outline: 2px solid var(--sobae-commerce-coral) !important;
  outline-offset: 2px;
}

.sobae-cart-reassurance {
  margin: 12px 0 0;
  color: var(--sobae-commerce-muted);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}

.woocommerce-cart .wp-block-woocommerce-empty-cart-block {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.woocommerce-cart .wc-block-cart__empty-cart__title {
  margin: 0;
  padding: 0;
  color: var(--sobae-commerce-ink);
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 400;
  line-height: 1.1;
}

.woocommerce-cart .wc-block-cart__empty-cart__title::before {
  display: none !important;
  content: none !important;
}

.sobae-empty-cart__intro {
  display: grid;
  justify-items: center;
  max-width: 620px;
  margin: 16px auto clamp(56px, 6vw, 76px);
  text-align: center;
}

.sobae-empty-cart__intro > p {
  max-width: 52ch;
  margin: 0;
  color: var(--sobae-commerce-muted);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

.sobae-empty-cart__actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.sobae-empty-cart__actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid var(--sobae-commerce-ink);
  border-radius: 2px;
  color: var(--sobae-commerce-ink);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
}

.sobae-empty-cart__actions .sobae-empty-cart__primary,
.sobae-empty-cart__actions a:hover,
.sobae-empty-cart__actions a:focus-visible {
  background: var(--sobae-commerce-ink);
  color: #fff;
}

.sobae-empty-cart__actions .sobae-empty-cart__primary:hover,
.sobae-empty-cart__actions .sobae-empty-cart__primary:focus-visible {
  background: #fff;
  color: var(--sobae-commerce-ink);
}

.woocommerce-cart .wp-block-woocommerce-empty-cart-block > .wp-block-separator {
  display: none;
}

.woocommerce-cart .wp-block-woocommerce-empty-cart-block > h2:not(.wc-block-cart__empty-cart__title) {
  margin: 0 0 28px;
  color: var(--sobae-commerce-ink);
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 400;
  line-height: 1.1;
}

.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.7vw, 24px);
  margin: 0 !important;
}

.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product {
  display: flex;
  flex-direction: column;
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
  border: 0;
  text-align: left;
}

.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-link {
  display: block;
  color: var(--sobae-commerce-ink);
  text-decoration: none;
}

.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-image {
  aspect-ratio: 1;
  margin: 0 0 16px;
  overflow: hidden;
  background: var(--sobae-commerce-surface);
}

.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-link:hover img,
.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-link:focus-visible img {
  transform: scale(1.025);
}

.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-title {
  min-height: 40px;
  padding: 0;
  color: var(--sobae-commerce-ink);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-price {
  margin: 6px 0 16px;
  color: var(--sobae-commerce-muted);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
}

.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-add-to-cart {
  width: 100%;
  margin: auto 0 0;
}

.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-add-to-cart a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid var(--sobae-commerce-ink);
  border-radius: 2px;
  background: var(--sobae-commerce-ink);
  color: #fff;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-add-to-cart a:hover,
.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-add-to-cart a:focus-visible {
  background: #fff;
  color: var(--sobae-commerce-ink);
}

.woocommerce-cart .sobae-commerce-gift,
.woocommerce-checkout .sobae-commerce-gift {
  background: var(--sobae-commerce-surface);
  box-shadow: none;
}

.woocommerce-cart .sobae-commerce-gift .wc-block-components-product-details,
.woocommerce-checkout .sobae-commerce-gift .wc-block-components-product-details {
  color: var(--sobae-commerce-muted);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  line-height: 1.45;
}

.woocommerce-cart .sobae-commerce-gift .wc-block-components-product-details__name,
.woocommerce-checkout .sobae-commerce-gift .wc-block-components-product-details__name {
  display: block;
  margin-bottom: 2px;
  color: var(--sobae-commerce-ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.woocommerce-cart .sobae-commerce-gift .wc-block-cart-item__prices,
.woocommerce-checkout .sobae-commerce-gift .wc-block-cart-item__prices,
.woocommerce-checkout .sobae-commerce-gift .wc-block-components-order-summary-item__quantity,
.woocommerce-cart .sobae-commerce-gift .wc-block-components-product-metadata__description,
.woocommerce-checkout .sobae-commerce-gift .wc-block-components-product-metadata__description {
  display: none !important;
}

.woocommerce-cart .sobae-commerce-gift .wc-block-components-product-price__value.is-discounted,
.woocommerce-checkout .sobae-commerce-gift .wc-block-components-product-price__value.is-discounted {
  font-size: 0;
}

.woocommerce-cart .sobae-commerce-gift .wc-block-components-product-price__value.is-discounted::after,
.woocommerce-checkout .sobae-commerce-gift .wc-block-components-product-price__value.is-discounted::after {
  content: "Free";
  color: var(--sobae-commerce-ink);
  font-size: 13px;
  font-weight: 600;
}

.woocommerce-cart .sobae-commerce-gift .wc-block-components-sale-badge,
.woocommerce-checkout .sobae-commerce-gift .wc-block-components-sale-badge,
.woocommerce-cart .sobae-commerce-gift .wc-block-components-quantity-selector {
  display: none !important;
}

.woocommerce-cart .sobae-commerce-gift .wc-block-cart-item__remove-link {
  display: inline-flex !important;
  align-items: center;
  width: auto;
  min-height: 44px;
  margin: 0;
  padding: 0;
  color: var(--sobae-commerce-muted) !important;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.woocommerce-cart .sobae-commerce-gift .wc-block-cart-item__remove-link svg {
  display: none;
}

.woocommerce-cart .sobae-commerce-gift .wc-block-cart-item__total .price {
  font-size: 0;
}

.woocommerce-cart .sobae-commerce-gift .wc-block-cart-item__total .price::after {
  content: "Free";
  color: var(--sobae-commerce-ink);
  font-size: 13px;
  font-weight: 600;
}

.woocommerce-cart .sobae-commerce-gift .wc-block-cart-item__wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 112px;
}

.woocommerce-cart .sobae-commerce-gift .wc-block-cart-item__quantity {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 6px;
}

.woocommerce-checkout .sobae-commerce-gift .wc-block-components-order-summary-item__total-price .price {
  font-size: 0;
}

.woocommerce-checkout .sobae-commerce-gift .wc-block-components-order-summary-item__total-price .price::after {
  content: "Free";
  color: var(--sobae-commerce-ink);
  font-size: 12px;
  font-weight: 600;
}

.woocommerce-checkout .sobae-commerce-gift .wc-block-components-order-summary-item__description {
  justify-content: center;
}

.sobae-change-gift,
.sobae-checkout-edit-cart {
  display: inline-flex;
  margin-top: 8px;
  color: var(--sobae-commerce-ink) !important;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.woocommerce-cart .sobae-commerce-gift .sobae-change-gift {
  min-height: 44px;
  align-items: center;
  margin: 0;
}

.woocommerce-checkout #header [data-device="desktop"] [data-row="middle"],
.woocommerce-checkout #header [data-device="desktop"] .header-menu-1,
.woocommerce-checkout #header [data-device="desktop"] .header-menu-2,
.woocommerce-checkout #header [data-device="desktop"] .ct-header-search,
.woocommerce-checkout #header [data-device="mobile"] .ct-header-search,
.woocommerce-checkout #header [data-device="mobile"] .ct-header-trigger,
.woocommerce-checkout #footer [data-row="middle"] {
  display: none !important;
}

.woocommerce-checkout #header .ct-header-cart .ct-cart-item::before {
  margin-right: 10px;
  content: "Back to cart";
  color: var(--sobae-commerce-ink);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
}

.woocommerce-checkout #header [data-device="desktop"] .ct-header-cart .ct-cart-item {
  width: auto;
  min-width: 112px;
  white-space: nowrap;
}

.woocommerce-checkout .wp-block-woocommerce-checkout {
  display: grid;
  grid-template-columns: minmax(0, 680px) minmax(340px, 420px);
  justify-content: space-between;
  align-items: start;
  gap: 72px;
  padding-top: 0;
}

.woocommerce-checkout .wp-block-woocommerce-checkout > .wc-block-checkout {
  display: contents;
}

.woocommerce-checkout .wc-block-checkout__sidebar {
  position: sticky;
  top: 92px;
  grid-row: 1;
  grid-column: 2;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
}

.woocommerce-checkout .wc-block-checkout__main {
  grid-row: 1;
  grid-column: 1;
}

.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block {
  overflow: hidden;
  border: 1px solid var(--sobae-commerce-line) !important;
  border-radius: 2px !important;
  background: #fff;
}

.woocommerce-checkout .wc-block-components-checkout-step {
  margin-bottom: 30px;
  padding: 0 !important;
}

.woocommerce-checkout .wc-block-components-checkout-step__heading h2,
.woocommerce-checkout .wc-block-components-checkout-order-summary__title-text {
  color: var(--sobae-commerce-ink);
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0;
}

.woocommerce-checkout .wc-block-components-text-input input,
.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input,
.woocommerce-checkout .wc-block-components-address-form__country select {
  min-height: 48px;
  border: 1px solid #d2d2cd !important;
  border-radius: 2px !important;
  background: #fff !important;
  color: var(--sobae-commerce-ink) !important;
  box-shadow: none !important;
}

.woocommerce-checkout .wc-block-components-text-input label,
.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control label {
  color: var(--sobae-commerce-muted) !important;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
}

.woocommerce-checkout .wc-block-components-text-input input:focus,
.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input:focus,
.woocommerce-checkout .wc-block-components-address-form__country select:focus {
  border-color: var(--sobae-commerce-ink) !important;
  outline: 1px solid var(--sobae-commerce-ink) !important;
  outline-offset: 0;
}

body.woocommerce-checkout .wc-block-components-text-input.is-active input:not([aria-invalid="true"]),
body.woocommerce-checkout .wc-block-components-combobox.is-active input:not([aria-invalid="true"]) {
  border-color: var(--sobae-commerce-ink) !important;
}

.woocommerce-checkout .wc-block-components-checkout-step__container {
  margin-top: 12px;
}

.woocommerce-checkout .wc-block-components-checkout-step__description {
  margin-top: 6px;
  color: var(--sobae-commerce-muted);
  font-size: 12px;
  line-height: 1.45;
}

.woocommerce-checkout .wc-block-components-checkout-order-summary__title {
  min-height: 64px;
  padding: 18px 16px !important;
}

.woocommerce-checkout .wc-block-components-order-summary-item {
  min-height: 88px;
  padding: 14px 0;
  border-bottom: 1px solid var(--sobae-commerce-line);
}

.woocommerce-checkout .wc-block-components-order-summary-item__image {
  width: 64px;
  min-width: 64px;
  margin-top: 0;
  padding-bottom: 0;
}

.woocommerce-checkout .wc-block-components-order-summary-item__image img {
  width: 64px;
  max-width: none !important;
  height: 64px;
  background: var(--sobae-commerce-surface);
  object-fit: contain;
}

.woocommerce-checkout .wc-block-components-order-summary-item__quantity {
  top: -7px;
  right: -7px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border: 1px solid #fff;
  background: var(--sobae-commerce-ink) !important;
  color: #fff !important;
  font-size: 11px;
  line-height: 18px;
}

.woocommerce-checkout .wc-block-components-order-summary-item__description {
  align-self: center;
  padding-left: 14px;
}

.woocommerce-checkout .wc-block-components-order-summary-item__total-price {
  align-self: center;
  min-width: 62px;
  text-align: right;
}

.woocommerce-checkout .wc-block-components-totals-wrapper {
  padding: 16px !important;
}

.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-discount-block:empty,
.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-fee-block:empty {
  display: none;
}

.woocommerce-checkout .wc-block-components-totals-footer-item {
  font-size: 16px;
}

.woocommerce-checkout .wc-block-components-notice-banner.is-error,
.woocommerce-checkout .wc-block-components-notice-banner.sobae-payment-unavailable {
  border: 1px solid var(--sobae-commerce-line) !important;
  border-radius: 2px !important;
  background: var(--sobae-commerce-surface) !important;
  color: var(--sobae-commerce-ink) !important;
}

.woocommerce-checkout .wc-block-components-notice-banner.sobae-payment-unavailable > svg {
  background: var(--sobae-commerce-ink) !important;
  color: #fff !important;
}

.woocommerce-checkout .wc-block-components-checkout-place-order-button:disabled {
  border-color: #dededb !important;
  background: #dededb !important;
  color: #777 !important;
  cursor: not-allowed;
}

.sobae-checkout-edit-cart {
  width: 100%;
  justify-content: flex-end;
  margin: 0 0 10px;
  padding: 0 1px;
}

.sobae-checkout-assurance {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding: 14px 0;
  border-top: 1px solid var(--sobae-commerce-line);
  border-bottom: 1px solid var(--sobae-commerce-line);
  color: var(--sobae-commerce-muted);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  line-height: 1.45;
}

.sobae-checkout-assurance p {
  margin: 0;
  color: var(--sobae-commerce-ink);
  font-weight: 600;
}

.sobae-checkout-assurance nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.sobae-checkout-assurance a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.woocommerce-checkout .wc-block-checkout__terms {
  margin-bottom: 18px;
  padding-top: 0 !important;
  border-top: 0 !important;
  color: var(--sobae-commerce-muted);
  font-size: 11px;
  line-height: 1.5;
}

@media (min-width: 900px) {
  .woocommerce-checkout #main .ct-container-full {
    padding-top: 2px;
  }

  .woocommerce-checkout .hero-section {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .woocommerce-checkout .wc-block-components-checkout-step {
    margin-bottom: 12px;
  }

  .woocommerce-checkout .wc-block-components-checkout-step__heading h2,
  .woocommerce-checkout .wc-block-components-checkout-order-summary__title-text {
    font-size: 23px;
  }

  .woocommerce-checkout .wc-block-components-checkout-step__container {
    margin-top: 8px;
  }

  .woocommerce-checkout .wc-block-components-text-input input,
  .woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input,
  .woocommerce-checkout .wc-block-components-address-form__country select {
    height: 44px;
    min-height: 44px;
  }

  .woocommerce-checkout .wc-block-components-address-form > :not(:first-child) {
    margin-top: 8px;
  }

  .woocommerce-checkout .sobae-checkout-assurance {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 8px;
    padding: 6px 0;
  }

  .woocommerce-checkout .sobae-checkout-assurance nav {
    flex-wrap: nowrap;
  }

  .woocommerce-checkout .wc-block-checkout__terms {
    margin-bottom: 8px;
  }

  .woocommerce-checkout .wc-block-checkout__payment-method {
    margin-bottom: 6px;
  }

  .woocommerce-checkout .wc-block-checkout__order-notes {
    margin-bottom: 10px;
  }
}

@media (max-width: 899px) {
  .woocommerce-cart #main .ct-container-full,
  .woocommerce-checkout #main .ct-container-full {
    padding: 40px 20px 88px;
  }

  .woocommerce-cart .hero-section,
  .woocommerce-checkout .hero-section {
    padding: 40px 20px 0;
  }

  .woocommerce-cart .entry-header,
  .woocommerce-checkout .entry-header {
    margin-bottom: 32px;
  }

  .woocommerce-cart .entry-title,
  .woocommerce-checkout .entry-title {
    font-size: clamp(38px, 10.3vw, 42px);
  }

  .woocommerce-cart .wc-block-cart,
  .woocommerce-checkout .wp-block-woocommerce-checkout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding-bottom: calc(96px + env(safe-area-inset-bottom));
  }

  .woocommerce-cart .wc-block-cart-items__row {
    min-height: 0;
  }

  .woocommerce-cart .wc-block-cart-item__image,
  .woocommerce-cart .wc-block-cart-item__product,
  .woocommerce-cart .wc-block-cart-item__total {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
  }

  .woocommerce-cart .wc-block-cart-item__image {
    width: 80px;
    padding-right: 16px !important;
  }

  .woocommerce-cart .wc-block-cart-item__image img {
    width: 80px;
    height: 80px;
  }

  .woocommerce-cart .wc-block-cart-item__product {
    padding-right: 70px !important;
  }

  .woocommerce-cart .wc-block-cart-item__total {
    position: absolute;
    top: 0;
    right: 0;
  }

  .woocommerce-cart .wc-block-cart__sidebar,
  .woocommerce-checkout .wc-block-checkout__sidebar {
    position: static;
  }

  .woocommerce-checkout .wc-block-checkout__sidebar {
    grid-row: 1;
    grid-column: 1;
  }

  .woocommerce-checkout .wc-block-checkout__main {
    grid-row: 2;
    grid-column: 1;
  }

  .woocommerce-cart .wc-block-cart__submit-container--sticky {
    right: 0;
    bottom: 0;
    left: 0;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--sobae-commerce-line) !important;
    background: #fff !important;
    box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.08) !important;
  }

  .woocommerce-cart.is-inpage-checkout-visible .wc-block-cart__submit-container--sticky {
    display: none !important;
  }

  .woocommerce-checkout #header .ct-header-cart .ct-cart-item::before {
    display: none;
  }

  .woocommerce-checkout .wc-block-components-checkout-step {
    margin-bottom: 28px;
  }

  .woocommerce-checkout .wc-block-components-checkout-step__heading h2,
  .woocommerce-checkout .wc-block-components-checkout-order-summary__title-text {
    font-size: 22px;
  }

  .woocommerce-checkout .wc-block-checkout__actions .wp-block-woocommerce-checkout-order-summary-block {
    display: none !important;
  }

  .woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block {
    border-right: 0 !important;
    border-left: 0 !important;
  }

  .woocommerce-checkout .sobae-checkout-edit-cart {
    margin-bottom: 8px;
  }

  .woocommerce-checkout .wc-block-components-text-input input,
  .woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input,
  .woocommerce-checkout .wc-block-components-address-form__country select {
    min-height: 48px;
  }

  .sobae-empty-cart__intro {
    margin-bottom: 48px;
  }

  .sobae-empty-cart__actions {
    display: grid;
    width: 100%;
  }

  .sobae-empty-cart__actions a {
    width: 100%;
  }

  .woocommerce-cart .wp-block-woocommerce-empty-cart-block > h2:not(.wc-block-cart__empty-cart__title) {
    margin-bottom: 22px;
    font-size: 30px;
    text-align: left !important;
  }

  .woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 12px;
  }

  .woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-title {
    min-height: 50px;
    font-size: 12px;
  }

  .woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-price {
    margin-top: 4px;
    font-size: 12px;
  }
}
