.quote-cart-body {
  overflow-x: clip;
}

.quote-cart-page {
  min-height: calc(100vh - 90px);
  background: rgba(255, 253, 248, 0.58);
}

.quote-page-container {
  width: min(1360px, calc(100vw - 80px));
  margin: 0 auto;
}

.quote-breadcrumb {
  display: flex;
  height: 56px;
  align-items: center;
  gap: 14px;
  color: #4f3b35;
  font-size: 13px;
}

.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 405px;
  gap: 52px;
  align-items: start;
}

.quote-intro {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) 440px;
  align-items: center;
  min-height: 135px;
}

.quote-intro h1 {
  margin: 0;
  color: #650b15;
  font-size: 42px;
  line-height: 1.1;
  letter-spacing: 0.12em;
}

.quote-intro p {
  margin: 14px 0 0;
  color: #4f3c35;
  font-size: 14px;
}

.quote-progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.quote-progress li:not(.progress-arrow) {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 7px;
}

.quote-progress li:not(:last-child)::after {
  position: absolute;
  z-index: 0;
  top: 29px;
  left: calc(50% + 38px);
  width: calc(100% - 58px);
  height: 1px;
  background: var(--gold);
  content: '';
}

.progress-icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold-deep);
}

.progress-icon .icon {
  width: 29px;
  height: 29px;
}

.quote-progress .is-active .progress-icon {
  border-color: var(--wine);
  background: var(--wine);
  color: #fff;
}

.quote-progress strong {
  font-size: 12px;
  white-space: nowrap;
}

.quote-progress b {
  display: inline-grid;
  width: 18px;
  height: 18px;
  margin-right: 5px;
  place-content: center;
  border-radius: 50%;
  background: var(--gold-deep);
  color: #fff;
  font-size: 10px;
}

.quote-progress .is-active b {
  background: var(--wine);
}

.progress-arrow {
  color: var(--gold-deep);
  font-size: 34px;
  text-align: center;
}

.quote-products {
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.9);
  box-shadow: var(--shadow-soft);
}

.quote-products__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px 175px;
  height: 58px;
  align-items: center;
  margin: 0 24px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13px;
  font-weight: 800;
}

.quote-products__head span:nth-child(n + 2) {
  text-align: center;
}

.quote-product-list {
  padding: 0 24px;
}

.quote-product {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 150px 165px 22px;
  gap: 12px;
  align-items: center;
  min-height: 142px;
  border-bottom: 1px solid var(--line-soft);
}

.quote-product img {
  display: block;
  width: 76px;
  height: 116px;
  border-radius: 7px;
  background: #f9f3eb;
  object-fit: contain;
}

.quote-product__info {
  min-width: 0;
}

.quote-product__info h2 {
  margin: 0 0 5px;
  font-size: 16px;
  line-height: 1.35;
}

.quote-product__info p {
  margin: 0 0 8px;
  color: #554139;
  font-size: 12px;
}

.quote-product__info > span {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  border: 1px solid var(--gold);
  border-radius: 6px;
  padding: 0 9px;
  color: #8a5e25;
  font-size: 10px;
}

.quote-quantity {
  display: grid;
  grid-template-columns: 46px 48px 46px;
  height: 44px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.quote-quantity button,
.quote-quantity output {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  font-size: 17px;
}

.quote-line-total {
  color: var(--wine);
  font-size: 20px;
  text-align: center;
  white-space: nowrap;
}

.quote-line-remove {
  border: 0;
  padding: 0;
  background: transparent;
  color: #402d28;
  font-size: 20px;
}

.quote-products__foot {
  display: flex;
  height: 64px;
  align-items: center;
  justify-content: flex-start;
  padding: 0 28px;
  color: #4b342f;
  font-size: 13px;
}

.quote-products__foot a {
  color: var(--wine);
}

.quote-products__foot a span {
  margin-right: 9px;
  font-size: 20px;
}

.quote-products__foot strong {
  color: var(--wine);
  font-size: 19px;
}

.quote-empty {
  min-height: 300px;
  place-content: center;
  gap: 10px;
  text-align: center;
}

.quote-empty:not([hidden]) {
  display: grid;
}

.quote-empty a {
  color: var(--wine);
  text-decoration: underline;
}

.quote-summary {
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 18px 18px 12px;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: var(--shadow-soft);
}

.quote-summary > h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  font-size: 18px;
}

.quote-summary > h2 .icon {
  color: var(--gold-deep);
}

.quote-summary dl {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0 4px 10px;
  border-bottom: 1px solid var(--line-soft);
}

.quote-summary dl div {
  display: flex;
  justify-content: space-between;
}

.quote-summary dt,
.quote-summary dd {
  margin: 0;
  font-size: 13px;
}

.quote-estimate {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  padding: 10px 4px 8px;
}

.quote-estimate span {
  font-size: 14px;
  font-weight: 800;
}

.quote-estimate strong {
  color: var(--wine);
  font-size: 22px;
}

.quote-estimate small {
  grid-column: 1 / -1;
  color: #6b574e;
  font-size: 10px;
  text-align: right;
}

.pickup-note {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 13px 15px;
  background: #faf5ed;
}

.pickup-note .icon {
  color: var(--gold-deep);
}

.pickup-note strong,
.pickup-note small {
  display: block;
}

.pickup-note strong {
  font-size: 14px;
}

.pickup-note small {
  margin-top: 3px;
  color: #58433c;
  font-size: 10px;
  line-height: 1.5;
}

.quote-contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 10px;
  margin-top: 10px;
}

.quote-contact-form label {
  display: grid;
  gap: 3px;
  font-size: 12px;
  font-weight: 800;
}

.quote-contact-form label:nth-of-type(3),
.quote-contact-form > p,
.quote-contact-form .btn {
  grid-column: 1 / -1;
}

.quote-contact-form input,
.quote-contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0 13px;
  outline: 0;
  background: #fffdfa;
  font: inherit;
}

.quote-contact-form input {
  height: 34px;
}

.quote-contact-form textarea {
  height: 46px;
  padding-top: 8px;
  resize: vertical;
}

.quote-contact-form input:focus,
.quote-contact-form textarea:focus {
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 2px rgba(181, 131, 63, 0.12);
}

.quote-contact-form .btn {
  width: 100%;
  height: 44px;
  margin-top: 0;
}

.quote-privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 10px 0 0;
  color: #81653c;
  font-size: 10px;
}

.quote-privacy .icon {
  width: 14px;
  height: 14px;
}

.quote-assurance {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: 110px;
  margin-top: 18px;
}

.quote-assurance > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border-right: 1px solid var(--line);
}

.quote-assurance > div:last-child {
  border-right: 0;
}

.quote-assurance .icon {
  width: 43px;
  height: 43px;
  color: var(--gold-deep);
}

.quote-assurance strong,
.quote-assurance small {
  display: block;
}

.quote-assurance strong {
  font-size: 18px;
}

.quote-assurance small {
  color: #5e4941;
  font-size: 11px;
}

@media (max-width: 1320px) {
  .quote-layout {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 26px;
  }

  .quote-intro {
    grid-template-columns: minmax(270px, 1fr) 390px;
  }

  .quote-product {
    grid-template-columns: 80px minmax(0, 1fr) 128px 135px 20px;
    gap: 8px;
  }

  .quote-quantity {
    grid-template-columns: 38px 42px 38px;
  }

  .quote-line-total {
    font-size: 17px;
  }
}

@media (max-width: 720px) {
  .quote-contact-form {
    grid-template-columns: 1fr;
  }
}
