.omate-static-cart-record,
.omate-static-cart,
.omate-static-cart * {
  box-sizing: border-box;
}

.omate-static-cart-record,
.omate-static-cart {
  background: #ffffff;
}

.omate-static-cart {
  width: 100%;
  color: #333333;
  font-family: var(--t-text-font, "HELIOS", Arial, sans-serif);
}

.omate-static-cart__layout {
  display: flex;
  width: min(1200px, calc(100% - 40px));
  min-height: 0;
  gap: 8%;
  margin: 0 auto;
  padding: 40px 20px 87px;
}

.omate-static-cart__products {
  position: sticky;
  top: 120px;
  align-self: flex-start;
  width: 52%;
  min-width: 0;
}

.omate-static-cart__products h1 {
  margin: 0 0 28px;
  color: #000000;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
}

.omate-static-cart .checkout-items {
  width: 100%;
}

.omate-static-cart .checkout-item {
  display: grid;
  min-height: 112px;
  grid-template-columns: 82px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid rgba(51, 51, 51, 0.18);
}

.omate-static-cart .checkout-item > img {
  display: block;
  width: 82px;
  height: 82px;
  object-fit: cover;
  border-radius: 7px;
  background: #f2f2f0;
}

.omate-static-cart .checkout-item__main {
  min-width: 0;
}

.omate-static-cart .checkout-item__title {
  color: #333333;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  text-wrap: balance;
}

.omate-static-cart .checkout-item__meta {
  margin-top: 5px;
  color: #66625d;
  font-size: 13px;
  line-height: 1.4;
}

.omate-static-cart .checkout-item__price {
  margin-top: 9px;
  color: #333333;
  font-size: 16px;
  font-style: italic;
  line-height: 1.3;
}

.omate-static-cart .cart-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}

.omate-static-cart .quantity-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #333333;
  font-size: 16px;
}

.omate-static-cart .quantity-control button {
  display: grid;
  width: 18px;
  height: 24px;
  padding: 0;
  place-items: center;
  border: 0;
  background: transparent;
  color: #333333;
  font: inherit;
  opacity: 0.45;
  cursor: pointer;
}

.omate-static-cart .quantity-control button:hover {
  opacity: 1;
}

.omate-static-cart .ghost-button {
  position: relative;
  width: 20px;
  height: 20px;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  color: transparent;
  font-size: 0;
  opacity: 0.45;
  cursor: pointer;
}

.omate-static-cart .ghost-button::before,
.omate-static-cart .ghost-button::after {
  position: absolute;
  top: 9px;
  left: 2px;
  width: 16px;
  height: 1.5px;
  background: #333333;
  content: "";
  transform: rotate(45deg);
}

.omate-static-cart .ghost-button::after {
  transform: rotate(-45deg);
}

.omate-static-cart .ghost-button:hover {
  opacity: 1;
}

.omate-static-cart .empty-state {
  display: none;
  max-width: 520px;
  color: #000000;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
  text-wrap: pretty;
}

.omate-static-cart .empty-state.is-visible {
  display: block;
}

.omate-static-cart__total {
  display: flex;
  justify-content: flex-end;
  gap: 7px;
  padding: 27px 0 0;
  color: #333333;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}

.omate-static-cart__notice {
  display: grid;
  gap: 4px;
  margin-top: 24px;
  color: #66625d;
  font-size: 13px;
  line-height: 1.45;
}

.omate-static-cart__notice strong {
  color: #333333;
  font-weight: 700;
}

.omate-static-cart.is-empty .omate-static-cart__total,
.omate-static-cart.is-empty .omate-static-cart__notice {
  display: none;
}

.omate-static-cart .checkout-form {
  width: 40%;
  min-width: 0;
  margin-top: 20px;
  margin-left: auto;
}

.omate-static-cart .form-field {
  display: grid;
  gap: 8px;
  margin-bottom: 19px;
}

.omate-static-cart .form-field label {
  color: #333333;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}

.omate-static-cart .form-field input {
  width: 100%;
  height: 57px;
  padding: 0 20px;
  border: 1px solid #333333;
  border-radius: 12px;
  background: #ffffff;
  color: #333333;
  font: inherit;
  font-size: 17px;
  outline: 0;
}

.omate-static-cart .form-field input::placeholder {
  color: #777777;
  font-style: italic;
  opacity: 0.58;
}

.omate-static-cart .form-field input:focus {
  border-color: #e09130;
  box-shadow: 0 0 0 1px #e09130;
}

.omate-static-cart__privacy {
  display: grid;
  grid-template-columns: 21px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  margin: 5px 0 30px;
  color: #555555;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.1;
  cursor: pointer;
}

.omate-static-cart__privacy input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: #e09130;
}

.omate-static-cart__privacy a {
  color: #e09130 !important;
  text-decoration: underline !important;
  text-underline-offset: 2px;
}

.omate-static-cart__payment-note {
  display: grid;
  gap: 5px;
  margin: -10px 0 20px;
  padding: 14px 16px;
  border: 1px solid #dedbd6;
  border-radius: 10px;
  background: #faf9f7;
  color: #66625d;
  font-size: 13px;
  line-height: 1.45;
}

.omate-static-cart__payment-note[hidden] {
  display: none;
}

.omate-static-cart__payment-note strong {
  color: #333333;
  font-size: 14px;
}

.omate-static-cart .primary-button {
  width: 100%;
  min-height: 60px;
  padding: 14px 24px;
  border: 0;
  border-radius: 12px;
  background: #333333;
  color: #ffffff;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 180ms ease;
}

.omate-static-cart .primary-button:hover:not(:disabled),
.omate-static-cart .primary-button:focus-visible:not(:disabled) {
  background: #e09130;
}

.omate-static-cart .primary-button:disabled {
  cursor: default;
  opacity: 0.5;
}

.omate-static-cart .checkout-warning,
.omate-static-cart .checkout-success {
  display: none;
  margin-top: 16px;
  padding: 13px 16px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
}

.omate-static-cart .checkout-warning.is-visible {
  display: block;
  background: #f9aa51;
  color: #ffffff;
}

.omate-static-cart .checkout-success.is-visible {
  display: block;
  background: #333333;
  color: #ffffff;
}

@media (max-width: 959px) {
  .omate-static-cart__layout {
    display: block;
    width: min(640px, calc(100% - 40px));
    min-height: 0;
    padding: 55px 0 90px;
  }

  .omate-static-cart__products,
  .omate-static-cart .checkout-form {
    position: static;
    width: 100%;
    max-width: none;
  }

  .omate-static-cart .checkout-form {
    margin-top: 50px;
  }
}

@media (max-width: 560px) {
  .omate-static-cart__layout {
    width: calc(100% - 40px);
    padding: 55px 0 72px;
  }

  .omate-static-cart__products h1 {
    margin-bottom: 28px;
    font-size: 24px;
  }

  .omate-static-cart .empty-state {
    font-size: 18px;
  }

  .omate-static-cart .checkout-item {
    position: relative;
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 15px;
  }

  .omate-static-cart .checkout-item > img {
    width: 70px;
    height: 70px;
  }

  .omate-static-cart .cart-actions {
    grid-column: 2;
  }

  .omate-static-cart .checkout-form {
    margin-top: 50px;
  }

  .omate-static-cart .form-field {
    margin-bottom: 19px;
  }

  .omate-static-cart .form-field label {
    font-size: 18px;
  }

  .omate-static-cart .form-field input {
    height: 57px;
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .omate-static-cart *,
  .omate-static-cart *::before,
  .omate-static-cart *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
