
.cart-desk { background: #FFFFFF; }
.cart-desk__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2.5rem; align-items: start; }

.cart-line {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 1.25rem;
  align-items: center;
  border: 1px solid #EADFF0;
  border-radius: 16px;
  padding: 1rem;
  background: #FBF7FC;
}
.cart-line__thumb { background: #E9E1F0; border-radius: 12px; padding: 0.4rem; }
.cart-line__thumb img { width: 100%; border-radius: 8px; }
.cart-line__name { font-family: 'Merriweather', Georgia, serif; font-weight: 700; font-size: 1.0625rem; margin-bottom: 0.2rem; }
.cart-line__sub { font-size: 0.875rem; color: #6B5A7A; margin-bottom: 0.6rem; }
.cart-line__unit { font-size: 0.875rem; color: #574766; }
.cart-line__sum { font-family: 'Merriweather', Georgia, serif; font-size: 1.35rem; font-weight: 900; text-align: right; }
.cart-line__drop { display: block; margin-top: 0.4rem; font-size: 0.8125rem; color: #8E3A62; text-decoration: underline; cursor: pointer; text-underline-offset: 3px; }

.cart-empty { border: 1px dashed #D8C9E2; border-radius: 16px; padding: 2.5rem 1.5rem; text-align: center; }
.cart-empty p { color: #6B5A7A; margin: 0.75rem 0 1.5rem; }
.cart-desk__totals { border-top: 1px solid #EADFF0; margin-top: 1.25rem; padding-top: 1.25rem; }
.cart-desk__row { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.9375rem; color: #574766; margin-bottom: 0.5rem; }
.cart-desk__row--grand { font-size: 1.25rem; color: #2A1F36; font-weight: 700; font-family: 'Merriweather', Georgia, serif; }


.order-steps { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.75rem; }
.order-steps li { display: flex; gap: 0.9rem; align-items: flex-start; }
.order-steps__num {
  flex: 0 0 auto;
  width: 32px; height: 32px;
  border-radius: 999px;
  background: #B3521A;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
}
.order-steps__text { font-size: 0.9375rem; color: #574766; }
.order-steps__text b { color: #2A1F36; display: block; font-family: 'Merriweather', Georgia, serif; }


.order-form {
  background: #FBF7FC;
  border: 1px solid #EADFF0;
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: 0 4px 20px rgba(179, 82, 26, 0.15);
}
.order-form__title { margin-bottom: 0.5rem; }
.order-form__hint { font-size: 0.9375rem; color: #6B5A7A; margin-bottom: 1.35rem; }
.order-form__field { margin-bottom: 1.1rem; }
.order-form__label { display: block; font-size: 0.875rem; font-weight: 600; margin-bottom: 0.35rem; }
.order-form__input {
  width: 100%;
  height: 50px;
  padding: 0 0.9rem;
  border: 1px solid #D8C9E2;
  border-radius: 10px;
  background: #ffffff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.order-form__input:focus { outline: none; border-color: #B3521A; box-shadow: 0 0 0 4px rgba(179, 82, 26, 0.15); }
.order-form__consent { display: flex; gap: 0.65rem; align-items: flex-start; font-size: 0.8125rem; color: #6B5A7A; margin: 1.1rem 0 1.25rem; }
.order-form__consent input { width: 20px; height: 20px; margin-top: 0.15rem; accent-color: #B3521A; flex: 0 0 auto; }
.order-form__consent a { color: #8E3A62; text-decoration: underline; text-underline-offset: 3px; }
.order-form__error {
  background: #FBE7E1;
  border-left: 3px solid #B3521A;
  border-radius: 0 10px 10px 0;
  padding: 0.8rem 1rem;
  font-size: 0.875rem;
  color: #7A2F12;
  margin-bottom: 1.1rem;
}
.order-form__note { font-size: 0.8125rem; color: #6B5A7A; margin-top: 0.85rem; text-align: center; }
.order-form .seller-identity { margin-bottom: 1.25rem; }


.order-receipt { background: #FFFFFF; }
.order-receipt__panel {
  border: 1px solid #EADFF0;
  border-radius: 20px;
  padding: 2.25rem;
  background: #FBF7FC;
  max-width: 720px;
}
.order-receipt__mark { width: 56px; height: 56px; margin-bottom: 1.25rem; }
.order-receipt__ref { font-family: 'Merriweather', Georgia, serif; font-size: 1.5rem; font-weight: 900; color: #B3521A; }
.order-receipt__list { margin: 1.5rem 0; }
.order-receipt__list li { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid #EADFF0; padding: 0.6rem 0; font-size: 0.9375rem; }
.order-receipt__list b { color: #2A1F36; }


.order-modal { position: fixed; inset: 0; z-index: 1500; display: none; }
.order-modal.is-open { display: block; }
.order-modal__overlay { position: absolute; inset: 0; background: rgba(34, 26, 44, 0.62); }
.order-modal__content {
  position: relative;
  z-index: 1;
  width: min(94%, 520px);
  max-height: 90vh;
  overflow-y: auto;
  margin: 4vh auto;
  background: #ffffff;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 30px 80px rgba(34, 26, 44, 0.45);
}
.order-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 44px;
  height: 44px;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 10px;
  color: #574766;
  transition: background 0.3s ease;
}
.order-modal__close:hover { background: #EADFF0; }
.order-modal__summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  background: #EADFF0;
  border-radius: 12px;
  padding: 0.85rem 1.1rem;
  font-size: 0.9375rem;
  margin-bottom: 1.25rem;
}
.order-modal__summary b { font-family: 'Merriweather', Georgia, serif; }


.order-modal__content .order-form__hint { margin-bottom: 0.85rem; }
.order-modal__content .order-modal__summary { margin-bottom: 0.85rem; }
.order-modal__content .order-form__field { margin-bottom: 0.7rem; }
.order-modal__content .seller-identity {
  padding: 0.75rem 0.9rem;
  font-size: 0.8125rem;
  line-height: 1.5;
}
.order-modal__content .seller-identity__label { margin-bottom: 0.3rem; }
.order-modal__content .seller-identity p { font-size: 0.8125rem; }
.order-modal__content .order-form .seller-identity { margin-bottom: 0; }
.order-modal__content .order-form__consent { margin: 0.7rem 0 0.8rem; }
.order-modal__content .order-form__note { margin-top: 0.6rem; }


.order-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1400;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: #ffffff;
  border: 1px solid #EADFF0;
  border-radius: 16px;
  padding: 0.8rem 1rem;
  box-shadow: 0 16px 44px rgba(42, 31, 54, 0.24);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.order-widget:hover { box-shadow: 0 20px 56px rgba(179, 82, 26, 0.32); transform: translateY(-3px); }
.order-widget__text { font-size: 0.8125rem; color: #6B5A7A; line-height: 1.35; }
.order-widget__text b { display: block; font-family: 'Merriweather', Georgia, serif; font-size: 1rem; color: #2A1F36; }
.order-widget__btn { padding: 0.7rem 1.2rem; font-size: 0.9375rem; }

@media (max-width: 1024px) {
  .cart-desk__grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .cart-line { grid-template-columns: 74px 1fr; }
  .cart-line__sum { grid-column: 1 / -1; text-align: left; }
  .order-form { padding: 1.25rem; }
  .order-modal__content { margin-top: 1.5vh; padding: 1.25rem 1.15rem; max-height: 97vh; }
  .order-widget {
    right: 0;
    left: 0;
    bottom: 0;
    border-radius: 0;
    border-left: none;
    border-right: none;
    justify-content: space-between;
    padding: 0.7rem 1rem;
  }
  .order-receipt__panel { padding: 1.35rem; }
}
