/* Qwik-E-Mart launch storefront foundation.
   New public launch UI should use qem-* classes instead of legacy framework/theme classes. */

:root {
  --qem-bg: #f7f8fb;
  --qem-surface: #ffffff;
  --qem-surface-soft: #f2f4f7;
  --qem-ink: #141821;
  --qem-muted: #667085;
  --qem-line: #e4e7ec;
  --qem-brand: #1d2433;
  --qem-brand-strong: #101828;
  --qem-accent: #ffc400;
  --qem-accent-ink: #1f2933;
  --qem-success: #16a34a;
  --qem-warning: #f97316;
  --qem-danger: #e11d48;
  --qem-radius: 8px;
  --qem-radius-sm: 6px;
  --qem-shadow-sm: 0 1px 2px rgba(16, 24, 40, .06);
  --qem-shadow-md: 0 10px 28px rgba(16, 24, 40, .10);
  --qem-layout-container: 1340px;
  --qem-container: 1180px;
  --qem-gap: 24px;
}

body {
  margin: 0;
}

.qem-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.qem-inline-spinner {
  display: inline-block;
  width: 1em;
  height: 1em;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 999px;
  vertical-align: -0.15em;
  animation: qem-inline-spin .72s linear infinite;
}

@keyframes qem-inline-spin {
  to {
    transform: rotate(360deg);
  }
}

.review-stars {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  color: #f5b301;
  line-height: 1;
  white-space: nowrap;
}

.review-star {
  position: relative;
  display: inline-block;
  color: #f5b301;
  font-size: 16px;
  line-height: 1;
}

.review-star--empty {
  color: #d5dbe5;
}

.review-star--half {
  color: #d5dbe5;
}

.review-star--half::before {
  position: absolute;
  inset: 0;
  width: 50%;
  overflow: hidden;
  color: #f5b301;
  content: "\2605";
}

.reviews {
  color: var(--qem-ink);
}

.reviews-summary {
  display: grid;
  grid-template-columns: minmax(180px, .8fr) minmax(260px, 1.4fr) auto;
  align-items: center;
  gap: 22px;
}

.reviews-summary__rating {
  display: flex;
  align-items: center;
}

.reviews-summary .rating {
  display: flex;
  align-items: center;
  gap: 14px;
}

.reviews-summary .rate {
  margin: 0;
  color: var(--qem-ink);
  font-size: 42px;
  font-weight: 650;
  line-height: 1;
}

.reviews-summary .stars {
  margin: 0;
}

.reviews-summary .total {
  color: var(--qem-muted);
  font-size: 13px;
}

.reviews-summary__distribution {
  width: 100%;
  max-width: 500px;
}

.review-distribution {
  display: grid;
  gap: 6px;
}

.review-distribution__row {
  display: grid;
  grid-template-columns: 52px minmax(110px, 1fr) 32px;
  align-items: center;
  gap: 12px;
  color: var(--qem-muted);
  font-size: 13px;
}

.review-distribution__track {
  display: block;
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #eef2f7;
}

.review-distribution__track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #f5b301;
}

.review-distribution__count {
  text-align: right;
}

.review-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 12px;
  margin: 0 0 8px;
}

.review-toolbar__field {
  display: grid;
  gap: 6px;
  min-width: 160px;
  color: var(--qem-muted);
  font-size: 13px;
  font-weight: 650;
}

.review-toolbar__select {
  min-height: 38px;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius-sm);
  background: #ffffff;
  color: var(--qem-ink);
  font: inherit;
  font-weight: 500;
  padding: 0 34px 0 10px;
  box-shadow: var(--qem-shadow-sm);
}

.review-toolbar.is-loading {
  opacity: .68;
  pointer-events: none;
}

.review-link-button {
  border: 0;
  background: transparent;
  color: var(--qem-brand);
  cursor: pointer;
  font: inherit;
  font-weight: 650;
  padding: 0;
}

.review-link-button:hover {
  color: #175cd3;
}

.review-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius-sm);
  background: #ffffff;
  color: var(--qem-ink);
  cursor: pointer;
  font: inherit;
  font-weight: 650;
  padding: 0 14px;
  text-decoration: none;
}

.review-button--primary {
  border-color: #227fd7;
  background: #227fd7;
  color: #ffffff;
}

.review-button--secondary {
  width: 100%;
  margin-top: 12px;
  color: #175cd3;
}

.review-button--full {
  width: 100%;
}

.review-button:disabled {
  cursor: wait;
  opacity: .7;
}

.review-card {
  padding: 20px 0;
  border-bottom: 1px solid var(--qem-line);
}

.review-card__header,
.review-card__topline {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-card__header {
  align-items: flex-start;
}

.review-card__rating-row,
.review-card__verification {
  display: flex;
  align-items: center;
}

.review-card__meta {
  flex: 1;
  min-width: 0;
}

.review-card__topline {
  justify-content: space-between;
  gap: 14px;
}

.review-card__name {
  color: var(--qem-ink);
  font-weight: 700;
  line-height: 1.25;
}

.review-card__date,
.review-card__comment {
  color: var(--qem-muted);
}

.review-card__date {
  margin-top: 2px;
  font-size: 13px;
}

.review-card__comment {
  margin: 12px 0 0;
  color: #4b5563;
  line-height: 1.45;
}

.review-avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--qem-surface-soft);
  color: var(--qem-brand);
  font-weight: 800;
}

.review-verified {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  color: var(--color-success, var(--qem-success));
  font-size: var(--font-size-0, .875rem);
  font-weight: var(--weight-medium, 500);
  padding: 0;
}

.review-card__date .review-verified,
.review-card__topline .review-verified {
  margin-left: 8px;
}

.review-empty-state {
  margin: 14px 0 0;
  border: 1px dashed var(--qem-line);
  border-radius: var(--qem-radius-sm);
  background: #fbfcfe;
  color: var(--qem-muted);
  padding: 16px;
}

.review-alert {
  border-radius: var(--qem-radius-sm);
  margin-top: 12px;
  padding: 12px 14px;
}

.review-alert p {
  margin: 0;
}

.review-alert p + p {
  margin-top: 6px;
}

.review-alert--success {
  background: #ecfdf3;
  color: #067647;
}

.review-alert--error {
  background: #fff1f3;
  color: #b42318;
}

.review-dialog[hidden] {
  display: none;
}

.review-dialog {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 20px;
}

.review-dialog__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(15, 23, 42, .48);
  cursor: pointer;
  padding: 0;
}

.review-dialog__panel {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: min(760px, calc(100vh - 40px));
  overflow: hidden;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius);
  background: #ffffff;
  box-shadow: var(--qem-shadow-md);
}

.review-dialog__panel--large {
  width: min(720px, 100%);
}

.review-dialog__header,
.review-dialog__body,
.review-dialog__footer {
  padding: 20px;
}

.review-dialog__header,
.review-dialog__footer {
  border-bottom: 1px solid var(--qem-line);
}

.review-dialog__footer {
  border-top: 1px solid var(--qem-line);
  border-bottom: 0;
}

.review-dialog__title {
  margin: 0;
  color: var(--qem-ink);
  font-size: 22px;
  font-weight: 650;
}

.review-dialog__body--scroll {
  max-height: 56vh;
  overflow: auto;
  padding-top: 4px;
}

.review-dialog__close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: var(--qem-muted);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.review-form__fields,
.review-form {
  display: grid;
  gap: 12px;
}

.review-form__label {
  color: var(--qem-muted);
  font-size: 13px;
  font-weight: 650;
}

.review-rating-input {
  display: inline-flex;
  flex-direction: row-reverse;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
  margin: 0;
  padding: 0;
  border: 0;
}

.review-rating-input .review-form__label {
  flex-basis: 100%;
  order: -1;
}

.review-rating-input__control {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.review-rating-input__star {
  color: #d5dbe5;
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
  transition: color .15s ease, transform .15s ease;
}

.review-rating-input__star:hover,
.review-rating-input__star:hover ~ .review-rating-input__star,
.review-rating-input__control:checked ~ .review-rating-input__star {
  color: #f5b301;
}

.review-rating-input__control:focus-visible + .review-rating-input__star {
  outline: 2px solid var(--qem-brand);
  outline-offset: 3px;
}

.review-form__select,
.review-form__textarea {
  width: 100%;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius-sm);
  background: #ffffff;
  color: var(--qem-ink);
  font: inherit;
  padding: 10px 12px;
}

.review-form__textarea {
  min-height: 110px;
  resize: vertical;
}

.review-dialog-open {
  overflow: hidden;
}

.review-csrf-refresh {
  display: none;
}

.qem-product-report-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  width: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--color-text-muted, var(--qem-muted));
  font-size: var(--font-size-0, .875rem);
  font-weight: var(--weight-medium, 500);
  text-decoration: none;
  white-space: nowrap;
}

.qem-product-report-trigger:hover,
.qem-product-report-trigger:focus {
  color: var(--color-accent, var(--qem-brand));
  text-decoration: none;
}

.qem-report-modal[hidden] {
  display: none;
}

.qem-report-modal.qem-modal {
  position: fixed;
  inset: 0;
  z-index: 1220;
  display: grid;
  place-items: center;
  padding: 20px;
  color: var(--color-text, var(--qem-ink));
  font-family: var(--font-sans, inherit);
  font-size: var(--font-size-0, .875rem);
  line-height: var(--line-body, 1.55);
}

.qem-report-modal .qem-report-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(15, 23, 42, .48);
  cursor: pointer;
}

.qem-report-modal .qem-report-modal__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: min(560px, 100%);
  max-height: min(780px, calc(100vh - 40px));
  max-height: min(780px, calc(100dvh - 40px));
  overflow: hidden;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius);
  background: #ffffff;
  box-shadow: var(--qem-shadow-md);
}

.qem-report-modal__header,
.qem-report-modal__body {
  padding: 20px;
}

.qem-report-modal__header {
  flex: 0 0 auto;
  border-bottom: 1px solid var(--qem-line);
  padding-right: 56px;
}

.qem-report-modal__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  padding-bottom: 24px;
}

.qem-report-modal__title {
  margin: 0;
  color: var(--qem-ink);
  font-size: 22px;
  font-weight: 650;
  line-height: 1.25;
}

.qem-report-modal .qem-report-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: var(--qem-muted);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.qem-report-form,
.qem-report-form .form_fields {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.qem-report-product {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid #e8edf3;
  border-radius: var(--qem-radius);
  background: #f7f9fb;
}

.qem-report-product img {
  width: 62px;
  height: 62px;
  border-radius: var(--qem-radius-sm);
  object-fit: cover;
}

.qem-report-product strong {
  display: block;
  color: var(--qem-ink);
  line-height: 1.3;
}

.qem-report-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
}

.qem-report-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
}

.qem-report-field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.qem-report-label {
  display: block;
  color: var(--color-text-muted, #5f6876);
  font-size: var(--font-size-0, .875rem);
  font-weight: var(--weight-medium, 500);
  line-height: 1.35;
}

.qem-report-modal .form-control,
.qem-report-input {
  box-sizing: border-box;
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--color-border-strong, var(--qem-line));
  border-radius: var(--radius-4, 4px);
  background: var(--color-surface, #ffffff);
  color: var(--color-text, var(--qem-ink));
  font: inherit;
  font-size: var(--font-size-0, .875rem);
  line-height: 1.3;
  padding: .5rem .65rem;
}

.qem-report-modal select.form-control {
  padding-right: 2rem;
}

.qem-report-modal .form-control:focus,
.qem-report-input:focus {
  border-color: var(--color-focus, #2f6fed);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(47, 111, 237, .14);
}

.qem-report-textarea {
  min-height: 112px;
  resize: vertical;
}

.qem-report-file {
  padding: .5rem .65rem;
}

.qem-report-help,
.qem-report-message {
  color: var(--qem-muted);
  font-size: 12px;
  line-height: 1.45;
}

.qem-report-message {
  margin: 0 0 14px;
  font-size: 14px;
}

.qem-report-results {
  outline: 0;
}

.qem-report-alert {
  margin: 12px 0 0;
  padding: 12px 14px;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius-sm);
  background: #f8fafc;
  color: var(--qem-ink);
  font-size: 14px;
  line-height: 1.45;
}

.qem-report-alert p {
  margin: 0;
}

.qem-report-alert--success {
  border-color: #b7dfcf;
  background: #effaf5;
  color: #087752;
}

.qem-report-alert--error {
  border-color: #f2c7cd;
  background: #fff4f5;
  color: #b42338;
}

.qem-report-modal .btn,
.qem-report-submit {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: var(--space-2, 8px);
  border: 1px solid var(--color-border-strong, var(--qem-line));
  border-radius: var(--radius-4, 4px);
  padding: .55rem .85rem;
  font: inherit;
  font-size: var(--font-size-0, .875rem);
  font-weight: var(--weight-medium, 500);
  line-height: 1.2;
  text-decoration: none;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease;
}

.qem-report-modal .btn-lg {
  min-height: 48px;
  padding: .72rem 1rem;
  font-size: var(--font-size-1, 1rem);
}

.qem-report-modal .btn-dark {
  border-color: var(--color-primary, var(--qem-brand));
  background: var(--color-primary, var(--qem-brand));
  color: #ffffff;
}

.qem-report-modal .btn-dark:hover,
.qem-report-modal .btn-dark:focus,
.qem-report-modal .btn-dark.is-hover,
.qem-report-submit:hover,
.qem-report-submit:focus {
  border-color: var(--color-primary-hover, var(--qem-brand-strong));
  background: var(--color-primary-hover, var(--qem-brand-strong));
  color: #ffffff;
  text-decoration: none;
}

.qem-report-submit {
  width: 100%;
}

.qem-report-modal-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .reviews-summary {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .review-card__topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .review-card__comment {
    margin-left: 0;
  }

  .reviews-summary .rate {
    font-size: 36px;
  }

  .reviews-summary__action {
    width: 100%;
  }

  .reviews-summary__action .review-link-button {
    width: 100%;
    min-height: 42px;
    border: 1px solid var(--qem-line);
    border-radius: var(--qem-radius-sm);
  }

  .review-toolbar,
  .review-toolbar__field {
    width: 100%;
  }

  .review-dialog {
    padding: 12px;
  }

  .qem-report-modal {
    padding: 12px;
  }

  .qem-report-grid {
    grid-template-columns: 1fr;
  }
}

.qem-storefront {
  background: var(--qem-bg);
  color: var(--qem-ink);
}

.qem-container {
  box-sizing: border-box;
  width: calc(100% - 32px);
  max-width: var(--qem-container);
  margin-left: auto;
  margin-right: auto;
}

.qem-section {
  padding-top: 48px;
  padding-bottom: 48px;
}

.qem-section--compact {
  padding-top: 32px;
  padding-bottom: 32px;
}

.qem-section__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.qem-home-1 {
  align-items: center;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
  min-height: 680px;
  overflow: hidden;
  padding: 72px 16px;
  position: relative;
}

.qem-home-1__overlay {
  background: rgba(15, 23, 42, .62);
  inset: 0;
  position: absolute;
  z-index: 0;
}

.qem-home-1__inner {
  color: #fff;
  max-width: 920px;
  position: relative;
  text-align: center;
  width: 100%;
  z-index: 1;
}

.qem-home-1__title {
  color: #fff;
  font-size: 52px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0;
}

.qem-home-1__subtitle {
  color: rgba(255, 255, 255, .82);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.45;
  margin: 14px auto 32px;
  max-width: 680px;
}

.qem-home-1__search {
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: var(--qem-radius);
  box-shadow: 0 22px 44px rgba(15, 23, 42, .22);
  display: grid;
  gap: 1px;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 230px);
  margin: 0 auto;
  max-width: 760px;
  overflow: hidden;
}

.qem-home-1__query {
  align-items: stretch;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 62px;
  min-width: 0;
}

.qem-home-1__input,
.qem-home-1__select {
  border: 0;
  color: var(--qem-ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
  min-height: 58px;
  min-width: 0;
  outline: none;
  width: 100%;
}

.qem-home-1__input {
  padding: 0 18px;
}

.qem-home-1__input::placeholder {
  color: #98a2b3;
}

.qem-home-1__select {
  appearance: none;
  background: #fff;
  border-left: 1px solid var(--qem-line);
  cursor: pointer;
  padding: 0 42px 0 16px;
}

.qem-home-1__location {
  min-width: 0;
  position: relative;
}

.qem-home-1__location::after {
  border-bottom: 2px solid #667085;
  border-right: 2px solid #667085;
  content: "";
  height: 8px;
  pointer-events: none;
  position: absolute;
  right: 18px;
  top: 22px;
  transform: rotate(45deg);
  width: 8px;
}

.qem-home-1__submit {
  align-items: center;
  background: var(--primary-color);
  border: 0;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-size: 24px;
  justify-content: center;
  min-height: 58px;
  padding: 0;
  transition: background-color 160ms ease, transform 160ms ease;
}

.qem-home-1__submit:hover,
.qem-home-1__submit:focus {
  background: #1f9f67;
  color: #fff;
  outline: none;
}

.qem-home-1__submit:focus-visible {
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .65);
}

.qem-home-2 {
  align-items: center;
  background: #f0f2f5;
  display: flex;
  min-height: 700px;
  padding: 56px 0;
  width: 100%;
}

.qem-home-2__inner {
  text-align: center;
  width: 100%;
}

.qem-home-2__title {
  color: var(--qem-ink);
  font-size: 52px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0;
}

.qem-home-2__subtitle {
  color: var(--qem-muted);
  font-size: 19px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.45;
  margin: 12px 0 36px;
}

.qem-home-2__carousel {
  position: relative;
}

.qem-home-2__viewport {
  overflow-x: auto;
  padding: 15px 10px;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.qem-home-2__viewport::-webkit-scrollbar {
  display: none;
}

.qem-home-2__items {
  display: grid;
  gap: 12px;
  grid-auto-columns: minmax(148px, 1fr);
  grid-auto-flow: column;
  list-style: none;
  margin: 0;
  padding: 0;
  scroll-snap-type: x mandatory;
}

.qem-home-2__item {
  min-width: 0;
  scroll-snap-align: start;
}

.qem-home-2__card {
  align-items: center;
  background: #fff;
  border: 1px solid transparent;
  border-radius: var(--qem-radius);
  box-shadow: 0 2px 4px rgba(54, 54, 54, .08);
  color: var(--qem-ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 166px;
  padding: 20px;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
}

.qem-home-2__card:hover,
.qem-home-2__card:focus {
  border-color: rgba(44, 191, 124, .35);
  box-shadow: 0 12px 24px rgba(15, 23, 42, .10);
  color: var(--primary-color);
  transform: translateY(-2px);
}

.qem-home-2__cover {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: var(--qem-radius-sm);
  display: block;
  height: 50px;
  margin-top: 8px;
  width: 50px;
}

.qem-home-2__card-title {
  display: -webkit-box;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  margin-top: 20px;
  max-width: 100%;
  overflow: hidden;
  text-align: center;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.qem-home-2__controls,
.qem-home-3__controls {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 18px;
}

.qem-carousel-button {
  align-items: center;
  background: #fff;
  border: 1px solid var(--qem-line);
  border-radius: 999px;
  color: var(--primary-color);
  cursor: pointer;
  display: inline-flex;
  font-size: 24px;
  height: 44px;
  justify-content: center;
  padding: 0;
  transition: border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
  width: 44px;
}

.qem-carousel-button:hover,
.qem-carousel-button:focus {
  border-color: rgba(44, 191, 124, .5);
  box-shadow: 0 10px 18px rgba(15, 23, 42, .10);
  transform: translateY(-1px);
}

.qem-home-3 {
  margin-bottom: 18px;
  margin-top: 20px;
}

.qem-home-3__layout {
  align-items: stretch;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
}

.qem-home-3__menu {
  background: #fff;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, .08);
  display: grid;
  gap: 4px;
  padding: 24px;
}

.qem-home-3__menu-link {
  align-items: center;
  border-radius: var(--qem-radius-sm);
  color: #333;
  display: flex;
  font-size: 16px;
  font-weight: 600;
  gap: 12px;
  line-height: 1.35;
  min-height: 38px;
  padding: 6px 8px;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}

.qem-home-3__menu-link:hover,
.qem-home-3__menu-link:focus {
  background: rgba(44, 191, 124, .08);
  color: var(--primary-color);
}

.qem-home-3__menu-icon {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
}

.qem-home-3__showcase {
  min-width: 0;
  position: relative;
}

.qem-home-3__slides {
  aspect-ratio: 7 / 3;
  border-radius: var(--qem-radius);
  list-style: none;
  margin: 0;
  overflow: hidden;
  padding: 0;
  position: relative;
}

.qem-home-3__slide {
  inset: 0;
  opacity: 0;
  position: absolute;
  transition: opacity 220ms ease;
  visibility: hidden;
}

.qem-home-3__slide.is-active,
.qem-home-3__slide:first-child {
  opacity: 1;
  visibility: visible;
}

.qem-home-3__slides.has-carousel .qem-home-3__slide:first-child:not(.is-active) {
  opacity: 0;
  visibility: hidden;
}

.qem-home-3__slide-link,
.qem-home-3__image {
  display: block;
  height: 100%;
  width: 100%;
}

.qem-home-3__image {
  object-fit: cover;
}

.qem-share {
  width: 100%;
}

.qem-share__grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  text-align: center;
}

.qem-taxonomy-tree {
  margin-top: 32px;
}

.qem-taxonomy-tree__inner {
  border-top: 1px solid var(--qem-line);
  padding-top: 32px;
}

.qem-taxonomy-tree__grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.qem-taxonomy-tree__group {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.qem-taxonomy-tree__parent {
  color: var(--qem-ink);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none;
  text-transform: capitalize;
}

.qem-taxonomy-tree__child {
  color: var(--qem-muted);
  font-size: 14px;
  line-height: 1.35;
  text-decoration: none;
}

.qem-taxonomy-tree__parent:hover,
.qem-taxonomy-tree__parent:focus,
.qem-taxonomy-tree__child:hover,
.qem-taxonomy-tree__child:focus {
  color: var(--primary-color);
}

.qem-directory-invoice-page {
  padding: 32px 0 64px;
}

.qem-directory-invoice-back {
  align-items: center;
  color: var(--qem-muted);
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  gap: 6px;
  margin-bottom: 18px;
  text-decoration: none;
}

.qem-directory-invoice-back:hover,
.qem-directory-invoice-back:focus {
  color: var(--primary-color);
}

.qem-directory-invoice-alert {
  background: #fff8e8;
  border: 1px solid #f0d7a1;
  border-radius: var(--qem-radius);
  color: #5e4318;
  padding: 16px 18px;
}

.qem-directory-invoice-alert p {
  margin: 0;
}

.qem-directory-invoice {
  background: #fff;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius);
  box-shadow: 0 12px 32px rgba(15, 23, 42, .08);
  padding: 28px;
}

.qem-directory-invoice__header {
  align-items: flex-start;
  border-bottom: 1px solid var(--qem-line);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding-bottom: 22px;
}

.qem-directory-invoice__eyebrow,
.qem-directory-invoice__meta-item p,
.qem-directory-invoice__section p {
  color: var(--qem-muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  margin: 0 0 5px;
}

.qem-directory-invoice__header h1 {
  color: var(--qem-ink);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0;
}

.qem-directory-invoice__status {
  background: rgba(44, 191, 124, .12);
  border: 1px solid rgba(44, 191, 124, .25);
  border-radius: 999px;
  color: #18784b;
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  padding: 8px 12px;
  white-space: nowrap;
}

.qem-directory-invoice__meta-grid,
.qem-directory-invoice__totals-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-top: 24px;
}

.qem-directory-invoice__totals-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.qem-directory-invoice__meta-item {
  background: #f8fafc;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius-sm);
  padding: 14px;
}

.qem-directory-invoice__meta-item strong {
  color: var(--qem-ink);
  display: block;
  font-size: 15px;
  line-height: 1.45;
}

.qem-directory-invoice__meta-item--total {
  background: #eef9f1;
  border-color: rgba(44, 191, 124, .25);
}

.qem-directory-invoice__section {
  padding-top: 28px;
}

.qem-directory-invoice__section h2 {
  color: var(--qem-ink);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.25;
  margin: 0 0 14px;
}

.qem-directory-invoice__section--tax p {
  color: var(--qem-ink);
  font-size: 15px;
  font-weight: 600;
  margin: 0;
}

.qem-directory-invoice__table-wrap {
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius-sm);
  overflow-x: auto;
}

.qem-directory-invoice__table {
  border-collapse: collapse;
  min-width: 720px;
  width: 100%;
}

.qem-directory-invoice__table th,
.qem-directory-invoice__table td {
  border-bottom: 1px solid var(--qem-line);
  color: var(--qem-ink);
  font-size: 14px;
  line-height: 1.45;
  padding: 12px 14px;
  text-align: left;
}

.qem-directory-invoice__table th {
  background: #f8fafc;
  color: var(--qem-muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.qem-directory-invoice__table tr:last-child td {
  border-bottom: 0;
}

.qem-searchhub-results {
  margin-bottom: 32px;
}

.qem-searchhub-results .qe-searchhub-results-head {
  align-items: flex-start;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}

.qem-searchhub-results .qe-searchhub-results-head h3 {
  color: var(--qem-ink);
  font-size: 18px;
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1.25;
  margin: 0;
}

.qem-searchhub-results .qe-searchhub-results-head p {
  color: var(--qem-muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.5;
  margin: 6px 0 0;
}

.qem-searchhub-results a {
  color: inherit;
  text-decoration: none;
}

.qem-searchhub-results a:hover,
.qem-searchhub-results a:focus {
  color: var(--qem-brand);
  text-decoration: none;
}

.qem-searchhub-results .qe-searchhub-results-scopes {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.qem-searchhub-results .qe-searchhub-results-scopes a,
.qem-searchhub-results .qe-searchhub-result-destinations a {
  align-items: center;
  border: 1px solid var(--qem-line);
  border-radius: 8px;
  background: #ffffff;
  color: #475467;
  display: inline-flex;
  gap: 8px;
  font-size: 13px;
  font-weight: 720;
  min-height: 34px;
  padding: 7px 10px;
}

.qem-searchhub-results .qe-searchhub-results-scopes a:first-child {
  color: var(--qem-ink);
  font-weight: 800;
}

.qe-searchhub-destination-logo {
  border-radius: 4px;
  flex: 0 0 auto;
  height: 18px;
  object-fit: contain;
  width: 18px;
}

.qe-searchhub-result-list {
  display: grid;
  margin-top: 16px;
}

.qe-searchhub-result-row {
  align-items: center;
  border-top: 1px solid var(--qem-line);
  display: grid;
  gap: 14px;
  grid-template-columns: 24px minmax(0, 1fr);
  min-height: 72px;
  padding: 13px 0;
}

.qe-searchhub-result-icon {
  align-items: center;
  color: #667085;
  display: inline-flex;
  height: 24px;
  justify-content: center;
  width: 24px;
}

.qe-searchhub-result-main {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.qe-searchhub-result-main strong {
  color: var(--qem-ink);
  font-size: 15px;
  font-weight: 720;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.qe-searchhub-result-main small {
  color: #64748b;
  font-size: 13px;
  font-weight: 520;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.qe-searchhub-result-type {
  color: #475467;
  font-size: 13px;
  font-weight: 760;
}

.qem-searchhub-results .qe-searchhub-result-destinations {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.qem-searchhub-results .qe-searchhub-result-destinations a {
  justify-content: center;
  min-width: 112px;
}

.qe-searchhub-destination-main {
  align-items: center;
  display: inline-flex;
  gap: 8px;
  min-width: 0;
}

.qe-searchhub-destination-fallback {
  align-items: center;
  color: #667085;
  display: inline-flex;
  height: 18px;
  justify-content: center;
  width: 18px;
}

.qe-searchhub-destination-fallback .qem-lucide-icon {
  height: 16px;
  width: 16px;
}

.qe-searchhub-destination-query {
  color: #667085;
  font-weight: 650;
  margin-left: 10px;
}

.qe-searchhub-destination-label {
  border-top: 1px solid var(--qem-line);
  color: #667085;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.4;
  margin-top: 12px;
  padding-top: 14px;
}

@media (max-width: 900px) {
  .qem-searchhub-results .qe-searchhub-results-head {
    display: grid;
  }

  .qem-searchhub-results .qe-searchhub-results-scopes {
    justify-content: flex-start;
  }

  .qem-home-3__layout {
    grid-template-columns: 1fr;
  }

  .qem-home-3__menu {
    display: none;
  }

  .qem-share__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .qem-taxonomy-tree__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .qem-directory-invoice__meta-grid,
  .qem-directory-invoice__totals-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .qem-home-1 {
    margin-bottom: 24px;
    min-height: 540px;
    padding: 58px 16px;
  }

  .qem-home-1__title {
    font-size: 36px;
  }

  .qem-home-1__subtitle {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .qem-home-1__search {
    grid-template-columns: 1fr;
  }

  .qem-home-1__query {
    grid-template-columns: minmax(0, 1fr) 56px;
  }

  .qem-home-1__select {
    border-left: 0;
    border-top: 1px solid var(--qem-line);
  }

  .qem-home-2 {
    min-height: 560px;
    padding: 42px 0;
  }

  .qem-home-2__subtitle {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .qem-home-2__title {
    font-size: 36px;
  }

  .qem-home-2__items {
    grid-auto-columns: minmax(136px, 74vw);
  }

  .qem-home-3__slides {
    aspect-ratio: 16 / 9;
  }

  .qem-share__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .qem-taxonomy-tree__grid,
  .qem-directory-invoice__meta-grid,
  .qem-directory-invoice__totals-grid {
    grid-template-columns: 1fr;
  }

  .qem-directory-invoice {
    padding: 20px;
  }

  .qem-directory-invoice__header {
    flex-direction: column;
  }
}

.qem-page-title {
  background: #f7f9fb;
  border-bottom: 1px solid var(--qem-line);
  margin-bottom: 24px;
  padding: 18px 0;
}

.qem-page-title__heading {
  color: var(--qem-ink);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.25;
  margin: 0;
}

.qem-page-title__heading::after {
  background: var(--primary-color);
  content: "";
  display: block;
  height: 3px;
  margin-top: 10px;
  width: 50px;
}

.qem-page-title__summary {
  color: var(--qem-muted);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  margin: 8px 0 0;
  max-width: 760px;
}

html[dir="rtl"] .qem-page-title__heading::after,
body.rtl .qem-page-title__heading::after {
  margin-left: auto;
}

.qem-section__title {
  margin: 0;
  color: var(--qem-ink);
  font-size: 28px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0;
}

.qem-section__eyebrow,
.qem-section__meta,
.qem-eyebrow {
  margin: 0;
  color: var(--qem-muted);
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0;
}

.qem-eyebrow {
  margin-bottom: 6px;
  color: var(--qem-brand);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.qem-grid {
  display: grid;
  gap: 16px;
}

.qem-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.qem-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.qem-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.qem-changelog-list {
  display: grid;
  gap: 18px;
  max-width: 920px;
}

.qem-changelog-entry {
  display: grid;
  gap: 18px;
  grid-template-columns: 150px minmax(0, 1fr);
}

.qem-changelog-entry__date {
  color: var(--qem-muted);
  font-size: 14px;
  font-weight: 700;
  padding-top: 6px;
}

.qem-changelog-entry__body {
  background: #fff;
  border: 1px solid var(--qem-border);
  border-radius: 8px;
  padding: 22px;
}

.qem-changelog-entry__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.qem-changelog-entry__meta span {
  background: #eef3f8;
  border-radius: 999px;
  color: #536274;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 9px;
}

.qem-changelog-entry h2 {
  color: var(--qem-ink);
  font-size: 22px;
  line-height: 1.25;
  margin: 0 0 10px;
}

.qem-changelog-entry p {
  color: #4f6072;
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}

.qem-changelog-entry__link {
  display: inline-block;
  font-weight: 700;
  margin-top: 14px;
}

.qem-card,
.qem-product-card {
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius);
  background: var(--qem-surface);
  box-shadow: var(--qem-shadow-sm);
}

.qem-product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  position: relative;
  color: inherit;
  text-decoration: none;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.qem-product-card:hover,
.qem-product-card:focus-within {
  border-color: rgba(29, 36, 51, .28);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(16, 24, 40, .08);
  transform: translateY(-1px);
}

.qem-product-card__main {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 100%;
  color: inherit;
  text-decoration: none;
}

.qem-product-card__main:hover,
.qem-product-card__main:focus {
  color: inherit;
  text-decoration: none;
}

.qem-product-card__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  padding: 10px;
  background: #ffffff;
}

.qem-product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qem-product-card__timer {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: calc(100% - 24px);
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(20, 24, 33, .86);
  color: #ffffff;
  font-size: 11px;
  line-height: 1.25;
  font-weight: 700;
}

.qem-product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
  padding: 11px;
}

.qem-product-card__title {
  margin: 0;
  color: var(--qem-ink);
  font-size: 14px;
  line-height: 1.35;
  font-weight: 650;
  letter-spacing: 0;
  display: -webkit-box;
  min-height: 38px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.qem-product-card__text {
  margin: 0;
  color: var(--qem-muted);
  font-size: 12px;
  line-height: 1.45;
  letter-spacing: 0;
  display: -webkit-box;
  min-height: 18px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.qem-product-card__meta {
  color: var(--qem-muted);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 700;
}

.qem-product-card__price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 7px;
  margin-top: auto;
}

.qem-product-card__old-price {
  color: var(--qem-muted);
  font-size: 13px;
  font-weight: 600;
  text-decoration: line-through;
}

.qem-product-card__discount {
  color: var(--qem-success);
  font-size: 11px;
  font-weight: 750;
}

.qem-product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 2px;
}

.qem-product-card__stock {
  min-width: 0;
}

.qem-product-card__cta {
  color: var(--qem-brand);
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
}

.qem-product-card__actions {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(40px, auto);
  gap: 8px;
  isolation: isolate;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity .18s ease, transform .18s ease;
}

.qem-product-card__actions::before {
  position: absolute;
  inset: -22px -18px -18px;
  z-index: 0;
  background: linear-gradient(180deg, rgba(251, 252, 255, .92), #ffffff 30%);
  content: "";
  pointer-events: none;
}

.qem-product-card:hover .qem-product-card__actions,
.qem-product-card:focus-within .qem-product-card__actions {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.qem-product-card:hover .qem-product-card__price-row,
.qem-product-card:hover .qem-product-card__footer,
.qem-product-card:focus-within .qem-product-card__price-row,
.qem-product-card:focus-within .qem-product-card__footer {
  opacity: 0;
}

.qem-product-card__cart-form {
  display: flex;
  margin: 0;
  min-width: 0;
  width: 100%;
}

.qem-product-card__action {
  align-items: center;
  appearance: none;
  border-radius: 6px;
  box-sizing: border-box;
  display: inline-flex;
  font-size: 13px;
  font-weight: 600;
  font: inherit;
  justify-content: center;
  line-height: 1;
  min-height: 40px;
  min-width: 0;
  overflow: hidden;
  padding: 0 14px;
  position: relative;
  z-index: 1;
  text-align: center;
  text-decoration: none;
  transition: background .16s ease, border-color .16s ease, color .16s ease;
  white-space: nowrap;
  width: 100%;
}

.qem-product-card__action:hover,
.qem-product-card__action:focus {
  text-decoration: none;
}

.qem-product-card__action--soft {
  cursor: pointer;
}

.qem-product-card__action--affiliate {
  grid-column: 1 / -1;
}

.qem-product-card__action--wide {
  grid-column: 1 / -1;
}

.qem-product-card--wide {
  display: grid;
  grid-template-columns: minmax(150px, 38%) minmax(0, 1fr);
}

.qem-product-card--wide .qem-product-card__media {
  aspect-ratio: auto;
  min-height: 190px;
  padding: 12px;
}

.qem-product-card--wide .qem-product-card__body {
  padding: 13px;
}

.qem-product-card--wide .qem-product-card__title {
  font-size: 15px;
  font-weight: 700;
}

.qem-product-card--wide .qem-product-card__text {
  font-size: 13px;
}

.qem-product-card .qem-price {
  font-size: 18px;
  font-weight: 750;
}

.qem-product-card--wide .qem-price {
  font-size: 19px;
  font-weight: 800;
}

.qem-product-card .qem-badge-row {
  gap: 6px;
}

.qem-product-card .qem-badge {
  min-height: 18px;
  padding: 2px 6px;
  font-size: 10px;
  font-weight: 750;
}

.qem-marketplace-page--search .qem-product-card,
.qem-page--daily-deals .qem-product-card {
  border-radius: 8px;
  box-shadow: none;
}

.qem-marketplace-page--search .qem-product-card:hover,
.qem-marketplace-page--search .qem-product-card:focus-within,
.qem-page--daily-deals .qem-product-card:hover,
.qem-page--daily-deals .qem-product-card:focus-within {
  box-shadow: 0 8px 22px rgba(16, 24, 40, .06);
}

.qem-marketplace-page--search .qem-product-card__media,
.qem-page--daily-deals .qem-product-card__media {
  background: #f8fafc;
}

.qem-marketplace-page--search .qem-product-card__title,
.qem-page--daily-deals .qem-product-card__title {
  overflow-wrap: anywhere;
}

.qem-section--homepage-blocks {
  background: #ffffff;
}

.qem-homepage-block-grid {
  display: grid;
  gap: 16px;
}

.qem-homepage-block {
  align-items: stretch;
  background: #fbfcff;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius);
  box-shadow: var(--qem-shadow-sm);
  display: grid;
  grid-template-columns: minmax(180px, 34%) minmax(0, 1fr);
  overflow: hidden;
}

.qem-homepage-block--no-media {
  grid-template-columns: 1fr;
}

.qem-homepage-block__media {
  background: #f8faff;
  min-height: 190px;
}

.qem-homepage-block__media img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.qem-homepage-block__body {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.qem-homepage-block__body h2 {
  color: var(--qem-ink);
  font-size: 24px;
  line-height: 1.15;
  margin: 0;
}

.qem-homepage-block__copy {
  color: var(--qem-muted);
  font-size: 14px;
  line-height: 1.6;
}

.qem-homepage-block__copy > :first-child {
  margin-top: 0;
}

.qem-homepage-block__copy > :last-child {
  margin-bottom: 0;
}

.qem-homepage-block--cta,
.qem-homepage-block--hero_panel {
  background: #f8faff;
}

.qem-product-grid {
  align-items: stretch;
}

.qem-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 20px;
  color: var(--qem-muted);
  font-size: 12px;
  line-height: 1.35;
}

.qem-rating .stars,
.qem-rating i {
  color: #f59e0b;
}

.qem-price {
  color: var(--qem-brand-strong);
  font-size: 22px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0;
}

.qem-price--old {
  color: var(--qem-muted);
  font-size: 14px;
  font-weight: 500;
  text-decoration: line-through;
}

.qem-badge-row,
.qem-action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.qem-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--qem-surface-soft);
  color: var(--qem-muted);
  font-size: 12px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0;
}

.qem-badge--accent {
  background: var(--qem-accent);
  color: var(--qem-accent-ink);
}

.qem-badge--success {
  background: rgba(22, 163, 74, .12);
  color: var(--qem-success);
}

.qem-badge--warning {
  background: rgba(249, 115, 22, .14);
  color: var(--qem-warning);
}

.qem-badge--danger {
  background: rgba(225, 29, 72, .12);
  color: var(--qem-danger);
}

.qem-badge--info {
  background: rgba(37, 99, 235, .12);
  color: #2563eb;
}

.qem-badge--featured {
  background: rgba(225, 29, 72, .12);
  color: var(--qem-danger);
}

.qem-badge--exclusive {
  background: var(--qem-accent);
  color: var(--qem-accent-ink);
}

.qem-search-card-badge-row {
  margin-top: 8px;
}

.qem-marketplace-page {
  box-sizing: border-box;
  padding-bottom: 48px;
}

.qem-discovery-page,
.qem-discovery-browse-page {
  background: #ffffff;
}

.qem-marketplace-page--search {
  padding-top: 12px;
}

.qem-search-page-spacer {
  height: 40px;
}

.qem-marketplace-page--search .qem-ui-search-layout {
  box-sizing: border-box;
  display: grid;
  gap: 24px;
  width: 100%;
  max-width: var(--qem-layout-container, 1340px);
  margin: 0 auto;
  padding: 24px 16px;
}

.qem-search-sidebar {
  display: none;
}

.qem-marketplace-page--search .sidebar {
  align-self: flex-start;
}

.qem-ui-search-sidebar-panel {
  box-sizing: border-box;
  min-width: 0;
}

.qem-search-main {
  min-width: 0;
}

.qem-search-intro {
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius-sm);
  background: #ffffff;
}

.qem-search-intro__content {
  min-width: 0;
}

@media (min-width: 1024px) {
  .qem-marketplace-page--search .qem-ui-search-layout {
    grid-template-columns: 280px minmax(0, 1fr);
    padding-left: 32px;
    padding-right: 32px;
  }

  .qem-search-sidebar {
    display: block;
  }

  .qem-search-mobile-filter {
    display: none;
  }
}

.qem-marketplace-page--search .sidebar .widget {
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--qem-line);
}

.qem-marketplace-page--search .sidebar .widget:last-child {
  border-bottom: 0;
}

.qem-marketplace-page--search .sidebar .widget .widget_heading {
  display: flex;
  align-items: center;
  min-height: 28px;
  color: var(--qem-ink);
  font-size: 14px;
  font-weight: 850;
  letter-spacing: 0;
  text-decoration: none;
}

.qem-marketplace-page--search .sidebar .widget label,
.qem-search-taxonomy-list a {
  color: #475467;
  line-height: 1.35;
}

.qem-marketplace-page--search .sidebar .widget label {
  align-items: flex-start;
  display: flex;
  gap: 8px;
  min-width: 0;
}

.qem-search-filter-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.qem-search-taxonomy-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.qem-search-taxonomy-list__item {
  display: grid;
  gap: 7px;
}

.qem-search-taxonomy-list__link {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 24px;
  color: var(--qem-ink);
  font-size: 14px;
  font-weight: 780;
  text-decoration: none;
  text-transform: capitalize;
}

.qem-search-taxonomy-list__item.has-children > .qem-search-taxonomy-list__link::after {
  content: "";
  flex: 0 0 auto;
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 8px;
  border-bottom: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.qem-search-taxonomy-list__item.is-expanded > .qem-search-taxonomy-list__link::after {
  transform: rotate(225deg) translate(-2px, -1px);
}

.qem-search-taxonomy-list__children {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0 0 0 12px;
  list-style: none;
  border-left: 1px solid var(--qem-line);
}

.qem-search-taxonomy-list__children a {
  display: inline-flex;
  max-width: 100%;
  min-height: 22px;
  color: var(--qem-muted);
  font-size: 13px;
  font-weight: 720;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.qem-search-taxonomy-list a.is-active {
  color: var(--qem-brand);
  font-weight: 850;
}

.qem-search-taxonomy-list a:hover,
.qem-search-taxonomy-list a:focus {
  color: var(--qem-brand);
}

.qem-daily-sidebar {
  background: #fff;
  border: 1px solid var(--qem-line);
  border-radius: 8px;
  box-shadow: var(--qem-shadow-sm);
  margin-top: 20px;
  padding: 16px;
}

.qem-daily-sidebar__header {
  align-items: center;
  display: flex;
  font-weight: 850;
  justify-content: space-between;
  margin-bottom: 12px;
}

.qem-daily-sidebar__header a {
  color: var(--qem-accent);
  font-size: 13px;
  font-weight: 800;
}

.qem-daily-sidebar__item {
  align-items: center;
  border-top: 1px solid var(--qem-line);
  color: inherit;
  display: grid;
  gap: 12px;
  grid-template-columns: 72px minmax(0, 1fr);
  padding: 12px 0;
  text-decoration: none;
}

.qem-daily-sidebar__item:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.qem-daily-sidebar__item:last-child {
  padding-bottom: 0;
}

.qem-daily-sidebar__media {
  background: #f8fafc;
  border-radius: 8px;
  display: block;
  height: 72px;
  overflow: hidden;
  width: 72px;
}

.qem-daily-sidebar__media img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.qem-daily-sidebar__body,
.qem-daily-sidebar__body strong {
  display: block;
  min-width: 0;
}

.qem-daily-sidebar__body strong {
  color: var(--qem-ink);
  font-size: 14px;
  line-height: 1.25;
}

.qem-daily-sidebar__badge {
  color: var(--qem-accent);
  display: block;
  font-size: 11px;
  font-weight: 850;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.qem-daily-sidebar__price {
  color: var(--qem-ink);
  display: block;
  font-size: 15px;
  font-weight: 850;
  margin-top: 6px;
}

.qem-search-primary {
  margin-bottom: 18px;
}

.qem-search-primary__inner {
  padding: 16px;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius-sm);
  background: #ffffff;
}

.qem-marketplace-page--search .qem-search-primary .qe-searchhub {
  z-index: 10;
}

.qem-search-primary .qe-searchhub-input {
  min-height: 56px;
}

.qe-searchhub-input {
  background: #fff;
  border: 1px solid var(--qem-line);
  color: var(--qem-ink);
  display: block;
  font: inherit;
  font-size: 16px;
  line-height: 1.35;
  min-height: 48px;
  outline: 0;
  padding: 0 54px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
  width: 100%;
}

.qe-searchhub-input:focus {
  border-color: rgba(44, 191, 124, .65);
  box-shadow: 0 0 0 3px rgba(44, 191, 124, .14);
}

.qe-searchhub-input::placeholder {
  color: #8a94a6;
}

.qe-searchhub-input--pill {
  border-radius: 999px;
}

.qe-searchhub-input--rounded {
  border-radius: var(--qem-radius-sm);
}

.qe-searchhub {
  position: relative;
  width: 100%;
}

.qe-searchhub-form {
  margin: 0;
}

.qe-searchhub-field {
  position: relative;
}

.qe-searchhub-icon {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--qem-muted);
  cursor: pointer;
  display: inline-flex;
  height: 100%;
  justify-content: center;
  min-height: 48px;
  padding: 0;
  position: absolute;
  top: 0;
  width: 48px;
  z-index: 2;
}

.qe-searchhub-submit {
  left: 4px;
}

.qe-searchhub-clear {
  right: 52px;
}

.qe-searchhub-voice {
  right: 6px;
}

.qe-searchhub-icon:hover,
.qe-searchhub-icon:focus {
  color: var(--primary-color);
}

.qem-search-mobile-filter {
  margin-bottom: 16px;
}

.qem-search-mobile-filter .fltr {
  min-height: 48px;
  border-color: var(--qem-line);
  color: var(--qem-ink);
  font-weight: 800;
}

.qem-search-active-filters {
  margin-top: 4px;
  margin-bottom: 16px;
}

.qem-search-active-filters__inner {
  min-width: 0;
}

.qem-search-active-filters__scroll {
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: thin;
}

.qem-search-active-filter-list {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0 0 4px;
  list-style: none;
}

.qem-search-active-filter-list__item {
  flex: 0 0 auto;
}

.qem-search-active-filters .filterTag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 7px 13px;
  border: 1px solid #d8dde6;
  background: #ffffff;
  color: var(--qem-ink);
  font-weight: 750;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .05);
}

.qem-search-active-filters .filterTag p {
  margin: 0;
}

.qem-search-active-filters .filterTag i {
  line-height: 1;
}

.qem-search-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
  padding: 13px 16px;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius-sm);
  background: #ffffff;
}

.qem-search-toolbar__summary {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: baseline;
  color: #667085;
  font-size: 14px;
  font-weight: 750;
}

.qem-search-toolbar__count {
  color: var(--qem-ink);
  font-size: 20px;
  font-weight: 900;
}

.qem-search-sort-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius-sm);
  background: #ffffff;
  color: var(--qem-ink) !important;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.qem-search-sort-trigger:hover,
.qem-search-sort-trigger:focus {
  border-color: #c4ccd8;
  color: var(--qem-ink) !important;
  text-decoration: none;
}

.qem-search-sort-control {
  position: relative;
}

.qem-search-sort-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 30;
  min-width: 210px;
  padding: 8px;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius-sm);
  background: #ffffff;
  box-shadow: var(--qem-shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity .16s ease, transform .16s ease;
}

.qem-search-sort-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.qem-search-sort-list {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.qem-search-sort-list a {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 10px;
  border-radius: var(--qem-radius-sm);
  color: var(--qem-ink);
  font-size: 14px;
  font-weight: 760;
  text-decoration: none;
}

.qem-search-sort-list a:hover,
.qem-search-sort-list a:focus,
.qem-search-sort-list .is-active a {
  background: var(--qem-bg);
  color: var(--qem-brand);
}

.qem-marketplace-results {
  margin-top: 18px;
}

.qem-search-results-grid {
  margin-top: 0;
}

.qem-search-pagination-spacer {
  height: 32px;
}

.qem-search-pagination-status {
  margin: 0 0 12px;
  color: #667085;
  font-size: 13px;
  font-weight: 750;
}

.qem-search-pagination-divider {
  margin: 0 0 16px;
  border: 0;
  border-top: 1px solid var(--qem-line);
}

.qem-pagination {
  margin-top: 16px;
}

.qem-pagination__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.qem-pagination__link,
.qem-pagination__ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: var(--qem-radius-sm);
  font-size: 14px;
  font-weight: 850;
}

.qem-pagination__link {
  border: 1px solid var(--qem-line);
  background: #ffffff;
  color: var(--qem-ink);
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, color .18s ease;
}

.qem-pagination__link:hover,
.qem-pagination__link:focus-visible {
  border-color: var(--qem-accent);
  color: var(--qem-accent-ink);
  box-shadow: 0 0 0 3px rgba(58, 178, 115, .14);
  outline: none;
}

.qem-pagination__link--current {
  border-color: var(--qem-ink);
  background: var(--qem-ink);
  color: #ffffff;
}

.qem-pagination__link--icon {
  padding: 0;
}

.qem-pagination__ellipsis {
  color: #98a2b3;
}

.qem-search-dynamic-region {
  position: relative;
  min-height: 160px;
}

.qem-search-dynamic-region.is-loading {
  opacity: .62;
  pointer-events: none;
}

.qem-search-dynamic-region.is-loading::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--qem-radius-sm);
  background: rgba(255, 255, 255, .54);
}

.qem-search-dynamic-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.qem-marketplace-empty,
.qem-empty-card {
  padding: 34px 24px;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius);
  background: var(--qem-surface);
  box-shadow: var(--qem-shadow-sm);
  color: var(--qem-ink);
}

.qem-marketplace-empty h3,
.qem-empty-card h3 {
  margin: 0;
  color: var(--qem-ink);
  font-size: 22px;
  line-height: 1.25;
  font-weight: 850;
}

.qem-marketplace-page--search .qem-marketplace-empty {
  display: grid;
  gap: 8px;
  min-height: 190px;
  align-content: center;
  margin-top: 18px;
}

.qem-browse-card-grid,
.qem-browse-index-grid {
  display: grid;
  gap: 16px;
  align-items: stretch;
  min-width: 0;
}

.qem-browse-card-grid,
.qem-browse-index-grid--listing {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
}

.qem-browse-index-grid--taxonomy {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.qem-browse-page-spacer {
  height: 40px;
}

.qem-browse-index-page {
  box-sizing: border-box;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}

.qem-browse-index-sections {
  display: grid;
  gap: 16px;
  margin-top: 24px;
  margin-bottom: 24px;
  min-width: 0;
}

.qem-browse-heading-row {
  margin-top: 34px;
  margin-bottom: 16px;
}

.qem-browse-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  margin: 10px 0 0;
  color: var(--qem-ink);
  font-size: 22px;
  line-height: 1.25;
  font-weight: 900;
}

.qem-browse-section-title::after {
  content: "";
  flex: 1 1 auto;
  min-width: 32px;
  border-top: 1px solid var(--qem-line);
}

.qem-browse-section-title--compact {
  margin: 0;
  font-size: 17px;
}

.qem-browse-section-title span,
.qem-browse-index-grid__item {
  min-width: 0;
}

.qem-browse-section-title span {
  overflow-wrap: anywhere;
}

.qem-discovery-empty {
  box-sizing: border-box;
  max-width: 720px;
}

.qem-discovery-card {
  border-radius: 8px;
  box-shadow: none;
}

.qem-discovery-detail {
  border-top: 1px solid var(--qem-line);
  padding-top: 28px;
}

.qem-pricing-page-spacer {
  height: 40px;
}

.qem-home-featured {
  width: 100%;
  max-width: 1180px;
  margin: 36px auto 44px;
  padding: 0 16px;
}

.qem-public-ad {
  box-sizing: border-box;
  width: 100%;
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 16px;
  padding-left: 16px;
}

.qem-public-ad--header {
  margin-bottom: 40px;
}

.qem-public-ad--footer {
  margin-top: 40px;
}

.qem-public-ad--sidebar {
  max-width: none;
  margin: 0;
  padding: 0;
}

.qem-public-ad__inner,
.qem-public-ad__item {
  min-width: 0;
  text-align: center;
}

.qem-public-ad__stack {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.qem-public-ad :where(p) {
  margin: 0;
}

.qem-public-ad :where(img, iframe, embed, object) {
  max-width: 100%;
}

.qem-home-featured__heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.qem-home-featured__heading h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: var(--qem-ink);
  font-size: 24px;
  line-height: 1.25;
  font-weight: 900;
}

.qem-home-featured__heading h3::after {
  content: "";
  flex: 1 1 auto;
  width: min(18vw, 180px);
  min-width: 42px;
  border-top: 1px solid var(--qem-line);
}

.qem-home-featured-grid {
  display: grid;
  gap: 14px;
}

.qem-home-featured-grid--taxonomy,
.qem-home-featured-grid--stores,
.qem-home-featured-grid--locations {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.qem-home-taxonomy-card,
.qem-home-store-card,
.qem-home-location-card {
  display: block;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.qem-home-taxonomy-card:hover,
.qem-home-taxonomy-card:focus,
.qem-home-store-card:hover,
.qem-home-store-card:focus,
.qem-home-location-card:hover,
.qem-home-location-card:focus {
  color: inherit;
  text-decoration: none;
}

.qem-home-taxonomy-card__inner,
.qem-home-store-card__inner {
  min-height: 100%;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius);
  background: #ffffff;
  box-shadow: var(--qem-shadow-sm);
  overflow: hidden;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.qem-home-taxonomy-card:hover .qem-home-taxonomy-card__inner,
.qem-home-taxonomy-card:focus .qem-home-taxonomy-card__inner,
.qem-home-store-card:hover .qem-home-store-card__inner,
.qem-home-store-card:focus .qem-home-store-card__inner,
.qem-home-location-card:hover .qem-home-location-card__media,
.qem-home-location-card:focus .qem-home-location-card__media {
  border-color: rgba(29, 36, 51, .28);
  box-shadow: 0 8px 22px rgba(16, 24, 40, .08);
  transform: translateY(-1px);
}

.qem-home-taxonomy-card__cover {
  min-height: 118px;
  background-position: center;
  background-size: cover;
}

.qem-home-taxonomy-card h5 {
  margin: 0;
  padding: 12px;
  overflow: hidden;
  color: var(--qem-ink);
  font-size: 14px;
  line-height: 1.35;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.qem-home-store-card__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 10px;
}

.qem-home-store-card__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--qem-radius-sm);
  background: var(--qem-bg);
  overflow: hidden;
}

.qem-home-store-card__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qem-home-store-card h2 {
  margin: 0;
  overflow: hidden;
  color: var(--qem-ink);
  font-size: 15px;
  line-height: 1.3;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.qem-home-location-card__media {
  position: relative;
  min-height: 180px;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius);
  background: #ffffff;
  box-shadow: var(--qem-shadow-sm);
  overflow: hidden;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.qem-home-location-card__media img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
}

.qem-home-location-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, .08), rgba(15, 23, 42, .62));
}

.qem-home-location-card__content {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  color: #ffffff;
}

.qem-home-location-card__content p {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 900;
}

.qem-home-location-card__content span {
  display: inline-flex;
  margin-top: 5px;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 750;
}

@media (min-width: 640px) {
  .qem-home-featured-grid--taxonomy,
  .qem-home-featured-grid--stores {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .qem-home-featured-grid--locations {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .qem-home-featured-grid--taxonomy {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .qem-home-featured-grid--stores,
  .qem-home-featured-grid--locations {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .qem-home-featured-grid--taxonomy {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.qem-pricing-page {
  box-sizing: border-box;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 16px;
}

.qem-pricing-page--content {
  padding-bottom: 0;
}

.qem-pricing-content {
  padding: 18px;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius-sm);
  background: #ffffff;
  box-shadow: var(--qem-shadow-sm);
}

.qem-pricing-hero {
  max-width: 780px;
  margin: 10px auto 22px;
  text-align: center;
}

.qem-pricing-hero h2 {
  margin: 0;
  color: var(--qem-ink);
  font-size: 32px;
  line-height: 1.16;
  font-weight: 900;
}

.qem-pricing-hero p {
  margin: 10px 0 0;
  color: var(--qem-muted);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 650;
}

.qem-pricing-plans {
  min-width: 0;
}

.qem-pricing-plans-shell {
  width: 100%;
}

.qem-pricing-intro {
  max-width: 720px;
  margin: -8px auto 24px;
  color: var(--qem-muted);
  font-size: 15px;
  line-height: 1.6;
  text-align: center;
}

.qem-pricing-plans-widget {
  display: grid;
  gap: 22px;
}

.qem-pricing-filter-wrap {
  display: flex;
  justify-content: center;
}

.qem-pricing-filter {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 4px;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius-sm);
  background: #f8fafc;
  list-style: none;
}

.qem-pricing-filter__button {
  min-height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--qem-muted);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.qem-pricing-filter li.is-active .qem-pricing-filter__button {
  background: #111827;
  color: #ffffff;
}

.qem-pricing-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
}

.qem-pricing-plan-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 16px;
  min-width: 0;
  min-height: 100%;
  padding: 22px;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius-sm);
  background: #ffffff;
  box-shadow: var(--qem-shadow-sm);
}

.qem-pricing-plan-card.card-recommended {
  border-color: #111827;
}

.qem-pricing-plan-card__recommended {
  position: absolute;
  top: 14px;
  right: 14px;
  color: #f59e0b;
}

.qem-pricing-plan-card__tag p,
.qem-pricing-plan-card__description {
  margin: 0;
}

.qem-pricing-plan-card__tag p {
  color: var(--qem-ink);
  font-size: 16px;
  font-weight: 850;
}

.qem-pricing-plan-card__price .number {
  display: none;
  margin: 0;
  color: var(--qem-ink);
  font-size: 34px;
  line-height: 1.1;
  font-weight: 900;
}

.qem-pricing-plan-card__price .number.is-active {
  display: block;
}

.qem-pricing-plan-card__price .code {
  margin-left: 4px;
  color: var(--qem-muted);
  font-size: 13px;
  font-weight: 800;
}

.qem-pricing-plan-card__description {
  color: var(--qem-muted);
  font-size: 14px;
  line-height: 1.55;
}

.qem-pricing-feature-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.qem-pricing-feature-list li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 8px;
  color: var(--qem-ink);
  font-size: 14px;
  line-height: 1.45;
}

.qem-pricing-feature-list i {
  margin-top: 2px;
}

.qem-pricing-feature-list .success {
  color: #15803d;
}

.qem-pricing-feature-list .danger {
  color: #b42318;
}

.qem-pricing-feature-list__summary {
  grid-column: 2;
  color: var(--qem-muted);
  font-size: 12px;
  line-height: 1.45;
}

.qem-pricing-info-section {
  margin: 28px 0 32px;
  background: var(--qem-bg);
}

.qem-pricing-heading {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.qem-pricing-heading h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0;
  color: var(--qem-ink);
  font-size: 24px;
  line-height: 1.25;
  font-weight: 900;
  text-align: center;
}

.qem-pricing-heading h3::before,
.qem-pricing-heading h3::after {
  content: "";
  width: 54px;
  border-top: 1px solid var(--qem-line);
}

.qem-pricing-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.qem-pricing-feature {
  padding: 18px;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius-sm);
  background: #ffffff;
  box-shadow: var(--qem-shadow-sm);
}

.qem-pricing-feature h4 {
  margin: 0 0 8px;
  color: var(--qem-ink);
  font-size: 18px;
  line-height: 1.3;
  font-weight: 850;
}

.qem-pricing-feature p {
  margin: 0;
  color: var(--qem-muted);
  font-size: 15px;
  line-height: 1.6;
}

.qem-pricing-cta {
  box-sizing: border-box;
  display: grid;
  justify-items: center;
  gap: 14px;
  width: 100%;
  max-width: 760px;
  margin: 0 auto 48px;
  padding: 0 16px;
  text-align: center;
}

.qem-pricing-cta h4 {
  margin: 0;
  color: var(--qem-ink);
  font-size: 21px;
  line-height: 1.35;
  font-weight: 850;
}

.qem-payment-shell {
  background: var(--qem-surface-soft);
  color: var(--qem-ink);
  min-height: 70vh;
}

.qem-payment-frame {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 30px 0 44px;
}

.qem-payment-heading {
  margin-bottom: 18px;
}

.qem-payment-heading p {
  margin: 0 0 4px;
  color: var(--qem-muted);
  font-size: 13px;
  font-weight: 750;
}

.qem-payment-heading h1 {
  margin: 0;
  color: var(--qem-ink);
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: 0;
}

.qem-payment-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
  gap: 18px;
  align-items: start;
}

.qem-payment-main,
.qem-payment-sidebar {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.qem-payment-card,
.qem-payment-feature-card,
.qem-payment-alert {
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius);
  background: #fff;
  box-shadow: var(--qem-shadow-sm);
}

.qem-payment-card,
.qem-payment-feature-card {
  padding: 18px;
}

.qem-payment-card h2,
.qem-payment-feature-card h2 {
  margin: 0 0 14px;
  color: var(--qem-ink);
  font-size: 18px;
  line-height: 1.25;
  font-weight: 850;
  letter-spacing: 0;
}

.qem-payment-alert {
  padding: 14px 16px;
}

.qem-payment-alert--danger {
  color: #b42318;
  background: #fff5f4;
  border-color: #f4c7c1;
}

.qem-payment-alert ul {
  margin: 0;
  padding-left: 18px;
}

.qem-payment-option-list {
  display: grid;
  gap: 12px;
}

.qem-payment-choice {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
  min-height: 72px;
  padding: 14px;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius-sm);
  background: #fff;
  cursor: pointer;
}

.qem-payment-choice:has(input:checked) {
  border-color: var(--qem-brand);
  background: var(--qem-surface-soft);
  box-shadow: 0 0 0 2px rgba(29, 36, 51, .08);
}

.qem-payment-choice input {
  width: 16px;
  height: 16px;
  margin: 3px 0 0;
}

.qem-payment-choice__body {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.qem-payment-choice__body strong,
.qem-payment-choice__price {
  color: var(--qem-ink);
  font-weight: 850;
}

.qem-payment-choice__body small,
.qem-payment-choice__price small,
.qem-payment-field em,
.qem-payment-summary-row small,
.qem-payment-feature-list small {
  color: var(--qem-muted);
  font-size: 12px;
  line-height: 1.35;
  font-style: normal;
  font-weight: 600;
}

.qem-payment-method-logo {
  width: auto;
  max-width: 86px;
  max-height: 24px;
  object-fit: contain;
}

.qem-payment-field-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}

.qem-payment-field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.qem-payment-field--full {
  grid-column: 1 / -1;
}

.qem-payment-field--half {
  grid-column: span 2;
}

.qem-payment-field--quarter {
  grid-column: span 1;
}

.qem-payment-field span {
  color: var(--qem-ink);
  font-size: 13px;
  line-height: 1.3;
  font-weight: 760;
}

.qem-payment-field small {
  color: #b42318;
}

.qem-payment-input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius-sm);
  background: #fff;
  color: var(--qem-ink);
  font: inherit;
  padding: 10px 12px;
}

.qem-payment-input:focus {
  outline: none;
  border-color: var(--qem-brand);
  box-shadow: 0 0 0 3px rgba(29, 36, 51, .12);
}

.qem-payment-sidebar {
  position: sticky;
  top: 18px;
}

.qem-payment-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--qem-line);
  color: var(--qem-muted);
  font-size: 14px;
  line-height: 1.35;
}

.qem-payment-summary-row strong {
  color: var(--qem-ink);
  text-align: right;
  font-weight: 850;
}

.qem-payment-summary-row--success strong {
  color: #087752;
}

.qem-payment-summary-row--total {
  border-bottom: 0;
  color: var(--qem-ink);
  font-size: 16px;
  font-weight: 850;
}

.qem-payment-summary-divider {
  height: 1px;
  background: var(--qem-line);
  margin: 12px 0;
}

.qem-payment-coupon {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.qem-payment-coupon-results {
  margin-top: 8px;
  font-size: 13px;
}

.qem-inline-message {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
}

.qem-inline-message--success {
  color: #087752;
}

.qem-inline-message--danger {
  color: #b42318;
}

.qem-inline-message--center {
  justify-content: center;
  width: 100%;
  text-align: center;
}

.qem-payment-submit {
  margin-top: 12px;
}

.qem-payment-feature-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.qem-payment-feature-list li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--qem-line);
  color: var(--qem-ink);
}

.qem-payment-feature-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.qem-payment-feature-list .success {
  color: #087752;
}

.qem-payment-feature-list .danger {
  color: #b42318;
}

@media (min-width: 760px) {
  .qem-pricing-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .qem-payment-layout {
    grid-template-columns: 1fr;
  }

  .qem-payment-sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .qem-payment-frame {
    width: min(100% - 20px, 1180px);
    padding: 18px 0 30px;
  }

  .qem-payment-card,
  .qem-payment-feature-card {
    padding: 14px;
  }

  .qem-payment-choice,
  .qem-payment-coupon {
    grid-template-columns: 1fr;
  }

  .qem-payment-choice input {
    order: -1;
  }

  .qem-payment-choice__price {
    justify-self: start;
  }

  .qem-payment-options,
  .qem-payment-field-grid {
    grid-template-columns: 1fr;
  }

  .qem-payment-field--half,
  .qem-payment-field--quarter {
    grid-column: 1 / -1;
  }

  .qem-payment-summary-row {
    align-items: flex-start;
  }
}

.qem-browse-card {
  display: block;
  min-height: 100%;
  color: inherit;
  text-decoration: none;
}

.qem-browse-card:hover,
.qem-browse-card:focus {
  color: inherit;
  text-decoration: none;
}

.qem-browse-card .card,
.qem-browse-index-card,
.qem-directory-sidebar,
.qem-directory-card,
.qem-directory-submit {
  border: 1px solid var(--qem-line);
  border-radius: 8px;
  background: var(--qem-surface);
  box-shadow: none;
}

.qem-browse-card .card {
  min-height: 100%;
  overflow: hidden;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.qem-browse-card:hover .card,
.qem-browse-card:focus .card {
  border-color: rgba(29, 36, 51, .28);
  box-shadow: 0 8px 22px rgba(16, 24, 40, .08);
  transform: translateY(-1px);
}

.qem-browse-card .cover {
  min-height: 118px;
  background-position: center !important;
  background-size: cover !important;
}

.qem-browse-card .card-title {
  margin: 0;
  padding: 12px;
  color: var(--qem-ink);
  font-size: 14px;
  line-height: 1.35;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.qem-browse-index-card {
  min-height: 100%;
  padding: 14px;
  margin: 0;
  list-style: none;
}

.qem-browse-taxonomy-list__header a {
  color: var(--qem-ink);
  font-weight: 850;
  text-transform: capitalize;
}

.qem-browse-index-card a {
  display: inline-flex;
  padding: 4px 0;
  color: var(--qem-muted);
  text-decoration: none;
}

.qem-browse-index-card a:hover,
.qem-browse-index-card a:focus {
  color: var(--qem-brand);
  text-decoration: none;
}

.qem-alpha-nav {
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  max-width: 100%;
  margin-bottom: 20px;
}

.qem-alpha-nav a,
.qem-listing-chip {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  min-width: 0;
  padding: 6px 10px;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius-sm);
  background: var(--qem-surface);
  color: var(--qem-ink);
  font-size: 13px;
  line-height: 1.3;
  font-weight: 750;
  text-decoration: none;
}

.qem-listing-chip {
  justify-content: flex-start;
  max-width: 100%;
  width: 100%;
}

.qem-listing-chip--store {
  gap: 10px;
}

.qem-listing-chip span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.qem-alpha-nav a:hover,
.qem-alpha-nav a:focus,
.qem-listing-chip:hover,
.qem-listing-chip:focus {
  border-color: var(--qem-brand);
  color: var(--qem-brand);
  text-decoration: none;
}

.qem-listing-chip img {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: var(--qem-radius-sm);
  object-fit: contain;
}

.qem-back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
}

.qem-back-to-top a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--qem-line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--qem-ink);
  box-shadow: var(--qem-shadow-md);
  text-decoration: none;
}

.qem-back-to-top a:hover,
.qem-back-to-top a:focus {
  border-color: var(--qem-brand);
  color: var(--qem-brand);
  text-decoration: none;
}

@media (min-width: 640px) {
  .qem-browse-card-grid,
  .qem-browse-index-grid--listing {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .qem-browse-index-grid--taxonomy {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .qem-browse-card-grid,
  .qem-browse-index-grid--listing {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .qem-browse-index-grid--taxonomy {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .qem-browse-card-grid,
  .qem-browse-index-grid--listing {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .qem-browse-index-grid--taxonomy {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.qem-directory-sidebar,
.qem-directory-card,
.qem-directory-submit {
  box-shadow: var(--qem-shadow-sm) !important;
}

.qem-directory-header h1 {
  color: var(--qem-ink);
  font-size: 30px;
  line-height: 1.2;
  font-weight: 850;
}

.qem-directory-card {
  transition: border-color .16s ease, box-shadow .16s ease;
}

.qem-directory-card:hover {
  border-color: rgba(29, 36, 51, .28);
  box-shadow: 0 8px 22px rgba(16, 24, 40, .08) !important;
}

.qem-directory-card__action {
  border-color: var(--qem-line) !important;
  border-radius: var(--qem-radius-sm) !important;
  color: var(--qem-ink) !important;
  font-weight: 800;
}

.qem-business-directory-page {
  box-sizing: border-box;
  width: 100%;
  padding: clamp(34px, 5vw, 62px) 18px;
  background: var(--qem-bg);
}

.qem-business-directory-page__inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.qem-business-directory-layout {
  display: grid;
  gap: 22px;
  align-items: start;
}

.qem-business-directory-panel,
.qem-business-directory-card {
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius);
  background: var(--qem-surface);
  box-shadow: var(--qem-shadow-sm);
}

.qem-business-directory-panel {
  padding: 20px;
}

.qem-business-directory-panel--spaced,
.qem-business-directory-status,
.qem-directory-map-panel {
  margin-top: 22px;
}

.qem-business-directory-panel h2,
.qem-business-directory-panel h3,
.qem-business-directory-panel h4,
.qem-business-directory-card h2,
.qem-business-directory-header h1 {
  margin: 0;
  color: var(--qem-ink);
  letter-spacing: 0;
}

.qem-business-directory-panel h2,
.qem-business-directory-header h1 {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
  font-weight: 850;
}

.qem-business-directory-panel h3 {
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 850;
}

.qem-business-directory-panel h2 + h3,
.qem-business-directory-panel h3:first-child,
.qem-business-directory-panel h4:first-child {
  margin-top: 0;
}

.qem-business-directory-panel h4 {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 850;
}

.qem-business-directory-panel p,
.qem-business-directory-card p {
  color: var(--qem-muted);
  font-size: 14px;
  line-height: 1.55;
}

.qem-business-directory-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.qem-business-directory-header p,
.qem-business-directory-muted {
  margin: 8px 0 0;
  color: var(--qem-muted);
}

.qem-business-directory-nav {
  display: grid;
  gap: 2px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.qem-business-directory-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 34px;
  padding: 7px 9px;
  border-radius: var(--qem-radius-sm);
  color: var(--qem-muted);
  font-size: 14px;
  line-height: 1.3;
  font-weight: 750;
  text-decoration: none;
}

.qem-business-directory-nav .is-active a,
.qem-business-directory-nav a:hover,
.qem-business-directory-nav a:focus {
  background: var(--qem-soft);
  color: var(--qem-ink);
  text-decoration: none;
}

.qem-business-directory-form {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.qem-business-directory-form--compact {
  gap: 12px;
}

.qem-business-directory-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.qem-business-directory-field {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.qem-business-directory-field label {
  color: var(--qem-ink);
  font-size: 13px;
  line-height: 1.3;
  font-weight: 800;
}

.qem-business-directory-field--action {
  align-self: end;
}

.qem-business-directory-control {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius-sm);
  background: #ffffff;
  color: var(--qem-ink);
  font-size: 14px;
  line-height: 1.3;
  letter-spacing: 0;
}

textarea.qem-business-directory-control {
  min-height: 112px;
  resize: vertical;
}

input[type="file"].qem-business-directory-control {
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

input[type="file"].qem-business-directory-control::file-selector-button {
  min-height: 38px;
  margin-right: 12px;
  padding: 8px 12px;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius-sm);
  background: #ffffff;
  color: var(--qem-ink);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

input[type="file"].qem-business-directory-control:hover::file-selector-button,
input[type="file"].qem-business-directory-control:focus::file-selector-button {
  border-color: var(--qem-brand);
  color: var(--qem-brand);
}

.qem-business-directory-control:focus {
  border-color: var(--qem-brand);
  outline: 3px solid rgba(44, 124, 246, .14);
}

input[type="file"].qem-business-directory-control:focus {
  outline: 0;
}

.qem-business-directory-required {
  color: var(--qem-danger, #cf2e2e);
}

.qem-business-directory-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius-sm);
  background: #ffffff;
  color: var(--qem-ink);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 850;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.qem-business-directory-button:hover,
.qem-business-directory-button:focus {
  border-color: var(--qem-brand);
  color: var(--qem-brand);
  text-decoration: none;
}

.qem-business-directory-button--primary {
  border-color: var(--qem-brand);
  background: var(--qem-brand);
  color: #ffffff;
}

.qem-business-directory-button--primary:hover,
.qem-business-directory-button--primary:focus {
  background: var(--qem-brand-strong);
  color: #ffffff;
}

.qem-business-directory-button--secondary {
  background: var(--qem-surface);
}

.qem-business-directory-button--small {
  min-height: 34px;
  padding: 7px 12px;
  font-size: 13px;
}

.qem-business-directory-button--full,
.qem-business-directory-form__submit {
  width: 100%;
}

.qem-business-directory-link {
  color: var(--qem-brand);
  font-weight: 800;
  text-decoration: none;
}

.qem-business-directory-link:hover,
.qem-business-directory-link:focus {
  color: var(--qem-brand-strong);
  text-decoration: none;
}

.qem-business-directory-alert {
  padding: 14px 16px;
  margin-bottom: 16px;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius-sm);
  background: #ffffff;
}

.qem-business-directory-alert p,
.qem-business-directory-alert ul {
  margin: 0;
}

.qem-business-directory-alert ul {
  padding-left: 18px;
}

.qem-business-directory-alert--success {
  border-color: rgba(19, 141, 84, .26);
  background: #f1fbf6;
  color: #17694b;
}

.qem-business-directory-alert--danger {
  border-color: rgba(207, 46, 46, .24);
  background: #fff5f5;
  color: #9c2424;
}

.qem-business-directory-alert--info {
  border-color: rgba(44, 124, 246, .2);
  background: #f5f8ff;
}

.qem-business-directory-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border: 1px solid var(--qem-line);
  border-radius: 999px;
  background: var(--qem-soft);
  color: var(--qem-ink);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;
}

.qem-business-directory-badge--success {
  border-color: rgba(19, 141, 84, .24);
  background: #f1fbf6;
  color: #17694b;
}

.qem-business-directory-badge--presence {
  border-color: rgba(44, 124, 246, .22);
  background: #f5f8ff;
  color: var(--qem-brand-strong);
}

.qem-business-directory-grid,
.qem-business-directory-package-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.qem-business-directory-card {
  height: 100%;
  padding: 18px;
  transition: border-color .16s ease, box-shadow .16s ease;
}

.qem-business-directory-card:hover {
  border-color: rgba(29, 36, 51, .28);
  box-shadow: 0 8px 22px rgba(16, 24, 40, .08);
}

.qem-business-directory-card__head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.qem-business-directory-card__media {
  flex: 0 0 auto;
}

.qem-business-directory-card__media img,
.qem-business-directory-card__placeholder {
  width: 72px;
  height: 72px;
  border-radius: var(--qem-radius-sm);
  object-fit: cover;
}

.qem-business-directory-card__placeholder {
  display: grid;
  place-items: center;
  background: var(--qem-soft);
  color: var(--qem-ink);
  font-size: 24px;
  font-weight: 850;
}

.qem-business-directory-card__body {
  min-width: 0;
}

.qem-business-directory-card__type {
  margin-bottom: 5px;
  color: var(--qem-muted);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 850;
  text-transform: uppercase;
}

.qem-business-directory-card h2 {
  margin-bottom: 8px;
  font-size: 19px;
  line-height: 1.3;
  font-weight: 850;
}

.qem-business-directory-card h2 a {
  color: inherit;
  text-decoration: none;
}

.qem-business-directory-card h2 a:hover,
.qem-business-directory-card h2 a:focus {
  color: var(--qem-brand);
  text-decoration: none;
}

.qem-business-directory-card__rating {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
  color: var(--qem-muted);
  font-size: 13px;
}

.qem-business-directory-card__address {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 14px 0 0;
}

.qem-business-directory-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.qem-business-directory-panel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.qem-business-directory-map-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.qem-business-directory-package {
  height: 100%;
  padding: 16px;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius-sm);
  background: var(--qem-soft);
}

.qem-business-directory-package h4 {
  margin: 12px 0 8px;
}

.qem-business-directory-package p {
  margin: 0 0 10px;
}

.qem-business-directory-package__price {
  color: var(--qem-ink) !important;
  font-size: 16px !important;
  font-weight: 850;
}

.qem-business-directory-meta,
.qem-business-directory-text {
  margin: 8px 0 0;
  color: var(--qem-muted);
  font-size: 13px;
  line-height: 1.5;
}

.qem-business-directory-meta--spaced {
  margin-top: 16px;
}

.qem-business-directory-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--qem-muted);
  font-size: 14px;
  line-height: 1.45;
}

.qem-business-directory-checkbox input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.qem-business-directory-detail-page {
  padding-top: clamp(28px, 4vw, 48px);
}

.qem-business-directory-detail-back {
  margin-bottom: 18px;
}

.qem-business-directory-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.qem-business-directory-detail-main,
.qem-business-directory-detail-sidebar {
  min-width: 0;
}

.qem-business-directory-detail-hero__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.qem-business-directory-detail-hero__media img,
.qem-business-directory-detail-hero__placeholder {
  width: 120px;
  height: 120px;
  border-radius: var(--qem-radius-sm);
  object-fit: cover;
}

.qem-business-directory-detail-hero__placeholder {
  display: grid;
  place-items: center;
  background: var(--qem-soft);
  color: var(--qem-ink);
}

.qem-business-directory-detail-hero__placeholder span {
  font-size: 36px;
  font-weight: 850;
  line-height: 1;
}

.qem-business-directory-detail-hero__body {
  min-width: 0;
}

.qem-business-directory-detail-hero h1 {
  margin: 4px 0 8px;
  color: var(--qem-ink);
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.12;
  font-weight: 850;
  letter-spacing: 0;
}

.qem-business-directory-detail-badges,
.qem-business-directory-detail-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.qem-business-directory-detail-rating {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
  color: var(--qem-muted);
  font-size: 13px;
  line-height: 1.35;
}

.qem-business-directory-detail-rating strong {
  color: var(--qem-ink);
}

.qem-business-directory-detail-summary {
  margin: 12px 0 0 !important;
  color: var(--qem-muted);
  font-size: 18px !important;
  line-height: 1.5 !important;
  font-weight: 650;
}

.qem-business-directory-detail-description {
  color: var(--qem-muted);
  font-size: 15px;
  line-height: 1.65;
}

.qem-business-directory-detail-panel-head,
.qem-business-directory-review-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.qem-business-directory-review-score {
  margin-top: 6px;
  color: var(--qem-ink);
  font-size: 24px;
  line-height: 1.2;
  font-weight: 850;
}

.qem-business-directory-review-list {
  display: grid;
  gap: 12px;
}

.qem-business-directory-review-card {
  padding: 14px;
  border-radius: var(--qem-radius-sm);
  background: var(--qem-soft);
}

.qem-business-directory-review-card strong,
.qem-business-directory-contact-list strong {
  color: var(--qem-ink);
}

.qem-business-directory-review-card__title {
  margin-top: 6px;
  color: var(--qem-ink);
  font-weight: 850;
}

.qem-business-directory-review-card__meta {
  text-align: right;
}

.qem-business-directory-review-card p,
.qem-business-directory-owner-response p {
  margin: 10px 0 0;
}

.qem-business-directory-owner-response {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius-sm);
  background: #ffffff;
}

.qem-business-directory-owner-response__meta {
  color: var(--qem-muted);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 850;
}

.qem-business-directory-owner-response__meta span {
  font-weight: 650;
}

.qem-business-directory-contact-list {
  display: grid;
  gap: 0;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.qem-business-directory-contact-list li {
  padding: 12px 0;
  border-top: 1px solid var(--qem-line);
  color: var(--qem-muted);
  font-size: 14px;
  line-height: 1.5;
}

.qem-business-directory-contact-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

@media (min-width: 700px) {
  .qem-business-directory-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .qem-business-directory-form-grid--inline {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }

  .qem-business-directory-field--full {
    grid-column: 1 / -1;
  }

  .qem-business-directory-package-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .qem-business-directory-form__submit {
    width: auto;
  }
}

@media (min-width: 960px) {
  .qem-business-directory-layout {
    grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
    align-items: start;
  }

  .qem-business-directory-detail-layout {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  }

  .qem-business-directory-sidebar {
    position: sticky;
    top: 20px;
  }

  .qem-business-directory-detail-sidebar {
    position: sticky;
    top: 24px;
  }

  .qem-business-directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .qem-business-directory-detail-hero__head {
    grid-template-columns: 1fr;
  }

  .qem-business-directory-detail-hero__media img,
  .qem-business-directory-detail-hero__placeholder {
    width: 96px;
    height: 96px;
  }

  .qem-business-directory-review-card__meta {
    width: 100%;
    text-align: left;
  }
}

.qem-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: var(--qem-radius-sm);
  font-size: 15px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease;
}

.qem-button:hover,
.qem-button:focus {
  text-decoration: none;
}

.qem-button--primary {
  background: var(--qem-brand);
  color: #ffffff;
}

.qem-button--primary:hover,
.qem-button--primary:focus {
  background: var(--qem-brand-strong);
  color: #ffffff;
  box-shadow: var(--qem-shadow-sm);
}

.qem-button--secondary {
  border-color: var(--qem-line);
  background: var(--qem-surface);
  color: var(--qem-brand);
}

.qem-button--secondary:hover,
.qem-button--secondary:focus {
  border-color: var(--qem-brand);
  color: var(--qem-brand);
}

.qem-button--accent {
  background: var(--qem-accent);
  color: var(--qem-accent-ink);
}

.qem-button--danger {
  background: var(--qem-danger);
  color: #ffffff;
}

.qem-button--danger:hover,
.qem-button--danger:focus {
  background: #be123c;
  color: #ffffff;
  box-shadow: var(--qem-shadow-sm);
}

.qem-system-result-page {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: clamp(48px, 8vw, 96px) 18px;
}

.qem-system-result {
  width: min(100%, 560px);
  margin: 0 auto;
  text-align: center;
}

.qem-system-result__icon {
  display: inline-flex;
  margin: 0 0 18px;
  font-size: 56px;
  line-height: 1;
}

.qem-system-result__icon--success {
  color: var(--qem-success);
}

.qem-system-result__icon--danger {
  color: var(--qem-danger);
}

.qem-system-result__title {
  margin: 0;
  color: var(--qem-ink);
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.15;
  font-weight: 760;
  letter-spacing: 0;
}

.qem-system-result p {
  margin: 12px 0 0;
  color: var(--qem-muted);
  font-size: 16px;
  line-height: 1.6;
}

.qem-system-result__caption {
  padding-top: 24px;
  font-size: 14px !important;
}

.qem-system-result__message--emphasis {
  color: var(--qem-ink);
  font-weight: 650;
}

.qem-system-result .qem-button {
  margin-top: 22px;
}

.qem-system-result__alert {
  text-align: left;
}

.qem-auth-shell,
.qem-auth-shell__body {
  min-height: 100%;
}

.qem-auth-shell__body {
  margin: 0;
  overflow-x: hidden;
}

.qem-full-height-shell,
.qem-full-height-shell__body {
  min-height: 100%;
}

.qem-full-height-shell__body {
  min-height: 100vh;
}

.qem-auth-page {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: 100%;
  min-height: 100vh;
  padding: clamp(48px, 8vw, 96px) 18px;
  background: var(--qem-bg);
}

.qem-auth-card {
  box-sizing: border-box;
  display: grid;
  gap: 18px;
  width: min(100%, 420px);
  margin: 0 auto;
  text-align: center;
}

.qem-auth-logo-link {
  display: inline-flex;
  justify-self: center;
}

.qem-auth-logo {
  display: block;
  max-width: 180px;
  max-height: 74px;
  object-fit: contain;
}

.qem-auth-title {
  margin: 0;
  color: var(--qem-ink);
  font-size: clamp(26px, 4vw, 34px);
  line-height: 1.15;
  font-weight: 760;
  letter-spacing: 0;
}

.qem-auth-form {
  display: grid;
  gap: 14px;
  width: 100%;
}

.qem-auth-field {
  width: 100%;
}

.qem-auth-input {
  box-sizing: border-box;
  width: 100%;
  min-height: 48px;
  padding: 10px 16px;
  border: 1px solid #d0d5dd;
  border-radius: 999px;
  background: #ffffff;
  color: var(--qem-ink);
  font-size: 15px;
  line-height: 1.4;
  box-shadow: var(--qem-shadow-sm);
}

.qem-auth-input:focus {
  border-color: var(--qem-brand);
  outline: 2px solid rgba(255, 196, 0, .34);
}

.qem-auth-alert {
  text-align: left;
}

.qem-auth-link-row {
  text-align: center;
}

.qem-auth-link-stack {
  display: grid;
  gap: 10px;
  text-align: center;
}

.qem-auth-text {
  margin: 0;
  color: var(--qem-muted);
  font-size: 14px;
  line-height: 1.45;
}

.qem-auth-link {
  color: var(--qem-brand);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.qem-auth-link:hover,
.qem-auth-link:focus {
  color: var(--qem-brand-strong);
  text-decoration: underline;
}

.qem-auth-checkbox-row {
  text-align: left;
}

.qem-auth-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--qem-muted);
  font-size: 13px;
  line-height: 1.45;
}

.qem-auth-checkbox {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--qem-brand);
}

.qem-public-profile-page {
  background: #ffffff;
}

.qem-public-profile-page .qem-container {
  padding-top: 44px;
  padding-bottom: 56px;
}

.qem-public-profile-card {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 28px;
  width: 100%;
  max-width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.qem-public-profile-deals {
  margin-top: 34px;
}

.qem-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--qem-line);
}

.qem-section-header--compact {
  margin-bottom: 18px;
}

.qem-section-header h1,
.qem-section-header h2,
.qem-section-header h3 {
  margin: 0;
  color: var(--qem-ink);
  font-size: 26px;
  line-height: 1.2;
  font-weight: 830;
  letter-spacing: 0;
}

.qem-public-profile-empty {
  width: min(100%, 640px);
  margin: 0 auto;
}

.qem-public-profile-card__media {
  display: flex;
  justify-content: center;
}

.qem-public-profile-card__avatar {
  width: 112px;
  height: 112px;
  border: 1px solid var(--qem-line);
  border-radius: 999px;
  background-position: center;
  background-size: cover;
  box-shadow: var(--qem-shadow-sm);
}

.qem-public-profile-card__body {
  min-width: 0;
}

.qem-public-profile-card__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px 18px;
  justify-content: space-between;
}

.qem-public-profile-card__identity {
  min-width: 0;
  max-width: 100%;
}

.qem-public-profile-card__identity h1 {
  margin: 0;
  color: var(--qem-ink);
  font-size: 28px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.qem-public-profile-card__identity p,
.qem-public-profile-card__description,
.qem-public-profile-card__meta p {
  margin: 0;
  color: var(--qem-muted);
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.qem-public-profile-card__identity .qem-badge {
  margin-top: 10px;
  white-space: normal;
}

.qem-public-profile-card__badges {
  min-width: 0;
  max-width: 100%;
}

.qem-public-profile-card__description {
  margin-top: 14px;
}

.qem-public-profile-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--qem-line);
}

.qem-public-profile-card__meta > div {
  min-width: 120px;
  padding-right: 18px;
  border-right: 1px solid var(--qem-line);
}

.qem-public-profile-card__meta > div:last-child {
  border-right: 0;
  padding-right: 0;
}

.qem-public-profile-card__meta h2 {
  margin: 0 0 4px;
  color: var(--qem-ink);
  font-size: 13px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 0;
}

.qem-public-profile-card__meta a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  color: var(--qem-brand);
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.qem-public-profile-card__meta a:hover,
.qem-public-profile-card__meta a:focus {
  color: var(--qem-brand-strong);
  text-decoration: underline;
}

.qem-public-profile-card__meta a:focus-visible {
  outline: 3px solid rgba(29, 36, 51, .18);
  outline-offset: 3px;
}

@media (max-width: 640px) {
  main.qem-public-profile-page,
  main.qem-public-profile-page .qem-section {
    width: 100vw;
    max-width: 100vw;
    overflow: hidden;
  }

  main.qem-public-profile-page .qem-container {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    margin-left: 12px;
    margin-right: 12px;
  }

  .qem-public-profile-card {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
    text-align: center;
  }

  .qem-public-profile-page .qem-container {
    padding-top: 28px;
    padding-bottom: 40px;
  }

  .qem-public-profile-card__header {
    justify-content: center;
  }

  .qem-public-profile-card__badges {
    width: 100%;
  }

  .qem-public-profile-card__meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: center;
    gap: 0;
    width: min(100%, calc(100vw - 40px));
    margin-left: auto;
    margin-right: auto;
  }

  .qem-public-profile-card__meta > div {
    min-width: 0;
    border-right: 0;
    padding-right: 0;
  }

  .qem-public-profile-card__meta > div:only-child {
    grid-column: 1 / -1;
  }

  .qem-public-profile-card__meta > div:not(:last-child) {
    padding-right: 16px;
    border-right: 1px solid var(--qem-line);
  }

  .qem-public-profile-card__meta > div + div {
    padding-left: 16px;
  }

  .qem-public-profile-card__meta a {
    gap: 2px;
    justify-content: center;
    font-size: 12px;
  }

  .qem-public-profile-card__meta > div + div,
  .qem-public-profile-card__meta > div + div a {
    justify-content: flex-start;
    text-align: left;
  }

  .qem-public-profile-card__meta a .qem-lucide-icon {
    flex: 0 0 12px;
    width: 12px;
    height: 12px;
  }
}

@media (max-width: 360px) {
  .qem-public-profile-card__meta > div:not(:last-child) {
    padding-right: 8px;
  }

  .qem-public-profile-card__meta > div + div {
    padding-left: 8px;
  }

}

.qem-public-inventory-page {
  background: #ffffff;
}

.qem-public-inventory-index__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.qem-public-inventory-index__heading {
  min-width: 0;
}

.qem-public-inventory-index__heading h1 {
  margin: 0;
  color: var(--qem-ink);
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.1;
  font-weight: 850;
  letter-spacing: 0;
}

.qem-public-inventory-index__heading p {
  margin: 8px 0 0;
  color: var(--qem-muted);
  font-size: 15px;
  line-height: 1.5;
}

.qem-public-inventory-search {
  box-sizing: border-box;
  margin-bottom: 24px;
  padding: 0 0 22px;
  border: 0;
  border-bottom: 1px solid var(--qem-line);
  border-radius: 0;
  background: #ffffff;
}

.qem-public-inventory-search__grid {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  gap: 14px;
  align-items: center;
}

.qem-public-inventory-search__field {
  min-width: 0;
}

.qem-public-inventory-search .qem-input {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #d0d5dd;
  border-radius: var(--qem-radius-sm);
  background: #ffffff;
  color: var(--qem-ink);
  font-size: 15px;
  line-height: 1.4;
}

.qem-public-inventory-search .qem-input:focus {
  border-color: var(--qem-brand);
  outline: 2px solid rgba(255, 196, 0, .34);
}

.qem-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--qem-ink);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
}

.qem-checkbox {
  width: 18px;
  height: 18px;
  accent-color: var(--qem-brand);
}

.qem-public-inventory-index-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.qem-public-inventory-index-card {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--qem-line);
  border-radius: 8px;
  background: #ffffff;
}

.qem-public-inventory-index-card__media {
  display: block;
  width: 100%;
  background: #f8fafc;
}

.qem-public-inventory-index-card__media img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: contain;
}

.qem-public-inventory-index-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 18px;
}

.qem-public-inventory-index-card__meta {
  color: var(--qem-muted);
  font-size: 13px;
  line-height: 1.45;
}

.qem-public-inventory-index-card h3 {
  margin: 6px 0 0;
  color: var(--qem-ink);
  font-size: 18px;
  line-height: 1.25;
  font-weight: 820;
  letter-spacing: 0;
}

.qem-public-inventory-index-card h3 a {
  color: inherit;
  text-decoration: none;
}

.qem-public-inventory-index-card h3 a:hover,
.qem-public-inventory-index-card h3 a:focus {
  color: var(--qem-brand);
  text-decoration: underline;
}

.qem-public-inventory-index-card__price {
  margin: 10px 0 0;
  color: var(--qem-accent-strong);
  font-size: 17px;
  line-height: 1.2;
  font-weight: 850;
}

.qem-public-inventory-index-card__stock {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 12px 0 18px;
  color: var(--qem-muted);
  font-size: 13px;
  line-height: 1.4;
}

.qem-public-inventory-index-card .qem-button {
  margin-top: auto;
}

.qem-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  color: var(--qem-muted);
  font-size: 13px;
  line-height: 1.4;
  list-style: none;
}

.qem-breadcrumb li {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.qem-breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--qem-line-strong);
}

.qem-breadcrumb a {
  color: var(--qem-brand);
  font-weight: 700;
  text-decoration: none;
}

.qem-breadcrumb a:hover,
.qem-breadcrumb a:focus {
  color: var(--qem-brand-strong);
  text-decoration: underline;
}

.qem-breadcrumb span {
  overflow: hidden;
  max-width: min(70vw, 540px);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.qem-public-inventory-hero {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.qem-public-inventory-hero__media {
  min-width: 0;
}

.qem-public-inventory-hero__image {
  display: block;
  width: 100%;
  max-height: 420px;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border: 1px solid var(--qem-line);
  border-radius: 8px;
  background: #f8fafc;
}

.qem-public-inventory-hero__body {
  min-width: 0;
  padding-top: 4px;
}

.qem-public-inventory-hero__body h1 {
  margin: 0;
  color: var(--qem-ink);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.08;
  font-weight: 850;
  letter-spacing: 0;
}

.qem-public-inventory-hero__brand {
  margin: 10px 0 0;
  color: var(--qem-muted);
  font-size: 15px;
  line-height: 1.45;
}

.qem-public-inventory-hero__price {
  margin: 18px 0 0;
  color: var(--qem-accent-strong);
  font-size: 24px;
  line-height: 1.2;
  font-weight: 850;
}

.qem-public-inventory-hero__stock {
  margin: 18px 0 0;
}

.qem-public-inventory-hero__description {
  margin-top: 22px;
  color: var(--qem-muted);
  font-size: 15px;
  line-height: 1.7;
}

.qem-public-inventory-hero__description :first-child {
  margin-top: 0;
}

.qem-public-inventory-hero__description :last-child {
  margin-bottom: 0;
}

.qem-public-inventory-listings {
  margin-top: 42px;
}

.qem-public-inventory-listings h2 {
  margin: 0 0 18px;
  color: var(--qem-ink);
  font-size: 24px;
  line-height: 1.2;
  font-weight: 820;
  letter-spacing: 0;
}

.qem-public-inventory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.qem-public-inventory-listing-card {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  min-height: 100%;
  padding: 18px;
  border: 1px solid var(--qem-line);
  border-radius: 8px;
  background: #ffffff;
}

.qem-public-inventory-listing-card__main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  width: 100%;
  min-width: 0;
}

.qem-public-inventory-listing-card__media {
  width: 96px;
  height: 96px;
  border-radius: 8px;
  background: #f8fafc;
}

.qem-public-inventory-listing-card__image {
  display: block;
  width: 96px;
  height: 96px;
  object-fit: contain;
  border-radius: 8px;
}

.qem-public-inventory-listing-card__body {
  min-width: 0;
}

.qem-public-inventory-listing-card__meta,
.qem-public-inventory-listing-card__tagline {
  color: var(--qem-muted);
  font-size: 13px;
  line-height: 1.45;
}

.qem-public-inventory-listing-card h3 {
  margin: 4px 0 0;
  color: var(--qem-ink);
  font-size: 18px;
  line-height: 1.25;
  font-weight: 820;
  letter-spacing: 0;
}

.qem-public-inventory-listing-card h3 a {
  color: inherit;
  text-decoration: none;
}

.qem-public-inventory-listing-card h3 a:hover,
.qem-public-inventory-listing-card h3 a:focus {
  color: var(--qem-brand);
  text-decoration: underline;
}

.qem-public-inventory-listing-card__price {
  margin: 8px 0 0;
  color: var(--qem-accent-strong);
  font-size: 16px;
  line-height: 1.2;
  font-weight: 850;
}

.qem-public-inventory-listing-card__tagline {
  margin: 12px 0 0;
}

.qem-public-inventory-listing-card .qem-button {
  margin-top: auto;
}

.qem-public-inventory-listing-card__tagline + .qem-button,
.qem-public-inventory-listing-card__main + .qem-button {
  margin-top: 16px;
}

.qem-location-page {
  background: #ffffff;
}

.qem-location-hero {
  display: flex;
  align-items: flex-end;
  min-height: 300px;
  padding: 64px 0;
  background-color: #101828;
  background-position: center;
  background-size: cover;
  color: #ffffff;
}

.qem-location-hero h1 {
  width: min(100%, 760px);
  margin: 0;
  color: #ffffff;
  font-size: clamp(36px, 6vw, 58px);
  line-height: 1.04;
  font-weight: 860;
  letter-spacing: 0;
}

.qem-location-summary {
  padding: 32px 0;
  border-bottom: 1px solid var(--qem-line);
  background: #ffffff;
}

.qem-location-summary h2 {
  margin: 0 0 8px;
  color: var(--qem-ink);
  font-size: 22px;
  line-height: 1.25;
  font-weight: 820;
  letter-spacing: 0;
}

.qem-location-summary p {
  width: min(100%, 820px);
  margin: 0;
  color: var(--qem-muted);
  font-size: 15px;
  line-height: 1.65;
}

.qem-location-deals__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.qem-location-deals__header h2 {
  margin: 0;
  color: var(--qem-ink);
  font-size: 26px;
  line-height: 1.2;
  font-weight: 830;
  letter-spacing: 0;
}

.qem-location-deal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.qem-location-deal-card {
  box-sizing: border-box;
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--qem-line);
  border-radius: 8px;
  background: #ffffff;
}

.qem-location-deal-card__link,
.qem-location-deal-card__media,
.qem-location-deal-card__body {
  display: flex;
}

.qem-location-deal-card__link {
  flex-direction: column;
  min-height: 100%;
  color: inherit;
  text-decoration: none;
}

.qem-location-deal-card__link:hover .qem-location-deal-card__title,
.qem-location-deal-card__link:focus .qem-location-deal-card__title {
  color: var(--qem-brand);
  text-decoration: underline;
}

.qem-location-deal-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #f8fafc;
}

.qem-location-deal-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qem-location-deal-card__timer {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: calc(100% - 24px);
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: var(--qem-ink);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 760;
  box-shadow: var(--qem-shadow-sm);
}

.qem-location-deal-card__body {
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  min-width: 0;
  padding: 18px;
}

.qem-location-deal-card__meta,
.qem-location-deal-card__text {
  color: var(--qem-muted);
  font-size: 13px;
  line-height: 1.45;
}

.qem-location-deal-card__title {
  color: var(--qem-ink);
  font-size: 18px;
  line-height: 1.25;
  font-weight: 830;
}

.qem-location-deal-card__text {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.qem-location-deal-card__price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
}

.qem-location-deal-card__old-price {
  color: var(--qem-muted);
  font-size: 13px;
  text-decoration: line-through;
}

.qem-location-deal-card__discount {
  color: var(--qem-danger);
  font-size: 12px;
  font-weight: 800;
}

.qem-location-deal-card__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  margin-top: auto;
}

.qem-location-deal-card__cta {
  color: var(--qem-brand);
  font-size: 13px;
  font-weight: 800;
}

.qem-location-empty {
  box-sizing: border-box;
  width: min(100%, 640px);
  margin: 0 auto;
}

@media (max-width: 820px) {
  .qem-public-inventory-index-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .qem-location-deal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .qem-public-inventory-hero,
  .qem-public-inventory-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .qem-public-inventory-index__header,
  .qem-public-inventory-search__grid {
    grid-template-columns: 1fr;
  }

  .qem-public-inventory-index__header {
    display: grid;
  }

  .qem-public-inventory-index-grid {
    grid-template-columns: 1fr;
  }

  .qem-location-hero {
    min-height: 240px;
    padding: 44px 0;
  }

  .qem-location-deals__header,
  .qem-location-deal-grid {
    grid-template-columns: 1fr;
  }

  .qem-location-deals__header {
    display: grid;
  }

  .qem-public-inventory-listing-card__main {
    grid-template-columns: 1fr;
  }
}

.qem-offline-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  width: 100%;
  padding: clamp(48px, 8vw, 96px) 18px;
  background: var(--qem-bg);
}

.qem-offline {
  display: grid;
  grid-template-columns: minmax(180px, 0.85fr) minmax(260px, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 56px);
  width: min(100%, 920px);
  margin: 0 auto;
}

.qem-offline__image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.qem-offline__title {
  margin: 0;
  color: var(--qem-ink);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.12;
  font-weight: 760;
  letter-spacing: 0;
}

.qem-offline__message {
  margin: 12px 0 0;
  color: var(--qem-muted);
  font-size: 17px;
  line-height: 1.65;
}

.qem-offline__divider {
  width: 44px;
  height: 2px;
  margin: 22px 0;
  border-radius: 999px;
  background: var(--qem-line-strong);
}

.qem-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.qem-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--qem-line);
  border-radius: 999px;
  background: var(--qem-surface);
  color: var(--qem-muted);
  font-size: 20px;
  text-decoration: none;
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.qem-social-link:hover,
.qem-social-link:focus {
  border-color: var(--qem-brand);
  color: var(--qem-brand);
  transform: translateY(-1px);
}

.qem-static-page {
  width: 100%;
  padding: 32px 18px 56px;
}

.qem-static-page__container {
  width: min(100%, var(--qem-container));
  margin: 0 auto;
}

.qem-static-page__content {
  max-width: 920px;
  color: var(--qem-text);
  font-size: 16px;
  line-height: 1.75;
}

.qem-static-page__content :where(h1, h2, h3, h4, h5, h6) {
  margin: 1.35em 0 0.5em;
  color: var(--qem-ink);
  line-height: 1.25;
  font-weight: 720;
  letter-spacing: 0;
}

.qem-static-page__content :where(p, ul, ol) {
  margin: 0 0 1em;
}

@media (max-width: 720px) {
  .qem-offline {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .qem-offline__divider {
    margin-right: auto;
    margin-left: auto;
  }

  .qem-social-links {
    justify-content: center;
  }
}

.qem-product-detail {
  padding-top: 36px;
  padding-bottom: 18px;
}

.qem-product-detail .tas_single {
  margin: 0;
}

.qem-product-ad {
  width: calc(100% - 32px);
  max-width: var(--qem-container);
  margin-right: auto;
  margin-left: auto;
}

.qem-product-ad--header {
  margin-top: 32px;
  margin-bottom: 12px;
}

.qem-product-ad--footer {
  margin-top: 44px;
}

.qem-product-ad__inner {
  width: 100%;
  text-align: center;
}

.qem-ui-product-head {
  margin-bottom: 20px;
}

.qem-product-detail .breadcrumb,
.qem-product-detail .breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-1, .25rem);
  max-width: none;
  margin: 0 0 var(--space-3, .75rem);
  padding: 0;
  color: var(--color-text-muted, var(--qem-muted));
  font-size: var(--font-size-0, .875rem);
  font-weight: var(--weight-regular, 400);
  line-height: 1.35;
  list-style: none;
}

.qem-product-detail .breadcrumbs a {
  color: var(--color-text-muted, var(--qem-muted));
  text-decoration: none;
}

.qem-product-detail .breadcrumbs a:hover,
.qem-product-detail .breadcrumbs a:focus {
  color: var(--color-accent, var(--qem-brand));
  text-decoration: none;
}

.qem-product-detail .breadcrumb-separator {
  color: var(--color-text-subtle, #98a2b3);
}

.qem-product-detail .single_link {
  color: var(--qem-brand);
  text-decoration: none;
}

.qem-product-brand {
  margin: 0;
}

.qem-product-brand__link {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  color: var(--color-text-muted, var(--qem-muted));
  font-size: var(--font-size-0, .875rem);
  font-weight: var(--weight-regular, 400);
  line-height: 1.25;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.qem-product-brand__link:hover,
.qem-product-brand__link:focus {
  color: var(--color-accent, var(--qem-brand));
  text-decoration: none;
}

.qem-product-detail .single_title {
  max-width: 920px;
  margin: 0;
  color: var(--qem-ink);
  font-size: var(--font-size-6, 2.5rem);
  line-height: 1.1;
  font-weight: var(--weight-heading, 500);
  letter-spacing: 0;
}

.qem-product-title-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  color: var(--qem-muted);
  font-size: 14px;
  line-height: 1.3;
}

.qem-product-title-meta > * {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  color: inherit;
  text-decoration: none;
}

.qem-product-title-meta a:hover,
.qem-product-title-meta a:focus {
  color: var(--qem-brand);
  text-decoration: none;
}

.qem-product-share-row {
  width: 100%;
}

.qem-product-share-row__inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.qem-product-meta-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 0;
  color: var(--qem-muted);
  font-size: 14px;
  line-height: 1.4;
}

.qem-product-meta-strip__item {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  padding-right: 12px;
  margin-right: 12px;
  border-right: 1px solid var(--qem-line);
}

.qem-product-meta-strip__item:last-child {
  padding-right: 0;
  margin-right: 0;
  border-right: 0;
}

.qem-product-meta-strip a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: var(--qem-brand);
  font-weight: 750;
  text-decoration: none;
}

.qem-product-meta-strip a:hover,
.qem-product-meta-strip a:focus {
  text-decoration: underline;
}

.qem-product-title-rating__star {
  color: #f5a400;
  font-size: 17px;
  line-height: 1;
}

.qem-product-title-rating strong {
  color: var(--qem-ink);
  font-weight: 700;
}

.qem-product-detail .single_subtitle {
  max-width: 780px;
  margin: 12px 0 0;
  color: var(--qem-muted);
  font-size: var(--font-size-1, 1rem);
  line-height: 1.35;
  font-weight: var(--weight-regular, 400);
  letter-spacing: 0;
}

.qem-ui-product-hero-grid,
.qem-ui-product-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 370px);
  gap: 28px;
  align-items: start;
}

.qem-ui-product-hero-grid {
  margin-top: 24px;
}

.qem-ui-product-detail-grid {
  margin-top: 14px;
}

.qem-ui-product-media-panel,
.qem-ui-product-detail-main,
.qem-ui-product-buy-panel,
.qem-ui-product-sidebar {
  min-width: 0;
}

.qem-product-alert {
  margin-bottom: 16px;
  padding: 13px 15px;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius-sm);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.qem-product-alert p {
  margin: 0;
}

.qem-product-alert--danger {
  border-color: rgba(240, 68, 56, .24);
  background: rgba(240, 68, 56, .08);
  color: #b42318;
}

.qem-product-detail .top_exclusive,
.qem-product-detail .toprated,
.qem-product-detail .newitem {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 8px 12px 0;
  min-height: 24px;
  padding: 0 var(--space-2, 8px);
  border: 1px solid var(--color-border-strong, #c6ced8);
  border-radius: var(--radius-4, 4px);
  background: var(--color-surface, #ffffff);
  font-size: var(--font-size-00, .8125rem);
  line-height: 1.2;
  font-weight: var(--weight-medium, 500);
  text-transform: uppercase;
}

.qem-product-detail .top_exclusive {
  border-color: color-mix(in srgb, var(--color-accent, #2f5f8f), white 40%);
  background: var(--color-accent-soft, #eef6ff);
  color: var(--color-accent, #2f5f8f);
}

.qem-product-detail .toprated,
.qem-product-detail .newitem {
  border-color: color-mix(in srgb, var(--color-success, #207856), white 40%);
  background: var(--color-success-soft, #edf7f2);
  color: var(--color-success, #207856);
}

.qem-product-media-stage {
  position: relative;
  color: #ffffff;
}

.qem-product-media-stage .qem-product-media-badge {
  position: absolute;
  top: var(--space-3, 12px);
  left: var(--space-3, 12px);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin: 0;
  padding: 0 var(--space-2, 8px);
  border: 1px solid currentColor;
  border-radius: var(--radius-4, 4px);
  background: var(--color-accent-soft, #eef6ff) !important;
  color: var(--color-accent, #2f5f8f);
  font-size: var(--font-size-00, .8125rem);
  font-weight: var(--weight-medium, 500);
  line-height: 1;
  text-transform: none;
}

.qem-product-media-stage .qem-product-media-save-action {
  position: absolute;
  top: var(--space-3, 12px);
  right: var(--space-3, 12px);
  z-index: 4;
  margin: 0;
}

.qem-product-media-stage .qem-product-media-save-action .favbtn::after {
  content: none !important;
}

.qem-product-media-stage .qem-product-favorite-icon {
  width: 22px;
  height: 22px;
}

.qem-product-media-stage .qem-product-media-save-action .infav {
  color: #dc2626;
}

.qem-product-media-stage .qem-product-media-save-action .infav .qem-product-favorite-icon {
  fill: currentColor;
}

.tas_single .qem-product-media-stage .qem-product-media-badge::before {
  content: none;
}

.qem-product-media-viewer {
  width: 100%;
}

.qem-product-media-items {
  position: relative;
  min-height: 520px;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius);
  background: #ffffff;
  box-shadow: var(--qem-shadow-sm);
}

.qem-product-media-item {
  position: absolute;
  inset: 0;
  display: none;
  background: #ffffff;
}

.qem-product-media-item.is-active {
  display: block;
}

.qem-product-media-lightbox {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
}

.qem-product-detail .qe-single-main-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #ffffff;
}

.qem-product-media-video {
  display: block;
}

.qem-product-thumb-video {
  display: block;
}

.qem-product-thumb-play .play-btn-thumnav {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #ffffff;
  filter: drop-shadow(0 1px 2px rgba(15, 23, 42, .65));
}

.qem-product-media-play,
.qem-product-thumb-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.qem-product-media-play__inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.qem-product-media-play .play-btn,
.qem-product-thumb-play .play-btn-thumnav {
  pointer-events: auto;
}

.qem-product-media-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(15, 23, 42, .64);
  color: #ffffff;
  opacity: 0;
  text-decoration: none;
  transform: translateY(-50%);
  transition: opacity .16s ease, background-color .16s ease;
}

.qem-product-media-stage:hover .qem-product-media-nav,
.qem-product-media-stage:focus-within .qem-product-media-nav {
  opacity: 1;
}

.qem-product-media-nav:hover,
.qem-product-media-nav:focus {
  background: rgba(15, 23, 42, .82);
  color: #ffffff;
  text-decoration: none;
}

.tas_single .qem-product-media-nav .qem-product-media-nav__icon,
.qem-product-media-nav .qem-product-media-nav__icon {
  display: block !important;
  width: 22px;
  height: 22px;
  color: currentColor;
  pointer-events: none;
  stroke-width: 2;
}

.qem-product-media-nav:focus-visible {
  outline: 3px solid rgba(77, 91, 255, .28);
  outline-offset: 3px;
  opacity: 1;
}

.qem-product-media-nav--prev {
  left: 12px;
}

.qem-product-media-nav--next {
  right: 12px;
}

.qem-product-thumbs {
  margin-top: 14px;
}

.qem-product-thumbs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.qem-product-thumbs__scroll {
  align-items: center;
  background: #f3f4f6;
  border: 0;
  border-radius: 999px;
  color: #374151;
  cursor: pointer;
  display: none;
  height: 26px;
  justify-content: center;
  padding: 0;
  width: 26px;
}

.qem-product-thumbs__scroll:hover,
.qem-product-thumbs__scroll:focus {
  background: #e5e7eb;
  color: #111827;
  outline: none;
}

.qem-product-thumbs__scroll[hidden] {
  display: none !important;
}

.qem-product-thumbs__scroll:disabled {
  cursor: default;
  opacity: .45;
}

.qem-product-thumbs__scroll-icon {
  height: 16px;
  width: 16px;
}

@media (max-width: 959px) {
  .qem-product-thumbs--desktop {
    display: none;
  }
}

.qem-product-detail .qe-single-thumb-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 82px;
  height: 82px;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius-sm);
  background: #ffffff;
  overflow: hidden;
}

.qem-product-detail .qe-single-thumb-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.qem-product-detail .is-active .qe-single-thumb-link {
  border-color: var(--qem-brand);
  box-shadow: 0 0 0 2px rgba(29, 36, 51, .08);
}

.qem-product-media-dialog {
  position: fixed;
  inset: 0;
  z-index: 10030;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(15, 23, 42, .78);
}

.qem-product-media-dialog[hidden] {
  display: none;
}

.qem-product-media-dialog__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.qem-product-media-dialog__panel {
  position: relative;
  z-index: 1;
  max-width: min(1080px, 92vw);
  max-height: 86vh;
}

.qem-product-media-dialog__image {
  display: block;
  max-width: 100%;
  max-height: 86vh;
  border-radius: var(--qem-radius-sm);
  background: #ffffff;
  object-fit: contain;
}

.qem-product-media-dialog__close {
  position: absolute;
  top: -14px;
  right: -14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 999px;
  background: #ffffff;
  color: var(--qem-ink);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--qem-shadow-sm);
}

html.qem-product-media-dialog-open {
  overflow: hidden;
}

@media (hover: none) {
  .qem-product-media-nav {
    opacity: 1;
  }
}

.qem-product-detail .top_side > div {
  position: sticky;
  top: 24px;
  padding: 24px;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius);
  background: var(--qem-surface);
  box-shadow: var(--qem-shadow-sm);
}

.qem-product-detail .price {
  margin: 0;
  color: var(--color-text, var(--qem-ink));
  font-size: var(--font-size-6, 2.5rem);
  line-height: 1.1;
  font-weight: var(--weight-regular, 400);
  letter-spacing: 0;
}

.qem-product-detail .oldprice {
  margin: 0;
  color: var(--color-text-muted, var(--qem-muted));
  font-size: var(--font-size-0, .875rem);
  line-height: 1.2;
  font-weight: var(--weight-regular, 400);
  text-decoration: line-through;
}

.qem-product-detail .discount {
  margin: 0;
  color: var(--color-text-muted, var(--qem-muted));
  font-size: var(--font-size-0, .875rem);
  font-weight: var(--weight-regular, 400);
}

.qem-product-detail .discount.text-status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  background: transparent;
  border-radius: 0;
  padding: 0;
  font-size: var(--font-size-0, .875rem);
  font-weight: var(--weight-medium, 500);
}

.qem-product-detail .discount.status-text-stock {
  color: var(--color-success, #007a3d);
}

.qem-product-rail-seller {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 6px;
  row-gap: 0;
  margin: 0 0 10px;
  color: var(--color-text-muted, var(--qem-muted));
  font-size: var(--font-size-0, .875rem);
  line-height: 1.4;
}

.qem-product-rail-seller__content {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.qem-product-brand-action-preview {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin: 0 0 8px;
  min-width: 0;
}

.qem-product-brand-action-preview__brand {
  color: var(--color-text-muted, var(--qem-muted));
  font-size: var(--font-size-0, .875rem);
  font-weight: var(--weight-semibold, 600);
  min-width: 0;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.qem-product-brand-action-preview__brand:hover,
.qem-product-brand-action-preview__brand:focus {
  color: var(--color-text, var(--qem-ink));
  text-decoration: underline;
}

.qem-product-preview-actions {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  justify-self: end;
  margin-left: 12px;
}

.qem-product-preview-action {
  align-items: center;
  background: transparent;
  border: 0;
  box-shadow: none;
  color: var(--color-text-muted, var(--qem-muted));
  cursor: pointer;
  display: inline-flex;
  height: 24px;
  justify-content: center;
  padding: 0;
  width: 24px;
}

.qem-product-preview-action:hover,
.qem-product-preview-action:focus {
  background: transparent;
  color: var(--color-text, var(--qem-ink));
  outline: none;
}

.qem-product-preview-action:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 3px;
}

.qem-product-preview-action__icon {
  height: 20px;
  stroke-width: 1.8;
  width: 20px;
}

.qem-product-rail-seller__main {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

.qem-product-rail-seller__label {
  color: var(--color-text-muted, var(--qem-muted));
  font-weight: var(--weight-medium, 500);
}

.qem-product-rail-seller__link,
.qem-product-rail-seller__name {
  color: var(--color-text, var(--qem-ink));
  font-weight: var(--weight-semibold, 600);
}

.qem-product-rail-seller__link {
  text-decoration: none;
}

.qem-product-rail-seller__link:hover,
.qem-product-rail-seller__link:focus {
  color: var(--color-accent, #2f5f8f);
  text-decoration: underline;
}

@media (max-width: 480px) {
  .qem-product-brand-action-preview {
    align-items: flex-start;
  }

  .qem-product-rail-seller {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .qem-product-preview-actions {
    grid-column: 2;
    justify-self: start;
    margin: 6px 0 0;
  }
}

.qem-product-rail-seller__avatar {
  display: inline-flex;
  width: 24px;
  height: 24px;
  border: 1px solid var(--color-border, #d8dee8);
  border-radius: 999px;
  overflow: hidden;
  background: var(--color-surface, #fff);
  flex: 0 0 auto;
}

.qem-product-rail-seller__avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qe-account-badges--rail-seller {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 0;
}

.qe-account-badges--rail-seller .qe-account-badge {
  font-size: 10px;
  line-height: 1.15;
  min-height: 18px;
  padding: 2px 6px;
}

.qe-account-badges--rail-seller-icon {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 0;
  margin-left: -3px;
}

.qe-account-badges--rail-seller-icon .qe-account-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  line-height: 0;
  box-shadow: none;
}

.qe-account-badges--rail-seller-icon .qe-account-badge img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: contain;
}

.qem-ui-product-price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: var(--space-2, .5rem);
  margin-bottom: 10px;
}

.qem-product-countdown {
  display: flex;
  align-items: start;
  justify-content: center;
  gap: 8px;
  text-align: center;
}

.qem-product-countdown__unit {
  min-width: 44px;
}

.qem-product-countdown__number {
  color: var(--qem-ink);
  font-size: 22px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: 0;
}

.qem-product-countdown__label {
  margin-top: 5px;
  color: var(--qem-muted);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 750;
}

.qem-product-countdown__separator {
  color: var(--qem-muted);
  font-size: 22px;
  line-height: 1;
  font-weight: 800;
}

.qem-product-stock-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 10px;
}

.qem-product-stock-row__label {
  color: var(--qem-muted);
  font-size: var(--font-size-0, .875rem);
  line-height: 1.2;
  font-weight: var(--weight-semibold, 600);
}

.qem-product-stock {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: var(--font-size-0, .875rem);
  line-height: 1.2;
  font-weight: var(--weight-medium, 500);
}

.qem-product-stock-success {
  color: var(--color-success, #207856);
}

.qem-product-stock-primary {
  color: var(--color-accent, #2f5f8f);
}

.qem-product-stock-warning {
  color: var(--color-warning, #946200);
}

.qem-product-stock-danger {
  color: var(--color-danger, #b42318);
}

.qem-product-detail .buybtn,
.qem-product-action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: var(--qem-radius-sm);
  background: var(--qem-brand);
  color: #ffffff;
  font-size: 16px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: none;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.qem-product-detail .buybtn:hover,
.qem-product-detail .buybtn:focus,
.qem-product-action-button:hover,
.qem-product-action-button:focus {
  background: var(--qem-brand-strong);
  color: #ffffff;
  text-decoration: none;
}

.qem-product-detail .buybtn[disabled],
.qem-product-action-button[disabled] {
  opacity: .65;
  cursor: not-allowed;
}

.qem-product-detail .qem-product-purchase-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}

.qem-product-detail .qem-product-action-stack {
  display: grid;
  gap: 12px;
}

.qem-product-detail .qem-product-direct-actions {
  display: grid;
  gap: 12px;
}

.qem-product-detail .qem-product-direct-actions--single {
  grid-template-columns: 1fr;
}

.qem-product-detail .qem-product-direct-actions--two {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.qem-product-detail .qem-product-affiliate-action {
  display: grid;
}

.qem-product-detail .qem-product-action-stack--approved {
  --qem-approved-btn-surface: #ffffff;
  --qem-approved-btn-text: #151922;
  --qem-approved-btn-border: #c6ced8;
  --qem-approved-btn-primary: #1f3447;
  --qem-approved-btn-primary-hover: #172737;
  --qem-approved-btn-focus: #2f6fed;
  gap: .5rem;
}

.qem-product-detail .qem-product-direct-actions--approved {
  display: grid;
  gap: .5rem;
}

.qem-product-detail .qem-product-direct-actions--approved.qem-product-direct-actions--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.qem-product-detail .qem-product-direct-actions--approved.qem-product-direct-actions--affiliate-priced {
  grid-template-columns: minmax(0, .9fr) minmax(220px, 1.1fr);
}

.qem-product-detail .qem-product-direct-actions--approved.qem-product-direct-actions--single {
  grid-template-columns: 1fr;
}

.qem-product-detail .qem-product-action-stack--approved .qem-product-action-button {
  min-height: 40px;
  border-radius: 4px;
  padding: .55rem .85rem;
  font: inherit;
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
  box-shadow: none;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease;
}

.qem-product-detail .qem-product-action-stack--approved .qem-product-action-button:focus-visible {
  outline: 2px solid var(--qem-approved-btn-focus);
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(47, 111, 237, .18);
}

.qem-product-detail .qem-product-action-button--cart {
  border: 1px solid var(--qem-approved-btn-primary) !important;
  background: var(--qem-approved-btn-primary) !important;
  color: #ffffff !important;
}

.qem-product-detail .qem-product-action-button--cart:hover,
.qem-product-detail .qem-product-action-button--cart:focus {
  border-color: var(--qem-approved-btn-primary-hover) !important;
  background: var(--qem-approved-btn-primary-hover) !important;
  color: #ffffff !important;
}

.qem-product-detail .qem-product-action-button--buy-now {
  border: 1px solid var(--qem-approved-btn-primary) !important;
  background: var(--qem-approved-btn-surface) !important;
  color: var(--qem-approved-btn-primary) !important;
}

.qem-product-detail .qem-product-action-button--buy-now:hover,
.qem-product-detail .qem-product-action-button--buy-now:focus {
  border-color: var(--qem-approved-btn-primary-hover) !important;
  background: var(--qem-approved-btn-surface) !important;
  color: var(--qem-approved-btn-primary-hover) !important;
}

.qem-product-detail .qem-product-action-button--visit-store {
  border: 1px solid var(--qem-approved-btn-border) !important;
  background: var(--qem-approved-btn-surface) !important;
  color: var(--qem-approved-btn-text) !important;
  flex-direction: row;
  gap: var(--space-2, 8px);
}

.qem-product-detail .qem-product-action-button--visit-store:hover,
.qem-product-detail .qem-product-action-button--visit-store:focus {
  border-color: var(--qem-approved-btn-primary) !important;
  background: var(--qem-approved-btn-surface) !important;
  color: var(--qem-approved-btn-primary) !important;
}

.qem-product-detail .qem-product-save-action {
  display: flex;
  align-items: flex-start;
}

.qem-affiliate-button-logo {
  display: block;
  flex: 0 0 auto;
  width: 48px;
  height: 20px;
  object-fit: contain;
}

.qem-affiliate-button-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-2, 8px);
  min-width: 0;
  max-width: 100%;
  row-gap: 3px;
}

.qem-affiliate-button-price {
  display: inline-flex;
  align-items: center;
  color: var(--color-text-muted, #5f6876);
  font-size: var(--font-size-00, .8125rem);
  font-weight: var(--weight-semibold, 600);
  line-height: 1;
  white-space: nowrap;
}

.qem-affiliate-button-main--logo_price,
.qem-affiliate-button-main--buy_on_logo {
  gap: 8px;
}

.qem-affiliate-button-main--logo_price .qem-affiliate-button-logo {
  width: 58px;
}

.qem-affiliate-button-logo--sticky {
  width: 48px;
  height: 20px;
}

.qem-affiliate-button-price--sticky {
  color: rgba(255, 255, 255, .82);
  font-size: 11px;
}

.qem-product-detail .qem-buybtn-secondary {
  border: 1px solid var(--qem-line) !important;
  background: var(--qem-surface) !important;
  color: var(--qem-brand) !important;
}

.qem-product-detail .qem-buybtn-secondary:hover,
.qem-product-detail .qem-buybtn-secondary:focus {
  border-color: var(--qem-brand) !important;
  color: var(--qem-brand) !important;
}

.qem-product-detail .qem-product-cart-form {
  display: grid;
  gap: 0;
}

.qem-product-detail .qem-product-cart-action-row {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: .5rem;
  align-items: stretch;
}

.qem-product-detail .qem-product-cart-quantity,
.qem-sticky-product-bar .qem-product-cart-quantity {
  display: block;
  margin: 0;
}

.qem-product-detail .qem-product-cart-quantity .qem-product-stock-row--quantity-label {
  margin: 0 0 4px;
}

.qem-product-detail .qem-product-cart-quantity .qem-product-stock-row--quantity-label .qem-product-stock {
  min-height: auto;
}

.qem-product-detail .qem-product-cart-quantity__control,
.qem-sticky-product-bar .qem-product-cart-quantity__control {
  display: grid;
  grid-template-columns: 22px minmax(28px, 1fr) 22px;
  min-height: 36px;
  overflow: hidden;
  border: 1px solid rgba(198, 206, 216, .78);
  border-radius: 4px;
  background: #ffffff;
}

.qem-product-detail .qem-product-cart-quantity__step,
.qem-sticky-product-bar .qem-product-cart-quantity__step {
  display: inline-grid;
  place-items: center;
  min-width: 0;
  border: 0;
  background: #ffffff;
  color: var(--qem-approved-btn-text, #151922);
  font: inherit;
  font-size: .875rem;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: background-color .16s ease, color .16s ease;
}

.qem-product-detail .qem-product-cart-quantity__step:hover,
.qem-product-detail .qem-product-cart-quantity__step:focus,
.qem-sticky-product-bar .qem-product-cart-quantity__step:hover,
.qem-sticky-product-bar .qem-product-cart-quantity__step:focus {
  background: #f8fafc;
}

.qem-product-detail .qem-product-cart-quantity__step:focus-visible,
.qem-sticky-product-bar .qem-product-cart-quantity__step:focus-visible {
  outline: 2px solid var(--qem-approved-btn-focus, #2f6fed);
  outline-offset: -2px;
}

.qem-product-detail .qem-product-cart-quantity input,
.qem-sticky-product-bar .qem-product-cart-quantity input {
  width: 100%;
  min-width: 0;
  min-height: 34px;
  padding: 0 4px;
  border: 0;
  border-radius: 0;
  color: var(--qem-ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
  appearance: textfield;
}

.qem-product-detail .qem-product-cart-quantity input::-webkit-outer-spin-button,
.qem-product-detail .qem-product-cart-quantity input::-webkit-inner-spin-button,
.qem-sticky-product-bar .qem-product-cart-quantity input::-webkit-outer-spin-button,
.qem-sticky-product-bar .qem-product-cart-quantity input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.qem-product-detail .qem-product-cart-action-row .qem-product-action-button--cart {
  min-height: 36px;
}

@media (max-width: 420px) {
  .qem-product-detail .qem-product-cart-action-row {
    grid-template-columns: 1fr;
  }
}

.qem-product-detail .qem-product-purchase-info {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px 6px;
  padding: 0.22rem 0 0.34rem;
  border-top: 1px solid rgba(198, 206, 216, 0.68);
  color: var(--qem-muted, #5f6b7a);
  font-size: 0.875rem;
  line-height: 1.35;
}

.qem-product-detail .qem-product-purchase-info__label {
  color: var(--qem-muted, #5f6b7a);
  font-weight: 600;
}

.qem-product-detail .qem-product-purchase-info__value {
  color: var(--qem-ink, #151922);
  font-weight: 500;
}

.qem-product-detail .qem-product-purchase-info__muted {
  color: var(--qem-muted, #5f6b7a);
}

.qem-product-detail .qem-product-shipping-preview {
  display: grid;
  gap: 5px;
  margin: -2px 0 10px;
  color: var(--qem-muted, #5f6b7a);
  font-size: 0.82rem;
  line-height: 1.35;
}

.qem-product-detail .qem-product-shipping-preview[hidden] {
  display: none;
}

.qem-product-detail .qem-product-shipping-preview__details summary {
  width: max-content;
  color: var(--qem-ink, #151922);
  cursor: pointer;
  font-weight: 650;
}

.qem-product-detail .qem-product-shipping-preview__rates {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.qem-product-detail .qem-product-shipping-preview__rate {
  display: grid;
  gap: 2px;
  color: var(--qem-muted, #5f6b7a);
}

.qem-product-detail .qem-product-shipping-preview__rate span:first-child {
  color: var(--qem-ink, #151922);
  font-weight: 650;
}

.qem-product-purchase-note {
  margin: 4px 0 0;
  color: var(--qem-muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
}

.qem-product-variant-form {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.qem-product-variant-form__label {
  margin: 0;
  color: var(--qem-ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
}

.qem-product-variant-list {
  display: grid;
  gap: 8px;
}

.qem-product-variant-option {
  position: relative;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) minmax(92px, auto) minmax(112px, auto);
  gap: 6px 10px;
  align-items: start;
  min-width: 0;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius-sm);
  background: #ffffff;
  color: var(--qem-ink);
  cursor: pointer;
}

.qem-product-variant-option.is-selected {
  border-color: var(--qem-brand);
  box-shadow: 0 0 0 2px rgba(42, 126, 255, .12);
}

.qem-product-variant-option--disabled {
  color: var(--qem-muted);
  cursor: not-allowed;
  opacity: .68;
}

.qem-product-variant-option .qe-variant-option {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
}

.qem-product-variant-option__media {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 48px;
  height: 48px;
  align-self: center;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius-sm);
  background: #f8fafc;
  overflow: hidden;
}

.qem-product-variant-option__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.qem-product-variant-option__content {
  grid-column: 3;
  grid-row: 1 / span 2;
  display: grid;
  gap: 4px;
  align-self: center;
  min-width: 0;
}

.qem-product-variant-option__title {
  min-width: 0;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.3;
}

.qem-product-variant-option__meta {
  color: var(--qem-muted);
  font-weight: 650;
}

.qem-product-variant-option__price-group {
  display: grid;
  justify-content: flex-end;
  justify-items: end;
  gap: 4px;
  grid-column: 5;
  grid-row: 1 / span 2;
  justify-self: end;
  min-width: 112px;
  max-width: 170px;
  text-align: right;
}

.qem-product-variant-option__price {
  font-size: 15px;
  font-weight: 850;
  line-height: 1.3;
}

.qem-product-variant-option__comparison {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px 6px;
  max-width: 100%;
}

.qem-product-variant-option__old-price {
  color: var(--qem-muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: line-through;
}

.qem-product-variant-option__discount {
  color: var(--color-success, #007a3d);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
}

.qem-product-variant-option__stock {
  grid-column: 4;
  grid-row: 1 / span 2;
  align-self: center;
  justify-self: center;
  text-align: center;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.3;
}

@media (max-width: 560px) {
  .qem-product-variant-option {
    grid-template-columns: auto auto minmax(0, 1fr) minmax(100px, auto);
  }

  .qem-product-variant-option__price-group {
    grid-column: 4;
  }

  .qem-product-variant-option__stock {
    grid-column: 3;
    grid-row: 2;
    justify-self: start;
    text-align: left;
  }
}

.qem-sticky-product-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1030;
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
  transition: transform .2s ease, opacity .2s ease;
}

.qem-sticky-product-bar.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.qem-sticky-product-bar__inner {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  width: min(calc(100% - 64px), var(--qem-layout-container, 1340px));
  max-width: var(--qem-layout-container, 1340px);
  margin: 0 auto 16px;
  padding: 12px;
  border: 1px solid var(--qem-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 10px 22px rgba(15, 23, 42, .12);
  backdrop-filter: blur(8px);
}

.qem-sticky-product-bar--no-quantity .qem-sticky-product-bar__inner {
  grid-template-columns: 48px minmax(0, 1fr) auto;
}

.qem-sticky-product-bar__media {
  display: block;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius-sm);
  background: #ffffff;
}

.qem-sticky-product-bar__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qem-sticky-product-bar__summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
  min-width: 0;
}

.qem-sticky-product-bar__summary strong {
  display: block;
  flex: 1 1 260px;
  overflow: hidden;
  color: var(--qem-ink);
  font-size: 16px;
  font-weight: 750;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.qem-sticky-product-bar__meta {
  display: flex;
  flex-wrap: wrap;
  flex: 0 0 auto;
  gap: 10px;
  align-items: center;
  color: var(--qem-muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
}

.qem-sticky-product-bar__price {
  color: var(--qem-ink);
  font-size: 16px;
  font-weight: 500;
}

.qem-sticky-product-bar__old-price {
  color: #778196;
  text-decoration: line-through;
}

.qem-sticky-product-bar__discount,
.qem-sticky-product-bar__stock {
  color: #12833d;
  font-size: 15px;
  font-weight: 500;
}

.qem-sticky-product-bar__stock {
  color: #007a3d;
}

.qem-sticky-product-bar__quantity {
  display: block;
  margin: 0;
}

.qem-sticky-product-bar__quantity input {
  width: 100%;
  font-weight: 500;
}

.qem-sticky-product-bar__actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.qem-sticky-product-bar__cart-action-row {
  display: grid;
  grid-template-columns: 78px minmax(112px, 1fr);
  gap: .5rem;
  align-items: stretch;
}

.qem-sticky-product-bar__cart-action-row .qem-sticky-product-bar__button {
  width: 100%;
  min-height: 36px;
}

.qem-sticky-product-bar .btn {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: var(--space-2, 8px);
  border: 1px solid var(--color-border-strong, var(--qem-line));
  border-radius: var(--radius-4, 4px);
  padding: .55rem .85rem;
  font: inherit;
  font-size: var(--font-size-0, .875rem);
  font-weight: var(--weight-medium, 500);
  line-height: 1.2;
  text-decoration: none;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease;
}

.qem-sticky-product-bar .btn-sm {
  min-height: 32px;
  padding: .38rem .6rem;
  font-size: var(--font-size-00, .8125rem);
}

.qem-sticky-product-bar .btn-dark {
  border-color: var(--color-primary, var(--qem-brand));
  background: var(--color-primary, var(--qem-brand));
  color: #ffffff;
}

.qem-sticky-product-bar__button--primary {
  flex-direction: row;
  gap: 6px;
}

.qem-sticky-product-bar .btn-dark:hover,
.qem-sticky-product-bar .btn-dark:focus,
.qem-sticky-product-bar .btn-dark.is-hover {
  border-color: var(--color-primary-hover, var(--qem-brand-strong));
  background: var(--color-primary-hover, var(--qem-brand-strong));
  color: #ffffff;
}

.qem-sticky-product-bar .btn-outline {
  border-color: var(--color-accent, var(--qem-brand));
  background: transparent;
  color: var(--color-accent, var(--qem-brand));
}

.qem-sticky-product-bar .btn-outline:hover,
.qem-sticky-product-bar .btn-outline:focus,
.qem-sticky-product-bar .btn-outline.is-hover {
  background: var(--color-accent-soft, rgba(47, 111, 237, .08));
}

.qem-sticky-product-bar .btn:disabled,
.qem-sticky-product-bar .btn[disabled] {
  opacity: .65;
  cursor: not-allowed;
}

body.qem-sticky-product-bar-visible {
  padding-bottom: 90px;
}

.qem-fbt-card {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius-sm);
  background: var(--qem-surface);
}

.qem-fbt-card__header {
  display: grid;
  gap: 4px;
}

.qem-fbt-card__header h3 {
  margin: 0;
  color: var(--qem-ink);
  font-size: 18px;
  font-weight: 850;
  line-height: 1.2;
}

.qem-fbt-card__header p {
  margin: 0;
  color: var(--qem-muted);
  font-size: 13px;
  line-height: 1.35;
}

.qem-fbt-items {
  display: grid;
  gap: 10px;
}

.qem-fbt-flash {
  padding: 10px 12px;
  border-radius: var(--qem-radius-sm);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.qem-fbt-flash--success {
  border: 1px solid #bbf7d0;
  background: #f0fdf4;
  color: #166534;
}

.qem-fbt-flash--danger {
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #991b1b;
}

.qem-fbt-item {
  position: relative;
  display: grid;
  grid-template-columns: 26px 54px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.qem-fbt-item:hover,
.qem-fbt-item:focus {
  color: inherit;
  text-decoration: none;
}

.qem-fbt-item:not(.qem-fbt-item--current) {
  padding-top: 10px;
  border-top: 1px solid var(--qem-line);
}

.qem-fbt-plus {
  position: absolute;
  top: -12px;
  left: 44px;
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid var(--qem-line);
  border-radius: 999px;
  background: var(--qem-surface);
  color: var(--qem-muted);
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
}

.qem-fbt-select {
  display: inline-grid;
  place-items: center;
  width: 26px;
  min-width: 26px;
}

.qem-fbt-select input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--qem-primary);
  cursor: pointer;
}

.qem-fbt-select__external {
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  height: 22px;
  padding: 0 5px;
  border: 1px solid var(--qem-line);
  border-radius: 999px;
  color: var(--qem-muted);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.qem-fbt-thumb {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  overflow: hidden;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius-sm);
  background: #fff;
}

.qem-fbt-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qem-fbt-info {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.qem-fbt-label,
.qem-fbt-info span:last-child,
.qem-fbt-summary span {
  color: var(--qem-muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.qem-fbt-info strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--qem-ink);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.25;
}

.qem-fbt-info a {
  color: inherit;
  text-decoration: none;
}

.qem-fbt-info a:hover,
.qem-fbt-info a:focus {
  color: inherit;
  text-decoration: underline;
}

.qem-fbt-external-link,
.qem-fbt-unavailable {
  width: fit-content;
  color: var(--qem-primary);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.2;
}

.qem-fbt-unavailable {
  color: var(--qem-muted);
}

.qem-fbt-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--qem-line);
}

.qem-fbt-summary strong {
  color: var(--qem-ink);
  font-size: 18px;
  font-weight: 900;
}

.qem-fbt-actions {
  display: grid;
  gap: 8px;
}

.qem-fbt-add-button {
  width: 100%;
  min-height: 46px;
}

.qem-fbt-actions p {
  margin: 0;
  color: var(--qem-muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

.qem-fbt-comparison {
  --qem-approved-btn-surface: #ffffff;
  --qem-approved-btn-text: #151922;
  --qem-approved-btn-border: #c6ced8;
  --qem-approved-btn-primary: #1f3447;
  --qem-approved-btn-primary-hover: #172737;
  --qem-approved-btn-focus: #2f6fed;
  display: grid;
  gap: 16px;
  margin-top: 24px;
  padding: 0 0 28px;
  border-bottom: 1px solid var(--qem-line);
  color: var(--qem-ink);
}

.qem-fbt-comparison__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--qem-line);
}

.qem-fbt-comparison__header h3 {
  margin: 0;
  color: var(--qem-ink);
  font-size: 18px;
  font-weight: 850;
  line-height: 1.2;
}

.qem-fbt-comparison__total {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 18px;
  min-width: 190px;
}

.qem-fbt-comparison__total span {
  color: var(--qem-muted);
  font-size: 12px;
  font-weight: 800;
}

.qem-fbt-comparison__total strong {
  color: var(--qem-ink);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.qem-fbt-comparison__body {
  display: grid;
  gap: 16px;
  align-items: start;
}

.qem-fbt-comparison__items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 18px;
  align-items: stretch;
}

.qem-fbt-comparison__item {
  position: relative;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
  min-height: 104px;
  padding: 12px 14px;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius-sm);
  background: #f8fafc;
}

.qem-fbt-comparison__item--selected {
  border-color: rgba(21, 128, 61, .6);
  background: rgba(20, 115, 230, .075);
  box-shadow: 0 1px 0 rgba(21, 128, 61, .08), 0 0 0 1px rgba(20, 115, 230, .07);
}

.qem-fbt-comparison__item[data-qem-fbt-comparison-item] {
  cursor: pointer;
}

.qem-fbt-comparison__item[data-qem-fbt-comparison-item]:hover,
.qem-fbt-comparison__item[data-qem-fbt-comparison-item]:focus {
  border-color: rgba(21, 128, 61, .68);
  background: rgba(20, 115, 230, .055);
  outline: 0;
}

.qem-fbt-comparison__item[data-qem-fbt-comparison-item]:focus {
  box-shadow: 0 0 0 3px rgba(20, 115, 230, .12);
}

.qem-fbt-comparison__item--disabled {
  opacity: .68;
}

.qem-fbt-comparison__input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}

.qem-fbt-comparison__plus {
  position: absolute;
  top: 50%;
  left: -18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--qem-line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--qem-muted);
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  transform: translateY(-50%);
  z-index: 1;
}

.qem-fbt-comparison__thumb {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius-sm);
  background: #ffffff;
  overflow: hidden;
}

.qem-fbt-comparison__media {
  display: grid;
  gap: 5px;
  justify-items: center;
  width: 74px;
  min-width: 0;
}

.qem-fbt-comparison__thumb img {
  display: block;
  max-width: 64px;
  max-height: 64px;
  object-fit: contain;
}

.qem-fbt-comparison__info {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.qem-fbt-comparison__info a {
  display: -webkit-box;
  overflow: hidden;
  color: var(--qem-ink);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.25;
  text-decoration: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.qem-fbt-comparison__info a:hover,
.qem-fbt-comparison__info a:focus {
  color: var(--qem-primary);
}

.qem-fbt-comparison__info strong {
  color: var(--qem-muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.qem-fbt-comparison__actions {
  display: grid;
  gap: 12px;
  justify-self: end;
  width: calc((100% - 36px) / 3);
}

.qem-fbt-comparison__actions p {
  margin: 0;
  color: var(--qem-muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.qem-product-detail .qem-fbt-comparison__button.qem-product-action-button {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  border-radius: 4px;
  padding: .55rem .85rem;
  font: inherit;
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
  box-shadow: none;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease;
}

.qem-fbt-comparison__button:disabled {
  cursor: not-allowed;
  opacity: .55;
}

@media (max-width: 900px) {
  .qem-fbt-comparison__header {
    align-items: stretch;
    flex-direction: column;
  }

  .qem-fbt-comparison__total {
    justify-content: space-between;
    gap: 18px;
    min-width: 0;
  }

  .qem-fbt-comparison__body {
    grid-template-columns: 1fr;
  }

  .qem-fbt-comparison__items {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .qem-fbt-comparison__actions {
    justify-self: stretch;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .qem-fbt-comparison__item {
    grid-template-columns: 72px minmax(0, 1fr);
    min-height: 96px;
    padding: 12px;
  }

  .qem-fbt-comparison__thumb {
    width: 72px;
    height: 72px;
  }

  .qem-fbt-comparison__media {
    width: 72px;
  }

  .qem-fbt-comparison__thumb img {
    max-width: 62px;
    max-height: 62px;
  }

  .qem-fbt-comparison__plus {
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
  }
}

.qem-product-detail .favbtn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--qem-line);
  background: #ffffff;
  box-shadow: var(--qem-shadow-sm);
}

.qem-product-mobile-meta {
  display: none;
  margin-top: 12px;
}

.qem-product-mobile-meta__item {
  margin: 8px 0 0;
  color: var(--qem-muted);
  font-size: 14px;
  line-height: 1.4;
}

.qem-product-mobile-meta__item span {
  color: var(--qem-ink);
  font-weight: 800;
}

.qem-product-definition-list {
  display: grid;
  gap: 0;
  margin: 18px 0 0;
}

.qem-product-definition-list > dt {
  color: var(--qem-ink);
  font-size: 13px;
  font-weight: 800;
}

.qem-product-definition-list > dd {
  color: var(--qem-muted);
  font-size: 15px;
  line-height: 1.35;
}

.qem-product-definition-list > dt:nth-of-type(n+2) {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--qem-line);
}

.qem-product-muted-detail {
  color: var(--qem-muted);
  font-size: 12px;
  font-weight: 650;
}

.qem-product-detail .qem-ui-product-longform {
  display: grid;
  gap: 0;
  width: 100%;
  margin-top: var(--space-6, 2.5rem);
}

[data-qem-tabs] [role="tabpanel"][hidden] {
  display: none !important;
}

.qem-product-detail .qem-ui-product-longform + .qem-ui-product-detail-grid {
  margin-top: 24px;
}

.qem-product-detail .qem-product-info-tabs-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-5, 2rem);
  border-bottom: 1px solid var(--color-border, var(--qem-line));
}

.qem-product-detail .qem-product-info-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: var(--space-5, 2rem);
  margin-top: 0;
  overflow: visible;
  border-bottom: 0;
}

.qem-product-detail .qem-product-info-tabs .tab {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 40px;
  padding: var(--space-2, .5rem) 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--color-text-muted, var(--qem-muted));
  font: inherit;
  font-size: var(--font-size-0, .875rem);
  font-weight: var(--weight-medium, 500);
  line-height: 1.2;
  text-decoration: none;
  appearance: none;
  cursor: pointer;
}

.qem-product-detail .qem-product-info-tabs .tab::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: transparent;
}

.qem-product-detail .qem-product-info-tabs .tab.is-selected {
  color: var(--color-accent, #2f5f8f);
}

.qem-product-detail .qem-product-info-tabs .tab.is-selected::after {
  background: var(--color-accent, #2f5f8f);
}

.qem-product-detail .qem-product-info-tabs .tab:focus-visible {
  outline: 2px solid var(--color-focus, rgba(47, 111, 237, .85));
  outline-offset: 2px;
}

.qem-product-detail .description {
  padding-top: var(--space-4, 1rem);
  color: var(--qem-ink);
  font-size: 16px;
  line-height: 1.65;
}

.qem-product-detail .qem-ui-product-content-card.qem-product-longform-content {
  padding-right: 0;
  padding-left: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.qem-product-detail .qem-product-longform-content p,
.qem-product-detail .qem-product-longform-content li {
  max-width: none;
}

.qem-product-detail .description img {
  max-width: 100%;
  height: auto;
}

.qem-product-faqs,
.qem-product-specifications,
.qem-product-policy-note {
  margin-top: 30px;
}

.qem-product-section-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 16px;
  color: var(--qem-ink);
  font-size: 20px;
  font-weight: 850;
  line-height: 1.3;
  letter-spacing: 0;
}

.qem-product-section-heading::after {
  content: "";
  flex: 1 1 auto;
  min-width: 40px;
  border-top: 1px solid var(--qem-line);
}

.qem-product-table-scroll {
  width: 100%;
  overflow-x: auto;
}

.qem-product-specifications__table {
  width: 100%;
  border-collapse: collapse;
  color: var(--qem-ink);
  font-size: 15px;
  line-height: 1.45;
}

.qem-product-specifications__table th,
.qem-product-specifications__table td {
  padding: 10px 12px;
  border-top: 1px solid var(--qem-line);
  text-align: left;
  vertical-align: top;
}

.qem-product-specifications__table th {
  width: 34%;
  color: var(--qem-muted);
  font-weight: 800;
}

.qem-product-faqs__list {
  display: grid;
  gap: 10px;
}

.qem-product-faqs__item {
  border: 1px solid var(--qem-line);
  border-radius: 8px;
  background: #fff;
}

.qem-product-faqs__item summary {
  cursor: pointer;
  padding: 14px 16px;
  color: var(--qem-ink);
  font-weight: 800;
  line-height: 1.45;
}

.qem-product-faqs__item p {
  margin: 0;
  padding: 0 16px 16px;
  color: var(--qem-muted);
  line-height: 1.6;
}

.qem-product-policy-note p:last-child {
  margin-bottom: 0;
}

.qem-product-detail .share {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
  min-height: 44px;
  padding: 8px 18px;
  border: 1px solid var(--qem-line);
  border-radius: 999px;
  color: var(--qem-brand);
  font-weight: 800;
  text-decoration: none;
}

.qem-product-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.qem-product-detail .pro_badge {
  display: inline-flex;
  margin-left: 8px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 196, 0, .24);
  color: var(--qem-accent-ink);
  font-size: 11px;
  font-weight: 800;
}

.qem-product-seller-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: flex-start;
  margin-top: 22px;
  padding: 18px;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  box-shadow: none;
}

.qem-product-seller-preview__identity {
  display: flex;
  min-width: 0;
  gap: 14px;
}

.qem-product-seller-preview__avatar {
  display: inline-flex;
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--qem-line);
  border-radius: 50%;
  background: #f8fafc;
  color: var(--qem-ink);
  font-size: 24px;
  font-weight: 800;
}

.qem-product-seller-preview__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qem-product-seller-preview__details {
  min-width: 0;
}

.qem-product-seller-preview__eyebrow {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 3px;
  color: var(--qem-muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
}

.qem-product-seller-preview h2 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin: 0;
  color: var(--qem-ink);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.qem-product-seller-preview__description {
  max-width: 680px;
  margin: 8px 0 0;
  color: var(--qem-muted);
  font-size: 14px;
  line-height: 1.5;
}

.qem-product-seller-preview__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 13px 0 0;
}

.qem-product-seller-preview__meta div {
  min-width: 118px;
  padding: 9px 11px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #f8fafc;
}

.qem-product-seller-preview__meta dt {
  margin: 0 0 2px;
  color: var(--qem-muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.25;
}

.qem-product-seller-preview__meta dd {
  margin: 0;
  color: var(--qem-ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
}

.qem-product-seller-preview__actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.qem-product-seller-preview__actions .btn {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: auto;
  min-height: 40px;
  border: 1px solid var(--color-border-strong, var(--qem-line));
  border-radius: var(--radius-4, 4px);
  padding: .55rem .85rem;
  font: inherit;
  font-size: var(--font-size-0, .875rem);
  font-weight: var(--weight-medium, 500);
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease;
}

.qem-product-seller-preview__actions .btn:hover,
.qem-product-seller-preview__actions .btn:focus {
  text-decoration: none;
}

.qem-product-seller-preview__actions .btn:focus-visible {
  outline: 2px solid var(--color-focus, #2f6fed);
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(47, 111, 237, .18);
}

.qem-product-seller-preview__actions .btn-dark {
  border-color: var(--color-primary, var(--qem-brand));
  background: var(--color-primary, var(--qem-brand));
  color: #ffffff;
}

.qem-product-seller-preview__actions .btn-dark:hover,
.qem-product-seller-preview__actions .btn-dark:focus {
  border-color: var(--color-primary-hover, var(--qem-brand-strong));
  background: var(--color-primary-hover, var(--qem-brand-strong));
  color: #ffffff;
}

.qem-product-seller-preview__actions .btn-outline {
  border-color: var(--color-accent, var(--qem-brand));
  background: transparent;
  color: var(--color-accent, var(--qem-brand));
}

.qem-product-seller-preview__actions .btn-outline:hover,
.qem-product-seller-preview__actions .btn-outline:focus {
  background: var(--color-accent-soft, rgba(47, 111, 237, .08));
}

.qem-product-seller-preview .qe-account-badges--seller-card .qe-account-badge {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.qem-product-seller-preview__eyebrow .pro_badge {
  margin-left: 0;
}

.qem-product-seller-preview .qem-product-seller-message {
  grid-column: 1 / -1;
}

.qem-product-seller-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.qem-product-seller-card__main {
  min-width: 0;
  flex: 1 1 auto;
}

.qem-product-seller-card__identity {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.qem-product-seller-card__avatar {
  flex: 0 0 auto;
}

.qem-product-seller-card__avatar img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.qem-product-seller-card__details {
  min-width: 0;
}

.qem-product-seller-card__details p {
  margin: 0;
  color: var(--qem-ink);
  font-size: 15px;
  line-height: 1.4;
  font-weight: 750;
}

.qem-product-seller-card__eyebrow {
  color: var(--qem-muted);
  font-weight: 650;
}

.qem-product-seller-card__action {
  flex: 0 0 auto;
}

.qem-product-seller-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--qem-line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--qem-ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

.qem-product-seller-card__button:hover,
.qem-product-seller-card__button:focus {
  border-color: var(--qem-brand);
  color: var(--qem-brand);
  text-decoration: none;
}

.qem-product-seller-message {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid var(--qem-line);
  border-radius: 8px;
  background: #f8fafc;
}

.qem-product-seller-message__head h3 {
  margin: 0 0 4px;
  font-size: 18px;
  color: var(--qem-ink);
}

.qem-product-seller-message__head p,
.qem-product-seller-message__alert p {
  margin: 0;
  color: var(--qem-muted);
}

.qem-product-seller-message__form {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.qem-product-seller-message__form textarea {
  width: 100%;
  min-height: 110px;
  padding: 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  resize: vertical;
  color: var(--qem-ink);
  background: #fff;
}

.qem-product-seller-message__form textarea:focus {
  outline: none;
  border-color: var(--qem-brand);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.qem-product-seller-message__form button,
.qem-product-seller-message__signin {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  background: var(--qem-ink);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.qem-product-seller-message__form button:hover,
.qem-product-seller-message__form button:focus,
.qem-product-seller-message__signin:hover,
.qem-product-seller-message__signin:focus {
  background: var(--qem-brand);
  color: #fff;
  text-decoration: none;
}

.qem-product-seller-message__alert {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
}

.qem-product-seller-message__alert--danger {
  border-color: #fecaca;
  background: #fef2f2;
}

.qem-product-seller-message__alert--warning {
  border-color: #fde68a;
  background: #fffbeb;
}

.qem-seller-message-modal .qem-modal__dialog {
  width: min(100%, 640px);
  overflow-x: hidden;
}

.qem-seller-message-modal__header h2 {
  margin: 0;
  color: var(--color-text, var(--qem-ink));
  font-size: var(--font-size-4, 1.625rem);
  font-weight: var(--weight-heading, 650);
  line-height: 1.2;
}

.qem-seller-message-modal .qem-product-seller-message {
  margin-top: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.qem-seller-message-modal .form-control {
  box-sizing: border-box;
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--color-border-strong, var(--qem-line));
  border-radius: var(--radius-4, 4px);
  background: var(--color-surface, #ffffff);
  color: var(--color-text, var(--qem-ink));
  font: inherit;
  font-size: var(--font-size-0, .875rem);
  line-height: 1.3;
  padding: .5rem .65rem;
}

.qem-seller-message-modal textarea.form-control {
  min-height: 160px;
  resize: vertical;
}

.qem-seller-message-modal .form-control:focus {
  border-color: var(--color-focus, #2f6fed);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(47, 111, 237, .14);
}

.qem-seller-message-modal .btn {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: var(--space-2, 8px);
  border: 1px solid var(--color-border-strong, var(--qem-line));
  border-radius: var(--radius-4, 4px);
  padding: .55rem .85rem;
  font: inherit;
  font-size: var(--font-size-0, .875rem);
  font-weight: var(--weight-medium, 500);
  line-height: 1.2;
  text-decoration: none;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease;
}

.qem-seller-message-modal .btn-dark {
  border-color: var(--color-primary, var(--qem-brand));
  background: var(--color-primary, var(--qem-brand));
  color: #ffffff;
}

.qem-seller-message-modal .btn-dark:hover,
.qem-seller-message-modal .btn-dark:focus {
  border-color: var(--color-primary-hover, var(--qem-brand-strong));
  background: var(--color-primary-hover, var(--qem-brand-strong));
  color: #ffffff;
  text-decoration: none;
}

.qem-seller-message-modal .qem-product-seller-message__form .btn {
  width: 100%;
}

.qem-seller-message-modal .qem-modal__close {
  border: 0;
  background: transparent;
  color: var(--color-text-muted, var(--qem-muted));
  box-shadow: none;
}

.qem-seller-message-modal .qem-modal__close:hover,
.qem-seller-message-modal .qem-modal__close:focus {
  border-color: transparent;
  background: transparent;
  color: var(--color-text, var(--qem-ink));
}

.qem-product-sidebar-ad {
  text-align: center;
}

@media (max-width: 639px) {
  .qem-product-seller-card__action {
    display: none;
  }
}

.qem-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.qem-trust-item {
  padding: 16px;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius);
  background: var(--qem-surface);
}

.qem-trust-item__title {
  margin: 0 0 4px;
  color: var(--qem-ink);
  font-size: 15px;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: 0;
}

.qem-trust-item__text {
  margin: 0;
  color: var(--qem-muted);
  font-size: 13px;
  line-height: 1.45;
  letter-spacing: 0;
}

.qem-link-reset {
  color: inherit;
  text-decoration: none;
}

.qem-link-reset:hover,
.qem-link-reset:focus {
  color: var(--qem-brand);
  text-decoration: underline;
}

/* Track A / Batch A3 - Product detail and public storefront presentation */
.qem-product-detail.qem-ui-product-shell {
  width: min(100% - 32px, var(--qem-layout-container));
  max-width: var(--qem-layout-container);
  margin-left: auto;
  margin-right: auto;
  padding-top: 34px;
  padding-bottom: 34px;
  background: #ffffff;
}

.qem-ui-product-frame,
.qem-product-detail.qem-ui-product-shell .qem-ui-product-frame {
  display: grid;
  gap: 26px;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.qem-ui-product-head {
  display: grid;
  gap: 6px;
  margin-bottom: 0;
  padding-bottom: 20px;
  border-bottom: 0;
}

.qem-product-detail.qem-ui-product-shell .qem-ui-product-head {
  padding: 18px 20px 16px;
  width: 100%;
  min-width: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.qem-product-detail .breadcrumb,
.qem-product-detail .breadcrumbs {
  margin-bottom: var(--space-3, .75rem);
}

.qem-product-detail .single_title {
  width: 100%;
  max-width: none;
  font-size: var(--font-size-6, 2.5rem);
  line-height: 1.1;
  font-weight: var(--weight-heading, 500);
  overflow-wrap: anywhere;
}

.qem-product-detail .single_subtitle {
  width: 100%;
  max-width: none;
  margin-top: 0;
  font-size: var(--font-size-1, 1rem);
  line-height: 1.35;
  font-weight: var(--weight-regular, 400);
}

.qem-ui-product-hero-grid {
  margin-top: 0;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 500px);
  gap: 24px;
  align-items: start;
}

.qem-product-detail.qem-ui-product-shell .qem-ui-product-media-panel {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.qem-ui-product-detail-grid {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 330px);
  gap: 34px;
  margin-top: 0;
}

.qem-product-media-items {
  min-height: 420px;
  aspect-ratio: auto;
  border-color: #dfe4ea;
  border-radius: 4px;
  background: #ffffff;
  box-shadow: none;
}

.qem-product-media-item,
.qem-product-detail .qe-single-main-image {
  background: #ffffff;
}

.qem-product-detail .qe-single-main-image {
  padding: 28px;
}

.qem-product-media-nav {
  opacity: 1;
  border: 1px solid rgba(255, 255, 255, .44);
}

.qem-product-thumbs {
  margin-top: 12px;
}

.qem-product-thumbs__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: visible;
  padding-bottom: 0;
  scrollbar-width: thin;
}

.qem-product-detail .qe-single-thumb-link {
  width: 100%;
  min-height: 64px;
  height: 64px;
  border-color: #dfe4ea;
  border-radius: 4px;
  background: #ffffff;
  box-shadow: none;
}

.qem-product-detail .qe-single-thumb-link:hover,
.qem-product-detail .qe-single-thumb-link:focus {
  border-color: #2f5f8f;
  color: #2f5f8f;
  text-decoration: none;
}

.qem-product-detail .qe-single-thumb-image {
  width: 100%;
  height: 100%;
  padding: 6px;
  object-fit: contain;
  object-position: center;
}

.qem-product-detail .is-active .qe-single-thumb-link {
  border-color: #2f5f8f;
  box-shadow: none;
}

@media (min-width: 960px) {
  .qem-product-detail .qem-product-media-viewer {
    align-items: stretch;
    display: grid;
    column-gap: 14px;
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .qem-product-detail .qem-product-media-stage {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
  }

  .qem-product-detail .qem-product-thumbs {
    align-self: start;
    display: grid;
    gap: 8px;
    grid-column: 1;
    grid-row: 1;
    grid-template-rows: minmax(0, 1fr);
    height: auto;
    margin-top: 0;
    max-height: 420px;
    min-width: 0;
    overflow: visible;
  }

  .qem-product-detail .qem-product-thumbs--has-overflow {
    align-self: stretch;
    grid-template-rows: 26px minmax(0, 1fr) 26px;
    height: 420px;
    overflow: hidden;
  }

  .qem-product-detail .qem-product-thumbs__scroll {
    display: none;
    justify-self: center;
  }

  .qem-product-detail .qem-product-thumbs--has-overflow .qem-product-thumbs__scroll {
    display: inline-flex;
  }

  .qem-product-detail .qem-product-thumbs__list {
    align-content: start;
    grid-template-columns: 1fr;
    grid-auto-rows: 82px;
    gap: 8px;
    max-height: none;
    min-height: 0;
    overflow: visible;
    overscroll-behavior: contain;
    padding-right: 0;
    scrollbar-width: none;
  }

  .qem-product-detail .qem-product-thumbs--has-overflow .qem-product-thumbs__list {
    overflow-x: hidden;
    overflow-y: auto;
  }

  .qem-product-detail .qem-product-thumbs__list::-webkit-scrollbar {
    display: none;
  }

  .qem-product-detail .qem-product-thumbs__list > li {
    min-width: 0;
  }

  .qem-product-detail .qe-single-thumb-link {
    height: 82px;
    min-height: 0;
  }

  .qem-product-detail .qem-product-media-viewer--compact-thumbs .qem-product-thumbs {
    grid-template-rows: minmax(0, 1fr);
    height: auto;
    max-height: none;
    overflow: visible;
  }

  .qem-product-detail .qem-product-media-viewer--compact-thumbs .qem-product-thumbs__scroll {
    display: none !important;
  }

  .qem-product-detail .qem-product-media-viewer--compact-thumbs .qem-product-thumbs__list {
    align-content: start;
    overflow: visible;
  }
}

.qem-product-detail .top_side > div {
  padding: 22px;
  border: 0;
  border-radius: 8px;
  box-shadow: none;
}

.qem-product-detail .price {
  font-size: var(--font-size-6, 2.5rem);
}

.qem-product-stock-row {
  margin-bottom: 8px;
}

.qem-product-stock {
  min-height: 24px;
  padding: 0;
}

.qem-product-purchase-rules {
  display: grid;
  gap: 4px;
  margin: 10px 0;
}

.qem-product-detail .qem-product-purchase-info--rule {
  margin: 0;
  color: var(--qem-muted);
}

.qem-product-detail .left_time {
  margin: 16px 0;
  padding: 14px;
  border: 1px solid var(--qem-line);
  border-radius: 8px;
  background: #f8fafc;
}

.qem-product-detail .left_time p {
  margin: 0 0 10px;
  color: var(--qem-muted);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.qem-product-detail .qem-product-purchase-row {
  gap: 14px;
}

.qem-product-detail .favbtn {
  width: 48px;
  height: 48px;
  box-shadow: none;
}

.qem-product-definition-list {
  grid-template-columns: minmax(120px, .42fr) minmax(0, 1fr);
  column-gap: 16px;
  row-gap: 0;
}

.qem-product-definition-list > dt,
.qem-product-definition-list > dd {
  padding: 12px 0;
  border-top: 1px solid var(--qem-line);
}

.qem-product-definition-list > dt:nth-of-type(n+2) {
  margin-top: 0;
  padding-top: 12px;
}

.qem-product-definition-list > dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.qem-product-mobile-meta {
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 8px;
}

.qem-product-mobile-meta__item {
  margin: 0;
  padding: 10px;
  border: 1px solid var(--qem-line);
  border-radius: 8px;
  background: #f8fafc;
}

.qem-ui-product-content-card,
.qem-product-reviews,
.qem-product-seller-card,
.qem-product-seller-message,
.qem-share,
.qem-daily-sidebar {
  border-radius: 8px;
}

.qem-ui-product-content-card,
.qem-product-reviews {
  padding: 0;
  background: #ffffff;
}

.qem-product-detail .description {
  overflow-wrap: anywhere;
}

.qem-product-detail hr {
  margin: 24px 0;
  border: 0;
  border-top: 1px solid var(--qem-line);
}

.qem-product-section-title,
.qem-product-section-heading {
  color: var(--qem-ink);
  font-size: 22px;
  font-weight: 850;
  line-height: 1.25;
}

.qem-product-reviews .section_title_details {
  margin: 0 0 16px;
}

.reviews-summary {
  border-radius: 8px;
  box-shadow: none;
}

.review-toolbar {
  border-radius: 8px;
  box-shadow: none;
}

.qem-fbt-card {
  border-radius: 8px;
  background: #f8fafc;
}

.qem-fbt-item {
  grid-template-columns: 28px 62px minmax(0, 1fr);
}

.qem-fbt-thumb {
  width: 62px;
  height: 62px;
  background: #ffffff;
}

.qem-fbt-info strong {
  overflow-wrap: anywhere;
}

.qem-product-seller-card {
  padding: 18px 0;
  border-top: 1px solid var(--qem-line);
  border-bottom: 1px solid var(--qem-line);
}

.qem-product-seller-card__details p {
  overflow-wrap: anywhere;
}

.qem-product-seller-card__avatar img {
  background: #f8fafc;
}

.qem-product-seller-message {
  background: #ffffff;
}

.qem-share__grid {
  align-items: stretch;
}

.qem-share__grid > div,
.qem-share a,
.qem-share .resp-sharing-button {
  min-width: 0;
}

.qem-share .section_title_details {
  margin: 0 0 12px;
  color: #151922;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.28;
}

.qem-share .resp-sharing-button__link {
  display: block;
  border-radius: 4px;
  color: #151922;
  text-decoration: none;
}

.qem-share .resp-sharing-button {
  box-sizing: border-box;
  display: inline-flex;
  width: 100%;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid #c6ced8;
  border-radius: 4px;
  background: #ffffff;
  color: #151922;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease;
}

.qem-share .resp-sharing-button__icon {
  display: inline-flex;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  align-items: center;
  justify-content: center;
}

.qem-share .resp-sharing-button__icon .qem-lucide-icon {
  width: 16px;
  height: 16px;
}

.qem-share .resp-sharing-button__link:hover .resp-sharing-button,
.qem-share .resp-sharing-button__link:focus .resp-sharing-button {
  border-color: #1f3447;
  background: #ffffff;
  color: #1f3447;
}

.qem-share .resp-sharing-button__link:focus-visible {
  outline: 2px solid #2f6fed;
  outline-offset: 2px;
}

.qem-daily-sidebar {
  border: 1px solid var(--qem-line);
  box-shadow: none;
}

.qem-sticky-product-bar__inner {
  max-width: var(--qem-layout-container);
  border-radius: 8px;
}

.qem-public-profile-page .qem-public-profile-card {
  padding-top: 6px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--qem-line);
}

.qem-public-profile-deals {
  padding-top: 28px;
}

.qem-public-profile-deals .qem-location-deal-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
}

.qem-public-profile-deals .qem-location-deal-card {
  border-radius: 8px;
  box-shadow: none;
}

.qem-public-profile-deals .qem-location-deal-card__media {
  background: #f8fafc;
}

.qem-public-profile-deals .qem-location-deal-card__title,
.qem-public-profile-deals .qem-location-deal-card__text {
  overflow-wrap: anywhere;
}

@media (max-width: 959px) {
  .qem-ui-product-hero-grid,
  .qem-ui-product-detail-grid {
    grid-template-columns: 1fr;
  }

  .qem-ui-product-buy-panel {
    order: 0;
  }

  .qem-product-thumbs--desktop {
    display: block;
  }

  .qem-product-detail .top_side > div {
    position: static;
  }

  .qem-ui-product-sidebar {
    display: grid;
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .qem-product-detail.qem-ui-product-shell {
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .qem-product-detail .single_title {
    font-size: 25px;
  }

  .qem-product-detail .single_subtitle {
    font-size: 15px;
  }

  .qem-ui-product-frame {
    gap: 20px;
  }

  .qem-ui-product-head {
    padding-bottom: 16px;
  }

  .qem-ui-product-hero-grid,
  .qem-ui-product-detail-grid {
    gap: 20px;
  }

  .qem-product-media-items {
    min-height: 0;
    aspect-ratio: 1 / 1;
  }

  .qem-product-detail .qe-single-main-image {
    padding: 10px;
  }

  .qem-product-media-nav {
    width: 36px;
    height: 36px;
  }

  .qem-product-detail .qe-single-thumb-link {
    width: 64px;
    height: 64px;
  }

  .qem-product-detail .top_side > div {
    padding: 16px;
  }

  .qem-product-mobile-meta {
    display: grid;
  }

  .qem-product-definition-list {
    display: none;
  }

  .qem-product-detail .qem-product-direct-actions--two {
    grid-template-columns: 1fr;
  }

  .qem-product-countdown {
    gap: 5px;
  }

  .qem-product-countdown__unit {
    min-width: 38px;
  }

  .qem-product-countdown__number {
    font-size: 19px;
  }

  .qem-fbt-item {
    grid-template-columns: 24px 54px minmax(0, 1fr);
  }

  .qem-fbt-thumb {
    width: 54px;
    height: 54px;
  }

  .qem-fbt-summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .qem-product-seller-preview {
    grid-template-columns: 1fr;
    padding: 16px;
    border: 0;
    border-radius: 0;
  }

  .qem-product-seller-preview__identity {
    align-items: flex-start;
  }

  .qem-product-seller-preview__avatar {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
    font-size: 20px;
  }

  .qem-product-seller-preview h2 {
    font-size: 19px;
  }

  .qem-product-detail .qem-product-info-tabs-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .qem-product-seller-preview__actions {
    width: 100%;
    justify-content: flex-start;
  }

  .qem-product-seller-preview__meta {
    display: grid;
    grid-template-columns: 1fr;
  }

  .qem-product-seller-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .qem-product-seller-card__action {
    display: block;
  }

  .qem-product-seller-card__button {
    width: 100%;
  }

  .reviews-summary {
    gap: 14px;
  }

  .review-toolbar {
    gap: 10px;
  }

  .qem-sticky-product-bar__inner {
    margin: 0 8px 8px;
  }

  .qem-public-profile-page .qem-public-profile-card {
    padding-bottom: 22px;
  }

  .qem-public-profile-deals .qem-location-deal-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 380px) {
  .qem-product-detail .single_title {
    font-size: 23px;
  }

  .qem-product-detail .price {
    font-size: 34px;
  }

  .qem-product-detail .buybtn,
  .qem-product-action-button {
    min-height: 48px;
    font-size: 15px;
  }

  .qem-sticky-product-bar__actions {
    grid-template-columns: 1fr;
  }
}

.qem-checkout,
.qem-utility-page {
  padding-top: 44px;
  padding-bottom: 56px;
}

.qem-cart-list {
  display: grid;
  gap: 16px;
}

.qem-seller-group-preview {
  display: grid;
  gap: 14px;
}

.qem-seller-group-preview__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius);
  background: var(--qem-soft);
}

.qem-seller-group-preview__head h2 {
  margin: 2px 0 0;
  color: var(--qem-ink);
  font-size: 20px;
  line-height: 1.25;
  font-weight: 850;
  letter-spacing: 0;
}

.qem-seller-group-preview__totals {
  display: grid;
  gap: 4px;
  justify-items: end;
  color: var(--qem-muted);
  font-size: 13px;
  line-height: 1.3;
  font-weight: 750;
}

.qem-seller-group-preview__totals strong {
  color: var(--qem-ink);
  font-size: 17px;
  font-weight: 850;
}

.qem-cart-item {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) 220px;
  gap: 20px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius);
  background: var(--qem-surface);
  box-shadow: var(--qem-shadow-sm);
}

.qem-cart-item__media {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--qem-radius-sm);
  background: var(--qem-soft);
}

.qem-cart-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qem-cart-item__body h2 {
  margin: 0 0 8px;
  color: var(--qem-ink);
  font-size: 20px;
  line-height: 1.25;
  font-weight: 850;
  letter-spacing: 0;
}

.qem-cart-item__body h2 a {
  color: inherit;
  text-decoration: none;
}

.qem-cart-item__body p {
  margin: 5px 0 0;
  color: var(--qem-muted);
  font-size: 14px;
  line-height: 1.45;
}

.qem-cart-item__warning {
  color: #b42318 !important;
  font-weight: 700;
}

.qem-cart-item__actions {
  display: grid;
  gap: 10px;
}

.qem-cart-quantity-form {
  display: grid;
  gap: 8px;
}

.qem-cart-quantity-form label {
  color: var(--qem-muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}

.qem-cart-quantity-form input {
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius-sm);
  color: var(--qem-ink);
  font-size: 15px;
  line-height: 1.35;
}

.qem-checkout__grid,
.qem-lookup-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
}

.qem-lookup-grid {
  grid-template-columns: 340px minmax(0, 1fr);
}

.qem-order-lookup .qem-lookup-grid {
  grid-template-columns: 1fr;
}

.qem-order-lookup-form-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: stretch;
  margin-bottom: 24px;
}

.qem-order-lookup-form-card__intro {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.qem-order-lookup-form-card__intro .qem-form-section-title,
.qem-order-lookup-form-card__intro .qem-summary-note {
  margin: 0;
  max-width: 420px;
  text-align: right;
}

.qem-order-lookup-form-card__body {
  display: grid;
  gap: 14px;
}

.qem-order-lookup-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 220px;
  gap: 18px;
  align-items: start;
}

.qem-order-lookup-form .qem-button {
  min-height: 46px;
  margin-top: 24px;
  white-space: nowrap;
  width: 100%;
}

.qem-order-lookup-form .qem-field input {
  box-sizing: border-box;
  padding-right: 52px;
}

@media (max-width: 900px) {
  .qem-order-lookup-form-card__intro {
    display: grid;
  }

  .qem-order-lookup-form-card__intro .qem-summary-note {
    max-width: none;
    text-align: left;
  }

  .qem-order-lookup-form {
    grid-template-columns: 1fr;
  }

  .qem-order-lookup-form .qem-button {
    margin-top: 0;
    width: 100%;
  }
}

.qem-checkout-panel,
.qem-summary-card,
.qem-status-card,
.qem-order-card {
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius);
  background: var(--qem-surface);
  box-shadow: var(--qem-shadow-sm);
}

.qem-checkout-panel,
.qem-order-card {
  padding: 28px;
}

.qem-summary-card {
  position: sticky;
  top: 24px;
  padding: 24px;
}

.qem-checkout-heading,
.qem-utility-heading {
  margin-bottom: 24px;
}

.qem-checkout-heading h1,
.qem-utility-heading h1,
.qem-status-card h1 {
  margin: 0;
  color: var(--qem-ink);
  font-size: 34px;
  line-height: 1.15;
  font-weight: 850;
  letter-spacing: 0;
}

.qem-checkout-heading p:not(.qem-eyebrow),
.qem-utility-heading p:not(.qem-eyebrow),
.qem-status-card p,
.qem-empty-card p {
  margin: 8px 0 0;
  color: var(--qem-muted);
  font-size: 15px;
  line-height: 1.55;
}

.qem-utility-heading--compact {
  margin-bottom: 18px;
}

.qem-utility-heading--compact h1 {
  font-size: 26px;
}

.qem-checkout-item {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid var(--qem-line);
  border-bottom: 1px solid var(--qem-line);
}

.qem-checkout-item__media {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius-sm);
  background: #ffffff;
  overflow: hidden;
}

.qem-checkout-item__media img {
  width: 100%;
  height: 100%;
  padding: 10px;
  object-fit: contain;
}

.qem-checkout-item__body h2,
.qem-order-card h2 {
  margin: 0;
  color: var(--qem-ink);
  font-size: 22px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: 0;
}

.qem-checkout-item__text,
.qem-checkout-item__meta {
  margin: 8px 0 0;
  color: var(--qem-muted);
  font-size: 14px;
  line-height: 1.5;
}

.qem-checkout-item__meta {
  color: var(--qem-ink);
}

.qem-alert {
  margin: 22px 0;
  padding: 16px 18px;
  border-radius: var(--qem-radius-sm);
  border: 1px solid transparent;
}

.qem-alert p,
.qem-alert ul {
  margin: 0;
}

.qem-alert ul {
  padding-left: 20px;
}

.qem-alert--info {
  border-color: rgba(37, 99, 235, .18);
  background: rgba(37, 99, 235, .08);
  color: #1d4ed8;
}

.qem-alert--danger {
  border-color: rgba(225, 29, 72, .22);
  background: rgba(225, 29, 72, .08);
  color: var(--qem-danger);
}

.qem-alert--success {
  border-color: rgba(22, 163, 74, .22);
  background: rgba(22, 163, 74, .08);
  color: var(--qem-success);
}

.qem-alert--compact {
  margin: 10px 0 0;
  padding: 10px 12px;
}

.qem-preorder-terms {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(37, 99, 235, .18);
  border-radius: var(--qem-radius-sm);
  background: rgba(37, 99, 235, .08);
  color: #1e3a8a;
}

.qem-preorder-terms p {
  margin: 0;
}

.qem-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  font-weight: 700;
}

.qem-checkbox-row input {
  width: auto;
  margin-top: 4px;
}

.qem-alert--checkout ul {
  margin-top: 10px;
}

.qem-alert--warning {
  border-color: rgba(249, 115, 22, .22);
  background: rgba(249, 115, 22, .10);
  color: #9a3412;
}

.qem-contact-spacer {
  height: 42px;
}

.qem-contact-page {
  padding: 34px 0 54px;
  background: var(--qem-page);
}

.qem-contact-shell,
.qem-contact-content {
  max-width: 860px;
  margin: 0 auto;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius-sm);
  background: var(--qem-surface);
  box-shadow: var(--qem-shadow-soft);
}

.qem-contact-shell {
  padding: 28px;
}

.qem-contact-content {
  margin-top: 18px;
  padding: 24px 28px;
  color: var(--qem-muted);
  line-height: 1.65;
}

.qem-contact-heading {
  max-width: 620px;
  margin-bottom: 24px;
}

.qem-contact-heading h1 {
  margin: 0 0 8px;
  color: var(--qem-ink);
  font-size: 30px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0;
}

.qem-contact-heading p {
  margin: 0;
  color: var(--qem-muted);
  font-size: 15px;
  line-height: 1.6;
}

.qem-contact-alert {
  margin-bottom: 18px;
}

.qem-contact-alert .ti {
  margin-right: 6px;
}

.qem-contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.qem-contact-field {
  position: relative;
  min-width: 0;
}

.qem-contact-field--full {
  grid-column: 1 / -1;
}

.qem-contact-field__icon {
  position: absolute;
  top: 50%;
  left: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: var(--qem-muted);
  transform: translateY(-50%);
  pointer-events: none;
}

.qem-contact-control {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px 12px 46px;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius-sm);
  background: var(--qem-surface);
  color: var(--qem-ink);
  font: inherit;
  font-size: 15px;
  line-height: 1.4;
  box-shadow: none;
}

.qem-contact-control--textarea {
  min-height: 122px;
  padding-left: 14px;
  resize: vertical;
}

.qem-contact-control:focus {
  border-color: var(--qem-ink);
  outline: none;
  box-shadow: 0 0 0 3px rgba(17, 24, 39, .10);
}

.qem-contact-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 2px 0 0;
  color: var(--qem-muted);
  font-size: 14px;
  line-height: 1.55;
}

.qem-contact-consent a {
  color: var(--qem-ink);
  text-decoration: none;
}

.qem-contact-consent a:hover,
.qem-contact-consent a:focus {
  text-decoration: underline;
}

.qem-contact-actions {
  display: flex;
  justify-content: flex-start;
  padding-top: 4px;
}

.qem-contact-actions .qem-button {
  min-width: 190px;
}

.qem-feedback-page {
  padding: 34px 0 54px;
  background: var(--qem-page);
}

.qem-feedback-page__layout {
  display: grid;
  grid-template-columns: minmax(220px, .45fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.qem-feedback-page__intro,
.qem-feedback-page__panel {
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius-sm);
  background: var(--qem-surface);
  box-shadow: var(--qem-shadow-soft);
}

.qem-feedback-page__intro {
  padding: 24px;
}

.qem-feedback-page__intro h2,
.qem-feedback-modal__title {
  margin: 0 0 8px;
  color: var(--qem-ink);
  font-size: 22px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: 0;
}

.qem-feedback-page__intro p,
.qem-feedback-modal__header p,
.qem-feedback-modal__note {
  margin: 0;
  color: var(--qem-muted);
  font-size: 14px;
  line-height: 1.55;
}

.qem-feedback-page__intro ul {
  margin: 18px 0 0;
  padding-left: 19px;
  color: var(--qem-muted);
  font-size: 14px;
  line-height: 1.6;
}

.qem-feedback-page__intro li + li {
  margin-top: 8px;
}

.qem-feedback-page__panel {
  padding: 24px;
}

.qem-feedback-page__panel .qem-alert {
  margin-bottom: 16px;
}

.qem-review-preferences-page {
  background: var(--qem-bg);
}

.qem-review-preferences-page .qem-container {
  padding-top: 38px;
  padding-bottom: 56px;
}

.qem-review-preferences-back {
  margin-bottom: 18px;
}

.qem-review-preferences-back a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--qem-muted);
  font-size: 14px;
  font-weight: 760;
  text-decoration: none;
}

.qem-review-preferences-back a:hover,
.qem-review-preferences-back a:focus {
  color: var(--qem-brand);
  text-decoration: none;
}

.qem-review-preferences-layout {
  display: grid;
  grid-template-columns: minmax(240px, 340px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.qem-review-preferences-summary,
.qem-review-preferences-panel {
  box-sizing: border-box;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius-sm);
  background: #ffffff;
  box-shadow: var(--qem-shadow-sm);
}

.qem-review-preferences-summary {
  padding: 24px;
}

.qem-review-preferences-summary p:first-child,
.qem-review-preferences-panel__header p {
  margin: 0 0 6px;
  color: var(--qem-muted);
  font-size: 13px;
  line-height: 1.3;
  font-weight: 800;
}

.qem-review-preferences-summary h1,
.qem-review-preferences-panel h2 {
  margin: 0;
  color: var(--qem-ink);
  font-size: 26px;
  line-height: 1.2;
  font-weight: 830;
  letter-spacing: 0;
}

.qem-review-preferences-summary p:last-child,
.qem-review-preferences-panel > p,
.qem-review-preferences-muted {
  margin: 12px 0 0;
  color: var(--qem-muted);
  font-size: 15px;
  line-height: 1.55;
}

.qem-review-preferences-panel {
  padding: 26px;
}

.qem-review-preferences-panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.qem-review-preferences-panel hr {
  margin: 22px 0;
  border: 0;
  border-top: 1px solid var(--qem-line);
}

.qem-review-preferences-form {
  margin-top: 22px;
}

.qem-feedback-tab {
  position: fixed;
  right: -38px;
  bottom: 92px;
  z-index: 980;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 6px 6px 0 0;
  background: #111827;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .22);
  transform: rotate(-90deg);
  transform-origin: center;
}

.qem-feedback-tab:hover,
.qem-feedback-tab:focus {
  background: #2563eb;
  color: #fff;
  outline: none;
}

.qem-feedback-modal[hidden] {
  display: none;
}

.qem-feedback-modal {
  position: fixed;
  inset: 0;
  z-index: 1080;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.qem-feedback-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(15, 23, 42, .55);
  cursor: pointer;
}

.qem-feedback-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 680px);
  max-height: calc(100vh - 44px);
  overflow: auto;
  border-radius: var(--qem-radius-sm);
  background: var(--qem-surface);
  box-shadow: 0 24px 70px rgba(15, 23, 42, .28);
}

.qem-feedback-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--qem-line);
  border-radius: 50%;
  background: var(--qem-surface);
  color: var(--qem-muted);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.qem-feedback-modal__close:hover,
.qem-feedback-modal__close:focus {
  color: var(--qem-ink);
  outline: none;
  box-shadow: 0 0 0 3px rgba(17, 24, 39, .10);
}

.qem-feedback-modal__header,
.qem-feedback-modal__body {
  padding: 22px 28px;
}

.qem-feedback-modal__header {
  padding-right: 62px;
  border-bottom: 1px solid var(--qem-line);
}

.qem-feedback-modal__body {
  padding-bottom: 28px;
}

.qem-feedback-result {
  display: none;
  margin-bottom: 16px;
}

.qem-feedback-modal__note {
  margin-top: 16px;
}

.qem-feedback-modal__note a {
  color: var(--qem-ink);
  font-weight: 700;
  text-decoration: none;
}

.qem-feedback-modal__note a:hover,
.qem-feedback-modal__note a:focus {
  text-decoration: underline;
}

.qem-feedback-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.qem-feedback-form__field {
  min-width: 0;
}

.qem-feedback-form__field--full {
  grid-column: 1 / -1;
}

.qem-feedback-form__label {
  display: block;
  margin-bottom: 6px;
  color: var(--qem-ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.qem-feedback-form__required {
  color: #dc2626;
}

.qem-feedback-form__control {
  box-sizing: border-box;
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius-sm);
  background: var(--qem-surface);
  color: var(--qem-ink);
  font: inherit;
  font-size: 14px;
  line-height: 1.4;
  box-shadow: none;
}

.qem-feedback-form__select {
  appearance: auto;
}

.qem-feedback-form__textarea {
  min-height: 126px;
  resize: vertical;
}

.qem-feedback-form__file {
  padding-top: 9px;
}

.qem-feedback-form__control:focus {
  border-color: var(--qem-ink);
  outline: none;
  box-shadow: 0 0 0 3px rgba(17, 24, 39, .10);
}

.qem-feedback-form__hint {
  margin: 7px 0 0;
  color: var(--qem-muted);
  font-size: 12px;
  line-height: 1.45;
}

.qem-hidden {
  display: none !important;
}

.qem-feedback-modal-open {
  overflow: hidden;
}

.cc-window {
  box-sizing: border-box;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.cc-window.cc-banner.cc-bottom {
  left: 50%;
  right: auto;
  bottom: 16px;
  width: min(1120px, calc(100vw - 32px));
  padding: 12px 14px 12px 16px;
  transform: translateX(-50%);
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.98);
  color: var(--qem-ink);
  border: 1px solid var(--qem-line);
  border-radius: 4px;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.10);
}

.cc-window .cc-message {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--qem-muted);
  font-size: 13px;
  line-height: 1.45;
}

.cc-window .cc-link {
  padding: 0 1px;
  color: #2563eb;
  font-weight: 500;
  text-decoration: none;
  opacity: 1;
}

.cc-window .cc-link:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.cc-window .cc-link:focus-visible,
.cc-window .cc-btn:focus-visible {
  outline: 2px solid rgba(37, 99, 235, 0.34);
  outline-offset: 2px;
}

.cc-window .cc-compliance {
  min-width: 0;
  flex: 0 0 auto;
}

.cc-window .cc-btn {
  box-sizing: border-box;
  min-width: 86px;
  min-height: 36px;
  padding: 8px 13px;
  border: 1px solid #2563eb;
  border-radius: 3px;
  background: #2563eb;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

.cc-window .cc-btn:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
  text-decoration: none;
}

.qem-checkout-form {
  margin-top: 24px;
}

.qem-checkout-section {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--qem-line);
}

.qem-checkout-section:first-of-type {
  margin-top: 0;
}

.qem-checkout-section--last {
  padding-bottom: 2px;
}

.qem-checkout-section__head {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin-bottom: 14px;
}

.qem-checkout-section__step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--qem-surface-soft);
  color: var(--qem-ink);
  font-size: 14px;
  font-weight: 900;
}

.qem-checkout-section__head p {
  margin: 5px 0 0;
  color: var(--qem-muted);
  font-size: 13px;
  line-height: 1.45;
}

.qem-form-section-title {
  margin: 28px 0 14px;
  color: var(--qem-ink);
  font-size: 18px;
  line-height: 1.25;
  font-weight: 850;
  letter-spacing: 0;
}

.qem-checkout-section .qem-form-section-title {
  margin: 0;
}

.qem-payment-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.qem-payment-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 66px;
  padding: 12px 14px;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius-sm);
  background: #ffffff;
  color: var(--qem-ink);
  font-weight: 700;
  cursor: pointer;
}

.qem-payment-option:has(input:checked) {
  border-color: var(--qem-brand);
  background: var(--qem-surface-soft);
  box-shadow: 0 0 0 2px rgba(29, 36, 51, .08);
}

.qem-payment-option input {
  width: 16px;
  height: 16px;
  margin: 3px 0 0;
}

.qem-payment-option span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.qem-payment-option small {
  color: var(--qem-muted);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 600;
}

.qem-shipping-options {
  display: grid;
  gap: 12px;
}

.qem-shipping-option {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius-sm);
  background: #ffffff;
  color: var(--qem-ink);
  cursor: pointer;
}

.qem-shipping-option:has(input:checked) {
  border-color: var(--qem-brand);
  background: var(--qem-surface-soft);
  box-shadow: 0 0 0 2px rgba(29, 36, 51, .08);
}

.qem-shipping-option input {
  width: 16px;
  height: 16px;
  margin: 3px 0 0;
}

.qem-shipping-option__body,
.qem-shipping-option__top,
.qem-shipping-option__meta {
  min-width: 0;
}

.qem-shipping-option__top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--qem-ink);
  font-size: 15px;
  line-height: 1.35;
}

.qem-shipping-option__top strong {
  font-weight: 850;
}

.qem-shipping-option__top span {
  font-weight: 850;
  white-space: nowrap;
}

.qem-shipping-option__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
  color: var(--qem-muted);
  font-size: 13px;
  line-height: 1.35;
}

.qem-shipping-option__meta em {
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(22, 163, 74, .12);
  color: var(--qem-success);
  font-style: normal;
  font-weight: 850;
}

.qem-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.qem-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 0;
}

.qem-field--full {
  grid-column: 1 / -1;
}

.qem-field--flush {
  margin-top: 0;
}

.qem-field label {
  color: var(--qem-ink);
  font-size: 13px;
  line-height: 1.3;
  font-weight: 800;
}

.qem-field label span {
  color: var(--qem-danger);
}

.qem-field input,
.qem-field select,
.qem-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #d0d5dd;
  border-radius: var(--qem-radius-sm);
  background: #ffffff;
  color: var(--qem-ink);
  font-size: 15px;
  line-height: 1.4;
  box-shadow: none;
}

.qem-field textarea {
  min-height: 104px;
  resize: vertical;
}

.qem-field input:focus,
.qem-field select:focus,
.qem-field textarea:focus {
  outline: 2px solid rgba(255, 196, 0, .34);
  border-color: var(--qem-brand);
}

.qem-field.has-error input,
.qem-field.has-error select,
.qem-field.has-error textarea {
  border-color: var(--qem-danger);
  outline: 2px solid rgba(220, 38, 38, .14);
}

.qem-field-error {
  color: var(--qem-danger);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 700;
}

.qem-field-error:empty {
  display: none;
}

.qem-checkout-save-address {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid rgba(37, 99, 235, .16);
  border-radius: var(--qem-radius-sm);
  background: rgba(37, 99, 235, .06);
}

.qem-save-address-options {
  margin-top: 12px;
}

.qem-field--checkbox {
  justify-content: end;
}

.qem-field__hint,
.qem-summary-note {
  margin: 8px 0 0;
  color: var(--qem-muted);
  font-size: 13px;
  line-height: 1.45;
}

.qem-checkout-actions {
  margin-top: 24px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.qem-checkout .qem-checkout-disclaimer {
  margin: 8px 0 0;
  max-width: 100%;
  color: #6B7280;
  font-size: 12px;
  font-style: italic;
  line-height: 1.5;
  text-align: right;
  overflow-wrap: anywhere;
}

.qem-button--full {
  width: 100%;
}

.qem-button--small {
  min-height: 34px;
  padding: 7px 12px;
  font-size: 13px;
}

.qem-summary-card h3 {
  margin: 0;
  color: var(--qem-ink);
  font-size: 22px;
  font-weight: 850;
}

.qem-summary-card__head {
  margin-bottom: 18px;
}

.qem-summary-card__head p {
  margin: 5px 0 0;
  color: var(--qem-muted);
  font-size: 13px;
  line-height: 1.45;
}

.qem-summary-seller-groups {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.qem-summary-seller-group {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius-sm);
  color: var(--qem-muted);
  font-size: 13px;
  line-height: 1.35;
}

.qem-summary-seller-group strong {
  color: var(--qem-ink);
  white-space: nowrap;
}

.qem-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-top: 1px solid var(--qem-line);
  color: var(--qem-muted);
  font-size: 14px;
}

.qem-summary-row strong {
  color: var(--qem-ink);
  font-weight: 850;
  text-align: right;
}

.qem-summary-row--total {
  margin-top: 8px;
  padding-top: 18px;
  color: var(--qem-ink);
  font-size: 16px;
}

.qem-status-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 44px 32px;
  text-align: center;
}

.qem-status-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 50%;
  font-size: 24px;
  font-weight: 900;
}

.qem-status-card__icon--success {
  background: rgba(22, 163, 74, .12);
  color: var(--qem-success);
}

.qem-status-card__icon--pending {
  background: rgba(249, 115, 22, .14);
  color: var(--qem-warning);
}

.qem-status-card__note {
  margin-top: 22px;
}

.qem-status-list {
  max-width: 560px;
  margin: 28px auto 0;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius-sm);
  overflow: hidden;
  text-align: left;
}

.qem-status-list--compact {
  max-width: none;
  margin-top: 14px;
}

.qem-status-list__row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 16px;
  border-top: 1px solid var(--qem-line);
  color: var(--qem-muted);
  font-size: 14px;
}

.qem-status-list__row:first-child {
  border-top: 0;
}

.qem-status-list__row strong {
  color: var(--qem-ink);
  font-weight: 850;
}

.qem-status-list__row span {
  text-align: right;
  overflow-wrap: anywhere;
}

.qem-status-list__row--total {
  background: var(--qem-surface-soft);
  color: var(--qem-ink);
}

.qem-order-card {
  margin-bottom: 18px;
}

.qem-order-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.qem-order-card__header p {
  margin: 6px 0 0;
  color: var(--qem-muted);
  font-size: 13px;
}

.qem-order-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  border-top: 1px solid var(--qem-line);
  padding-top: 18px;
}

.qem-order-summary-grid > div {
  padding: 14px;
  border-radius: var(--qem-radius-sm);
  background: var(--qem-surface-soft);
}

.qem-order-summary-grid span {
  display: block;
  color: var(--qem-muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.qem-order-summary-grid strong {
  display: block;
  margin-top: 6px;
  color: var(--qem-ink);
  font-size: 16px;
  font-weight: 850;
}

.qem-table-wrap {
  overflow-x: auto;
}

.qem-table {
  width: 100%;
  border-collapse: collapse;
  color: var(--qem-ink);
  font-size: 14px;
}

.qem-table th,
.qem-table td {
  padding: 14px 12px;
  border-top: 1px solid var(--qem-line);
  vertical-align: top;
}

.qem-table th {
  color: var(--qem-muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.qem-table__center {
  text-align: center;
}

.qem-table__right {
  text-align: right;
}

.qem-table__meta {
  margin-top: 4px;
  color: var(--qem-muted);
  font-size: 12px;
  line-height: 1.4;
}

.qem-ui-account-section-title {
  margin: 0 0 14px;
  color: #141821;
  font-size: 18px;
  font-weight: 750;
  line-height: 1.3;
}

.qem-account-page-title {
  border-bottom: 1px solid #e5eaf1;
  background: #fff;
}

.qem-account-page-title,
.qem-account-page-title *,
.qem-account-shell,
.qem-account-shell * {
  box-sizing: border-box;
}

.qem-account-container {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 0 16px;
}

.qem-account-page-title .qem-account-container {
  padding-top: 28px;
  padding-bottom: 18px;
}

.qem-account-page-title p {
  margin: 0 0 4px;
  color: #667085;
  font-size: 13px;
  font-weight: 650;
}

.qem-account-page-title h1 {
  margin: 0;
  color: #111827;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.25;
}

.qem-account-shell {
  background: #f8fafc;
  color: #111827;
  padding: 28px 0 44px;
}

.qem-account-layout {
  display: grid;
  gap: 24px;
}

.qem-account-sidebar,
.qem-account-profile-card,
.qem-account-recent-orders,
.qem-account-stat-card {
  border: 1px solid #e5eaf1;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .06);
}

.qem-account-sidebar {
  min-width: 0;
  padding: 18px 16px;
}

.qem-account-sidebar__profile {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid #edf1f6;
}

.qem-account-sidebar__profile strong,
.qem-account-sidebar__profile span {
  display: block;
  overflow-wrap: anywhere;
}

.qem-account-sidebar__profile strong {
  color: #111827;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
}

.qem-account-sidebar__profile span {
  color: #667085;
  font-size: 13px;
  line-height: 1.35;
}

.qem-account-sidebar__avatar-link {
  position: relative;
  display: inline-flex;
  width: 54px;
  height: 54px;
  color: #111827;
  text-decoration: none;
}

.qem-account-sidebar__avatar {
  width: 54px;
  height: 54px;
  border: 1px solid #e5eaf1;
  border-radius: 999px;
  background: #f2f4f7;
  object-fit: cover;
}

.qem-account-sidebar__avatar-link > span {
  position: absolute;
  right: -2px;
  bottom: -2px;
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  border: 1px solid #d7e0ec;
  border-radius: 999px;
  background: #fff;
  color: #344054;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .08);
}

.qem-account-sidebar__avatar-link > span .qem-account-icon {
  width: 14px;
  height: 14px;
}

.qem-account-nav {
  display: grid;
  gap: 9px;
  padding-top: 14px;
}

.qem-account-nav ul {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.qem-account-nav li {
  margin: 0;
}

.qem-account-nav__group {
  margin: 0 0 -3px;
  color: #8a94a6;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.3;
}

.qem-account-nav__link {
  display: flex;
  min-height: 36px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-radius: 6px;
  color: #5f6877;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  padding: 7px 10px;
  text-decoration: none;
  transition: background-color .16s, color .16s;
}

.qem-account-nav__label {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.qem-account-icon {
  flex: none;
  width: 17px;
  height: 17px;
  color: #98a2b3;
}

.qem-account-nav__link:hover .qem-account-icon,
.qem-account-nav__link:focus-visible .qem-account-icon,
.qem-account-nav__link--active .qem-account-icon {
  color: #475467;
}

.qem-account-nav__link:hover,
.qem-account-nav__link:focus-visible,
.qem-account-nav__link--active {
  background: #f2f4f7;
  color: #111827;
  outline: none;
  text-decoration: none;
}

.qem-account-badge {
  display: inline-flex;
  min-width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5eaf1;
  border-radius: 999px;
  background: #fff;
  color: #475467;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  padding: 0 7px;
}

.qem-account-signout {
  margin-top: 2px;
  padding: 9px 10px;
  color: #b42338;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.qem-account-signout:hover,
.qem-account-signout:focus-visible {
  color: #912018;
  text-decoration: underline;
  outline: none;
}

.qem-account-main {
  min-width: 0;
}

.qem-account-overview {
  display: grid;
  gap: 18px;
  min-width: 0;
  max-width: 100%;
}

.qem-account-overview > * {
  min-width: 0;
  max-width: 100%;
}

.qem-account-overview__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.qem-account-overview__heading h2,
.qem-account-card-heading h2 {
  margin: 0;
  color: #111827;
  font-size: 22px;
  font-weight: 850;
  line-height: 1.25;
}

.qem-account-overview__heading p {
  margin: 4px 0 0;
  color: #667085;
  font-size: 15px;
  line-height: 1.45;
}

.qem-account-stat-grid {
  display: grid;
  gap: 14px;
}

.qem-account-stat-card {
  min-width: 0;
  padding: 18px 20px;
}

.qem-account-stat-card p,
.qem-account-stat-card > span {
  margin: 0;
  color: #5f6d83;
  font-size: 14px;
  line-height: 1.4;
}

.qem-account-stat-card p {
  font-size: 14px;
  font-weight: 800;
}

.qem-account-stat-card strong {
  display: block;
  margin: 16px 0 0;
  color: #07111f;
  font-size: 32px;
  font-weight: 850;
  line-height: 1;
}

.qem-account-stat-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: #52637a;
  font-size: 14px;
  line-height: 1.4;
}

.qem-account-stat-card__meta b {
  color: #111827;
  font-weight: 850;
}

.qem-account-profile-card,
.qem-account-recent-orders {
  padding: 20px;
}

.qem-account-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid #edf1f6;
}

.qem-account-card-heading a {
  color: #475467;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.qem-account-card-heading a:hover,
.qem-account-card-heading a:focus-visible {
  color: #111827;
  text-decoration: underline;
  outline: none;
}

.qem-account-profile-card__body {
  display: grid;
  gap: 16px;
  padding-top: 18px;
}

.qem-account-profile-card__avatar {
  width: 74px;
  height: 74px;
  border: 1px solid #e5eaf1;
  border-radius: 8px;
  background: #f2f4f7;
  object-fit: cover;
}

.qem-account-profile-fields {
  display: grid;
  gap: 16px;
}

.qem-account-profile-fields div {
  min-width: 0;
}

.qem-account-profile-fields span {
  display: block;
  margin-bottom: 5px;
  color: #667085;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
}

.qem-account-profile-fields strong {
  display: block;
  overflow-wrap: anywhere;
  color: #111827;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.qem-account-orders-preview {
  min-width: 680px;
}

.qem-account-empty-state {
  margin-top: 16px;
  border: 1px dashed #d7e0ec;
  border-radius: 8px;
  background: #fbfcfe;
  padding: 24px;
  text-align: center;
}

.qem-account-empty-state h3 {
  margin: 0 0 6px;
  color: #111827;
  font-size: 17px;
  font-weight: 800;
}

.qem-account-empty-state p {
  margin: 0;
  color: #667085;
  font-size: 14px;
}

.qem-edit-profile-page-head,
.qem-edit-profile-page-head *,
.qem-edit-profile-panel,
.qem-edit-profile-panel * {
  box-sizing: border-box;
}

.qem-edit-profile-page-head {
  margin-bottom: 16px;
}

.qem-edit-profile-page-head p {
  margin: 0 0 4px;
  color: #667085;
  font-size: 13px;
  font-weight: 700;
}

.qem-edit-profile-page-head h1 {
  margin: 0;
  color: #111827;
  font-size: 24px;
  font-weight: 850;
  line-height: 1.25;
}

.qem-edit-profile-panel {
  border: 1px solid #e5eaf1;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .06);
  padding: 20px;
}

.qem-edit-profile-form {
  display: grid;
  gap: 18px;
  margin: 0;
}

.qem-edit-profile-grid {
  display: grid;
  gap: 16px;
}

.qem-edit-profile-field {
  min-width: 0;
}

.qem-edit-profile-field label {
  display: block;
  margin-bottom: 7px;
  color: #475467;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
}

.qem-edit-profile-input,
.qem-edit-profile-textarea {
  display: block;
  width: 100%;
  border: 1px solid #d7e0ec;
  border-radius: 8px;
  background: #fff;
  color: #111827;
  font: inherit;
  font-size: 15px;
  line-height: 1.45;
  padding: 11px 13px;
}

.qem-edit-profile-textarea {
  min-height: 128px;
  resize: vertical;
}

.qem-edit-profile-input:focus,
.qem-edit-profile-textarea:focus {
  border-color: #8fb3ff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
  outline: none;
}

.qem-edit-profile-help {
  margin: 7px 0 0;
  color: #667085;
  font-size: 13px;
  line-height: 1.45;
}

.qem-edit-profile-help--warning {
  color: #b45309;
}

.qem-edit-profile-avatar-field {
  display: grid;
  justify-items: start;
}

.qem-edit-profile-panel .qem-edit-profile-avatar-upload,
.qem-edit-profile-panel #image-preview.qem-edit-profile-avatar-upload {
  position: relative;
  display: flex;
  width: 156px;
  height: 156px;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #d7e0ec;
  border-radius: 12px;
  background-color: #f2f4f7;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  margin: 0;
}

.qem-edit-profile-panel .qem-edit-profile-avatar-upload label,
.qem-edit-profile-panel #image-preview.qem-edit-profile-avatar-upload label {
  display: inline-flex;
  width: 100%;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  margin: 0;
  background: rgba(17, 24, 39, .78);
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  position: static;
  height: auto;
  opacity: 1;
  text-transform: none;
  top: auto;
  left: auto;
  right: auto;
  bottom: auto;
}

.qem-edit-profile-panel .qem-edit-profile-avatar-upload input,
.qem-edit-profile-panel #image-preview.qem-edit-profile-avatar-upload input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  font-size: 1px;
  line-height: 1;
}

.qem-edit-profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid #edf1f6;
  padding-top: 18px;
}

.qem-edit-profile-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  padding: 10px 16px;
  text-decoration: none;
}

.qem-edit-profile-button--primary {
  border-color: #111827;
  background: #111827;
  color: #fff;
}

.qem-edit-profile-button--secondary {
  border-color: #d7e0ec;
  background: #fff;
  color: #475467;
}

.qem-edit-profile-button:hover,
.qem-edit-profile-button:focus-visible {
  border-color: #111827;
  color: #111827;
  outline: none;
}

.qem-edit-profile-button--primary:hover,
.qem-edit-profile-button--primary:focus-visible {
  background: #253044;
  color: #fff;
}

.qem-edit-profile-panel #showresults:empty {
  display: none;
}

.qem-edit-profile-panel #showresults:not(:empty) {
  margin-top: 4px;
}

.qem-profile-notice {
  border: 1px solid #d7e0ec;
  border-radius: 8px;
  color: #475467;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  margin-top: 4px;
  padding: 11px 13px;
}

.qem-profile-notice--success {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #166534;
}

.qem-profile-notice--error {
  border-color: #fecaca;
  background: #fef2f2;
  color: #991b1b;
}

.qem-profile-note {
  margin: 12px 0 0;
  color: var(--qem-muted);
  font-size: 14px;
  line-height: 1.5;
}

.qem-security-page-head,
.qem-security-page-head *,
.qem-security-panel,
.qem-security-panel * {
  box-sizing: border-box;
}

.qem-security-page-head {
  margin-bottom: 16px;
}

.qem-security-page-head p {
  margin: 0 0 4px;
  color: #667085;
  font-size: 13px;
  font-weight: 700;
}

.qem-security-page-head h1 {
  margin: 0;
  color: #111827;
  font-size: 24px;
  font-weight: 850;
  line-height: 1.25;
}

.qem-security-panel {
  border: 1px solid #e5eaf1;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .06);
  margin-bottom: 16px;
  padding: 20px;
}

.qem-security-panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #edf1f6;
  padding-bottom: 16px;
}

.qem-security-panel__header h2 {
  margin: 0;
  color: #111827;
  font-size: 22px;
  font-weight: 850;
  line-height: 1.25;
  letter-spacing: 0;
}

.qem-security-panel__header p {
  max-width: 720px;
  margin: 6px 0 0;
  color: #667085;
  font-size: 14px;
  line-height: 1.5;
}

.qem-security-status {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border: 1px solid #d7e0ec;
  border-radius: 999px;
  background: #f8fafc;
  color: #475467;
  font-size: 12px;
  font-weight: 800;
  padding: 0 10px;
  white-space: nowrap;
}

.qem-security-form-wrap {
  padding-top: 18px;
}

.qem-security-form {
  display: grid;
  gap: 18px;
  margin: 0;
}

.qem-security-password-grid {
  display: grid;
  gap: 16px;
}

.qem-security-field {
  min-width: 0;
}

.qem-security-field label {
  display: block;
  margin-bottom: 7px;
  color: #475467;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
}

.qem-security-input {
  display: block;
  width: 100%;
  border: 1px solid #d7e0ec;
  border-radius: 8px;
  background: #fff;
  color: #111827;
  font: inherit;
  font-size: 15px;
  line-height: 1.45;
  padding: 11px 13px;
}

.qem-security-input:focus {
  border-color: #8fb3ff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
  outline: none;
}

.qem-security-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid #edf1f6;
  padding-top: 18px;
}

.qem-security-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  padding: 10px 16px;
  text-decoration: none;
}

.qem-security-button--primary {
  border-color: #111827;
  background: #111827;
  color: #fff;
}

.qem-security-button:hover,
.qem-security-button:focus-visible {
  border-color: #111827;
  outline: none;
}

.qem-security-button--primary:hover,
.qem-security-button--primary:focus-visible {
  background: #253044;
  color: #fff;
}

.qem-security-panel #showresults:empty {
  display: none;
}

.qem-security-panel #showresults:not(:empty) {
  margin-top: 4px;
}

.qem-security-placeholder-grid {
  display: grid;
  gap: 14px;
  padding-top: 18px;
}

.qem-security-placeholder-card {
  border: 1px solid #edf1f6;
  border-radius: 8px;
  background: #fbfcfe;
  padding: 16px;
}

.qem-security-placeholder-card h3 {
  margin: 0 0 6px;
  color: #111827;
  font-size: 16px;
  font-weight: 850;
  line-height: 1.3;
  letter-spacing: 0;
}

.qem-security-placeholder-card p {
  margin: 0;
  color: #667085;
  font-size: 14px;
  line-height: 1.5;
}

.qem-message-page-head,
.qem-message-page-head *,
.qem-message-panel,
.qem-message-panel * {
  box-sizing: border-box;
}

.qem-message-page-head {
  margin-bottom: 16px;
}

.qem-message-page-head p {
  margin: 0 0 4px;
  color: #667085;
  font-size: 13px;
  font-weight: 700;
}

.qem-message-page-head h1 {
  margin: 0;
  color: #111827;
  font-size: 24px;
  font-weight: 850;
  line-height: 1.25;
}

.qem-message-alert,
.qem-message-panel {
  border: 1px solid #e5eaf1;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .06);
}

.qem-message-alert {
  margin-bottom: 14px;
  padding: 12px 14px;
}

.qem-message-alert p {
  margin: 0;
  color: #344054;
  font-size: 14px;
  line-height: 1.45;
}

.qem-message-alert--success {
  border-color: #b7dfcf;
  background: #effaf5;
}

.qem-message-alert--danger {
  border-color: #f2c7cd;
  background: #fff4f5;
}

.qem-message-alert--warning {
  border-color: #ead9ad;
  background: #fffaf0;
}

.qem-message-alert--info {
  border-color: #c8dbf5;
  background: #f5f9ff;
}

.qem-message-panel {
  padding: 18px;
}

.qem-message-panel h2 {
  margin: 0;
  color: #111827;
  font-size: 20px;
  font-weight: 850;
  line-height: 1.25;
}

.qem-message-panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #edf1f6;
}

.qem-message-panel__header p {
  margin: 5px 0 0;
  color: #667085;
  font-size: 14px;
  line-height: 1.45;
}

.qem-message-badge-row,
.qem-message-link-row,
.qem-message-actions,
.qem-message-tabs,
.qem-message-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.qem-message-badge-row {
  justify-content: flex-end;
}

.qem-message-link-row {
  align-items: center;
  margin-bottom: 12px;
}

.qem-message-link-row a,
.qem-message-row-actions > a,
.qem-message-text-action {
  color: #475467;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  text-decoration: none;
}

.qem-message-link-row a:hover,
.qem-message-link-row a:focus-visible,
.qem-message-row-actions > a:hover,
.qem-message-row-actions > a:focus-visible,
.qem-message-text-action:hover,
.qem-message-text-action:focus-visible {
  color: #111827;
  text-decoration: underline;
  outline: none;
}

.qem-message-actions {
  align-items: center;
  margin-top: 14px;
}

.qem-message-inline-form {
  margin: 0;
}

.qem-message-button {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 8px 14px;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

.qem-message-button--primary {
  border-color: #111827;
  background: #111827;
  color: #fff;
}

.qem-message-button--secondary {
  border-color: #d7e0ec;
  background: #fff;
  color: #475467;
}

.qem-message-button:hover,
.qem-message-button:focus-visible {
  border-color: #111827;
  color: #111827;
  outline: none;
}

.qem-message-button--primary:hover,
.qem-message-button--primary:focus-visible {
  background: #253044;
  color: #fff;
}

.qem-message-thread-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.qem-message-thread-item {
  border: 1px solid #e5eaf1;
  border-radius: 8px;
  background: #fbfcfe;
  padding: 14px;
}

.qem-message-thread-item__meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.qem-message-thread-item__meta strong {
  color: #111827;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.35;
}

.qem-message-thread-item__meta time {
  color: #667085;
  font-size: 12px;
  line-height: 1.4;
  text-align: right;
  white-space: nowrap;
}

.qem-message-thread-item p,
.qem-message-empty {
  margin: 8px 0 0;
  color: #344054;
  font-size: 14px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.qem-message-empty {
  margin-top: 16px;
}

.qem-message-reply-form,
.qem-message-email-preference-form {
  margin-top: 18px;
  border-top: 1px solid #edf1f6;
  padding-top: 18px;
}

.qem-message-field label {
  display: block;
  margin-bottom: 7px;
  color: #475467;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
}

.qem-message-field label span {
  color: #d92d20;
}

.qem-message-textarea {
  display: block;
  width: 100%;
  min-height: 116px;
  border: 1px solid #d7e0ec;
  border-radius: 8px;
  background: #fff;
  color: #111827;
  font: inherit;
  font-size: 15px;
  line-height: 1.5;
  padding: 12px 14px;
  resize: vertical;
}

.qem-message-textarea:focus {
  border-color: #8fb3ff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
  outline: none;
}

.qem-message-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #344054;
  font-size: 14px;
  line-height: 1.45;
}

.qem-message-checkbox input {
  margin-top: 2px;
}

.qem-message-tabs {
  margin: 18px 0 14px;
}

.qem-message-tab {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  border: 1px solid #d7e0ec;
  border-radius: 999px;
  background: #fff;
  color: #475467;
  padding: 7px 13px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

.qem-message-tab:hover,
.qem-message-tab:focus-visible,
.qem-message-tab.is-active {
  border-color: #cfd7e5;
  background: #f2f4f7;
  color: #111827;
  outline: none;
  text-decoration: none;
}

.qem-message-table-wrap {
  overflow-x: auto;
}

.qem-message-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  color: #111827;
  font-size: 14px;
}

.qem-message-table th,
.qem-message-table td {
  padding: 14px 12px;
  border-top: 1px solid #edf1f6;
  text-align: left;
  vertical-align: top;
}

.qem-message-table th {
  color: #667085;
  font-size: 13px;
  font-weight: 800;
}

.qem-message-table__right {
  text-align: right;
}

.qem-message-table__meta {
  margin-top: 4px;
  color: #667085;
  font-size: 12px;
  line-height: 1.4;
}

.qem-message-row-actions {
  justify-content: flex-end;
}

.qem-message-text-action {
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.qem-notification-page-head,
.qem-notification-page-head *,
.qem-notification-panel,
.qem-notification-panel * {
  box-sizing: border-box;
}

.qem-notification-page-head {
  margin-bottom: 16px;
}

.qem-notification-page-head p {
  margin: 0 0 4px;
  color: #667085;
  font-size: 13px;
  font-weight: 700;
}

.qem-notification-page-head h2 {
  margin: 0;
  color: #111827;
  font-size: 24px;
  font-weight: 850;
  line-height: 1.25;
}

.qem-notification-alert,
.qem-notification-empty,
.qem-notification-panel {
  border: 1px solid #e5eaf1;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .06);
}

.qem-notification-alert {
  margin-bottom: 14px;
  padding: 12px 14px;
}

.qem-notification-alert p,
.qem-notification-empty p {
  margin: 0;
  color: #344054;
  font-size: 14px;
  line-height: 1.45;
}

.qem-notification-alert--success {
  border-color: #b7dfcf;
  background: #effaf5;
}

.qem-notification-alert--danger {
  border-color: #f2c7cd;
  background: #fff4f5;
}

.qem-notification-alert--warning {
  border-color: #ead9ad;
  background: #fffaf0;
}

.qem-notification-panel {
  padding: 18px;
}

.qem-notification-toolbar,
.qem-notification-search,
.qem-notification-row__head,
.qem-notification-row__actions {
  display: flex;
  gap: 12px;
}

.qem-notification-toolbar {
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.qem-notification-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.qem-notification-tab {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 8px;
  border: 1px solid #d7e0ec;
  border-radius: 999px;
  background: #fff;
  color: #475467;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

.qem-notification-tab:hover,
.qem-notification-tab:focus-visible,
.qem-notification-tab.is-active {
  border-color: #cfd7e5;
  background: #f2f4f7;
  color: #111827;
  outline: none;
  text-decoration: none;
}

.qem-notification-tab strong {
  color: #667085;
  font-size: 12px;
  font-weight: 850;
}

.qem-notification-inline-form {
  margin: 0;
}

.qem-notification-search {
  align-items: flex-end;
  margin-bottom: 18px;
}

.qem-notification-search__field {
  flex: 1 1 auto;
  min-width: 0;
}

.qem-notification-search label {
  display: block;
  margin-bottom: 6px;
  color: #475467;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
}

.qem-notification-search input {
  display: block;
  width: 100%;
  min-height: 42px;
  border: 1px solid #d7e0ec;
  border-radius: 6px;
  background: #fff;
  color: #111827;
  font: inherit;
  padding: 9px 11px;
}

.qem-notification-search input:focus {
  border-color: #98a2b3;
  outline: none;
  box-shadow: 0 0 0 3px rgba(52, 64, 84, .12);
}

.qem-notification-search__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.qem-notification-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #d7e0ec;
  border-radius: 6px;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  padding: 9px 13px;
  text-align: center;
  text-decoration: none;
}

.qem-notification-button--primary {
  border-color: #1d2433;
  background: #1d2433;
  color: #fff;
}

.qem-notification-button--secondary {
  background: #fff;
  color: #344054;
}

.qem-notification-button--primary:hover,
.qem-notification-button--primary:focus-visible {
  border-color: #111827;
  background: #111827;
  color: #fff;
  outline: none;
  text-decoration: none;
}

.qem-notification-button--secondary:hover,
.qem-notification-button--secondary:focus-visible {
  border-color: #98a2b3;
  background: #f8fafc;
  color: #111827;
  outline: none;
  text-decoration: none;
}

.qem-notification-button--small {
  min-height: 34px;
  padding: 7px 11px;
}

.qem-notification-button-icon {
  width: 15px;
  height: 15px;
  flex: none;
}

.qem-notification-empty {
  background: #fbfcfe;
  padding: 20px;
  text-align: center;
}

.qem-notification-list {
  display: grid;
  gap: 12px;
}

.qem-notification-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  border: 1px solid #e5eaf1;
  border-radius: 8px;
  background: #fff;
  padding: 15px;
}

.qem-notification-row.is-unread {
  border-color: #cdd7ff;
  background: #fbfcff;
}

.qem-notification-row__icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #f2f4f7;
  color: #667085;
}

.qem-notification-row.is-unread .qem-notification-row__icon {
  background: #eef4ff;
  color: #3157d5;
}

.qem-notification-shell-icon {
  width: 19px;
  height: 19px;
}

.qem-notification-row__body {
  min-width: 0;
}

.qem-notification-row__head {
  align-items: flex-start;
  justify-content: space-between;
}

.qem-notification-row__head strong {
  color: #111827;
  font-size: 15px;
  font-weight: 850;
  line-height: 1.35;
}

.qem-notification-row__head time {
  flex: 0 0 auto;
  color: #667085;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.4;
  white-space: nowrap;
}

.qem-notification-state {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  margin-left: 8px;
  border: 1px solid #cdd7ff;
  border-radius: 999px;
  background: #eef4ff;
  color: #3157d5;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 850;
  line-height: 1;
}

.qem-notification-row__message {
  margin: 8px 0 0;
  color: #667085;
  font-size: 14px;
  line-height: 1.5;
}

.qem-notification-row__actions {
  flex-wrap: wrap;
  align-items: center;
  margin-top: 12px;
}

.qem-notification-row__actions form {
  margin: 0;
}

.qem-notification-text-action {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  border: 0;
  background: transparent;
  color: #344054;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  padding: 5px 0;
  text-decoration: none;
}

.qem-notification-text-action:hover,
.qem-notification-text-action:focus-visible {
  color: #111827;
  outline: none;
  text-decoration: underline;
}

.qem-notification-text-action--muted {
  color: #667085;
}

@media (max-width: 720px) {
  .qem-edit-profile-actions,
  .qem-edit-profile-actions .qem-edit-profile-button {
    width: 100%;
  }

  .qem-message-panel__header,
  .qem-message-thread-item__meta {
    flex-direction: column;
    gap: 8px;
  }

  .qem-message-badge-row,
  .qem-message-row-actions {
    justify-content: flex-start;
  }

  .qem-message-thread-item__meta time {
    text-align: left;
    white-space: normal;
  }

  .qem-message-tab,
  .qem-message-tabs,
  .qem-message-actions,
  .qem-message-inline-form,
  .qem-message-inline-form .qem-message-button,
  .qem-message-button {
    width: 100%;
  }

  .qem-notification-toolbar,
  .qem-notification-search,
  .qem-notification-row__head {
    align-items: stretch;
    flex-direction: column;
  }

  .qem-security-panel__header {
    align-items: stretch;
    flex-direction: column;
  }

  .qem-notification-tabs,
  .qem-notification-inline-form,
  .qem-notification-inline-form .qem-notification-button,
  .qem-notification-search__actions,
  .qem-notification-search__actions .qem-notification-button {
    width: 100%;
  }

  .qem-notification-search__actions {
    flex-direction: column;
  }

  .qem-notification-row {
    grid-template-columns: 1fr;
  }

  .qem-notification-row__head time {
    white-space: normal;
  }
}

@media (min-width: 640px) {
  .qem-account-container {
    padding-right: 24px;
    padding-left: 24px;
  }

  .qem-account-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .qem-account-profile-card__body {
    grid-template-columns: 86px minmax(0, 1fr);
  }

  .qem-account-profile-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .qem-edit-profile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .qem-edit-profile-field--full {
    grid-column: 1 / -1;
  }

  .qem-security-password-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .qem-security-field--full {
    grid-column: 1 / -1;
  }

  .qem-security-placeholder-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .qem-account-container {
    padding-right: 32px;
    padding-left: 32px;
  }

  .qem-account-layout {
    grid-template-columns: 280px minmax(0, 1fr);
    align-items: start;
  }

  .qem-account-sidebar {
    position: sticky;
    top: 24px;
  }

  .qem-account-stat-grid {
    grid-template-columns: 1.15fr repeat(3, minmax(0, .75fr));
  }
}

@media (max-width: 520px) {
  .qem-account-page-title h1 {
    font-size: 24px;
  }

  .qem-account-profile-card,
  .qem-account-recent-orders,
  .qem-account-stat-card,
  .qem-account-sidebar {
    padding: 16px;
  }

  .qem-edit-profile-panel {
    padding: 16px;
  }

  .qem-edit-profile-grid {
    grid-template-columns: 1fr;
  }

  .qem-edit-profile-panel .qem-edit-profile-avatar-upload,
  .qem-edit-profile-panel #image-preview.qem-edit-profile-avatar-upload {
    width: 136px;
    height: 136px;
  }

  .qem-security-panel {
    padding: 16px;
  }

  .qem-security-password-grid {
    grid-template-columns: 1fr;
  }

  .qem-security-placeholder-grid {
    grid-template-columns: 1fr;
  }
}

.qem-favorites-panel {
  display: grid;
  gap: 14px;
}

.qem-favorites-status {
  min-height: 20px;
  color: #667085;
  font-size: 13px;
  line-height: 1.45;
}

.qem-favorites-table {
  width: 100%;
  min-width: 520px;
  margin: 0;
  border-collapse: collapse;
}

.qem-favorites-table th,
.qem-favorites-table td {
  padding: 12px 10px;
  border-bottom: 1px solid #e5eaf1;
  text-align: left;
  vertical-align: middle;
}

.qem-favorites-table th {
  background: #f8fafc;
  color: #667085;
  font-size: 12px;
  font-weight: 750;
}

.qem-favorites-table tbody tr:hover td {
  background: #fbfcfe;
}

.qem-favorites-table__image {
  width: 96px;
  text-align: center;
}

.qem-favorites-table__thumb {
  width: 64px;
  height: 64px;
  border: 1px solid #e5eaf1;
  border-radius: 6px;
  background: #f8fafc;
  object-fit: cover;
}

.qem-favorites-table__title {
  color: #141821;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
  text-decoration: none;
}

.qem-favorites-table__title:hover,
.qem-favorites-table__title:focus-visible {
  color: #1d2433;
  text-decoration: underline;
}

.qem-favorites-table__action {
  width: 120px;
  text-align: right;
}

.qem-favorites-table__remove {
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid #efc5cb;
  border-radius: 6px;
  color: #b42338;
  background: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}

.qem-favorites-table__remove:hover,
.qem-favorites-table__remove:focus-visible {
  border-color: #e59aa5;
  color: #912018;
  background: #fff5f6;
  outline: none;
}

.qem-favorites-table__remove:disabled {
  opacity: .6;
  cursor: wait;
}

.qem-favorites-table__empty {
  padding: 24px 12px;
  color: #667085;
  text-align: center;
}

.qem-favorites-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.qem-favorites-pagination[hidden] {
  display: none;
}

.qem-favorites-pagination__button {
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid #d7e0ec;
  border-radius: 6px;
  color: #293b59;
  background: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}

.qem-favorites-pagination__button:hover,
.qem-favorites-pagination__button:focus-visible {
  border-color: #9fb0c6;
  color: #1e2d46;
  background: #f8fafc;
  outline: none;
}

.qem-favorites-pagination__button:disabled {
  border-color: #e5eaf1;
  color: #98a2b3;
  background: #f8fafc;
  cursor: not-allowed;
}

.qem-favorites-pagination__status {
  min-width: 72px;
  color: #667085;
  text-align: center;
  font-size: 13px;
  font-weight: 650;
}

@media (max-width: 640px) {
  .qem-favorites-pagination {
    justify-content: space-between;
  }
}

.qem-table--orders th,
.qem-table--orders td {
  padding-top: 12px;
  padding-bottom: 12px;
  vertical-align: middle;
}

.qem-order-row-action a,
.qem-order-actions a {
  color: var(--qem-accent-strong);
  font-weight: 850;
  text-decoration: none;
}

.qem-order-row-action a:hover,
.qem-order-actions a:hover {
  text-decoration: underline;
}

.qem-refund-card {
  border-color: rgba(37, 99, 235, .22);
}

.qem-order-state {
  margin: 0;
  color: var(--qem-muted);
  line-height: 1.6;
}

.qem-order-state--warning {
  color: var(--qem-warning);
  font-weight: 750;
}

.qem-order-state--danger {
  color: var(--qem-danger);
  font-weight: 750;
}

.qem-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.qem-info-list p {
  margin: 6px 0;
  color: var(--qem-muted);
  line-height: 1.5;
}

.qem-clean-list {
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--qem-muted);
  font-size: 15px;
  line-height: 1.55;
}

.qem-clean-list li + li {
  margin-top: 8px;
}

.qem-empty-card {
  text-align: center;
}

.qem-profile-orders {
  color: var(--qem-ink);
}

.qem-track-timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin-top: 22px;
  padding: 18px;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius-sm);
  background: #fbfcfe;
}

.qem-track-step {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 7px;
  min-width: 0;
  padding: 0 10px;
  text-align: center;
  color: var(--qem-muted);
}

.qem-track-step::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--qem-line);
  z-index: 0;
}

.qem-track-step:first-child::before {
  left: 50%;
}

.qem-track-step:last-child::before {
  right: 50%;
}

.qem-track-step__marker {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--qem-line);
  border-radius: 999px;
  background: #fff;
  color: #fff;
  font-weight: 850;
}

.qem-track-step strong {
  color: var(--qem-ink);
  font-size: 13px;
  line-height: 1.25;
}

.qem-track-step span:not(.qem-track-step__marker) {
  font-size: 12px;
  line-height: 1.25;
}

.qem-track-step--complete::before {
  background: var(--qem-accent-strong);
}

.qem-track-step--complete .qem-track-step__marker {
  border-color: var(--qem-accent-strong);
  background: var(--qem-accent-strong);
}

.qem-track-step--danger::before {
  background: var(--qem-danger);
}

.qem-track-step--danger .qem-track-step__marker {
  border-color: var(--qem-danger);
  background: var(--qem-danger);
}

.qem-order-list-toolbar,
.qem-order-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.qem-order-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.qem-order-pagination a,
.qem-order-per-page select {
  min-height: 36px;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius-sm);
  background: #fff;
  color: var(--qem-ink);
}

.qem-order-pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.qem-order-filter-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border-bottom: 2px solid transparent;
  color: var(--qem-muted);
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}

.qem-order-filter-tabs a:hover,
.qem-order-filter-tabs a:focus-visible,
.qem-order-pagination a:hover,
.qem-order-pagination a:focus-visible {
  color: var(--qem-accent-strong);
  outline: none;
}

.qem-order-filter-tabs a.is-active {
  border-bottom-color: var(--qem-accent-strong);
  color: var(--qem-ink);
}

.qem-order-per-page {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--qem-muted);
  font-size: 13px;
  font-weight: 750;
}

.qem-order-per-page select {
  padding: 6px 30px 6px 10px;
  font: inherit;
}

.qem-order-list-status {
  margin: 0 0 12px;
  color: var(--qem-muted);
  font-size: 13px;
  line-height: 1.45;
}

.qem-order-pagination {
  margin-top: 14px;
  margin-bottom: 0;
}

.qem-order-pagination span {
  color: var(--qem-muted);
  font-size: 13px;
  font-weight: 750;
}

.qem-order-pagination a.is-disabled {
  pointer-events: none;
  color: #98a2b3;
  background: #f8fafc;
}

.qem-shipment-history {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--qem-line);
}

.qem-shipment-history h3 {
  margin: 0 0 12px;
  color: var(--qem-ink);
  font-size: 16px;
  font-weight: 850;
  line-height: 1.3;
}

.qem-shipment-history ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.qem-shipment-history li {
  display: grid;
  gap: 4px;
  padding-left: 14px;
  border-left: 2px solid var(--qem-accent-strong);
}

.qem-shipment-history strong {
  color: var(--qem-ink);
  font-size: 14px;
  line-height: 1.3;
}

.qem-shipment-history span,
.qem-shipment-history p {
  margin: 0;
  color: var(--qem-muted);
  font-size: 13px;
  line-height: 1.4;
}

.qem-utility-actions {
  justify-content: center;
  margin-top: 26px;
}

.qem-utility-actions--left {
  justify-content: flex-start;
  margin: 0 0 18px;
}

@media (max-width: 1024px) {
  .qem-grid--4,
  .qem-trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .qem-homepage-block {
    grid-template-columns: 1fr;
  }

  .qem-checkout__grid,
  .qem-lookup-grid {
    grid-template-columns: 1fr;
  }

  .qem-cart-item {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .qem-seller-group-preview__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .qem-seller-group-preview__totals {
    justify-items: start;
  }

  .qem-cart-item__actions {
    grid-column: 1 / -1;
  }

  .qem-summary-card {
    position: static;
  }
}

@media (max-width: 760px) {
  .qem-container {
    width: calc(100% - 24px);
  }

  .qem-track-timeline {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
  }

  .qem-track-step {
    grid-template-columns: 30px minmax(0, 1fr);
    justify-items: start;
    column-gap: 10px;
    text-align: left;
  }

  .qem-track-step::before {
    top: 0;
    bottom: -14px;
    left: 14px;
    right: auto;
    width: 2px;
    height: auto;
  }

  .qem-track-step:first-child::before {
    left: 14px;
  }

  .qem-track-step:last-child::before {
    right: auto;
    bottom: 50%;
  }

  .qem-track-step__marker {
    grid-row: 1 / span 2;
  }

  .qem-order-list-toolbar,
  .qem-order-pagination {
    align-items: stretch;
    flex-direction: column;
  }

  .qem-order-filter-tabs,
  .qem-order-per-page,
  .qem-order-pagination {
    width: 100%;
  }

  .qem-order-pagination a {
    flex: 1 1 auto;
  }

  .qem-section {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .qem-section__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .qem-section__title {
    font-size: 24px;
  }

  .qem-review-preferences-layout {
    grid-template-columns: 1fr;
  }

  .qem-review-preferences-panel__header {
    flex-direction: column;
  }

  .qem-changelog-entry {
    grid-template-columns: 1fr;
  }

  .qem-changelog-entry__date {
    padding-top: 0;
  }

  .qem-grid--2,
  .qem-grid--3,
  .qem-grid--4,
  .qem-trust-strip {
    grid-template-columns: 1fr;
  }

  .qem-product-card--wide {
    grid-template-columns: 1fr;
  }

  .qem-product-card--wide .qem-product-card__media {
    min-height: 220px;
  }

  .qem-search-primary__inner {
    padding: 12px;
  }

  .qem-search-toolbar {
    align-items: stretch;
    gap: 10px;
    padding: 12px;
  }

  .qem-search-sort-trigger {
    justify-content: center;
    width: 100%;
  }

  .qem-search-sort-control,
  .qem-search-sort-menu {
    width: 100%;
  }

  .qem-search-active-filters .filterTag {
    max-width: calc(100vw - 48px);
  }

  .qem-product-card__footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .qem-product-card__actions {
    position: static;
    margin: 0 18px 18px;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .qem-product-card__actions::before {
    display: none;
  }

  .qem-product-card:hover .qem-product-card__price-row,
  .qem-product-card:hover .qem-product-card__footer,
  .qem-product-card:focus-within .qem-product-card__price-row,
  .qem-product-card:focus-within .qem-product-card__footer {
    opacity: 1;
  }

  .qem-product-detail {
    padding-top: 26px;
  }

  .qem-product-detail .single_title {
    font-size: 23px;
  }

  .qem-product-detail .single_subtitle {
    font-size: 16px;
  }

  .qem-product-detail .top_side > div {
    position: static;
    padding: 18px;
  }

  .qem-ui-product-hero-grid,
  .qem-ui-product-detail-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .qem-ui-product-buy-panel {
    order: -1;
  }

  .qem-product-mobile-meta {
    display: block;
  }

  .qem-product-definition-list {
    display: none;
  }

  .qem-product-detail .qem-product-purchase-row {
    grid-template-columns: 1fr;
  }

  .qem-product-detail .qem-product-save-action {
    justify-content: flex-start;
  }

  .qem-product-detail .qem-product-direct-actions--two {
    grid-template-columns: 1fr;
  }

  .qem-sticky-product-bar__inner {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 10px;
    width: calc(100% - 16px);
    max-width: none;
    margin: 0 8px 8px;
    padding: 10px;
    border-radius: 8px;
  }

  .qem-sticky-product-bar__media {
    width: 48px;
    height: 48px;
  }

  .qem-sticky-product-bar__summary strong {
    font-size: 13px;
  }

  .qem-sticky-product-bar__meta {
    gap: 5px;
    font-size: 12px;
  }

  .qem-sticky-product-bar__price {
    font-size: 17px;
  }

  .qem-sticky-product-bar__actions {
    grid-column: 1 / -1;
  }

  .qem-sticky-product-bar__actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  }

  .qem-sticky-product-bar__cart-action-row {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .qem-sticky-product-bar__button {
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    line-height: 42px;
  }

  body.qem-sticky-product-bar-visible {
    padding-bottom: 170px;
  }

  .qem-action-row .qem-button {
    flex: 1 1 160px;
  }

  .qem-checkout,
  .qem-utility-page {
    padding-top: 30px;
    padding-bottom: 40px;
  }

  .qem-checkout-panel,
  .qem-summary-card,
  .qem-status-card,
  .qem-order-card {
    padding: 20px;
  }

  .qem-checkout-heading h1,
  .qem-utility-heading h1,
  .qem-status-card h1 {
    font-size: 28px;
  }

  .qem-checkout-item {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 14px;
  }

  .qem-checkout-item__body h2,
  .qem-order-card h2 {
    font-size: 18px;
  }

  .qem-form-grid,
  .qem-payment-options,
  .qem-info-grid,
  .qem-order-summary-grid {
    grid-template-columns: 1fr;
  }

  .qem-contact-page {
    padding: 24px 0 38px;
  }

  .qem-contact-shell,
  .qem-contact-content {
    padding: 20px;
  }

  .qem-contact-form {
    grid-template-columns: 1fr;
  }

  .qem-contact-actions .qem-button {
    width: 100%;
  }

  .qem-feedback-page {
    padding: 24px 0 38px;
  }

  .qem-feedback-page__layout,
  .qem-feedback-form__grid {
    grid-template-columns: 1fr;
  }

  .qem-feedback-page__intro,
  .qem-feedback-page__panel {
    padding: 20px;
  }

  .qem-feedback-tab {
    right: 18px;
    bottom: 18px;
    border-radius: 999px;
    transform: none;
  }

  .qem-feedback-tab__label {
    display: none;
  }

  .qem-feedback-modal {
    padding: 12px;
  }

  .qem-feedback-modal__dialog {
    max-height: calc(100vh - 24px);
  }

  .qem-feedback-modal__header,
  .qem-feedback-modal__body {
    padding-left: 18px;
    padding-right: 18px;
  }

  .qem-feedback-modal__header {
    padding-right: 58px;
  }

  .qem-feedback-form .qem-button {
    width: 100%;
  }

  .cc-window.cc-floating,
  .cc-window.cc-banner,
  .cc-window.cc-left,
  .cc-window.cc-right {
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    max-width: calc(100vw - 24px) !important;
  }

  .cc-window.cc-banner.cc-bottom {
    transform: none;
  }

  .cc-window.cc-top {
    top: 12px !important;
  }

  .cc-window.cc-bottom {
    bottom: 12px !important;
  }

  .cc-window.cc-floating,
  .cc-window.cc-banner {
    gap: 10px;
    padding: 12px !important;
    overflow: visible;
  }

  .cc-window .cc-message {
    margin-right: 0;
    margin-bottom: 0;
    font-size: 13px;
    line-height: 1.45;
  }

  .cc-window .cc-compliance {
    display: flex;
    width: 100%;
  }

  .cc-window .cc-btn {
    flex: 1 1 auto;
    min-width: 0 !important;
    min-height: 44px;
    white-space: normal;
  }

  .qem-order-card__header,
  .qem-status-list__row {
    flex-direction: column;
    gap: 8px;
  }

  .qem-status-list__row span {
    text-align: left;
  }
}

@media (hover: none) {
  .qem-product-card__actions {
    position: static;
    margin: 0 18px 18px;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .qem-product-card__actions::before {
    display: none;
  }

  .qem-product-card:hover .qem-product-card__price-row,
  .qem-product-card:hover .qem-product-card__footer,
  .qem-product-card:focus-within .qem-product-card__price-row,
  .qem-product-card:focus-within .qem-product-card__footer {
    opacity: 1;
  }
}

.qem-legacy-header {
  background: #fff;
  color: var(--qem-ink);
}

.qem-legacy-header--dark {
  background: var(--primary-color);
  color: #fff;
}

.qem-legacy-header__main {
  align-items: center;
  display: grid;
  gap: 20px;
  grid-template-columns: auto minmax(260px, 1fr) auto;
  min-height: 82px;
  padding: 12px 0;
}

.qem-legacy-header--compact .qem-legacy-header__main {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.qem-legacy-header__logo {
  align-items: center;
  display: inline-flex;
  min-width: 0;
  text-decoration: none;
}

.qem-legacy-header__logo img {
  display: block;
  max-height: 52px;
  max-width: 178px;
  object-fit: contain;
}

.qem-legacy-header__search {
  min-width: 0;
}

.qem-legacy-header__account {
  align-items: center;
  display: flex;
  justify-content: flex-end;
  min-width: 0;
}

.qem-legacy-header__profile {
  align-items: center;
  color: inherit;
  display: inline-flex;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
}

.qem-legacy-header__avatar {
  background: rgba(255, 255, 255, .18);
  border: 2px solid rgba(255, 255, 255, .42);
  border-radius: 50%;
  display: inline-flex;
  flex: 0 0 auto;
  height: 50px;
  overflow: hidden;
  width: 50px;
}

.qem-legacy-header__avatar img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.qem-legacy-header__profile-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.qem-legacy-header__profile-copy strong {
  color: inherit;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
}

.qem-legacy-header__profile-copy small {
  color: currentColor;
  font-size: 13px;
  line-height: 1.3;
  opacity: .78;
}

.qem-legacy-header__signin {
  align-items: center;
  background: var(--primary-color);
  border: 1px solid var(--primary-color);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 15px;
  font-weight: 800;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
  white-space: nowrap;
}

.qem-legacy-header--dark .qem-legacy-header__signin {
  background: #fff;
  border-color: #fff;
  color: var(--primary-color);
}

.qem-legacy-header__signin:hover,
.qem-legacy-header__signin:focus {
  transform: translateY(-1px);
}

.qem-legacy-header__navrow {
  background: var(--primary-color);
}

.qem-legacy-header__navrow--light {
  background: #fff;
  border-bottom: 1px solid var(--qem-line);
}

.qem-legacy-header__nav {
  align-items: center;
  display: flex;
  gap: 4px;
  justify-content: center;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  white-space: nowrap;
}

.qem-legacy-header__nav::-webkit-scrollbar {
  display: none;
}

.qem-legacy-header__nav a {
  align-items: center;
  color: inherit;
  display: inline-flex;
  font-size: 15px;
  font-weight: 800;
  min-height: 50px;
  padding: 0 14px;
  text-decoration: none;
}

.qem-legacy-header__navrow .qem-legacy-header__nav a {
  color: #fff;
}

.qem-legacy-header__navrow--light .qem-legacy-header__nav a,
.qem-legacy-header--compact .qem-legacy-header__nav a {
  color: inherit;
}

.qem-legacy-header--dark .qem-legacy-header__nav a,
.qem-legacy-header--dark .qem-legacy-header__profile,
.qem-legacy-header--dark .qem-legacy-header__profile-copy strong,
.qem-legacy-header--dark .qem-legacy-header__profile-copy small {
  color: #fff;
}

.qem-legacy-header__nav a:hover,
.qem-legacy-header__nav a:focus,
.qem-legacy-header__nav a.is-active {
  background: rgba(255, 255, 255, .14);
}

.qem-legacy-header__navrow--light .qem-legacy-header__nav a:hover,
.qem-legacy-header__navrow--light .qem-legacy-header__nav a:focus,
.qem-legacy-header__navrow--light .qem-legacy-header__nav a.is-active {
  background: var(--qem-surface-soft);
  color: var(--primary-color);
}

.qem-site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  border-bottom: 1px solid var(--qem-line);
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(17, 24, 39, .07);
}

.qem-site-header__top {
  background: #ffffff;
  color: #111827;
}

.qem-site-header__inner {
  box-sizing: border-box;
  display: grid;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  align-items: center;
  gap: 16px;
}

.qem-site-header__top .qem-site-header__inner {
  grid-template-columns: auto minmax(340px, 1fr) auto;
  min-height: 76px;
}

.qem-site-header__brand,
.qem-site-header__category-toggle,
.qem-site-header__action,
.qem-site-header__account-button,
.qem-site-header__category-nav a,
.qem-site-header__menu a {
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.qem-site-header__brand {
  gap: 10px;
  min-width: 182px;
  font-size: 23px;
  font-weight: 900;
  letter-spacing: 0;
}

.qem-site-header__mark {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, #2d5bff 0%, #8f46ff 100%);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(45, 91, 255, .26);
}

.qem-site-header__svg,
.qe-searchhub-svg,
.qe-searchhub-row-svg {
  display: block;
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.qe-searchhub-svg--solid,
.qe-searchhub-svg--solid path {
  fill: #000000;
  stroke: none;
}

.qe-searchhub-row-svg--solid,
.qe-searchhub-row-svg--solid path {
  fill: #000000;
  stroke: none;
}

.qem-site-header__mark .qem-site-header__svg {
  font-size: 22px;
}

.qem-site-header__category-toggle {
  gap: 9px;
  height: 46px;
  padding: 0 16px;
  border-radius: 8px;
  background: rgba(17, 24, 39, .18);
  font-size: 15px;
  font-weight: 800;
}

.qem-site-header__drawer-toggle {
  display: none;
}

.qem-site-header__search {
  min-width: 0;
}

.qem-site-header__search,
.qem-site-header .qe-searchhub,
.qem-site-header .qe-searchhub-form,
.qem-site-header .qe-searchhub-field {
  max-width: 100%;
}

.qem-site-header .qe-searchhub {
  z-index: 620;
}

.qem-site-header .qe-searchhub-input {
  min-height: 56px;
  padding-left: 68px !important;
  padding-right: 74px !important;
  border: 1px solid #d8dde6 !important;
  border-radius: 10px !important;
  background: #ffffff;
  color: #111827;
  font-size: 19px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, .08) !important;
}

.qem-site-header .qe-searchhub-input::-webkit-search-cancel-button,
.qem-site-header .qe-searchhub-input::-webkit-search-decoration {
  appearance: none;
}

.qem-site-header .qe-searchhub-icon {
  width: 46px;
  height: 46px;
  color: #6f747c;
  font-size: 30px;
}

.qem-site-header .qe-searchhub-submit {
  left: 14px;
}

.qem-site-header .qe-searchhub-clear {
  right: 58px;
}

.qem-site-header .qe-searchhub-voice {
  right: 14px;
  width: 46px;
  border-left: 1px solid #dfe3ea;
}

.qem-site-header .qe-searchhub-panel {
  top: calc(100% + 8px);
  max-height: min(68vh, 560px);
  border: 1px solid #edf0f3;
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(17, 24, 39, .12);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.qem-site-header .qe-searchhub-panel-head {
  margin: 0 24px;
  padding: 20px 0 16px;
}

.qem-site-header .qe-searchhub-query {
  margin-bottom: 10px;
  color: #444444;
  font-size: 16px;
  font-weight: 600;
}

.qem-site-header .qe-searchhub-scopes,
.qem-site-header .qe-searchhub-count,
.qem-site-header .qe-searchhub-footer,
.qem-site-header .qe-searchhub-scopes a,
.qem-site-header .qe-searchhub-scopes span,
.qem-site-header .qe-searchhub-footer a,
.qem-site-header .qe-searchhub-footer span {
  font-size: 15px;
  line-height: 1.55;
}

.qem-site-header .qe-searchhub-scopes,
.qem-site-header .qe-searchhub-count,
.qem-site-header .qe-searchhub-footer,
.qem-site-header .qe-searchhub-footer a,
.qem-site-header .qe-searchhub-footer span {
  color: #6f747b;
}

.qem-site-header .qe-searchhub-scopes a {
  color: #4b5563;
}

.qem-site-header .qe-searchhub-section-title {
  gap: 18px;
  padding: 20px 28px 16px;
  font-size: 19px;
  font-weight: 700;
}

.qem-site-header .qe-searchhub-row {
  grid-template-columns: 28px minmax(74px, auto) 22px minmax(0, 1fr);
  gap: 14px;
  min-height: 58px;
  padding: 13px 24px;
  color: #444444;
  font-size: 18px;
  line-height: 1.25;
}

.qem-site-header .qe-searchhub-suggestion-row {
  grid-template-columns: 28px minmax(0, 1fr) 22px auto;
}

.qem-site-header .qe-searchhub-row-icon,
.qem-site-header .qe-searchhub-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  font-size: 22px;
}

.qem-site-header .qe-searchhub-arrow {
  transition: transform .16s ease;
}

.qem-site-header .qe-searchhub-row:hover .qe-searchhub-arrow {
  transform: translateX(5px);
}

.qem-site-header .qe-searchhub-recent-label {
  color: #444444;
  font-weight: 600;
}

.qem-site-header .qe-searchhub-row strong {
  color: #444444;
  font-weight: 400;
}

.qem-site-header .qe-searchhub-type {
  font-size: 16px;
}

.qem-site-header .qe-searchhub-footer {
  padding: 13px 22px;
}

.qem-site-header__actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.qem-site-header__language {
  display: inline-grid;
  min-width: 92px;
  gap: 4px;
  justify-items: center;
}

.qem-site-header__language-label {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #111827;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
}

.qem-site-header__language-label .qem-site-header__svg {
  font-size: 27px;
}

.qem-site-header__language-select {
  width: 92px;
  min-height: 30px;
  border: 1px solid #d8dde6;
  border-radius: 6px;
  background: #ffffff;
  color: #111827;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  padding: 0 8px;
  box-shadow: var(--qem-shadow-sm);
}

.qem-site-header__language-select:focus {
  border-color: #2d5bff;
  outline: 2px solid rgba(45, 91, 255, .18);
  outline-offset: 1px;
}

.qem-site-header__language noscript button {
  min-height: 28px;
  border: 1px solid #d8dde6;
  border-radius: 6px;
  background: #ffffff;
  color: #111827;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  padding: 0 8px;
}

.qe-account-badges {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-left: 8px;
  vertical-align: middle;
}

.qe-account-badge {
  background: #ffffff;
  border: 1px solid currentColor;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  min-height: 22px;
  padding: 3px 8px;
  position: relative;
  white-space: nowrap;
}

.qe-account-badge img {
  display: block;
  height: 20px;
  max-width: 72px;
  object-fit: contain;
  width: auto;
}

.qe-account-badge__popover {
  background: #ffffff;
  border: 1px solid #e1e7ef;
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(15, 23, 42, .18);
  color: #172033;
  display: none;
  font-size: 13px;
  font-weight: 500;
  gap: 8px;
  left: 50%;
  line-height: 1.35;
  min-width: 230px;
  padding: 14px;
  position: absolute;
  text-align: left;
  top: calc(100% + 8px);
  transform: translateX(-50%);
  white-space: normal;
  z-index: 30;
}

.qe-account-badge__popover strong,
.qe-account-badge__popover span {
  display: block;
}

.qe-account-badge:hover .qe-account-badge__popover,
.qe-account-badge:focus .qe-account-badge__popover,
.qe-account-badge:focus-within .qe-account-badge__popover {
  display: grid;
}

.qe-account-badges--profile {
  margin-top: 4px;
}

.qem-site-header__action {
  position: relative;
  flex-direction: column;
  justify-content: center;
  min-width: 50px;
  color: #111827;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
}

.qem-site-header__action-icon {
  position: relative;
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.qem-message-badge {
  display: inline-flex;
  min-width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #ef4444;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  padding: 0 6px;
  vertical-align: middle;
}

.qem-message-badge--floating {
  position: absolute;
  top: -7px;
  right: -10px;
  box-shadow: 0 0 0 3px #ffffff;
}

.qem-profile-nav-message-link,
.qem-message-menu-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.qem-profile-nav-message-link {
  max-width: 100%;
}

.qem-message-menu-link {
  justify-content: space-between;
}

.qem-site-header__action .qem-site-header__svg {
  font-size: 27px;
  line-height: 1;
}

.qem-site-header__action small {
  display: block;
  color: rgba(255, 255, 255, .82);
  font-size: 12px;
  font-weight: 700;
}

.qem-site-header__cart[aria-disabled="true"] {
  cursor: default;
}

.qem-site-header__account {
  position: relative;
}

.qem-site-header__account-button {
  flex-direction: column;
  justify-content: center;
  min-width: 58px;
  border: 0;
  background: transparent;
  color: #111827;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.15;
}

.qem-site-header__account-button .qem-site-header__svg {
  font-size: 28px;
}

.qem-site-header__account-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  display: none;
  min-width: 190px;
  padding: 8px;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius-sm);
  background: #fff;
  box-shadow: var(--qem-shadow);
}

.qem-site-header__account:hover .qem-site-header__account-menu,
.qem-site-header__account:focus-within .qem-site-header__account-menu,
.qem-site-header__account-menu.is-open {
  display: block;
}

.qem-site-header__account-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--qem-ink);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.qem-site-header__account-menu a:hover {
  background: var(--qem-surface-soft);
}

.qem-site-header--account-header .qem-site-header__actions--account-header {
  align-items: center;
  gap: 16px;
}

.qem-site-header--account-header .qem-site-header__action {
  min-width: 0;
  color: #111827;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0;
}

.qem-site-header--account-header .qem-site-header__action--text {
  flex-direction: row;
  white-space: nowrap;
}

.qem-site-header--account-header .qem-site-header__action--icon {
  width: 34px;
  min-width: 34px;
}

.qem-site-header--account-header .qem-site-header__action-icon {
  min-height: 34px;
  margin-bottom: 0;
}

.qem-site-header--account-header .qem-site-header__action .qem-site-header__svg,
.qem-site-header--account-header .qem-site-header__account-button .qem-site-header__svg {
  font-size: 29px;
  stroke-width: 1.9;
}

.qem-site-header--account-header .qem-site-header__action--cart-inline {
  position: relative;
  flex-direction: row;
  align-items: center;
  gap: 0;
  min-width: 42px;
  padding: 0;
}

.qem-site-header--account-header .qem-site-header__cart-total {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.qem-site-header--account-header .qem-site-header__account-button--avatar {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 52px;
  min-width: 0;
  padding: 0;
  color: #111827;
  text-align: left;
}

.qem-site-header--account-header .qem-site-header__account-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 1px;
  line-height: 1.1;
}

.qem-site-header--account-header .qem-site-header__account-eyebrow {
  color: #6b7280;
  font-size: 14px;
  font-weight: 500;
}

.qem-site-header--account-header .qem-site-header__account-name {
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #111827;
  font-size: 17px;
  font-weight: 600;
}

.qem-site-header--account-header .qem-site-header__avatar {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 50%;
  background: #eef2f7;
  color: #334155;
  flex: 0 0 44px;
  font-size: 16px;
  font-weight: 800;
}

.qem-site-header--account-header .qem-site-header__avatar--icon {
  background: transparent;
  color: #111827;
}

.qem-site-header--account-header .qem-site-header__avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qem-site-header--account-header .qem-site-header__account-caret {
  display: inline-flex;
  color: #6b7280;
}

.qem-site-header--account-header .qem-site-header__account-caret .qem-site-header__svg {
  font-size: 21px;
}

.qem-site-header--account-header .qem-message-badge {
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  background: #4b5563;
  color: #ffffff;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
}

.qem-site-header--account-header .qem-message-badge--floating {
  top: -7px;
  right: -9px;
  min-width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #2563eb;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 0 0 2px #ffffff;
}

.qem-site-header--account-header .qem-site-header__account-menu {
  min-width: 282px;
  padding: 0;
  overflow: hidden;
  border-radius: 8px;
}

.qem-site-header--account-header .qem-site-header__account-menu-head {
  padding: 17px 20px 16px;
  border-bottom: 1px solid var(--qem-line);
}

.qem-site-header--account-header .qem-site-header__account-menu-head strong,
.qem-site-header--account-header .qem-site-header__account-menu-head span {
  display: block;
}

.qem-site-header--account-header .qem-site-header__account-menu-head strong {
  color: #111827;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.25;
}

.qem-site-header--account-header .qem-site-header__account-menu-head span {
  margin-top: 2px;
  color: #6b7280;
  font-size: 16px;
  line-height: 1.25;
}

.qem-site-header--account-header .qem-site-header__account-menu a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border-radius: 0;
  color: #3f3f46;
  font-size: 18px;
  font-weight: 400;
}

.qem-site-header--account-header .qem-site-header__account-menu a .qem-site-header__svg {
  width: 22px;
  height: 22px;
  color: #737373;
  stroke-width: 1.8;
}

.qem-site-header--account-header .qem-site-header__account-menu .qem-message-menu-link {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  justify-content: normal;
  column-gap: 16px;
}

.qem-site-header--account-header .qem-site-header__account-menu .qem-message-menu-link .qem-message-badge {
  justify-self: end;
}

.qem-site-header--account-header .qem-site-header__account-menu-logout {
  border-top: 1px solid var(--qem-line);
  color: #ef1b1b !important;
}

.qem-site-header--account-header .qem-site-header__account-menu-logout .qem-site-header__svg {
  color: #737373;
}

.qem-site-header__navrow {
  overflow: visible;
  background: #ffffff;
  border-top: 1px solid var(--qem-line);
}

.qem-site-header__inner--nav {
  grid-template-columns: minmax(0, 1fr);
  min-height: 48px;
}

.qem-site-header__category-nav {
  display: flex;
  min-width: 0;
  max-width: 100%;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  white-space: nowrap;
}

.qem-site-header__category-nav::-webkit-scrollbar {
  display: none;
}

.qem-site-header__category-nav {
  padding-right: 0;
  border-right: 0;
}

.qem-site-header__category-nav a {
  min-height: 46px;
  padding: 0 13px;
  border-radius: 0;
  color: #111827;
  font-size: 15px;
  font-weight: 800;
}

.qem-site-header__category-nav a:hover {
  background: var(--qem-surface-soft);
}

.qem-site-header__collection-menu {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
}

.qem-site-header__collection-trigger,
.qem-site-header__collection-link {
  gap: 6px;
}

.qem-site-header__collection-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 13px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #111827;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  appearance: none;
}

.qem-site-header__collection-trigger:hover,
.qem-site-header__collection-trigger:focus,
.qem-site-header__collection-trigger[aria-expanded="true"] {
  background: var(--qem-surface-soft);
}

.qem-site-header__collection-trigger .qem-lucide-icon {
  width: 15px;
  height: 15px;
  transition: transform .18s ease;
}

.qem-site-header__collection-trigger[aria-expanded="true"] .qem-lucide-icon {
  transform: rotate(180deg);
}

.qem-site-header__collection-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 1040;
  display: grid;
  min-width: 320px;
  max-width: min(520px, calc(100vw - 32px));
  padding: 10px;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius-md);
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.qem-site-header__collection-menu:hover .qem-site-header__collection-panel,
.qem-site-header__collection-menu:focus-within .qem-site-header__collection-panel,
.qem-site-header__collection-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.qem-site-header__collection-panel a {
  min-height: 0;
}

.qem-site-header__collection-panel-all {
  min-height: 40px !important;
  padding: 0 10px !important;
  border-radius: var(--qem-radius-sm) !important;
  color: var(--qem-brand) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}

.qem-site-header__collection-item {
  display: grid !important;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 58px !important;
  padding: 8px 10px !important;
  border-radius: var(--qem-radius-sm) !important;
  white-space: normal;
}

.qem-site-header__collection-thumb {
  display: block;
  width: 42px;
  height: 42px;
  overflow: hidden;
  border-radius: var(--qem-radius-sm);
  background: var(--qem-surface-soft);
}

.qem-site-header__collection-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qem-site-header__collection-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.qem-site-header__collection-copy strong {
  overflow: hidden;
  color: var(--qem-ink);
  font-size: 14px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.qem-site-header__collection-copy small {
  overflow: hidden;
  color: var(--qem-muted);
  font-size: 12px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.qem-site-header__all-category {
  gap: 8px;
  margin-right: 6px;
  padding-right: 18px !important;
  border-right: 1px solid #d8dde6;
}

.qem-mobile-header {
  display: none;
}

.qem-sidemenu {
  position: fixed;
  inset: 0;
  z-index: 1100;
  visibility: hidden;
  pointer-events: none;
}

.qem-sidemenu.is-open {
  visibility: visible;
  pointer-events: auto;
}

.qem-sidemenu__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .46);
  opacity: 0;
  transition: opacity .18s ease;
}

.qem-sidemenu.is-open .qem-sidemenu__overlay {
  opacity: 1;
}

.qem-sidemenu__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: min(88vw, 340px);
  max-width: 100%;
  min-height: 100%;
  padding: 18px;
  overflow-y: auto;
  background: #ffffff;
  color: var(--qem-ink);
  box-shadow: 24px 0 48px rgba(15, 23, 42, .2);
  transform: translateX(-104%);
  transition: transform .2s ease;
}

.qem-sidemenu.is-open .qem-sidemenu__panel {
  transform: translateX(0);
}

.qem-sidemenu__header,
.qem-sidemenu__profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.qem-sidemenu__header {
  justify-content: space-between;
}

.qem-sidemenu__logo img {
  display: block;
  max-width: 154px;
  max-height: 44px;
}

.qem-sidemenu__close,
.qem-mobile-header__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.qem-sidemenu__close {
  width: 40px;
  height: 40px;
  border: 1px solid var(--qem-line);
  border-radius: 50%;
  color: var(--qem-ink);
}

.qem-sidemenu__primary-action,
.qem-sidemenu__secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--qem-radius-sm);
  font-size: 14px;
  font-weight: 820;
  text-decoration: none;
}

.qem-sidemenu__primary-action {
  background: var(--qem-ink);
  color: #ffffff;
}

.qem-sidemenu__secondary-action {
  border: 1px solid var(--qem-line);
  color: var(--qem-ink);
}

.qem-sidemenu__profile {
  padding: 12px;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius-sm);
  color: inherit;
  text-decoration: none;
}

.qem-sidemenu__avatar {
  display: inline-flex;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--qem-bg);
}

.qem-sidemenu__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qem-sidemenu__profile-name {
  min-width: 0;
  font-size: 15px;
  font-weight: 830;
}

.qem-sidemenu__search {
  position: relative;
}

.qem-sidemenu__search i {
  position: absolute;
  left: 14px;
  top: 50%;
  color: var(--qem-muted);
  transform: translateY(-50%);
}

.qem-sidemenu__search input {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  padding: 0 14px 0 40px;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius-sm);
  background: #ffffff;
  color: var(--qem-ink);
  font: inherit;
}

.qem-sidemenu__search input:focus {
  border-color: var(--qem-brand);
  outline: 3px solid rgba(37, 99, 235, .16);
}

.qem-sidemenu__nav ul {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.qem-sidemenu__nav a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 10px;
  border-radius: var(--qem-radius-sm);
  color: var(--qem-ink);
  font-size: 14px;
  font-weight: 760;
  text-decoration: none;
}

.qem-sidemenu__nav a:hover,
.qem-sidemenu__nav a:focus {
  background: var(--qem-surface-soft);
  color: var(--qem-brand);
}

.qem-sidemenu__collection-list {
  margin: 2px 0 8px 12px !important;
  padding-left: 12px !important;
  border-left: 1px solid var(--qem-line);
}

.qem-sidemenu__collection-list a {
  min-height: 34px;
  color: var(--qem-muted);
  font-size: 13px;
  font-weight: 700;
}

.qem-search-mobile-filter {
  display: none;
}

.qem-search-filter-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius-sm);
  background: #ffffff;
  color: var(--qem-ink);
  font: inherit;
  font-size: 14px;
  font-weight: 820;
  cursor: pointer;
}

.qem-search-filter-button:hover,
.qem-search-filter-button:focus {
  border-color: var(--qem-brand);
  color: var(--qem-brand);
}

.qem-modal {
  position: fixed;
  inset: 0;
  z-index: 1120;
  display: grid;
  place-items: center;
  padding: 20px;
  visibility: hidden;
  pointer-events: none;
}

.qem-modal.is-open {
  visibility: visible;
  pointer-events: auto;
}

.qem-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .48);
  opacity: 0;
  transition: opacity .18s ease;
}

.qem-modal.is-open .qem-modal__overlay {
  opacity: 1;
}

.qem-modal__dialog {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: min(100%, 440px);
  max-height: calc(100vh - 40px);
  overflow: auto;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius-sm);
  background: #ffffff;
  color: var(--qem-ink);
  box-shadow: 0 18px 50px rgba(15, 23, 42, .18);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .18s ease, transform .18s ease;
}

.qem-modal.is-open .qem-modal__dialog {
  opacity: 1;
  transform: translateY(0);
}

.qem-modal__header,
.qem-modal__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.qem-modal__header {
  padding: 20px 20px 0;
}

.qem-modal__body {
  padding: 16px 20px 20px;
}

.qem-modal__actions {
  justify-content: flex-end;
  padding: 0 20px 20px;
}

.qem-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--qem-muted);
  cursor: pointer;
}

.qem-modal__close:hover,
.qem-modal__close:focus {
  background: transparent;
  box-shadow: none;
  color: var(--qem-brand);
}

.qem-seller-share-modal .qem-modal__dialog {
  width: min(100%, 520px);
}

.qem-seller-share-modal__header h2 {
  margin: 0;
  color: var(--color-text, var(--qem-ink));
  font-size: var(--font-size-4, 1.625rem);
  font-weight: var(--weight-heading, 650);
  line-height: 1.2;
}

.qem-seller-share-modal__body {
  display: grid;
  gap: 18px;
}

.qem-seller-share-modal__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(82px, 1fr));
  gap: 14px 16px;
}

.qem-seller-share-modal .btn {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: var(--space-2, 8px);
  border: 1px solid var(--color-border-strong, var(--qem-line));
  border-radius: var(--radius-4, 4px);
  padding: .55rem .85rem;
  font: inherit;
  font-size: var(--font-size-0, .875rem);
  font-weight: var(--weight-medium, 500);
  line-height: 1.2;
  text-decoration: none;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease;
}

.qem-seller-share-modal .btn:hover,
.qem-seller-share-modal .btn:focus {
  text-decoration: none;
}

.qem-seller-share-modal .btn:focus-visible,
.qem-seller-share-modal .form-control:focus {
  outline: 2px solid var(--color-focus, #2f6fed);
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(47, 111, 237, .18);
}

.qem-seller-share-modal .btn-dark {
  border-color: var(--color-primary, var(--qem-brand));
  background: var(--color-primary, var(--qem-brand));
  color: #ffffff;
}

.qem-seller-share-modal .btn-dark:hover,
.qem-seller-share-modal .btn-dark:focus {
  border-color: var(--color-primary-hover, var(--qem-brand-strong));
  background: var(--color-primary-hover, var(--qem-brand-strong));
  color: #ffffff;
}

.qem-seller-share-modal .btn-outline {
  border-color: transparent;
  background: transparent;
  color: var(--color-text, var(--qem-ink));
}

.qem-seller-share-modal .btn-outline:hover,
.qem-seller-share-modal .btn-outline:focus {
  border-color: transparent;
  color: var(--color-primary, var(--qem-brand));
  background: transparent;
}

.qem-seller-share-modal__option {
  flex-direction: column;
  min-height: 0;
  padding: 0;
}

.qem-seller-share-modal__option-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: currentColor;
}

.qem-seller-share-modal__option-icon .qem-lucide-icon {
  width: 26px;
  height: 26px;
}

.qem-seller-share-modal__link-panel {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.qem-seller-share-modal__link-panel label {
  color: var(--color-text, var(--qem-ink));
  font-size: var(--font-size-0, .875rem);
  font-weight: var(--weight-medium, 600);
}

.qem-seller-share-modal__copy-row {
  position: relative;
  display: block;
  min-width: 0;
}

.qem-seller-share-modal .form-control {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 40px;
  border: 1px solid var(--color-border-strong, var(--qem-line));
  border-radius: var(--radius-4, 4px);
  background: var(--color-surface, #ffffff);
  color: var(--color-text, var(--qem-ink));
  font: inherit;
  font-size: var(--font-size-0, .875rem);
  line-height: 1.3;
  padding: .5rem 44px .5rem .65rem;
}

.qem-seller-share-modal__copy-button {
  position: absolute;
  top: 50%;
  right: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: var(--radius-4, 4px);
  background: transparent;
  color: var(--color-text-muted, var(--qem-muted));
  cursor: pointer;
  transform: translateY(-50%);
}

.qem-seller-share-modal__copy-button:hover,
.qem-seller-share-modal__copy-button:focus {
  background: transparent;
  color: var(--color-primary, var(--qem-brand));
}

.qem-seller-share-modal__copy-button.is-copied {
  color: var(--color-success, #207856);
}

.qem-seller-share-modal__copy-button:focus-visible {
  outline: 2px solid var(--color-focus, #2f6fed);
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(47, 111, 237, .18);
}

.qem-seller-share-modal__status {
  min-height: 18px;
  margin: 0;
  color: var(--color-success, #207856);
  font-size: var(--font-size-00, .8125rem);
  line-height: 1.35;
}

.qem-seller-share-modal__qr-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  justify-self: start;
  min-height: 40px;
  border: 1px solid var(--color-border-strong, var(--qem-line));
  border-radius: var(--radius-4, 4px);
  background: #ffffff;
  color: var(--color-text, var(--qem-ink));
  cursor: pointer;
  font: inherit;
  font-size: var(--font-size-0, .875rem);
  font-weight: var(--weight-medium, 500);
  line-height: 1.2;
  padding: .55rem .85rem;
}

.qem-seller-share-modal__qr-toggle:hover,
.qem-seller-share-modal__qr-toggle:focus {
  border-color: var(--color-primary, var(--qem-brand));
  color: var(--color-primary, var(--qem-brand));
}

.qem-seller-share-modal__qr-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--color-border, var(--qem-line));
  border-radius: var(--radius-6, 6px);
  background: #f8fafc;
}

.qem-seller-share-modal__qr-panel[hidden] {
  display: none !important;
}

.qem-seller-share-modal__qr-frame {
  display: grid;
  place-items: center;
  width: 132px;
  height: 132px;
  padding: 8px;
  border: 1px solid var(--color-border-strong, var(--qem-line));
  border-radius: var(--radius-4, 4px);
  background: #ffffff;
}

.qem-seller-share-modal__qr-frame img {
  display: block;
  width: 100%;
  height: 100%;
}

.qem-seller-share-modal__qr-panel h3 {
  margin: 0 0 4px;
  color: var(--color-text, var(--qem-ink));
  font-size: var(--font-size-1, 1rem);
  font-weight: var(--weight-heading, 650);
  line-height: 1.3;
}

.qem-seller-share-modal__qr-panel p {
  margin: 0;
  color: var(--color-text-muted, var(--qem-muted));
  font-size: var(--font-size-00, .8125rem);
  line-height: 1.4;
}

@media (max-width: 520px) {
  .qem-seller-share-modal__qr-panel {
    grid-template-columns: 1fr;
  }

  .qem-seller-share-modal__qr-toggle {
    width: 100%;
  }

  .qem-seller-share-modal__qr-frame {
    width: min(100%, 180px);
    height: auto;
    aspect-ratio: 1 / 1;
    justify-self: center;
  }
}

.qem-seller-share-modal .qem-modal__close {
  border: 0;
  background: transparent;
  color: var(--color-text-muted, var(--qem-muted));
  box-shadow: none;
}

.qem-seller-share-modal .qem-modal__close:hover,
.qem-seller-share-modal .qem-modal__close:focus {
  border-color: transparent;
  background: transparent;
  color: var(--color-text, var(--qem-ink));
}

@media (max-width: 520px) {
  .qem-seller-share-modal__grid {
    grid-template-columns: 1fr;
  }

  .qem-seller-share-modal .btn {
    width: 100%;
  }
}

.qem-search-modal {
  position: fixed;
  inset: 0;
  z-index: 1120;
  visibility: hidden;
  pointer-events: none;
}

.qem-search-modal.is-open {
  visibility: visible;
  pointer-events: auto;
}

.qem-search-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .48);
  opacity: 0;
  transition: opacity .18s ease;
}

.qem-search-modal.is-open .qem-search-modal__overlay {
  opacity: 1;
}

.qem-search-modal__dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(92vw, 420px);
  max-height: calc(100vh - 40px);
  margin: 20px auto;
  overflow: hidden;
  border-radius: var(--qem-radius);
  background: #ffffff;
  color: var(--qem-ink);
  box-shadow: 0 24px 70px rgba(15, 23, 42, .28);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .18s ease, transform .18s ease;
}

.qem-search-modal.is-open .qem-search-modal__dialog {
  opacity: 1;
  transform: translateY(0);
}

.qem-search-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 14px;
  border-bottom: 1px solid var(--qem-line);
}

.qem-search-modal__header h3 {
  margin: 0;
  color: var(--qem-ink);
  font-size: 20px;
  line-height: 1.25;
  font-weight: 850;
  letter-spacing: 0;
}

.qem-search-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--qem-line);
  border-radius: 50%;
  background: #ffffff;
  color: var(--qem-ink);
  cursor: pointer;
}

.qem-search-modal__close:hover,
.qem-search-modal__close:focus {
  border-color: var(--qem-brand);
  color: var(--qem-brand);
}

.qem-search-modal__body {
  min-height: 0;
  padding: 18px;
  overflow-y: auto;
}

.qem-modal-open,
.qem-modal-open body {
  overflow: hidden;
}

.qem-filter-modal {
  position: fixed;
  inset: 0;
  z-index: 1160;
  visibility: hidden;
  pointer-events: none;
}

.qem-filter-modal.is-open {
  visibility: visible;
  pointer-events: auto;
}

.qem-filter-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .54);
  opacity: 0;
  transition: opacity .18s ease;
}

.qem-filter-modal.is-open .qem-filter-modal__overlay {
  opacity: 1;
}

.qem-filter-modal__dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(92vw, 520px);
  max-height: calc(100vh - 42px);
  margin: 21px auto;
  overflow: hidden;
  border-radius: var(--qem-radius);
  background: #ffffff;
  color: var(--qem-ink);
  box-shadow: 0 24px 70px rgba(15, 23, 42, .3);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .18s ease, transform .18s ease;
}

.qem-filter-modal.is-open .qem-filter-modal__dialog {
  opacity: 1;
  transform: translateY(0);
}

.qem-filter-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
  border-bottom: 1px solid var(--qem-line);
}

.qem-filter-modal__header h2 {
  margin: 0;
  color: var(--qem-ink);
  font-size: 20px;
  line-height: 1.25;
  font-weight: 850;
  letter-spacing: 0;
}

.qem-filter-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--qem-line);
  border-radius: 50%;
  background: #ffffff;
  color: var(--qem-ink);
  cursor: pointer;
}

.qem-filter-modal__body {
  min-height: 0;
  padding: 18px;
  overflow-y: auto;
}

.qem-filter-modal__search {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  margin-bottom: 16px;
  padding: 0 14px;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius-sm);
  color: var(--qem-ink);
  font: inherit;
}

.qem-filter-modal__search:focus,
.qem-filter-modal__close:hover,
.qem-filter-modal__close:focus {
  border-color: var(--qem-brand);
  outline: 3px solid rgba(37, 99, 235, .16);
}

.qem-search-filter-more {
  margin-top: 8px;
}

.qem-search-filter-more__button {
  box-sizing: border-box;
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius-sm);
  background: #ffffff;
  color: var(--qem-ink);
  font: inherit;
  font-size: 14px;
  font-weight: 780;
  cursor: pointer;
}

.qem-search-filter-more__button--block {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.qem-search-filter-more__button:hover,
.qem-search-filter-more__button:focus {
  border-color: var(--qem-brand);
  color: var(--qem-brand);
}

.qem-search-more-filters-modal .qem-modal__dialog {
  width: min(92vw, 720px);
}

.qem-search-more-filters-modal .qem-modal__header h2 {
  margin: 0;
  color: var(--qem-ink);
  font-size: 22px;
  line-height: 1.2;
}

.qem-search-more-filters-modal__body {
  display: grid;
  gap: 18px;
}

.qem-search-more-filters-modal__body .widget {
  margin: 0;
  padding: 0 0 18px;
  border-bottom: 1px solid var(--qem-line);
}

.qem-search-more-filters-modal__body .widget:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.qem-search-categories-modal .qem-modal__dialog {
  width: min(92vw, 860px);
}

.qem-search-categories-modal .qem-modal__header h2 {
  margin: 0;
  color: var(--qem-ink);
  font-size: 22px;
  line-height: 1.2;
}

.qem-search-categories-modal__list,
.qem-search-categories-modal__children {
  margin: 0;
  padding: 0;
  list-style: none;
}

.qem-search-categories-modal__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 28px;
}

.qem-search-categories-modal__group {
  min-width: 0;
}

.qem-search-categories-modal__parent {
  display: inline-flex;
  max-width: 100%;
  color: var(--qem-ink);
  font-size: 15px;
  font-weight: 850;
  line-height: 1.3;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.qem-search-categories-modal__children {
  display: grid;
  gap: 7px;
  margin-top: 9px;
}

.qem-search-categories-modal__children a {
  display: inline-flex;
  max-width: 100%;
  color: var(--qem-muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.qem-search-categories-modal a.is-active,
.qem-search-categories-modal a:hover,
.qem-search-categories-modal a:focus {
  color: var(--qem-brand);
}

@media (max-width: 640px) {
  .qem-search-categories-modal__list {
    grid-template-columns: 1fr;
  }
}

.qem-search-store-filter {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.qem-search-store-filter__item {
  min-width: 0;
}

.qem-search-store-filter__link {
  display: grid;
  justify-items: center;
  gap: 7px;
  width: 100%;
  color: var(--qem-ink);
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}

.qem-search-store-filter__media {
  position: relative;
  display: block;
  width: 52px;
  height: 52px;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid var(--qem-line);
  border-radius: 999px;
  background: var(--qem-bg);
}

.qem-search-store-filter__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qem-search-store-filter__title {
  display: block;
  width: 100%;
  overflow-wrap: anywhere;
  color: var(--qem-muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
}

.qem-search-store-filter__state {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(17, 24, 39, .68);
  color: #ffffff;
  font-size: 20px;
  opacity: 0;
  transition: opacity .16s ease;
}

.qem-search-store-filter__link:hover .qem-search-store-filter__state,
.qem-search-store-filter__link:focus .qem-search-store-filter__state,
.qem-search-store-filter__link.is-active .qem-search-store-filter__state {
  opacity: 1;
}

.qem-search-filter-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.qem-search-filter-list label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  color: var(--qem-muted);
  font-size: 14px;
  line-height: 1.4;
  cursor: pointer;
}

.qem-search-filter-list label:hover,
.qem-search-filter-list label:focus-within {
  color: var(--qem-ink);
}

.qem-search-filter-input {
  flex: 0 0 auto;
  accent-color: var(--qem-brand);
}

.qem-search-filter-count {
  color: var(--qem-muted-soft);
}

.qem-filter-modal__store-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.qem-filter-modal__store {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 8px;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius-sm);
  color: var(--qem-ink);
  text-decoration: none;
  cursor: pointer;
}

.qem-filter-modal__store-media {
  display: block;
  width: 52px;
  height: 52px;
  overflow: hidden;
  border-radius: var(--qem-radius-sm);
  background: var(--qem-bg);
}

.qem-filter-modal__store-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qem-filter-modal__store-title {
  min-width: 0;
  font-size: 14px;
  font-weight: 760;
}

.qem-filter-modal__store-title.is-active {
  color: var(--qem-brand);
}

.qem-filter-modal__option-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.qem-filter-modal__option-list label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 7px 9px;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius-sm);
  cursor: pointer;
}

@media (max-width: 520px) {
  .qem-filter-modal__store-list {
    grid-template-columns: 1fr;
  }
}

.qem-site-footer {
  margin-top: 56px;
  border-top: 1px solid var(--qem-line);
  background: #ffffff;
  color: var(--qem-ink);
}

.qem-site-footer__inner {
  box-sizing: border-box;
  width: calc(100% - 32px);
  max-width: var(--qem-container);
  margin: 0 auto;
}

.qem-site-footer__widgets {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(180px, 1fr) minmax(240px, 1fr);
  gap: 34px;
  padding: 42px 0 30px;
}

.qem-site-footer__title {
  margin: 0 0 14px;
  color: var(--qem-ink);
  font-size: 17px;
  line-height: 1.3;
  font-weight: 840;
  letter-spacing: 0;
}

.qem-site-footer__text {
  max-width: 560px;
  margin: 0;
  color: var(--qem-muted);
  font-size: 14px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.qem-site-footer__social,
.qem-site-footer__links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  min-width: 0;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.qem-site-footer__links ul {
  display: grid;
  gap: 8px;
  margin-top: 0;
}

.qem-site-footer__social a,
.qem-site-footer__links a {
  color: var(--qem-muted);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.qem-site-footer__social a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid var(--qem-line);
  border-radius: 999px;
  background: var(--qem-surface-soft);
}

.qem-site-footer__social a:hover,
.qem-site-footer__links a:hover {
  color: var(--qem-brand);
  text-decoration: underline;
}

.qem-site-footer__social--icons {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  margin: 0;
}

.qem-site-footer__social--icons li {
  flex: 0 0 auto;
}

.qem-site-footer__social--icons a {
  display: inline-grid;
  place-items: center;
  width: 38px;
  min-height: 38px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.qem-site-footer__social--icons .qem-lucide-icon {
  width: 18px;
  height: 18px;
}

.qem-site-footer__field {
  position: relative;
}

.qem-site-footer__field i {
  position: absolute;
  left: 14px;
  top: 50%;
  color: var(--qem-muted);
  transform: translateY(-50%);
}

.qem-site-footer__input,
.qem-site-footer__button {
  box-sizing: border-box;
  width: 100%;
  min-height: 46px;
  border-radius: 999px;
  font: inherit;
}

.qem-site-footer__input {
  border: 1px solid var(--qem-line);
  background: #ffffff;
  color: var(--qem-ink);
  padding: 0 16px 0 40px;
}

.qem-site-footer__input:focus {
  border-color: var(--qem-brand);
  outline: 3px solid rgba(37, 99, 235, .16);
}

.qem-site-footer__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  border: 0;
  background: var(--qem-ink);
  color: #ffffff;
  font-size: 14px;
  font-weight: 840;
  cursor: pointer;
}

.qem-site-footer__button:hover,
.qem-site-footer__button:focus {
  background: var(--qem-brand);
}

.qem-site-footer__results {
  margin-top: 10px;
  color: var(--qem-muted);
  font-size: 13px;
  line-height: 1.45;
}

.qem-site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0 34px;
  border-top: 1px solid var(--qem-line);
}

.qem-site-footer__bottom p {
  margin: 0;
  color: var(--qem-muted);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.qem-site-footer__apps {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.qem-site-footer__apps--about {
  justify-content: flex-start;
  margin-top: 18px;
}

.qem-site-footer__apps img {
  display: block;
  max-width: 142px;
  height: auto;
}

@media (max-width: 820px) {
  .qem-site-footer__widgets {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .qem-site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .qem-site-footer__apps {
    justify-content: flex-start;
  }
}

@media (max-width: 1180px) {
  .qem-site-header__top .qem-site-header__inner {
    grid-template-columns: auto minmax(260px, 1fr) auto;
  }

  .qem-site-header__category-toggle:not(.qem-site-header__drawer-toggle) {
    display: none;
  }

  .qem-site-header__action span,
  .qem-site-header__action small,
  .qem-site-header__account-button span,
  .qem-site-header__language-label span:last-child {
    font-size: 11px;
  }
}

@media (max-width: 920px) {
  .qem-site-header {
    position: relative;
  }

  .qem-legacy-header {
    display: none;
  }

  .qem-site-header__top .qem-site-header__inner {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 14px 0;
  }

  .qem-site-header__brand {
    min-width: 0;
  }

  .qem-site-header__drawer-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .qem-site-header__actions {
    grid-column: 1 / -1;
    order: 2;
    justify-content: center;
    min-width: 0;
    width: 100%;
  }

  .qem-site-header__search {
    grid-column: 1 / -1;
    order: 3;
    width: 100%;
  }

  .qem-site-header__language {
    min-width: 62px;
  }

  .qem-site-header__language-label span:last-child {
    display: none;
  }

  .qem-site-header__language-select {
    width: 62px;
    min-height: 28px;
    font-size: 11px;
    padding: 0 5px;
  }

  .qem-site-header__action {
    min-width: 42px;
  }

  .qem-site-header__account-menu {
    right: auto;
    left: 50%;
    width: max-content;
    max-width: calc(100vw - 24px);
    transform: translateX(-50%);
  }

  .qem-site-header__action span,
  .qem-site-header__action small {
    display: none;
  }

  .qem-site-header__inner--nav {
    grid-template-columns: 1fr;
    min-height: 48px;
  }

  .qem-site-header__navrow {
    display: none;
  }

  .qem-site-header__menu {
    display: none;
  }

  .qem-site-header__category-nav {
    border-right: 0;
    padding-right: 0;
  }

  .qem-search-mobile-filter {
    display: block;
  }

  .qem-mobile-header {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    align-items: center;
    gap: 10px;
    min-height: 64px;
    padding: 0 14px;
    background: #111827;
    color: #ffffff;
  }

  .qem-mobile-header--secondary {
    background: #ffffff;
    border-bottom: 1px solid var(--qem-line);
    color: var(--qem-ink);
  }

  .qem-mobile-header__side {
    display: flex;
    justify-content: flex-start;
  }

  .qem-mobile-header__side--right {
    justify-content: flex-end;
  }

  .qem-mobile-header__button {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #ffffff;
    font-size: 22px;
    text-decoration: none;
  }

  .qem-mobile-header__button:hover,
  .qem-mobile-header__button:focus {
    background: rgba(255, 255, 255, .12);
    color: #ffffff;
  }

  .qem-mobile-header--secondary .qem-mobile-header__button {
    color: var(--qem-ink);
  }

  .qem-mobile-header--secondary .qem-mobile-header__button:hover,
  .qem-mobile-header--secondary .qem-mobile-header__button:focus {
    background: var(--qem-surface-soft);
    color: var(--primary-color);
  }

  .qem-mobile-header__brand {
    display: flex;
    justify-content: center;
    min-width: 0;
  }

  .qem-mobile-header__brand img {
    display: block;
    max-width: 170px;
    max-height: 42px;
    object-fit: contain;
  }
}

@media (max-width: 560px) {
  .qem-site-header__inner {
    width: calc(100% - 24px);
  }

  .qem-site-footer__inner {
    width: calc(100% - 24px);
  }

  .qem-site-footer__widgets {
    padding-top: 32px;
  }

  .qem-site-footer__social {
    gap: 8px;
  }

  .qem-site-footer__social a {
    min-height: 30px;
    padding: 5px 9px;
    font-size: 13px;
  }

  .qem-site-header__brand {
    font-size: 20px;
  }

  .qem-site-header__mark {
    width: 34px;
    height: 34px;
  }

  .qem-site-header__actions {
    gap: 4px;
  }

  .qem-site-header__language {
    min-width: 54px;
  }

  .qem-site-header__language-label .qem-site-header__svg {
    font-size: 24px;
  }

  .qem-site-header__language-select {
    width: 54px;
  }

  .qem-site-header__action,
  .qem-site-header__account-button {
    min-width: 36px;
  }

  .qem-site-header__action .qem-site-header__svg,
  .qem-site-header__account-button .qem-site-header__svg {
    font-size: 24px;
  }

  .qem-site-header .qe-searchhub-input {
    min-height: 48px;
    padding-left: 54px !important;
    padding-right: 94px !important;
    font-size: 15px;
  }

  .qem-site-header .qe-searchhub-icon {
    width: 38px;
    height: 38px;
    font-size: 24px;
  }

  .qem-site-header .qe-searchhub-submit {
    left: 8px;
  }

  .qem-site-header .qe-searchhub-clear {
    right: 48px;
  }

  .qem-site-header .qe-searchhub-voice {
    right: 6px;
    width: 38px;
  }
}

@media (max-width: 380px) {
  .qem-site-header__brand {
    font-size: 18px;
  }

  .qem-site-header__category-toggle {
    height: 42px;
    padding: 0 12px;
  }

  .qem-site-header .qe-searchhub-input {
    padding-left: 50px !important;
    padding-right: 86px !important;
  }

  .qem-site-header .qe-searchhub-clear {
    right: 42px;
  }

  .qem-site-header .qe-searchhub-voice {
    right: 4px;
  }
}

.qem-site-notice {
  align-items: center;
  border: 1px solid transparent;
  color: #111827;
  display: flex;
  gap: 12px;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  position: relative;
  text-align: center;
}

.qem-site-notice p {
  align-items: center;
  display: inline-flex;
  gap: 8px;
  line-height: 1.4;
  margin: 0;
  min-width: 0;
}

.qem-site-notice--danger {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

.qem-site-notice--warning {
  background: #fff7e4;
  border-color: #f0ce83;
  color: #5e4318;
}

.qem-site-notice__action {
  align-items: center;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: inherit;
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  justify-content: center;
  line-height: 1.2;
  min-height: 30px;
  padding: 6px 12px;
  text-decoration: none;
  white-space: nowrap;
}

.qem-site-notice__action:hover,
.qem-site-notice__action:focus {
  background: rgba(255, 255, 255, .55);
  color: inherit;
  outline: none;
  text-decoration: none;
}

.qem-site-notice__close {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: currentColor;
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 22px;
  height: 32px;
  justify-content: center;
  line-height: 1;
  opacity: .72;
  padding: 0;
  width: 32px;
}

.qem-site-notice__close:hover,
.qem-site-notice__close:focus {
  background: rgba(255, 255, 255, .55);
  opacity: 1;
  outline: none;
}

@media (max-width: 560px) {
  .qem-site-notice {
    align-items: stretch;
    flex-direction: column;
    padding: 12px;
  }

  .qem-site-notice p {
    justify-content: center;
    overflow-wrap: anywhere;
  }

  .qem-site-notice__action {
    width: 100%;
    white-space: normal;
  }

  .qem-site-notice__close {
    position: absolute;
    top: 6px;
    right: 6px;
  }
}

.qem-site-messages {
  margin: 16px auto;
  max-width: 1180px;
  padding: 0 18px;
}

.qem-site-messages--sitewide {
  margin-bottom: 0;
  margin-top: 0;
  max-width: none;
  padding: 0;
}

.qem-site-messages--page-top {
  margin-bottom: 0;
  margin-top: 0;
  max-width: none;
  padding: 0;
  width: 100%;
}

.qem-site-message {
  align-items: flex-start;
  background: #eef6ff;
  border: 1px solid #bedcf8;
  border-left: 4px solid #2878c8;
  border-radius: 8px;
  color: #18334c;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin: 0 auto 12px;
  max-width: 1180px;
  padding: 14px 16px;
  transition: opacity .18s ease, transform .18s ease;
}

.qem-site-message.is-dismissing {
  opacity: 0;
  transform: translateY(-6px);
}

.qem-site-messages--page-top .qem-site-message {
  border-left: 0;
  border-radius: 0;
  margin-bottom: 0;
  max-width: none;
  padding: 12px clamp(56px, 7vw, 112px) 12px clamp(18px, 5vw, 96px);
  position: relative;
}

.qem-site-messages--sitewide .qem-site-message {
  border-left: 0;
  border-radius: 0;
  margin-bottom: 0;
  max-width: none;
}

.qem-site-message--warning,
.qem-site-message--deadline,
.qem-site-message--maintenance {
  background: #fff7e4;
  border-color: #f0ce83;
  border-left-color: #c88417;
  color: #4c3510;
}

.qem-site-message--alert {
  background: #fff0f0;
  border-color: #efb8b8;
  border-left-color: #c93b3b;
  color: #541d1d;
}

.qem-site-message--promotion {
  background: #eef9f1;
  border-color: #b9e0c2;
  border-left-color: #2f8f4e;
  color: #173d25;
}

.qem-site-message__body {
  min-width: 0;
}

.qem-site-message__body strong {
  display: block;
  font-size: 15px;
  line-height: 1.35;
  margin-bottom: 4px;
}

.qem-site-message__body p {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.qem-site-message__dismiss {
  flex: 0 0 auto;
  margin: 0;
}

.qem-site-message__dismiss button {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 4px;
  color: inherit;
  cursor: pointer;
  display: inline-flex;
  height: 32px;
  justify-content: center;
  padding: 0;
  width: 32px;
}

.qem-site-message__dismiss button:hover,
.qem-site-message__dismiss button:focus {
  background: transparent;
  outline: none;
}

.qem-site-message__dismiss-icon {
  height: 18px;
  width: 18px;
}

.qem-site-message__dismiss button:disabled {
  cursor: wait;
  opacity: .6;
}

.qem-site-messages--page-top .qem-site-message__dismiss {
  position: absolute;
  right: clamp(10px, 1.6vw, 24px);
  top: 8px;
}

.qem-exclusive-modal {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  transition: opacity .18s ease;
  z-index: 1050;
}

.qem-exclusive-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.qem-exclusive-modal__overlay {
  background: rgba(17, 24, 39, .52);
  inset: 0;
  position: absolute;
}

.qem-exclusive-modal__dialog {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, .22);
  max-height: calc(100vh - 48px);
  max-width: min(440px, calc(100vw - 32px));
  overflow: auto;
  position: relative;
  transform: translateY(8px);
  transition: transform .18s ease;
  width: 100%;
}

.qem-exclusive-modal.is-open .qem-exclusive-modal__dialog {
  transform: translateY(0);
}

.qem-exclusive-modal__header {
  align-items: center;
  border-bottom: 1px solid #eef0f4;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 18px 20px;
}

.qem-exclusive-modal__title {
  color: #111827;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
  margin: 0;
}

.qem-exclusive-modal__close {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: #667085;
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 28px;
  height: 34px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  width: 34px;
}

.qem-exclusive-modal__close:hover,
.qem-exclusive-modal__close:focus {
  background: #f3f4f6;
  color: #111827;
  outline: none;
}

.qem-exclusive-modal__body {
  color: #4b5563;
  padding: 20px;
}

.qem-exclusive-modal__body p {
  line-height: 1.5;
  margin: 0 0 18px;
}

.qem-exclusive-modal__action {
  align-items: center;
  background: #111827;
  border: 1px solid #111827;
  border-radius: 6px;
  color: #fff;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  text-decoration: none;
}

.qem-exclusive-modal__action:hover,
.qem-exclusive-modal__action:focus {
  background: #1f2937;
  border-color: #1f2937;
  color: #fff;
  outline: none;
  text-decoration: none;
}

@media (max-width: 640px) {
  .qem-site-message {
    gap: 10px;
    padding: 12px;
  }

  .qem-site-message__body strong {
    font-size: 14px;
  }

  .qem-site-message__body p {
    font-size: 13px;
  }
}

.qem-address-page-head {
  margin-bottom: 22px;
}

.qem-address-page-head p {
  margin: 0 0 4px;
  color: var(--qem-muted);
  font-size: 14px;
  font-weight: 700;
}

.qem-address-page-head h1 {
  margin: 0;
  color: var(--qem-ink);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.1;
  letter-spacing: 0;
}

.qem-ui-account-addresses-panel {
  display: block;
}

.qem-address-alert {
  margin-bottom: 16px;
  border: 1px solid #bfdbfe;
  border-radius: var(--qem-radius-sm);
  background: #eff6ff;
  color: #1d4ed8;
  padding: 13px 14px;
}

.qem-address-alert--danger {
  border-color: #fecaca;
  background: #fef2f2;
  color: #b91c1c;
}

.qem-address-alert p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.qem-address-book-header {
  align-items: flex-start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 18px;
}

.qem-address-book-header h2 {
  margin: 0;
  color: var(--qem-ink);
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: 0;
}

.qem-address-book-header p {
  margin: 6px 0 0;
  color: var(--qem-muted);
  font-size: 14px;
  line-height: 1.5;
}

.qem-address-book-header__actions,
.qem-address-actions,
.qem-address-badges,
.qem-address-modal-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.qem-address-book-header__actions {
  justify-content: flex-end;
}

.qem-address-count,
.qem-address-badge {
  align-items: center;
  border: 1px solid var(--qem-line);
  border-radius: 999px;
  color: var(--qem-muted);
  display: inline-flex;
  font-size: 12px;
  font-weight: 760;
  min-height: 28px;
  padding: 0 10px;
  white-space: nowrap;
}

.qem-address-badge--success {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #15803d;
}

.qem-address-button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: var(--qem-radius-sm);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  justify-content: center;
  line-height: 1.2;
  min-height: 42px;
  padding: 0 16px;
  text-decoration: none;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
  white-space: nowrap;
}

.qem-address-button--small {
  font-size: 13px;
  min-height: 34px;
  padding: 0 12px;
}

.qem-address-button--primary {
  background: var(--qem-ink);
  color: #fff;
}

.qem-address-button--primary:hover,
.qem-address-button--primary:focus {
  background: #111827;
  color: #fff;
}

.qem-address-button--secondary {
  border-color: var(--qem-line);
  background: #fff;
  color: var(--qem-ink);
}

.qem-address-button--secondary:hover,
.qem-address-button--secondary:focus {
  border-color: var(--qem-brand);
  color: var(--qem-brand);
}

.qem-address-button--danger {
  border-color: #fecaca;
  background: #fff;
  color: #b91c1c;
}

.qem-address-button--danger:hover,
.qem-address-button--danger:focus {
  background: #fef2f2;
  color: #991b1b;
}

.qem-address-empty,
.qem-address-card {
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius);
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .05);
}

.qem-address-empty {
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
  padding: 24px;
}

.qem-address-empty p {
  margin: 0;
  color: var(--qem-muted);
  font-size: 15px;
  line-height: 1.55;
}

.qem-address-card-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 24px;
}

.qem-address-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  padding: 18px;
}

.qem-address-card__head {
  align-items: flex-start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.qem-address-card__head h3 {
  margin: 0;
  color: var(--qem-ink);
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: 0;
}

.qem-address-lines {
  color: var(--qem-muted);
  font-size: 14px;
  line-height: 1.55;
}

.qem-address-note {
  margin-top: 8px;
}

.qem-address-note strong {
  color: var(--qem-ink);
}

.qem-address-actions {
  margin-top: auto;
}

.qem-address-inline-form {
  margin: 0;
}

.qem-address-modal {
  inset: 0;
  pointer-events: none;
  position: fixed;
  visibility: hidden;
  z-index: 1160;
}

.qem-address-modal.is-open {
  pointer-events: auto;
  visibility: visible;
}

.qem-address-modal__overlay {
  background: rgba(15, 23, 42, .52);
  inset: 0;
  opacity: 0;
  position: absolute;
  transition: opacity .18s ease;
}

.qem-address-modal.is-open .qem-address-modal__overlay {
  opacity: 1;
}

.qem-address-modal__dialog {
  background: #fff;
  border-radius: var(--qem-radius);
  box-shadow: 0 24px 70px rgba(15, 23, 42, .3);
  color: var(--qem-ink);
  display: flex;
  flex-direction: column;
  margin: 22px auto;
  max-height: calc(100vh - 44px);
  opacity: 0;
  overflow: hidden;
  position: relative;
  transform: translateY(18px);
  transition: opacity .18s ease, transform .18s ease;
  width: min(92vw, 680px);
}

.qem-address-modal.is-open .qem-address-modal__dialog {
  opacity: 1;
  transform: translateY(0);
}

.qem-address-modal__header {
  align-items: flex-start;
  border-bottom: 1px solid var(--qem-line);
  display: flex;
  gap: 14px;
  justify-content: space-between;
  padding: 20px 22px 16px;
}

.qem-address-modal__header h2 {
  margin: 0;
  color: var(--qem-ink);
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: 0;
}

.qem-address-modal__header p {
  margin: 5px 0 0;
  color: var(--qem-muted);
  font-size: 14px;
}

.qem-address-modal__close {
  align-items: center;
  background: #fff;
  border: 1px solid var(--qem-line);
  border-radius: 50%;
  color: var(--qem-ink);
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.qem-address-modal__close svg {
  height: 18px;
  width: 18px;
}

.qem-address-modal__close:hover,
.qem-address-modal__close:focus {
  border-color: var(--qem-brand);
  color: var(--qem-brand);
  outline: 3px solid rgba(37, 99, 235, .16);
}

.qem-address-modal-form {
  display: grid;
  gap: 14px;
  min-height: 0;
  overflow-y: auto;
  padding: 20px 22px 22px;
}

.qem-address-form-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.qem-address-field {
  display: grid;
  gap: 6px;
}

.qem-address-field label,
.qem-address-checkbox label {
  color: var(--qem-ink);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0;
}

.qem-address-field label span {
  color: #dc2626;
}

.qem-address-field label em {
  color: var(--qem-muted);
  font-style: normal;
  font-weight: 650;
}

.qem-address-input,
.qem-address-select,
.qem-address-textarea {
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius-sm);
  box-sizing: border-box;
  color: var(--qem-ink);
  font: inherit;
  font-size: 15px;
  padding: 0 13px;
  width: 100%;
}

.qem-address-input,
.qem-address-select {
  min-height: 46px;
}

.qem-address-textarea {
  min-height: 88px;
  padding-bottom: 10px;
  padding-top: 10px;
  resize: vertical;
}

.qem-address-input:focus,
.qem-address-select:focus,
.qem-address-textarea:focus {
  border-color: var(--qem-brand);
  outline: 3px solid rgba(37, 99, 235, .16);
}

.qem-address-checkbox label {
  align-items: center;
  display: inline-flex;
  gap: 9px;
}

.qem-address-checkbox input {
  accent-color: var(--qem-brand);
  height: 16px;
  width: 16px;
}

.qem-address-modal-actions {
  border-top: 1px solid var(--qem-line);
  justify-content: flex-end;
  margin-top: 2px;
  padding-top: 16px;
}

@media (max-width: 900px) {
  .qem-address-card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .qem-address-book-header,
  .qem-address-card__head {
    align-items: stretch;
    flex-direction: column;
  }

  .qem-address-book-header__actions {
    align-items: stretch;
    justify-content: flex-start;
  }

  .qem-address-book-header__actions .qem-address-button,
  .qem-address-empty .qem-address-button {
    width: 100%;
  }

  .qem-address-form-grid {
    grid-template-columns: 1fr;
  }

  .qem-address-modal__dialog {
    margin: 12px auto;
    max-height: calc(100vh - 24px);
    width: min(94vw, 680px);
  }

  .qem-address-modal__header,
  .qem-address-modal-form {
    padding-left: 18px;
    padding-right: 18px;
  }

  .qem-address-modal-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .qem-address-modal-actions .qem-address-button {
    width: 100%;
  }
}

/* Track A / Batch A4 - Customer account and order presentation */
.qem-account-page-title {
  border-bottom-color: var(--qem-line);
}

.qem-account-page-title p,
.qem-edit-profile-page-head p,
.qem-security-page-head p,
.qem-message-page-head p,
.qem-notification-page-head p,
.qem-address-page-head p {
  color: var(--qem-muted);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.qem-account-shell {
  background: #fff;
  padding: 32px 0 52px;
}

.qem-account-container {
  width: min(100%, 1180px);
}

.qem-account-layout {
  gap: 28px;
}

.qem-account-sidebar,
.qem-account-profile-card,
.qem-account-recent-orders,
.qem-account-stat-card,
.qem-edit-profile-panel,
.qem-security-panel,
.qem-message-alert,
.qem-message-panel,
.qem-notification-alert,
.qem-notification-empty,
.qem-notification-panel,
.qem-ui-account-addresses-panel,
.qem-address-empty,
.qem-address-card,
.qem-order-card {
  box-shadow: none;
}

.qem-account-sidebar,
.qem-account-profile-card,
.qem-account-recent-orders,
.qem-account-stat-card,
.qem-edit-profile-panel,
.qem-security-panel,
.qem-message-panel,
.qem-notification-panel,
.qem-ui-account-addresses-panel,
.qem-order-card {
  border-color: var(--qem-line);
  border-radius: var(--qem-radius-sm);
}

.qem-account-sidebar {
  background: #fff;
}

.qem-account-nav__link:focus-visible,
.qem-account-signout:focus-visible,
.qem-account-sidebar__avatar-link:focus-visible,
.qem-order-filter-tabs a:focus-visible,
.qem-order-pagination a:focus-visible,
.qem-address-button:focus-visible,
.qem-message-button:focus-visible,
.qem-message-text-action:focus-visible,
.qem-notification-button:focus-visible,
.qem-notification-text-action:focus-visible,
.qem-favorites-table__remove:focus-visible {
  outline: 3px solid rgba(37, 99, 235, .16);
  outline-offset: 2px;
}

.qem-account-nav__label,
.qem-order-row-action,
.qem-message-row-actions,
.qem-notification-row__actions,
.qem-address-actions {
  min-width: 0;
}

.qem-account-nav__label {
  overflow-wrap: anywhere;
}

.qem-account-nav__link--active {
  background: #f6f8fb;
}

.qem-account-stat-card,
.qem-account-profile-card,
.qem-account-recent-orders {
  background: #fff;
}

.qem-account-card-heading,
.qem-message-panel__header,
.qem-address-modal__header {
  border-bottom-color: var(--qem-line);
}

.qem-address-page-head h1,
.qem-edit-profile-page-head h1,
.qem-security-page-head h1,
.qem-message-page-head h1,
.qem-profile-orders .qem-utility-heading h1,
.qem-profile-partner-search .qem-utility-heading h1,
.qem-profile-seller-access .qem-utility-heading h1 {
  font-size: 24px;
  line-height: 1.25;
}

.qem-message-text-action--danger {
  color: #b42338;
}

.qem-message-button--danger {
  border-color: #efc5cb;
  color: #b42338;
}

.qem-message-button--danger:hover,
.qem-message-button--danger:focus-visible {
  border-color: #e59aa5;
  background: #fff5f6;
  color: #912018;
}

.qem-message-text-action--danger:hover,
.qem-message-text-action--danger:focus-visible {
  color: #912018;
}

.qem-table-wrap,
.qem-message-table-wrap {
  max-width: 100%;
}

.qem-table td,
.qem-message-table td,
.qem-favorites-table td {
  overflow-wrap: anywhere;
}

.qem-order-row-action a,
.qem-account-card-heading a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
}

@media (max-width: 760px) {
  .qem-account-shell {
    padding-top: 24px;
    padding-bottom: 40px;
  }

  .qem-account-layout {
    gap: 20px;
  }

  .qem-account-sidebar {
    padding: 14px;
  }

  .qem-account-sidebar__profile {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .qem-account-sidebar__avatar-link,
  .qem-account-sidebar__avatar {
    width: 48px;
    height: 48px;
  }

  .qem-account-nav {
    gap: 12px;
  }

  .qem-account-nav ul {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .qem-account-nav li {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .qem-account-nav__link {
    min-height: 38px;
    white-space: nowrap;
  }

  .qem-account-nav__label {
    overflow-wrap: normal;
  }

  .qem-account-nav__group {
    margin-top: 2px;
  }

  .qem-account-signout {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
  }
}

@media (max-width: 640px) {
  .qem-table-wrap,
  .qem-message-table-wrap {
    overflow-x: visible;
  }

  .qem-account-orders-preview,
  .qem-table--orders,
  .qem-profile-orders .qem-table,
  .qem-order-lookup .qem-table,
  .qem-profile-partner-search .qem-table,
  .qem-profile-seller-access .qem-table,
  .qem-message-table,
  .qem-favorites-table {
    min-width: 0;
  }

  .qem-account-orders-preview thead,
  .qem-table--orders thead,
  .qem-profile-orders .qem-table thead,
  .qem-order-lookup .qem-table thead,
  .qem-profile-partner-search .qem-table thead,
  .qem-profile-seller-access .qem-table thead,
  .qem-message-table thead,
  .qem-favorites-table thead {
    display: none;
  }

  .qem-account-orders-preview,
  .qem-account-orders-preview tbody,
  .qem-account-orders-preview tr,
  .qem-account-orders-preview td,
  .qem-table--orders,
  .qem-table--orders tbody,
  .qem-table--orders tr,
  .qem-table--orders td,
  .qem-profile-orders .qem-table,
  .qem-profile-orders .qem-table tbody,
  .qem-profile-orders .qem-table tr,
  .qem-profile-orders .qem-table td,
  .qem-order-lookup .qem-table,
  .qem-order-lookup .qem-table tbody,
  .qem-order-lookup .qem-table tr,
  .qem-order-lookup .qem-table td,
  .qem-profile-partner-search .qem-table,
  .qem-profile-partner-search .qem-table tbody,
  .qem-profile-partner-search .qem-table tr,
  .qem-profile-partner-search .qem-table td,
  .qem-profile-seller-access .qem-table,
  .qem-profile-seller-access .qem-table tbody,
  .qem-profile-seller-access .qem-table tr,
  .qem-profile-seller-access .qem-table td,
  .qem-message-table,
  .qem-message-table tbody,
  .qem-message-table tr,
  .qem-message-table td,
  .qem-favorites-table,
  .qem-favorites-table tbody,
  .qem-favorites-table tr,
  .qem-favorites-table td {
    display: block;
    width: 100%;
  }

  .qem-account-orders-preview tbody,
  .qem-table--orders tbody,
  .qem-profile-orders .qem-table tbody,
  .qem-order-lookup .qem-table tbody,
  .qem-profile-partner-search .qem-table tbody,
  .qem-profile-seller-access .qem-table tbody,
  .qem-message-table tbody,
  .qem-favorites-table tbody {
    display: grid;
    gap: 12px;
  }

  .qem-account-orders-preview tr,
  .qem-table--orders tr,
  .qem-profile-orders .qem-table tr,
  .qem-order-lookup .qem-table tr,
  .qem-profile-partner-search .qem-table tr,
  .qem-profile-seller-access .qem-table tr,
  .qem-message-table tr,
  .qem-favorites-table tr {
    border: 1px solid var(--qem-line);
    border-radius: var(--qem-radius-sm);
    background: #fff;
    padding: 10px 12px;
  }

  .qem-account-orders-preview td,
  .qem-table--orders td,
  .qem-profile-orders .qem-table td,
  .qem-order-lookup .qem-table td,
  .qem-profile-partner-search .qem-table td,
  .qem-profile-seller-access .qem-table td,
  .qem-message-table td,
  .qem-favorites-table td {
    display: grid;
    grid-template-columns: minmax(92px, 35%) minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    border: 0;
    padding: 8px 0;
    text-align: left;
  }

  .qem-account-orders-preview td + td,
  .qem-table--orders td + td,
  .qem-profile-orders .qem-table td + td,
  .qem-order-lookup .qem-table td + td,
  .qem-profile-partner-search .qem-table td + td,
  .qem-profile-seller-access .qem-table td + td,
  .qem-message-table td + td,
  .qem-favorites-table td + td {
    border-top: 1px solid #edf1f6;
  }

  .qem-account-orders-preview td::before,
  .qem-table--orders td::before,
  .qem-profile-orders .qem-table td::before,
  .qem-order-lookup .qem-table td::before,
  .qem-profile-partner-search .qem-table td::before,
  .qem-profile-seller-access .qem-table td::before,
  .qem-message-table td::before,
  .qem-favorites-table td::before {
    content: attr(data-label);
    color: var(--qem-muted);
    font-size: 12px;
    font-weight: 850;
    line-height: 1.35;
  }

  .qem-table td[colspan],
  .qem-message-table td[colspan],
  .qem-favorites-table td[colspan] {
    display: block;
    text-align: center;
  }

  .qem-table td[colspan]::before,
  .qem-message-table td[colspan]::before,
  .qem-favorites-table td[colspan]::before {
    content: none;
  }

  .qem-favorites-table__image,
  .qem-favorites-table__action,
  .qem-message-table__right,
  .qem-table__center,
  .qem-table__right {
    text-align: left;
  }

  .qem-favorites-table__remove,
  .qem-order-row-action a {
    width: 100%;
    justify-content: center;
  }
}

.qem-seller-offer-page {
  background: #f7f9fc;
  color: var(--qem-ink);
  padding: 42px 0 56px;
}

.qem-seller-offer-page__inner {
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 22px;
}

.qem-seller-offer-hero {
  border-bottom: 1px solid var(--qem-line);
  margin-bottom: 28px;
  padding-bottom: 18px;
}

.qem-seller-offer-hero p {
  color: var(--qem-muted);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0;
  margin: 0 0 6px;
}

.qem-seller-offer-hero h1 {
  color: var(--qem-ink);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.12;
  letter-spacing: 0;
  margin: 0;
}

.qem-seller-offer-layout {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
}

.qem-seller-offer-aside,
.qem-seller-offer-main {
  min-width: 0;
}

.qem-seller-offer-main {
  display: grid;
  gap: 18px;
}

.qem-seller-offer-panel,
.qem-seller-offer-alert {
  background: #fff;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius);
  box-shadow: 0 12px 32px rgba(15, 23, 42, .05);
  padding: 22px;
}

.qem-seller-offer-panel h2 {
  color: var(--qem-ink);
  font-size: 22px;
  line-height: 1.22;
  letter-spacing: 0;
  margin: 0 0 10px;
}

.qem-seller-offer-panel p {
  color: var(--qem-muted);
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}

.qem-seller-offer-link {
  color: var(--qem-brand);
  display: inline-flex;
  font-size: 15px;
  font-weight: 760;
  margin-top: 16px;
  text-decoration: none;
}

.qem-seller-offer-link:hover,
.qem-seller-offer-link:focus {
  color: var(--qem-brand-dark);
  text-decoration: underline;
}

.qem-seller-offer-alert {
  box-shadow: none;
  padding: 14px 16px;
}

.qem-seller-offer-alert ul,
.qem-seller-offer-alert p {
  margin: 0;
}

.qem-seller-offer-alert ul {
  padding-left: 18px;
}

.qem-seller-offer-alert--danger {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

.qem-seller-offer-alert--success {
  background: #ecfdf5;
  border-color: #bbf7d0;
  color: #166534;
}

.qem-seller-offer-summary__head {
  align-items: flex-start;
  display: flex;
  gap: 14px;
  justify-content: space-between;
}

.qem-seller-offer-summary__head p,
.qem-seller-offer-fact p {
  color: var(--qem-muted);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0;
  margin: 0 0 5px;
}

.qem-seller-offer-summary__head h2 {
  margin-bottom: 0;
  overflow-wrap: anywhere;
}

.qem-seller-offer-status {
  background: #eef6ff;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  color: #1d4ed8;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 760;
  line-height: 1;
  padding: 7px 10px;
}

.qem-seller-offer-facts {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 22px;
}

.qem-seller-offer-fact {
  background: #f8fafc;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius-sm);
  padding: 14px;
}

.qem-seller-offer-fact strong {
  color: var(--qem-ink);
  display: block;
  font-size: 17px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.qem-seller-offer-note {
  border-top: 1px solid var(--qem-line);
  margin-top: 22px;
  padding-top: 18px;
}

.qem-seller-offer-form {
  display: grid;
  gap: 15px;
  margin-top: 14px;
}

.qem-seller-offer-field {
  display: grid;
  gap: 7px;
}

.qem-seller-offer-field label {
  color: var(--qem-ink);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0;
}

.qem-seller-offer-control {
  background: #fff;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius-sm);
  box-sizing: border-box;
  color: var(--qem-ink);
  font: inherit;
  font-size: 15px;
  min-height: 46px;
  padding: 0 13px;
  width: 100%;
}

.qem-seller-offer-textarea {
  min-height: 96px;
  padding-bottom: 10px;
  padding-top: 10px;
  resize: vertical;
}

.qem-seller-offer-control:focus {
  border-color: var(--qem-brand);
  outline: 3px solid rgba(37, 99, 235, .16);
}

.qem-seller-offer-button {
  align-items: center;
  background: #111827;
  border: 1px solid #111827;
  border-radius: var(--qem-radius-sm);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 15px;
  font-weight: 760;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  width: fit-content;
}

.qem-seller-offer-button:hover,
.qem-seller-offer-button:focus {
  background: #020617;
  border-color: #020617;
  outline: 3px solid rgba(17, 24, 39, .18);
}

.qem-seller-intake-page {
  background: #f7f9fc;
  color: var(--qem-ink);
  padding: 42px 0 56px;
}

.qem-seller-intake-page__inner {
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 22px;
}

.qem-seller-intake-hero {
  border-bottom: 1px solid var(--qem-line);
  margin-bottom: 28px;
  padding-bottom: 18px;
}

.qem-seller-intake-hero p {
  color: var(--qem-muted);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0;
  margin: 0 0 6px;
}

.qem-seller-intake-hero h1 {
  color: var(--qem-ink);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.12;
  letter-spacing: 0;
  margin: 0;
}

.qem-seller-intake-layout {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
}

.qem-seller-intake-aside,
.qem-seller-intake-main {
  min-width: 0;
}

.qem-seller-intake-main,
.qem-seller-intake-form--submission {
  display: grid;
  gap: 18px;
}

.qem-seller-intake-panel,
.qem-seller-intake-alert {
  background: #fff;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius);
  box-shadow: 0 12px 32px rgba(15, 23, 42, .05);
  padding: 22px;
}

.qem-seller-intake-panel h2 {
  color: var(--qem-ink);
  font-size: 22px;
  line-height: 1.22;
  letter-spacing: 0;
  margin: 0 0 12px;
}

.qem-seller-intake-panel p {
  color: var(--qem-muted);
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}

.qem-seller-intake-panel__head,
.qem-seller-intake-item__head,
.qem-seller-intake-summary__head {
  align-items: flex-start;
  display: flex;
  gap: 14px;
  justify-content: space-between;
}

.qem-seller-intake-panel__head h2,
.qem-seller-intake-summary__head h2 {
  margin-bottom: 0;
}

.qem-seller-intake-list {
  color: var(--qem-muted);
  display: grid;
  gap: 8px;
  line-height: 1.5;
  margin: 16px 0 0;
  padding-left: 18px;
}

.qem-seller-intake-link {
  color: var(--qem-brand);
  display: inline-flex;
  font-size: 15px;
  font-weight: 760;
  margin-top: 16px;
  text-decoration: none;
}

.qem-seller-intake-link:hover,
.qem-seller-intake-link:focus {
  color: var(--qem-brand-dark);
  text-decoration: underline;
}

.qem-seller-intake-warning {
  color: #b45309;
  margin-top: 14px;
}

.qem-seller-intake-alert {
  box-shadow: none;
  padding: 14px 16px;
}

.qem-seller-intake-alert ul,
.qem-seller-intake-alert p {
  margin: 0;
}

.qem-seller-intake-alert ul {
  padding-left: 18px;
}

.qem-seller-intake-alert .qem-seller-intake-link {
  margin-top: 10px;
}

.qem-seller-intake-alert--danger {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

.qem-seller-intake-alert--success {
  background: #ecfdf5;
  border-color: #bbf7d0;
  color: #166534;
}

.qem-seller-intake-alert--info {
  background: #f5f8ff;
  border-color: rgba(44, 124, 246, .22);
  color: var(--qem-brand-strong);
  margin-top: 16px;
}

.qem-seller-intake-form {
  display: grid;
  gap: 15px;
}

.qem-seller-intake-form-grid {
  display: grid;
  gap: 15px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.qem-seller-intake-form-grid[hidden] {
  display: none !important;
}

.qem-seller-intake-field {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.qem-seller-intake-field--full {
  grid-column: 1 / -1;
}

.qem-seller-intake-field label {
  color: var(--qem-ink);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0;
}

.qem-seller-intake-field label span {
  color: #dc2626;
}

.qem-seller-intake-control {
  background: #fff;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius-sm);
  box-sizing: border-box;
  color: var(--qem-ink);
  font: inherit;
  font-size: 15px;
  min-height: 46px;
  padding: 0 13px;
  width: 100%;
}

.qem-seller-intake-textarea {
  min-height: 96px;
  padding-bottom: 10px;
  padding-top: 10px;
  resize: vertical;
}

.qem-seller-intake-file {
  align-items: center;
  display: flex;
  padding: 10px 13px;
}

.qem-seller-intake-control:focus {
  border-color: var(--qem-brand);
  outline: 3px solid rgba(37, 99, 235, .16);
}

.qem-seller-intake-check label,
.qem-seller-intake-check--block {
  align-items: flex-start;
  color: var(--qem-ink);
  display: flex;
  font-size: 14px;
  gap: 9px;
  line-height: 1.45;
}

.qem-seller-intake-check input {
  accent-color: var(--qem-brand);
  flex: 0 0 auto;
  height: 16px;
  margin-top: 2px;
  width: 16px;
}

.qem-seller-intake-check p,
.qem-seller-intake-note {
  color: var(--qem-muted);
  font-size: 13px;
  line-height: 1.5;
  margin-top: 8px;
}

.qem-seller-intake-button {
  align-items: center;
  background: #111827;
  border: 1px solid #111827;
  border-radius: var(--qem-radius-sm);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 15px;
  font-weight: 760;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  text-decoration: none;
  width: fit-content;
}

.qem-seller-intake-button:hover,
.qem-seller-intake-button:focus {
  background: #020617;
  border-color: #020617;
  outline: 3px solid rgba(17, 24, 39, .18);
}

.qem-seller-intake-button--secondary {
  background: #fff;
  border-color: var(--qem-line);
  color: var(--qem-ink);
}

.qem-seller-intake-button--secondary:hover,
.qem-seller-intake-button--secondary:focus {
  background: #f8fafc;
  border-color: var(--qem-brand);
  color: var(--qem-brand);
}

.qem-seller-intake-button--danger {
  background: #b91c1c;
  border-color: #b91c1c;
}

.qem-seller-intake-button--danger:hover,
.qem-seller-intake-button--danger:focus {
  background: #991b1b;
  border-color: #991b1b;
}

.qem-seller-intake-button--full {
  width: 100%;
}

.qem-seller-intake-text-button {
  background: none;
  border: 0;
  color: #b91c1c;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 760;
  padding: 0;
}

.qem-seller-intake-text-button:hover,
.qem-seller-intake-text-button:focus {
  color: #7f1d1d;
  text-decoration: underline;
}

.qem-seller-intake-item {
  margin-top: 18px;
}

.qem-seller-intake-item hr,
.qem-seller-intake-detail {
  border: 0;
  border-top: 1px solid var(--qem-line);
  margin: 18px 0;
}

.qem-seller-intake-item h5 {
  color: var(--qem-ink);
  font-size: 17px;
  line-height: 1.25;
  letter-spacing: 0;
  margin: 0 0 14px;
}

.qem-seller-intake-summary__head p,
.qem-seller-intake-fact p,
.qem-seller-intake-detail p {
  color: var(--qem-muted);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0;
  margin: 0 0 5px;
}

.qem-seller-intake-summary__head h2 {
  overflow-wrap: anywhere;
}

.qem-seller-intake-lead {
  color: var(--qem-ink);
  font-size: 18px;
  line-height: 1.45;
  margin-top: 18px;
}

.qem-seller-intake-facts {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.qem-seller-intake-facts--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.qem-seller-intake-facts--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.qem-seller-intake-fact {
  background: #f8fafc;
  border: 1px solid var(--qem-line);
  border-radius: var(--qem-radius-sm);
  padding: 14px;
}

.qem-seller-intake-fact strong,
.qem-seller-intake-detail strong {
  color: var(--qem-ink);
  display: block;
  font-size: 16px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.qem-seller-intake-status-badge {
  background: #eef6ff;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  color: #1d4ed8;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 760;
  line-height: 1;
  padding: 7px 10px;
}

.qem-seller-intake-status-badge--success {
  background: #ecfdf5;
  border-color: #bbf7d0;
  color: #166534;
}

.qem-seller-intake-status-badge--warning {
  background: #fffbeb;
  border-color: #fde68a;
  color: #92400e;
}

.qem-seller-intake-status-badge--danger {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

.qem-seller-intake-timeline {
  border-top: 1px solid var(--qem-line);
  display: grid;
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}

.qem-seller-intake-timeline li {
  align-items: flex-start;
  border-bottom: 1px solid var(--qem-line);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 16px 0;
}

.qem-seller-intake-timeline__body {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.qem-seller-intake-timeline__body strong {
  color: var(--qem-ink);
}

.qem-seller-intake-timeline__body p {
  flex-basis: 100%;
}

.qem-seller-intake-date {
  color: var(--qem-muted);
  flex: 0 0 auto;
  font-size: 13px;
}

.qem-seller-intake-inline-detail,
.qem-seller-intake-body-text {
  margin-top: 14px;
}

@media (max-width: 860px) {
  .qem-seller-offer-layout,
  .qem-seller-intake-layout {
    grid-template-columns: 1fr;
  }

  .qem-seller-intake-facts--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .qem-seller-offer-page,
  .qem-seller-intake-page {
    padding: 28px 0 38px;
  }

  .qem-seller-offer-page__inner,
  .qem-seller-intake-page__inner {
    padding: 0 16px;
  }

  .qem-seller-offer-panel,
  .qem-seller-offer-alert,
  .qem-seller-intake-panel,
  .qem-seller-intake-alert {
    padding: 18px;
  }

  .qem-seller-offer-summary__head,
  .qem-seller-intake-summary__head,
  .qem-seller-intake-panel__head,
  .qem-seller-intake-item__head,
  .qem-seller-intake-timeline li {
    align-items: flex-start;
    flex-direction: column;
  }

  .qem-seller-offer-facts,
  .qem-seller-intake-form-grid,
  .qem-seller-intake-facts--four,
  .qem-seller-intake-facts--three {
    grid-template-columns: 1fr;
  }

  .qem-seller-offer-button,
  .qem-seller-intake-button {
    width: 100%;
  }

  .qem-seller-intake-date {
    flex: 0 1 auto;
  }
}

/* Track A / Batch A3 final responsive overrides */
@media (max-width: 959px) {
  .qem-product-detail .qem-ui-product-buy-panel {
    order: 0;
  }

  .qem-product-detail .qem-product-media-viewer {
    display: block;
  }

  .qem-product-detail .qem-product-thumbs--desktop {
    display: block;
  }

  .qem-product-detail .qem-product-thumbs {
    margin-top: 12px;
  }

  .qem-product-detail .qem-product-thumbs__list {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 4px;
  }

  .qem-product-detail .qem-product-thumbs__list > li {
    flex: 0 0 clamp(72px, 24vw, 112px);
  }

  .qem-product-detail .qe-single-thumb-link {
    height: 72px;
    min-height: 72px;
  }
}

@media (max-width: 640px) {
  .qem-product-detail .qem-product-media-items {
    aspect-ratio: 1 / 1;
    min-height: 0;
  }

  .qem-product-detail .qem-product-thumbs__list {
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .qem-product-detail .qem-product-purchase-row {
    grid-template-columns: 1fr;
  }

  .qem-product-detail .qem-product-save-action {
    justify-content: flex-start;
  }

  .qem-product-detail .qem-sticky-product-bar__actions {
    display: grid;
  }
}

/* Consolidated corrective Track A storefront visual pass */
:root {
  --qem-corrective-bg: #f7f8fa;
  --qem-corrective-surface: #ffffff;
  --qem-corrective-surface-soft: #f3f6f8;
  --qem-corrective-border: #e0e5eb;
  --qem-corrective-ink: #111827;
  --qem-corrective-muted: #657084;
  --qem-corrective-accent: #2563eb;
  --qem-corrective-action: #111827;
  --qem-corrective-radius: 8px;
  --qem-corrective-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

body {
  background: var(--qem-corrective-bg);
  color: var(--qem-corrective-ink);
  font-size: 15px;
  line-height: 1.55;
}

body,
button,
input,
select,
textarea {
  letter-spacing: 0;
}

.qem-container,
.qem-site-header__inner,
.qem-mobile-header,
.qem-sidemenu__panel,
.qem-footer__inner {
  box-sizing: border-box;
}

.qem-site-header {
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--qem-corrective-border);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.055);
  position: sticky;
  top: 0;
  z-index: 50;
}

.qem-site-header__top {
  border-bottom: 0;
}

.qem-site-header__inner {
  gap: 22px;
  min-height: 72px;
  padding-bottom: 12px;
  padding-top: 12px;
}

.qem-site-header__brand {
  gap: 10px;
  min-width: max-content;
}

.qem-site-header__mark {
  background: var(--qem-corrective-action);
  border-radius: var(--qem-corrective-radius);
  box-shadow: none;
  height: 36px;
  width: 36px;
}

.qem-site-header__name {
  color: var(--qem-corrective-ink);
  font-size: 18px;
  font-weight: 780;
}

.qem-site-header__search {
  max-width: 640px;
}

.qem-site-header__search .qem-searchhub {
  border-radius: var(--qem-corrective-radius);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.07);
}

.qem-site-header__actions {
  gap: 8px;
}

.qem-site-header__action,
.qem-site-header__account-button,
.qem-site-header__category-toggle {
  border-radius: var(--qem-corrective-radius);
  color: var(--qem-corrective-ink);
  font-size: 12px;
  font-weight: 720;
  min-height: 42px;
  padding: 8px 10px;
}

.qem-site-header__action:hover,
.qem-site-header__action:focus,
.qem-site-header__account-button:hover,
.qem-site-header__account-button:focus,
.qem-site-header__category-toggle:hover,
.qem-site-header__category-toggle:focus {
  background: var(--qem-corrective-surface-soft);
  color: var(--qem-corrective-ink);
}

.qem-site-header__action-icon {
  color: var(--qem-corrective-ink);
}

.qem-site-header__svg {
  height: 20px;
  width: 20px;
}

.qem-site-header__navrow {
  background: #ffffff;
  border-top: 1px solid var(--qem-corrective-border);
}

.qem-site-header__inner--nav {
  min-height: 44px;
  padding-bottom: 0;
  padding-top: 0;
}

.qem-site-header__category-nav {
  align-items: center;
  gap: 2px;
}

.qem-site-header__category-nav > a,
.qem-site-header__collection-trigger,
.qem-site-header__all-category {
  border-radius: var(--qem-corrective-radius);
  color: #273244;
  font-size: 13px;
  font-weight: 720;
  min-height: 34px;
  padding: 8px 11px;
}

.qem-site-header__category-nav > a:hover,
.qem-site-header__category-nav > a:focus,
.qem-site-header__collection-trigger:hover,
.qem-site-header__collection-trigger:focus,
.qem-site-header__collection-trigger[aria-expanded="true"],
.qem-site-header__all-category:hover,
.qem-site-header__all-category:focus,
.qem-mega-menu__trigger[aria-expanded="true"] {
  background: var(--qem-corrective-surface-soft);
  color: var(--qem-corrective-ink);
}

@media (min-width: 992px) {
  .qem-site-header__category-nav {
    overflow: visible;
  }
}

.qem-site-header__account-menu {
  border: 1px solid var(--qem-corrective-border);
  border-radius: var(--qem-corrective-radius);
  box-shadow: var(--qem-corrective-shadow);
  min-width: 210px;
  padding: 8px;
}

.qem-site-header__account-menu a {
  border-radius: 6px;
  color: var(--qem-corrective-ink);
  font-size: 14px;
  padding: 10px 12px;
}

.qem-site-header__account-menu a:hover,
.qem-site-header__account-menu a:focus {
  background: var(--qem-corrective-surface-soft);
  color: var(--qem-corrective-ink);
}

.qem-site-header--account-header .qem-site-header__actions--account-header {
  gap: 16px;
}

.qem-site-header--account-header .qem-site-header__account-button--avatar,
.qem-site-header--account-header .qem-site-header__action--cart-inline {
  min-height: 52px;
  padding: 0;
}

.qem-site-header--account-header .qem-site-header__account-button--avatar:hover,
.qem-site-header--account-header .qem-site-header__account-button--avatar:focus,
.qem-site-header--account-header .qem-site-header__action--cart-inline:hover,
.qem-site-header--account-header .qem-site-header__action--cart-inline:focus {
  background: transparent;
}

.qem-site-header--account-header .qem-site-header__action .qem-site-header__svg,
.qem-site-header--account-header .qem-site-header__account-button .qem-site-header__svg,
.qem-site-header--account-header .qem-site-header__action-icon .qem-lucide-icon,
.qem-site-header--account-header .qem-site-header__account-button .qem-lucide-icon {
  width: 29px;
  height: 29px;
}

.qem-site-header--account-header .qem-site-header__account-caret .qem-site-header__svg,
.qem-site-header--account-header .qem-site-header__account-caret .qem-lucide-icon {
  width: 21px;
  height: 21px;
}

.qem-site-header--account-header .qem-site-header__account-menu {
  min-width: 282px;
  padding: 0;
  overflow: hidden;
  border-radius: 8px;
}

.qem-site-header--account-header .qem-site-header__account-menu.is-open {
  display: block;
}

.qem-site-header--account-header .qem-site-header__account-menu a {
  gap: 16px;
  padding: 14px 20px;
  border-radius: 0;
  color: #3f3f46;
  font-size: 18px;
  font-weight: 400;
}

.qem-site-header--account-header .qem-site-header__account-menu a .qem-site-header__svg,
.qem-site-header--account-header .qem-site-header__account-menu a .qem-lucide-icon {
  width: 22px;
  height: 22px;
}

.qem-site-header--account-header .qem-site-header__account-menu .qem-message-menu-link {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  justify-content: normal;
  column-gap: 16px;
}

.qem-site-header--account-header .qem-site-header__account-menu .qem-message-menu-link .qem-message-badge {
  justify-self: end;
}

.qem-mega-menu__panel {
  border: 1px solid var(--qem-corrective-border);
  border-radius: var(--qem-corrective-radius);
  box-shadow: var(--qem-corrective-shadow);
  overflow: hidden;
  top: calc(100% + 10px);
}

.qem-mega-menu__rail,
.qem-mega-menu__subrail,
.qem-mega-menu__promo-zone,
.qem-mega-menu__footer {
  background: #ffffff;
}

.qem-mega-menu__rail {
  border-right: 1px solid var(--qem-corrective-border);
  padding: 12px;
}

.qem-mega-menu__body {
  background: #ffffff;
}

.qem-mega-menu__rail-item,
.qem-mega-menu__sub-item,
.qem-mega-menu__links a,
.qem-mega-menu__view-all,
.qem-mega-menu__sub-footer-link,
.qem-mega-menu__content-footer {
  border-radius: 6px;
  color: #273244;
  font-size: 14px;
}

.qem-mega-menu__rail-item,
.qem-mega-menu__sub-item {
  min-height: 42px;
}

.qem-mega-menu__rail-item:hover,
.qem-mega-menu__rail-item:focus,
.qem-mega-menu__rail-item.is-active,
.qem-mega-menu__sub-item:hover,
.qem-mega-menu__sub-item:focus,
.qem-mega-menu__sub-item.is-active,
.qem-mega-menu__links a:hover,
.qem-mega-menu__links a:focus {
  background: var(--qem-corrective-surface-soft);
  color: var(--qem-corrective-ink);
}

.qem-mega-menu__content-header h3 {
  color: var(--qem-corrective-ink);
  font-size: 21px;
  font-weight: 760;
}

.qem-mega-menu__description {
  color: var(--qem-corrective-muted);
  font-size: 14px;
  line-height: 1.55;
}

.qem-mega-menu__promo-card {
  border-radius: var(--qem-corrective-radius);
  box-shadow: none;
}

.qem-home-1,
.qem-home-2,
.qem-home-3,
.qem-home-featured,
.qem-section {
  position: relative;
}

.qem-home-3 {
  margin-bottom: 44px;
  margin-top: 28px;
}

.qem-home-3__layout {
  align-items: stretch;
  background: #ffffff;
  border: 1px solid var(--qem-corrective-border);
  border-radius: var(--qem-corrective-radius);
  box-shadow: var(--qem-corrective-shadow);
  gap: 0;
  overflow: hidden;
}

.qem-home-3__menu {
  background: #ffffff;
  border-right: 1px solid var(--qem-corrective-border);
  box-shadow: none;
  padding: 14px;
}

.qem-home-3__menu-link {
  border-radius: 6px;
  color: #273244;
  font-size: 14px;
  font-weight: 720;
  min-height: 42px;
  padding: 10px 12px;
}

.qem-home-3__menu-link:hover,
.qem-home-3__menu-link:focus {
  background: var(--qem-corrective-surface-soft);
  color: var(--qem-corrective-ink);
  transform: none;
}

.qem-home-3__showcase {
  border-radius: 0;
  box-shadow: none;
  min-height: 360px;
}

.qem-home-3__slides,
.qem-home-3__slide-link,
.qem-home-3__image {
  min-height: 360px;
}

.qem-home-3__image {
  object-fit: cover;
}

.qem-home-3__controls,
.qem-home-2__controls {
  gap: 8px;
}

.qem-carousel-button {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--qem-corrective-border);
  border-radius: 999px;
  box-shadow: none;
  color: var(--qem-corrective-ink);
  height: 38px;
  width: 38px;
}

.qem-section {
  padding-bottom: 42px;
  padding-top: 42px;
}

.qem-section--soft {
  background: transparent;
}

.qem-section__header,
.qem-home-featured__heading {
  align-items: end;
  border-bottom: 1px solid var(--qem-corrective-border);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 22px;
  padding-bottom: 16px;
}

.qem-section__eyebrow,
.qem-section__meta,
.qem-home-featured__heading span {
  color: var(--qem-corrective-muted);
  font-size: 12px;
  font-weight: 780;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.qem-section__title,
.qem-home-featured__heading h3 {
  color: var(--qem-corrective-ink);
  font-size: clamp(24px, 2vw, 32px);
  font-weight: 720;
  line-height: 1.15;
  margin: 0;
}

.qem-home-featured__heading h3::after {
  display: none;
}

.qem-grid.qem-product-grid,
.qem-home-featured-grid {
  gap: 22px;
}

.qem-grid--4.qem-product-grid,
.qem-related-product-grid,
.qem-search-results-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.qem-product-card {
  background: #ffffff;
  border: 1px solid var(--qem-corrective-border);
  border-radius: var(--qem-corrective-radius);
  box-shadow: none;
  min-height: 100%;
  overflow: hidden;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.qem-product-card:hover,
.qem-product-card:focus-within {
  border-color: #c8d2df;
  box-shadow: var(--qem-corrective-shadow);
  transform: translateY(-2px);
}

.qem-product-card__main {
  color: inherit;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.qem-product-card__media {
  align-items: center;
  aspect-ratio: 4 / 3;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  border-bottom: 1px solid var(--qem-corrective-border);
  display: flex;
  justify-content: center;
  min-height: 0;
  padding: 16px;
}

.qem-product-card__media img {
  box-sizing: border-box;
  border-radius: 6px;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  width: 100%;
}

.qem-product-card__timer {
  background: rgba(17, 24, 39, 0.9);
  border-radius: 999px;
  color: #ffffff;
  font-size: 12px;
  inset: 12px auto auto 12px;
  padding: 7px 10px;
}

.qem-product-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 9px;
  padding: 16px 16px 14px;
}

.qem-product-card .qem-badge-row {
  gap: 5px;
  min-height: 20px;
}

.qem-product-card .qem-badge {
  border-radius: 999px;
  font-size: 11px;
  font-weight: 760;
  padding: 4px 7px;
}

.qem-product-card__meta {
  color: var(--qem-corrective-muted);
  font-size: 12px;
  font-weight: 720;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.qem-product-card__title {
  color: var(--qem-corrective-ink);
  display: -webkit-box;
  font-size: 15px;
  font-weight: 720;
  line-height: 1.35;
  max-height: calc(1.35em * 2);
  min-height: calc(1.35em * 2);
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.qem-product-card__title a {
  color: inherit;
  text-decoration: none;
}

.qem-product-card__text {
  color: var(--qem-corrective-muted);
  font-size: 13px;
  line-height: 1.45;
}

.qem-product-card .qem-rating {
  color: #f59e0b;
  font-size: 12px;
  margin-top: auto;
}

.qem-product-card__price-row {
  align-items: baseline;
  gap: 8px;
  margin-top: 2px;
}

.qem-product-card .qem-price {
  color: var(--qem-corrective-ink);
  font-size: 19px;
  font-weight: 780;
}

.qem-product-card__old-price {
  color: #9aa3b2;
  font-size: 13px;
}

.qem-product-card__discount {
  background: #fef3c7;
  border-radius: 999px;
  color: #92400e;
  font-size: 11px;
  font-weight: 760;
  padding: 4px 7px;
}

.qem-product-card__footer {
  align-items: center;
  border-top: 1px solid var(--qem-corrective-border);
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin-top: 4px;
  padding-top: 12px;
}

.qem-product-card__cta {
  display: none;
}

.qem-product-card__actions {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), #ffffff 28%);
  border-top: 1px solid rgba(200, 210, 223, 0.72);
  bottom: 0;
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  left: 0;
  opacity: 0;
  padding: 12px 16px 16px;
  pointer-events: none;
  position: absolute;
  right: 0;
  transform: none;
  transition: opacity 160ms ease;
  visibility: visible;
  z-index: 4;
}

.qem-product-card__actions::before {
  display: none;
}

.qem-product-card:hover .qem-product-card__actions,
.qem-product-card:focus-within .qem-product-card__actions {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.qem-product-card:hover .qem-product-card__price-row,
.qem-product-card:hover .qem-product-card__footer,
.qem-product-card:focus-within .qem-product-card__price-row,
.qem-product-card:focus-within .qem-product-card__footer {
  opacity: 0;
  transform: none;
}

.qem-product-card__action {
  pointer-events: auto;
}

.qem-product-card__action--wide {
  grid-column: 1 / -1;
}

@media (hover: none) {
  .qem-product-card__actions {
    background: #ffffff;
    border-top: 1px solid var(--qem-corrective-border);
    left: auto;
    opacity: 1;
    pointer-events: auto;
    position: static;
    right: auto;
    transform: none;
  }

  .qem-product-card:hover .qem-product-card__price-row,
  .qem-product-card:hover .qem-product-card__footer,
  .qem-product-card:focus-within .qem-product-card__price-row,
  .qem-product-card:focus-within .qem-product-card__footer {
    opacity: 1;
  }
}

.qem-button,
.qem-contact-button,
.qem-feedback-form__submit,
.qem-seller-intake-button,
.qem-business-directory-button,
.qem-payment-button,
.qem-checkout-button,
.qem-cart-button {
  border-radius: var(--qem-corrective-radius);
  font-weight: 760;
}

.qem-button--primary,
.qem-contact-button,
.qem-feedback-form__submit,
.qem-seller-intake-button--primary,
.qem-business-directory-button--primary,
.qem-payment-button--primary,
.qem-checkout-button--primary {
  background: var(--qem-corrective-action);
  border-color: var(--qem-corrective-action);
}

.qem-page-title {
  background: #ffffff;
  border-bottom: 1px solid var(--qem-corrective-border);
}

.qem-page-title__container {
  padding-bottom: 18px;
  padding-top: 18px;
}

.qem-page-title h1,
.qem-section-header h1,
.qem-section-header h2,
.qem-section-header h3 {
  color: var(--qem-corrective-ink);
  font-weight: 720;
}

.qem-public-inventory-index-card,
.qem-public-inventory-listing-card,
.qem-business-directory-panel,
.qem-feedback-page__panel,
.qem-contact-panel,
.qem-cart-panel,
.qem-checkout-card,
.qem-payment-card,
.qem-account-card {
  border-color: var(--qem-corrective-border);
  border-radius: var(--qem-corrective-radius);
  box-shadow: none;
}

.qem-public-inventory-index-card:hover,
.qem-public-inventory-listing-card:hover {
  box-shadow: var(--qem-corrective-shadow);
}

.qem-footer {
  background: #ffffff;
  border-top: 1px solid var(--qem-corrective-border);
}

.qem-footer h2,
.qem-footer h3,
.qem-footer h4,
.qem-footer h5 {
  color: var(--qem-corrective-ink);
  font-weight: 720;
}

.qem-footer a {
  color: #394457;
}

.qem-footer a:hover,
.qem-footer a:focus {
  color: var(--qem-corrective-ink);
}

.qem-mobile-header {
  background: #ffffff;
  border-bottom: 1px solid var(--qem-corrective-border);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.qem-mobile-header__button {
  background: #ffffff;
  border: 1px solid var(--qem-corrective-border);
  border-radius: var(--qem-corrective-radius);
  color: var(--qem-corrective-ink);
}

.qem-sidemenu__panel {
  background: #ffffff;
  border-right: 1px solid var(--qem-corrective-border);
  box-shadow: var(--qem-corrective-shadow);
}

.qem-sidemenu__primary-action,
.qem-sidemenu__secondary-action {
  border-radius: var(--qem-corrective-radius);
}

.qem-sidemenu__nav a,
.qem-sidemenu__search,
.qem-mega-menu-mobile__trigger,
.qem-mega-menu-mobile__link {
  border-radius: 6px;
}

@media (max-width: 1100px) {
  .qem-site-header__inner {
    gap: 14px;
  }

  .qem-site-header__action span:not(.qem-site-header__action-icon),
  .qem-site-header__account-button > span:last-child {
    font-size: 11px;
  }

  .qem-grid--4.qem-product-grid,
  .qem-related-product-grid,
  .qem-search-results-grid {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  }
}

@media (max-width: 920px) {
  .qem-site-header {
    position: relative;
  }

  .qem-site-header__inner {
    min-height: 0;
  }

  .qem-home-3 {
    margin-top: 18px;
  }

  .qem-home-3__layout {
    display: grid;
    grid-template-columns: 1fr;
  }

  .qem-home-3__menu {
    border-bottom: 1px solid var(--qem-corrective-border);
    border-right: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .qem-home-3__showcase,
  .qem-home-3__slides,
  .qem-home-3__slide-link,
  .qem-home-3__image {
    min-height: 300px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 14px;
  }

  .qem-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .qem-section {
    padding-bottom: 30px;
    padding-top: 30px;
  }

  .qem-section__header,
  .qem-home-featured__heading {
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
  }

  .qem-section__title,
  .qem-home-featured__heading h3 {
    font-size: 23px;
  }

  .qem-home-3 {
    margin-bottom: 30px;
    margin-top: 14px;
  }

  .qem-home-3__layout {
    border-left: 0;
    border-radius: 0;
    border-right: 0;
    margin-left: -16px;
    margin-right: -16px;
  }

  .qem-home-3__menu {
    gap: 8px;
    grid-template-columns: 1fr;
    padding: 12px 16px;
  }

  .qem-home-3__showcase,
  .qem-home-3__slides,
  .qem-home-3__slide-link,
  .qem-home-3__image {
    min-height: 230px;
  }

  .qem-grid.qem-product-grid,
  .qem-home-featured-grid,
  .qem-grid--4.qem-product-grid,
  .qem-related-product-grid,
  .qem-search-results-grid {
    gap: 14px;
    grid-template-columns: 1fr;
  }

  .qem-product-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .qem-product-card__main {
    display: contents;
  }

  .qem-product-card__media {
    aspect-ratio: auto;
    border-bottom: 0;
    border-right: 1px solid var(--qem-corrective-border);
    min-height: 156px;
    padding: 10px;
  }

  .qem-product-card__body {
    padding: 12px;
  }

  .qem-product-card__title {
    font-size: 14px;
  }

  .qem-product-card .qem-price {
    font-size: 17px;
  }

  .qem-product-card__footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .qem-product-card__actions {
    background: #ffffff;
    border-top: 1px solid var(--qem-corrective-border);
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    left: auto;
    opacity: 1;
    padding: 10px 12px 12px;
    pointer-events: auto;
    position: static;
    right: auto;
    transform: none;
  }

  .qem-product-card__action {
    min-height: 40px;
  }

  .qem-mobile-header__brand img {
    max-height: 30px;
  }
}

@media (max-width: 380px) {
  .qem-product-card {
    grid-template-columns: 100px minmax(0, 1fr);
  }

  .qem-product-card__media {
    min-height: 145px;
  }

  .qem-product-card__body {
    gap: 7px;
    padding: 10px;
  }

  .qem-product-card .qem-badge {
    font-size: 10px;
    padding: 3px 6px;
  }
}

.qem-product-card .qem-product-card__title,
.qem-product-card--approved .qem-product-card__title,
.qem-location-deal-card .qem-location-deal-card__title {
  display: -webkit-box;
  max-height: calc(1.35em * 2);
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

/* Update 2: public core typography normalization. */
:root {
  --qem-public-type-h1-size: var(--type-h1-size, 2.25rem);
  --qem-public-type-h1-line: var(--type-h1-line, 2.75rem);
  --qem-public-type-h2-size: var(--type-h2-size, 1.75rem);
  --qem-public-type-h2-line: var(--type-h2-line, 2.25rem);
  --qem-public-type-h3-size: var(--type-h3-size, 1.375rem);
  --qem-public-type-h3-line: var(--type-h3-line, 1.75rem);
  --qem-public-type-h4-size: var(--type-h4-size, 1.125rem);
  --qem-public-type-h4-line: var(--type-h4-line, 1.5rem);
  --qem-public-type-body-lg-size: var(--type-body-lg-size, 1rem);
  --qem-public-type-body-lg-line: var(--type-body-lg-line, 1.5rem);
  --qem-public-type-body-size: var(--type-body-size, .875rem);
  --qem-public-type-body-line: var(--type-body-line, 1.25rem);
  --qem-public-type-body-sm-size: var(--type-body-sm-size, .75rem);
  --qem-public-type-body-sm-line: var(--type-body-sm-line, 1rem);
  --qem-public-type-caption-size: var(--type-caption-size, .6875rem);
  --qem-public-type-caption-line: var(--type-caption-line, 1rem);
  --qem-public-weight-regular: var(--weight-regular, 400);
  --qem-public-weight-heading: var(--weight-heading, 600);
}

.qem-page-title h1,
.qem-section-header h1,
.qem-ui-commerce-heading h1,
.qem-address-page-head h1,
.qem-edit-profile-page-head h1,
.qem-security-page-head h1,
.qem-message-page-head h1,
.qem-profile-orders .qem-utility-heading h1,
.qem-profile-partner-search .qem-utility-heading h1,
.qem-profile-seller-access .qem-utility-heading h1,
.qem-seller-offer-hero h1,
.qem-seller-intake-hero h1 {
  font-size: var(--qem-public-type-h1-size);
  font-weight: var(--qem-public-weight-heading);
  line-height: var(--qem-public-type-h1-line);
  letter-spacing: 0;
}

.qem-section-header h2,
.qem-checkout-section h2,
.qem-cart-panel h2,
.qem-payment-card h2,
.qem-address-modal__header h2,
.qem-message-panel__header h2,
.qem-seller-offer-panel h2,
.qem-seller-offer-summary__head h2,
.qem-seller-intake-panel h2,
.qem-seller-intake-panel__head h2,
.qem-seller-intake-summary__head h2 {
  font-size: var(--qem-public-type-h2-size);
  font-weight: var(--qem-public-weight-heading);
  line-height: var(--qem-public-type-h2-line);
  letter-spacing: 0;
}

.qem-section-header h3,
.qem-searchhub-results h3,
.qem-mega-menu__content-header h3,
.qem-home-featured__heading h3,
.qem-product-content-card h3,
.qem-product-seller-card h3,
.qem-business-directory-panel h3,
.qem-feedback-page__panel h3,
.qem-contact-panel h3,
.qem-account-card h3 {
  font-size: var(--qem-public-type-h3-size);
  font-weight: var(--qem-public-weight-heading);
  line-height: var(--qem-public-type-h3-line);
  letter-spacing: 0;
}

.qem-footer h2,
.qem-footer h3,
.qem-footer h4,
.qem-footer h5,
.qem-mega-menu h4,
.qem-cart-panel h3,
.qem-checkout-card h3,
.qem-payment-card h3,
.qem-address-card h3,
.qem-product-card__title,
.qem-location-deal-card__title {
  font-size: var(--qem-public-type-h4-size);
  font-weight: var(--qem-public-weight-heading);
  line-height: var(--qem-public-type-h4-line);
  letter-spacing: 0;
}

.qem-site-header__name {
  font-size: var(--qem-public-type-h4-size);
  font-weight: var(--qem-public-weight-heading);
  line-height: var(--qem-public-type-h4-line);
}

.qem-site-header__tagline,
.qem-site-header__action,
.qem-site-header__account-button,
.qem-site-header__category-toggle,
.qem-site-header__category-nav > a,
.qem-site-header__all-category,
.qem-sidemenu__nav a,
.qem-mega-menu-mobile__trigger,
.qem-mega-menu-mobile__link {
  font-size: var(--qem-public-type-body-sm-size);
  font-weight: var(--qem-public-weight-heading);
  line-height: var(--qem-public-type-body-sm-line);
  letter-spacing: 0;
}

.qem-button,
.qem-contact-button,
.qem-feedback-form__submit,
.qem-seller-intake-button,
.qem-business-directory-button,
.qem-payment-button,
.qem-checkout-button,
.qem-cart-button,
.qem-product-card__action,
.qem-address-button,
.qem-searchhub-submit,
.qem-searchhub-button {
  font-size: var(--qem-public-type-body-size);
  font-weight: var(--qem-public-weight-heading);
  line-height: var(--qem-public-type-body-line);
  letter-spacing: 0;
}

.qem-form-control,
.qem-business-directory-control,
.qem-feedback-form input,
.qem-feedback-form textarea,
.qem-contact-panel input,
.qem-contact-panel textarea,
.qem-checkout-card input,
.qem-checkout-card select,
.qem-checkout-card textarea,
.qem-payment-card input,
.qem-payment-card select,
.qem-payment-card textarea,
.qem-address-modal input,
.qem-address-modal select,
.qem-address-modal textarea,
.qem-searchhub-input {
  font-size: var(--qem-public-type-body-size);
  font-weight: var(--qem-public-weight-regular);
  line-height: var(--qem-public-type-body-line);
  letter-spacing: 0;
}

.qem-page-title p,
.qem-section-header p,
.qem-ui-commerce-heading p,
.qem-product-card__text,
.qem-product-content-card p,
.qem-product-seller-card p,
.qem-business-directory-panel p,
.qem-feedback-page__panel p,
.qem-contact-panel p,
.qem-cart-panel p,
.qem-checkout-card p,
.qem-payment-card p,
.qem-account-card p,
.qem-footer p,
.qem-footer a,
.qem-mega-menu__content-header p,
.qem-mega-menu__sub-footer-link,
.qem-mega-menu__content-footer {
  font-size: var(--qem-public-type-body-size);
  font-weight: var(--qem-public-weight-regular);
  line-height: var(--qem-public-type-body-line);
  letter-spacing: 0;
}

.qem-product-card__meta,
.qem-product-card__timer,
.qem-product-card .qem-badge,
.qem-product-card .qem-rating,
.qem-product-card__old-price,
.qem-product-card__discount,
.qem-address-modal label,
.qem-feedback-form label,
.qem-contact-panel label,
.qem-business-directory-panel label,
.qem-checkout-card label,
.qem-payment-card label {
  font-size: var(--qem-public-type-body-sm-size);
  line-height: var(--qem-public-type-body-sm-line);
  letter-spacing: 0;
}

.qem-product-card .qem-price,
.qem-product-card__price {
  font-size: var(--qem-public-type-h4-size);
  font-weight: var(--qem-public-weight-heading);
  line-height: var(--qem-public-type-h4-line);
}

@media (max-width: 640px) {
  .qem-product-card__title,
  .qem-location-deal-card__title {
    font-size: var(--qem-public-type-body-size);
    line-height: var(--qem-public-type-body-line);
  }

  .qem-product-card .qem-price,
  .qem-product-card__price {
    font-size: var(--qem-public-type-body-lg-size);
    line-height: var(--qem-public-type-body-lg-line);
  }
}

/* Product action and availability refinements */
.qem-product-detail .qem-product-stock-row {
  flex-wrap: nowrap;
  min-width: 0;
}

.qem-product-detail .qem-product-stock {
  min-width: 0;
  white-space: nowrap;
}

.qem-product-detail .qem-product-stock-row--purchase-label {
  margin: 10px 0 8px;
}

.qem-product-detail .qem-product-preview-actions {
  gap: 10px;
}

.qem-product-detail .qem-product-preview-action {
  text-decoration: none;
}

.tas_single .qem-product-preview-action.favbtn::after,
.tas_single .qem-product-preview-action.infav::after,
.tas_single .qem-product-preview-action.unfav::after,
.tas_single .qem-product-rail-save-action .favbtn::after,
.tas_single .qem-product-rail-save-action .infav::after,
.tas_single .qem-product-rail-save-action .unfav::after {
  content: none !important;
  display: none !important;
}

.qem-product-detail .qem-product-preview-action.favbtn {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--color-text-muted, var(--qem-muted));
}

.qem-product-detail .qem-product-preview-action.infav,
.qem-product-detail .qem-product-preview-action.infav:hover,
.qem-product-detail .qem-product-preview-action.infav:focus {
  color: #dc2626;
}

.qem-product-detail .qem-product-preview-action.infav .qem-product-favorite-icon {
  fill: currentColor;
}

.qem-product-rail-save-action,
.qem-product-rail-save-action > span {
  display: inline-flex;
  align-items: center;
  margin: 0;
}

.qem-price-alert-modal .qem-modal__dialog {
  width: min(100%, 420px);
}

.qem-price-alert-modal__header h2 {
  margin: 0;
  color: var(--color-text, var(--qem-ink));
  font-size: var(--font-size-4, 1.625rem);
  font-weight: var(--weight-heading, 650);
  line-height: 1.2;
}

.qem-price-alert-form {
  display: grid;
  gap: 10px;
}

.qem-price-alert-summary {
  display: grid;
  gap: 3px;
  margin-bottom: 14px;
  padding: 12px;
  border: 1px solid var(--color-border, var(--qem-line));
  border-radius: var(--radius-4, 4px);
  background: #f8fafc;
}

.qem-price-alert-summary p,
.qem-price-alert-summary span,
.qem-price-alert-preview {
  margin: 0;
  color: var(--color-text-muted, var(--qem-muted));
  font-size: var(--font-size-00, .8125rem);
  line-height: 1.35;
}

.qem-price-alert-summary strong {
  color: var(--color-text, var(--qem-ink));
  font-size: var(--font-size-2, 1.125rem);
  line-height: 1.2;
}

.qem-price-alert-form label {
  color: var(--color-text, var(--qem-ink));
  font-size: var(--font-size-0, .875rem);
  font-weight: var(--weight-medium, 600);
}

.qem-price-alert-form__price {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  border: 1px solid var(--color-border-strong, var(--qem-line));
  border-radius: var(--radius-4, 4px);
  background: #ffffff;
}

.qem-price-alert-form__price:focus-within {
  border-color: var(--color-primary, var(--qem-brand));
  box-shadow: 0 0 0 3px rgba(47, 111, 237, .14);
}

.qem-price-alert-form__price span {
  display: flex;
  justify-content: center;
  color: var(--color-text-muted, var(--qem-muted));
  font-weight: 600;
}

.qem-price-alert-form__price .form-control {
  min-height: 40px;
  border: 0;
  background: transparent;
  box-shadow: none;
  outline: 0;
  padding-left: 4px;
}

.qem-price-alert-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.qem-price-alert-presets button {
  min-height: 32px;
  border: 1px solid var(--color-border-strong, var(--qem-line));
  border-radius: var(--radius-4, 4px);
  background: #ffffff;
  color: var(--color-text, var(--qem-ink));
  cursor: pointer;
  font: inherit;
  font-size: var(--font-size-00, .8125rem);
  font-weight: var(--weight-medium, 600);
  line-height: 1.2;
  padding: 6px 10px;
}

.qem-price-alert-presets button:hover,
.qem-price-alert-presets button.is-active {
  border-color: var(--color-primary, var(--qem-brand));
  color: var(--color-primary, var(--qem-brand));
}

.qem-price-alert-options {
  display: grid;
  gap: 8px;
  margin: 2px 0 0;
  padding: 10px 12px;
  border: 1px solid var(--color-border, var(--qem-line));
  border-radius: var(--radius-4, 4px);
}

.qem-price-alert-options legend {
  float: none;
  width: auto;
  margin: 0 0 2px;
  padding: 0;
  color: var(--color-text-muted, var(--qem-muted));
  font-size: var(--font-size-00, .8125rem);
  font-weight: var(--weight-medium, 600);
}

.qem-price-alert-options label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-weight: var(--weight-regular, 400);
}

.qem-price-alert-options input {
  width: 16px;
  height: 16px;
  margin: 0;
}

.qem-price-alert-modal .btn,
.qem-price-alert-form__signin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  border: 1px solid var(--color-primary, var(--qem-brand));
  border-radius: var(--radius-4, 4px);
  background: var(--color-primary, var(--qem-brand));
  color: #ffffff;
  font: inherit;
  font-size: var(--font-size-0, .875rem);
  font-weight: var(--weight-medium, 500);
  line-height: 1.2;
  padding: .55rem .85rem;
  text-decoration: none;
}

.qem-price-alert-form__status {
  min-height: 18px;
  margin: 0;
  color: var(--color-success, #207856);
  font-size: var(--font-size-00, .8125rem);
  line-height: 1.35;
}

.qem-price-alert-form__status.is-error {
  color: var(--color-danger, #b42318);
}

.qem-price-alert-form__status a {
  color: inherit;
  font-weight: var(--weight-medium, 600);
}

.qem-profile-price-alerts {
  display: grid;
  gap: 16px;
}

.qem-price-alert-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.qem-price-alert-filter a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border: 1px solid var(--color-border-strong, var(--qem-line));
  border-radius: var(--radius-4, 4px);
  color: var(--color-text, var(--qem-ink));
  font-size: var(--font-size-00, .8125rem);
  font-weight: var(--weight-medium, 600);
  line-height: 1.2;
  padding: 6px 10px;
  text-decoration: none;
}

.qem-price-alert-filter a.is-active,
.qem-price-alert-filter a:hover {
  border-color: var(--color-primary, var(--qem-brand));
  color: var(--color-primary, var(--qem-brand));
}

.qem-price-alert-product {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.qem-price-alert-product img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-4, 4px);
  object-fit: cover;
  background: #f1f5f9;
}

.qem-price-alert-product a {
  color: var(--color-text, var(--qem-ink));
  font-weight: var(--weight-medium, 650);
  text-decoration: none;
}

.qem-price-alert-product span,
.qem-price-alert-row-form span {
  display: block;
  margin-top: 3px;
  color: var(--color-text-muted, var(--qem-muted));
  font-size: var(--font-size-00, .8125rem);
  line-height: 1.35;
}

.qem-price-alert-row-form {
  display: grid;
  gap: 8px;
  max-width: 280px;
}

.qem-price-alert-row-form select,
.qem-price-alert-row-form input[type="number"] {
  min-height: 34px;
  width: 100%;
  border: 1px solid var(--color-border-strong, var(--qem-line));
  border-radius: var(--radius-4, 4px);
  background: #fff;
  color: var(--color-text, var(--qem-ink));
  font: inherit;
  font-size: var(--font-size-00, .8125rem);
  line-height: 1.2;
  padding: 6px 10px;
}

.qem-price-alert-row-form__checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.qem-price-alert-row-form__checks label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: var(--color-text, var(--qem-ink));
  font-size: var(--font-size-00, .8125rem);
}

.qem-price-alert-row-form__checks input {
  width: 15px;
  height: 15px;
  margin: 0;
}

.qem-account-inline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  border: 1px solid var(--color-primary, var(--qem-brand));
  border-radius: var(--radius-4, 4px);
  background: var(--color-primary, var(--qem-brand));
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: var(--font-size-00, .8125rem);
  font-weight: var(--weight-medium, 600);
  line-height: 1.2;
  padding: 6px 10px;
}

.qem-account-inline-button--muted {
  border-color: var(--color-border-strong, var(--qem-line));
  background: #fff;
  color: var(--color-text-muted, var(--qem-muted));
}
.qem-collection-page {
    max-width: 1780px;
    margin: 0 auto;
    padding: 32px clamp(18px, 4vw, 64px) 56px;
}

.qem-collection-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    color: #64748b;
    font-size: 15px;
}

.qem-collection-breadcrumb a {
    color: #334155;
    text-decoration: none;
}

.qem-collection-hero {
    min-height: 240px;
    display: flex;
    align-items: flex-end;
    border-radius: 8px;
    background-color: #0f172a;
    background-position: center;
    background-size: cover;
    color: #fff;
    overflow: hidden;
}

.qem-collection-hero__content {
    width: min(780px, 100%);
    padding: clamp(28px, 5vw, 56px);
}

.qem-collection-hero__eyebrow {
    display: block;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0;
}

.qem-collection-hero h1 {
    margin: 0;
    color: inherit;
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1.05;
    letter-spacing: 0;
}

.qem-collection-hero__description {
    margin-top: 14px;
    max-width: 680px;
    color: rgba(255, 255, 255, .9);
    font-size: 17px;
    line-height: 1.6;
}

.qem-collection-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin: 28px 0 22px;
    color: #64748b;
}

.qem-collection-toolbar strong {
    color: #111827;
}

.qem-collection-grid {
    margin-top: 0;
}

.qem-collection-pagination {
    margin-top: 32px;
}

@media (max-width: 760px) {
    .qem-collection-page {
        padding: 22px 14px 42px;
    }

    .qem-collection-hero {
        min-height: 190px;
    }

    .qem-collection-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Keep account order actions and money readable beside the account sidebar. */
@media (min-width: 641px) {
  .qem-profile-orders .qem-table-wrap { overflow-x: auto; }
  .qem-table--orders { table-layout: auto; min-width: 760px; }
  .qem-table--orders th, .qem-table--orders td { overflow-wrap: normal; word-break: normal; }
  .qem-table--orders td:nth-child(3), .qem-table--orders .qem-badge,
  .qem-table--orders .qem-order-row-action a { white-space: nowrap; }
  .qem-table--orders .qem-order-row-action { min-width: 64px; }
}

/* Checkout controls must not inherit text-input dimensions. */
.qem-checkout-form .qem-checkbox-row input[type="checkbox"] {
  width: 18px; height: 18px; min-width: 18px; min-height: 18px;
  max-width: 18px; padding: 0; margin: 0; flex: 0 0 18px;
}
.qem-checkout-form .qem-checkbox-row {
  display: flex; align-items: center; gap: 10px; color: inherit;
}
.qem-promo-controls { display: flex; gap: 10px; align-items: stretch; }
.qem-promo-controls input { min-width: 0; flex: 1; }
.qem-promo-controls button { flex: 0 0 auto; }
@media (max-width: 380px) { .qem-promo-controls { flex-wrap: wrap; } }

.qem-checkout__summary { align-self: start; }
.qem-checkout__summary .qem-summary-card { position: static; }
.qem-summary-actions { margin-top: 16px; }
.qem-summary-secondary-actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; margin-top: 14px; }
.qem-summary-secondary-actions .qem-button { min-width: 0; white-space: normal; text-align: center; }
@media (min-width: 1025px) {
  .qem-checkout__summary {
    position: sticky; top: var(--qem-checkout-sticky-top, 220px);
    max-height: calc(100dvh - var(--qem-checkout-sticky-top, 220px) - 16px);
    overflow-y: auto;
  }
}
@media (max-width: 1024px) {
  .qem-checkout__summary { position: static; max-height: none; overflow: visible; }
}

.qem-summary-shipping-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: start; }
.qem-summary-shipping-description { min-width: 0; }
.qem-summary-shipping-description .qem-summary-note { margin-top: 4px; font-style: italic; overflow-wrap: anywhere; }
.qem-summary-shipping-row .js-checkout-shipping-amount { text-align: right; }
.qem-summary-reassurance { margin-top: 12px; }

.qem-summary-shipping-row > .js-checkout-shipping-note {
  grid-column: 1 / -1; margin-top: -10px; font-style: normal;
  overflow-wrap: anywhere;
}

.qem-summary-row--total { position: relative; }
.qem-total-label { display: inline-flex; align-items: center; gap: 0; }
.qem-terms-trigger { display: inline-flex; align-items: center; justify-content: flex-start; width: 28px; height: 28px; padding: 4px 0 4px 3px; border: 0; background: transparent; color: #6B7280; cursor: pointer; flex: 0 0 28px; }
.qem-terms-trigger svg { width: 16px; height: 16px; }
.qem-terms-trigger:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; border-radius: 50%; }
.qem-terms-tooltip[hidden] { display: none; }
.qem-terms-tooltip { position: absolute; bottom: calc(100% - 4px); left: 0; z-index: 10; box-sizing: border-box; width: min(320px, 100%); padding: 14px; border: 1px solid var(--qem-line); border-radius: 8px; background: var(--qem-surface, #fff); box-shadow: 0 4px 16px #0002; font-size: 12px; line-height: 1.5; color: #6B7280; }
.qem-summary-row--total .qem-terms-tooltip strong { display: block; font-size: 13px; text-align: left; color: var(--qem-ink); }
.qem-terms-tooltip p { margin: 6px 0 0; font-style: italic; }

.qem-preorder-payment-breakdown { border-top: 1px solid var(--qem-line); padding-top: 14px; margin-top: 14px; font-size: 13px; overflow-wrap: anywhere; }
.qem-preorder-payment-breakdown .qem-summary-row { gap: 12px; margin: 8px 0; padding: 0; border: 0; align-items: flex-start; }
.qem-preorder-payment-breakdown .qem-summary-row strong { white-space: nowrap; }
.qem-preorder-payment-item { margin-top: 12px; }
.qem-preorder-payment-breakdown .qem-summary-note { font-size: 12px; margin-top: 4px; }

.qem-payment-details-link { display: inline-flex; align-items: center; gap: 4px; border: 0; background: transparent; color: var(--qem-ink); padding: 8px 0; font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; }
.qem-payment-details-link svg { width: 16px; height: 16px; }
#qem-payment-details-modal .qem-modal__header h2 { margin: 0; font-size: 20px; }
#qem-payment-details-modal .qem-preorder-payment-breakdown { border: 0; padding: 0; margin: 0; }
#qem-payment-details-modal .qem-preorder-payment-item { border-top: 1px solid var(--qem-line); padding-top: 12px; }

#qem-preorder-terms-modal .qem-modal__header h2 { margin: 0; font-size: 20px; }
#qem-preorder-terms-modal .qem-modal__body { overflow-wrap: anywhere; font-size: 14px; line-height: 1.6; }
#qem-preorder-terms-modal h3 { font-size: 15px; margin: 0 0 8px; }
#qem-preorder-terms-modal section + section { border-top: 1px solid var(--qem-line); padding-top: 12px; }

/* Keep shipping refresh feedback beside its section, wrapping on narrow screens. */
.qem-shipping-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
}

.qem-shipping-heading__status {
  color: var(--qem-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
}

.qem-seller-shipping-choices { min-width: 0; margin: 0; padding: 0; border: 0; }
.qem-seller-shipping-choices + .qem-seller-shipping-choices { margin-top: 20px; }
.qem-seller-shipping-choices legend { padding: 0 0 10px; font-size: 14px; font-weight: 700; }

#qem-shipping-breakdown-modal .qem-modal__header h2 { margin: 0; font-size: 18px; }
#qem-shipping-breakdown-modal .qem-modal__body { overflow-wrap: anywhere; }
.qem-shipping-breakdown-item { padding-bottom: 16px; }
.qem-shipping-breakdown-item + .qem-shipping-breakdown-item { border-top: 1px solid var(--qem-line); padding-top: 16px; }
.qem-shipping-breakdown-item h3 { margin: 0 0 6px; font-size: 14px; }
.qem-shipping-breakdown-item p { margin: 6px 0 0; color: var(--qem-muted); font-size: 13px; }

#qem-payment-details-modal .qem-payment-section-title { margin: 0; font-size: 15px; color: var(--qem-ink); }
#qem-payment-details-modal .qem-payment-product { margin: 4px 0; font-size: 12px; color: var(--qem-muted); line-height: 1.5; }
#qem-payment-details-modal .qem-payment-charges { margin-top: 16px; padding-top: 8px; border-top: 1px solid var(--qem-line); }
#qem-payment-details-modal .qem-payment-total { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--qem-line); }
#qem-payment-details-modal .qem-payment-later { margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--qem-line); }
#qem-payment-details-modal .qem-summary-row { display: grid; grid-template-columns: minmax(0,1fr) auto; }
#qem-payment-details-modal .qem-summary-row strong { white-space: normal; text-align: right; }
#qem-payment-details-modal .qem-payment-total > strong:first-child { text-align: left; }

/* Summary contents only: keep the outer card, actions and shared dialogs intact. */
.qem-checkout__summary > .qem-summary-card > .qem-summary-card__head { margin-bottom: 20px; }
.qem-checkout__summary > .qem-summary-card > .qem-summary-card__head h3 {
  font-size: 20px; font-weight: 700; line-height: 1.4; letter-spacing: -0.3px;
}
.qem-checkout__summary > .qem-summary-card > .qem-summary-seller-groups { gap: 8px; margin-bottom: 16px; }
.qem-checkout__summary > .qem-summary-card .qem-summary-seller-group {
  padding: 0; border: 0; border-radius: 0; align-items: baseline;
  font-size: 14px; line-height: 1.45; font-weight: 400;
}
.qem-checkout__summary > .qem-summary-card .qem-summary-seller-group > span {
  min-width: 0; overflow-wrap: anywhere;
}
.qem-checkout__summary > .qem-summary-card .qem-summary-seller-group > strong {
  font-weight: 500; font-variant-numeric: tabular-nums; flex-shrink: 0;
}
.qem-checkout__summary > .qem-summary-card > .qem-summary-row {
  margin: 0 0 8px; padding: 0; border: 0; gap: 8px 12px;
  font-size: 14px; font-weight: 400; line-height: 1.45; align-items: baseline;
}
.qem-checkout__summary > .qem-summary-card > .qem-summary-row > span { min-width: 0; overflow-wrap: anywhere; }
.qem-checkout__summary > .qem-summary-card > .qem-summary-row > strong {
  font-weight: 500; white-space: nowrap; flex-shrink: 0; font-variant-numeric: tabular-nums;
}
.qem-checkout__summary > .qem-summary-card > .qem-summary-row--total {
  margin-top: 16px; margin-bottom: 4px; padding-top: 16px;
  border-top: 1px solid var(--qem-line); font-size: 18px; font-weight: 700;
}
.qem-checkout__summary > .qem-summary-card > .qem-summary-row--total > strong { font-weight: 700; }
.qem-checkout__summary > .qem-summary-card > .qem-payment-details-link {
  margin: 0; font-size: 13px; line-height: 1.45;
}
.qem-checkout__summary > .qem-summary-card > .qem-summary-schedule-start {
  margin-top: 16px; padding-top: 16px; padding-bottom: 4px; border-top: 1px solid var(--qem-line);
}
.qem-checkout__summary > .qem-summary-card > .qem-summary-due-today > span,
.qem-checkout__summary > .qem-summary-card > .qem-summary-due-today > strong { font-weight: 600; }
.qem-checkout__summary > .qem-summary-card > .qem-summary-schedule-start + .qem-summary-row { padding: 4px 0; margin-bottom: 0; }
.qem-checkout__summary > .qem-summary-card > .qem-summary-shipping-row > .js-checkout-shipping-note {
  margin: 0; font-size: 13px; line-height: 1.45;
}
