/* (c) 2026 Sentys Inc. All rights reserved. */


.mq {


  position: fixed;
  inset: 0;
  margin: auto;
  border: 0;
  border-radius: 8px;
  padding: 0;
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow: auto;
  color: #1a1a19;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
}
.mq::backdrop { background: rgba(20, 20, 19, 0.55); }
.mq__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #1a1a19;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  z-index: 1;
}
.mq__close:hover, .mq__close:focus-visible { background: #fff; box-shadow: 0 0 0 2px #B0D237; }
.mq__img { display: block; width: 100%; max-width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #f0f0ee; }
.mq__img[hidden] { display: none; }
.mq__body { padding: 24px 28px 28px; }
.mq__eyebrow {
  margin: 0 0 6px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #69842b;
}
.mq__title {
  margin: 0 0 10px;
  padding-right: 24px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
}
.mq__summary { margin: 0 0 20px; font-family: var(--font-body); font-size: 0.9rem; font-weight: 300; line-height: 1.65; color: #444; }
.mq__form { display: grid; grid-template-columns: 96px 1fr; gap: 14px 16px; align-items: start; }
.mq__field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.mq__label { font-family: var(--font-body); font-size: 0.75rem; font-weight: 500; color: #555; }
.mq__qty, .mq__notes {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 4px;
  padding: 9px 10px;
  font: inherit;
  font-size: 0.95rem;
  color: #1a1a19;
  background: #fff;
}
.mq__notes { resize: vertical; min-height: 44px; }
.mq__qty:focus, .mq__notes:focus { outline: 2px solid #B0D237; outline-offset: 1px; border-color: transparent; }
.mq__state { grid-column: 1 / -1; margin: 0; font-size: 0.85rem; color: #555; }
.mq__state[hidden], .mq__form[hidden], .mq__done[hidden], .mq__eyebrow[hidden], .mq__summary[hidden] { display: none; }
.mq__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.mq__add, .mq__cart { border: 0; cursor: pointer; text-decoration: none; }
.mq__keep {
  border: 0;
  background: none;
  padding: 10px 4px;
  font: inherit;
  font-size: 0.9rem;
  color: #1a1a19;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.mq__done-text { margin: 0 0 16px; font-family: var(--font-body); font-size: 1rem; font-weight: 500; }
@media (max-width: 480px) {
  .mq__body { padding: 20px 18px 22px; }
  .mq__form { grid-template-columns: 1fr; }
}
