:root {
  --pb-kfl-ink: #191a1e;
  --pb-kfl-green: #60d613;
  --pb-kfl-red: #f43442;
  --pb-kfl-line: #c1c1c1;
}

html { scroll-behavior: smooth; }
body.pb-kfl-standalone { margin: 0; background: #f9f9f9; color: var(--pb-kfl-ink); }
.pb-kfl-standalone #wpadminbar { display: none !important; }
.pb-kfl [hidden] { display: none !important; }
.pb-kfl,
.pb-kfl * { box-sizing: border-box; }
.pb-kfl button,
.pb-kfl input,
.pb-kfl select { font-family: inherit; }

.pb-kfl-page-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 70px;
  background: #fff;
  box-shadow: 0 6px 12px rgba(0, 0, 0, .16);
}
.pb-kfl-page-header__inner {
  display: flex;
  align-items: start;
  justify-content: space-between;
  width: min(100% - 32px, 1100px);
  height: 100%;
  margin: 0 auto;
}
.pb-kfl-page-header img { display: block; width: 220px; height: auto; }
.pb-kfl-page-header__actions { display: flex; gap: 30px; }
.pb-kfl-page-header__actions span {
  display: grid;
  place-items: center;
  width: 265px;
  min-height: 58px;
  border: 2px solid #191a1e;
  box-shadow: inset 0 0 0 3px #fff;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
}
.pb-kfl-page-header__price { background: #49c900; }
.pb-kfl-page-header__apply { background: #ff4052; }
.pb-kfl-page-main { padding: 60px 16px 90px; }

.pb-kfl {
  width: min(100%, 1200px);
  margin: 0 auto;
  color: var(--pb-kfl-ink);
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8;
}

.pb-kfl__lab-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(100%, 800px);
  margin: 0 auto 18px;
  padding: 9px 13px;
  border-left: 5px solid var(--pb-kfl-red);
  background: #fff;
  font-size: 12px;
}
.pb-kfl__lab-header p { margin: 0; }
.pb-kfl__lab-header strong { margin-right: 8px; color: var(--pb-kfl-red); letter-spacing: .08em; }
.pb-kfl__lab-actions { display: flex; flex: 0 0 auto; gap: 8px; }
.pb-kfl__lab-actions button {
  min-height: 34px;
  padding: 5px 10px;
  border: 1px solid #aaa;
  border-radius: 3px;
  background: #fff;
  color: var(--pb-kfl-ink);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}
.pb-kfl__lab-actions button:hover { border-color: #61b82b; background: #f3ffeb; }
.pb-kfl__lab-actions button:focus-visible { outline: 2px solid #61b82b; outline-offset: 2px; }

.pb-kfl__contact-title {
  display: grid;
  place-items: center;
  width: min(100%, 800px);
  min-height: 110px;
  margin: 0 auto 25px;
  padding: 20px 30px 27px;
  background: url("https://price-base.com/useful/wp-content/uploads/2023/09/contact-title-bg.png") center / 100% 100% no-repeat;
  text-align: center;
}
.pb-kfl__contact-title h1 {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--pb-kfl-ink);
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
}

.pb-kfl__mirror { width: 100%; }
.pb-kfl__mirror .mw_wp_form { width: 100%; }
.pb-kfl__mirror .pb-kfl__neutralized-form { display: block; }
.pb-kfl__mirror .form-submit button.your-submit,
.pb-kfl__confirm-actions button {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background-color: #fff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  color: transparent;
  cursor: pointer;
  transition: opacity .25s;
}
.pb-kfl__mirror .form-submit button.your-submit { background-image: url("https://price-base.com/useful/wp-content/uploads/2023/09/contact-btn-1.png"); }
.pb-kfl__mirror .form-submit button.your-submit:hover,
.pb-kfl__confirm-actions button:hover { opacity: .8; }
.pb-kfl__mirror .form-submit button.your-submit:focus-visible,
.pb-kfl__confirm-actions button:focus-visible { outline: 3px solid #1da7ed; outline-offset: 3px; }

.pb-kfl__password-wrap { position: relative; width: 100%; margin-bottom: 10px; }
.pb-kfl__password-wrap input#your-password { width: 100% !important; margin: 0 !important; padding-right: 58px; }
.pb-kfl__password-toggle {
  position: absolute;
  top: 1px;
  right: 1px;
  display: grid;
  width: 46px;
  height: calc(100% - 2px);
  padding: 0;
  place-items: center;
  border: 0;
  border-left: 1px solid var(--pb-kfl-line);
  border-radius: 0 4px 4px 0;
  background: transparent;
  color: #555;
  cursor: pointer;
}
.pb-kfl__password-toggle:hover { background: rgba(96, 214, 19, .1); }
.pb-kfl__password-toggle:focus-visible { outline: 2px solid #61b82b; outline-offset: -3px; }
.pb-kfl__password-toggle[aria-pressed="true"] { color: #3f9d08; }
.pb-kfl__password-toggle svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.pb-kfl__password-toggle .pb-kfl__eye-slash { display: none; }
.pb-kfl__password-toggle[aria-pressed="true"] .pb-kfl__eye-slash { display: block; }

.pb-kfl__mock-error {
  display: block;
  width: 100%;
  margin: 2px 0 8px;
  color: #b90012;
  font-size: 13px;
  font-weight: 700;
}
.pb-kfl__has-error input:not([type="radio"]),
.pb-kfl__has-error select,
.pb-kfl__has-error .mwform-radio-field-text,
.pb-kfl__has-error .mwform-checkbox-field-text { border-color: var(--pb-kfl-red) !important; }

.pb-kfl__confirm { width: 100%; }
.pb-kfl__confirm .contact-caption-2 { display: block !important; }
.pb-kfl__confirm-flow { display: block; width: 400px; max-width: 100%; margin: 0 auto 32px; }
.pb-kfl__confirm-flow img { display: block; width: 100%; height: auto; }
.pb-kfl__confirm-value {
  margin: -2px 0 0;
  padding: 9px 0 13px;
  border-bottom: 1px solid #ddd;
  overflow-wrap: anywhere;
  white-space: pre-line;
}
.pb-kfl__confirm-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin: 24px auto 0;
}
.pb-kfl__confirm-actions button { position: relative; width: 400px; max-width: 100%; height: 75px; }
.pb-kfl__confirm-actions .pb-kfl__mock-send { background-image: url("https://price-base.com/useful/wp-content/uploads/2023/09/contact-btn-2.png"); }
.pb-kfl__confirm-actions .pb-kfl__mock-back { background-image: url("https://price-base.com/useful/wp-content/uploads/2023/09/contact-btn-3-new.png"); }

.pb-kfl__dialog {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, .62);
  overscroll-behavior: contain;
}
.pb-kfl__dialog-panel {
  width: min(100%, 520px);
  padding: 40px 30px;
  border: 4px solid var(--pb-kfl-green);
  border-radius: 15px;
  background: #fff;
  text-align: center;
}
.pb-kfl__dialog h2 { margin: 0 0 10px; font-size: 28px; }
.pb-kfl__dialog p { margin: 0 0 20px; }
.pb-kfl__dialog button {
  min-width: 240px;
  min-height: 52px;
  padding: 10px 20px;
  border: 0;
  border-radius: 5px;
  background: var(--pb-kfl-green);
  color: #fff;
  cursor: pointer;
  font-weight: 700;
}
.pb-kfl__admin-error { width: min(100%, 800px); margin: 30px auto; padding: 20px; border: 2px solid var(--pb-kfl-red); background: #fff; }

/* Bank transfer is the only payout method in this experiment. */
.pb-kfl__mirror .bank-area { display: block !important; }

/* One visual section for name and phonetic spelling; individual input IDs stay intact. */
.pb-kfl__mirror .pb-kfl__name-field { margin-bottom: 30px; }
.pb-kfl__name-layout {
  display: grid;
  gap: 10px;
  width: min(100%, 510px);
}
.pb-kfl__name-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.pb-kfl__name-row input:not([type="radio"]) {
  width: 100% !important;
  min-width: 0;
  margin: 0 !important;
}

/* Address is one stable field: postal code first, then all five existing
   address inputs. The source IDs remain untouched for ZipCloud and form logic. */
.pb-kfl__mirror .pb-kfl__address-field { margin-bottom: 30px; }
.pb-kfl__address-layout {
  display: grid;
  gap: 10px;
  width: 100%;
}
.pb-kfl__address-layout > div { min-width: 0; }
.pb-kfl__address-layout input:not([type="radio"]) {
  width: 100% !important;
  min-width: 0;
  margin: 0 !important;
}
.pb-kfl__address-postcode {
  display: grid;
  /* Same template and gap as the prefecture/municipality row below, so the
     postcode field lines up with the first column. */
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 8px;
  align-items: center;
  width: min(100%, 510px);
}
/* Same visual voice as the password note: both are .form-caption and inherit
   its size and color rather than defining their own. */
.pb-kfl__address-help {
  display: block;
  margin: 0;
  line-height: 1.45;
}
.pb-kfl__zip-lookup-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  align-self: center;
  justify-self: start;
  color: #2c7a10 !important;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}
.pb-kfl__zip-lookup-link:hover { color: #3f9d08 !important; }
.pb-kfl__zip-lookup-link svg {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pb-kfl__address-automatic-row {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 8px;
  width: min(100%, 510px);
}
.pb-kfl__address-automatic-row > div {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  min-width: 0;
}
.pb-kfl__address-automatic-row > div > input { width: 100% !important; }
.pb-kfl__address-automatic-row > div > span {
  display: none !important;
}
.pb-kfl__address-row { width: min(100%, 510px); }
/* Town + street number share one row; the column template matches the
   prefecture/municipality row above so the field edges line up. */
.pb-kfl__address-pair-row {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 8px;
  width: min(100%, 510px);
}
.pb-kfl__address-pair-row > input { width: 100% !important; }
.pb-kfl__contact-layout {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pb-kfl__contact-row { width: min(100%, 510px); }
.pb-kfl__contact-row > input {
  width: 100% !important;
  margin-bottom: 0 !important;
}
.pb-kfl__contact-row .form-caption { margin: 6px 0 0; }
.pb-kfl__tel-warning,
.pb-kfl__kana-warning,
.pb-kfl__account-warning {
  margin: 4px 0 0 !important;
  color: #b90012;
  font-size: 12px;
  line-height: 1.5;
}
.pb-kfl__tel-warning[hidden],
.pb-kfl__kana-warning[hidden],
.pb-kfl__account-warning[hidden] { display: none !important; }
/* Password requirement checklist (UNIQLO-style): neutral circles that turn
   into green checks or red crosses per rule. */
.pb-kfl__password-checklist {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 8px 0 0 !important;
  padding: 0;
  list-style: none;
}
.pb-kfl__password-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #55595e;
  font-size: 13px;
  line-height: 1.5;
}
.pb-kfl__password-rule-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border: 1.5px solid #b6bcc2;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}
.pb-kfl__password-checklist li.is-ok { color: #2c7a10; }
.pb-kfl__password-checklist li.is-ok .pb-kfl__password-rule-icon {
  border-color: #3f9d08;
  color: #3f9d08;
}
.pb-kfl__password-checklist li.is-ok .pb-kfl__password-rule-icon::before { content: "✓"; }
.pb-kfl__password-checklist li.is-ng { color: #b90012; }
.pb-kfl__password-checklist li.is-ng .pb-kfl__password-rule-icon {
  border-color: #b90012;
  color: #b90012;
}
.pb-kfl__password-checklist li.is-ng .pb-kfl__password-rule-icon::before { content: "×"; }
.pb-kfl__required-warning {
  margin: 4px 0 0 !important;
  color: #b90012;
  font-size: 12px;
  line-height: 1.5;
}
.pb-kfl__required-warning[hidden] { display: none !important; }
input.pb-kfl__field-empty,
select.pb-kfl__field-empty { border-color: var(--pb-kfl-red) !important; }
.pb-kfl__email-format-warning,
.pb-kfl__zip-warning {
  margin: 4px 0 0 !important;
  color: #b90012;
  font-size: 12px;
  line-height: 1.5;
}
.pb-kfl__email-format-warning[hidden],
.pb-kfl__zip-warning[hidden] { display: none !important; }
.pb-kfl__zip-warning { grid-column: 1 / -1; }
.pb-kfl__incomplete-counter {
  margin: 0 0 12px !important;
  color: #b90012;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}
.pb-kfl__incomplete-counter[hidden] { display: none !important; }
/* Filled = white, untouched = the pale green default. */
.pb-kfl input.pb-kfl__field-done:not([type="radio"]):not([type="checkbox"]),
.pb-kfl select.pb-kfl__field-done {
  background-color: #fff !important;
}
/* Browser autofill paints its own pale blue that background-color cannot
   override; a huge inset shadow is the only reliable way to keep autofilled
   (= filled) fields white like every other completed field. */
.pb-kfl input:-webkit-autofill,
.pb-kfl input:-webkit-autofill:hover,
.pb-kfl input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
  box-shadow: 0 0 0 1000px #fff inset !important;
  -webkit-text-fill-color: #222 !important;
  transition: background-color 9999s ease-in-out 0s;
}
input.pb-kfl__field-format-error { border-color: var(--pb-kfl-red) !important; }
.pb-kfl__flex-wrap-line { flex-wrap: wrap !important; }
/* Only single-column flex rows push warnings onto their own line; inside
   two-column rows the warning lives in its field cell instead. */
.pb-kfl__flex-wrap-line > .pb-kfl__required-warning,
.pb-kfl__flex-wrap-line > .pb-kfl__tel-warning,
.pb-kfl__flex-wrap-line > .pb-kfl__kana-warning,
.pb-kfl__flex-wrap-line > .pb-kfl__account-warning { flex-basis: 100%; }
.pb-kfl__field-cell {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap !important;
  min-width: 0;
}
.pb-kfl__field-cell > input,
.pb-kfl__field-cell > select { width: 100% !important; }
/* Account type select + account number share one row. */
.pb-kfl__bank-account-row {
  display: grid;
  grid-template-columns: minmax(96px, 130px) minmax(0, 1fr);
  gap: 8px;
  width: min(100%, 510px);
}
.pb-kfl__bank-type-hidden { display: none !important; }
.pb-kfl__bank-note {
  margin: 2px 0 8px !important;
  color: #55595e;
  font-size: 12px;
  line-height: 1.5;
}
/* The occupation and account info popovers reuse the pickup popover styling;
   the items just need to anchor them. */
.pb-kfl__job-field { position: relative; }
.pb-kfl__contact-field { position: relative; }
.form-item.bank-area[hidden] { display: none !important; }
/* Understated "chosen" look for the manual acceptance select: clearly picked,
   but the easy-approval radio keeps the visual lead. */
select.pb-kfl__manual-select--active {
  /* Thicken the ring with an inset shadow instead of a wider border so the
     control's inner height (and its text) never shifts. */
  border-color: #60d613 !important;
  box-shadow: inset 0 0 0 1px #60d613;
  background-color: #eaf9df !important;
  color: #2c7a10 !important;
  font-weight: 700;
}
/* Privacy-policy accordion, styled after the kaitori-apply pages. */
.pb-kfl__legal-details {
  width: 100%;
  margin: 6px 0 4px;
  border-top: 1px solid #d7dadd;
  border-bottom: 1px solid #d7dadd;
}
.pb-kfl__legal-details summary {
  position: relative;
  padding: 14px 34px 14px 2px;
  color: #22262a;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  touch-action: manipulation;
}
.pb-kfl__legal-details summary::-webkit-details-marker { display: none; }
.pb-kfl__legal-details summary::after {
  position: absolute;
  top: 50%;
  right: 5px;
  content: "+";
  color: var(--pb-kfl-red);
  font-size: 22px;
  font-weight: 500;
  transform: translateY(-50%);
}
.pb-kfl__legal-details[open] summary::after { content: "−"; }
.pb-kfl__legal-details summary:focus-visible {
  outline: 3px solid rgb(185 0 18 / 25%);
  outline-offset: 3px;
}
.pb-kfl__legal-details .form-content {
  height: auto;
  max-height: 320px;
  margin: 0 0 14px;
  padding: 14px;
  overflow: auto;
  border: 0;
  border-radius: 4px;
  background: #f7f7f7;
  color: #555b63;
  font-size: 11px;
  overscroll-behavior: contain;
}
.pb-kfl__legal-details .form-content .form-content-title {
  font-size: 12px !important;
  margin-top: 14px !important;
  font-weight: 700;
}
.pb-kfl__contact-row .pb-kfl__password-wrap { margin-bottom: 0; }
/* The form-title is a flex row (badge + text). The text must stay beside the
   badge as a single line; below 360px the full-size label no longer fits, so
   scale it down instead of letting the flex row wrap. */
.pb-kfl__contact-field > .form-title .pb-kfl__contact-title-text {
  word-break: keep-all;
  overflow-wrap: normal;
  white-space: nowrap;
}
@media (max-width: 359px) {
  .pb-kfl__contact-field > .form-title .pb-kfl__contact-title-text {
    font-size: 14px;
  }
  /* Keep the shipping-choice title and its info button on one line. */
  .pb-kfl__shipping-choice-field > .form-title {
    font-size: 15px;
  }
  .pb-kfl__zip-lookup-link { font-size: 11px; }
}
/* Keep bank and branch results out of the document flow until requested. */
.pb-kfl__lookup {
  position: relative;
  width: 100%;
}
.pb-kfl__lookup.is-open { z-index: 40; }
.pb-kfl__lookup > input { width: 100%; }
.pb-kfl__lookup .bank-search,
.pb-kfl__lookup .branch-search {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  z-index: 50;
  display: none;
  max-height: 280px;
  margin: 0;
  overflow: auto;
  border: 1px solid #b8b8b8;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .16);
}
.pb-kfl__lookup.is-open .bank-search,
.pb-kfl__lookup.is-open .branch-search { display: block; }
.pb-kfl__lookup .bank-search-top,
.pb-kfl__lookup .branch-search-top {
  position: sticky;
  top: 0;
  z-index: 2;
  margin: 0;
  background: #f7f7f7;
}
.pb-kfl__lookup .bank-search-bottom,
.pb-kfl__lookup .branch-search-bottom { margin: 0; background: #fff; }
.pb-kfl__lookup.is-empty .bank-search-bottom tr:nth-child(n + 7),
.pb-kfl__lookup.is-empty .branch-search-bottom tr:nth-child(n + 11),
.pb-kfl__lookup:not(.is-empty) .bank-search-bottom tr:nth-child(n + 21),
.pb-kfl__lookup:not(.is-empty) .branch-search-bottom tr:nth-child(n + 21) { display: none; }
.pb-kfl__lookup tbody tr:focus {
  outline: 3px solid rgba(96, 214, 19, .4);
  outline-offset: -3px;
  background: #eefbe5;
}

.pb-kfl__shipping-conditional { margin: 12px 0 16px; }
.pb-kfl__shipping-choice-field { position: relative; }
.pb-kfl__shipping-info-button {
  display: inline-grid;
  width: 22px;
  height: 22px;
  margin-left: 8px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--pb-kfl-green);
  color: #fff;
  cursor: pointer;
  font-family: Georgia, serif;
  font-size: 15px;
  font-style: italic;
  font-weight: 700;
  line-height: 1;
}
.pb-kfl__shipping-info-button:hover { background: #4daf0e; }
.pb-kfl__shipping-info-button:focus-visible { outline: 3px solid rgba(96, 214, 19, .35); outline-offset: 3px; }
.pb-kfl__shipping-info-popover {
  position: absolute;
  top: 46px;
  left: 0;
  z-index: 60;
  width: min(100%, 420px);
  padding: 11px 14px;
  border: 1px solid #c9d7bd;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .14);
  color: #3f4939;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
}
.pb-kfl__pickup-schedule-field { position: relative; }
.pb-kfl__pickup-schedule-controls {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: min(100%, 510px);
  margin: 0;
}
.pb-kfl__pickup-schedule-controls input[name="collect-date"],
.pb-kfl__pickup-schedule-controls select[name="collect-time"] {
  width: 100% !important;
  min-width: 0;
  height: 56px !important;
  min-height: 56px;
  margin: 0 !important;
}
/* The date input opens a calendar; give it the same affordance chevron the
   selects have. */
.pb-kfl__pickup-schedule-controls input[name="collect-date"] {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23333333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px 14px;
  padding-right: 38px !important;
  cursor: pointer;
}
.pb-kfl__pickup-info-button {
  display: inline-grid;
  width: 22px;
  height: 22px;
  margin-left: 8px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--pb-kfl-green);
  color: #fff;
  cursor: pointer;
  font-family: Georgia, serif;
  font-size: 15px;
  font-style: italic;
  font-weight: 700;
  line-height: 1;
}
.pb-kfl__pickup-info-button:hover { background: #4daf0e; }
.pb-kfl__pickup-info-button:focus-visible { outline: 3px solid rgba(96, 214, 19, .35); outline-offset: 3px; }
.pb-kfl__pickup-info-popover {
  position: absolute;
  top: 46px;
  left: 0;
  z-index: 60;
  width: min(100%, 420px);
  padding: 11px 14px;
  border: 1px solid #c9d7bd;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .14);
  color: #3f4939;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
  white-space: pre-line;
}
.pb-kfl__kit-compact {
  border-top: 1px solid #cfd2d5;
  border-bottom: 1px solid #cfd2d5;
}
.pb-kfl__kit-compact-overview {
  position: relative;
  display: grid;
  gap: 2px;
  padding: 13px 8px 11px 28px;
}
.pb-kfl__kit-compact-overview::before {
  position: absolute;
  top: 17px;
  left: 7px;
  width: 10px;
  height: 6px;
  content: "";
  border-bottom: 2px solid var(--pb-kfl-red);
  border-left: 2px solid var(--pb-kfl-red);
  transform: rotate(-45deg);
}
.pb-kfl__kit-compact-overview strong,
.pb-kfl__kit-compact-overview span { display: block; }
.pb-kfl__kit-compact-overview strong {
  color: var(--pb-kfl-ink);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
}
.pb-kfl__kit-compact-overview span {
  color: #646a71;
  font-size: 12px;
  line-height: 1.45;
}
.pb-kfl__kit-details { border-top: 1px solid #e7e8ea; }
.pb-kfl__kit-details > summary {
  position: relative;
  padding: 11px 42px 11px 8px;
  color: #4f545b;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  list-style: none;
}
.pb-kfl__kit-details > summary::-webkit-details-marker { display: none; }
.pb-kfl__kit-details > summary::after {
  position: absolute;
  top: 50%;
  right: 20px;
  width: 9px;
  height: 9px;
  content: "";
  border-right: 2px solid var(--pb-kfl-red);
  border-bottom: 2px solid var(--pb-kfl-red);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 160ms ease;
}
.pb-kfl__kit-details[open] > summary::after { transform: translateY(-25%) rotate(225deg); }
.pb-kfl__kit-details-body {
  display: grid;
  grid-template-columns: minmax(0, 110px) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 13px 8px 15px;
  border-top: 1px solid #f0f0f0;
}
.pb-kfl__kit-details-body img { display: block; width: 100%; height: auto; }
.pb-kfl__kit-details-copy { color: #545a61; font-size: 12px; line-height: 1.6; }
.pb-kfl__kit-details-copy p { margin: 0 0 7px; }
.pb-kfl__kit-details-copy strong { color: var(--pb-kfl-ink); }
.pb-kfl__kit-details-copy ul { margin: 0; padding-left: 1.1em; }
.pb-kfl__shipping-fixed-field,
.pb-kfl__shipping-hidden-field { display: none !important; }
.pb-kfl__mirror .free-kit-2.pb-kfl__shipping-pickup,
.pb-kfl__mirror .free-kit-2.pb-kfl__shipping-pickup .free-kit-home {
  display: block !important;
}
.pb-kfl__mirror .free-kit-2.pb-kfl__shipping-pickup { margin-top: 14px !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pb-kfl__mirror .form-submit button.your-submit,
  .pb-kfl__confirm-actions button { transition: none; }
}

@media (max-width: 600px) {
  .pb-kfl-page-header { position: relative; height: 80px; }
  .pb-kfl-page-header__inner { width: calc(100% - 24px); }
  .pb-kfl-page-header img { width: 185px; }
  .pb-kfl-page-header__actions { gap: 10px; }
  .pb-kfl-page-header__actions span { width: 60px; min-height: 58px; padding: 4px; font-size: 10px; line-height: 1.2; }
  .pb-kfl-page-main { padding: 0 15px 50px; }
  .pb-kfl { font-size: 15.6px; }
  .pb-kfl__lab-header { flex-direction: column; align-items: stretch; gap: 7px; margin: 10px auto 14px; font-size: 10px; }
  .pb-kfl__lab-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .pb-kfl__lab-actions button { width: 100%; }
  .pb-kfl__contact-title {
    min-height: 80px;
    margin-bottom: 5px;
    padding: 14px 14px 19px;
    background-image: url("https://price-base.com/useful/wp-content/uploads/2023/09/contact-title-bg-sp.png");
  }
  .pb-kfl__contact-title h1 { font-size: 24px; line-height: 1.3; }
  .pb-kfl__password-toggle { width: 46px; }
  .pb-kfl__confirm-actions button { width: 320px; }
  .pb-kfl__confirm-actions .pb-kfl__mock-send { background-image: url("https://price-base.com/useful/wp-content/uploads/2023/09/contact-btn-2-sp.png"); }
  .pb-kfl__confirm-actions .pb-kfl__mock-back { background-image: url("https://price-base.com/useful/wp-content/uploads/2023/09/contact-btn-3-sp-new.png"); }
  .pb-kfl__mirror .form-submit button.your-submit { background-image: url("https://price-base.com/useful/wp-content/uploads/2023/09/contact-btn-1-sp.png"); }
  .pb-kfl__dialog-panel { padding: 30px 20px; border-width: 2px; }
  .pb-kfl__lookup .bank-search,
  .pb-kfl__lookup .branch-search { max-height: 240px; }
  .pb-kfl__paired-controls {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
  }
  .pb-kfl__paired-controls input {
    width: 100% !important;
    min-width: 0;
    margin: 0 !important;
  }
  .pb-kfl__kit-compact-overview { padding: 12px 6px 10px 26px; }
  .pb-kfl__kit-compact-overview strong { font-size: 14px; }
  .pb-kfl__kit-compact-overview span { font-size: 11px; }
  .pb-kfl__kit-details > summary { padding: 10px 38px 10px 6px; font-size: 12px; }
  .pb-kfl__kit-details > summary::after { right: 15px; }
  .pb-kfl__kit-details-body { grid-template-columns: 76px minmax(0, 1fr); gap: 10px; padding: 10px 6px 13px; }
  .pb-kfl__kit-details-copy { font-size: 11px; }
  .pb-kfl__shipping-info-button { width: 19px; height: 19px; margin-left: 6px; font-size: 13px; }
  .pb-kfl__shipping-info-popover { top: 42px; width: min(100%, 330px); padding: 10px 12px; font-size: 12px; }
  .pb-kfl__pickup-schedule-controls { width: 100%; gap: 8px; }
  .pb-kfl__pickup-schedule-controls input[name="collect-date"],
  .pb-kfl__pickup-schedule-controls select[name="collect-time"] { height: 52px !important; min-height: 52px; }
  .pb-kfl__pickup-schedule-controls input[name="collect-date"] {
    background-position: right 8px center;
    background-size: 12px 12px;
    padding-right: 24px !important;
  }
  .pb-kfl__pickup-info-button { width: 19px; height: 19px; margin-left: 6px; font-size: 13px; }
  .pb-kfl__pickup-info-popover { top: 42px; width: min(100%, 330px); padding: 10px 12px; font-size: 12px; }
  .pb-kfl__name-field { margin-bottom: 20px !important; }
  .pb-kfl__name-layout { width: 100%; gap: 8px; }
  .pb-kfl__name-row { gap: 8px; }
  .pb-kfl__address-field { margin-bottom: 20px !important; }
  .pb-kfl__address-layout { gap: 9px; }
  .pb-kfl__address-postcode { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); width: 100%; gap: 7px; }
  .pb-kfl__address-automatic-row { width: 100%; gap: 7px; }
  .pb-kfl__address-pair-row { width: 100%; gap: 7px; }
  .pb-kfl__address-row { width: 100%; }
}

@media (max-width: 360px) {
  .pb-kfl-page-header img { width: 126px; }
  .pb-kfl-page-header__actions { gap: 6px; }
  .pb-kfl-page-header__actions span { width: 54px; font-size: 9px; }
  .pb-kfl__contact-title h1 { font-size: 20px; white-space: nowrap; }
}

/* The production sheet tucks the payment explainer up with margin-top -20px;
   on narrow widths the preceding gap shrinks to 20px and the two cancel to
   zero. Soften the tuck so a 10px gap survives at every width. */
@media (max-width: 781px) {
  .pb-kfl .form-text.payment-1,
  .pb-kfl .form-text.payment-2 { margin-top: -10px !important; }
}
