html.mym-rap-is-open,
html.mym-rap-is-open body { overflow: hidden !important; }

.mym-rap,
.mym-rap * { box-sizing: border-box; }

.mym-rap {
  --mym-rap-red: #d71920;
  --mym-rap-blue: #005DA3;
  --mym-rap-ink: #111827;
  --mym-rap-muted: #667085;
  --mym-rap-line: #e5e7eb;
  --mym-rap-soft: #f6f8fa;
  position: fixed;
  inset: 0;
  z-index: 1000000;
}

.mym-rap__backdrop {
  appearance: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(5, 12, 21, .68);
  opacity: 0;
  transition: opacity .26s ease;
}

.mym-rap__drawer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(570px, 100%);
  max-width: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: var(--mym-rap-ink);
  box-shadow: -28px 0 80px rgba(0,0,0,.24);
  transform: translateX(104%);
  transition: transform .3s cubic-bezier(.2,.75,.2,1);
  outline: none;
}

.mym-rap.is-open .mym-rap__backdrop { opacity: 1; }
.mym-rap.is-open .mym-rap__drawer { transform: translateX(0); }

.mym-rap__header {
  min-height: 94px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  color: #fff;
  background: linear-gradient(135deg, var(--mym-rap-blue), #003f72);
}

.mym-rap__eyebrow {
  margin: 0 0 5px;
  color: rgba(255,255,255,.72);
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .16em;
}

.mym-rap__header h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(25px, 4vw, 34px);
  line-height: 1;
  letter-spacing: -.035em;
}

.mym-rap__close {
  flex: 0 0 43px;
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  background: rgba(255,255,255,.10);
  color: #fff;
  font: 300 30px/1 Arial, sans-serif;
  cursor: pointer;
  padding: 0 0 3px;
}

.mym-rap__close:hover,
.mym-rap__close:focus-visible { background: #fff; color: var(--mym-rap-blue); outline: none; }

.mym-rap__scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 24px 26px 34px;
}

.mym-rap__intro {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-left: 3px solid var(--mym-rap-red);
  background: var(--mym-rap-soft);
}

.mym-rap__intro p { margin: 0; color: #4b5563; font-size: 13px; line-height: 1.55; }

.mym-rap__progress { height: 5px; overflow: hidden; border-radius: 999px; background: #e9edf1; }
.mym-rap__progress span { display: block; height: 100%; width: 50%; background: var(--mym-rap-red); transition: width .2s ease; }
.mym-rap[data-step="2"] .mym-rap__progress span { width: 100%; }

.mym-rap__step-label {
  margin: 9px 0 18px;
  color: #7a818c;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .1em;
}

.mym-rap__step[hidden],
.mym-rap__success[hidden] { display: none !important; }

.mym-rap__step { display: grid; gap: 14px; }
.mym-rap__grid { display: grid; gap: 12px; }
.mym-rap__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.mym-rap label,
.mym-rap fieldset { min-width: 0; }

.mym-rap label > span,
.mym-rap__type legend {
  display: block;
  margin: 0 0 6px;
  color: #344054;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 800;
}

.mym-rap label > span em { color: #8b93a0; font-style: normal; font-weight: 600; }

.mym-rap input[type="text"],
.mym-rap input[type="tel"],
.mym-rap input[type="email"],
.mym-rap input[type="number"],
.mym-rap textarea,
.mym-rap select {
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 11px 13px;
  border: 1px solid #d8dde4;
  border-radius: 6px;
  background: #fff;
  color: #101828;
  box-shadow: none;
  font: inherit;
  font-size: 14px;
  outline: none;
}

.mym-rap textarea { min-height: 104px; resize: vertical; }

.mym-rap input:focus,
.mym-rap textarea:focus,
.mym-rap select:focus { border-color: var(--mym-rap-blue); box-shadow: 0 0 0 3px rgba(0,93,163,.12); }

.mym-rap__type { border: 0; padding: 0; margin: 0; }
.mym-rap__type > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mym-rap__type label { position: relative; }
.mym-rap__type input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.mym-rap__type label span {
  min-height: 46px;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 8px 10px;
  border: 1px solid #d8dde4;
  border-radius: 6px;
  background: #fff;
  color: #344054;
  cursor: pointer;
  text-align: center;
}
.mym-rap__type input:checked + span { border-color: var(--mym-rap-blue); background: var(--mym-rap-blue); color: #fff; }
.mym-rap__type input:focus-visible + span { outline: 3px solid rgba(0,93,163,.16); outline-offset: 2px; }

.mym-rap__upload {
  padding: 13px;
  border: 1px dashed #cbd2dc;
  border-radius: 7px;
  background: #fafbfc;
}
.mym-rap__upload input[type="file"] { max-width: 100%; font-size: 12px; color: #475467; }
.mym-rap__upload small { display: block; margin-top: 7px; color: #7b8491; font-size: 10px; line-height: 1.4; }

.mym-rap__primary,
.mym-rap__secondary,
.mym-rap__whatsapp,
.mym-rap-button {
  appearance: none;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 6px;
  padding: 12px 18px;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .03em;
  text-decoration: none !important;
  cursor: pointer;
}

.mym-rap__primary,
.mym-rap-button { border: 1px solid var(--mym-rap-red); background: var(--mym-rap-red); color: #fff !important; }
.mym-rap__primary:hover,
.mym-rap-button:hover { filter: brightness(.93); color: #fff !important; }

.mym-rap__secondary { border: 1px solid #cfd5dd; background: #fff; color: #344054; }
.mym-rap__secondary:hover { border-color: #9aa3af; color: #111827; }

.mym-rap__actions { display: grid; grid-template-columns: 120px 1fr; gap: 9px; }

.mym-rap__summary {
  display: none;
  padding: 12px 14px;
  border-radius: 6px;
  background: #eef6fc;
  color: #24506d;
  font-size: 12px;
  line-height: 1.5;
}
.mym-rap__summary:not(:empty) { display: block; }

.mym-rap__consent { display: grid !important; grid-template-columns: 18px 1fr; align-items: start; gap: 8px; }
.mym-rap__consent input { width: 18px; height: 18px; margin: 1px 0 0; }
.mym-rap__consent span { margin: 0 !important; font-weight: 650 !important; }

.mym-rap__honeypot { position: absolute !important; left: -99999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; opacity: 0 !important; pointer-events: none !important; }

.mym-rap__status { min-height: 18px; margin: 12px 0 0; color: #6b7280; font-size: 12px; line-height: 1.45; }
.mym-rap__status.is-error { color: #b42318; }

.mym-rap__success { padding: 34px 10px 20px; text-align: center; }
.mym-rap__success-icon { width: 62px; height: 62px; display: grid; place-items: center; margin: 0 auto 16px; border-radius: 50%; background: #e8f7ed; color: #12833d; font-size: 30px; font-weight: 900; }
.mym-rap__success h3 { margin: 0 0 8px; color: #101828; font-size: 27px; letter-spacing: -.02em; }
.mym-rap__success p { max-width: 410px; margin: 0 auto 14px; color: #667085; line-height: 1.55; }
.mym-rap__reference { font-weight: 800; color: #344054 !important; }
.mym-rap__whatsapp { width: 100%; margin-top: 6px; border: 1px solid #128c4a; background: #128c4a; color: #fff !important; }
.mym-rap__done { width: 100%; margin-top: 9px; }

@media (max-width: 640px) {
  .mym-rap__drawer { width: 100%; }
  .mym-rap__header { min-height: 80px; padding: 17px 18px; }
  .mym-rap__scroll { padding: 19px 17px 28px; }
  .mym-rap__grid--2 { grid-template-columns: 1fr; }
  .mym-rap__type > div { grid-template-columns: 1fr 1fr 1fr; }
  .mym-rap__actions { grid-template-columns: 96px 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .mym-rap__drawer,
  .mym-rap__backdrop { transition: none; }
}


/* =========================================================
   v1.0.2 — WOODMART / GLOBAL THEME HARDENING

   Woodmart can apply global button styles with higher priority.
   The backdrop, close control and primary buttons are all real
   <button> elements, so a global button rule can otherwise turn
   the backdrop white and wash out the CTA colours.
========================================================== */

#mym-request-a-part.mym-rap {
  background: transparent !important;
}

#mym-request-a-part .mym-rap__backdrop {
  appearance: none !important;
  -webkit-appearance: none !important;
  min-width: 0 !important;
  min-height: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: rgba(3, 12, 21, .72) !important;
  color: transparent !important;
  opacity: 0 !important;
  transform: none !important;
  filter: none !important;
  cursor: default !important;
}

#mym-request-a-part.is-open .mym-rap__backdrop {
  opacity: 1 !important;
}

@supports ((-webkit-backdrop-filter: blur(2px)) or (backdrop-filter: blur(2px))) {
  #mym-request-a-part .mym-rap__backdrop {
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
  }
}

#mym-request-a-part .mym-rap__close {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 43px !important;
  height: 43px !important;
  min-width: 43px !important;
  min-height: 43px !important;
  padding: 0 0 3px !important;
  border: 1px solid rgba(255,255,255,.28) !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,.10) !important;
  color: #fff !important;
  box-shadow: none !important;
  line-height: 1 !important;
  text-transform: none !important;
}

#mym-request-a-part .mym-rap__close:hover,
#mym-request-a-part .mym-rap__close:focus-visible {
  border-color: #fff !important;
  background: #fff !important;
  color: var(--mym-rap-blue) !important;
}

#mym-request-a-part button.mym-rap__primary,
#mym-request-a-part .mym-rap__primary,
#mym-request-a-part button.mym-rap-button,
#mym-request-a-part .mym-rap-button {
  appearance: none !important;
  -webkit-appearance: none !important;
  border: 1px solid var(--mym-rap-red) !important;
  border-radius: 6px !important;
  background: var(--mym-rap-red) !important;
  background-image: none !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  box-shadow: none !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

#mym-request-a-part button.mym-rap__primary:hover,
#mym-request-a-part button.mym-rap__primary:focus-visible,
#mym-request-a-part .mym-rap-button:hover,
#mym-request-a-part .mym-rap-button:focus-visible {
  border-color: #bd1218 !important;
  background: #bd1218 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

/* If a browser or theme disables a primary action, keep the label readable. */
#mym-request-a-part button.mym-rap__primary:disabled,
#mym-request-a-part button.mym-rap__primary[disabled] {
  border-color: #d7dde3 !important;
  background: #e9edf1 !important;
  color: #4b5563 !important;
  -webkit-text-fill-color: #4b5563 !important;
  opacity: 1 !important;
  cursor: not-allowed !important;
}

#mym-request-a-part button.mym-rap__secondary,
#mym-request-a-part .mym-rap__secondary {
  appearance: none !important;
  -webkit-appearance: none !important;
  border: 1px solid #cfd5dd !important;
  border-radius: 6px !important;
  background: #fff !important;
  color: #344054 !important;
  -webkit-text-fill-color: #344054 !important;
  box-shadow: none !important;
  opacity: 1 !important;
}

#mym-request-a-part button.mym-rap__secondary:hover,
#mym-request-a-part button.mym-rap__secondary:focus-visible {
  border-color: #9aa3af !important;
  background: #f7f8fa !important;
  color: #111827 !important;
  -webkit-text-fill-color: #111827 !important;
}

#mym-request-a-part .mym-rap__whatsapp {
  border: 1px solid #128c4a !important;
  background: #128c4a !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
