/* Scoped styles: the calculator may also be used on its own in Elementor. */
.wrcpk-calculator,
.wrcpk-calculator * { box-sizing: border-box; }
.wrcpk-calculator {
  --wrcpk-gold: #efd181;
  --wrcpk-muted: #bfc0bb;
  width: 100%;
  min-width: 0;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid #53503f;
  border-radius: 22px;
  background: radial-gradient(ellipse at 100% 0, #393224 0, transparent 52%), linear-gradient(145deg, #24251f, #151612 70%);
  color: #fffdf5;
  box-shadow: 0 18px 40px rgb(0 0 0 / 18%);
  color-scheme: dark;
  font: 15px/1.6 Arial, Helvetica, sans-serif;
  text-align: left;
}
.wrcpk-calculator h2 { margin: 8px 0 10px; color: #fffdf5; font: 800 clamp(25px, 2.6vw, 32px)/1.12 Arial, Helvetica, sans-serif; letter-spacing: -.035em; }
.wrcpk-calculator p { margin: 0; }
.wrcpk-calculator .wrcpk-heading > p:last-child { color: var(--wrcpk-muted); font-size: 13px; line-height: 1.65; }
.wrcpk-calculator .wrcpk-eyebrow { color: var(--wrcpk-gold); font-size: 10px; letter-spacing: .13em; font-weight: 800; }
.wrcpk-calculator button,
.wrcpk-calculator input { font: inherit; }
.wrcpk-calculator button,
.wrcpk-calculator label { -webkit-tap-highlight-color: transparent; }
.wrcpk-calculator button { cursor: pointer; text-transform: none; letter-spacing: normal; }
.wrcpk-calculator button:focus-visible,
.wrcpk-calculator a:focus-visible { outline: 3px solid #f9df96; outline-offset: 4px; }
.wrcpk-calculator .wrcpk-field-label { display: block; margin: 0 0 10px; padding: 0; color: #eeeee5; font-size: 13px; font-weight: 700; }
.wrcpk-calculator .wrcpk-format-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; min-width: 0; margin: 25px 0 24px; padding: 0; border: 0; }
.wrcpk-calculator .wrcpk-format-switch legend { margin-bottom: 10px; }
.wrcpk-calculator .wrcpk-format-switch label { position: relative; display: block; min-width: 0; margin: 0; cursor: pointer; }
.wrcpk-calculator .wrcpk-format-switch input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.wrcpk-calculator .wrcpk-format-switch span { display: flex; min-height: 48px; align-items: center; justify-content: center; padding: 10px 7px; border: 1px solid #636456; border-radius: 10px; color: #e6e6dc; background: #1b1c17; font-size: 13px; font-weight: 700; line-height: 1.3; text-align: center; transition: color .15s ease, background .15s ease; }
.wrcpk-calculator .wrcpk-format-switch input:checked + span { border-color: var(--wrcpk-gold); background: var(--wrcpk-gold); color: #242315; }
.wrcpk-calculator .wrcpk-format-switch input:focus-visible + span { outline: 3px solid #f9df96; outline-offset: 3px; }
.wrcpk-calculator .wrcpk-format-switch input:disabled + span,
.wrcpk-calculator .wrcpk-tiers button:disabled,
.wrcpk-calculator .wrcpk-range:disabled { cursor: wait; opacity: .7; }
.wrcpk-calculator .wrcpk-quantity-control > label { display: flex; align-items: center; justify-content: space-between; }
.wrcpk-calculator [data-wrcpk-quantity] { color: var(--wrcpk-gold); font-size: 27px; line-height: 1.2; }
.wrcpk-calculator .wrcpk-range { display: block; width: 100%; height: 28px; margin: 10px 0 8px; padding: 0; border: 0; outline-offset: 3px; border-radius: 12px; background: transparent; accent-color: var(--wrcpk-gold); appearance: none; -webkit-appearance: none; cursor: pointer; }
.wrcpk-calculator .wrcpk-range::-webkit-slider-runnable-track { height: 6px; border-radius: 8px; background: linear-gradient(to right, #efd181 var(--wrcpk-progress, 20%), #5b5c51 var(--wrcpk-progress, 20%)); }
.wrcpk-calculator .wrcpk-range::-webkit-slider-thumb { width: 23px; height: 23px; margin-top: -8.5px; border: 4px solid #fff0c8; border-radius: 50%; background: #c39a3c; box-shadow: 0 2px 8px #0007; appearance: none; -webkit-appearance: none; }
.wrcpk-calculator .wrcpk-range::-moz-range-track { height: 6px; border-radius: 8px; background: #5b5c51; }
.wrcpk-calculator .wrcpk-range::-moz-range-progress { height: 6px; border-radius: 8px; background: var(--wrcpk-gold); }
.wrcpk-calculator .wrcpk-range::-moz-range-thumb { width: 16px; height: 16px; border: 4px solid #fff0c8; border-radius: 50%; background: #c39a3c; }
.wrcpk-calculator .wrcpk-tiers { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 5px; }
.wrcpk-calculator .wrcpk-tiers button { min-width: 0; min-height: 38px; margin: 0; padding: 6px 2px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: #c5c7bd; font-size: 12px; font-weight: 700; line-height: 1.2; }
.wrcpk-calculator .wrcpk-tiers button:hover { border-color: #8c8059; color: #fff7de; }
.wrcpk-calculator .wrcpk-tiers button[aria-pressed="true"] { border-color: #9e8b54; background: #3c3726; color: #ffe7a5; }
.wrcpk-calculator .wrcpk-hint { min-height: 42px; margin: 14px 0 19px; color: #d2cbb9; font-size: 12px; line-height: 1.6; }
.wrcpk-calculator .wrcpk-quote-lines { padding-top: 17px; border-top: 1px solid #515044; }
.wrcpk-calculator .wrcpk-quote-lines p { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; column-gap: 8px; row-gap: 1px; margin: 0 0 9px; color: #c5c7bd; font-size: 12px; }
.wrcpk-calculator .wrcpk-quote-lines strong { color: #f6e4b6; font-weight: 700; font-size: 17px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.wrcpk-calculator .wrcpk-quote-lines .wrcpk-total { margin: 5px 0 8px; color: #fff5da; font-size: 14px; font-weight: 700; }
.wrcpk-calculator .wrcpk-total strong { font-size: clamp(29px, 3vw, 37px); color: #f0d27c; line-height: 1.2; letter-spacing: -.045em; }
.wrcpk-calculator .wrcpk-quote-lines p:last-child strong { color: #d4d5cc; font-size: 13px; }
.wrcpk-calculator .wrcpk-tax-note { margin-top: 10px; color: #a9aca0; font-size: 10px; line-height: 1.6; }
.wrcpk-calculator .wrcpk-status { min-height: 36px; margin: 15px 0 12px; color: #cfd3bd; font-size: 11px; line-height: 1.6; }
.wrcpk-calculator .wrcpk-status.is-error { color: #ffd2ba; }
.wrcpk-calculator .wrcpk-form { margin: 0; padding: 0; }
.wrcpk-calculator .wrcpk-submit { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; min-height: 52px; margin: 0; padding: 13px 13px; border: 1px solid #f3d686; border-radius: 999px; background: linear-gradient(135deg, #f6e2a0, #c89e40); color: #232114; box-shadow: 0 8px 22px #d6b04c1f; font-size: 14px; font-weight: 800; line-height: 1.4; transition: filter .16s ease; }
.wrcpk-calculator .wrcpk-submit:hover:not(:disabled) { filter: brightness(1.08); color: #15130b; }
.wrcpk-calculator .wrcpk-submit:disabled { cursor: wait; opacity: .6; }
.wrcpk-calculator .wrcpk-product-link { display: block; width: fit-content; margin: 15px auto 0; color: #e1d2a6; font-size: 11px; line-height: 1.5; text-align: center; text-decoration: underline; text-underline-offset: 3px; }
.wrcpk-calculator .wrcpk-product-link:hover { color: #fff0bf; }
.wrcpk-calculator .wrcpk-retry { display: block; width: fit-content; margin: 12px auto 0; padding: 7px 12px; border: 1px solid #a69360; border-radius: 7px; background: transparent; color: #fff0bf; font-size: 12px; }
.wrcpk-calculator [hidden] { display: none !important; }
.wrcpk-calculator noscript p { margin-top: 12px; color: #ffd2ba; font-size: 12px; }
@media (max-width: 420px) {
  .wrcpk-calculator { padding: 20px 16px; border-radius: 16px; }
  .wrcpk-calculator .wrcpk-format-switch span { font-size: 12px; }
  .wrcpk-calculator .wrcpk-quote-lines .wrcpk-total { font-size: 13px; }
  .wrcpk-calculator .wrcpk-total strong { font-size: 29px; }
}
@media (prefers-reduced-motion: reduce) {
  .wrcpk-calculator *, .wrcpk-calculator *::before, .wrcpk-calculator *::after { transition: none !important; }
}
