/* Scoped to the promotion; inherits Fashion's Montserrat typography. */
.martastyl-qp {
  --mtqp-green: #8a3b48;
  --mtqp-text: #342522;
  --mtqp-muted: #6e5d59;
  --mtqp-surface: #fbf7f1;
  --mtqp-line: #ddcfc4;
  container-type: inline-size;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  margin: 22px 0 26px;
  color: var(--mtqp-text);
  background: var(--mtqp-surface);
  border-radius: 12px;
  font-family: inherit;
  text-align: center;
}
.martastyl-qp *, .martastyl-qp *::before, .martastyl-qp *::after { box-sizing: border-box; }
.martastyl-qp .martastyl-qp__inner { padding: 25px 20px 22px; }
.martastyl-qp .martastyl-qp__title {
  margin: 0;
  padding: 0;
  color: var(--mtqp-text);
  font: inherit;
  font-size: 23px !important;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.martastyl-qp .martastyl-qp__subtitle { margin: 8px 0 0; color: var(--mtqp-muted); font-size: 15px; line-height: 1.5; }
.martastyl-qp .martastyl-qp__tiers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 23px 0 21px;
  padding: 0;
  list-style: none;
}
.martastyl-qp .martastyl-qp__tier { display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 0; margin: 0; padding: 0; }
.martastyl-qp .martastyl-qp__tier::before { content: none; }
.martastyl-qp .martastyl-qp__circle {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 88px;
  aspect-ratio: 1;
  border: 2px solid var(--mtqp-line);
  border-radius: 50%;
}
.martastyl-qp .martastyl-qp__circle::before { content: ""; position: absolute; inset: 6px; border: 1px dashed #b39b91; border-radius: 50%; pointer-events: none; }
.martastyl-qp .martastyl-qp__percent { position: relative; white-space: nowrap; font-size: 25px; font-weight: 700; line-height: 1; letter-spacing: -0.035em; font-variant-numeric: lining-nums tabular-nums; }
.martastyl-qp .martastyl-qp__percent > span { font-size: 0.66em; letter-spacing: 0; }
.martastyl-qp .martastyl-qp__quantity { color: var(--mtqp-muted); font-size: 14px; font-weight: 700; line-height: 1.4; }
.martastyl-qp .martastyl-qp__tier--best .martastyl-qp__circle { border-color: var(--mtqp-green); background: var(--mtqp-green); color: #fff; }
.martastyl-qp .martastyl-qp__tier--best .martastyl-qp__circle::before { border-color: #e1b5bd; }
.martastyl-qp .martastyl-qp__tier--best .martastyl-qp__quantity { color: #762f3b; }
.martastyl-qp .martastyl-qp__note { margin: 0; color: var(--mtqp-text); font-size: 15px; font-weight: 700; line-height: 1.5; text-wrap: balance; }
.martastyl-qp .martastyl-qp__details { margin: 10px 0 0; color: var(--mtqp-muted); font-size: 12px; line-height: 1.65; text-wrap: pretty; }
.martastyl-qp ::selection { background: #eddae0; color: #342522; }
@container (max-width: 400px) {
  .martastyl-qp .martastyl-qp__inner { padding: 23px 18px 20px; }
  .martastyl-qp .martastyl-qp__title { font-size: 21px !important; }
  .martastyl-qp .martastyl-qp__tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; max-width: 250px; margin-inline: auto; }
  .martastyl-qp .martastyl-qp__circle { max-width: 86px; }
  .martastyl-qp .martastyl-qp__percent { font-size: 27px; }
}
/* Older browsers without container queries still get a readable phone layout. */
@supports not (container-type: inline-size) {
  @media (max-width: 600px) {
    .martastyl-qp .martastyl-qp__tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
}
body.single-product .product-container .product-summary__payments:has(+ .martastyl-qp) { margin-bottom: 16px !important; }
body.single-product .product-container .martastyl-qp + .wpdssg-moved-description { margin-top: 24px !important; }
@media print {
  .martastyl-qp { break-inside: avoid; background: #fff; border: 1px solid #ddcfc4; }
}
