/* Port Linen Hire booking and thank-you pages (third pass, 2026-11-20), inside the site's own Divi header and footer.
   Scoped to .plh-book so the theme cannot reach in, and the theme's look kept: Martel, navy #0a2540, logo blue #15465b, pale #f6f9fc.
   Every control is 16px or larger (iPhone Safari zooms into smaller ones) and 44px or taller to tap. */
.plh-book { --ink: #0a2540; --brand: #15465b; --text: #3d4a55; --muted: #66727c; --line: #dde3e8; --pale: #f6f9fc; --err: #b42318; --warn: #9a6a12;
  color: var(--text); font-family: 'Martel', Georgia, serif; font-size: 17px; line-height: 1.6; }
.plh-book *, .plh-book *::before, .plh-book *::after { box-sizing: border-box; }
.plh-book p { margin: 0; padding: 0; }
.plh-book h1, .plh-book h2 { margin: 0; padding: 0; color: var(--ink); font-family: inherit; font-weight: 800; line-height: 1.15; }
.plh-book a { color: var(--brand); }
.plh-icon { width: 20px; height: 20px; flex: none; }
.plh-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* page heading */
.plh-head { padding: 48px 0 32px; background: var(--pale); }
.plh-head h1 { font-size: clamp(32px, 4.4vw, 46px); }
.plh-lead { max-width: 640px; margin-top: 10px !important; color: var(--text); font-size: 18px; }
.plh-facts { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 18px 0 0; padding: 0; list-style: none; color: var(--ink); font-size: 15px; }
.plh-facts li { display: inline-flex; align-items: center; gap: 8px; padding: 0; }
.plh-facts .plh-icon { color: var(--brand); }

/* layout */
.plh-body { padding: 32px 0 80px; background: var(--pale); }
.plh-grid { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 32px; align-items: start; }
.plh-step { min-width: 0; margin: 0 0 24px; padding: 28px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.plh-step legend { display: flex; align-items: center; gap: 12px; float: left; width: 100%; margin: 0 0 18px; padding: 0; color: var(--ink); font-size: 22px; font-weight: 800; line-height: 1.2; }
.plh-step legend + * { clear: both; }
.plh-n { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 16px; }
.plh-optional { margin-left: 4px; color: var(--muted); font-size: 15px; font-weight: 400; }
.plh-step-intro { margin: -6px 0 16px !important; color: var(--muted); font-size: 15px; }

/* fields */
.plh-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.plh-fields .form-row-wide, .plh-fields .plh-nights, .plh-fields .crsp-date-note, .plh-fields .crsp-hp { grid-column: 1 / -1; }
.plh-book .form-row { margin: 0 0 16px; padding: 0; }
.plh-book .form-row label { display: block; margin: 0 0 6px; color: var(--ink); font-size: 16px; font-weight: 700; line-height: 1.3; }
.plh-book input.input-text, .plh-book textarea.input-text { display: block; width: 100% !important; min-height: 48px; margin: 0 !important; padding: 10px 12px !important;
  border: 1px solid #aeb8c1 !important; border-radius: 8px !important; background: #fff !important; color: var(--ink) !important;
  font: inherit !important; font-size: 17px !important; line-height: 1.4 !important; box-shadow: none; }
.plh-book textarea.input-text { min-height: 96px; resize: vertical; }
.plh-book .input-text:focus { border-color: var(--brand) !important; outline: 3px solid rgba(21, 70, 91, .22); outline-offset: 0; }
.plh-book .input-text[aria-invalid="true"] { border-color: var(--err) !important; box-shadow: 0 0 0 1px var(--err); }
.plh-book abbr.required { border: 0; color: var(--err); text-decoration: none; }
.plh-book .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.crsp-field-hint { display: block; margin-top: 6px; color: var(--muted); font-size: 14px; }
.crsp-field-error { display: block; margin-top: 8px; color: var(--err); font-size: 15px; font-weight: 700; }
.plh-nights { margin: -4px 0 14px !important; color: var(--ink); font-size: 16px; font-weight: 700; }
.crsp-date-note { margin: 0 0 16px !important; padding: 12px 14px !important; border-left: 3px solid #c58a00; border-radius: 0 8px 8px 0; background: #fff8e6; color: #4a3800; font-size: 15px; }
.plh-nights[hidden], .crsp-date-note[hidden], .plh-nudge[hidden] { display: none; }
.crsp-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* bedding cards */
.plh-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.plh-card { display: flex; flex-direction: column; gap: 12px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; transition: border-color .2s, box-shadow .2s; }
.plh-wide { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
.plh-card-top { display: flex; gap: 12px; }
.plh-item-icon { width: 30px; height: 30px; color: var(--brand); }
.plh-name { display: block; margin: 0; color: var(--ink); font-size: 18px; font-weight: 800; line-height: 1.3; cursor: pointer; }
.plh-price { display: block; color: var(--brand); font-size: 15px; font-weight: 700; }
.plh-desc { display: block; margin-top: 4px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.plh-inc { flex: 1; margin: 0; padding: 0 0 0 42px; list-style: none; color: var(--muted); font-size: 15px; line-height: 1.55; }
.plh-inc li { padding: 0; }
.plh-qty-row { margin: 0 !important; }
.plh-card .plh-qty-row { padding-left: 42px !important; }
.plh-wide .plh-qty-row { padding-left: 0 !important; }
.crsp-chosen.plh-card, .crsp-chosen.plh-extra { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); background: #fbfdfe; }

/* extras */
.plh-extras { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
.plh-extra { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 10px 10px 16px; border: 1px solid var(--line); border-radius: 12px; }
.plh-extra .plh-name { font-size: 16px; }
.plh-extra .plh-price { color: var(--muted); font-size: 14px; font-weight: 400; }
.crsp-order-hint { margin-top: 14px !important; color: var(--muted); font-size: 15px; }

/* stepper: a number box without JavaScript, minus / plus with it */
.crsp-qty { display: inline-flex; align-items: center; border: 1px solid #aeb8c1; border-radius: 999px; background: #fff; overflow: hidden; }
.crsp-qty-btn { display: none; width: 44px; height: 44px; margin: 0; padding: 0; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 24px; line-height: 1; cursor: pointer; }
.crsp-js .crsp-qty-btn { display: inline-block; }
.crsp-qty-btn:hover:not([disabled]) { background: rgba(21, 70, 91, .08); }
.crsp-qty-btn[disabled] { color: #c3c9ce; cursor: default; }
.crsp-qty-btn:focus-visible { outline: 3px solid var(--brand); outline-offset: -3px; }
.plh-book input.crsp-qty-input { width: 44px; height: 44px; margin: 0; padding: 0; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 18px; font-weight: 800; text-align: center; -moz-appearance: textfield; appearance: textfield; }
.crsp-qty-input::-webkit-outer-spin-button, .crsp-qty-input::-webkit-inner-spin-button { margin: 0; -webkit-appearance: none; }
.crsp-chosen .crsp-qty { border-color: var(--ink); }

/* summary */
.plh-side { position: sticky; top: 24px; }
.plh-summary { padding: 26px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 10px 28px rgba(10, 37, 64, .07); }
.plh-summary h2 { margin-bottom: 8px; font-size: 22px; }
.plh-sum-stay { margin-bottom: 12px !important; color: var(--muted); font-size: 15px; }
.plh-sum-stay strong { color: var(--ink); }
.crsp-order-lines { margin: 0; padding: 10px 0 0; border-top: 1px solid var(--line); list-style: none; font-size: 16px; }
.crsp-order-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.crsp-order-empty { color: var(--muted); }
.plh-sum-row { display: flex; justify-content: space-between; padding: 4px 0 !important; color: var(--muted); font-size: 15px; }
.plh-nudge { margin: 10px 0 0 !important; padding: 10px 12px !important; border-radius: 8px; background: #eef5f8; color: var(--ink); font-size: 15px; }
.plh-link { display: inline; margin: 0; padding: 0; border: 0; background: none; color: var(--brand); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.crsp-order-total { display: flex; justify-content: space-between; align-items: baseline; margin: 12px 0 16px !important; padding-top: 12px !important; border-top: 1px solid var(--line); color: var(--ink); font-size: 18px; }
.crsp-order-total strong { font-size: 28px; }
.crsp-order-error { margin: 0 0 12px !important; color: var(--err); font-size: 15px; font-weight: 700; }
.plh-btn { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; margin: 0; padding: 0 22px; border: 2px solid var(--ink); border-radius: 999px;
  background: var(--ink); color: #fff; font: inherit; font-size: 17px; font-weight: 700; line-height: 1.2; cursor: pointer; transition: background .2s, color .2s; }
.plh-btn:hover { background: #fff; color: var(--ink); }
.plh-btn[disabled] { opacity: .7; cursor: progress; }
.plh-btn { white-space: nowrap; }
.plh-btn-sm { width: auto; min-height: 44px; font-size: 16px; }
.crsp-order-secure { display: flex; gap: 8px; margin-top: 12px !important; color: var(--muted); font-size: 14px; line-height: 1.45; }
.crsp-order-secure .plh-icon { width: 16px; height: 16px; margin-top: 2px; }
.plh-help { margin-top: 14px !important; color: var(--muted); font-size: 15px; text-align: center; }

/* phones */
.crsp-order-bar { display: none; }
@media (max-width: 980px) {
  .plh-grid { grid-template-columns: 1fr; gap: 0; }
  .plh-side { position: static; }
  .plh-cards { grid-template-columns: 1fr; }
  .crsp-order-bar.crsp-bar-on { position: fixed; z-index: 99999; right: 0; bottom: 0; left: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 18px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; box-shadow: 0 -6px 20px rgba(10, 37, 64, .12); }
  .crsp-bar-total { color: var(--ink); font-size: 16px; }
  .crsp-bar-total strong { font-size: 20px; }
  .et_pb_scroll_top { display: none !important; }
}
@media (max-width: 640px) {
  .plh-head { padding: 32px 0 24px; }
  .plh-body { padding-top: 20px; }
  .plh-wrap { padding: 0 16px; }
  .plh-step { padding: 20px 16px; }
  .plh-step legend { font-size: 20px; }
  .plh-fields, .plh-extras { grid-template-columns: 1fr; }
  .plh-wide { flex-direction: column; align-items: stretch; }
  .plh-wide .plh-qty-row { padding-left: 42px !important; }
  #crsp-order-pay { padding: 0 12px; font-size: 16px; }
}

/* thank-you page */
.plh-body-confirm { padding-top: 56px; }
.plh-confirm { max-width: 640px; margin: 0 auto; }
.plh-confirm h1 { font-size: clamp(28px, 4vw, 38px); }
.plh-confirm .crsp-order-lines { margin-top: 16px; }
.plh-confirm-dates { margin-bottom: 12px !important; color: var(--ink); font-weight: 700; }
.plh-confirm p + p { margin-top: 10px; }
