/* Shades postcode-first form (variant B). Scoped to .pcf. Colours/fonts taken from the live WPForms 9658 styling:
   button #ff2147 / 700 / radius 3px, inputs 1px #ced4da radius 3px 16px, tiles #1f3a5f -> selected #0b5cad/#eaf3fc, green #72b239 */
.pcf{box-sizing:border-box;background:#fff;border-radius:3px;max-width:460px;margin:0 auto;padding:18px 16px 16px;font-family:proxima-nova,"Proxima Nova",Montserrat,"Helvetica Neue",Arial,sans-serif;color:#212529;box-shadow:0 1px 3px rgba(0,0,0,.08)}
.pcf *,.pcf *::before,.pcf *::after{box-sizing:border-box}
.pcf h3{margin:0;text-align:center;font-size:20px;font-weight:700;text-transform:uppercase;letter-spacing:.2px}
.pcf .pcf-sub{margin:2px 0 12px;text-align:center;font-size:16px;font-weight:700}
.pcf .pcf-steps{display:flex;gap:4px;margin:0 0 14px;padding:0;list-style:none;counter-reset:s}
.pcf .pcf-steps li{flex:1;text-align:center;font-size:11px;line-height:1.2;color:#888;padding-top:8px;border-top:4px solid #e5e7eb}
.pcf .pcf-steps li.on{color:#212529;font-weight:700;border-top-color:#72b239}
.pcf .pcf-steps li.done{color:#4b7d22;border-top-color:#72b239}
.pcf label.pcf-l{display:block;font-weight:700;font-size:15px;margin:0 0 6px}
.pcf input[type=text],.pcf input[type=tel],.pcf input[type=email]{width:100%;height:46px;font-size:16px;padding:8px 12px;border:1px solid #ced4da;border-radius:3px;background:#fff;color:#212529;font-family:inherit}
.pcf input:focus{outline:3px solid #f59e0b;outline-offset:1px;border-color:#1f3a5f}
.pcf input[aria-invalid=true]{border-color:#d00;background:#fff7f7}
.pcf .pcf-pc{display:flex;gap:8px}
.pcf .pcf-pc input{flex:1;text-transform:uppercase;font-size:18px;letter-spacing:1px}
.pcf .pcf-pc input::placeholder{text-transform:none;letter-spacing:0}
.pcf .pcf-err{color:#c00;font-size:14px;margin:6px 0 0;min-height:0}
.pcf .pcf-err:empty{display:none}
.pcf .pcf-btn{all:unset;box-sizing:border-box;display:block;width:100%;text-align:center;cursor:pointer;background:#ff2147;color:#fff;font-weight:700;font-size:14px;letter-spacing:.5px;text-transform:uppercase;border-radius:3px;padding:14px 10px;min-height:48px;margin-top:12px}
.pcf .pcf-btn:hover{background:#e0122f}
.pcf .pcf-btn:focus-visible{outline:3px solid #f59e0b;outline-offset:2px}
.pcf .pcf-btn[aria-disabled=true]{opacity:.45;cursor:default}
.pcf .pcf-link{all:unset;cursor:pointer;color:#0b5cad;text-decoration:underline;font-size:14px}
.pcf .pcf-link:focus-visible{outline:3px solid #f59e0b}
.pcf .pcf-trust{list-style:none;margin:12px 0 0;padding:0;font-size:13.5px;line-height:1.35}
.pcf .pcf-trust li{padding-left:22px;position:relative;margin:4px 0}
.pcf .pcf-trust li::before{content:"\2713";position:absolute;left:2px;color:#72b239;font-weight:700}
.pcf .pcf-ok{background:#eef7e6;border:1px solid #b9dc97;border-radius:4px;padding:10px 12px;margin:0 0 12px;font-size:15px}
.pcf .pcf-ok b{display:block;font-size:17px;color:#2f6b12}
.pcf .pcf-sorry{background:#f5f8fc;border:1px solid #c9d8ea;border-radius:4px;padding:12px;margin:0 0 12px;font-size:15px;line-height:1.4}
.pcf .pcf-sorry b{display:block;font-size:17px;margin-bottom:4px}
.pcf .pcf-note{color:#0b5cad;font-style:italic;font-weight:600;font-size:14px;margin:8px 0}
.pcf .pcf-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.pcf .pcf-grid.t3{grid-template-columns:repeat(3,1fr)}
.pcf .pcf-tile{all:unset;box-sizing:border-box;cursor:pointer;border:1.5px solid #1f3a5f;border-radius:6px;padding:8px 4px;background:#fff;text-align:center;font-size:13px;line-height:1.25;color:#222;min-height:58px;display:flex;flex-direction:column;justify-content:center;align-items:center}
.pcf .pcf-tile .d{font-weight:700;font-size:14px}
.pcf .pcf-tile .s{font-size:11.5px;color:#4b5563}
.pcf .pcf-tile[aria-pressed=true]{border:2.5px solid #0b5cad;background:#eaf3fc}
.pcf .pcf-tile[aria-pressed=true] .s{color:#0b5cad;font-weight:700}
.pcf .pcf-tile[disabled]{cursor:default;border-color:#e5e7eb;background:#f3f4f6;color:#aaa}
.pcf .pcf-tile:focus-visible{outline:3px solid #f59e0b;outline-offset:2px}
.pcf .pcf-more{display:flex;justify-content:space-between;margin:8px 0 2px}
.pcf .pcf-h4{font-size:15px;font-weight:700;margin:14px 0 6px}
.pcf .pcf-row2{display:grid;grid-template-columns:1fr;gap:10px}
@media(min-width:480px){.pcf .pcf-row2{grid-template-columns:1fr 1fr}}
.pcf .pcf-f{margin:0 0 10px}
.pcf .pcf-f label{display:block;font-size:14px;font-weight:600;margin:0 0 4px}
.pcf .pcf-summary{font-size:14px;background:#f8f9fa;border-radius:4px;padding:8px 10px;margin:0 0 12px;display:flex;justify-content:space-between;gap:8px;align-items:center}
.pcf .pcf-alt{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0}
.pcf .pcf-alt a,.pcf .pcf-alt button{all:unset;box-sizing:border-box;cursor:pointer;text-align:center;border:1.5px solid #1f3a5f;border-radius:4px;padding:11px 6px;font-weight:700;font-size:14px;color:#1f3a5f}
.pcf .pcf-alt a:focus-visible,.pcf .pcf-alt button:focus-visible{outline:3px solid #f59e0b}
.pcf .pcf-radio{display:flex;gap:8px;align-items:flex-start;font-size:14px;margin:6px 0}
.pcf .pcf-radio input{width:20px;height:20px;margin:0;flex:none}
.pcf .pcf-small{font-size:12.5px;color:#555;line-height:1.4}
.pcf .pcf-interest .pcf-tile{min-height:50px;font-weight:700}
.pcf [hidden]{display:none!important}
@media (prefers-reduced-motion:no-preference){.pcf .pcf-step{animation:pcfIn .18s ease-out}}
@keyframes pcfIn{from{opacity:.3;transform:translateY(4px)}to{opacity:1;transform:none}}

/* Homepage hero, desktop only. Arm B's first step is taller than control, and
   .hero-container is absolutely centred, so the extra height used to slide
   the heading under the Christmas strip (.header-outer::after). Compact the
   prototype and pin the box above the "We Measure" bar. html.sb-form-b only;
   arm A and the /book-appointment/ page are unchanged. */
@media (min-width: 992px) {
  html.sb-form-b .hero-block .hero-container {
    top: auto;
    bottom: calc(var(--hero-strip-h, 48px) + 16px);
    transform: none;
    max-width: 340px;
  }
  .hero-block #pcf-root.pcf {
    padding: 10px 12px 10px;
    max-width: 100%;
    box-shadow: 0 1px 4px rgba(0,0,0,.12);
  }
  .hero-block #pcf-root.pcf h3 { font-size: 16px; letter-spacing: 0; }
  .hero-block #pcf-root.pcf .pcf-sub { font-size: 13px; margin: 0 0 6px; }
  .hero-block #pcf-root.pcf .pcf-steps { margin: 0 0 8px; gap: 3px; }
  .hero-block #pcf-root.pcf .pcf-steps li { font-size: 10px; padding-top: 4px; border-top-width: 3px; }
  .hero-block #pcf-root.pcf label.pcf-l { font-size: 13px; margin: 0 0 4px; }
  .hero-block #pcf-root.pcf input[type=text],
  .hero-block #pcf-root.pcf input[type=tel],
  .hero-block #pcf-root.pcf input[type=email] { height: 40px; }
  .hero-block #pcf-root.pcf .pcf-btn { margin-top: 8px; padding: 10px 8px; min-height: 42px; font-size: 13px; }
  .hero-block #pcf-root.pcf .pcf-trust { margin: 8px 0 0; font-size: 12px; line-height: 1.3; }
  .hero-block #pcf-root.pcf .pcf-trust li { margin: 2px 0; }
  .hero-block #pcf-root.pcf .pcf-small { margin: 6px 0 0 !important; font-size: 12px; }
}

/* Experian address lookup (list comes from the theme's contact-data-services.js; its own markup is restyled here) */
.pcf .address-picklist-container{margin:6px 0 0}
.pcf .address-picklist{max-height:210px;overflow-y:auto;border:1px solid #ced4da;border-radius:3px;background:#fff;-webkit-overflow-scrolling:touch}
.pcf .address-picklist-row{padding:11px 12px;min-height:44px;font-size:15px;line-height:1.3;border-bottom:1px solid #eef0f2;cursor:pointer;display:block}
.pcf .address-picklist-row:last-child{border-bottom:0}
.pcf .address-picklist-row:hover,.pcf .address-picklist-row.selected,.pcf .address-picklist-row:focus{background:#eaf3fc;outline:none}
.pcf .address-picklist-row:focus-visible{outline:3px solid #f59e0b;outline-offset:-3px}
.pcf .address-picklist-row.use-address-entered,.pcf .search-again-link,.pcf .formatted-address,.pcf .ua-banner,.pcf .loader{display:none!important}
.pcf .pcf-adv{margin:4px 0 0;font-size:13px;color:#8a5a00;min-height:0}
.pcf .pcf-adv:empty{display:none}
.pcf .pcf-adv a{color:#0b5cad;text-decoration:underline}
@media (min-width: 992px) {
  .hero-block #pcf-root.pcf .address-picklist{max-height:120px}
  .hero-block #pcf-root.pcf .address-picklist-row{padding:7px 10px;min-height:34px;font-size:13px}
}

@media (min-width: 992px) {
  html.sb-form-b .hero-block .carousel,
  html.sb-form-b .hero-block .carousel-item { min-height: var(--pcf-hero-min, 0); }
}
