/* Duguva modern: catalog (Products / Industries listings, category pages, product pages, CTA banner, rope strip).
   Loaded after catalog.css; consumes the tokens of modern.css. Owned by the CATALOG agent. */

body.modern {
	--wrap: min(var(--max), 100% - 2 * var(--gutter));
	--tile-h: clamp(240px, 27vw, 380px);
}
body.modern.single-product, body.modern.tax-industry, body.modern.tax-material { background: var(--paper); }

/* ---------- Hero: photo, left-aligned display type, navy scrim from the left ---------- */
body.modern .hero--catalog { min-height: clamp(320px, 34vw, 460px); align-items: flex-end; position: relative; }
body.modern .hero--catalog.hero--listing,
body.modern .hero--catalog.hero--tall { min-height: clamp(320px, 34vw, 460px); }
body.modern .hero--catalog .wp-block-cover__background.has-background-dim,
body.modern .hero--catalog.hero--baked .wp-block-cover__background.has-background-dim {
	opacity: 1;
	background: linear-gradient(90deg, rgb(19 34 60 / .85) 0%, rgb(19 34 60 / .55) 38%, rgb(19 34 60 / 0) 75%);
}
body.modern .hero--catalog .wp-block-cover__inner-container { width: 100%; }
body.modern .hero--catalog .hero__inner {
	box-sizing: border-box; width: 100%; max-width: calc(var(--max) + 2 * var(--gutter));
	margin: 0 auto; padding: clamp(96px, 12vw, 160px) var(--gutter) clamp(32px, 5vw, 64px);
}
body.modern .hero--catalog .hero__copy { max-width: 760px; }
body.modern .hero--catalog .hero__title {
	font-size: var(--fs-display); line-height: 1.02; font-weight: 600; letter-spacing: -.03em;
	text-transform: none; color: #fff; margin: 0; text-align: left;
}
body.modern .hero--catalog .hero__rule {
	display: block; width: 48px; height: 3px; border-radius: 1px; margin: 20px 0 0;
	background: repeating-linear-gradient(115deg, var(--orange) 0 4px, transparent 4px 6px);
}
body.modern .hero--catalog .hero__lead {
	max-width: 56ch; margin: 20px 0 0; font-size: clamp(1.0625rem, 1rem + .4vw, 1.375rem); line-height: 1.45;
	font-weight: 400; letter-spacing: 0; color: rgb(255 255 255 / .94); text-align: left;
}

/* ---------- Breadcrumb ---------- */
body.modern .breadcrumbs,
body.modern .breadcrumbs--back {
	box-sizing: border-box; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto;
	padding: 20px var(--gutter) 4px; min-height: 0; font-size: var(--fs-small); color: var(--muted);
}
body.modern .breadcrumbs ol { gap: 0; }
body.modern .breadcrumbs li { gap: 0; }
body.modern .breadcrumbs li + li::before,
body.modern .breadcrumbs--back li + li::before {
	content: "/"; display: inline-block; width: auto; height: auto; margin: 0 .6em; border: 0; background: none; color: #9AA5B5; transform: none;
}
body.modern .breadcrumbs--back li:not(:last-child)::after { content: none; }
body.modern .breadcrumbs a::before, body.modern .breadcrumbs [aria-current]::before { content: none; }
body.modern .breadcrumbs a, body.modern .breadcrumbs--back a {
	display: inline-flex; align-items: center; min-height: 32px; padding: 0; color: var(--muted); font-weight: 400;
	text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; text-decoration-thickness: 1px;
}
body.modern .breadcrumbs a:hover { color: var(--navy); text-decoration-color: currentColor; }
body.modern .breadcrumbs [aria-current] { color: var(--ink); font-weight: 500; }
body.modern .breadcrumbs__back { display: none; }
/* The listing pages' "breadcrumb" is the main menu again; the header carries it. */
body.modern.page-slug-products .breadcrumbs, body.modern.page-slug-industries .breadcrumbs { display: none; }

/* ---------- Listing sections ---------- */
body.modern .section--listing {
	box-sizing: border-box; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto;
	padding: clamp(40px, 5vw, 72px) var(--gutter) 0;
}
body.modern .section--listing .section-title {
	margin: 0 0 clamp(24px, 3vw, 40px); padding: 0; font-size: var(--fs-h2); line-height: 1.1; font-weight: 600; color: var(--ink);
}
body.modern .section--listing .section-title::after { content: none; }
body.modern .section--listing.section--materials .section-title { margin-bottom: clamp(24px, 3vw, 40px); }
body.modern .products-cta { margin-top: var(--section); }

/* ---------- Editorial tile grid ---------- */
body.modern .mtiles {
	display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(32px, 4vw, 48px) 24px;
	list-style: none; margin: 0; padding: 0; width: auto; transform: none;
}
body.modern .section--catalog .mtiles { padding-inline: 0; }
body.modern .mtile { position: relative; margin: 0; grid-column: span 4; min-width: 0; }
body.modern .mtile--8 { grid-column: span 8; }
body.modern .mtile--6 { grid-column: span 6; }
body.modern .mtile--3 { grid-column: span 3; }
body.modern .mtile__media {
	height: var(--tile-h); overflow: hidden; background: var(--white);
	border: 1px solid var(--line); border-radius: var(--r-tile); box-sizing: border-box;
}
body.modern .mtile__media img {
	display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%;
	transition: transform .45s var(--ease-out);
}
body.modern .mtile__text { padding-top: 14px; }
body.modern .mtile__title { margin: 0; font-size: var(--fs-h3); line-height: 1.3; font-weight: 600; letter-spacing: -.01em; text-transform: none; color: var(--ink); }
body.modern .mtile__title a { color: inherit; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1px; text-underline-offset: 4px; transition: text-decoration-color var(--t-fast) ease-out; }
body.modern .mtile__title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-tile); }
body.modern .mtile__title a:focus-visible { outline: none; }
body.modern .mtile__title a:focus-visible::after { outline: 2px solid var(--blue); outline-offset: 3px; }
body.modern .mtile__count { margin: 2px 0 0; font-size: var(--fs-small); line-height: 1.4; color: var(--muted); font-variant-numeric: tabular-nums; }
@media (hover: hover) {
	body.modern .mtile:hover .mtile__media img { transform: scale(1.02); }
	body.modern .mtile:hover .mtile__title a { text-decoration-color: currentColor; }
}
body.modern .mtiles--related { --tile-h: clamp(120px, 12vw, 160px); gap: 32px 24px; }
body.modern .mtiles--related .mtile__title { font-size: 1rem; }
body.modern .mtiles--products .mtile__media { height: clamp(220px, 24vw, 320px); }

@media (max-width: 1000px) {
	body.modern .mtiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	body.modern .mtile, body.modern .mtile--6, body.modern .mtile--3 { grid-column: span 1; }
	body.modern .mtile--8 { grid-column: span 2; }
	body.modern { --tile-h: clamp(200px, 30vw, 300px); }
}
@media (max-width: 640px) {
	body.modern .mtiles { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	body.modern .mtile, body.modern .mtile--8, body.modern .mtile--6, body.modern .mtile--3 { grid-column: auto; }
	body.modern { --tile-h: 64vw; }
	body.modern .mtiles--related { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
	body.modern .mtiles--related .mtile { grid-column: auto; }
	body.modern .mtiles--related { --tile-h: 28vw; }
}

/* ---------- Category pages: chips + spec rows ---------- */
body.modern .section--catalog {
	box-sizing: border-box; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto;
	padding: 24px var(--gutter) var(--section);
}
body.modern .chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 8px 0 clamp(20px, 3vw, 32px); }
body.modern .chips__label { margin: 0; font-size: var(--fs-small); font-weight: 500; color: var(--muted); }
body.modern .chips__list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
body.modern .chip {
	display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; box-sizing: border-box;
	border: 1px solid var(--line); border-radius: var(--r-control); background: var(--white);
	font-size: var(--fs-small); font-weight: 500; color: var(--navy); text-decoration: none;
	transition: border-color var(--t-fast) ease-out, background-color var(--t-fast) ease-out;
}
body.modern .chip:hover { border-color: var(--navy); }

body.modern .spec-rows { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
body.modern .spec-row { margin: 0; padding: clamp(28px, 3.5vw, 48px) 0; border-top: 1px solid var(--line); }
body.modern .spec-row__media {
	overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-tile); box-sizing: border-box;
}
body.modern .spec-row__media img { display: block; width: 100%; height: auto; max-height: 340px; min-height: 96px; object-fit: cover; object-position: 50% 50%; }
body.modern .spec-row__media--cutout img { object-position: 0 50%; }
/* Product photos (not rope strips): shown whole on a white frame, centred, no cover crop. */
body.modern .spec-row__media--photo img { height: clamp(220px, 28vw, 380px); max-height: none; object-fit: contain; object-position: 50% 50%; background: var(--white); }
/* Studio backgrounds are a hair off pure white: feather the photo's sides into the frame so no seam shows. */
body.modern .spec-row__media--photo img { -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
body.modern .spec-row__body {
	display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 20px;
	align-items: start; margin-top: clamp(20px, 2.5vw, 28px);
}
body.modern .spec-row__name {
	grid-column: 1 / span 5; margin: 0; font-size: clamp(1.25rem, 1.05rem + .8vw, 1.75rem); line-height: 1.2;
	font-weight: 600; letter-spacing: -.02em; text-transform: none; color: var(--ink); text-wrap: balance;
}
body.modern .spec-row__facts { grid-column: 6 / span 4; margin: 0; font-variant-numeric: tabular-nums; }
body.modern .spec-row__facts > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
body.modern .spec-row__facts > div:first-child { padding-top: 4px; }
body.modern .spec-row__facts dt { font-size: var(--fs-small); color: var(--muted); }
body.modern .spec-row__facts dd { margin: 0; font-size: var(--fs-small); font-weight: 500; color: var(--ink); text-align: right; }
body.modern .spec-row__actions { grid-column: 10 / -1; display: flex; flex-direction: column; gap: 12px; }
body.modern .spec-row__btn { width: 100%; text-align: center; }
body.modern .spec-row__actions .btn--secondary { color: var(--navy); }
/* Rows repeat, so their primary is quiet navy; orange stays for the page CTA and the quote bar. */
body.modern .spec-row__actions .btn--primary { background: var(--navy); color: var(--white); border-color: var(--navy); }
body.modern .spec-row__actions .btn--primary:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }
body.modern .spec-row__actions .btn--secondary:hover { color: var(--white); }
body.modern .spec-row__actions .btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

@media (max-width: 1000px) {
	body.modern .spec-row__name { grid-column: 1 / span 6; }
	body.modern .spec-row__facts { grid-column: 7 / -1; }
	body.modern .spec-row__actions { grid-column: 1 / -1; flex-direction: row; }
	body.modern .spec-row__btn { width: auto; flex: 1 1 0; }
}
@media (max-width: 640px) {
	body.modern .spec-row { padding-top: 0; padding-bottom: 32px; }
	body.modern .spec-row__media { margin-inline: calc(-1 * var(--gutter)); border-radius: 0; border-inline: 0; }
	body.modern .spec-row__media img { min-height: 0; height: 20vw; max-height: none; object-fit: cover; }
	body.modern .spec-row__media--photo img { height: 56vw; object-fit: contain; }
	body.modern .spec-row__body { display: flex; flex-direction: column; gap: 16px; margin-top: 20px; }
	body.modern .spec-row__facts { width: 100%; }
	body.modern .spec-row__actions { flex-direction: column; width: 100%; }
	body.modern .spec-row__btn { width: 100%; flex: none; }
	body.modern .spec-row + .spec-row { margin-top: 0; }
}
body.modern .catalog-empty { padding-inline: 0; font-size: var(--fs-body); }

/* ---------- Product page ---------- */
body.modern .product-sheet { --product-bar-offset: 88px; }
body.modern .product-bar { background: var(--white); border-bottom: 1px solid var(--line); z-index: 15; }
body.modern .product-bar__inner { max-width: calc(var(--max) + 2 * var(--gutter)); height: 64px; padding: 0 var(--gutter); gap: 8px 24px; }
body.modern .product-bar__title { font-size: 1rem; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; text-transform: none; color: var(--ink); }
body.modern .product-bar__nav { width: auto; gap: 24px; }
body.modern .product-bar__sep { display: none; }
body.modern .product-bar__link { min-width: 0; font-size: var(--fs-small); font-weight: 500; color: var(--navy); }
body.modern .product-bar__link--spec { min-width: 0; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
body.modern .product-bar__link--quote { min-height: 44px; padding: 0 20px; color: var(--navy); text-decoration: none; font-weight: 600; }
body.modern .product-bar__link--quote:hover { color: var(--navy); }

body.modern .product-sheet .breadcrumbs { padding: 20px var(--gutter) 0; margin: 0 auto; }
body.modern .product-sheet__body {
	box-sizing: border-box; display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 400px);
	grid-template-areas: "content media"; column-gap: clamp(32px, 5vw, 80px); align-items: start;
	max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: clamp(24px, 3vw, 40px) var(--gutter) var(--section);
}
body.modern .product-sheet--no-media .product-sheet__body,
body.modern .product-sheet--twine.product-sheet--no-media .product-sheet__body { grid-template-columns: minmax(0, 1fr); padding-left: var(--gutter); }
body.modern .product-sheet__media {
	grid-area: media; position: sticky; top: calc(var(--wp-admin--admin-bar--height, 0px) + 88px);
	min-height: 0; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-tile);
}
body.modern .product-sheet__media img { display: block; width: 100%; height: auto; max-width: 100%; }
body.modern .product-sheet__content { grid-area: content; display: flex; flex-direction: column; padding-top: 0; color: var(--ink); min-width: 0; gap: 0; }
body.modern .product-sheet__content > * { order: 5; margin: 0; }
body.modern .product-sheet__content > * + * { margin-top: 0; }
body.modern .product-sheet__content > .product-sheet__title { order: 0; }
body.modern .product-sheet__content > .product-sheet__intro { order: 1; margin-top: 16px; }
body.modern .product-sheet__content > .product-sheet__specs { order: 2; margin-top: 32px; }
body.modern .product-sheet__content > .check-list--range { order: 3; }
body.modern .product-sheet__content > .check-list { margin-top: 40px; }
body.modern .product-sheet__content > .product-sheet__datasheet { margin-top: 32px; }
body.modern .product-sheet__content > .swatches { margin-top: 40px; }
body.modern .product-sheet__content > .product-sheet__anchor { display: none; }
body.modern .product-sheet__title {
	font-size: var(--fs-h2); line-height: 1.1; font-weight: 600; letter-spacing: -.02em; text-transform: none; color: var(--ink); text-wrap: balance;
}
body.modern .product-sheet--h1-small .product-sheet__title { font-size: var(--fs-h2); line-height: 1.1; }
body.modern .product-sheet__intro { max-width: 68ch; }
body.modern .product-sheet__intro p, body.modern .product-sheet__more p { font-size: 1.0625rem; line-height: 1.6; letter-spacing: 0; color: #2A3548; }
body.modern .product-sheet__intro p + p { margin-top: 12px; }

/* Spec tables are the hero: one set of 1px rules, tabular figures, no zebra, no cell grid. */
body.modern .spec-table-wrap {
	max-width: none; margin-left: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-tile); overflow-x: auto;
}
body.modern .spec-table-wrap + .spec-table-wrap { margin-top: 24px; }
body.modern .spec-table-wrap:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
body.modern .spec-table { width: 100%; min-width: 520px; border-collapse: collapse; background: var(--white); font-size: .9375rem; line-height: 1.4; color: var(--ink); font-variant-numeric: tabular-nums; }
body.modern .spec-table caption {
	padding: 18px 20px 14px; background: var(--white); font-size: var(--fs-h3); line-height: 1.3; font-weight: 600; letter-spacing: -.01em;
	text-align: left; text-transform: none; color: var(--ink);
}
body.modern .spec-table caption.spec-table__caption--hidden { position: absolute; padding: 0; }
body.modern .spec-table th, body.modern .spec-table td { padding: 12px 20px; border: 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: baseline; }
body.modern .spec-table thead th { height: auto; background: var(--white); font-size: .8125rem; font-weight: 600; color: var(--muted); border-bottom: 2px solid var(--navy); white-space: nowrap; }
body.modern .spec-table tbody th { font-weight: 600; color: var(--ink); }
body.modern .spec-table tbody tr:last-child > * { border-bottom: 0; }
body.modern .spec-table tbody tr:hover > * { background: var(--blue-tint); }
body.modern .spec-footnote { max-width: 68ch; margin: 12px 0 0; font-size: var(--fs-small); line-height: 1.5; color: var(--muted); }
body.modern .product-sheet__specs .spec-footnote { margin: 12px 0 0; }

body.modern .check-list { width: auto; min-width: 0; max-width: 68ch; padding: 0; background: none; }
body.modern .check-list--range { max-width: none; }
body.modern .check-list__title { font-size: var(--fs-h3); line-height: 1.3; font-weight: 600; letter-spacing: -.01em; text-transform: none; color: var(--ink); }
body.modern .check-list__items { gap: 0; margin-top: 12px; border-top: 1px solid var(--line); }
body.modern .check-list__items li { min-height: 48px; padding: 10px 8px 10px 32px; border-bottom: 1px solid var(--line); font-size: var(--fs-body); line-height: 1.5; letter-spacing: 0; }
body.modern .check-list__items li::before { left: 4px; }
body.modern .swatches { width: auto; padding: 0; background: none; }
body.modern .swatch figcaption { font-size: var(--fs-small); line-height: 1.4; color: var(--muted); margin-top: 8px; }
body.modern .product-sheet__datasheet .btn { width: auto; }
body.modern .product-row__btn--more { }

body.modern .related {
	box-sizing: border-box; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter) var(--section);
}
body.modern .related__title { margin: 0 0 24px; padding-top: 32px; border-top: 1px solid var(--line); font-size: var(--fs-h3); font-weight: 600; }

@media (max-width: 860px) {
	body.modern .product-sheet__body { grid-template-columns: minmax(0, 1fr); grid-template-areas: "media" "content"; }
	body.modern .product-sheet__media { position: static; max-width: 420px; }
}
/* Mobile: the quote action is a fixed bar at the bottom of the screen. */
@media (max-width: 680px) {
	body.modern.single-product { padding-bottom: 0; }
	body.modern.single-product .ft { padding-bottom: calc(76px + env(safe-area-inset-bottom)); } /* clears the fixed quote bar, in the footer's own colour */
	body.modern .product-bar {
		position: fixed; inset: auto 0 0 0; top: auto; border-top: 1px solid var(--line); border-bottom: 0;
		background: var(--white); z-index: 40; padding-bottom: env(safe-area-inset-bottom);
	}
	body.modern .product-bar__inner { height: auto; min-height: 68px; padding: 10px var(--gutter); }
	body.modern .product-bar__title { display: none; }
	body.modern .product-bar__nav { width: 100%; gap: 12px; }
	body.modern .product-bar__link--spec { flex: 0 0 auto; }
	body.modern .product-bar__link--quote { flex: 1; justify-content: center; }
	body.modern .spec-table { min-width: 480px; }
	body.modern .product-sheet__body { padding-top: 16px; }
}

/* Landing layouts (chewing ropes, scrapers, medicine): sentence case, calm lists. */
body.modern .landing-list__title, body.modern .landing-group__title, body.modern .landing__title { text-transform: none; letter-spacing: -.01em; }

/* ---------- CTA banner ---------- */
body.modern .cta-banner.products-cta {
	position: relative; display: flex; align-items: center; height: auto; min-height: clamp(340px, 34vw, 460px);
	background: var(--navy) url("../images/catalog/cta-photo.webp") center / cover no-repeat;
}
body.modern .cta-banner.products-cta::before {
	content: ""; position: absolute; inset: 0; width: auto; top: 0; opacity: 1;
	background: linear-gradient(90deg, rgb(19 34 60 / .92) 0%, rgb(19 34 60 / .7) 45%, rgb(19 34 60 / .2) 100%);
}
body.modern .cta-banner.products-cta .cta-banner__inner {
	position: relative; box-sizing: border-box; width: 100%; height: auto; min-height: 0;
	max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: clamp(48px, 6vw, 80px) var(--gutter);
}
body.modern .cta-banner.products-cta h2 {
	position: static; width: auto; max-width: 20ch; margin: 0; top: auto; left: auto; color: #fff;
	font-size: var(--fs-h2); line-height: 1.1; font-weight: 600; letter-spacing: -.02em; text-wrap: balance;
}
body.modern .cta-banner.products-cta .cta-banner__orbs,
body.modern .cta-banner.products-cta .cta-banner__arrow { display: none; }
body.modern .cta-banner.products-cta .cta-banner__action { position: static; display: block; width: auto; height: auto; margin-top: 32px; left: auto; top: auto; right: auto; bottom: auto; }
body.modern .cta-banner.products-cta .cta-banner__action a {
	display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; width: auto; min-height: 48px; padding: 0 28px;
	border: 0; border-radius: var(--r-control); background: var(--orange); color: var(--navy);
	font-size: 1rem; font-weight: 600; letter-spacing: 0; text-transform: none; text-decoration: none;
	transition: background-color var(--t-fast) ease-out, transform 80ms ease-out;
}
body.modern .cta-banner.products-cta .cta-banner__action a:hover { background: #ff6f47; color: var(--navy); }
body.modern .cta-banner.products-cta .cta-banner__action a:active { transform: translateY(1px); }
body.modern .cta-banner.products-cta .cta-banner__action a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 640px) {
	body.modern .cta-banner.products-cta .cta-banner__action a { width: 100%; }
}

/* ---------- Rope-sample strip ---------- */
body.modern .rope-samples {
	background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
	min-height: 0; gap: 72px; padding: 24px var(--gutter) 20px; box-sizing: border-box;
}
body.modern .rope-samples figure { color: rgb(255 255 255 / .86); }
body.modern .rope-samples figcaption { font-size: var(--fs-small); line-height: 1.4; text-transform: none; letter-spacing: 0; margin-top: 8px; }
body.modern .rope-samples:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
body.modern .rope-samples--loop { display: block; overflow: hidden; padding-inline: 0; }
body.modern .rope-samples__track { display: flex; align-items: flex-start; gap: 72px; width: max-content; margin: 0; padding: 0 36px; list-style: none; will-change: transform; }
body.modern .rope-samples__track li { flex: none; }
body.modern .breadcrumbs--back a.breadcrumbs__back { display: none; }

/* Product photo: a calm side column, cropped to a fixed frame (the source canvases are very tall). */
body.modern .product-sheet__body { grid-template-columns: minmax(0, 1fr) minmax(200px, 280px); column-gap: clamp(24px, 3vw, 48px); }
body.modern .product-sheet__media img { height: min(78vh, 680px); object-fit: cover; object-position: 50% 30%; }
body.modern .spec-table { font-size: .875rem; }
body.modern .spec-table th, body.modern .spec-table td { padding: 10px 12px; }
body.modern .spec-table caption { padding: 16px 12px 12px; }
body.modern .spec-table thead th { white-space: normal; vertical-align: bottom; }
@media (max-width: 860px) {
	body.modern .product-sheet--twine .product-sheet__media img { height: auto; }
	body.modern .product-sheet--twine .product-sheet__body { grid-template-columns: minmax(0, 1fr); grid-template-areas: "media" "content"; row-gap: 24px; }
}
/* Tablet: the photo stays a slim side column. Phones: it becomes a full-width hero band above the specs. */
body.modern .product-sheet--standard .product-sheet__media { display: block; min-height: 0; }
body.modern .product-sheet--standard .product-sheet__media img { margin-top: 0; }
@media (min-width: 601px) and (max-width: 860px) {
	body.modern .product-sheet--standard .product-sheet__body { grid-template-columns: minmax(0, 1fr) 180px; grid-template-areas: "content media"; column-gap: 24px; }
	body.modern .product-sheet--standard .product-sheet__media { position: sticky; top: 88px; max-width: none; }
	body.modern .product-sheet--standard .product-sheet__media img { height: min(70vh, 560px); margin-top: 0; }
}
@media (max-width: 600px) {
	body.modern .product-sheet__body { grid-template-columns: minmax(0, 1fr); grid-template-areas: "media" "content"; row-gap: 24px; }
	body.modern .product-sheet--standard .product-sheet__media {
		position: static; max-width: none; margin-inline: calc(-1 * var(--gutter)); width: auto;
		border-width: 1px 0; border-radius: 0; height: clamp(180px, 52vw, 260px);
	}
	body.modern .product-sheet--standard .product-sheet__media img { width: 100%; height: 100%; margin-top: 0; object-fit: cover; object-position: 50% 28%; }
	/* With the measured rope extent (--rx, --rw) the photo is zoomed so the rope fills the band width. */
	body.modern .product-sheet--standard .product-sheet__media[style*="--rw"] img {
		width: calc(100% / var(--rw)); max-width: none; height: auto; margin-left: calc(-100% * var(--rx) / var(--rw)); margin-top: calc(-100% * var(--ry) * var(--ar) / var(--rw)); object-fit: fill;
	}
}
@media (max-width: 640px) {
	body.modern .chips { flex-direction: column; align-items: stretch; gap: 8px; }
	body.modern .chips__list { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
	body.modern .chip { flex: none; white-space: nowrap; }
}

/* Soft edges: navy fades laid over the ends of the moving strip. */
body.modern .rope-samples--loop { position: relative; }
body.modern .rope-samples--loop::before, body.modern .rope-samples--loop::after {
	content: ""; position: absolute; top: 0; bottom: 0; width: clamp(40px, 8vw, 120px); z-index: 1; pointer-events: none;
}
body.modern .rope-samples--loop::before { left: 0; background: linear-gradient(90deg, var(--navy), rgb(19 34 60 / 0)); }
body.modern .rope-samples--loop::after { right: 0; background: linear-gradient(270deg, var(--navy-deep), rgb(16 44 91 / 0)); }

/* MODERN: sticky product bar sits under the (condensed) sticky header */
@media (min-width: 1024px) {
	body.modern .product-bar { top: calc(64px + var(--wp-admin--admin-bar--height, 0px)); }
}


/* ---------- Landing pages (chewing ropes, scrapers, medicine): same skin as the catalog ---------- */
body.modern .landing__body { max-width: calc(var(--max) + 2 * var(--gutter)); }
body.modern .landing .breadcrumbs { padding-inline: var(--gutter); max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; box-sizing: border-box; }
body.modern .landing--simple .landing__body {
	grid-template-columns: minmax(0, 420px) minmax(0, 1fr); column-gap: clamp(32px, 5vw, 80px);
	padding: clamp(32px, 4vw, 56px) var(--gutter) var(--section);
}
body.modern .landing--simple.landing--no-media .landing__body { grid-template-columns: minmax(0, 1fr); padding-left: var(--gutter); }
body.modern .landing--simple .landing__media {
	overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-tile); box-sizing: border-box;
	position: sticky; top: calc(var(--wp-admin--admin-bar--height, 0px) + 88px);
}
body.modern .landing--simple .landing__media img { width: 100%; max-width: none; height: auto; margin-top: calc(-100% * var(--ry, 0) * var(--ar, 0)); }
body.modern .landing__content { color: var(--ink); }
body.modern .landing__content > * + * { margin-top: 0; }
body.modern .landing__intro { max-width: 68ch; }
body.modern .landing__intro h2 { font-size: var(--fs-h2); line-height: 1.1; font-weight: 600; letter-spacing: -.02em; text-transform: none; }
body.modern .landing__intro p { font-size: 1.0625rem; line-height: 1.6; letter-spacing: 0; color: #2A3548; }
body.modern .landing-list__title, body.modern .landing-group__title { padding: 0; font-size: var(--fs-h3); line-height: 1.3; font-weight: 600; letter-spacing: -.01em; text-transform: none; color: var(--ink); }
body.modern .landing-list__items { gap: 0; margin-top: 12px; border-top: 1px solid var(--line); }
body.modern .landing-list__items li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-body); line-height: 1.5; letter-spacing: 0; }
body.modern .landing__content > .landing-list, body.modern .landing__content > .check-list { margin-top: 40px; }
body.modern .landing__content > .landing__intro + .landing-list { margin-top: 40px; }
body.modern .landing__content > .landing-list + .landing-list { margin-top: 40px; }
body.modern .landing__content > .spec-table-wrap, body.modern .landing__content > .product-sheet__specs { margin-top: 40px; }
body.modern .landing .spec-table-wrap { max-width: none; background: var(--white); }
body.modern .landing .spec-table { font-family: var(--font); table-layout: auto; }
body.modern .landing .spec-table th, body.modern .landing .spec-table td,
body.modern .landing--checks .spec-table th, body.modern .landing--checks .spec-table td {
	height: auto; padding: 10px 12px; border: 0; border-bottom: 1px solid var(--line); font-size: .875rem; line-height: 1.4; text-align: left; color: var(--ink); width: auto;
}
body.modern .landing .spec-table thead th { height: auto; font-size: .8125rem; font-weight: 600; color: var(--muted); border-bottom: 2px solid var(--navy); background: var(--white); }
body.modern .landing .spec-table tbody th { font-weight: 600; }
body.modern .landing .spec-table tbody tr:last-child > * { border-bottom: 0; }
body.modern .landing--groups { background: var(--paper); }
body.modern .landing--groups .landing__body { padding-bottom: var(--section); }
body.modern .landing--groups .breadcrumbs { padding: 20px var(--gutter) 0; }
body.modern .landing--groups .landing__content { padding: 24px var(--gutter) 0; max-width: min(720px, 100%); box-sizing: border-box; }
body.modern .landing--groups .landing__media img { opacity: .5; }
body.modern .landing__title { font-size: var(--fs-h2); line-height: 1.1; font-weight: 600; letter-spacing: -.02em; text-transform: none; }
body.modern .landing__content > .landing__subtitle { font-size: 1.0625rem; line-height: 1.6; letter-spacing: 0; margin-top: 12px; }
body.modern .landing-group__items li { font-size: var(--fs-body); letter-spacing: 0; }
body.modern .landing__actions .landing__button { width: auto; min-height: 48px; padding: 0 28px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--r-control); background: var(--orange); color: var(--navy); font-weight: 600; text-decoration: none; border: 0; }
body.modern .landing__actions .landing__button:hover { background: #ff6f47; }
body.modern .landing__actions .landing__button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
@media (max-width: 860px) {
	body.modern .landing--simple .landing__body { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
	body.modern .landing--simple .landing__media { position: static; max-width: 420px; }
	body.modern .landing--groups .landing__content { padding-inline: var(--gutter); }
}
body.modern .landing__content > .landing-group, body.modern .landing__content > .landing__subtitle + .landing-group { margin-top: 32px; padding-left: 0; }
body.modern .landing__content > .landing__subtitle + .landing-group { margin-top: 28px; }
body.modern .landing-group__items { gap: 8px; margin-top: 14px; }
body.modern .landing__content > .landing__actions { margin-top: 40px; padding-left: 0; }
body.modern .landing__actions .landing__button { text-transform: none; letter-spacing: 0; font-size: 1rem; }
body.modern .landing--groups .breadcrumbs { margin: 0; max-width: none; justify-self: start; width: 100%; }
body.modern .landing--groups .landing__content { margin-inline: 0; }
@media (min-width: 1360px) {
	body.modern .landing--groups .breadcrumbs, body.modern .landing--groups .landing__content { padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2)); }
}
@media (max-width: 640px) {
	body.modern .chips { max-width: 100%; min-width: 0; }
	body.modern .chips__label { max-width: 100%; }
	body.modern .chips__list { min-width: 0; max-width: none; }
}


/* ---------- Review changes (PDF): whole product photos, no frames behind cut-outs ---------- */
/* Phones: a rope strip is shown whole at the frame's width instead of being cropped to a 5:1 band. */
@media (max-width: 640px) {
	body.modern .spec-row__media:not(.spec-row__media--photo) img { height: auto; object-fit: contain; }
}
/* Tall side column: ropes fill it, but a shackle, a tape or a spool is shown whole and centred. */
body.modern .product-sheet .product-sheet__media--whole img { height: auto; max-height: min(78vh, 680px); object-fit: contain; padding: 20px; box-sizing: border-box; }
@media (max-width: 600px) {
	body.modern .product-sheet--standard .product-sheet__media.product-sheet__media--whole { height: auto; }
	body.modern .product-sheet .product-sheet__media--whole img { max-height: 280px; }
}
/* Chewing and scraper ropes: the cut-out photo sits straight on the page, no white box behind it. */
body.modern .landing--simple .landing__media { background: transparent; border: 0; border-radius: 0; }

/* Home: the rope-sample strip sits on the flat navy of its heading (the gradient is for the Products and Industries pages). */
body.modern .hm-samples + .rope-samples { background: var(--navy); padding: 0 0 clamp(40px, 5vw, 64px); }
body.modern .hm-samples + .rope-samples--loop::before { background: linear-gradient(90deg, var(--navy), rgb(19 34 60 / 0)); }
body.modern .hm-samples + .rope-samples--loop::after { background: linear-gradient(270deg, var(--navy), rgb(19 34 60 / 0)); }

/* Rows: cut-out photos sit straight on the page, no white card behind them. */
body.modern .spec-row__media { background: transparent; border: 0; border-radius: 0; }
body.modern .spec-row__media--photo img { background: transparent; -webkit-mask-image: none; mask-image: none; }
@media (max-width: 640px) {
	body.modern .spec-row__media { border-radius: 0; }
}

/* "More in ..." tiles: whole photos (spools, shackles) are shown uncropped and all alike. */
body.modern .mtiles--related .mtile__media img.is-whole { object-fit: contain; padding: 10px; box-sizing: border-box; }

/* Whole-rope photo: the vertical strip shows the entire rope, centred in the side card; phones get the horizontal photo. */
@media (min-width: 601px) {
	body.modern .product-sheet--standard .product-sheet__media--whole img {
		width: auto; max-width: 100%; height: auto; max-height: min(84vh, 820px); margin-inline: auto; padding: 24px 20px; object-fit: contain;
	}
}
@media (max-width: 600px) {
	body.modern .product-sheet--standard .product-sheet__media.product-sheet__media--whole { height: auto; }
	body.modern .product-sheet--standard .product-sheet__media--whole img { width: 100%; height: auto; max-height: none; padding: 16px; box-sizing: border-box; object-fit: contain; }
}

/* Space between the last row of cards (Industries, Products, Materials) and the dark contact band below it.
   It is padding inside the card section, so it keeps the section's own background. */
body.modern .section--listing:has(+ .products-cta) { padding-bottom: clamp(72px, 9vw, 128px) !important; }
body.modern .section--listing + .products-cta { margin-top: 0 !important; }

/* Review changes (PDF, point 7): a product photo that is shown whole (shackle, spool, tape) gets a wider column
   and a thinner frame, so the product itself is large and clear instead of a small picture in a big white card. */
@media (min-width: 861px) {
	body.modern .product-sheet .product-sheet__body:has(.product-sheet__media--whole) { grid-template-columns: minmax(0, 1fr) minmax(320px, 460px); }
	body.modern .product-sheet .product-sheet__media--whole img,
	body.modern.single-product .product-sheet--twine .product-sheet__media--whole img { max-width: 100%; padding: 8px; }
}

/* Phones: no product photo is ever cropped. The whole photo is shown inside its frame (shackles, spools, tapes,
   rope strips, landing photos). Placed last and !important because several earlier layout rules crop with a
   fixed height + object-fit: cover or pull the picture up with a negative margin. */
@media (max-width: 600px) {
	body.modern .product-sheet .product-sheet__media,
	body.modern .product-sheet--standard .product-sheet__media,
	body.modern .product-sheet--standard .product-sheet__media[style*="--rw"],
	body.modern .landing .landing__media { height: auto !important; min-height: 0 !important; max-height: none !important; overflow: visible; }
	body.modern .product-sheet .product-sheet__media img,
	body.modern .product-sheet--standard .product-sheet__media img,
	body.modern .product-sheet--standard .product-sheet__media[style*="--rw"] img,
	body.modern .product-sheet--twine .product-sheet__media img,
	body.modern .landing .landing__media img {
		display: block; width: auto !important; max-width: 100% !important; height: auto !important; max-height: min(72vh, 520px) !important;
		margin: 0 auto !important; object-fit: contain !important; object-position: 50% 50% !important; padding: 12px; box-sizing: border-box;
	}
}
@media (min-width: 601px) and (max-width: 860px) {
	body.modern .product-sheet--twine .product-sheet__media { height: auto !important; overflow: visible; }
	body.modern .product-sheet--twine .product-sheet__media img { height: auto !important; max-height: 420px; object-fit: contain !important; margin-top: 0 !important; }
}

/* Desktop: the soft shackle photo is upright (loop hanging down, knot on top): a calm portrait column, shown whole. */
@media (min-width: 861px) {
	body.modern .product-sheet--twine .product-sheet__body:has(.product-sheet__media--whole) { grid-template-columns: minmax(0, 1fr) minmax(320px, 480px); }
	body.modern .product-sheet--twine .product-sheet__media--whole img,
	body.modern.single-product .product-sheet--twine .product-sheet__media--whole img { width: auto; max-width: 100%; height: auto; max-height: min(78vh, 640px); margin-inline: auto; padding: 16px; object-fit: contain; }
}

/* Colour swatches: a heading above them and air between them and the table above. */
body.modern .swatches { margin-top: clamp(32px, 4vw, 48px); }
body.modern .swatches__title { margin: 0 0 20px; font-size: var(--fs-h3); line-height: 1.3; font-weight: 600; letter-spacing: -.01em; text-transform: none; color: var(--ink); }
