/*
 * 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; border: 0; width: auto; height: auto; top: 0; border-radius: 0; } /* border: 0, or the top-level bullet's ring boxes each dash (D-176) */
.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: var(--rlt-browsing-offset, 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: var(--rlt-browsing-offset, calc(1.5rem + 32px)); }
@media (min-width: 901px) {
 .rlt-pd-buy { max-height: calc(100dvh - var(--rlt-browsing-offset, 1.5rem) - 16px); overflow-y: auto; box-sizing: border-box; }
}
.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); }
/* Booking facts only; description excerpts do not sit beside the price. */
.rlt-pd-price { width: 112px; height: 112px; margin: 0 0 1rem; 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; }
/* The deposit's refund note behind an (i) (D-187), like the booking summary's (D-150). */
.rlt-pd-buy button.rlt-pd-info { display: inline; width: auto; min-height: 0; margin: 0 0 0 .3rem; padding: 0 .1rem; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: var(--pd-muted); font: inherit; font-size: .95rem; font-weight: 600; line-height: 1; cursor: help; }
.rlt-pd-buy button.rlt-pd-info:hover, .rlt-pd-buy button.rlt-pd-info:focus { color: var(--pd-navy); background: transparent; box-shadow: none; }
.rlt-pd-buy button.rlt-pd-info:focus-visible { outline: 2px solid var(--pd-navy); outline-offset: 2px; }
.rlt-pd-tip { display: none; padding: 14px 16px; border: 2px solid var(--pd-green); border-radius: 10px; background: #fffdf8; color: var(--pd-navy); box-shadow: 3px 3px 0 var(--pd-navy); font-size: .85rem; font-weight: 400; line-height: 1.5; }
.rlt-pd-tip:popover-open { display: block; }
.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; }
}
/* Phones (owner, 2026-11-17, D-171): every tile the same size, content centred; each measurement on one line with its
   tag beside it (never stacked letters). Inches stay in the Specifications list just below. */
.rlt-pd-keyspecs { grid-auto-rows: 1fr; }
@media (max-width: 560px) {
	.rlt-pd-keyspecs li { padding: .85rem .9rem; }
	.rlt-pd-dims { grid-template-columns: auto minmax(0, 1fr); gap: .4rem .45rem; }
	.rlt-pd-dim-in { display: none; }
	.rlt-pd-dim-ft { font-size: 1.15rem; }
	.rlt-pd-dim-what { overflow-wrap: normal; word-break: normal; hyphens: manual; font-size: .62rem; letter-spacing: .04em; padding: .12rem .4rem; }
	.rlt-pd-keyspec-value { overflow-wrap: normal; word-break: normal; hyphens: manual; }
}
/* Small phones (320-380px): the icon above its value, so neither runs past the tile. */
@media (max-width: 380px) {
	.rlt-pd-keyspecs li { padding: .8rem .7rem; }
	.rlt-pd-keyspecs .rlt-pd-keyspec-icon { flex-direction: column; align-items: flex-start; gap: .3rem; }
	.rlt-pd-keyspecs .rlt-pd-keyspec-icon img { width: 34px; height: 34px; }
	.rlt-pd-dim-ft { font-size: 1rem; }
}
@media (max-width: 420px) {
	.rlt-pd-keyspecs li.is-multi .rlt-pd-keyspec-value { font-size: .88rem; line-height: 1.3; }
	.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); }
}

/* Product availability uses the site's shared rental-period picker. */
.rlt-pd-availability { margin-top: 1rem; }
.rlt-pd .rlt-pd-check-availability { display: block; width: 100%; padding: .8rem 1rem; border: 2px solid var(--pd-navy); border-radius: 8px; background: var(--pd-paper); color: var(--pd-navy); font-weight: 700; cursor: pointer; }
.rlt-pd .rlt-pd-check-availability:hover { background: var(--pd-navy); color: var(--pd-paper); }
.rlt-pd-check-availability:focus-visible { outline: 3px solid var(--pd-navy); outline-offset: 2px; }
.rlt-pd-availability-status { padding: .7rem; margin: .75rem 0 0; border: 1px dashed var(--pd-line); border-radius: 8px; font-size: .9rem; }
.rlt-pd-availability-status.is-yes { background: #e5f2df; color: #18552b; border: 2px solid #91b581; font-weight: 800; }
.rlt-pd-availability-status.is-no { background: #fae7e2; color: #8b3029; border: 2px solid #d9a69c; font-weight: 800; }
/* The shared rental dates, small, in the booking panel (D-140; product pages have no top banner). */
.rlt-pd-period .rlt-period { margin: 0; padding: .75rem .85rem .85rem; border: 2px solid var(--pd-navy, #1b2a4a); border-radius: 12px; background: var(--pd-paper, #fff8ec); box-shadow: none; text-align: left; }
.rlt-pd-period .rlt-period h3 { margin: 0 0 .5rem; font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--pd-muted, #4a5672); font-family: inherit; }
.rlt-pd-period .rlt-period p { margin: 0; }
.rlt-pd-period .rlt-period a.rlt-cta-button.rlt-period-open { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem .75rem; padding: 0; min-height: 0; }
.rlt-pd-period .rlt-period-when { display: block; min-height: 0; padding-left: .6rem; border-left-width: 2px; }
.rlt-pd-period .rlt-period-when small { display: block; margin-bottom: 2px; font-size: 10px; }
.rlt-pd-period .rlt-period-when strong { font-size: 14px; }
.rlt-pd-period .rlt-period-change { grid-column: 1 / -1; padding: .5rem .9rem; font-size: 14px; text-align: center; }
/* Chosen: Change takes the left half of its row and Clear dates the right half (D-170). */
.rlt-pd-period .rlt-period > p:has(> .rlt-period-clear) { display: block; position: relative; }
.rlt-pd-period .rlt-period > p:has(> .rlt-period-clear) .rlt-period-change { justify-self: start; box-sizing: border-box; width: calc(50% - .375rem); }
.rlt-pd-period .rlt-period button.rlt-period-clear { position: absolute; right: 0; bottom: 0; box-sizing: border-box; width: calc(50% - .375rem); padding: .5rem .9rem; font-size: 14px; }
@media (max-width: 480px) { .rlt-pd-period .rlt-period a.rlt-cta-button.rlt-period-open { grid-template-columns: minmax(0, 1fr); } .rlt-pd-period .rlt-period-when { display: flex; align-items: baseline; gap: .5rem; } .rlt-pd-period .rlt-period-when small { flex: 0 0 4.2rem; margin: 0; } } /* phones: one date per line (D-140) */
.rlt-pd-availability .rlt-pd-cta { display: block; text-align: center; margin-top: .75rem; }
/* Always-visible rental period fields, matching the trailer-specific picker. */
.rlt-pd .rlt-pd-check-availability { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; text-align: left; padding: 12px; }
.rlt-pd-period-field { display: grid; gap: 4px; min-width: 0; }
.rlt-pd-period-field small { text-transform: uppercase; font-size: .7rem; letter-spacing: .05em; }
.rlt-pd-period-field strong { display: block; padding: 9px; border: 1px solid var(--pd-line); border-radius: 6px; background: var(--pd-paper); color: var(--pd-navy); font-size: .85rem; line-height: 1.45; }
.rlt-pd-period-action { grid-column: 1 / -1; text-align: center; padding-top: 2px; }
.rlt-pd .rlt-pd-period-clear { display: block; margin: .75rem auto 0; padding: .2rem; border: 0; background: transparent; color: var(--pd-muted); text-decoration: underline; font-size: .8rem; cursor: pointer; }

/* ---- "Date fields" panel (owner, 2026-11-17, D-174; was a price disc over a column of boxes): price and deposit on
   one line, pickup styles as chips, the dates as two joined fields (either opens the picker), navy Change and Clear
   dates, and one big button: Select dates before dates are chosen, green "✓ Available · Book this trailer" once the
   trailer is free. The status line stays for screen readers and shows only while checking or when unavailable. ---- */
.rlt-pd-head { display: grid; gap: .8rem; margin: 0 0 1.1rem; }
.rlt-pd-head-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .8rem; min-width: 0; }
.rlt-pd-buy .rlt-pd-price { width: auto; height: auto; margin: 0; display: block; border: 0; border-radius: 0; background: none; box-shadow: none; transform: none; text-align: left; color: var(--pd-navy); }
.rlt-pd-buy .rlt-pd-price-amount { color: var(--pd-navy); font-size: 2.8rem; line-height: 1; }
.rlt-pd-buy .rlt-pd-price-per { display: inline; margin-left: .15rem; color: var(--pd-muted); font-size: 1rem; font-weight: 700; text-transform: none; letter-spacing: 0; }
.rlt-pd-buy .rlt-pd-deposit { margin: 0; color: var(--pd-muted); font-size: .9rem; font-weight: 600; }
.rlt-pd-buy .rlt-pd-deposit::before { content: '+ '; }
.rlt-pd-buy .rlt-pd-modes { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; }
.rlt-pd-buy .rlt-pd-modes-label { display: none; }
.rlt-pd-buy .rlt-pd-mode { padding: .3rem .75rem; border-radius: 999px; font-size: .85rem; font-weight: 700; }
.rlt-pd-buy .rlt-pd-mode.is-yes { color: var(--pd-paper); background: var(--pd-navy); border: 2px solid var(--pd-navy); }
.rlt-pd-buy .rlt-pd-mode.is-no { color: var(--pd-muted); background: var(--pd-soft); border: 2px dashed var(--pd-navy); font-weight: 600; }
.rlt-pd-buy .rlt-pd-availability { margin-top: 0; }
/* The date box: no heading or outer box; two joined white fields, then the button row. */
.rlt-pd-buy .rlt-pd-period .rlt-period { padding: 0; border: 0; background: none; }
.rlt-pd-buy .rlt-pd-period .rlt-period h3 { display: none; }
.rlt-pd-buy .rlt-pd-period .rlt-period a.rlt-cta-button.rlt-period-open { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 1rem 0; }
.rlt-pd-buy .rlt-pd-period .rlt-period-when { display: block; min-height: 0; padding: .7rem .9rem; background: #fff; border: 2px solid var(--pd-navy); border-radius: 12px 0 0 12px; }
.rlt-pd-buy .rlt-pd-period .rlt-period-when + .rlt-period-when { border-left: 0; border-left: 2px solid var(--pd-navy); margin-left: -2px; border-radius: 0 12px 12px 0; }
.rlt-pd-buy .rlt-pd-period .rlt-period-when small { display: block; margin: 0 0 3px; font-size: 10px; }
.rlt-pd-buy .rlt-pd-period .rlt-period-when strong { font-size: 15px; }
.rlt-pd-buy .rlt-pd-period .rlt-period:not(.is-chosen) .rlt-period-when strong { color: var(--pd-muted); font-weight: 600; }
.rlt-pd-buy .rlt-pd-period a:hover .rlt-period-when, .rlt-pd-buy .rlt-pd-period a:focus-visible .rlt-period-when { background: var(--pd-soft); }
/* Before dates: "Select dates" is the big red button. Chosen: Change and Clear dates, navy with a mustard shadow, so
   the one red or green button is Book. */
.rlt-pd-buy .rlt-pd-period .rlt-period-change { grid-column: 1 / -1; padding: .85rem 1rem; font-size: 17px; }
.rlt-pd-buy .rlt-pd-period .rlt-period.is-chosen .rlt-period-change, .rlt-pd-buy .rlt-pd-period .rlt-period button.rlt-period-clear { padding: .6rem .9rem; font-size: 15px; background: var(--pd-navy); box-shadow: 3px 3px 0 var(--pd-yellow); }
.rlt-pd-buy .rlt-pd-period .rlt-period a:hover .rlt-period-change, .rlt-pd-buy .rlt-pd-period .rlt-period button.rlt-period-clear:hover, .rlt-pd-buy .rlt-pd-period .rlt-period button.rlt-period-clear:focus { background: color-mix(in srgb, var(--pd-navy) 85%, #fff); }
.rlt-pd-buy .rlt-pd-period .rlt-period:not(.is-chosen) a:hover .rlt-period-change { background: var(--global-palette2, #9a2621); }
/* Status: a hint before dates, a muted line while checking, red when unavailable; when available it is read out but
   the Book button says it. */
.rlt-pd-buy .rlt-pd-availability-status { margin: .75rem 0 0; padding: 0; border: 0; border-radius: 0; background: none; color: var(--pd-muted); font-size: .9rem; font-weight: 600; text-align: center; }
.rlt-pd-buy .rlt-pd-availability-status.is-no { background: none; border: 0; color: #8b3029; font-weight: 800; }
.rlt-pd-buy .rlt-pd-availability-status.is-yes { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.rlt-pd-buy a.rlt-pd-cta.is-available, .rlt-pd-buy a.rlt-pd-cta.is-available:visited { margin-top: 1rem; background: #1f6b3a; }
.rlt-pd-buy a.rlt-pd-cta.is-available:hover, .rlt-pd-buy a.rlt-pd-cta.is-available:focus-visible { background: #17542d; }
.rlt-pd-buy [data-rlt-product-book][hidden] { display: none; }
@media (max-width: 420px) {
	.rlt-pd-buy .rlt-pd-price-amount { font-size: 2.4rem; }
	.rlt-pd-buy .rlt-pd-period .rlt-period-when { padding: .6rem .7rem; }
	.rlt-pd-buy .rlt-pd-period .rlt-period-when strong { font-size: 13px; }
	.rlt-pd-buy .rlt-pd-mode { padding: .25rem .6rem; font-size: .78rem; }
}

/* ---- Photo viewer fixes (owner, 2026-11-17, D-175) ---- */
/* The expand corner: a drawn icon in a round 36px button (the ⤢ glyph came out misshapen on Android). */
.rlt-pd-zoom { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; box-sizing: border-box; }
.rlt-pd-zoom svg { display: block; }
/* The photo always sits in the middle column. On phones the arrows are pinned to the screen edges, so the figure was
   the only grid item and fell into the zero-width first column: no photo, and "3 / 6" stood on end. */
.rlt-pd-lightbox { height: 100dvh; }
.rlt-pd-lightbox figure { grid-column: 2; grid-row: 1; min-width: 0; height: 100dvh; box-sizing: border-box; }
.rlt-pd-lightbox img { max-height: calc(100dvh - 7.5rem); }
/* Round buttons whatever the theme's button padding. */
.rlt-pd-lightbox button { display: grid; place-items: center; width: 48px; height: 48px; min-width: 0; min-height: 0; padding: 0; box-sizing: border-box; }
.rlt-pd-lightbox button[hidden] { display: none; }
.rlt-pd-lightbox button svg { display: block; }
@media (max-width: 900px) {
	.rlt-pd-lightbox[open] { grid-template-columns: minmax(0, 1fr); }
	.rlt-pd-lightbox figure { grid-column: 1; padding: 4.5rem 12px 5.5rem; }
	.rlt-pd-lightbox .rlt-lb-prev, .rlt-pd-lightbox .rlt-lb-next { bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
	.rlt-pd-lightbox .rlt-lb-close { top: calc(14px + env(safe-area-inset-top, 0px)); }
}
/* D-229: the towing-guide link under the key-spec tiles on trailer pages. */
.rlt-pd .rlt-pd-guide { margin: .9rem 0 0; font-weight: 700; }
.rlt-pd .rlt-pd-guide a { color: var(--pd-blue); text-decoration: underline; text-underline-offset: 3px; }
.rlt-pd .rlt-pd-guide a:hover, .rlt-pd .rlt-pd-guide a:focus-visible { color: var(--pd-navy); }
