/*
 * Product pages (D-036); the Roadside Retro skin (D-048) is the last section. Colours come from the theme's palette (Appearance > Customize > Colors), so
 * a palette change carries through: --global-palette1 navy, 2 bright blue, 3/4 text, 5/6 muted text,
 * 7 borders, 8 light background, 11 green. The yellow promo badge echoes the site's banner artwork.
 */
.rlt-pd, .rlt-pd-bar, .rlt-pd-hero {
	/* Roadside Retro roles (D-048): navy outlines and text, red accents, paper on cream, mustard tags. */
	--pd-navy: var(--global-palette3, #1b2a4a);
	--pd-blue: var(--global-palette1, #b8322b);
	--pd-ink: var(--global-palette3, #1b2a4a);
	--pd-text: var(--global-palette4, #1b2a4a);
	--pd-muted: var(--global-palette5, #4a5672);
	--pd-line: var(--global-palette7, #c9bfa9);
	--pd-soft: var(--global-palette8, #f6efe2);
	--pd-paper: var(--global-palette9, #fff8ec);
	--pd-green: var(--global-palette11, #1f6b3a);
	--pd-yellow: var(--global-palette14, #e9b23a);
	--pd-radius: 14px;
}
.rlt-pd {
	color: var(--pd-text);
	margin: 1.5rem 0 3rem;
}
/* The theme indents every list in page content; these lists set their own spacing. */
.rlt-pd ul.rlt-pd-keyspecs, .rlt-pd ul.rlt-pd-features, .rlt-pd ul.rlt-pd-perks { padding-left: 0; margin-left: 0; }
.rlt-pd ul.rlt-pd-features li, .rlt-pd ul.rlt-pd-perks li { margin-left: 0; }
.rlt-pd ul.rlt-pd-keyspecs { margin: clamp(1.75rem, 3vw, 2.5rem) 0 0; }
.rlt-pd ul.rlt-pd-features, .rlt-pd ul.rlt-pd-perks { margin-bottom: 0; }
/* A sub-point inside a feature: a small dash, no second check mark. */
.rlt-pd ul.rlt-pd-features ul { list-style: none; margin: .35rem 0 0; padding: 0; }
.rlt-pd ul.rlt-pd-features li li { padding-left: 1rem; color: var(--pd-muted); }
.rlt-pd ul.rlt-pd-features li li::before { content: "–"; background: none; width: auto; height: auto; top: 0; border-radius: 0; }
.rlt-pd h2 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); color: var(--pd-ink); margin: 0 0 1rem; letter-spacing: -.01em; }

/* ---- top: gallery | booking card ---- */
.rlt-pd-top { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: start; }
.rlt-pd-gallery { min-width: 0; }
.rlt-pd-stage { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--pd-radius); overflow: hidden; background: var(--pd-soft); cursor: zoom-in; aspect-ratio: 4 / 3; box-shadow: 0 1px 2px rgba(11, 26, 38, .06), 0 8px 24px rgba(11, 26, 38, .08); }
/* contain, not cover: many photos carry banner text near the edges, which must not be cut off. */
.rlt-pd-stage img { width: 100%; height: 100%; object-fit: contain; display: block; transition: transform .4s ease; }
.rlt-pd-stage:hover img { transform: scale(1.02); }
.rlt-pd-stage:focus-visible { outline: 3px solid var(--pd-blue); outline-offset: 3px; }
.rlt-pd-count, .rlt-pd-zoom { position: absolute; bottom: 12px; background: rgba(11, 26, 38, .72); color: #fff; font-size: .8rem; font-weight: 600; border-radius: 999px; padding: .3rem .7rem; backdrop-filter: blur(4px); }
.rlt-pd-count { left: 12px; }
.rlt-pd-zoom { right: 12px; font-size: 1rem; line-height: 1; padding: .35rem .55rem; }
.rlt-pd-thumbs { display: flex; gap: .5rem; margin-top: .65rem; overflow-x: auto; padding-bottom: .35rem; scroll-snap-type: x proximity; scrollbar-width: thin; }
.rlt-pd-thumb { flex: 0 0 84px; height: 64px; padding: 0; border: 2px solid transparent; border-radius: 9px; overflow: hidden; background: var(--pd-soft); cursor: pointer; scroll-snap-align: start; opacity: .72; transition: opacity .15s, border-color .15s; box-shadow: none; }
.rlt-pd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rlt-pd-thumb:hover, .rlt-pd-thumb:focus-visible { opacity: 1; }
.rlt-pd-thumb.is-on { opacity: 1; border-color: var(--pd-blue); }

.rlt-pd-buy { position: sticky; top: 1.5rem; background: #fff; border: 1px solid var(--pd-line); border-radius: var(--pd-radius); padding: 1.5rem; box-shadow: 0 1px 2px rgba(11, 26, 38, .05), 0 12px 32px rgba(11, 26, 38, .08); }
.admin-bar .rlt-pd-buy { top: calc(1.5rem + 32px); }
.rlt-pd-price { margin: 0 0 .9rem; color: var(--pd-ink); line-height: 1.1; }
.rlt-pd-price-from { display: block; font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--pd-muted); margin-bottom: .25rem; }
.rlt-pd-price-amount { font-size: 2.6rem; font-weight: 800; letter-spacing: -.02em; }
.rlt-pd-price-per { font-size: 1.05rem; color: var(--pd-muted); font-weight: 500; }
.rlt-pd-promo { display: flex; gap: .5rem; align-items: flex-start; margin: 0 0 1rem; background: var(--pd-yellow); color: var(--pd-ink); font-weight: 700; font-size: .92rem; line-height: 1.35; border-radius: 10px; padding: .6rem .8rem; }
.rlt-pd-promo strong { font-weight: 800; }
.rlt-pd-modes { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin: 0 0 1.1rem; }
.rlt-pd-modes-label { width: 100%; font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--pd-muted); }
.rlt-pd-mode { font-size: .88rem; border-radius: 999px; padding: .3rem .7rem; border: 1px solid var(--pd-line); }
.rlt-pd-mode.is-yes { color: var(--pd-green); border-color: color-mix(in srgb, var(--pd-green) 35%, transparent); background: color-mix(in srgb, var(--pd-green) 7%, #fff); font-weight: 600; }
.rlt-pd-mode.is-no { color: var(--pd-muted); background: var(--pd-soft); }
a.rlt-pd-cta, a.rlt-pd-cta:visited { display: block; text-align: center; background: var(--pd-blue); color: #fff !important; text-decoration: none; font-weight: 700; font-size: 1.05rem; border-radius: 10px; padding: .9rem 1rem; transition: background .15s, transform .15s; box-shadow: 0 6px 16px color-mix(in srgb, var(--pd-blue) 35%, transparent); }
a.rlt-pd-cta:hover, a.rlt-pd-cta:focus-visible { background: var(--pd-navy); transform: translateY(-1px); }
a.rlt-pd-cta.is-quiet { background: var(--pd-navy); box-shadow: none; }
.rlt-pd-soon { background: var(--pd-soft); border-radius: 10px; padding: .8rem .9rem; }
.rlt-pd-soon .rlt-cta-note { margin: 0; color: var(--pd-text); }
.rlt-pd-perks { list-style: none; margin: 1.1rem 0 0; padding: 1rem 0 0; border-top: 1px solid var(--pd-line); display: grid; gap: .45rem; font-size: .9rem; color: var(--pd-muted); }
.rlt-pd-perks li { padding-left: 1.5rem; position: relative; }
.rlt-pd-perks li::before, .rlt-pd-features li::before { content: ""; position: absolute; left: 0; top: .2em; width: 1.05em; height: 1.05em; border-radius: 50%; background: color-mix(in srgb, var(--pd-green) 14%, #fff) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%2313612E' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M4 8.5l2.6 2.5L12 5.5'/%3E%3C/svg%3E") center / 72% no-repeat; }
.rlt-pd-addon-note { margin: 0; color: var(--pd-muted); }

/* ---- key specs ---- */
.rlt-pd-keyspecs { list-style: none; margin: clamp(1.5rem, 3vw, 2.25rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .75rem; }
.rlt-pd-keyspecs li { background: var(--pd-soft); border-radius: 12px; padding: 1rem 1.1rem; border-left: 4px solid var(--pd-blue); }
.rlt-pd-keyspec-label { display: block; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--pd-muted); margin-bottom: .3rem; }
.rlt-pd-keyspec-value { display: block; font-size: 1.15rem; font-weight: 800; color: var(--pd-ink); line-height: 1.25; }

/* ---- specs | features ---- */
.rlt-pd-section { margin-top: clamp(2rem, 4vw, 3rem); }
.rlt-pd-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); }
.rlt-pd-cols.is-single { grid-template-columns: minmax(0, 760px); }
.rlt-pd-cols > .rlt-pd-section { margin-top: clamp(2rem, 4vw, 3rem); }
.rlt-pd-specs { margin: 0; border: 1px solid var(--pd-line); border-radius: 12px; overflow: hidden; }
.rlt-pd-specs > div { display: grid; grid-template-columns: minmax(130px, 40%) 1fr; gap: 1rem; padding: .8rem 1rem; }
.rlt-pd-specs > div:nth-child(odd) { background: var(--pd-soft); }
.rlt-pd-specs dt { font-weight: 600; color: var(--pd-muted); }
.rlt-pd-specs dd { margin: 0; color: var(--pd-ink); font-weight: 600; }
.rlt-pd-features { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.rlt-pd-features li { position: relative; padding-left: 1.75rem; line-height: 1.45; }
.rlt-pd-features li::before { top: .15em; width: 1.2em; height: 1.2em; }

/* ---- good to know ---- */
.rlt-pd-notices { display: grid; gap: .75rem; }
.rlt-pd-notice { display: grid; grid-template-columns: auto 1fr; gap: .25rem .9rem; align-items: baseline; border-radius: 12px; padding: 1rem 1.15rem; background: #fff7e0; border: 1px solid #f1d58a; }
.rlt-pd-notice strong { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: #8a5a00; background: #ffe9a8; border-radius: 6px; padding: .2rem .5rem; }
.rlt-pd-notice.is-prohibited { background: #fdeeee; border-color: #f2c4c4; }
.rlt-pd-notice.is-prohibited strong { color: #9b1c1c; background: #f9d5d5; }
.rlt-pd-notice > div > :first-child { margin-top: 0; }
.rlt-pd-notice > div > :last-child { margin-bottom: 0; }
.rlt-pd-more { max-width: 760px; }

/* ---- related rails ---- */
.rlt-pd-related-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1rem; }
.rlt-pd-related-head h2 { margin: 0; }
.rlt-pd-related-head p { margin: .25rem 0 0; color: var(--pd-muted); }
.rlt-pd-related-head a { white-space: nowrap; font-weight: 600; text-decoration: none; }
.rlt-pd-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 1rem; overflow-x: auto; padding: .25rem .1rem 1rem; scroll-snap-type: x proximity; }
.rlt-pd-rail .rlt-card { scroll-snap-align: start; }

/* Cards everywhere (lists and rails): a little lift. */
.rlt-card { transition: transform .18s ease, box-shadow .18s ease; border-radius: 12px; }
.rlt-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(11, 26, 38, .1); }
.rlt-card img, .rlt-card-nophoto { border-radius: 8px; }

/* ---- full-screen viewer ---- */
.rlt-pd-lightbox { border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; background: rgba(5, 12, 20, .94); color: #fff; }
.rlt-pd-lightbox[open] { display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; }
.rlt-pd-lightbox::backdrop { background: rgba(5, 12, 20, .94); }
.rlt-pd-lightbox figure { margin: 0; display: grid; place-items: center; height: 100vh; padding: 3.5rem 0 2.5rem; }
.rlt-pd-lightbox img { max-width: 100%; max-height: calc(100vh - 6rem); object-fit: contain; border-radius: 6px; user-select: none; -webkit-user-drag: none; }
.rlt-pd-lightbox figcaption { margin-top: .6rem; font-size: .85rem; opacity: .8; }
.rlt-pd-lightbox button { background: rgba(255, 255, 255, .12); color: #fff; border: 0; border-radius: 50%; width: 48px; height: 48px; font-size: 1.8rem; line-height: 1; cursor: pointer; justify-self: center; box-shadow: none; }
.rlt-pd-lightbox button:hover, .rlt-pd-lightbox button:focus-visible { background: rgba(255, 255, 255, .26); }
.rlt-pd-lightbox .rlt-lb-close { position: fixed; top: 14px; right: 14px; font-size: 1.6rem; }
html.rlt-lb-open { overflow: hidden; }

/* ---- automatic pages: title band like the theme's ---- */
.rlt-pd-hero { background: var(--global-palette1, #1e3a8a); color: #fff; padding: clamp(2rem, 5vw, 3.5rem) 0; }
.rlt-pd-hero-inner { max-width: var(--global-content-width, 1290px); margin: 0 auto; padding: 0 var(--global-content-edge-padding, 1.5rem); }
.rlt-pd-hero h1 { color: #fff; margin: .35rem 0 0; font-size: clamp(1.9rem, 1.4rem + 2.2vw, 3rem); letter-spacing: -.02em; }
.rlt-pd-hero-sub { margin: .6rem 0 0; font-size: 1.15rem; opacity: .9; max-width: 60ch; }
a.rlt-pd-back, a.rlt-pd-back:visited { color: rgba(255, 255, 255, .85); text-decoration: none; font-weight: 600; font-size: .95rem; }
a.rlt-pd-back:hover { color: #fff; }
/* The automatic page's own main: full-width title band, then content at the theme's content width. */
main.rlt-product { padding: 0; margin: 0; }
.rlt-product .rlt-pd { max-width: var(--global-content-width, 1290px); margin: clamp(1.5rem, 4vw, 3rem) auto 3rem; padding: 0 var(--global-content-edge-padding, 1.5rem); }

/* ---- phone bar ---- */
.rlt-pd-bar { display: none; }
@media (max-width: 900px) {
	.rlt-pd-top { grid-template-columns: 1fr; }
	.rlt-pd-buy { position: static; }
	.rlt-pd-cols { grid-template-columns: 1fr; }
	.rlt-pd-lightbox[open] { grid-template-columns: 0 1fr 0; }
	.rlt-pd-lightbox .rlt-lb-prev, .rlt-pd-lightbox .rlt-lb-next { position: fixed; bottom: 16px; }
	.rlt-pd-lightbox .rlt-lb-prev { left: 16px; }
	.rlt-pd-lightbox .rlt-lb-next { right: 16px; }
	.rlt-pd-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 16px calc(.7rem + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--pd-line); box-shadow: 0 -8px 24px rgba(11, 26, 38, .1); transform: translateY(110%); transition: transform .25s ease; }
	.rlt-pd-bar.is-shown { transform: none; }
	.rlt-pd-bar strong { display: block; font-size: .9rem; color: var(--pd-ink); line-height: 1.2; }
	.rlt-pd-bar span { font-size: .85rem; color: var(--pd-muted); }
	.rlt-pd-bar a.rlt-pd-cta { padding: .7rem 1.1rem; font-size: .95rem; flex: 0 0 auto; box-shadow: none; }
	html.rlt-has-bar body { padding-bottom: 76px; }
	.rlt-pd-specs > div { grid-template-columns: 1fr; gap: .15rem; }
	.rlt-pd-keyspecs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rlt-pd-keyspec-value { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
	.rlt-pd *, .rlt-card { transition: none !important; }
	.rlt-pd-stage:hover img, .rlt-card:hover { transform: none; }
}

/* ---- Roadside Retro skin (D-048) ---- */
.rlt-pd h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); font-weight: 400; }
.rlt-pd-stage { background: var(--pd-paper); border: 2px solid var(--pd-navy); box-shadow: 5px 5px 0 var(--pd-navy); }
.rlt-pd-count, .rlt-pd-zoom { background: var(--pd-navy); color: var(--pd-paper); }
.rlt-pd-thumb { border: 2px solid var(--pd-navy); border-radius: 8px; opacity: .8; }
.rlt-pd-thumb.is-on { border-color: var(--pd-navy); outline: 3px solid var(--pd-blue); outline-offset: 2px; opacity: 1; }
.rlt-pd-buy { background: var(--pd-paper); border: 2px solid var(--pd-navy); box-shadow: 5px 5px 0 var(--pd-navy); }
/* The price as a red "from $X a day" disc, the promo beside it. */
.rlt-pd-price { float: left; width: 112px; height: 112px; margin: 0 1rem .9rem 0; border-radius: 50%; display: grid; place-content: center; text-align: center; background: var(--pd-blue); color: var(--pd-paper); border: 2px solid var(--pd-navy); box-shadow: 3px 3px 0 var(--pd-navy); transform: rotate(-6deg); }
.rlt-pd-price-from { color: var(--pd-paper); font-size: .7rem; letter-spacing: .08em; margin: 0; }
.rlt-pd-price-amount { color: var(--pd-paper); font-family: var(--global-heading-font-family, Georgia, serif); font-weight: 400; font-size: 2.1rem; line-height: 1; letter-spacing: 0; }
.rlt-pd-price-per { display: block; color: var(--pd-paper); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.rlt-pd-promo { overflow: hidden; background: var(--pd-yellow); border: 2px solid var(--pd-navy); border-radius: 8px; margin-top: .9rem; }
.rlt-pd-deposit { overflow: hidden; margin: .7rem 0 .9rem; color: var(--pd-navy); font-weight: 700; font-size: .92rem; line-height: 1.35; }
.rlt-pd-modes { clear: both; }
.rlt-pd-buy .rlt-pd-soon { clear: both; } /* below the price disc (add-ons have no pickup row) */
.rlt-pd-mode { border: 2px solid var(--pd-navy); background: var(--pd-paper); color: var(--pd-navy); font-weight: 600; }
.rlt-pd-mode.is-yes { color: var(--pd-paper); background: var(--pd-navy); border-color: var(--pd-navy); }
.rlt-pd-mode.is-no { color: var(--pd-muted); background: var(--pd-soft); border-style: dashed; }
a.rlt-pd-cta, a.rlt-pd-cta:visited { background: var(--pd-blue); color: var(--pd-paper) !important; border: 2px solid var(--pd-navy); box-shadow: 3px 3px 0 var(--pd-navy); }
a.rlt-pd-cta:hover, a.rlt-pd-cta:focus-visible { background: var(--global-palette2, #9a2621); transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--pd-navy); }
a.rlt-pd-cta.is-quiet { background: var(--pd-navy); box-shadow: 3px 3px 0 var(--pd-yellow); }
.rlt-pd-soon { background: var(--pd-soft); border: 2px dashed var(--pd-navy); }
.rlt-pd-perks { border-top: 2px dotted var(--pd-line); color: var(--pd-text); }
.rlt-pd-perks li::before { content: "★"; background: none; color: var(--pd-blue); width: auto; height: auto; top: 0; border-radius: 0; font-size: 1rem; line-height: 1.35; }
.rlt-pd-keyspecs li { background: var(--pd-navy); color: var(--pd-soft); border: 2px solid var(--pd-navy); border-radius: 12px; box-shadow: 4px 4px 0 var(--pd-yellow); }
/* Every tile: label at the top, its content centred in the space below, so values line up across the row. */
.rlt-pd-keyspecs li { display: flex; flex-direction: column; }
.rlt-pd-keyspecs li > .rlt-pd-keyspec-value, .rlt-pd-keyspecs li > .rlt-pd-keyspec-icon, .rlt-pd-keyspecs li > .rlt-pd-dims { margin-top: auto; margin-bottom: auto; }
.rlt-pd-keyspec-label { color: var(--pd-soft); text-transform: none; letter-spacing: 0; font-weight: 500; opacity: .85; }
.rlt-pd-keyspec-value { color: var(--pd-paper); font-family: var(--global-heading-font-family, Georgia, serif); font-weight: 400; font-size: 1.45rem; }
/* The size tile shows every dimension, one per line, a little smaller. */
.rlt-pd-keyspecs li.is-multi .rlt-pd-keyspec-value { font-size: 1.2rem; line-height: 1.3; }
/* The size tile: each dimension on its own line, aligned: "14 ft" big, "(168 in)" soft, "long" a mustard tag. */
.rlt-pd-dims { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .25rem .6rem; }
.rlt-pd-dim-v { white-space: nowrap; }
.rlt-pd-dim { display: contents; }
.rlt-pd-dim-ft { font-family: var(--global-heading-font-family, Georgia, serif); font-size: 1.45rem; line-height: 1.15; color: var(--pd-paper); white-space: nowrap; }
.rlt-pd-dim-in { margin-left: .2rem; font-size: .85rem; font-weight: 600; color: var(--pd-soft); opacity: .75; }
.rlt-pd-dim-what { justify-self: start; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; line-height: 1.2; color: var(--pd-navy); background: var(--pd-yellow); border-radius: 999px; padding: .12rem .5rem; }
/* Capacity, Ball Size and Lighting Connector: a white outline icon (64 x 64) beside the value. */
.rlt-pd-keyspec-icon { display: flex; align-items: center; gap: .7rem; }
.rlt-pd-keyspec-icon img { display: block; flex: none; width: 52px; height: 52px; }
.rlt-pd-keyspecs li.is-ball .rlt-pd-keyspec-value, .rlt-pd-keyspecs li.is-capacity .rlt-pd-keyspec-value { white-space: nowrap; }
.rlt-pd-specs { border: 0; border-radius: 0; }
.rlt-pd-specs > div, .rlt-pd-specs > div:nth-child(odd) { background: none; padding: .7rem 0; border-bottom: 2px dotted var(--pd-line); }
.rlt-pd-specs dt { color: var(--pd-navy); font-weight: 700; }
.rlt-pd-specs dd { font-weight: 500; }
.rlt-pd-features li { font-weight: 500; padding-left: 2rem; }
.rlt-pd-features li::before { background: var(--pd-blue); border: 2px solid var(--pd-navy); box-sizing: border-box; }
.rlt-pd-notice { background: color-mix(in srgb, var(--pd-yellow) 25%, var(--pd-paper)); border: 2px solid var(--pd-navy); }
.rlt-pd-notice strong { color: var(--pd-navy); background: var(--pd-yellow); border: 2px solid var(--pd-navy); }
.rlt-pd-notice.is-prohibited { background: color-mix(in srgb, var(--pd-blue) 10%, var(--pd-paper)); border-color: var(--pd-navy); }
.rlt-pd-notice.is-prohibited strong { color: var(--pd-paper); background: var(--pd-blue); }
.rlt-pd-related-head a { color: var(--pd-blue); text-decoration: underline; text-underline-offset: 3px; }
.rlt-pd-rail { padding: .25rem .4rem 1.1rem .1rem; }
.rlt-card:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--global-palette3, #1b2a4a); }
/* automatic pages: the title on cream, under the header's checkered strip */
.rlt-pd-hero { background: var(--pd-soft); color: var(--pd-navy); border-bottom: 2px solid var(--pd-navy); }
.rlt-pd-hero h1 { color: var(--pd-navy); font-weight: 400; }
.rlt-pd-hero-sub { color: var(--pd-muted); opacity: 1; }
a.rlt-pd-back, a.rlt-pd-back:visited { color: var(--pd-muted); text-decoration: underline; text-underline-offset: 3px; }
a.rlt-pd-back:hover { color: var(--pd-blue); }
@media (max-width: 900px) {
	.rlt-pd-bar { background: var(--pd-navy); border-top: 3px solid var(--pd-yellow); box-shadow: none; }
	.rlt-pd-bar strong { color: var(--pd-paper); font-family: var(--global-heading-font-family, Georgia, serif); font-weight: 400; font-size: 1.05rem; }
	.rlt-pd-bar span { color: var(--pd-soft); }
	.rlt-pd-bar a.rlt-pd-cta { background: var(--pd-yellow); color: var(--pd-navy) !important; border-color: var(--pd-soft); box-shadow: none; }
	.rlt-pd-keyspec-value { font-size: 1.15rem; }
	.rlt-pd-keyspecs li.is-multi .rlt-pd-keyspec-value { font-size: 1rem; }
}
@media (max-width: 420px) {
	.rlt-pd-keyspecs li.is-multi .rlt-pd-keyspec-value { font-size: .88rem; line-height: 1.3; }
	/* Phones: tiles of a row differ a lot in height, so content starts right under the label; each measurement is a
	   line with its tag beneath. */
	.rlt-pd-keyspecs li > .rlt-pd-keyspec-value, .rlt-pd-keyspecs li > .rlt-pd-keyspec-icon, .rlt-pd-keyspecs li > .rlt-pd-dims { margin-top: .15rem; margin-bottom: 0; }
	.rlt-pd-dims { display: block; }
	.rlt-pd-dim { display: block; margin-bottom: .45rem; }
	.rlt-pd-dim:last-child { margin-bottom: 0; }
	.rlt-pd-dim-v { display: block; }
	.rlt-pd-dim-ft { font-size: 1.15rem; }
	.rlt-pd-dim-what { display: inline-block; margin-top: .15rem; }
	.rlt-pd-keyspec-icon { gap: .45rem; }
	.rlt-pd-keyspec-icon img { width: 40px; height: 40px; }
	.rlt-pd-keyspec-icon .rlt-pd-keyspec-value { font-size: 1.05rem; }
	.rlt-pd-price { width: 96px; height: 96px; }
	.rlt-pd-price-amount { font-size: 1.8rem; }
}
@media (prefers-reduced-motion: reduce) {
	.rlt-card:hover { transform: none; box-shadow: 4px 4px 0 var(--global-palette3, #1b2a4a); }
}
