:root {
  --navy: #0A243F;
  --navy-2: #1a3854;
  --text-grey: #67696D;
  --grey: #8A8A8A;
  --border: #D0D4DC;
  --border-lt: #E5E7EB;
  --bg: #F7F7F7;
  --white: #FFFFFF;
  --blue: #0360E5;
  --blue-tint: #E6F0FE;
  --shadow-soft: 0 1px 2px rgba(10, 36, 63, .04), 0 4px 16px rgba(10, 36, 63, .05);
}

.mq-recommendations {
  background: #fff;
  border: 1px solid #eef0f4;
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
  margin: 8px 0 18px;
  padding: 18px 18px 20px;
  overflow: hidden;
}

.mq-recommendations-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
}

.mq-recommendations-title {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #002348;
}

.mq-recommendations-title>svg {
  color: #a87529;
  flex: 0 0 auto;
  height: 18px;
  margin-top: 1px;
  width: 18px;
}

.mq-recommendations-title h3 {
  color: #002348;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
}

.mq-recommendations-title p {

  font-size: 11px;
  line-height: 1.3;
  color: var(--text-grey);
  line-height: 1.4;
  margin: 2px 0 0;
}

.mq-recommendations-list {
  display: grid;
  grid-auto-columns: minmax(140px, 150px);
  grid-auto-flow: column;
  gap: 12px;
  margin: 0 -18px -4px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 0 18px 8px;
  scrollbar-width: thin;
}

.mq-recommendation-card {
  min-width: 0;
}

.mq-recommendation-image {
  align-items: center;
  aspect-ratio: 1.1;
  background: #fff;
  border: 1px solid #e7ebf2;
  border-radius: 14px;
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
  overflow: hidden;
  position: relative;
}

.mq-recommendation-image img {
  display: block;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  width: 100%;
}

.mq-recommendation-fallback {
  align-items: center;
  background: #eef5ff;
  color: #006cff;
  display: flex;
  font-size: 28px;
  font-weight: 800;
  height: 100%;
  justify-content: center;
  width: 100%;
}

.mq-recommendation-add {
  align-items: center;
  background: #fff;
  border: 1px solid #006cff;
  border-radius: 8px;
  bottom: 8px;
  color: #0056d6;
  cursor: pointer;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  height: 30px;
  justify-content: center;
  line-height: 1;
  min-width: 62px;
  padding: 0 10px;
  position: absolute;
  right: 8px;
  text-transform: uppercase;
}

.mq-recommendation-add:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.mq-recommendation-card.added .mq-recommendation-add {
  background: #00A889;
  border-color: #00A889;
  color: #fff;
  opacity: 1;
  pointer-events: none;
}

.mq-recommendation-card h4 {
  color: #002348;
  display: -webkit-box;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  margin: 0 0 6px;
  height: 32px;
  max-height: 32px;
  min-height: 32px;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.mq-recommendation-reason {
  color: #687386;
  font-size: 12px;
  line-height: 1.25;
  margin-bottom: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mq-recommendation-price {
  color: #002348;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
}

.mq-recommendation-unit {
  color: #687386;
  font-size: 11px;
  font-weight: 600;
}

@media (max-width: 767px) {
  .mq-recommendations {
    border-radius: 14px;
    margin: 4px 0 16px;
    padding: 16px 14px 18px;
  }

  .mq-recommendations-title h3 {
    font-size: 16px;
  }

  .mq-recommendations-title p {
    font-size: 13px;
  }

  .mq-recommendations-list {
    grid-auto-columns: minmax(128px, 138px);
    margin-left: -14px;
    margin-right: -14px;
    padding-left: 14px;
    padding-right: 14px;
  }
}

.magic-quote-page-root {
  width: 100% !important;
  max-width: 100%;
  overflow-x: clip;
}

body:has(.magic-quote-page-root) button:not(:disabled),
body:has(.magic-quote-page-root) a[href],
body:has(.magic-quote-page-root) [role="button"]:not([aria-disabled="true"]) {
  cursor: pointer;
}

.magic-quote-page-root .stage,
.magic-quote-page-root .phone {
  max-width: 100%;
  overflow-x: clip;
}

.stage {
  display: grid;
  place-items: center;
  min-height: 85vh;
  /* padding: 24px; */
  box-sizing: border-box;
  background: #E9ECF0
}

.phone {
  width: 390px;
  height: 844px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  min-height: 0;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(10, 36, 63, .18), 0 4px 14px rgba(10, 36, 63, .08)
}

.header {
  background: var(--white);
  border-bottom: 1px solid #F1F1F2;
  padding: 14px 16px 12px;
  position: sticky;
  top: 0;
  z-index: 10
}

.header-top {
  display: flex;
  align-items: center;
  gap: 10px
}

.back-btn {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: var(--navy);
  border-radius: 8px;
  margin-left: -6px;
  border: none;
  background: transparent
}

.header-title {
  font-size: 15px;
  font-weight: 600;
  flex: 1;
  color: var(--navy)
}

.body {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
  padding: 16px;
  padding-bottom: 120px;
  background: var(--bg)
}

/* Real, indexable heading behind the desktop upload-screen title — kept
   out of layout below the 900px breakpoint where it isn't shown today. */
.magic-quote-title {
  display: none;
}

.hero-img {
  margin: -16px -16px 14px;
  line-height: 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #022E0F 0%, #007736 100%);
}

.hero-banner-img {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1
}

.hero-copy {
  position: absolute;
  top: 42px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: min(76%, 292px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #fff;
  line-height: 1.2;
  pointer-events: none
}

.hero-eyebrow {
  font-size: 13px;
  font-weight: 500;
  opacity: .9;
  margin-bottom: 8px
}

.hero-title {
  font-size: clamp(32px, 8.6vw, 42px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.02;
  white-space: nowrap
}

.hero-spark {
  display: inline-block;
  margin-left: 3px;
  width: .72em;
  height: .72em;
  vertical-align: top;
  transform: translateY(-4px)
}

.hero-pill {
  margin-top: 14px;
  min-width: 112px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #FFE600;
  color: #071D13;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 4px 0 rgba(0, 0, 0, .16)
}

.card {
  background: var(--white);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-soft)
}

.card h2 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -.01em
}

.dz-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px
}

.dz-subtext {
  margin-top: 4px;
  font-size: 11px;
  color: var(--grey);
  font-weight: 500;
  line-height: 1.4;
}

.dz-mobile-helper {
  display: none;
  margin-top: 2px;
  font-size: 11px;
  color: var(--grey);
  font-weight: 500;
  line-height: 1.3;
}

.upload-zone {
  width: 104px;
  height: 104px;
  border: none;
  border-radius: 12px;
  background: transparent;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: .2s;
}

.upload-zone:hover {
  background: transparent
}

.upload-input-hidden {
  display: none
}

.upload-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap
}

.upload-plus {
  width: 104px;
  height: 104px;
  border-radius: 16px;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(10, 36, 63, .18);
  transition: .2s;
  font-size: 28px;
}

.upload-zone:hover .upload-plus {
  transform: scale(1.05) rotate(90deg);
  background: var(--navy-2)
}

.upload-row .upload-text {
  display: none
}

.upload-text {
  flex: 1;
  min-width: 0
}

.upload-text .l1 {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px
}

.upload-text .l2 {
  font-size: 11px;
  color: var(--text-grey);
  line-height: 1.4
}

.upload-tiles {
  display: flex;
  gap: 12px;
  flex-wrap: wrap
}

.utile {
  position: relative;
  width: 84px;
  height: 84px;
  border-radius: 12px;
  overflow: hidden;
  background: #E5E7EB;
  border: 1px solid #E3E7EE;
}

.utile-media {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.utile-media:disabled {
  cursor: default;
}

.utile-ext {
  font-size: 18px;
  font-weight: 700;
  color: #55657D;
}

.utile-x {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(10, 36, 63, .85);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1.5px solid #fff;
  padding: 0;
  z-index: 2;
}

.utile-name-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 6px 8px;
  background: linear-gradient(180deg, rgba(10, 36, 63, 0) 0%, rgba(10, 36, 63, 0.78) 100%);
  color: #fff;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transform: translateY(100%);
  transition: transform .22s ease;
  pointer-events: none;
}

.utile:hover .utile-name-overlay {
  transform: translateY(0);
}

.utile-loader-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.utile-loader {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 4px solid #D7DFEB;
  border-top-color: #0A243F;
  animation: utile-spin 0.85s linear infinite;
}

.utile-loader-percent {
  font-size: 10px;
  font-weight: 600;
  color: #4D5F78;
  line-height: 1;
}

@keyframes utile-spin {
  to {
    transform: rotate(360deg)
  }
}

.upload-extras {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px
}

.mq-upload-sheet .ant-drawer-content {
  border-radius: 20px 20px 0 0;
  overflow: hidden;
}

.mq-upload-sheet.ant-drawer .ant-drawer-content,
.mq-review-drawer.ant-drawer .ant-drawer-content,
.mq-filter-drawer.ant-drawer .ant-drawer-content,
.mq-uploads-drawer.ant-drawer .ant-drawer-content {
  border-radius: 20px 20px 0 0 !important;
  overflow: hidden;
}

.mq-upload-sheet .ant-drawer-body {
  padding: 22px 20px 28px;
  background: #fff;
}

.mq-upload-sheet-grab {
  width: 44px;
  height: 4px;
  border-radius: 999px;
  background: #CED6E0;
  margin: 0 auto 18px;
}

.mq-upload-sheet h3 {
  margin: 0 0 6px;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.mq-upload-sheet p {
  margin: 0 0 24px;
  font-size: 14px;
  line-height: 1.45;
  color: #59677A;
}

.mq-upload-sheet-opt {
  width: 100%;
  min-height: 72px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 12px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid #E5EAF0;
  background: #fff;
  color: var(--navy);
  text-align: left;
  cursor: pointer;
}

.mq-upload-sheet-opt:last-child {
  border-bottom: 0;
}

.mq-upload-sheet-opt .ic {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--navy);
}

.mq-upload-sheet-opt .t {
  min-width: 0;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 800;
  color: var(--navy);
}

.mq-upload-sheet-opt .arr {
  display: grid;
  place-items: center;
  color: #808892;
}

.mq-upload-sheet-opt:active {
  background: #F7FAFF;
}

.extra-field {
  display: flex;
  flex-direction: column;
  gap: 6px
}

.extra-field-label {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: var(--navy) !important;
  line-height: 16px
}

.extra-field-label .sub {
  color: var(--grey);
  font-weight: 400;
  font-size: 10px;
  margin-left: 4px
}

.magic-quote-upload-form .req {
  color: #F0483E;
}

.extra-field-input {
  width: 100%;
  min-height: 40px;
  height: 40px !important;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 13px;
  color: var(--navy);
  line-height: 1.45;
  resize: none;
  overflow: hidden;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
  display: block;
  box-sizing: border-box;
}

.extra-field-input.ant-input:not(.extra-field-note),
.extra-field-input.ant-input-textarea:not(.extra-field-note) textarea {
  min-height: 40px !important;
  height: 40px !important;
  line-height: 20px;
  box-sizing: border-box;
}

.extra-field-note.ant-input {
  min-height: 80px !important;
  max-height: 140px;
  overflow-y: auto;
  resize: vertical;
}

.extra-field-note.mq-item-list-error {
  background: #FFF6F6 !important;
  border-color: #FF4D4F !important;
  box-shadow: none !important;
}

.mq-item-list-error-text {
  color: #ff4d4f;
  font-size: 11px;
  line-height: 1.4;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 12px;
  row-gap: 16px
}

.form-grid .full {
  grid-column: 1 / -1
}

.form-grid .ant-form-item {
  margin-bottom: 0
}

.field label {
  font-size: 11px;
  font-weight: 600;
  color: var(--navy);
  display: block;
  margin-bottom: 5px
}

.field label .req {
  color: #F0483E
}

.form-grid .ant-input {
  height: 40px !important;
  min-height: 40px !important;
  border-radius: 10px;
  border: 1px solid var(--border);
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.4;
  box-sizing: border-box;
}

.form-grid .mq-readonly-location.ant-input[disabled] {
  background: #f3f4f6;
  border-color: var(--border);
  color: #6b7280;
  cursor: default;
  opacity: 1;
}

.form-grid .ant-select {
  width: 100%;
}

.form-grid .ant-select .ant-select-selection-item,
.form-grid .ant-select .ant-select-selection-placeholder {
  width: auto !important;
  max-width: 100%;
  padding-inline-end: 24px !important;
  display: flex;
  align-items: center;
}

.form-grid .ant-select .ant-select-selector {
  height: 40px !important;
  min-height: 40px !important;
  border-radius: 10px !important;
  border: 1px solid var(--border) !important;
  display: flex;
  align-items: center;
  padding: 0 12px !important;
}

.magic-quote-upload-form .form-grid .ant-select.ant-select-single {
  height: 40px !important;
}

.magic-quote-upload-form .form-grid .ant-select.ant-select-single .ant-select-selector {
  height: 40px !important;
  min-height: 40px !important;
}

.magic-quote-upload-form .ant-form-item-explain-error {
  font-size: 11px !important;
  line-height: 1.4 !important;
  color: #ff4d4f !important;
}

.magic-quote-upload-form .ant-form-item-has-error .ant-input,
.magic-quote-upload-form .ant-form-item-has-error .ant-input-affix-wrapper,
.magic-quote-upload-form .ant-form-item-has-error .ant-select-selector {
  background: #FFF6F6 !important;
  border-color: #FF4D4F !important;
  box-shadow: none !important;
}

.form-grid .ant-select .ant-select-arrow {
  top: 0;
  bottom: 0;
  right: 12px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: none;
  pointer-events: none;
  color: #9AA3B2;
}

.planned-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px
}

.planned-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: #FCE8E0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.planned-icon-wrap img {
  width: 30px;
  height: 30px;
  display: block;
}

.planned-title {
  font-size: 14px;
  font-weight: 600;
  color: #0A243F;
  line-height: 1.4
}

.planned-sub {
  font-size: 12px;
  font-weight: 400;
  color: #7C859A;
  line-height: 1.45;
  margin-top: 2px
}

.mq-delivery-warning {
  margin: 10px 0 12px;
  background: #F3473B;
  color: #fff;
  border-radius: 12px;
  min-height: 46px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.mq-delivery-warning-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}

.mq-delivery-warning-sticky {
  position: fixed;
  left: calc((100vw - min(80vw, 1440px)) / 2);
  bottom: 92px;
  width: calc(min(80vw, 1440px) - 24px - 380px);
  z-index: 25;
  box-shadow: 0 8px 24px rgba(243, 71, 59, 0.35);
}

.hiw-card {
  padding: 0;
  overflow: hidden
}

.hiw-summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none
}

.hiw-summary-title {
  font-size: 16px;
  font-weight: 600;
  color: #0A243F;
  letter-spacing: -.01em
}

.hiw-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  /* padding-top: 16px */
}

.hiw-step {
  display: flex;
  align-items: center;
  gap: 14px
}

.hiw-num {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--navy);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 600
}

.hiw-title {
  font-size: 14px;
  font-weight: 600;
  color: #0A243F;
  line-height: 1.4
}

.hiw-sub {
  font-size: 12px;
  font-weight: 400;
  color: #7C859A;
  line-height: 1.45;
  margin-top: 2px
}

.sticky-foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 16px 16px;
  background: transparent;
  z-index: 10
}

.btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  border-radius: 12px;
  padding: 14px;
  border: none;
  height: auto
}

.btn svg {
  margin-left: 8px
}

.gen-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  /* padding:16px 20px 24px; */
  text-align: center;
  background: radial-gradient(circle at 50% 28%, #EAF7EE 0%, var(--bg) 60%);
}

.gen-warn {
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 18px;
  border-radius: 12px;
  background: #FFF6E0;
  border: 1px solid #FCE3A6;
  color: #8B5A00;
  line-height: 1.4;
  text-align: center;
  max-width: 300px
}

.gen-warn .l1 {
  font-size: 12px;
  font-weight: 600
}

.gen-warn .l2 {
  font-size: 11px;
  font-weight: 500;
  opacity: .85
}

.doc-frame {
  width: 180px;
  height: 220px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(10, 36, 63, .18);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-lt);
  margin-top: 18px
}

.doc-frame .lines {
  padding: 18px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px
}

.doc-frame .doc-hdr {
  font-family: 'Caveat', cursive !important;
  font-size: 18px;
  font-weight: 500;
  color: #3a3a3a;
  line-height: 1;
  margin-bottom: 14px;
  letter-spacing: .01em;
}

.mq-delete-confirm-modal .ant-modal-content {
  border-radius: 24px;
  padding: 28px 30px 30px;
  box-shadow: 0 24px 60px rgba(10, 36, 63, .24);
}

.mq-delete-confirm-modal .ant-modal-close {
  display: none;
}

.mq-delete-confirm-modal .confirm-sheet h3 {
  margin: 0 0 6px;
  color: #0A243F;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
}

.mq-delete-confirm-modal .confirm-sheet .sub {
  margin: 0 0 20px;
  color: #67696D;
  font-size: 12px;
  line-height: 1.4;
}

.mq-delete-confirm-modal .confirm-preview {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 82px;
  padding: 12px;
  border: 1px solid #DDE2E8;
  border-radius: 12px;
  background: #FAFBFC;
}

.mq-delete-confirm-modal .confirm-preview .img {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #E3E7EE;
  border-radius: 10px;
  background: #FFFFFF;
}

.mq-delete-confirm-modal .confirm-preview .img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mq-delete-confirm-modal .confirm-preview .meta {
  min-width: 0;
}

.mq-delete-confirm-modal .confirm-preview .nm {
  color: #0A243F;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.mq-delete-confirm-modal .confirm-preview .px {
  margin-top: 3px;
  color: #67696D;
  font-size: 11px;
}

.mq-delete-confirm-modal .confirm-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}

.mq-delete-confirm-modal .confirm-actions button {
  height: 40px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.mq-delete-confirm-modal .confirm-actions .cancel {
  border: 1px solid #CBD3DE;
  color: #0A243F;
  background: #FFFFFF;
  height: 48px;
}

.mq-delete-confirm-modal .confirm-actions .delete {
  border: 1px solid #F0443E;
  color: #FFFFFF;
  background: #F0443E;
  height: 48px;
}

.mq-delete-confirm-modal .confirm-actions button:disabled {
  cursor: not-allowed;
  opacity: .65;
}

.mq-delete-confirm-drawer .ant-drawer-content {
  border-radius: 20px 20px 0 0;
  overflow: hidden;
}

.mq-delete-confirm-drawer .confirm-sheet {
  padding: 24px 20px calc(20px + env(safe-area-inset-bottom));
}

.mq-delete-confirm-drawer .confirm-sheet h3 {
  margin: 0 0 6px;
  color: #0A243F;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
}

.mq-delete-confirm-drawer .confirm-sheet .sub {
  margin: 0 0 20px;
  color: #67696D;
  font-size: 13px;
  line-height: 1.4;
}

.mq-delete-confirm-drawer .confirm-preview {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 82px;
  padding: 12px;
  border: 1px solid #DDE2E8;
  border-radius: 12px;
  background: #FAFBFC;
}

.mq-delete-confirm-drawer .confirm-preview .img {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  overflow: hidden;
  border: 1px solid #E3E7EE;
  border-radius: 10px;
  background: #FFFFFF;
}

.mq-delete-confirm-drawer .confirm-preview .img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mq-delete-confirm-drawer .confirm-preview .meta {
  min-width: 0;
}

.mq-delete-confirm-drawer .confirm-preview .nm {
  color: #0A243F;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.mq-delete-confirm-drawer .confirm-preview .px {
  margin-top: 3px;
  color: #67696D;
  font-size: 12px;
}

.mq-delete-confirm-drawer .confirm-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}

.mq-delete-confirm-drawer .confirm-actions button {
  height: 48px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
}

.mq-delete-confirm-drawer .confirm-actions .cancel {
  border: 1px solid #CBD3DE;
  color: #0A243F;
  background: #FFFFFF;
}

.mq-delete-confirm-drawer .confirm-actions .delete {
  border: 1px solid #F0443E;
  color: #FFFFFF;
  background: #F0443E;
}

.mq-delete-confirm-drawer .confirm-actions button:disabled {
  opacity: .65;
}

@media (max-width: 575px) {
  .mq-delete-confirm-modal {
    max-width: calc(100vw - 32px);
  }

  .mq-delete-confirm-modal .ant-modal-content {
    padding: 24px 20px;
    border-radius: 20px;
  }
}

.doc-frame .row {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 16px
}

.doc-frame .cbox {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  border: 1px solid #DADADA;
  background: #fff;
  flex-shrink: 0
}

.doc-frame .bar {
  height: 8px;
  border-radius: 2px;
  background: #F1F1F1
}

.doc-frame .bar.b1 {
  width: 78%
}

.doc-frame .bar.b2 {
  width: 82%
}

.doc-frame .bar.b3 {
  width: 53%
}

.doc-frame .bar.b4 {
  width: 35%
}

.doc-frame .bar.b5 {
  width: 42%
}

.doc-frame .bar.b6 {
  width: 53%
}

.scan {
  position: absolute;
  left: -10%;
  right: -10%;
  height: 22px;
  background: linear-gradient(180deg, rgba(55, 189, 104, 0) 0%, rgba(55, 189, 104, .35) 50%, rgba(55, 189, 104, 0) 100%);
  box-shadow: 0 0 12px rgba(55, 189, 104, .55);
  animation: scan 1.8s ease-in-out infinite;
  top: 0
}

@keyframes scan {
  0% {
    top: -10%;
    opacity: .2
  }

  50% {
    top: 85%;
    opacity: 1
  }

  100% {
    top: -10%;
    opacity: .2
  }
}

.gen-title {
  font-size: 20px;
  font-weight: 800;
  margin: 28px 0 4px;
  color: #0A243F
}

.gen-sub {
  font-size: 13px;
  color: var(--text-grey);
  margin: 0 0 22px;
  max-width: 280px;
  line-height: 1.5
}

.progress {
  width: 100%;
  max-width: 260px;
  height: 6px;
  border-radius: 3px;
  background: #E6ECF3;
  overflow: hidden
}

.progress>span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #007937, #37BD68);
  border-radius: 3px;
  animation: gen-fill 4s linear forwards
}

@keyframes gen-fill {
  from {
    width: 0
  }

  to {
    width: 100%
  }
}

.gen-steps.gen-steps-single {
  margin-top: 14px;
  min-height: 20px
}

.gen-steps .step {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 1;
  color: #007937;
  font-weight: 600
}

.gen-steps .tick {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid #007937;
  position: relative
}

.gen-steps .tick::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #007937
}

.gen-steps .step-label {
  transition: opacity .22s ease;
  text-transform: capitalize;
}

.gen-steps .step-label.is-fading {
  opacity: .15
}

.gen-demo-link {
  margin-top: 18px;
  background: none;
  border: none;
  color: #6f737b;
  text-decoration: underline;
  font-size: 11px;
  cursor: pointer;
}

.locked-bar {
  height: 32px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  background: #E9FAF2;
  color: #285B2C;
  border-bottom: 1px solid #D6F0E1;
  font-size: 12px;
  gap: 10px;

}

.mq-rfq-generated-note {
  background: transparent;
  margin: 0 -16px 0px;
  padding: 14px 16px 16px;
}

.mq-rfq-generated-note h2 {
  margin: 0;
  color: var(--navy);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
}

.mq-rfq-generated-note p {
  margin: 4px 0 0;
  color: #7C859A;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}

.quote-top {
  background: var(--white);
  padding: 14px 16px 16px;
  border-bottom: 1px solid #F1F1F2;
  margin: 0 -16px 16px
}

.quote-top .row1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px
}

.quote-top .qtitle {
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
  line-height: 24px;
  letter-spacing: -.01em
}

.quote-top .status-tag {
  background: #F5F5F5;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 600;
  color: var(--navy);
  line-height: 15px;
  letter-spacing: .01em
}

.quote-top .meta {
  margin-top: 2px;
  font-size: 12px;
  font-weight: 500;
  color: var(--navy);
  line-height: 18px
}

.quote-top .meta .sep {
  color: #8A8A8A;
  margin: 0 6px;
  font-weight: 400
}

.quote-top .meta .time {
  color: #8A8A8A;
  font-weight: 500
}

.quote-top .loc {
  margin-top: 12px;
  background: #F5F5F5;
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  align-items: baseline;
  gap: 8px
}

.quote-top .loc .city {
  font-size: 14px;
  font-weight: 800;
  color: var(--navy);
  line-height: 20px
}

.quote-top .loc .pin {
  font-size: 10px;
  font-weight: 400;
  color: var(--navy);
  line-height: 14px
}

.quote-top .ai-disclaimer {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  background: linear-gradient(to right, #FFE9D8 0%, #FFFFFF 100%);
  border-radius: 12px;
  font-size: 12px;
  line-height: 18px;
  color: var(--navy);
  font-weight: 400
}

.quote-top .ai-disclaimer .ai-star {
  flex-shrink: 0;
  display: block
}

.total-card {
  margin: 0 0 12px;
  border-radius: 12px;
  padding: 18px 18px 16px;
  background: linear-gradient(135deg, #012D0E, #007937);
  color: #fff
}

.total-card {
  position: relative;
  overflow: hidden
}

.total-card .ai-glyph {
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(55, 189, 104, .5) 0%, transparent 70%);
}

.sku-check-banner {
  display: flex;
  justify-content: center;
  margin: -18px -18px 16px;
  padding: 11px 14px;
  background: linear-gradient(180deg, rgba(255, 235, 160, .22), rgba(255, 235, 160, .10));
  border-bottom: 1px solid rgba(255, 235, 160, .28)
}

.sku-check-text {
  font-size: 13px;
  font-weight: 700;
  color: #FFE600
}

.total-card .label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
  opacity: .75
}

.total-card .amt-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap
}

.total-card .amt {
  font-size: 30px;
  font-weight: 800
}

.total-card .gst {
  font-size: 12px;
  opacity: .85
}

.total-card .badge {
  margin-left: auto;
  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .25);
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600
}

.savings-burst {
  margin-top: 14px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.savings-burst::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 230, 0, .15), transparent);
  animation: shimmer 2.4s ease-in-out infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%)
  }

  100% {
    transform: translateX(100%)
  }
}

.savings-burst .icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #FFE600, #FFB800);
  color: var(--navy);
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 10px rgba(255, 184, 0, .4);
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-3px)
  }
}

.savings-burst .text {
  font-size: 12px
}

.savings-burst .text b {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #FFE600
}

.savings-burst.pop {
  animation: savings-pop .55s cubic-bezier(.34, 1.6, .64, 1)
}

.nomatch-summary {
  background: #FDECEA;
  border: 1px solid rgba(210, 59, 48, .22);
  border-radius: 12px;
  padding: 13px 15px;
  /* margin: 0 0 14px */
}

.nms-title {
  font-size: 13px;
  font-weight: 800;
  color: #C23A30;
  letter-spacing: -.01em;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 4px
}

.nms-title span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0
}

.nms-body {
  font-size: 12px;
  color: var(--navy);
  line-height: 1.5
}

@keyframes savings-pop {
  0% {
    transform: scale(1)
  }

  40% {
    transform: scale(1.04)
  }

  100% {
    transform: scale(1)
  }
}

.add-item {
  width: 100%;
  min-height: 46px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #fff;
  border: 1.5px dashed var(--border);  
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 12px;
  color: var(--blue);
}

.add-item:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-tint);
}

.add-picker {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-soft);
  overflow: hidden
}

.add-picker-h {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border-lt);
  background: #FAFBFC
}

.add-picker-input {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--blue);
  border-radius: 10px;
  padding: 0 10px;
  height: 40px
}

.add-picker-input input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-size: 13px;
  color: var(--navy)
}

.add-picker-input input::placeholder {
  color: #9CA3AF
}

.add-picker-close {
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  color: #808892;
  font-size: 20px;
  line-height: 1;
  cursor: pointer
}

.add-picker-results {
  max-height: 350px;
  overflow-y: auto
}

.pick-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  cursor: pointer;
  border-bottom: 1px solid #F4F5F7
}

.pick-row:last-child {
  border-bottom: none
}

.pick-row-img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--bg);
  flex-shrink: 0;
  overflow: hidden
}

.pick-row-img img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.pick-row-body {
  flex: 1;
  min-width: 0
}

.pick-row-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}

.pick-row-meta {
  font-size: 11px;
  color: var(--text-grey);
  margin-top: 2px
}

.pick-row-meta .brand {
  color: var(--navy);
  font-weight: 600
}

.pick-row-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  text-align: right;
  flex-shrink: 0;
  white-space: nowrap
}

.pick-row-price .mrp {
  display: block;
  font-size: 10px;
  font-weight: 400;
  color: #B5B5B5;
  text-decoration: line-through;
  margin-bottom: 1px
}

.pick-row-add {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  flex-shrink: 0;
  background: var(--blue);
  color: #fff;
  border: none;
  font-size: 26px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center
}

.item {
  background: #fff;
  border-radius: 12px;
  padding: 0 14px 14px;
  margin-bottom: 10px;
  box-shadow: var(--shadow-soft);
  overflow: hidden
}

.item-req {
  min-height: 46px;
  margin: 0 -14px 14px;
  padding: 12px 18px;
  border-bottom: 1px solid #E5E7EB;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px
}

.item-req .req-text {
  flex: 1;
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  color: #8A8A8A;
  font-size: 12px;
  line-height: 18px
}

.item-req .req-label {
  flex-shrink: 0;
  font-weight: 600;
  color: #67696D
}

.item-req .req-value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: #000;
  font-weight: 600;
}

.item-req .req-status {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  padding: 4px 9px;
  border-radius: 999px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px
}

.item-req .req-status span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor
}

.req-status.is-matched {
  background: #E7F7EE;
  color: #1E9E54
}

.req-status.is-similar {
  background: #FFF3DC;
  color: #C5882B
}

.req-status.is-not-matched {
  background: #FDEBE8;
  color: #E34236
}

.item-no-match-row {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 42px
}

.item-no-match-text {
  color: #8A8A8A;
  font-size: 12px;
  line-height: 20px
}

.item.swap-open {
  border: 1.5px solid var(--navy);
  box-shadow: 0 4px 18px rgba(10, 36, 63, .10), 0 1px 3px rgba(10, 36, 63, .06);
}

.item-row {
  display: flex;
  gap: 10px;
  align-items: flex-start
}

.item-num {
  font-size: 14px;
  font-weight: 800;
  color: var(--navy);
  min-width: 14px;
  line-height: 20px
}

.item-img {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  /* background: var(--bg); */
  flex-shrink: 0;
  overflow: hidden
}

.item-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.item-info {
  flex: 1;
  min-width: 0
}

.item-name-row {
  display: flex;
  align-items: flex-start;
  gap: 6px
}

.item-name {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--navy);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.item-unit {
  font-size: 12px;
  color: var(--grey);
  margin-top: 2px
}
.item-tax {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-grey);
}
.item-price {
  font-size: 14px;
  font-weight: 800;
  color: var(--navy);
  white-space: nowrap
}

.item-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px
}

.item-actions-left {
  display: flex;
  align-items: center;
  gap: 8px
}

.locked-bar .lbl {
  font-size: 12px;
  font-weight: 500;
  line-height: 18px;
  color: #285B2C;
  flex: 1;
}

.remove-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 12px;
  color: var(--text-grey);
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--bg);
  border: none;
  transition: .15s;
}

.remove-btn:hover {
  background: #FFE9E7;
  color: #F0483E
}

.remove-btn.icon-only {
  width: 36px;
  height: 36px;
  padding: 0;
  gap: 0
}

.remove-btn.icon-only svg {
  width: 14px;
  height: 14px
}

.change-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 36px;
  padding: 0 12px;
  font-size: 12px;
  color: var(--navy);
  font-weight: 600;
  border-radius: 12px;
  background: var(--bg);
  border: none;
  transition: .15s
}

.change-btn svg {
  width: 13px;
  height: 13px
}

.change-btn:hover {
  background: #E6F0FE;
  color: #0360E5
}

.item.swap-open .change-btn {
  background: var(--navy);
  color: #fff
}

.qty-pill {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  height: 36px
}

.qty-pill button {
  width: 36px;
  height: 36px;
  border: none;
  background: none
}

.qty-pill input {
  width: 44px;
  height: 36px;
  text-align: center;
  border: none;
  outline: none;
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  background: transparent
}

.item-swap-section {
  display: block;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin: 0 -14px;
  padding: 0 14px;
  background: linear-gradient(180deg, #FFECDC 0%, #FFF8E1 100%);
  border-top: 1px dashed transparent;
  border-radius: 0 0 12px 12px;
  transition: max-height .32s ease, opacity .22s ease, padding .32s ease, margin-top .32s ease, margin-bottom .32s ease;
}

.item.swap-open>.item-swap-section {
  max-height: 900px;
  opacity: 1;
  overflow: visible;
  margin: 6px -14px -14px;
  padding: 12px 14px 14px;
  border-top-color: #F0D9B8;
  border-radius: 0 0 20px 20px;
}

.swap-section-h {
  font-size: 11px;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.swap-section-h-label {
  flex: 1;
  min-width: 0
}

.swap-close {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  border: 1px solid var(--navy);
  color: #fff;
  flex-shrink: 0;
  cursor: pointer;
  line-height: 0;
  transition: .15s;
}

.swap-close:hover {
  background: #1a3854;
  border-color: #1a3854
}

.swap-filter-shell {
  position: relative;
  margin-bottom: 10px;
  z-index: 12;
}

.swap-filters {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
}

.swap-filters::-webkit-scrollbar {
  display: none;
}

.swap-filters .chip {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #DEDEDE;
  font-size: 12px;
  font-weight: 500;
  color: var(--navy);
  line-height: 18px;
  white-space: nowrap;
  cursor: pointer;
  transition: .15s;
}

.swap-filters .chip:hover {
  border-color: var(--navy)
}

.swap-filters .chip svg {
  width: 12px;
  height: 12px
}

.chip-dropdown-wrap {
  flex: 0 0 auto;
}

.swap-filters .chip.active {
  border-color: var(--blue);
  color: var(--blue);
  background: #f8fbff;
}

.chip-badge {
  min-width: 16px;
  height: 16px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 10px;
  line-height: 16px;
  text-align: center;
}

.chip-chevron {
  transition: transform .15s ease;
}

.chip-chevron.open {
  transform: rotate(180deg);
}

.chip-dropdown {
  position: absolute;
  top: 40px;
  z-index: 30;
  width: 260px;
  max-height: 240px;
  overflow-y: auto;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid #dfe5ee;
  background: #fff;
  box-shadow: 0 10px 26px rgba(10, 36, 63, .12);
}

.chip-dropdown-opt {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 34px;
  padding: 7px 8px;
  border-radius: 8px;
  color: var(--navy);
  font-size: 12px;
  line-height: 16px;
  cursor: pointer;
}

.chip-dropdown-opt:hover {
  background: #f5f8fc;
}

.chip-dropdown-opt input {
  margin: 0;
  width: 14px;
  height: 14px;
}

.chip-dropdown-opt span:nth-child(2) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chip-dropdown-count {
  color: #7c859a;
  font-size: 11px;
}

.checkout-foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 16px 16px;
  background: #fff;
  border-top: 1px solid var(--border-lt);
  box-shadow: 0 -8px 20px rgba(10, 36, 63, .06);
  display: flex;
  align-items: center;
  gap: 10px
}

.checkout-foot .ttl {
  flex: 1
}

.checkout-foot .ttl .l {
  font-size: 10px;
  color: var(--text-grey);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 600
}

.checkout-foot .ttl .v {
  font-size: 24px;
  font-weight: 800;
  color: var(--navy)
}

.checkout-foot .btn {
  width: auto;
  flex: 1.4;
  padding: 13px 18px;
  font-size: 14px
}

.unread-empty {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-soft);
  padding: 40px 24px 28px;
  text-align: center
}

.desktop-heading {
  display: none
}

.desktop-heading .h1-text {
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -.02em;
  line-height: 1.25
}

.ai-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0
}

.ai-tag svg {
  display: block;
  height: 22px;
  width: auto
}

.status-tag.review-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #FFF6E0;
  color: #8A5A00
}

.status-tag.review-tag svg {
  width: 10px;
  height: 10px
}

.unread-empty .ue-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px
}

.unread-empty .ue-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 10px
}

.unread-empty .ue-sub {
  font-size: 14px;
  color: var(--text-grey);
  line-height: 1.55;
  margin: 0 auto 16px;
  max-width: 420px
}

.unread-actions {
  display: flex;
  flex-direction: column;
  gap: 10px
}

.unread-actions .ue-help-title {
  margin: 0;
  color: var(--navy);
  font-size: 16px !important;
  font-weight: 600;
  line-height: 1.2;
}

.unread-actions .ue-help-sub {
  margin: 0;
  color: #4F6073;
  font-size: 13px !important;
  font-weight: 400;
  line-height: 1.45;
}

.unread-actions .ue-act {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none
}

.unread-actions .ue-act.whatsapp {
  background: #37BD68;
  color: #fff;
  border: 1.5px solid #37BD68
}

.mq-review-modal .ant-modal-content {
  border-radius: 20px;
  padding: 20px 24px 18px;
}

.mq-review-drawer .ant-drawer-content {
  border-radius: 20px 20px 0 0;
  overflow: hidden;
}

.mq-review-drawer .ant-drawer-body {
  padding: 20px 22px 22px;
}

.mq-review-head h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--navy);
}

.mq-review-head p {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: #67696D;
}

.mq-review-body {
  margin-top: 14px;
}

.mq-review-note {
  margin-top: 16px;
}

.mq-review-note-input.ant-input {
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--navy);
  font-size: 14px;
  line-height: 1.45;
  min-height: 92px;
  padding: 12px 14px;
  resize: vertical;
}

.mq-review-note-input.ant-input:focus,
.mq-review-note-input.ant-input-focused {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(3, 96, 229, .1);
}

.mq-review-loading,
.mq-review-error {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
}

.mq-review-error p {
  margin: 0;
  color: #67696D;
  font-size: 13px;
}

.mq-review-q {
  padding: 14px 0;
  border-top: 1px solid var(--border-lt);
}

.mq-review-q:first-child {
  border-top: 1px solid var(--border-lt);
}

.mq-review-q-label {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--navy);
}

.mq-review-required {
  color: #ff4d4f;
}

.mq-review-radio-group {
  width: 100%;
  display: flex;
  gap: 10px;
}

.mq-review-radio-group .ant-radio-button-wrapper {
  flex: 1;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--navy);
}

.mq-review-radio-group .ant-radio-button-wrapper::before {
  display: none !important;
}

.mq-review-radio-group .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled) {
  border-color: var(--blue);
  color: var(--blue);
  background: #EEF4FF;
  box-shadow: none;
}

.mq-review-actions {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}

.mq-review-cancel.ant-btn {
  height: 48px;
  min-width: 120px;
  border-radius: 12px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
}

.mq-review-submit.ant-btn {

  height: 48px;
  min-width: 160px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.mq-filter-modal .ant-modal-content {
  border-radius: 20px;
  overflow: hidden;
  padding: 0 !important;
}

.mq-filter-drawer .ant-drawer-content {
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  padding: 0 !important;
}

.mq-filter-modal .ant-modal-body,
.mq-filter-drawer .ant-drawer-body {
  padding: 0 !important;
}

.mq-filter-modal .ant-modal-content {
  border-radius: 16px;
}

/* ── Filter Sheet (wireframe layout) ─────────────────────── */
.sheet.filter-sheet {
  display: flex;
  flex-direction: column;
  height: 540px;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
}

.fs-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 14px;
  border-bottom: 1px solid #eceff3;
  flex-shrink: 0;
}

.fs-head h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #0a243f;
}

.fs-close {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #1f334b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
}

.fs-body {
  display: grid;
  grid-template-columns: 38% 62%;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.fs-cats {
  background: #F1F1F2;
  border-right: 1px solid #eceff3;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  min-height: 0;
}

.fs-cat {
  height: 46px;
  text-align: left;
  padding: 0 16px;
  border: 0;
  background: transparent;
  color: #0A243F;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  border-left: 3px solid transparent;
  transition: background 0.15s, color 0.15s;
}

.fs-cat.is-active {
  background: #fff;
  color: #1d5deb;
  border-left-color: #1d5deb;
}

.fs-cat .count {
  background: #1d5deb;
  color: #fff;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.fs-pane {
  overflow-y: auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  scrollbar-width: thin;
  scrollbar-color: #c4cdd8 transparent;
}

.fs-pane::-webkit-scrollbar {
  width: 8px;
}

.fs-pane::-webkit-scrollbar-track {
  background: #f0f2f5;
  border-radius: 4px;
}

.fs-pane::-webkit-scrollbar-thumb {
  background: #c4cdd8;
  border-radius: 4px;
}

.fs-pane::-webkit-scrollbar-thumb:hover {
  background: #a0acba;
}

.fs-pane-content {
  padding: 12px 14px;
}

.fs-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f3f5f8;
  border: 1px solid #e0e5ee;
  border-radius: 8px;
  padding: 7px 10px;
  margin-bottom: 10px;
  height: 38px;
}

.fs-search svg {
  color: #7e8fa2;
  flex-shrink: 0;
}

.fs-search input {
  border: 0;
  background: transparent;
  outline: none;
  font-size: 13px;
  color: #0a243f;
  width: 100%;
}

.fs-search input::placeholder {
  color: #aab3bf;
}

#fsBrandList {
  display: flex;
  flex-direction: column;
}

.fs-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 4px;
  cursor: pointer;
  border-bottom: 1px solid #f3f5f8;
  user-select: none;
}

.fs-opt:last-child {
  border-bottom: 0;
}

.fs-opt .cb {
  width: 20px;
  height: 20px;
  border: 2px solid #c8d0db;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s, border-color 0.15s;
  background: #fff;
}

.fs-opt .cb svg {
  width: 12px;
  height: 12px;
  stroke: transparent;
  transition: stroke 0.15s;
}

.fs-opt.is-checked .cb {
  background: #1d5deb;
  border-color: #1d5deb;
}

.fs-opt.is-checked .cb svg {
  stroke: #fff;
}

.fs-opt .nm {
  font-size: 14px;
  color: #0A243F;
  flex: 1;
  line-height: 1.35;
}

.fs-opt.is-checked .nm {
  color: #1d5deb;
  font-weight: 600;
}

.fs-empty {
  padding: 24px 8px;
  font-size: 13px;
  color: #9aa5b2;
  text-align: center;
}

.fs-foot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 12px 16px;
  border-top: 1px solid #eceff3;
  flex-shrink: 0;
}

.fs-foot .clear,
.fs-foot .apply {
  height: 48px;
  border-radius: 10px;
  border: 1px solid #d7dfeb;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.fs-foot .clear {
  color: #1d5deb;
}

.fs-foot .apply {
  color: #fff;
  background: #1d5deb;
  border-color: #1d5deb;
}

@media (max-width: 767px) {
  .sheet.filter-sheet {
    min-height: unset;
    height: 100%;
    border-radius: 20px 20px 0 0;
  }

  .fs-body {
    grid-template-columns: 40% 60%;
  }
}

.mq-filter-layout {
  display: grid;
  grid-template-columns: 38% 62%;
  min-height: 470px;
  border-top: 1px solid #eceff3;
}

.uploads-summary-row {
  margin-top: 10px;
  border-radius: 10px;
  background: #f5f7fa;
  border: 1px solid #e5e9f0;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.uploads-summary-row .us-ic {
  color: #4f6073;
  line-height: 0;
}

.uploads-summary-row .us-text {
  flex: 1;
}

.uploads-summary-row .us-title {
  font-size: 14px;
  font-weight: 600;
  color: #0a243f;
}

.uploads-summary-row .us-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: #1d5deb;
}
.note-merge .ai-disclaimer {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    background: transparent;
    border-bottom: 1px solid var(--border-lt);
    font-size: 12px;
    line-height: 18px;
    color: var(--navy);
    font-weight: 400;
    font-style: normal;
}
.order-note {
  align-items: center;  
  display: flex;
  gap: 14px;  
  min-height: 100px;
  overflow: hidden;
  padding: 12px 24px 0;
}

.order-note .on-img {
  align-self: flex-end;
  display: block;
  flex-shrink: 0;
  height: auto;
  margin-bottom: -1px;
  width: 88px;
}

.order-note .on-text {
  color: var(--navy);
  flex: 1;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  padding-bottom: 0px;
}

.order-note .on-text b {
  color: var(--navy);
  display: block;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.25;
  margin-bottom: 2px;
}
.note-merge {
    border: 1px solid rgba(3, 96, 229, .18);
    border-radius: 20px;
    overflow: hidden;
    margin: 0 0 14px;
    background: linear-gradient(to right, #FFE9D8 0%, #FFFFFF 100%);
}
.uploads-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 23, 39, 0.45);
  z-index: 1300;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.uploads-drawer {
  width: min(860px, calc(100% - 24px));
  max-height: 82vh;
  background: #fff;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
}

.uploads-drawer-grab {
  width: 44px;
  height: 4px;
  border-radius: 999px;
  background: #d0d6df;
  margin: 10px auto 8px;
}

.uploads-drawer-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px 12px;
  border-bottom: 1px solid #edf1f6;
}

.uploads-drawer-h h3 {
  margin: 0;
  color: #0a243f;
  font-size: 20px;
  font-weight: 700;
}

.uploads-drawer-close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: #f2f5f9;
  color: #1f334b;
  cursor: pointer;
}

.uploads-drawer-body {
  max-height: calc(82vh - 74px);
  overflow-y: auto;
  padding: 14px 16px 16px;
}

.uploads-section-h {
  font-size: 14px;
  font-weight: 700;
  color: #1f334b;
  margin-bottom: 10px;
}

.uploads-files-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 12px;
}

.uploads-preview-button,
.uploads-file-button {
  align-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: flex;
  height: 100%;
  justify-content: center;
  margin: 0;
  padding: 0;
  width: 100%;
}

.uploads-preview-image {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.mq-upload-preview-modal .ant-modal-body {
  padding: 0;
}

.mq-upload-preview-full {
  display: block;
  max-height: min(72vh, 720px);
  object-fit: contain;
  width: 100%;
}

.mq-rate-limit-modal .ant-modal-content {
  border-radius: 30px;
  padding: 46px 52px 44px;
}
.mq-rate-limit-drawer
{
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
}

.mq-rate-limit-drawer.ant-drawer .ant-drawer-content {
  border-radius: 24px 24px 0 0 !important;
  overflow: hidden;
}

.mq-rate-limit-drawer .ant-drawer-header {
  border-bottom: none;
  min-height: auto;
  padding: 12px 16px 0;
}

.mq-rate-limit-drawer .ant-drawer-close {
  position: absolute;
  top: 12px;
  right: 12px;
  left: auto;
  margin: 0;
  color: #0A243F;
}

.mq-rate-limit-drawer .ant-drawer-body {
  padding: 0 24px 32px;
  background: #fff;
}


.mq-rate-limit-modal .ant-modal-close {
  color: #0b2540;
  height: 44px;
  right: 26px;
  top: 24px;
  width: 44px;
}

.mq-rate-limit-modal .ant-modal-close-x {
  align-items: center;
  display: flex;
  font-size: 14px;
  height: 44px;
  justify-content: center;
  line-height: 1;
  width: 44px;
}

.mq-rate-limit-modal .ant-modal-body {
  padding: 0;
}

.mq-rate-limit-content {
  align-items: center;
  color: #12263a;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.mq-rate-limit-image-bg {
  align-items: center;
  background: #fcdacc;
  border-radius: 50%;
  display: flex;
  height: 120px;
  justify-content: center;
  margin-bottom: 38px;
  width: 120px;
}

.mq-rate-limit-image {
  aspect-ratio: 1 / 1;
  display: block;
  height: 72px;
  object-fit: contain;
  width: 72px;
}

.mq-rate-limit-content h2 {
  color: #0A243F;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.18;
  margin: 0 0 18px;
}

.mq-rate-limit-content p {
  color: #0A243F;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
  margin: 0;
  max-width: 700px;
}

.uploads-note {
  border-radius: 10px;
  border: 1px solid #e5e9f0;
  background: #fafbfd;
  padding: 10px 12px;
  color: #334a62;
  font-size: 13px;
  line-height: 1.45;
}

@media (max-width: 767px) {
  .uploads-drawer {
    width: 100%;
    max-height: 86vh;
    border-radius: 20px 20px 0 0;
  }

  .uploads-drawer-h h3 {
    font-size: 18px;
  }

  .mq-uploads-drawer .ant-drawer-body {
    padding: 0;
  }

  .mq-uploads-drawer .uploads-drawer-body {
    max-height: none;
    padding: 16px;
  }

  .mq-uploads-drawer .uploads-files-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mq-uploads-drawer .utile {
    width: 100%;
    aspect-ratio: 1;
    height: auto;
  }

  .mq-uploads-drawer .utile-name-overlay {
    transform: translateY(0);
    pointer-events: none;
  }

  .mq-rate-limit-modal {
    max-width: calc(100vw - 32px);
  }

  .mq-rate-limit-modal .ant-modal-content {
    border-radius: 22px;
    padding: 36px 22px 34px;
  }

  .mq-rate-limit-modal .ant-modal-close {
    right: 12px;
    top: 10px;
  }

  .mq-rate-limit-image-bg {
    height: 104px;
    margin-bottom: 28px;
    width: 104px;
  }

  .mq-rate-limit-image {
    height: 64px;
    width: 64px;
  }

  .mq-rate-limit-content h2 {
    font-size: 22px;
    margin-bottom: 14px;
  }

  .mq-rate-limit-content p {
    font-size: 16px;
    max-width: 100%;
  }
}

/* Keep quantity control neutral on Magic Quote item cards */
.magic-quote-page-root .item .addQuantityParent {
  width: 170px;
  height: 44px;
  margin-top: 0;
  border-radius: 16px;
  /* border: 1px solid #bec8d6 !important; */
  background: transparent !important;
}

.magic-quote-page-root .item .addRemoveItemComponent {
  height: 44px !important;
  border-radius: 16px;
  border: 1px solid #bec8d6;
  background: #fff;
}

.magic-quote-page-root .item .addCartButton span,
.magic-quote-page-root .item .addCartButton {
  color: #0a243f !important;
}

.magic-quote-page-root .item .quantityNumber {
  background: #fff !important;
  color: #0a243f !important;
}

.mq-filter-tabs {
  background: #f3f5f8;
  border-right: 1px solid #eceff3;
  display: flex;
  flex-direction: column;
}

.mq-filter-tab {
  height: 44px;
  text-align: left;
  padding: 0 20px;
  border: 0;
  background: transparent;
  color: #8b97a7;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.mq-filter-tab.active {
  background: #fff;
  color: #1d5deb;
  border-left: 3px solid #1d5deb;
}

.mq-filter-options {
  max-height: 470px;
  overflow-y: auto;
  padding: 12px 18px;
}

.mq-filter-option {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 17px;
  color: #4a5668;
  padding: 12px 0;
}

.mq-filter-option input {
  width: 22px;
  height: 22px;
}

.mq-filter-actions {
  border-top: 1px solid #eceff3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 14px 18px;
}

.mq-filter-clear,
.mq-filter-apply {
  height: 54px;
  border-radius: 12px;
  border: 1px solid #d7dfeb;
  background: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.mq-filter-clear {
  color: #1d5deb;
}

.mq-filter-apply {
  color: #fff;
  border-color: #1d5deb;
  background: #1d5deb;
}

@media (max-width: 767px) {
  .mq-filter-layout {
    grid-template-columns: 42% 58%;
    min-height: 56vh;
  }

  .mq-filter-options {
    max-height: 56vh;
  }
}


.mq-success-screen {
  width: min(800px, calc(100% - 32px));
  margin: 28px auto 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.phone[data-screen="success"] {
  background: #fff;
}

.mq-success-check-wrap {
  width: 104px;
  height: 104px;

  border-radius: 50%;
  /* border: 2px solid #BDE8CA; */
  display: grid;
  place-items: center;
  animation: successPop .55s cubic-bezier(.34, 1.56, .64, 1) both;



}

.mq-success-check {
  width: 96px;
  height: 96px;
  border-radius: 999px;
  background: #37BD68;
  color: #fff;
  position: relative;
  display: grid;
  place-items: center;
}

.mq-success-check::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid #37BD68;
  opacity: 0;
  animation: successRing 1.8s ease-out .25s infinite;
}

.mq-success-check svg {
  width: 44px;
  height: 44px;
}

@keyframes successRing {
  0% {
    opacity: .55;
    transform: scale(0.92);
  }

  70% {
    opacity: .12;
    transform: scale(1.12);
  }

  100% {
    opacity: 0;
    transform: scale(1.2);
  }
}

.mq-success-title {
  margin: 18px 0 0;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--navy);
  text-align: center;
}

.mq-success-sub {
  margin: 10px 0 0;
  max-width: 620px;
  font-size: 14px;
  line-height: 1.45;
  color: #67696D;
  text-align: center;
}

.mq-success-rfq {
  margin-top: 22px;
  width: min(400px, 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.mq-success-rfq .lab {
  font-size: 10px;
  font-weight: 600;
  color: #5D6672;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.mq-success-rfq .num {
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: .04em;
}

.mq-success-info {
  margin-top: 18px;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px 28px;
}

.mq-success-info-h {
  font-size: 12px;
  font-weight: 700;
  color: #5D6672;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 12px;
}

.mq-success-info-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.45;
  color: var(--navy);
}

.mq-success-info-row+.mq-success-info-row {
  margin-top: 10px;
}

.mq-success-info-row .tick {
  color: #098A49;
  font-weight: 800;
  line-height: 1.35;
}

.mq-success-primary.ant-btn {
  margin-top: 20px;
  width: 100%;
  height: 46px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 800;
}

.mq-success-secondary.ant-btn {
  margin-top: 12px;
  width: 100%;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
}

.missing-items {
  background: #fff;
  border-radius: 12px;
  padding: 14px 0 12px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-soft)
}

.missing-items .mi-head {
  padding: 0 16px;
  margin-bottom: 10px
}

.missing-items .mi-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  line-height: 20px
}

.missing-items .mi-sub {
  margin-top: 2px;
  font-size: 11px;
  color: var(--text-grey);
  line-height: 1.4
}

.product-scroll {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 2px 16px 8px 0px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  cursor: grab;
  touch-action: pan-x;
  user-select: none;
}

.product-scroll.is-dragging {
  cursor: grabbing;
}

.product-scroll::-webkit-scrollbar {
  display: none;
}

.product-skeleton-row {
  display: flex;
  gap: 12px;
  overflow: hidden;
}

.prod-card-skeleton {
  flex: 0 0 136px;
}

.prod-card-skeleton .ant-skeleton {
  width: 136px;
}

.product-carousel .slick-list {
  margin: 0;
}

.product-carousel {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 10px;
  min-width: max-content;
}

.product-carousel .slick-track {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch;
  margin-left: 0;
  margin-right: auto;
}

.swap-no-results {
  padding: 0px 0;
  font-size: 11px;
  color: var(--text-grey);
  font-weight: 500;
}

.product-carousel .slick-slide {
  float: none;
  width: 136px !important;
  height: auto;
  flex: 0 0 136px;
  margin-right: 10px;
}

.product-carousel .slick-slide>div {
  height: 100%;
  padding: 0;
}

.prod-card {
  flex: 0 0 136px;
  width: 136px;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

.prod-card .prod-image-area {
  position: relative;
  width: 136px;
  height: 136px;
}

.prod-card .img-wrap {
  width: 136px;
  height: 136px;
  background: #fff;
  border-radius: 16px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 8px;
}

.prod-card .img-wrap img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 16px;
}

.prod-card .replace-btn {
  position: absolute;
  right: 6px;
  bottom: 6px;
  width: 78px;
  /* height: 40px; */
  background: #fff;
  color: #0360E5;
  border: 1px solid #0360E5;
  padding: 0;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 800;
  line-height: 16px;
  letter-spacing: .04em;
  transition: .15s;
  cursor: pointer;
  white-space: nowrap;
  padding: 5px 9px;
}

.prod-card .replace-btn:hover {
  background: var(--blue);
  color: #fff;
}

.prod-card .prod-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  width: 136px;
}

.prod-card .pname {
  font-size: 12px;
  font-weight: 600;
  color: #0A243F;
  line-height: 16px;
  height: 48px;
  width: 100%;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.prod-card .pdiscount {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 6px;
  border-radius: 4px;
  background: #FFE600;
  box-shadow: -1px 1px 0 #000;
  color: #0A243F;
  font-size: 10px;
  font-weight: 800;
  line-height: 14px;
  white-space: nowrap;
}

.prod-card .price-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 26px;
  overflow: hidden;
}

.prod-card .pmrp {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 12px;
  font-weight: 500;
  color: #B5B5B5;
  text-decoration: line-through;
  line-height: 16px;
  white-space: nowrap;
}

.prod-card .pprice {
  flex-shrink: 0;
  font-size: 15px;
  font-weight: 800;
  color: #0A243F;
  line-height: 24px;
  white-space: nowrap;
}

.order-details {
  background: #fff;
  border-radius: 12px 12px 0 0;
  padding: 14px 16px;
  box-shadow: var(--shadow-soft)
}

.order-details h3 {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy)
}

.od-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 13px
}

.od-row .l {
  color: var(--text-grey);
  font-weight: 400
}

.od-row .l.dotted {
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 2px
}

.od-row .v {
  color: var(--navy);
  font-weight: 500;
  text-align: right
}

.od-row .v.save {
  color: #01A685;
  font-weight: 600
}

.od-total {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--border-lt);
  display: flex;
  justify-content: space-between;
  align-items: center
}

.od-total .l,
.od-total .v {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy)
}

.points-strip {
  background: #DFF8F9;
  /* min-height: 64px; */
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--navy);
  border-radius: 0 0 12px 12px;
  margin-bottom: 12px
}

.points-strip .star {
  width: 14px;
  height: 14px;
  color: #F4B400;
  flex-shrink: 0;
  display: block;
}

.points-strip .points-starIcon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  display: block;
  object-fit: contain;
}

.save-later {
  margin: 0 0 12px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--border-lt);
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.save-later .ic {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #E6F0FE;
  color: #0360E5;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.save-later .t {
  flex: 1;
  font-size: 12px;
  color: var(--text-grey);
  line-height: 1.4
}

.save-later .t b {
  color: var(--navy);
  font-weight: 600
}

.save-later .t a {
  color: var(--blue);
  font-weight: 600
}

.next-steps {
  background: #fff;
  border: 1px solid var(--border-lt);
  border-radius: 12px;
  padding: 14px 14px 12px;
  margin: 0 0 14px;
  box-shadow: var(--shadow-soft)
}

.next-steps-h {
  font-size: 12px;
  font-weight: 800;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 10px
}

.next-steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px
}

.next-steps-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  color: var(--navy);
  line-height: 1.45
}

.next-steps-list .ns-num {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--navy);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  margin-top: 1px
}

.help-wrap {
  position: absolute;
  right: 14px;
  bottom: 84px;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.help-fab {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #007937;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(0, 121, 55, .35);
  z-index: 41;
  border: none;
  cursor: pointer;
  transition: .2s;
  overflow: visible;
}

.help-fab:hover {
  transform: scale(1.08)
}

.help-fab::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #37BD68;
  opacity: 0;
  animation: fab-pulse 2s ease-out infinite;
  pointer-events: none;
}

@keyframes fab-pulse {
  0% {
    opacity: .6;
    transform: scale(.9)
  }

  100% {
    opacity: 0;
    transform: scale(1.4)
  }
}

.help-menu {
  position: absolute;
  right: 0;
  bottom: 58px;
  background: #fff;
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 12px 30px rgba(10, 36, 63, .18);
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 42;
  min-width: 220px;
  border: 1px solid var(--border-lt);
}

.help-menu.show {
  display: flex
}

.help-menu .lab {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--grey);
  font-weight: 700;
  padding: 4px 8px 2px
}

.help-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none
}

.help-menu a:hover {
  background: var(--bg)
}

.help-menu a .ic {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0
}

.help-menu a.wa .ic {
  background: #E8F8EE;
  color: #1B7A3E
}

.help-menu a.call .ic {
  background: #E8F0FB;
  color: #0B4DAB
}

.hiw-card .ant-collapse-header {
  border-bottom: 1px solid #F1F1F2 !important;
}
.mq-review-head h3 .rs-opt {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-grey);
}
@media (max-width: 899px) {
  .phone[data-screen="upload"] .body>.rfq-left-only-content {
    width: 100%;
    margin: 18px 0 18px;
  }

  .phone[data-screen="upload"] .rfq-left-only-content .rfq-brands-block {
    margin-top: 0;
  }

  .phone[data-screen="upload"] .rfq-left-only-content .rfq-categories-block {
    margin-bottom: 0;
  }

  .phone[data-screen="upload"] .mq-upload-right-rail {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    margin: 0 0 16px;
  }

  .phone[data-screen="upload"] .mq-upload-right-rail>.rfq-help-card,
  .phone[data-screen="upload"] .mq-upload-right-rail>.hiw-card {
    margin: 0;
    border-radius: 12px !important;
    overflow: hidden;
  }

  .phone[data-screen="results"] .save-later {
    display: flex !important;
    width: 100%;
    margin: 0 0 12px;
    box-sizing: border-box;
  }

  .phone[data-screen="results"] .save-later .t {
    min-width: 0;
  }

  .phone[data-screen="results"] .order-note {
    border-radius: 16px;
    min-height: 88px;
    padding: 12px 14px 0;
  }

  .phone[data-screen="results"] .order-note .on-img {
    width: 70px;
  }

  .phone[data-screen="results"] .order-note .on-text {
    font-size: 14px;
    padding-bottom: 12px;
  }

  .phone[data-screen="results"] .order-note .on-text b {
    font-size: 15px;
  }

  .phone[data-screen="results"] .next-steps {
    display: block !important;
    width: 100%;
    box-sizing: border-box;
  }
}

@media (min-width:481px) and (max-width:899px) {
  .stage {
    display: block;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 0;
    background: var(--bg);
    overflow-x: hidden;
  }

  .phone {
    width: 100%;
    max-width: 760px;
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0 auto;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
  }

  .phone .body {
    overflow: visible;
    min-height: auto;
    padding: 20px 24px 132px;
    background: var(--bg);
  }

  .phone[data-screen="upload"] .hero-img {
    margin: -20px -24px 16px;
    height: 330px;
    border-radius: 0 0 28px 28px;
  }

  .phone[data-screen="upload"] .hero-banner-img {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: min(78%, 420px);
    height: auto;
    transform: translateX(-50%);
    object-fit: contain;
    object-position: bottom center;
  }

  .phone[data-screen="upload"] .hero-copy {
    top: 48px;
    width: min(82%, 340px);
    z-index: 5;
  }

  .phone[data-screen="upload"] .card {
    border-radius: 16px;
  }

  .phone[data-screen="upload"] .rfq-list-intro-card {
    display: block;
    height: auto;
    margin: 0 0 18px !important;
    overflow: visible;
  }

  .phone[data-screen="upload"] .rfq-list-intro-card .ant-card-body {
    padding: 16px 18px 18px !important;
  }

  .phone[data-screen="upload"] .rfq-intro-row {
    display: flex;
    height: auto;
    min-height: auto;
  }

  .phone[data-screen="upload"] .rfq-intro-left-content {
    max-width: 100%;
    margin-bottom: 0;
  }

  .phone[data-screen="upload"] .rfq-intro-title {
    display: block;
    font-size: 20px;
    line-height: 1.15;
  }

  .phone[data-screen="upload"] .rfq-intro-subtitle {
    display: block;
    margin-top: 6px;
    line-height: 1.35;
  }

  .phone[data-screen="upload"] .rfq-list-intro-card+.card {
    margin-top: 0;
  }

  .phone[data-screen="upload"] .upload-zone {
    width: 100%;
    min-height: 80px;
    height: auto;
    border: 1px dashed #D6DDE8;
    border-radius: 14px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    background: #fff;
  }

  .phone[data-screen="upload"] .upload-plus {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    flex-shrink: 0;
  }

  .phone[data-screen="upload"] .upload-row .upload-text {
    display: block;
    text-align: left;
  }

  .phone[data-screen="upload"] .dz-mobile-helper {
    display: block;
  }

  .phone[data-screen="upload"] .dz-subtext {
    display: none;
  }

  .phone[data-screen="upload"] .form-grid {
    grid-template-columns: 1fr;
  }

  .phone[data-screen="upload"] .form-grid .field {
    min-width: 0;
  }

  .phone[data-screen="upload"] .form-grid .ant-input,
  .phone[data-screen="upload"] .form-grid .ant-select,
  .phone[data-screen="upload"] .form-grid .ant-select.ant-select-single,
  .phone[data-screen="upload"] .form-grid .ant-select .ant-select-selector,
  .phone[data-screen="upload"] .magic-quote-upload-form .form-grid .ant-select.ant-select-single .ant-select-selector {
    min-height: 44px !important;
    height: 44px !important;
  }

  .phone[data-screen="upload"] .sticky-foot {
    position: fixed;
    left: 0;
    right: 0;
    bottom: var(--mobile-bottom-nav-total-height);
    z-index: 25;
    padding: 12px 24px calc(12px + var(--mobile-safe-bottom-effective));
    background: #fff;
    /* border-top: 1px solid var(--border-lt); */
    /* box-shadow: 0 -8px 20px rgba(10, 36, 63, .06); */
  }

  .phone[data-screen="results"] .checkout-foot {
    position: fixed;
    left: 0;
    right: 0;
    bottom: var(--mobile-bottom-nav-total-height);
    z-index: 25;
    padding: 12px 24px calc(12px + var(--mobile-safe-bottom-effective));
    background: #fff;
    border-top: 1px solid var(--border-lt);
    box-shadow: 0 -8px 20px rgba(10, 36, 63, .06);
  }

  .mq-delivery-warning-sticky {
    width: calc(100vw - 48px);
    left: 24px;
    bottom: 92px;
  }
}

@media (max-width:480px) {
  .mq-delivery-warning-sticky {
    width: calc(100vw - 24px);
    left: 12px;
    bottom: 88px;
  }

  .dz-subtext {
    display: none
  }

  .stage {
    padding: 0;
    /* min-height:100vh; */
    display: block;
    background: var(--bg)
  }

  .phone {
    width: 100vw;
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    border-radius: 0;
    box-shadow: none;
    display: block;
    overflow: visible;
  }

  .phone .body {
    overflow: visible;
    min-height: auto;
    -webkit-overflow-scrolling: auto;
    overscroll-behavior-y: auto;
    padding-bottom: calc(150px + var(--mobile-bottom-nav-total-height));
  }

  .upload-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .upload-zone {
    width: 100%;
    min-height: 72px;
    height: auto;
    border: 1px dashed #D6DDE8;
    border-radius: 12px;
    padding: 22px 16px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    background: #FAFBFC !important;
  }

  .upload-plus {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    font-size: 22px;
    flex-shrink: 0;
  }

  .upload-row .upload-text {
    display: block;
    text-align: left;
  }

  .phone[data-screen="upload"] .dz-mobile-helper {
    display: block;
  }

  .phone[data-screen="upload"] .form-grid {
    grid-template-columns: 1fr;
  }

  .phone[data-screen="upload"] .form-grid .field {
    min-width: 0;
  }

  .upload-text {
    flex: 1;
    min-width: 0;
  }

  .upload-text .l1 {
    font-size: 14px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 2px;
  }

  .upload-text .l2 {
    font-size: 11px;
    color: var(--text-grey);
    line-height: 1.35;
  }

  .phone[data-screen="upload"] .form-grid .ant-input,
  .phone[data-screen="upload"] .form-grid .ant-select,
  .phone[data-screen="upload"] .form-grid .ant-select.ant-select-single,
  .phone[data-screen="upload"] .form-grid .ant-select .ant-select-selector,
  .phone[data-screen="upload"] .magic-quote-upload-form .form-grid .ant-select.ant-select-single .ant-select-selector {
    min-height: 44px !important;
    height: 44px !important;
  }

  .upload-tiles {
    width: 100%;
    gap: 10px;
  }

  .utile {
    width: 84px;
    height: 84px;
    border-radius: 12px;
  }

  .gen-warn-top {
    margin-top: 16px;
  }

  .phone[data-screen="upload"] .hero-img {
    height: 280px;
    margin: -20px -12px 16px;
    border-radius: 0 0 28px 28px;
  }

  .phone[data-screen="upload"] .rfq-list-intro-card {
    display: block;
    height: auto;
    margin-bottom: 18px !important;
    overflow: visible;
    border-radius: 12px !important;
  }

  .phone[data-screen="upload"] .rfq-list-intro-card .ant-card-body {
    padding: 14px 24px 18px !important;
  }

  .phone[data-screen="upload"] .rfq-intro-row {
    display: flex;
    height: auto;
    min-height: auto;
  }

  .phone[data-screen="upload"] .rfq-intro-left-content {
    max-width: 100%;
    margin-bottom: 0;
  }

  .phone[data-screen="upload"] .rfq-intro-title {
    display: block;
    font-size: 16px !important;
    line-height: 1.15;
  }

  .phone[data-screen="upload"] .rfq-intro-subtitle {
    display: block;
    margin-top: 6px;
    line-height: 1.35;
  }

  .phone[data-screen="upload"] .rfq-list-intro-card+.card {
    margin-top: 0;
  }

  .phone[data-screen="upload"] .hero-banner-img {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 75%;
    height: auto;
    transform: translateX(-50%);
    object-fit: contain;
    object-position: bottom center;
  }

  .phone[data-screen="upload"] .hero-copy {
    top: 42px;
    width: 88%;
    z-index: 5;
  }

  .phone[data-screen="upload"] .hero-eyebrow {
    font-size: 13px;
    margin-bottom: 10px;
  }

  .phone[data-screen="upload"] .hero-title {
    font-size: 30px;
  }

  .phone[data-screen="upload"] .hero-pill {
    margin-top: 12px;
    min-width: 104px;
    padding: 8px 14px;
    font-size: 14px;
  }

  .phone[data-screen="results"] .checkout-foot {
    position: fixed;
    left: 0;
    right: 0;
    bottom: var(--mobile-bottom-nav-total-height);
    z-index: 25;
    padding: 12px 12px calc(8px + var(--mobile-safe-bottom-effective));
    background: #fff;
    align-items: center;
    gap: 8px;

  }

  .phone[data-screen="results"] .checkout-foot .ttl {
    min-width: 0;
    flex: 1 1 auto;
  }

  .phone[data-screen="results"] .checkout-foot .ttl .v {
    font-size: 22px;
    line-height: 1.08;
    word-break: break-word;
  }

  .phone[data-screen="results"] .checkout-foot .btn {
    flex: 0 0 198px;
    height: 40px;
    min-height: 40px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 13px;
    white-space: nowrap;
  }

  .phone[data-screen="results"] .help-wrap {
    position: fixed;
    right: 18px;
    bottom: calc(var(--mobile-bottom-nav-total-height) + 86px + var(--mobile-safe-bottom-effective));
    z-index: 30;
  }

  .phone[data-screen="results"] .help-menu {
    position: absolute;
    right: 0;
    bottom: 58px;
  }

  .phone[data-screen="upload"] .sticky-foot {
    position: fixed;
    left: 0;
    right: 0;
    bottom: var(--mobile-bottom-nav-total-height);
    z-index: 25;
    padding: 10px 12px calc(10px + var(--mobile-safe-bottom-effective));
    /* background: #fff; */
    /* border-top: 1px solid var(--border-lt); */
    /* box-shadow: 0 -8px 20px rgba(10, 36, 63, .06); */
  }
}

/* Desktop webview */
@media (min-width:900px) {
  :root {
    --mq-page-content-width: min(80%, 1440px);
  }

  .stage {
    display: block;
    /* padding:40px 0 80px; */
    /* min-height:100vh; */
    background: #F5F5F5;
    overflow-x: hidden;
  }

  .phone {
    width: 100%;
    max-width: none;
    height: auto;
    min-height: auto;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    overflow: visible;
  }

  .phone[data-screen="upload"] {
    width: var(--mq-page-content-width);
    margin: 0 auto;
    padding-bottom: 96px;
    box-sizing: border-box;
  }

  .phone[data-screen="upload"] .header {
    display: none
  }

  .phone[data-screen="upload"] .body {
    overflow: visible;
    background: transparent;
    padding: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    grid-template-areas:
      "title title"
      "banner side"
      "intro side"
      "upload side"
      "details side"
      "planned side"
      "brands side";
    column-gap: 24px;
    row-gap: 16px;
    align-items: start;
    margin-top: 24px;
  }

  .phone[data-screen="upload"] .body .magic-quote-title {
    display: block;
    grid-area: title;
    font-size: 24px;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -.02em;
    line-height: 1.25;
    margin: 4px 0 0;
  }

  .phone[data-screen="upload"] .hero-img {
    grid-area: banner;
    display: block;
    margin: 0;
    border-radius: 20px;
    height: 220px;
    line-height: 0;
  }

  .phone[data-screen="upload"] .hero-banner-img {
    position: absolute;
    left: 50%;
    bottom: -28px;
    width: min(38%, 400px);
    height: auto;
    transform: translateX(-50%);
    object-fit: contain;
    object-position: bottom center;
  }

  .phone[data-screen="upload"] .hero-copy {
    top: 18px;
    width: min(70%, 420px);
    z-index: 5;
  }

  .phone[data-screen="upload"] .hero-title {
    font-size: 24px;
  }

  .phone[data-screen="upload"] .hero-pill {
    margin-top: 10px;
  }

  .phone[data-screen="upload"] .body>.card {
    margin: 0;
    border-radius: 20px;
    padding: 20px;
    box-shadow: none;
  }

  .phone[data-screen="upload"] .body>.card[style*="padding"] {
    grid-area: upload;
    padding: 20px !important
  }

  .phone[data-screen="upload"] .body>.card:not([style]):not(.planned-card):not(.hiw-card):not(.rfq-list-intro-card) {
    grid-area: details
  }

  .phone[data-screen="upload"] .body>.rfq-list-intro-card {
    grid-area: intro;
    min-height: 108px;
    position: relative;
  }

  .phone[data-screen="upload"] .body>.rfq-list-intro-card .ant-card-body {
    height: 100%;
    min-height: 108px;
    padding-top: 10px !important;
    position: relative;
  }

  .phone[data-screen="upload"] .body>.rfq-list-intro-card .rfq-intro-row {
    min-height: 84px;
    position: relative;
  }

  .phone[data-screen="upload"] .body>.rfq-list-intro-card .rfq-intro-left-content {
    max-width: calc(100% - 260px);
  }

  .phone[data-screen="upload"] .body>.rfq-list-intro-card .rfq-intro-right-zone {
    bottom: -10px;
    height: 84px;
    position: absolute;
    right: 0;
    width: 260px;
  }

  .phone[data-screen="upload"] .body>.rfq-list-intro-card .rfq-intro-preview-wrap,
  .phone[data-screen="upload"] .body>.rfq-list-intro-card .rfq-intro-preview-box-single {
    height: 84px;
    width: 100%;
  }

  .phone[data-screen="upload"] .body>.rfq-list-intro-card .rfq-intro-single-image {
    display: block;
    height: 84px !important;
    object-fit: contain;
    object-position: right bottom;
    transform: translateY(4px);
    width: 100% !important;
  }

  .phone[data-screen="upload"] .body>.card.planned-card {
    grid-area: planned
  }

  .phone[data-screen="upload"] .body>.rfq-left-only-content {
    grid-area: brands;
    width: 100%;
    margin-top: 0;
  }

  .phone[data-screen="upload"] .rfq-left-only-content .brandsection,
  .phone[data-screen="upload"] .rfq-left-only-content .brandCarouselParent {
    width: 100%;
    max-width: 100%;
    
  }

  .phone[data-screen="upload"] .rfq-left-only-content .rfq-brand-carousel .custom-brand-carousel-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px 20px;
    padding-right: 0;
  }

  .phone[data-screen="upload"] .mq-upload-right-rail {
    grid-area: side;
    align-self: start;
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 110px;
    right: auto;
    width: 100%;
    z-index: 5;
    max-height: calc(100vh - 130px);
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .phone[data-screen="upload"] .mq-upload-right-rail>.card,
  .phone[data-screen="upload"] .mq-upload-right-rail>.ant-card {
    margin: 0;
    border-radius: 20px;
    box-shadow: none;
  }

  .phone[data-screen="upload"] .mq-upload-right-rail>.hiw-card {
    width: 100%;
    padding: 0;
  }

  .phone[data-screen="upload"] .form-grid .full {
    grid-column: auto
  }

  .phone[data-screen="upload"] .upload-zone {
    display: inline-flex;
    width: 84px;
    height: 84px;
    padding: 0;
    border: none;
    background: transparent;
    flex-shrink: 0;
  }

  .phone[data-screen="upload"] .upload-zone:hover {
    border: none;
    background: transparent
  }

  .phone[data-screen="upload"] .upload-text {
    display: none
  }

  .phone[data-screen="upload"] .upload-plus {
    width: 84px;
    height: 84px;
    border-radius: 14px;
  }

  .phone[data-screen="upload"] .sticky-foot {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
    bottom: 0;
    padding: 14px 24px;
    background: #fff;
    border-top: 1px solid var(--border-lt);
    box-shadow: 0 -8px 20px rgba(10, 36, 63, .06);
    display: flex;
    justify-content: flex-end;
    z-index: 20;
    box-sizing: border-box;
  }

  .phone[data-screen="upload"] .sticky-foot .btn {
    width: auto;
    min-width: 280px;
    padding: 13px 36px;
    box-shadow: none;
    margin-right: calc((100vw - min(80vw, 1440px)) / 2 - 24px);
  }

  .phone[data-screen="generating"] {
    /* min-height:100vh; */
    display: flex;
    flex-direction: column;
  }

  .phone[data-screen="generating"] .header {
    display: none
  }

  .phone[data-screen="generating"] .gen-wrap {
    min-height: 85vh;
    justify-content: center;
    /* padding:80px 24px; */
    background: radial-gradient(circle at 50% 40%, #EAF7EE 0%, var(--bg) 50%);
  }

  .phone[data-screen="results"] {
    padding-bottom: 44px
  }

  .phone[data-screen="success"] {
    background: #fff;
  }

  .phone[data-screen="results"] .header {
    position: static;
    background: transparent;
    border-bottom: none;
    padding: 0;
  }

  .phone[data-screen="results"] .header-top {
    width: var(--mq-page-content-width);
    margin: 0 auto;
    padding: 16px 16px 16px 0px;
    gap: 6px;
    box-sizing: border-box;
  }

  .phone[data-screen="results"] .header-title {
    display: none
  }

  .phone[data-screen="results"] .back-btn,
  .phone[data-screen="unread"] .back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    width: fit-content;
    height: auto;
    padding: 6px 0;
    margin-left: 0;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    color: var(--navy);
  }

  .phone[data-screen="results"] .back-btn::after,
  .phone[data-screen="unread"] .back-btn::after {
    content: "Back";
    margin-left: 0;
    line-height: 1;
  }

  .phone[data-screen="results"] .locked-bar {
    /* width: var(--mq-page-content-width); */
    margin: 0 auto 16px;
    border-radius: 20px;
    padding: 10px 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #E9FAF2;
    color: #285B2C;
    /* border: 1px solid #D6F0E1; */
    font-size: 14px;
    font-weight: 500;
    box-sizing: border-box;
  }

  .phone[data-screen="results"] .locked-bar .ic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    flex-shrink: 0;
  }

  .phone[data-screen="results"] .locked-bar .lbl {
    line-height: 1.35;
  }

  .phone[data-screen="results"] .body {
    width: var(--mq-page-content-width);
    margin: 0 auto;
    padding: 0 0 132px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 380px);
    column-gap: 24px;
    row-gap: 16px;
    align-items: start;
    overflow: visible;
    background: transparent;
    box-sizing: border-box;
    position: relative;
  }

  .phone[data-screen="results"] .body::before {
    display: none;
    content: none;
  }

  .phone[data-screen="results"] .body>* {
    grid-column: 1;
    margin: 0;
  }

  .phone[data-screen="results"] .quote-top {
    margin: 0;
    padding: 16px 20px;
    border: 1px solid #ECEEF2;
    border-radius: 20px;
    align-self: start;
  }

  .phone[data-screen="results"] .mq-rfq-generated-note {
    margin: 0;
    padding: 2px 2px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .phone[data-screen="results"] .total-card {
    margin: 0;
    border-radius: 20px;
    box-sizing: border-box;
    min-height: 206px;
    padding-bottom: 20px;
  }

  .phone[data-screen="results"] .total-card .label,
  .phone[data-screen="results"] .total-card .amt-row,
  .phone[data-screen="results"] .total-card .savings-burst {
    position: relative;
    z-index: 1;
  }

  .phone[data-screen="results"] .sku-check-banner {
    align-items: center;
    min-height: 46px;
  }

  .phone[data-screen="results"] .order-details {
    margin: 0;
    border-radius: 20px;
  }

  .phone[data-screen="results"] .points-strip {
    margin: 0;
    border-radius: 20px;
  }

  .phone[data-screen="results"] .body>.right-rail-sticky {
    grid-column: 2;
    grid-row: 1 / span 20;
    position: sticky;
    top: 104px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    z-index: 2;
    max-height: calc(100vh - 190px);
    max-height: calc(100dvh - 190px);
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 12px;
    scrollbar-width: none;
  }

  .phone[data-screen="results"] .body>.right-rail-sticky::-webkit-scrollbar {
    display: none;
  }

  .phone[data-screen="results"] .body>.right-rail-sticky>* {
    flex-shrink: 0;
  }

  .phone[data-screen="results"] .item,
  .phone[data-screen="results"] .missing-items,
  .phone[data-screen="results"] .save-later,
  .phone[data-screen="results"] .next-steps {
    border-radius: 20px
  }

  .phone[data-screen="results"] .help-wrap {
    position: fixed;
    right: 24px;
    bottom: 104px;
  }

  .phone[data-screen="results"] .help-menu {
    position: fixed;
    right: 24px;
    bottom: 164px;
  }

  .phone[data-screen="results"] .checkout-foot {
    position: fixed;
    left: 0;
    right: 0;
    transform: none;
    width: 100%;
    bottom: 0;
    z-index: 10;
    padding-top: 14px;
    padding-bottom: 14px;
    padding-left: calc((100vw - var(--mq-page-content-width)) / 2);
    padding-right: calc((100vw - var(--mq-page-content-width)) / 2);
    background: #fff;
    border-top: 1px solid var(--border-lt);
    box-shadow: 0 -8px 20px rgba(10, 36, 63, .06);
    box-sizing: border-box;
  }

  .phone[data-screen="results"] .checkout-foot .ttl {
    flex: none;
    margin-left: 0;
    margin-right: auto;
  }

  .phone[data-screen="results"] .checkout-foot .btn {
    flex: none;
    min-width: 280px;
    padding: 13px 36px;
    margin-right: calc((100vw - var(--mq-page-content-width)) / 2);
    height: 48px;
  }

  .phone[data-screen="unread"] .header {
    position: static;
    background: transparent;
    border-bottom: none;
    padding: 0;
  }

  .phone[data-screen="unread"] {
    width: var(--mq-page-content-width);
    margin: 0 auto;
    box-sizing: border-box;
  }

  .phone[data-screen="unread"] .header-top {
    width: 100%;
    margin: 0 auto;
    padding: 16px 24px 16px 0px;
    gap: 6px;
    box-sizing: border-box;
  }

  .phone[data-screen="unread"] .header-title {
    display: none
  }

  .phone[data-screen="unread"] .back-btn {
    place-items: initial;
  }

  .phone[data-screen="unread"] .body {
    width: 100%;
    margin: 0;
    padding: 0 0 24px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    column-gap: 24px;
    row-gap: 16px;
    overflow: visible;
    background: transparent;
    box-sizing: border-box;
  }

  .phone[data-screen="unread"] .body::before {
    display: none
  }

  .phone[data-screen="unread"] .desktop-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    grid-column: 1;
    margin: 0;
  }

  .phone[data-screen="unread"] .body>* {
    grid-column: 1;
    margin: 0;
  }

  .phone[data-screen="unread"] .quote-top {
    margin: 0;
    padding: 16px 20px;
    border: 1px solid #ECEEF2;
    border-radius: 20px;
  }

  .phone[data-screen="unread"] .unread-empty {
    border-radius: 20px;
    border: 1px solid #ECEEF2;
    box-shadow: none;
    padding: 48px 32px 40px;
  }

  .phone[data-screen="unread"] .unread-actions {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    position: sticky;
    top: 24px;
    background: #fff;
    border-radius: 20px;
    border: 1px solid #ECEEF2;
    padding: 18px 20px 20px;
    gap: 10px;
  }

  .phone[data-screen="unread"] .unread-actions .ue-help-title {
    font-size: 18px;
    line-height: 1.25;
  }

  .phone[data-screen="unread"] .unread-actions .ue-help-sub {
    font-size: 15px;
    line-height: 1.4;
  }
}

@media (min-width:900px) and (max-width:1199px) {
  .phone[data-screen="results"] .body {
    grid-template-columns: minmax(0, 1fr);
  }

  .phone[data-screen="results"] .body>.right-rail-sticky {
    grid-column: 1;
    grid-row: auto;
    position: static;
    max-height: none;
    overflow: visible;
    padding-bottom: 0;
  }

  .phone[data-screen="results"] .checkout-foot .btn {
    margin-right: 0;
  }
}
