/* Sartin Marine single boat + engine listings. Loaded only on those views by mu-plugins/sartin-listing.php. Styles the boat-inventory plugin markup; does not change it. */
body.single-boat .twc-boat-page,
body.single-engine .twc-boat-page{
  --twc-primary:#c8102e;--twc-primary-dark:#a50d26;--twc-ink:#0f1c2e;--twc-muted:#566377;--twc-line:#d5dce6;--twc-bg:#fff;
  --l-navy:#002457;--l-deep:#00163a;--l-mist:#eef2f7;--l-body:#3a4658;--l-gutter:clamp(20px,4vw,56px);
  --l-display:"Barlow Condensed","Arial Narrow",sans-serif;--l-text:"Barlow",system-ui,-apple-system,"Segoe UI",sans-serif;
  font-family:var(--l-text);color:var(--l-body);background:#fff;padding:0 0 clamp(48px,6vw,88px);font-size:1.0625rem;line-height:1.6;
}
body .twc-boat-page .twc-container{max-width:1280px;padding:0 var(--l-gutter)}

/* Title band: breadcrumb + H1 + facts + price on deep navy, full bleed */
body .twc-boat-page .twc-breadcrumb,
body .twc-boat-page .twc-boat-hero{background:var(--l-deep);box-shadow:0 0 0 100vmax var(--l-deep);clip-path:inset(0 -100vmax)}
body .twc-boat-page .twc-breadcrumb{margin:0;padding:22px 0 14px;font-size:.95rem;color:rgba(255,255,255,.8);position:relative}
body .twc-boat-page .twc-breadcrumb a{color:rgba(255,255,255,.85);display:inline-flex;align-items:center;min-height:32px}
body .twc-boat-page .twc-breadcrumb a:hover{color:#fff;text-decoration:underline}
body .twc-boat-page .twc-breadcrumb [aria-current="page"]{color:#fff}
body .twc-boat-page .twc-boat-hero{margin:0 0 clamp(24px,3vw,40px);padding:0 0 clamp(26px,3.4vw,40px);position:relative}
body .twc-boat-page .twc-boat-hero__title{font-family:var(--l-display);font-weight:700;text-transform:uppercase;color:#fff;font-size:clamp(2.1rem,1.3rem + 3.2vw,3.9rem);line-height:.98;letter-spacing:-.005em;margin:0 0 16px;text-wrap:balance;max-width:20em}
body .twc-boat-page .twc-boat-hero__tagline{color:#ffd27a;font-style:normal;font-size:1.1rem}
body .twc-boat-page .twc-boat-hero__meta{gap:10px 0;color:rgba(255,255,255,.85);font-size:1rem}
body .twc-boat-page .twc-boat-hero__fact{border-right:1px solid rgba(255,255,255,.28);padding:0 16px;color:rgba(255,255,255,.85)}
body .twc-boat-page .twc-boat-hero__meta > :first-child{padding-left:0}
body .twc-boat-page .twc-boat-hero__meta > .twc-chip{margin-right:16px}
body .twc-boat-page .twc-boat-hero__fact strong{color:#fff}
body .twc-boat-page .twc-boat-hero__fact--location svg{color:#ffd27a}
body .twc-boat-page .twc-boat-hero .twc-chip{background:#ffd27a;color:#00163a;border-radius:3px;font-family:var(--l-display);font-weight:700;font-size:1rem;letter-spacing:.08em;padding:4px 10px;line-height:1.1}
body .twc-boat-page .twc-boat-hero__price{font-family:var(--l-display);font-weight:700;font-size:clamp(2.2rem,1.6rem + 2vw,3.2rem);line-height:1;color:#fff;letter-spacing:0}
body .twc-boat-page .twc-boat-hero__price.is-sold{color:#fff;opacity:.8}
body .twc-boat-page .twc-boat-hero a.twc-boat-hero__price--call{background:var(--twc-primary);color:#fff !important;border-radius:4px;min-height:52px;padding:0 24px;font-size:1.35rem;letter-spacing:.04em;text-transform:uppercase;gap:8px}
body .twc-boat-page .twc-boat-hero a.twc-boat-hero__price--call:hover{background:var(--twc-primary-dark);color:#fff !important}
body .twc-boat-page .twc-boat-hero a.twc-boat-hero__price--call svg{margin:0 !important;vertical-align:0 !important}

/* Layout */
body .twc-boat-page .twc-boat-layout{grid-template-columns:minmax(0,1fr) 400px;gap:clamp(28px,4vw,56px)}
body .twc-boat-page .twc-boat-main{gap:clamp(32px,4vw,52px)}
body .twc-boat-page .twc-sticky{top:104px}

/* Gallery */
body .twc-boat-page .twc-gallery{background:var(--l-mist);box-shadow:none;border-radius:6px;border:1px solid var(--twc-line)}
body .twc-boat-page .twc-gallery__stage .twc-chip{display:none}
body .twc-boat-page .twc-gallery__arrow{width:48px;height:48px;border-radius:50%;background:rgba(0,22,58,.82);border:2px solid rgba(255,255,255,.9);color:#fff}
body .twc-boat-page .twc-gallery__arrow:hover{background:var(--l-deep)}
body .twc-boat-page .twc-gallery__arrow svg{width:22px;height:22px}
body .twc-boat-page .twc-gallery__zoom{background:rgba(0,22,58,.85);color:#fff;border:2px solid rgba(255,255,255,.9);border-radius:4px;min-height:44px;padding:0 14px;font-family:var(--l-display);font-weight:700;letter-spacing:.06em;text-transform:uppercase;font-size:1rem;gap:6px}
body .twc-boat-page .twc-gallery__zoom svg{width:18px;height:18px}
body .twc-boat-page .twc-gallery__counter{background:rgba(0,22,58,.85);color:#fff;border-radius:4px;font-size:.95rem;padding:4px 10px}
body .twc-boat-page .twc-gallery__thumbs{padding:10px;background:#fff;gap:8px}
body .twc-boat-page .twc-gallery__thumb{border:3px solid transparent;border-radius:4px;background:#fff;padding:0;opacity:.8}
body .twc-boat-page .twc-gallery__thumb:hover{opacity:1}
body .twc-boat-page .twc-gallery__thumb.is-active{border-color:var(--twc-primary);opacity:1}
body .twc-boat-page .twc-gallery__thumb:focus-visible,
body .twc-boat-page .twc-gallery__arrow:focus-visible,
body .twc-boat-page .twc-gallery__zoom:focus-visible{outline:3px solid #ffbf47;outline-offset:2px}

/* Specs: open table, no card */
body .twc-boat-page .twc-specs{background:transparent;box-shadow:none;border:0;padding:0;border-radius:0}
body .twc-boat-page .twc-specs__header{border-bottom:2px solid var(--l-navy);padding:0 0 10px;margin:0 0 4px;display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap}
body .twc-boat-page .twc-specs__title,
body .twc-boat-page .twc-contact__title{font-family:var(--l-display);font-weight:700;text-transform:uppercase;color:var(--l-ink,#0f1c2e);font-size:clamp(1.7rem,1.3rem + 1.2vw,2.3rem);line-height:1.02;letter-spacing:-.005em;margin:0;text-wrap:balance}
body .twc-boat-page .twc-specs__stock{color:var(--twc-muted);font-size:.95rem}
body .twc-boat-page .twc-specs__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 28px;margin:0}
body .twc-boat-page .twc-specs__row{padding:14px 0;border-bottom:1px solid var(--twc-line)}
body .twc-boat-page .twc-specs__label{font-size:.8rem;font-weight:600;text-transform:uppercase;letter-spacing:.09em;color:var(--twc-muted);margin:0 0 2px}
body .twc-boat-page .twc-specs__value{font-size:1.1rem;font-weight:600;color:#0f1c2e;margin:0;overflow-wrap:anywhere}

/* Description */
body .twc-boat-page .twc-description{background:transparent;box-shadow:none;border:0;padding:0;border-radius:0}
body .twc-boat-page .twc-description__body{max-width:44rem;color:var(--l-body);font-size:1.0625rem;line-height:1.65}
body .twc-boat-page .twc-description__body p{margin:0 0 1em}
body .twc-boat-page .twc-description__body img{max-width:100%;height:auto;border-radius:4px}
body .twc-boat-page .twc-description__body h2,
body .twc-boat-page .twc-description__body h3,
body .twc-boat-page .twc-description__body h4{font-family:var(--l-display);text-transform:uppercase;color:#0f1c2e;font-size:1.7rem;line-height:1.05;margin:1.6em 0 .5em;border:0;padding:0;text-wrap:balance}
body .twc-boat-page .twc-description__body h2::after,
body .twc-boat-page .twc-description__body h3::after,
body .twc-boat-page .twc-description__body h4::after{display:none}
body .twc-boat-page .twc-description__body a{color:#0058b8;text-decoration:underline}

/* Summary card: navy */
body .twc-boat-page .twc-summary{background:var(--l-navy);color:#fff;box-shadow:none;border-radius:6px;padding:26px}
body .twc-boat-page .twc-summary__price,
body .twc-boat-page .twc-summary__call-hint,
body .twc-boat-page .twc-summary__price-prefix{display:none !important}
body .twc-boat-page .twc-summary__msrp{margin:0 0 16px;color:#fff}
body .twc-boat-page .twc-summary__msrp-label,
body .twc-boat-page .twc-summary__msrp-value,
body .twc-boat-page .twc-summary__price-qualifier{color:rgba(255,255,255,.85)}
body .twc-boat-page .twc-summary__savings{background:#ffd27a;color:#00163a;border-radius:3px}
body .twc-boat-page .twc-summary__quickspecs{border-top:0;padding:0;margin:0 0 22px;gap:16px 20px}
body .twc-boat-page .twc-summary__quickspec-label{color:#ffd27a;font-family:var(--l-display);font-size:1rem;font-weight:600;letter-spacing:.12em}
body .twc-boat-page .twc-summary__quickspec-value{color:#fff;font-family:var(--l-display);font-size:1.7rem;font-weight:700;line-height:1.05}
body .twc-boat-page .twc-summary__ctas{gap:10px;margin-bottom:10px}
body .twc-boat-page .twc-btn,
body .twc-boat-page a.twc-btn,
body .twc-boat-page button.twc-btn,
body .twc-boat-page a.twc-summary__cta{min-height:52px;border-radius:4px;font-family:var(--l-display);font-weight:700;font-size:1.25rem;letter-spacing:.04em;text-transform:uppercase;border:2px solid transparent;padding:0 20px}
body .twc-boat-page .twc-btn--primary,
body .twc-boat-page a.twc-btn--primary,
body .twc-boat-page button.twc-btn--primary{background:var(--twc-primary);border-color:var(--twc-primary);color:#fff !important}
body .twc-boat-page .twc-btn--primary:hover,
body .twc-boat-page a.twc-btn--primary:hover,
body .twc-boat-page button.twc-btn--primary:hover{background:var(--twc-primary-dark);border-color:var(--twc-primary-dark);color:#fff !important}
body .twc-boat-page .twc-summary .twc-btn--ghost,
body .twc-boat-page .twc-summary a.twc-btn--ghost{background:transparent !important;border-color:rgba(255,255,255,.85) !important;color:#fff !important}
body .twc-boat-page .twc-summary .twc-btn--ghost svg{stroke:currentColor}
body .twc-boat-page .twc-summary .twc-btn--ghost:hover,
body .twc-boat-page .twc-summary a.twc-btn--ghost:hover{background:#fff !important;color:var(--l-deep) !important;border-color:#fff !important}
body .twc-boat-page .twc-btn:focus-visible{outline:3px solid #ffbf47;outline-offset:3px;box-shadow:none}
body .twc-boat-page a.twc-summary__cta{display:flex;align-items:center;justify-content:center;background:var(--twc-primary);color:#fff !important;text-decoration:none}
body .twc-boat-page a.twc-summary__cta:hover{background:var(--twc-primary-dark);text-decoration:none}
/* injected financing link (sartin-listing.php) */
body .twc-boat-page a.sm-l-finance{display:flex;align-items:center;justify-content:center;min-height:48px;margin:0 0 6px;color:#fff;font-weight:600;text-decoration:underline;text-underline-offset:4px}
body .twc-boat-page a.sm-l-finance:hover{color:#ffd27a}
body .twc-boat-page .twc-summary__share{border-top:1px solid rgba(255,255,255,.2);padding-top:14px;margin-top:6px}
body .twc-boat-page .twc-summary__share-label{color:rgba(255,255,255,.85)}
body .twc-boat-page .twc-share{width:44px;height:44px;background:transparent;border:1px solid rgba(255,255,255,.5);color:#fff}
body .twc-boat-page .twc-share:hover{background:#fff;color:var(--l-deep)}

/* Contact form (plugin form, restyle only) */
body .twc-boat-page .twc-contact{background:#fff;border:1px solid var(--twc-line);box-shadow:none;border-radius:6px;padding:26px;margin-top:20px;scroll-margin-top:110px}
body .twc-boat-page .twc-contact__dealer{color:var(--l-body);font-size:.98rem}
body .twc-boat-page .twc-contact__dealer a{color:#0058b8;text-decoration:underline;display:inline-flex;align-items:center;min-height:44px}
body .twc-boat-page .twc-field input,
body .twc-boat-page .twc-field textarea{border:1px solid #7b889b;border-radius:4px;min-height:52px;font-family:var(--l-text);font-size:1rem;color:#0f1c2e;background:#fff}
body .twc-boat-page .twc-field input:focus,
body .twc-boat-page .twc-field textarea:focus{border-color:var(--l-navy);outline:3px solid #ffbf47;outline-offset:1px;box-shadow:none}
body .twc-boat-page .twc-field label{color:var(--twc-muted);font-family:var(--l-text)}
body .twc-boat-page .twc-contact__fineprint{color:var(--twc-muted);font-size:.85rem}

body .twc-boat-page .twc-back{margin:clamp(28px,4vw,48px) 0 0}
body .twc-boat-page .twc-back a{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-weight:600;color:#0058b8}

/* Closing band, injected after the listing (sartin-listing.php) */
.sm-l-band{background:var(--sm-mist,#eef2f7);padding:clamp(48px,6vw,88px) 0}
.sm-l-band .smh-wrap{display:flex;flex-wrap:wrap;gap:24px 56px;align-items:center;justify-content:space-between}
.sm-l-band h2{font-size:clamp(2rem,1.4rem + 2.2vw,3.2rem);text-transform:uppercase;margin:0 0 10px}
.sm-l-band p{max-width:32em;margin:0}
.sm-l-band .smh-actions{margin-top:0}
.smh .sm-l-band a.smh-btn--ghost,.sm-l-band a.smh-btn--ghost{color:var(--sm-deep,#00163a) !important;border-color:var(--sm-navy,#002457)}
.sm-l-band a.smh-btn--ghost:hover{background:var(--sm-navy,#002457);color:#fff !important}

/* Mobile action bar */
.sm-l-bar{display:none}
@media (max-width:760px){
  body.single-boat,body.single-engine{padding-bottom:76px}
  .sm-l-bar{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:8px;position:fixed;left:0;right:0;bottom:0;z-index:9990;background:var(--sm-deep,#00163a);padding:10px 12px calc(10px + env(safe-area-inset-bottom));box-shadow:0 -4px 18px rgba(0,0,0,.25)}
  .sm-l-bar a{display:flex;align-items:center;justify-content:center;min-height:52px;border-radius:4px;font-family:"Barlow Condensed","Arial Narrow",sans-serif;font-weight:700;font-size:1.15rem;letter-spacing:.04em;text-transform:uppercase;text-decoration:none;color:#fff;border:2px solid rgba(255,255,255,.85)}
  .sm-l-bar a.is-primary{background:#c8102e;border-color:#c8102e}
  .sm-l-bar a:focus-visible{outline:3px solid #ffbf47;outline-offset:2px}
}

/* Tablet and phone: gallery first, then price actions, then specs, description, form */
@media (max-width:1024px){
  body .twc-boat-page .twc-boat-layout{display:flex;flex-direction:column;gap:28px}
  body .twc-boat-page .twc-boat-main,
  body .twc-boat-page .twc-boat-aside,
  body .twc-boat-page .twc-sticky{display:contents}
  body .twc-boat-page .twc-gallery,body .twc-boat-page .twc-summary,body .twc-boat-page .twc-specs,body .twc-boat-page .twc-description,body .twc-boat-page .twc-contact{min-width:0;width:100%;max-width:100%}
  body .twc-boat-page .twc-gallery{order:1}
  body .twc-boat-page .twc-summary{order:2}
  body .twc-boat-page .twc-specs{order:3}
  body .twc-boat-page .twc-description{order:4}
  body .twc-boat-page .twc-contact{order:5;margin-top:0}
  body .twc-boat-page .twc-specs__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:760px){
  body .twc-boat-page .twc-boat-hero__fact:nth-of-type(n+6){display:none}
  body .twc-boat-page .twc-boat-hero__fact{padding:0 12px}
  body .twc-boat-page .twc-boat-hero__price{width:100%;margin-top:6px}
  body .twc-boat-page .twc-gallery__thumbs{padding:8px}
  body .twc-boat-page .twc-specs__grid{gap:0 18px}
  body .twc-boat-page .twc-summary,body .twc-boat-page .twc-contact{padding:20px}
  .sm-l-band .smh-actions{width:100%}
  .sm-l-band .smh-btn{flex:1 1 100%}
}
body .twc-boat-page .twc-description__body ul,body .twc-boat-page .twc-description__body ol{margin:0 0 1em;padding-left:1.25em}
body .twc-boat-page .twc-description__body ul ul,body .twc-boat-page .twc-description__body ol ol,body .twc-boat-page .twc-description__body li > ul{padding-left:1em;margin-bottom:.4em}
body .twc-boat-page .twc-description__body li{margin:0 0 .35em}
html body .twc-boat-page .twc-summary .twc-share{width:44px !important;height:44px !important;background:#fff !important;color:#00163a !important}
html body .twc-boat-page .twc-summary .twc-share:hover{background:#ffd27a !important;color:#00163a !important}
html body .twc-boat-page .twc-summary .twc-share svg{width:18px !important;height:18px !important}
body .twc-boat-page a.twc-summary__cta{margin-bottom:10px}
body .twc-engine-page .twc-description__body img{max-height:440px;width:auto;margin:0 auto 1.2em;background:var(--l-mist);padding:12px;border-radius:4px}
body .twc-boat-page .twc-summary a.sm-l-call{display:flex;width:100%;margin-bottom:8px}
body .twc-engine-page .twc-boat-hero__meta{min-height:0}
