/* ==========================================================================
   ds-product.css: staff-only preview restyle of the product page (public/product.html and the two jumbotron
   fragments it actually includes: product-jumbotron-create.html and product-jumbotron-package.html, plus the
   product-grid.html cards in the "same range / category" carousels). Written 18 Nov 2026.
   Loaded ONLY when BOTH the EXPOHIRE_STAFF and EXPOHIRE_DS_PREVIEW=1 cookies are present (line 1 of
   public/product.html), which also adds body class "ds-product". header.html already gives those browsers
   body.ds + ds-chrome.css (tokens: --g, --ink, --line ...) + ds-content.css (buttons, forms, tables, modals),
   so this file only adds product-specific layout polish. CSS only, no markup changes.
   Every rule is scoped to body.ds.ds-product. Live combined.css uppercases #contents h1.h2-h6 and .btn, hence
   the text-transform overrides.
   ========================================================================== */

/* ---------- Title block ---------- */
body.ds.ds-product #contents #page-title h1.h2 {
	font-family: var(--font);
	font-weight: 800;
	font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem);
	line-height: 1.15;
	letter-spacing: -.01em;
	text-transform: none;
	color: var(--ink);
	margin: 8px 0 10px;
}
body.ds.ds-product #contents #page-title [itemprop="slogan"] { color: var(--ink-2); text-align: left !important; line-height: 1.6; max-width: 80ch; }
body.ds.ds-product #contents #page-title hr { border-top-color: var(--line); margin: 18px 0 22px; }

/* ---------- Image carousel ---------- */
body.ds.ds-product #contents #product-images .carousel-inner {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r);
	box-shadow: var(--shadow-sm);
	overflow: hidden;
}
body.ds.ds-product #contents #product-images .carousel-item img { max-width: 100%; height: auto; }
body.ds.ds-product #contents #product-images .carousel-indicators { margin: 12px 0 0; gap: 8px; flex-wrap: wrap; }
body.ds.ds-product #contents #product-images .carousel-indicators > li { width: 76px; margin: 0; border: 0; background: none; opacity: 1; }
body.ds.ds-product #contents #product-images .carousel-indicators li img {
	border: 2px solid var(--line);
	border-radius: var(--r-sm);
	background: #fff;
	opacity: .85;
	transition: border-color .15s ease, opacity .15s ease;
}
body.ds.ds-product #contents #product-images .carousel-indicators li.active img,
body.ds.ds-product #contents #product-images .carousel-indicators li:hover img { border-color: var(--g); opacity: 1; }

/* ---------- Price / hire box (both jumbotrons) ---------- */
body.ds.ds-product #contents .product-price-box {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r);
	box-shadow: var(--shadow);
	padding: 22px 22px 18px;
}
body.ds.ds-product #contents .product-price-box h2.display-4 {
	font-family: var(--font);
	font-size: clamp(2rem, 1.6rem + 1.4vw, 2.75rem);
	font-weight: 800;
	letter-spacing: -.02em;
	color: var(--ink);
	text-transform: none;
	margin-bottom: 4px;
}
body.ds.ds-product #contents .product-price-box h2.display-4 small { font-weight: 600; color: var(--muted); letter-spacing: 0; }
body.ds.ds-product #contents .product-price-box h3.display-4 { color: var(--star); }
body.ds.ds-product #contents .product-price-box h6.price { font-family: var(--font); font-weight: 600; font-size: .9rem; color: var(--muted); text-transform: none; }
body.ds.ds-product #contents .product-price-box ul { color: var(--ink-2); font-size: .9rem; line-height: 1.55; padding-left: 1.1rem; }
body.ds.ds-product #contents .product-price-box ul li::marker { color: var(--g); }

/* Stock / date messages */
body.ds.ds-product #contents .product-price-box .alert { border-radius: var(--r-sm); }
body.ds.ds-product #contents #product-stock-status.alert-info { background: var(--g-50); border-color: var(--g-100); color: var(--ink); }

/* Quantity / dates / postcode rows: the labels are .btn.btn-link, keep them as plain labels */
body.ds.ds-product #contents .product-price-box label.btn-link {
	padding-right: 0;
	border: 0;
	border-radius: 0;
	font-family: var(--font);
	font-weight: 600;
	color: var(--ink) !important;
	text-transform: none;
	text-decoration: none;
}
body.ds.ds-product #contents .product-price-box .btn-dark.btn-sm { border-radius: 999px; text-transform: none; }

/* Check stock / Add to basket */
body.ds.ds-product #contents #hire-form-submit,
body.ds.ds-product #contents .product-price-box a.btn-secondary { padding: .65rem 1.4rem; font-size: 1rem; margin-left: 6px; }
body.ds.ds-product #contents #hire-form-submit { box-shadow: 0 6px 16px -8px rgba(71, 124, 21, .6); }

/* "Have you considered" accessories box */
body.ds.ds-product #contents .product-price-box .border.border-primary.rounded {
	background: var(--g-50);
	border-color: var(--g-100) !important;
	border-radius: var(--r-sm) !important;
}
body.ds.ds-product #contents .product-price-box .border.border-primary.rounded h4 {
	font-family: var(--font);
	font-size: 1rem;
	font-weight: 700;
	text-transform: none;
	color: var(--ink);
}
body.ds.ds-product #contents .product-price-box .custom-switch { padding-top: 4px; padding-bottom: 4px; }

/* ---------- Tabs ---------- */
body.ds.ds-product #contents #nav-tab { border-bottom: 1px solid var(--line); gap: 4px; margin-top: 32px !important; }
body.ds.ds-product #contents #nav-tab .nav-link {
	border: 0;
	border-bottom: 3px solid transparent;
	border-radius: 0;
	padding: 12px 16px;
	font-family: var(--font);
	font-weight: 700;
	color: var(--muted) !important;
	background: none;
}
body.ds.ds-product #contents #nav-tab .nav-link:hover { color: var(--ink) !important; border-bottom-color: var(--g-100); }
body.ds.ds-product #contents #nav-tab .nav-link.active { color: var(--ink) !important; border-bottom-color: var(--g); }

/* ---------- Tab panes ---------- */
body.ds.ds-product #contents #nav-tabContent > .tab-pane {
	text-align: left !important;
	color: var(--ink-2);
	line-height: 1.65;
	border-bottom-color: var(--line) !important;
	padding: 28px 8px 24px !important;
}
body.ds.ds-product #contents #nav-tabContent :is(h2, h3, h4, h5, h6) {
	font-family: var(--font);
	font-weight: 700;
	text-transform: none;
	color: var(--ink);
	letter-spacing: -.005em;
}
body.ds.ds-product #contents #nav-tabContent a:not(.btn) { color: var(--g-700); text-decoration: underline; text-underline-offset: 2px; }
body.ds.ds-product #contents #nav-tech > .table { max-width: 640px; }
body.ds.ds-product #contents #nav-tech > .table th { width: 40%; color: var(--muted); font-weight: 600; }

/* FAQ (each question is its own <dl>) */
body.ds.ds-product #contents #nav-important > dl {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r-sm);
	padding: 16px 18px 6px;
	margin-bottom: 12px;
}
body.ds.ds-product #contents #nav-important > dl > dt { font-family: var(--font); font-size: 1.02rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
body.ds.ds-product #contents #nav-important > dl > dd { margin-bottom: 0; }
body.ds.ds-product #contents #nav-important .table { max-width: 420px; }

/* Reviews */
body.ds.ds-product #contents #nav-reviews h4.h1 { color: var(--star) !important; font-family: inherit; letter-spacing: .08em; }

/* ---------- "More from this range" carousels ---------- */
body.ds.ds-product #contents .same-category { margin-top: 36px; }
body.ds.ds-product #contents .same-category .controls-top { margin-bottom: 12px; }
body.ds.ds-product #contents .same-category .controls-top .btn { text-transform: none; }
body.ds.ds-product #contents .expo-product-card-new.card {
	border-color: var(--line) !important;
	border-radius: var(--r);
	box-shadow: var(--shadow-sm) !important;
	transition: box-shadow .15s ease, transform .15s ease;
}
body.ds.ds-product #contents .expo-product-card-new.card:hover { box-shadow: var(--shadow) !important; transform: translateY(-2px); }
body.ds.ds-product #contents .expo-product-card-new h4.title {
	font-family: var(--font);
	font-size: .95rem;
	font-weight: 700;
	line-height: 1.3;
	text-transform: none;
}
body.ds.ds-product #contents .expo-product-card-new h4.title a { color: var(--ink); text-decoration: none; }
body.ds.ds-product #contents .expo-product-card-new h4.title small { color: var(--muted); font-weight: 500; }

@media (prefers-reduced-motion: reduce) {
	body.ds.ds-product #contents .expo-product-card-new.card,
	body.ds.ds-product #contents #product-images .carousel-indicators li img { transition: none; }
	body.ds.ds-product #contents .expo-product-card-new.card:hover { transform: none; }
}

/* ==========================================================================
   Hero polish (18 Nov 2026, reference page /product/fn-bqc-cl/wedding-chair-hire). Still CSS only and still
   scoped to body.ds.ds-product, so it applies to every Create/Package product page in the staff preview.
   References: beta homepage cards/buttons, Expo Direct product page (tinted price card, full-width thumbnail
   row, icon trust list), competitor spec cards. Later rules here override the base rules above.
   ========================================================================== */

/* Breadcrumb: same light treatment as the category preview */
body.ds.ds-product #contents .main-breadcrumb { background: transparent !important; border: 0 !important; padding-left: 0; padding-right: 0; }
body.ds.ds-product #contents .main-breadcrumb .breadcrumb { background: transparent; padding: 6px 0; margin-bottom: 0; font-size: 13px; }
body.ds.ds-product #contents .main-breadcrumb .breadcrumb-item .btn { font-size: 13px; font-weight: 500; color: var(--muted); }
body.ds.ds-product #contents .main-breadcrumb .breadcrumb-item .btn:hover { color: var(--g-700); }
body.ds.ds-product #contents .main-breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: #b5bfb8; }

/* Title block */
body.ds.ds-product #contents #page-title h1.h2 { margin-top: 4px; }
body.ds.ds-product #contents #page-title [itemprop="slogan"] { font-size: 1.05rem !important; max-width: 75ch; }
body.ds.ds-product #contents #page-title [itemprop="slogan"] p:last-child { margin-bottom: 0; }
body.ds.ds-product #contents #page-title hr { margin: 16px 0 24px; }

/* Gallery: square frame, full-width thumbnail row, sticky beside the hire form on desktop */
body.ds.ds-product #contents #product-images .carousel-inner { aspect-ratio: 1 / 1; min-height: 0 !important; }
body.ds.ds-product #contents #product-images .carousel-item img { width: 100%; height: 100%; object-fit: contain; }
body.ds.ds-product #contents #product-images .carousel-indicators {
	position: static;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	margin: 12px 0 0;
	padding: 0;
}
body.ds.ds-product #contents #product-images .carousel-indicators > li { width: auto; height: auto; margin: 0; text-indent: 0; }
body.ds.ds-product #contents #product-images .carousel-indicators li img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: contain; border-radius: var(--r-sm); }
@media (min-width: 992px) {
	body.ds.ds-product #contents #product-images { position: sticky; top: 104px; }
}

/* Price card */
body.ds.ds-product #contents .product-price-box { padding: 20px 22px 22px; }
body.ds.ds-product #contents .product-price-box #hire-form > div.row:first-of-type {
	margin: 0 0 18px;
	padding: 14px 4px 10px;
	background: var(--g-50);
	border: 1px solid var(--g-100);
	border-radius: var(--r-sm);
	align-items: center;
}
body.ds.ds-product #contents .product-price-box #hire-form > div.row:first-of-type h2.display-4 { margin-bottom: 2px; }
body.ds.ds-product #contents .product-price-box #hire-form > div.row:first-of-type h6.price { margin-bottom: 4px; }
body.ds.ds-product #contents .product-price-box h3.display-4 { font-size: 1.5rem; line-height: 1; letter-spacing: .06em; margin: 0 0 6px; }
body.ds.ds-product #contents .product-price-box h3.display-4 + h6 {
	font-family: var(--font);
	font-size: .85rem;
	font-weight: 600;
	color: var(--ink-2);
	text-transform: none;
	letter-spacing: 0;
	margin: 0;
}
body.ds.ds-product #contents .product-price-box h2.display-4 small { white-space: nowrap; }
@media (min-width: 992px) {
	body.ds.ds-product #contents .product-price-box #hire-form > div.row:first-of-type > div:first-child { flex: 1 1 auto; width: auto; max-width: none; }
	body.ds.ds-product #contents .product-price-box #hire-form > div.row:first-of-type > div:last-child:not(:first-child) { flex: 0 0 auto; width: auto; max-width: none; }
	body.ds.ds-product #contents .product-price-box h3.display-4,
	body.ds.ds-product #contents .product-price-box h3.display-4 + h6 { text-align: right !important; }
}

/* Hire terms + "included" list */
body.ds.ds-product #contents .product-price-box #hire-form > div.row:nth-of-type(2) { font-size: .95rem; color: var(--ink-2); }
body.ds.ds-product #contents .product-price-box #hire-form > div.row:nth-of-type(2) > div:first-child > div:first-child { font-weight: 700; color: var(--ink); }
body.ds.ds-product #contents .product-price-box #hire-form > div.row:nth-of-type(2) > div + div > p:first-child { font-size: .85rem; color: var(--muted); margin-bottom: 8px; }
body.ds.ds-product #contents .product-price-box #hire-form > div.row:nth-of-type(2) > div + div > ul { list-style: none; padding-inline-start: 0 !important; padding-left: 0; }
body.ds.ds-product #contents .product-price-box #hire-form > div.row:nth-of-type(2) > div + div > ul > li { position: relative; padding-left: 24px; margin-bottom: 4px; }
body.ds.ds-product #contents .product-price-box #hire-form > div.row:nth-of-type(2) > div + div > ul > li::before {
	content: "\f00c";
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	position: absolute;
	left: 0;
	top: 1px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--g-100);
	color: var(--g-700);
	font-size: 9px;
	line-height: 16px;
	text-align: center;
}
body.ds.ds-product #contents .product-price-box a.badge-light {
	margin-top: 10px;
	padding: 5px 10px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: #fff;
	color: var(--ink-2);
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	max-width: 100%;
	white-space: normal;
	text-align: left;
	line-height: 1.3;
}
body.ds.ds-product #contents .product-price-box a.badge-light:hover { border-color: var(--g); background: var(--g-50); color: var(--ink); }
body.ds.ds-product #contents .product-price-box a.badge-light .fa { color: var(--g-700); }

/* Availability message */
body.ds.ds-product #contents #product-stock-status { display: flex; align-items: center; padding: 10px 12px; }
body.ds.ds-product #contents #product-stock-status::before {
	content: "\f274";
	font-family: "Font Awesome 5 Free";
	font-weight: 400;
	flex: 0 0 auto;
	color: var(--g-700);
	font-size: 1.1rem;
}
body.ds.ds-product #contents #product-stock-status > p { padding-left: 10px !important; padding-right: 0 !important; }
body.ds.ds-product #contents #product-stock-status small { font-size: .875rem; }

/* Form rows: 40px controls, rounded */
body.ds.ds-product #contents .product-price-box .form-control-sm { height: 40px; font-size: .95rem; border-color: #cfd6cf; border-radius: var(--r-sm); }
body.ds.ds-product #contents .product-price-box .input-group .form-control-sm { border-radius: 0; text-align: center; }
body.ds.ds-product #contents .product-price-box .input-group .input-group-text { height: 40px; min-width: 40px; justify-content: center; background: #fff; border-color: #cfd6cf; color: var(--ink); }
body.ds.ds-product #contents .product-price-box .input-group-prepend .input-group-text { border-radius: var(--r-sm) 0 0 var(--r-sm); }
body.ds.ds-product #contents .product-price-box .input-group-append .input-group-text { border-radius: 0 var(--r-sm) var(--r-sm) 0; }
body.ds.ds-product #contents .product-price-box .input-group .input-group-text:hover { background: var(--g-50); }
body.ds.ds-product #contents .product-price-box .form-control-sm:focus { border-color: var(--g); box-shadow: 0 0 0 3px rgba(130, 188, 65, .25); }
body.ds.ds-product #contents .product-price-box label.btn-link { line-height: 32px; }
body.ds.ds-product #contents .product-price-box .btn-dark.btn-sm[data-toggle="popover"] { background: transparent; border-color: transparent; color: var(--muted); margin-top: 8px !important; }
body.ds.ds-product #contents .product-price-box .btn-dark.btn-sm[data-toggle="popover"]:hover { color: var(--g-700); }

/* Buttons: one row, Add to basket the widest */
body.ds.ds-product #contents .product-price-box .col.mt-3.text-right { display: flex; gap: 10px; justify-content: flex-end; }
body.ds.ds-product #contents .product-price-box .col.mt-3.text-right > .btn { margin-left: 0; flex: 1 1 0; padding: .8rem 1rem; }
body.ds.ds-product #contents .product-price-box .col.mt-3.text-right > #hire-form-submit { flex-grow: 1.6; }
body.ds.ds-product #contents .product-price-box .col.mt-3.text-right > .btn { white-space: nowrap; }

/* Tabs: full width, same left/right margin as the gallery/price box above (no extra side inset) */
body.ds.ds-product #contents #nav-tabContent > .tab-pane { max-width: none; margin-left: 0; margin-right: 0; border-bottom: 0 !important; }
body.ds.ds-product #contents #nav-desc { font-size: 1rem; }
body.ds.ds-product #contents #nav-desc h2 { font-size: 1.5rem; margin: 1.8em 0 .55em; }
body.ds.ds-product #contents #nav-desc h3 { font-size: 1.2rem; margin: 1.5em 0 .5em; }
body.ds.ds-product #contents #nav-desc > :first-child,
body.ds.ds-product #contents #nav-desc > h3.d-md-none + * { margin-top: 0; }
body.ds.ds-product #contents #nav-desc ul { padding-left: 1.2rem; }
body.ds.ds-product #contents #nav-desc li { margin-bottom: 6px; }
body.ds.ds-product #contents #nav-desc li::marker { color: var(--g); }

/* Spec table and long-hire table as cards */
body.ds.ds-product #contents :is(#nav-tech, #nav-important) .table {
	border: 1px solid var(--line);
	border-radius: var(--r-sm);
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
	background: #fff;
}
body.ds.ds-product #contents :is(#nav-tech, #nav-important) .table :is(th, td) { border-top: 1px solid var(--line); padding: 10px 14px !important; }
body.ds.ds-product #contents :is(#nav-tech, #nav-important) .table tbody tr:first-child :is(th, td) { border-top: 0; }
body.ds.ds-product #contents #nav-important .table thead th { border-top: 0; border-bottom: 1px solid var(--line); background: var(--bg); color: var(--ink); font-size: .85rem; }
body.ds.ds-product #contents :is(#nav-tech, #nav-important) .table tbody tr:nth-child(even) { background: #fafbf9; }
body.ds.ds-product #contents #nav-tech > .table td { color: var(--ink); font-weight: 600; }

/* FAQs */
body.ds.ds-product #contents #nav-important > dl { padding: 18px 20px 8px; box-shadow: var(--shadow-sm); }
body.ds.ds-product #contents #nav-important > dl > dt { position: relative; padding-left: 34px; }
body.ds.ds-product #contents #nav-important > dl > dt::before {
	content: "?";
	position: absolute;
	left: 0;
	top: -1px;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--g-50);
	border: 1px solid var(--g-100);
	color: var(--g-700);
	font-size: .8rem;
	font-weight: 800;
	line-height: 22px;
	text-align: center;
}
body.ds.ds-product #contents #nav-important > dl > dd { padding-left: 34px; }

/* Reviews */
body.ds.ds-product #contents #nav-reviews h4.h1 { font-size: 1.25rem; letter-spacing: .12em; margin: 0 0 6px; }
body.ds.ds-product #contents #nav-reviews p.mb-0 { color: var(--ink); font-size: 1.02rem; }
body.ds.ds-product #contents #nav-reviews p.mt-0 { color: var(--muted); padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
body.ds.ds-product #contents #nav-reviews .trustpilot-widget { border-radius: var(--r-sm); background: var(--dark) !important; }

/* USP strip (%EXPOHIRE_USP% localisation markup): white cards like the homepage trust bar */
body.ds.ds-product #contents .box .box-part {
	background: #fff !important;
	color: var(--ink) !important;
	border: 1px solid var(--line);
	border-radius: var(--r) !important;
	box-shadow: var(--shadow-sm);
	padding: 22px 16px !important;
}
body.ds.ds-product #contents .box .box-part :is(.text-white, .text-black, .text-secondary, h3, span) { color: inherit !important; }
body.ds.ds-product #contents .box .box-part > .fa {
	font-size: 1.35rem;
	width: 52px;
	height: 52px;
	line-height: 52px;
	border-radius: 50%;
	background: var(--g-50);
	color: var(--g-700);
}
body.ds.ds-product #contents .box .box-part h3.h4 { font-family: var(--font); font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted) !important; margin-top: 14px !important; }
body.ds.ds-product #contents .box .box-part h3.h2 { font-family: var(--font); font-size: 1.5rem; font-weight: 800; text-transform: none; letter-spacing: -.01em; margin-bottom: 4px; }
body.ds.ds-product #contents .box .box-part h3.h2 small { font-size: .65em; font-weight: 600; color: var(--muted); }
body.ds.ds-product #contents .box .box-part .text { font-size: .9rem; color: var(--ink-2) !important; }
body.ds.ds-product #contents .box .box-part .btn { background: transparent; border: 1px solid var(--line); color: var(--ink) !important; font-size: .85rem; padding: .4rem 1rem; }
body.ds.ds-product #contents .box .box-part .btn:hover { background: var(--g-50); border-color: var(--g); }

/* "More from this range" carousels: section heading + round arrows */
body.ds.ds-product #contents .same-category .controls-top .btn-group { display: flex; align-items: center; gap: 8px; width: 100%; }
body.ds.ds-product #contents .same-category .controls-top .btn-group > .btn-primary {
	background: none;
	border: 0;
	padding: 0;
	margin-right: auto;
	font-size: 1.35rem;
	font-weight: 800;
	letter-spacing: -.01em;
	color: var(--ink) !important;
	text-align: left;
	box-shadow: none;
}
body.ds.ds-product #contents .same-category .controls-top .btn-group > .btn-secondary {
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	padding: 0;
	line-height: 38px;
	border-radius: 50% !important;
	background: #fff;
	border: 1px solid var(--line);
	color: var(--ink);
}
body.ds.ds-product #contents .same-category .controls-top .btn-group > .btn-secondary:hover { background: var(--g-50); border-color: var(--g); }

/* Phones */
@media (max-width: 767.98px) {
	body.ds.ds-product #contents .product-price-box { padding: 16px 14px 18px; }
	body.ds.ds-product #contents .product-price-box h3.display-4,
	body.ds.ds-product #contents .product-price-box h3.display-4 + h6 { text-align: left !important; }
	body.ds.ds-product #contents #product-images .carousel-indicators { gap: 8px; }
	body.ds.ds-product #contents .product-price-box .col.mt-3.text-right { flex-wrap: wrap; justify-content: stretch; }
	body.ds.ds-product #contents .product-price-box .col.mt-3.text-right > .btn { padding: .75rem .5rem; font-size: .9rem; margin-left: 0; flex-basis: auto; }
	body.ds.ds-product #contents .product-price-box .col.mt-3.text-right > #hire-form-submit { flex-grow: 1.3; margin-left: 0 !important; }
	body.ds.ds-product #contents #nav-tabContent > .tab-pane { padding: 22px 4px 16px !important; }
	body.ds.ds-product #contents #nav-tabContent > .tab-pane > h3.d-md-none { font-size: 1.35rem; margin-bottom: 14px; }
	body.ds.ds-product #contents #nav-important > dl { padding: 14px 14px 4px; }
	body.ds.ds-product #contents .same-category .controls-top .btn-group > .btn-primary { font-size: 1.15rem; }
}

/* ===== PRICE-BOX POLISH BEGIN (18 Nov 2026, staff DS preview; reference /product/fn-bqc-cl/wedding-chair-hire) =====
   CSS only, every rule body.ds.ds-product. Rollback strips this marked block (ROLLBACK.sh in
   /home/ianbird/beta-check/backup-pricebox-20261118-151526). Booking fields become a 2x2 grid (one column under 480px) of identical 50px
   fields with labels above (homepage hero-checker style): Quantity | Postcode, then Drop-off | Pick-up.
   The spec-sheet link (product.html line 114, the <p> after .product-price-box) is drawn as the card's footer.
   Template DOM order is unchanged (qty, drop-off, pick-up, postcode); move the postcode row up in the
   jumbotrons before go-live so tab order matches the visual order. Needs :has (fallback = DOM order grid). */

/* Booking panel */
body.ds.ds-product #contents .product-price-box #hire-form > .container {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px 12px;
	max-width: none;
	margin: 0;
	padding: 16px;
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: var(--r-sm);
}
/* The stock/availability message becomes the panel's header strip (its text and colours still come from check_stock) */
body.ds.ds-product #contents .product-price-box #product-stock-status:has(+ .container) {
	margin: 0 !important;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}
body.ds.ds-product #contents .product-price-box #product-stock-status.btn:has(+ .container) {
	border-radius: var(--r-sm) var(--r-sm) 0 0 !important;
	text-align: left;
	text-transform: none;
	box-shadow: none;
}
body.ds.ds-product #contents .product-price-box #product-stock-status + .container {
	border-top: 0;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}
body.ds.ds-product #contents .product-price-box #hire-form > .container > .row {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	min-width: 0;
	margin: 0 !important;
}
body.ds.ds-product #contents .product-price-box #hire-form > .container > .row > [class*="col"] {
	flex: none;
	width: 100%;
	max-width: 100%;
	margin: 0 !important;
	padding: 0 !important;
}
body.ds.ds-product #contents .product-price-box #hire-form > .container > .row:has(#hire-form-qty) { order: 1; }
body.ds.ds-product #contents .product-price-box #hire-form > .container > .row:has(#hire-form-postcode) { order: 2; }
body.ds.ds-product #contents .product-price-box #hire-form > .container > .row:has(#hire-form-startdate) { order: 3; }
body.ds.ds-product #contents .product-price-box #hire-form > .container > .row:has(#hire-form-enddate) { order: 4; }
body.ds.ds-product #contents .product-price-box #hire-form > .container > .row:has(#hire-form-price) { order: 5; grid-column: 1 / -1; }
body.ds.ds-product #contents .product-price-box #hire-form > .container > .row:has(#hire-form-submit) { order: 9; grid-column: 1 / -1; }

/* Label line: label then a small info dot, both above the field */
body.ds.ds-product #contents .product-price-box #hire-form > .container > .row > .col-6:first-child,
body.ds.ds-product #contents .product-price-box #hire-form > .container > .row > .col-6:first-child > div {
	display: flex;
	align-items: center;
	gap: 6px;
	min-height: 18px;
	margin-bottom: 6px !important;
}
body.ds.ds-product #contents .product-price-box #hire-form > .container > .row > .col-6:first-child > div { margin: 0 !important; }
body.ds.ds-product #contents .product-price-box #hire-form > .container label.btn-link {
	order: 0;
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
	font-size: 13px;
	line-height: 1.2;
	font-weight: 700;
	color: var(--ink-2) !important;
	white-space: nowrap;
	cursor: pointer;
}
body.ds.ds-product #contents .product-price-box #hire-form > .container label[for="hire-form-startdate"]::after,
body.ds.ds-product #contents .product-price-box #hire-form > .container label[for="hire-form-enddate"]::after { content: " date"; }
body.ds.ds-product #contents .product-price-box #hire-form > .container .btn-dark.btn-sm[data-toggle="popover"] {
	order: 1;
	float: none !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	margin: 0 !important;
	padding: 0 !important;
	font-size: 13px;
	line-height: 1;
	color: #8a968e;
	background: transparent;
	border: 0;
	box-shadow: none;
}
body.ds.ds-product #contents .product-price-box #hire-form > .container .btn-dark.btn-sm[data-toggle="popover"]:hover,
body.ds.ds-product #contents .product-price-box #hire-form > .container .btn-dark.btn-sm[data-toggle="popover"]:focus { color: var(--g-700); }

/* Every field: one identical 50px box (qty group included) */
body.ds.ds-product #contents .product-price-box #hire-form > .container .form-control-sm:not(.input-numeric),
body.ds.ds-product #contents .product-price-box #hire-form > .container .input-group {
	display: flex;
	width: 100%;
	min-width: 0;
	height: 50px;
	margin: 0;
	background-color: #fff;
	border: 1px solid #cfd6cf;
	border-radius: var(--r-sm);
	font-family: var(--font);
	font-size: 15px;
	font-weight: 600;
	color: var(--ink);
	box-shadow: none;
	transition: border-color .15s ease, box-shadow .15s ease;
}
body.ds.ds-product #contents .product-price-box #hire-form > .container .form-control-sm:not(.input-numeric) { align-items: center; padding: 0 12px; line-height: normal; }
body.ds.ds-product #contents .product-price-box #hire-form > .container .input-group { flex-wrap: nowrap; overflow: hidden; }
body.ds.ds-product #contents .product-price-box #hire-form > .container .form-control-sm:not(.input-numeric):hover,
body.ds.ds-product #contents .product-price-box #hire-form > .container .input-group:hover { border-color: #aebbaf; }
body.ds.ds-product #contents .product-price-box #hire-form > .container .form-control-sm:not(.input-numeric):focus,
body.ds.ds-product #contents .product-price-box #hire-form > .container .input-group:focus-within {
	outline: 0;
	border-color: var(--g);
	box-shadow: 0 0 0 4px rgba(130, 188, 65, .18);
}
body.ds.ds-product #contents .product-price-box #hire-form > .container .input-group > .input-group-prepend,
body.ds.ds-product #contents .product-price-box #hire-form > .container .input-group > .input-group-append { flex: none; margin: 0; }
body.ds.ds-product #contents .product-price-box #hire-form > .container .input-group .input-group-text {
	width: 44px;
	min-width: 0;
	height: 48px;
	padding: 0;
	border: 0;
	border-radius: 0 !important;
	background: transparent;
	color: var(--g-700);
	font-size: 13px;
}
body.ds.ds-product #contents .product-price-box #hire-form > .container .input-group .input-group-text:hover { background: var(--g-50); }
body.ds.ds-product #contents .product-price-box #hire-form > .container .input-group .input-group-text:focus-visible { outline: 2px solid var(--g-700); outline-offset: -2px; }
body.ds.ds-product #contents .product-price-box #hire-form > .container .input-group .input-numeric {
	flex: 1 1 auto;
	width: 1%;
	min-width: 0;
	height: 48px;
	padding: 0 4px;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	font-family: var(--font);
	font-size: 16px;
	font-weight: 700;
	text-align: center;
	color: var(--ink);
	-moz-appearance: textfield;
}
body.ds.ds-product #contents .product-price-box #hire-form > .container .input-group .input-numeric::-webkit-inner-spin-button,
body.ds.ds-product #contents .product-price-box #hire-form > .container .input-group .input-numeric::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
body.ds.ds-product #contents .product-price-box #hire-form > .container .input-group .input-numeric:focus { outline: 0; box-shadow: none; }
body.ds.ds-product #contents .product-price-box #hire-form > .container .input-date { cursor: pointer; letter-spacing: -.01em; }
body.ds.ds-product #contents .product-price-box #hire-form > .container .input-date::-webkit-calendar-picker-indicator { margin-left: 4px; opacity: .65; cursor: pointer; }
body.ds.ds-product #contents .product-price-box #hire-form > .container .input-postcode { text-align: left !important; text-transform: uppercase; letter-spacing: .04em; }
body.ds.ds-product #contents .product-price-box #hire-form > .container .row:has(#hire-form-qty) .form-text { margin-top: 4px; text-align: left !important; font-size: 12px; }

/* Actions: Add to basket is the one strong button; Check Stock is a quiet outline */
body.ds.ds-product #contents .product-price-box #hire-form > .container .col.mt-3.text-right {
	display: flex;
	flex-wrap: nowrap;
	gap: 10px;
	margin-top: 2px !important;
}
body.ds.ds-product #contents .product-price-box #hire-form > .container .col.mt-3.text-right > .btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 52px;
	margin: 0 !important;
	padding: 0 14px;
	border-radius: var(--r-sm);
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
}
body.ds.ds-product #contents .product-price-box #hire-form > .container .col.mt-3.text-right > a.btn-secondary {
	flex: 1 1 0;
	background: #fff;
	border: 1px solid #cfd6cf;
	color: var(--ink) !important;
	box-shadow: none;
}
body.ds.ds-product #contents .product-price-box #hire-form > .container .col.mt-3.text-right > a.btn-secondary:hover { border-color: var(--g); background: var(--g-50); }
body.ds.ds-product #contents .product-price-box #hire-form > .container .col.mt-3.text-right > a.btn-secondary .fa { color: var(--g-700); }
body.ds.ds-product #contents .product-price-box #hire-form > .container .col.mt-3.text-right > #hire-form-submit { flex: 1.7 1 0; font-size: 16px; }

/* Spec sheet: the card's footer row, a quiet secondary action */
body.ds.ds-product #contents .product-price-box:has(+ p > a[href^="/!/spec_sheet"]) {
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
	box-shadow: var(--shadow-sm);
}
body.ds.ds-product #contents .product-price-box + p:has(> a[href^="/!/spec_sheet"]) {
	margin: 0 !important;
	padding: 0;
	background: #fafbf9;
	border: 1px solid var(--line);
	border-top: 0;
	border-radius: 0 0 var(--r) var(--r);
	box-shadow: 0 10px 24px -14px rgba(15, 26, 20, .22);
	font-size: 14px;
}
body.ds.ds-product #contents .product-price-box + p > a[href^="/!/spec_sheet"] {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 22px;
	color: var(--ink-2) !important;
	font-weight: 600;
	text-decoration: none;
}
body.ds.ds-product #contents .product-price-box + p > a[href^="/!/spec_sheet"] .fa {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 30px;
	height: 30px;
	border-radius: 8px;
	background: #fff;
	border: 1px solid var(--line);
	color: #c0392b;
	font-size: 14px;
}
body.ds.ds-product #contents .product-price-box + p > a[href^="/!/spec_sheet"]::after {
	content: "\2193";
	margin-left: auto;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .04em;
	color: var(--g-700);
}
body.ds.ds-product #contents .product-price-box + p > a[href^="/!/spec_sheet"]:hover { color: var(--ink) !important; background: var(--g-50); border-radius: 0 0 var(--r) var(--r); }
body.ds.ds-product #contents .product-price-box + p > a[href^="/!/spec_sheet"]:focus-visible { outline: 2px solid var(--g-700); outline-offset: -2px; }

/* Phones: 16px text stops iOS zooming into the fields; one column on phones under 480px */
@media (max-width: 767.98px) {
	body.ds.ds-product #contents .product-price-box #hire-form > .container { padding: 14px 12px; gap: 12px 10px; }
	body.ds.ds-product #contents .product-price-box #hire-form > .container .form-control-sm:not(.input-numeric),
	body.ds.ds-product #contents .product-price-box #hire-form > .container .input-group { height: 48px; font-size: 16px; }
	body.ds.ds-product #contents .product-price-box #hire-form > .container .input-group .input-group-text,
	body.ds.ds-product #contents .product-price-box #hire-form > .container .input-group .input-numeric { height: 46px; }
	body.ds.ds-product #contents .product-price-box #hire-form > .container .form-control-sm:not(.input-numeric) { padding: 0 10px; }
	body.ds.ds-product #contents .product-price-box #hire-form > .container .input-group .input-group-text { width: 40px; }
	body.ds.ds-product #contents .product-price-box #hire-form > .container .input-date {
		padding: 0 30px 0 10px;
		-webkit-appearance: none;
		appearance: none;
		background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23477c15' stroke-width='2' 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") no-repeat right 10px center;
	}
	body.ds.ds-product #contents .product-price-box #hire-form > .container .input-date::-webkit-calendar-picker-indicator { display: none; -webkit-appearance: none; }
	body.ds.ds-product #contents .product-price-box #hire-form > .container .input-date::-webkit-date-and-time-value { text-align: left; }
	body.ds.ds-product #contents .product-price-box #hire-form > .container .col.mt-3.text-right { flex-direction: column; }
	body.ds.ds-product #contents .product-price-box #hire-form > .container .col.mt-3.text-right > .btn { flex: none !important; width: 100%; height: 50px; }
	body.ds.ds-product #contents .product-price-box + p > a[href^="/!/spec_sheet"] { padding: 12px 14px; }
}
@media (max-width: 479.98px) {
	body.ds.ds-product #contents .product-price-box #hire-form > .container { grid-template-columns: minmax(0, 1fr); }
	/* one column: fall back to the template's own order (qty, drop-off, pick-up, postcode) so visual and tab order match */
	body.ds.ds-product #contents .product-price-box #hire-form > .container > .row:is(:has(#hire-form-qty), :has(#hire-form-postcode), :has(#hire-form-startdate), :has(#hire-form-enddate)) { order: 0; }
}
/* ===== PRICE-BOX POLISH END ===== */

/* ===== TITLE-WIDTH BEGIN (18 Nov 2026, staff DS preview; Ian: "text above the box should stretch across the full page") =====
   The slogan was capped at 75ch (about 900px), so on desktop it stopped ~220px short of the price box's right edge.
   It now spans the same width as the image + price-box row below. Meta descriptions are 120-220 chars, so this is
   1-2 lines at desktop, not a wall of text. text-wrap: pretty avoids a lone last word. Phones were already full width. */
body.ds.ds-product #contents #page-title [itemprop="slogan"] { max-width: none; text-wrap: pretty; }
/* ===== TITLE-WIDTH END ===== */

/* ===== PRICE-BOX FIELDS FIX BEGIN (18 Nov 2026, staff DS preview; Ian: "still distortion in the date/postcode box") =====
   Filled date values inherited a legacy text-align:right (Firefox: flush right; Chrome: shifted right with the calendar icon
   hugging the text mid-field), Firefox phones drew the native calendar icon on top of the SVG background icon, and the
   postcode/date text used opposite letter-spacing (+.04em / -.01em). All fields now share one left-aligned text line.
   Rollback strips this marked block (ROLLBACK.sh in /home/ianbird/beta-check/backup-pricebox-fields-20261118-164450). */
body.ds.ds-product #contents .product-price-box #hire-form > .container .input-date,
body.ds.ds-product #contents .product-price-box #hire-form > .container .input-postcode {
	text-align: left !important;
	letter-spacing: normal;
}
/* The shared field rule made the date input display:flex, which collapses Chrome's date internals and pulls the icon next to the text */
body.ds.ds-product #contents .product-price-box #hire-form > .container .input-date.form-control-sm:not(.input-numeric) { display: block; }
@media (max-width: 767.98px) {
	/* Browsers without the WebKit picker pseudo (Firefox) keep their own icon, so drop the drawn one */
	@supports not selector(::-webkit-calendar-picker-indicator) {
		body.ds.ds-product #contents .product-price-box #hire-form > .container .input-date { padding-right: 10px; background-image: none; }
	}
}
/* ===== PRICE-BOX FIELDS FIX END ===== */

/* ===== CONTENT-EDGE BEGIN (18 Nov 2026, staff DS preview; review finding "content doesn't line up with the header")
   One content edge for the whole product page, the same as the homepage .bx-wrap: max-width var(--wrap) 1240px with 20px side
   padding (14px at 767px and below), i.e. 100-1300 at 1400. Replaces the stacked live gutters: Bootstrap .container (1140/960/720),
   .row -15 + .col.px-1 4px, the nested .container 15px, h1/.lead .px-1 4px, tab-pane 8px/4px, USP col 15px, carousel card .p-1 4px.
   Rollback: strip this block (ROLLBACK.sh in the TIMESTAMP backup dir beta-check/backup-product-align-TIMESTAMP). ===== */
body.ds.ds-product #contents.container { max-width: var(--wrap, 1240px); padding-left: 20px; padding-right: 20px; }
body.ds.ds-product #contents > .row { margin-left: 0; margin-right: 0; }
body.ds.ds-product #contents > .row > .col { padding-left: 0 !important; padding-right: 0 !important; }
body.ds.ds-product #contents > .row > .col > .container,
body.ds.ds-product #contents > .row > .col > div > .container { max-width: none; padding-left: 0; padding-right: 0; }
body.ds.ds-product #contents > .row > .col > div > .container > .row { margin-left: 0; margin-right: 0; }
body.ds.ds-product #contents > .row > .col > div > .container > .row > [class*="col-"]:first-child { padding-left: 0; }
body.ds.ds-product #contents > .row > .col > div > .container > .row > [class*="col-"]:last-child { padding-right: 0; }
body.ds.ds-product #contents #page-title > .px-1 { padding-left: 0 !important; padding-right: 0 !important; }
body.ds.ds-product #contents #nav-tabContent > .tab-pane { padding-left: 0 !important; padding-right: 0 !important; }
body.ds.ds-product #contents #nav-reviews > .row { margin-left: 0; margin-right: 0; }
body.ds.ds-product #contents .box > .container > .row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 20px; margin-left: 0; margin-right: 0; }
body.ds.ds-product #contents .box > .container > .row > [class*="col-"] { width: auto; max-width: none; padding-left: 0 !important; padding-right: 0 !important; margin-bottom: 0 !important; }
body.ds.ds-product #contents .carousel-multi-item .carousel-inner { width: auto; margin-left: -4px; margin-right: -4px; }
@media (max-width: 991.98px) {
	body.ds.ds-product #contents > .row > .col > div > .container > .row > [class*="col-"] { padding-left: 0; padding-right: 0; }
}
@media (max-width: 767.98px) {
	body.ds.ds-product #contents.container { padding-left: 14px; padding-right: 14px; }
	body.ds.ds-product #contents .box > .container > .row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	body.ds.ds-product #contents #nav-reviews > .row > [class*="col-"] { padding-left: 0; padding-right: 0; }
}
@media (max-width: 575.98px) {
	body.ds.ds-product #contents .box > .container > .row { grid-template-columns: minmax(0, 1fr); }
}
/* ===== CONTENT-EDGE END ===== */

/* ===== SECTION-RHYTHM BEGIN (18 Nov 2026, staff DS preview; review finding #2 "no section rhythm below the fold")
   Lower page as homepage-style bands, matching home-redesign-beta.css .bx-section: 56px top/bottom padding (40px at 767px and below),
   alternating white / pale (#f5f7f3) full-bleed bands, a 13px green uppercase kicker, a clamp(22px, 2.4vw, 30px) heading and a 14px
   green link on the right. The bands are built by public/fragments/ds-product-sections.html (staff-gated JS): .ds-sec--details wraps the
   tab bar + panes, .ds-sec--why is the %EXPOHIRE_USP% .box, .ds-sec--more is each related carousel's .container. Full-bleed colour uses
   border-image outset, which paints outside the box without adding scrollable overflow. If the JS does not run nothing here matches,
   except the plain spacing rules, which need .ds-sec too. Rollback: strip this block (ROLLBACK.sh in beta-check/backup-product-rhythm-TIMESTAMP). ===== */
body.ds.ds-product #contents .ds-sec { position: relative; padding: 56px 0; margin: 0 !important; }
body.ds.ds-product #contents .ds-sec--tint { border-image: linear-gradient(var(--bg, #f5f7f3) 0 0) fill 0 / 0 / 0 100vmax; }
body.ds.ds-product #contents .ds-sec--details { margin-top: 32px !important; border-top: 1px solid transparent; border-image: linear-gradient(var(--line, #e3e8e2) 0 0) 1 0 0 0 / 1px 0 0 0 / 0 100vmax; }
body.ds.ds-product #contents .ds-sec--details #nav-tab { margin-top: 0 !important; }
body.ds.ds-product #contents .ds-sec--details #nav-tabContent > .tab-pane:last-child,
body.ds.ds-product #contents .ds-sec--details > div.p-2:last-child { padding-bottom: 0 !important; }
body.ds.ds-product #contents .ds-sec--details > div.p-2 { border-bottom: 0 !important; }
body.ds.ds-product #contents .ds-sec--more .same-category { margin-top: 0; }
body.ds.ds-product #contents .ds-sec--more .controls-top { display: none; }

body.ds.ds-product #contents .ds-sec__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 0 20px; margin-bottom: 22px; }
body.ds.ds-product #contents .ds-sec__kicker { display: block; margin: 0 0 6px; font-family: var(--font); font-size: 13px; line-height: 1.55; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--g-700); }
body.ds.ds-product #contents h2.ds-sec__title { margin: 0; font-family: var(--font); font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; text-transform: none; color: var(--ink); }
body.ds.ds-product #contents .ds-sec__actions { display: flex; align-items: center; gap: 8px; }
body.ds.ds-product #contents .ds-sec__link + .btn-secondary { margin-left: 4px; }
body.ds.ds-product #contents .ds-sec__link { font-family: var(--font); font-weight: 700; font-size: 14px; line-height: 1.55; color: var(--g-700) !important; text-decoration: none; white-space: nowrap; }
body.ds.ds-product #contents .ds-sec__link:hover { text-decoration: underline; }
body.ds.ds-product #contents .ds-sec__link:focus-visible { outline: 2px solid var(--g-700); outline-offset: 2px; }
body.ds.ds-product #contents .ds-sec__actions > .btn-secondary {
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	padding: 0;
	line-height: 34px;
	font-size: 13px;
	border-radius: 50% !important;
	background: #fff;
	border: 1px solid var(--line);
	color: var(--ink) !important;
	box-shadow: none;
}
body.ds.ds-product #contents .ds-sec__actions > .btn-secondary:hover { background: var(--g-50); border-color: var(--g); }
@media (max-width: 767.98px) {
	body.ds.ds-product #contents .ds-sec { padding: 40px 0; }
	body.ds.ds-product #contents .ds-sec--details { margin-top: 24px !important; }
	body.ds.ds-product #contents .ds-sec--details #nav-tabContent > .tab-pane:first-child { padding-top: 0 !important; }
}
/* ===== SECTION-RHYTHM END ===== */

/* ===== PRICE-BOX UNIFORM BEGIN (18 Nov 2026, staff DS preview; Ian on fn-bas-prbl: "6 input boxes misaligned and different sizes",
   "drop off/pick-up date text should be vertically centred") =====
   The 6 boxes are Quantity, Postcode, Drop-off, Pick-up, Check Stock and Add to basket. The buttons were 52px (50 on phones) against
   50px (48) fields, and split 1 : 1.7 so neither lined up with the field columns. They now sit on the same 2-column grid at the same
   height (package products have one button, which spans the row). Dates: the FIELDS FIX display:block left Safari/WebKit drawing the
   date text at the TOP of the box (7px from the top, 30px from the bottom), so every text field now centres its single line with a
   line-height equal to the box's inner height. Rollback strips this marked block (ROLLBACK.sh in beta-check/backup-pricebox-uniform-20261118-172242). */
body.ds.ds-product #contents .product-price-box #hire-form > .container .col.mt-3.text-right {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(0, 1fr);
	gap: 12px;
}
body.ds.ds-product #contents .product-price-box #hire-form > .container .col.mt-3.text-right > .btn { width: auto; height: 50px; min-width: 0; }
body.ds.ds-product #contents .product-price-box #hire-form > .container .input-postcode,
body.ds.ds-product #contents .product-price-box #hire-form > .container .input-date { padding-top: 0; padding-bottom: 0; line-height: 48px; }
body.ds.ds-product #contents .product-price-box #hire-form > .container .input-date::-webkit-datetime-edit,
body.ds.ds-product #contents .product-price-box #hire-form > .container .input-date::-webkit-date-and-time-value { margin: 0; padding: 0; line-height: 48px; }
@media (max-width: 767.98px) {
	body.ds.ds-product #contents .product-price-box #hire-form > .container .col.mt-3.text-right { gap: 10px; }
	body.ds.ds-product #contents .product-price-box #hire-form > .container .col.mt-3.text-right > .btn { width: auto; height: 48px; }
	body.ds.ds-product #contents .product-price-box #hire-form > .container .input-postcode,
	body.ds.ds-product #contents .product-price-box #hire-form > .container .input-date,
	body.ds.ds-product #contents .product-price-box #hire-form > .container .input-date::-webkit-datetime-edit,
	body.ds.ds-product #contents .product-price-box #hire-form > .container .input-date::-webkit-date-and-time-value { line-height: 46px; }
}
@media (max-width: 479.98px) {
	/* one column: the buttons stack like the fields */
	body.ds.ds-product #contents .product-price-box #hire-form > .container .col.mt-3.text-right { grid-auto-flow: row; }
}
/* ===== PRICE-BOX UNIFORM END ===== */

/* ===== SECTION-RHYTHM-LINKS BEGIN (18 Nov 2026, staff DS preview; carousel links now read "All <name>", see fragments/ds-product-sections.html)
   On phones the longer link text squeezed the heading column, so below 576px the link + arrows drop onto their own row under the heading. ===== */
@media (max-width: 575.98px) {
	body.ds.ds-product #contents .ds-sec__head { grid-template-columns: minmax(0, 1fr); }
	body.ds.ds-product #contents .ds-sec__actions { margin-top: 10px; }
	body.ds.ds-product #contents .ds-sec__actions > .ds-sec__link { margin-right: auto; }
}
/* ===== SECTION-RHYTHM-LINKS END ===== */

/* ===== SAFARI-IOS-DATE-BOX BEGIN (18 Nov 2026, staff DS preview; Ian's iPad Safari screenshot of /product/gl-tum-hi-12: the Drop-off and
   Pick-up boxes did not match the Quantity and Postcode boxes) =====
   Cause (WebKit RenderThemeIOS adjustInputElementButtonStyle): on iPhone and iPad a date input keeps its native menulist-button
   appearance even when restyled. After the cascade the theme then forces box-sizing:content-box, padding 0 .5em and a min-width.
   At 768px and up (phones already had appearance:none) each date box was about 17px wider and 2px taller than the other fields.
   The Drop-off box covered the column gap and the Pick-up box ran past the panel edge. appearance:none stops the theme adjustment, and the
   explicit box-sizing, width and height pin the box to the same size as the other fields, empty or filled.
   Scoped to iOS WebKit only, because only it supports -webkit-touch-callout: Chrome, Firefox and macOS Safari are unaffected.
   Rollback strips this marked block (ROLLBACK.sh in beta-check/backup-safari-ios-date-20261118-193952). */
@supports (-webkit-touch-callout: none) {
	body.ds.ds-product #contents .product-price-box #hire-form > .container .input-date.form-control-sm:not(.input-numeric) {
		-webkit-appearance: none;
		appearance: none;
		box-sizing: border-box;
		width: 100%;
		min-width: 100%;
		max-width: 100%;
		height: 50px;
		min-height: 50px;
	}
	/* iOS centres the date value by default; phones were already left-aligned, so this matches Postcode at every width */
	body.ds.ds-product #contents .product-price-box #hire-form > .container .input-date::-webkit-date-and-time-value { text-align: left; }
	@media (max-width: 767.98px) {
		body.ds.ds-product #contents .product-price-box #hire-form > .container .input-date.form-control-sm:not(.input-numeric) { height: 48px; min-height: 48px; }
	}
}
/* ===== SAFARI-IOS-DATE-BOX END ===== */

/* ===== EXPODIRECT-BUY-BOX BEGIN (18 Nov 2026, staff DS preview; Ian: "link back to expodirect and give the customer the option of
   purchasing instead. Display the price and everything, in the box.")
   Styles the "Prefer to own it?" card from fragments/ds-expodirect-buy.html. Only products with a hand-verified Expo Direct twin get the markup.
   v2 18 Nov 2026 (Ian: "too large. Fit it into the existing free space"): at >=992px the JS puts the box under the gallery (.ds-edbuy--side),
   the empty space beside the taller price card; below 992px it stays at the end of the price card. Denser type, a white button with
   Expo Direct's logo. While the box sits there the gallery is not sticky (.ds-edbuy-host), or it would slide over the box.
   Rollback to v1: beta-check/backup-expodirect-buy-box-fit-20261118-203259/ROLLBACK.sh. Remove entirely: ROLLBACK.sh in beta-check/backup-expodirect-buy-box-20261118-195336. */
body.ds.ds-product #contents .ds-edbuy { margin: 16px 0 0; font-family: var(--font); }
body.ds.ds-product #contents .ds-edbuy[hidden] { display: none; }
body.ds.ds-product #contents .ds-edbuy__or { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; color: var(--muted); font-size: 11px; font-weight: 700; line-height: 1; letter-spacing: .08em; text-transform: uppercase; }
body.ds.ds-product #contents .ds-edbuy__or::before,
body.ds.ds-product #contents .ds-edbuy__or::after { content: ""; flex: 1 1 0; height: 1px; background: var(--line); }
body.ds.ds-product #contents .ds-edbuy--side .ds-edbuy__or { display: none; }
@media (min-width: 992px) {
	body.ds.ds-product #contents .ds-edbuy-host > #product-images { position: relative; top: auto; }
}
body.ds.ds-product #contents .ds-edbuy__card {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0 12px;
	padding: 12px 14px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r-sm);
}
/* The text block is flattened so price and chips share rows with the button when there is room. */
body.ds.ds-product #contents .ds-edbuy__main { display: contents; }
body.ds.ds-product #contents .ds-edbuy__card::before { content: ""; order: 3; flex: 0 0 100%; height: 0; }
body.ds.ds-product #contents .ds-edbuy__kicker,
body.ds.ds-product #contents .ds-edbuy__name { order: 1; flex: 0 0 100%; min-width: 0; }
body.ds.ds-product #contents .ds-edbuy__price,
body.ds.ds-product #contents .ds-edbuy__inc { order: 2; }
body.ds.ds-product #contents ul.ds-edbuy__facts { order: 4; flex: 999 1 auto; }
body.ds.ds-product #contents a.ds-edbuy__btn { order: 4; }
body.ds.ds-product #contents .ds-edbuy p { margin: 0; text-transform: none; letter-spacing: 0; }
body.ds.ds-product #contents .ds-edbuy__kicker { color: var(--g-700); font-size: 12px; font-weight: 700; line-height: 1.3; }
body.ds.ds-product #contents .ds-edbuy__name { margin-top: 1px !important; overflow: hidden; color: var(--ink); font-size: 13.5px; font-weight: 600; line-height: 1.35; white-space: nowrap; text-overflow: ellipsis; }
body.ds.ds-product #contents .ds-edbuy__cond { display: inline-block; margin-left: 4px; padding: 0 6px; border-radius: 999px; background: #fff4e0; color: #8a5a00; font-size: 11px; font-weight: 700; vertical-align: 1px; }
body.ds.ds-product #contents .ds-edbuy__price,
body.ds.ds-product #contents .ds-edbuy__inc { margin-top: 4px !important; }
body.ds.ds-product #contents .ds-edbuy__price { flex: none; color: var(--ink); line-height: 1.15; }
body.ds.ds-product #contents .ds-edbuy__price strong { font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
body.ds.ds-product #contents .ds-edbuy__price small { margin-left: 2px; color: var(--muted); font-size: 12px; font-weight: 600; white-space: nowrap; }
body.ds.ds-product #contents .ds-edbuy__inc { flex: 1 1 auto; color: var(--ink-2); font-size: 12px; font-weight: 600; line-height: 1.3; white-space: nowrap; }
body.ds.ds-product #contents ul.ds-edbuy__facts { display: flex; flex-wrap: wrap; gap: 4px; margin: 8px 0 0; padding: 0 !important; list-style: none; font-size: 11.5px; line-height: 1.3; }
body.ds.ds-product #contents ul.ds-edbuy__facts:empty { display: none; }
body.ds.ds-product #contents ul.ds-edbuy__facts > li { margin: 0; padding: 2px 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--ink-2); font-weight: 600; }
body.ds.ds-product #contents ul.ds-edbuy__facts > li::before { content: none; }
body.ds.ds-product #contents ul.ds-edbuy__facts > li::marker { content: none; }
body.ds.ds-product #contents ul.ds-edbuy__facts > li.ds-edbuy__stock { border-color: var(--g-100); background: var(--g-50); color: var(--g-700); }
body.ds.ds-product #contents ul.ds-edbuy__facts > li.ds-edbuy__pre { border-color: #f3dfb5; background: #fff8ea; color: #8a5a00; }
body.ds.ds-product #contents a.ds-edbuy__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	flex: 1 0 auto;
	margin-top: 8px;
	min-height: 44px;
	padding: 0 10px;
	border: 1px solid var(--line);
	border-radius: var(--r-sm);
	background: #fff;
	color: var(--ink) !important;
	font-size: 12.5px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	text-transform: none;
	white-space: nowrap;
	box-shadow: 0 1px 2px rgba(16, 24, 16, .06);
}
body.ds.ds-product #contents a.ds-edbuy__btn:hover { border-color: var(--g-700); background: var(--g-50); }
body.ds.ds-product #contents a.ds-edbuy__btn:focus-visible { outline: 2px solid var(--g-700); outline-offset: 2px; }
body.ds.ds-product #contents img.ds-edbuy__logo { display: block; width: 96px; max-width: none; height: 24px; margin: 0; border: 0; }
body.ds.ds-product #contents .ds-edbuy__arrow { color: var(--muted); font-size: 13px; }
body.ds.ds-product #contents .ds-edbuy__note { margin-top: 6px !important; color: var(--muted); font-size: 11.5px; line-height: 1.35; }
/* ===== EXPODIRECT-BUY-BOX END ===== */
