/* Pick Mobile 2026 – theme styles (colours, type and spacing live in theme.json) */

.wp-site-blocks > * + *,
.pm-main > * + * { margin-block-start: 0; }
:focus-visible { outline: 3px solid #A179F1; outline-offset: 2px; }

/* ---------- Header ---------- */
.pm-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid #E5E3EC; padding-top: 14px; padding-bottom: 14px; }
.admin-bar .pm-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .pm-header { top: 46px; } }
.pm-header__inner { gap: 16px 24px; align-items: center; }
.pm-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #230B5A; }
.pm-brand img { height: 40px; width: auto; display: block; }
.pm-brand span { font-size: 22px; font-weight: 500; letter-spacing: -0.01em; }
.pm-brand:hover { color: #230B5A; }
.pm-nav { font-size: 15px; gap: 4px 24px; }
.pm-nav a { color: #2A2540; text-decoration: none; padding: 10px 0; }
.pm-nav a:hover, .pm-nav .current-menu-item > a { color: #7C48C2; }
.pm-header__actions { gap: 12px; }
.pm-header__actions .wp-block-button__link { font-size: 15px; padding: 0.65rem 1.15rem; }

/* ---------- Buttons ---------- */
.wp-block-button.is-style-outline > .wp-block-button__link { background: transparent; border: 1px solid #C7C4D1; color: #230B5A; font-weight: 500; }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { border-color: #230B5A; background: transparent; color: #230B5A; }
.pm-btn-navy .wp-block-button__link { background: #230B5A; color: #fff; }
.pm-btn-navy .wp-block-button__link:hover { background: #33167A; color: #fff; }

/* ---------- Dark sections ---------- */
.has-navy-background-color :where(h1, h2, h3, h4),
.has-navy-deep-background-color :where(h1, h2, h3, h4) { color: #fff; }
.has-navy-background-color a:where(:not(.wp-element-button)),
.has-navy-deep-background-color a:where(:not(.wp-element-button)) { color: #fff; }
.has-navy-background-color .is-style-outline > .wp-block-button__link { border-color: rgba(255,255,255,0.35); color: #fff; }
.has-navy-background-color .is-style-outline > .wp-block-button__link:hover { border-color: #fff; color: #fff; }

/* ---------- Shared text styles ---------- */
.pm-eyebrow, .pm-eyebrow a { font-size: 14px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: #7C48C2; text-decoration: none; }
.pm-eyebrow--mint, .pm-eyebrow--mint a { color: #8DE9C4 !important; }
.pm-eyebrow--dark { color: #5A31A8; }
.pm-lead { font-size: 1.1875rem; line-height: 1.6; color: #CDB8F8; max-width: 560px; }
.pm-lead--dark { color: #2A2540; font-size: 1.125rem; max-width: none; }
.pm-muted { color: #5C5870; }
.pm-section { padding-top: 96px; padding-bottom: 96px; }

/* ---------- Hero ---------- */
.pm-hero { padding-top: 88px; padding-bottom: 96px; overflow: hidden; }
.pm-hero__cols { gap: 48px; }
.pm-hero h1 { margin-top: 0; }
.pm-hero-logo { text-align: center; margin: 0; }
.pm-hero-logo img { max-height: 400px; width: auto; filter: drop-shadow(1.5px 0 0 #fff) drop-shadow(-1.5px 0 0 #fff) drop-shadow(0 1.5px 0 #fff) drop-shadow(0 -1.5px 0 #fff) drop-shadow(0 20px 40px rgba(64,214,160,0.18)); }

/* ---------- Networks line ---------- */
.pm-networks { border-bottom: 1px solid #E5E3EC; padding-top: 36px; padding-bottom: 36px; text-align: center; }
.pm-networks__text { margin: 0; font-size: 1.0625rem; color: #2A2540; }
.pm-networks__text strong { color: #230B5A; font-weight: 600; }

/* ---------- Account manager points ---------- */
.pm-am__cols { gap: 56px; }
.pm-points { gap: 16px; }
.pm-point { background: #fff; border-radius: 14px; padding: 24px; }
.pm-point::before { content: ""; display: block; width: 24px; height: 24px; margin-bottom: 10px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322A08A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") no-repeat center / contain; }
.pm-point h3 { font-size: 1.0625rem; margin: 0 0 6px; }
.pm-point p { margin: 0; font-size: 0.9375rem; line-height: 1.5; color: #5C5870; }

/* ---------- Service / post cards ---------- */
.pm-section__head { max-width: 640px; margin-bottom: 48px; }
.pm-section__head h2 { margin-top: 12px; }
.pm-cards { gap: 20px; }
.pm-card { border: 1px solid #E5E3EC; border-radius: 14px; padding: 28px; background: #fff; }
.pm-services .pm-card::before { content: ""; display: block; width: 36px; height: 36px; border-radius: 10px; margin-bottom: 16px; background: #F1EAFE url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='4' fill='%237C48C2'/%3E%3C/svg%3E") no-repeat center / 20px; }
.pm-card h3 { font-size: 1.1875rem; margin: 0 0 8px; }
.pm-card p { margin: 0; font-size: 0.9375rem; line-height: 1.55; color: #5C5870; }

/* ---------- Hub panel ---------- */
.pm-hubwrap { padding-top: 0; }
.pm-hub { border-radius: 28px; padding: 56px; }
.pm-hub h2 { margin-top: 12px; }
@media (max-width: 600px) { .pm-hub { padding: 32px 24px; } }

/* ---------- CTA band ---------- */
.pm-cta { padding-top: 80px; padding-bottom: 80px; }
.pm-cta__cols { gap: 32px; }
.pm-cta h2 { margin-top: 0; }
.pm-cta__alt { font-size: 0.9375rem; color: #CDB8F8; }

/* ---------- Footer ---------- */
.pm-footer { padding-top: 56px; padding-bottom: 40px; }
.pm-footer__cols { gap: 40px; }
.pm-footer .pm-brand, .pm-footer .pm-brand:hover { color: #fff; }
.pm-footer .pm-brand img { height: 36px; }
.pm-footer .pm-brand span { font-size: 20px; }
.pm-footer p { font-size: 0.9375rem; line-height: 1.7; }
.pm-footer a { color: #CDB8F8 !important; text-decoration: none; }
.pm-footer a:hover { color: #fff !important; }
.pm-footer__h { font-size: 13px !important; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 8px; }
.pm-footer__links { line-height: 2.1 !important; }
.pm-footer__legal { margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.12); font-size: 14px !important; color: #A99BD0; }

/* ---------- Title band, pages and posts ---------- */
.pm-title-band { padding-top: 64px; padding-bottom: 72px; }
.pm-title-band h1 { margin: 8px 0 0; font-size: clamp(2.25rem, 4.4vw, 3.375rem); }
.pm-title-band .pm-lead { margin-top: 16px; }
/* Keep short-measure blocks left-aligned inside centred (constrained) sections */
.pm-title-band > .pm-lead, .pm-section__head {
  max-width: 1200px !important; box-sizing: border-box;
  padding-right: clamp(0px, calc(100% - 640px), 560px);
}
.pm-post-date { color: #CDB8F8; font-size: 0.9375rem; margin-top: 12px; }
.pm-post-card .pm-post-date { color: #5C5870; margin-top: 4px; }
.pm-content { padding-top: 56px; padding-bottom: 96px; }
.pm-content h2 { font-size: 1.75rem; margin-top: 2.2em; }
.pm-content h3 { font-size: 1.3rem; margin-top: 1.8em; }
.pm-content > :first-child { margin-top: 0; }
.pm-with-help { padding-top: 56px; padding-bottom: 96px; }
.pm-with-help .pm-content { padding: 0; }
.pm-with-help__cols { gap: 48px; }
.pm-post-nav { padding-bottom: 80px; gap: 16px; }
.pm-posts .wp-block-post-template { gap: 20px; }
.pm-post-card__title { font-size: 1.3rem !important; margin: 8px 0 0; }
.pm-post-card__title a { color: #230B5A; text-decoration: none; }
.pm-post-card__title a:hover { color: #7C48C2; }
.wp-block-query-pagination { margin-top: 48px; gap: 12px; }

/* ---------- Help panel ---------- */
.pm-help { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 16px; }
.pm-help__card { border-radius: 20px; padding: 28px; }
.pm-help__card h2 { font-size: 1.375rem; margin: 0 0 8px; }
.pm-help__btns { flex-direction: column; align-items: stretch; gap: 10px; }
.pm-help__btns .wp-block-button__link { width: 100%; text-align: center; }
.pm-help__btns .is-style-outline > .wp-block-button__link { background: #fff; }
.pm-help__hours { border: 1px solid #E5E3EC; border-radius: 20px; padding: 28px; font-size: 0.9375rem; }
.pm-help__hours h3 { margin: 0 0 8px; font-size: 1.125rem; }
@media (max-width: 781px) { .pm-help { position: static; } }

/* ---------- FAQ accordion (core Details block) ---------- */
.wp-block-details { border: 1px solid #E5E3EC; border-radius: 14px; padding: 0 24px; margin-block: 12px 0 !important; }
.wp-block-details summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; position: relative; font-size: 1.125rem; font-weight: 600; color: #230B5A; }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: #7C48C2; }
.wp-block-details[open] summary::after { content: "–"; }
.wp-block-details > :last-child { padding-bottom: 20px; }

.pm-tip { padding: 16px 18px; border-radius: 10px; background: #D9F7EA; color: #170740; }
.pm-with-help .wp-block-details:first-child { margin-top: 0 !important; }

.pm-contact__h { margin-top: 0; font-size: 1.75rem; }
.pm-faq .wp-block-details { background: #fff; }
.pm-faq h2 { margin-top: 8px; margin-bottom: 24px; }
#faq { scroll-margin-top: 96px; }

/* ---------- Help & contact page ---------- */
.pm-contact-band { padding-bottom: 120px; }
.pm-cc-wrap { margin-top: -72px; position: relative; z-index: 2; }
.pm-cc-grid { gap: 20px; }
.pm-cc { box-shadow: 0 8px 24px -8px rgba(20,16,46,0.18), 0 2px 4px rgba(20,16,46,0.04); display: flex; flex-direction: column; }
.pm-cc::before { content: ""; display: block; width: 44px; height: 44px; border-radius: 10px; margin-bottom: 16px; background-color: #F1EAFE; background-repeat: no-repeat; background-position: center; background-size: 22px; }
.pm-cc--phone::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237C48C2' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E"); }
.pm-cc--mail::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237C48C2' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='M22 7l-10 6L2 7'/%3E%3C/svg%3E"); }
.pm-cc--calendar::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237C48C2' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E"); }
.pm-cc--hub::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237C48C2' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='9' rx='1'/%3E%3Crect x='14' y='3' width='7' height='5' rx='1'/%3E%3Crect x='14' y='12' width='7' height='9' rx='1'/%3E%3Crect x='3' y='16' width='7' height='5' rx='1'/%3E%3C/svg%3E"); }
.pm-cc p { flex: 1; }
.pm-cc .pm-cc__link { flex: 0; margin-top: 12px; font-weight: 600; }
.pm-cc .pm-cc__link a { color: #230B5A; text-decoration: none; border-bottom: 2px solid #40D6A0; padding-bottom: 2px; }
.pm-cc .pm-cc__link a:hover { color: #7C48C2; }
.pm-contact-main { padding-top: 72px; }
.pm-contact-main .pm-with-help__cols > .wp-block-column { display: flex; flex-direction: column; }
.pm-form-card { flex: 1; border: 1px solid #E5E3EC; border-radius: 20px; padding: 28px 32px; background: #fff; }
.pm-form-card .pm-contact__h { margin: 0; }
.pm-form-card .pm-muted { margin: 8px 0 20px; }
.pm-form-card .pm-content > * { margin-block: 0 !important; }
.pm-form-card .pm-content form, .pm-form-card .pm-content form > :last-child { margin-bottom: 0 !important; padding-bottom: 0 !important; }
.pm-form-card .pm-content p:empty { display: none; }
.pm-form-card .pm-content { padding: 0; }
.pm-form-card .pm-content > :first-child { margin-top: 0; }
.pm-side-stack { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.pm-side { border-radius: 20px; padding: 24px 28px; font-size: 0.9375rem; line-height: 1.6; }
.pm-side h3 { margin: 0 0 8px; font-size: 1.125rem; }
.pm-side p { margin: 8px 0 0; }
.pm-side--hours { background: #F1EAFE; }
.pm-side--urgent { background: #D9F7EA; color: #170740; }
.pm-side--post { border: 1px solid #E5E3EC; }
.pm-dialog { margin: auto !important; inset: 0; width: min(960px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; padding: 0; border: 0; border-radius: 20px; box-shadow: 0 24px 48px -16px rgba(20,16,46,0.35); }
.pm-dialog::backdrop { background: rgba(23,7,64,0.6); backdrop-filter: blur(4px); }
.pm-dialog__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px 16px 28px; border-bottom: 1px solid #E5E3EC; }
.pm-dialog__head h2 { margin: 4px 0 0; font-size: 1.375rem; }
.pm-dialog__head .pm-eyebrow { margin: 0; }
.pm-dialog__close { width: 44px; height: 44px; flex: none; border: 1px solid #C7C4D1; border-radius: 10px; background: #fff; color: #230B5A; font-size: 26px; line-height: 1; cursor: pointer; }
.pm-dialog__close:hover { border-color: #230B5A; }
.pm-dialog__body iframe { display: block; width: 100%; height: 760px; border: 0; }
html:has(.pm-dialog[open]) { overflow: hidden; }
@media (max-width: 781px) { .pm-cc-wrap { margin-top: -48px; } .pm-form-card { padding: 24px; } }

/* ---------- The theme's contact form ---------- */
.pm-form { margin: 0; }
.pm-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pm-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.pm-form__field { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.pm-form__field--full { grid-column: 1 / -1; }
.pm-form label { font-size: 0.9375rem; font-weight: 500; color: #230B5A; }
.pm-form label span[aria-hidden] { color: #7C48C2; }
.pm-form__opt { font-weight: 400; color: #5C5870; }
.pm-form input, .pm-form textarea {
  width: 100%; box-sizing: border-box; font: inherit; font-size: 1rem; color: #0F0B2A; text-align: left;
  padding: 0.75rem 0.9rem; background: #fff; border: 1px solid #C7C4D1; border-radius: 10px;
}
.pm-form textarea { resize: vertical; min-height: 120px; }
.pm-form input:focus, .pm-form textarea:focus { border-color: #7C48C2; outline: 3px solid #F1EAFE; }
.pm-form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 20px; }
.pm-form__submit { font: inherit; font-weight: 600; font-size: 1.0625rem; cursor: pointer; border: 0; border-radius: 10px; padding: 0.85rem 1.6rem; background: #40D6A0; color: #170740; }
.pm-form__submit:hover { background: #3CB9B3; }
.pm-form__submit:disabled { opacity: 0.6; cursor: default; }
.pm-form__status { margin: 0; font-size: 0.9375rem; }
.pm-form__status.is-ok { color: #170740; background: #D9F7EA; padding: 10px 14px; border-radius: 10px; }
.pm-form__status.is-err { color: #991B1B; background: #FEE2E2; padding: 10px 14px; border-radius: 10px; }
#message { scroll-margin-top: 96px; }
@media (max-width: 600px) { .pm-form__grid { grid-template-columns: 1fr; } }

/* ---------- Forms (contact form, login, rates checker) ---------- */
.pm-content input[type="text"], .pm-content input[type="email"], .pm-content input[type="tel"],
.pm-content input[type="password"], .pm-content input[type="number"], .pm-content input[type="search"],
.pm-content select, .pm-content textarea {
  width: 100%; max-width: 100%; box-sizing: border-box; font: inherit; font-size: 1rem; color: #0F0B2A;
  padding: 0.8rem 1rem; background: #fff; border: 1px solid #C7C4D1; border-radius: 10px;
}
.pm-content input:focus, .pm-content select:focus, .pm-content textarea:focus { border-color: #7C48C2; outline: 3px solid #F1EAFE; }
.pm-content label { font-weight: 500; color: #230B5A; }
.pm-content button, .pm-content input[type="submit"] {
  font: inherit; font-weight: 600; font-size: 1.0625rem; cursor: pointer; border: 0; border-radius: 10px;
  padding: 0.85rem 1.6rem; background: #40D6A0; color: #170740;
}
.pm-content button:hover, .pm-content input[type="submit"]:hover { background: #3CB9B3; }

/* ---------- Tables (legal pages) ---------- */
.pm-content table { border-collapse: collapse; width: 100%; font-size: 0.9375rem; }
.pm-content th, .pm-content td { border: 1px solid #E5E3EC; padding: 10px 14px; text-align: left; vertical-align: top; }
.pm-content th, .pm-content thead td { background: #F1F0F5; color: #230B5A; }

/* ---------- MyHub (the customer portal) and its login (9 Nov 2026) ----------
   The portal brings its own look: full width, no title band, none of the site's form or heading styles. */
.pm-app { padding: 0; }
.pm-app__content { max-width: none; margin: 0; padding: 0; }
.pm-app__content > * { max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }
body:has(.pm-app:not(.pm-app--login)) .wp-site-blocks { padding: 0 !important; }
.pm-app--login .pm-app__content { padding: 40px 24px 64px; }

/* ---------- Small screens ---------- */
@media (max-width: 781px) {
  .pm-hero { padding-top: 56px; padding-bottom: 64px; }
  .pm-hero-logo img { max-height: 240px; }
  .pm-section { padding-top: 64px; padding-bottom: 64px; }
  .pm-hubwrap { padding-top: 0; }
}
